Changelog
v0.10.1
Release date: 2026-02-10
- Improve the safety of internal styles by protecting them from global style overrides.
v0.10.0 (breaking change)
Release date: 2025-10-21
- Fix a bug that may occur with small
<Sheet.Content>or small detents. - Change the behavior of the
exitingAnimationSettingsprop’scontentMoveoption behavior, whenfalsethe<Sheet.Content>now remains on its current detent till the animation is finished. (breaking change) - Make
theme-colorHTML meta tag manipulations safer in contexts where it cannot be defined. #18
v0.9.12
Release date: 2025-09-12
- Change the behavior of the
onClickOutsideevent handler on<Sheet.View>so it runs even if propagation is stopped onclickevents fired on<Sheet.View>. #100 - Expand the
componentRefprop type on<Scroll.Root>so it acceptnull.
v0.9.11
Release date: 2025-07-10
v0.9.10
Release date: 2025-07-06
- Add an
updateThemeColorfunction that lets you update thetheme-colorin a safe way while a Sheet using thethemeColorDimmingprop is presented, or when theuseThemeColorDimmingOverlayhook is used. - The
themeColorDimmingprop on<Sheet.Backdrop>now fetches thetheme-colormeta-tag each time a Sheet gets presented, thus taking into account potential changes. #73
v0.9.9
Release date: 2025-07-02
- Fix Sheet programmatic dismissal not working with
swipeDismissal={false}after a swipe attempt. #71 - Fix
swipeOvershoot={false}not working withtracksusing two values andswipeDismissal={false}.
v0.9.8
Release date: 2025-06-30
- Add JSDoc comments to all components, sub-components and props to provide rich in-editor hints.
v0.9.7
Release date: 2025-06-18
- Update the website’s domain name in all files.
v0.9.6
Release date: 2025-06-05
- Fix
<Sheet.Handle>not correctly rendering its potential children. - Remove focus outline from internal the Scroll component underlying scroll container.
- Expand
<Sheet.Portal>container prop types to let it acceptnull - Expand
animatefirst argument’s types to let it acceptnull - Expand
useThemeColorDimmingOverlay'selementRef’s type to let it acceptundefined.
v0.9.5
Release date: 2025-06-02
- Update README
v0.9.3
Release date: 2025-05-05
- The
themeColorDimmingprop on<Sheet.Backdrop>now supports color values in hexadecimal format for thetheme-colormeta tag. - The
themeColorDimmingprop on<Sheet.Backdrop>now uses the<body>HTML element CSSbackground-colorvalue when thetheme-colormeta tag is not set. - The
themeColorDimmingprop on<Sheet.Backdrop>now logs a warning when thetheme-colormeta tag uses a non-supported color format.
v0.9.2
Release date: 2025-05-02
- Fix
onClickOutsideevent being triggered when a click occurred on an element inside of<Sheet.View>whose ancestor DOM node was removed from the DOM at the same time. #51
v0.9.1
- Fix “scroll-by” being interpreted as “scroll-to” in
<Scroll.Trigger>actionprop. - Fix descendant element animation starting during the
enteringphase and ongoing during theidleInsidephase preventing interaction with the sheet. #33 - Fix
touchstartandtouchendevents not propagating to thrid-party HTML elements. #50
v0.9.0 (breaking change)
- Change the way Silk low-level CSS styles are imported. Follow the migration guide on how to import them.
- Add a warning in the console when Silk CSS styles are not detected.
- Fix
onClickOutsideevent being triggered when a click occurred on an element inside of<Sheet.View>that was removed from the DOM at the same time. - Fix
onClickOutsideevent being triggered when a click occurred on an element inside of a third-party overlay component. - Fix error when the user presses the
escapekey when an<ExternalOverlay>is in use. - Remove useLayoutEffect warnings in some environments.
v0.8.15
- Fix travel and stacking animations when a sheet is used in a controlled manner (i.e. using the
presentedandonPresentedChangeprops). #28
v0.8.14
- Throw a proper error when the
theme-colormeta-tag is not set when thethemeColorDimmingprop on Sheet.Backdrop is used. #13 - Throw a proper error when the
theme-colormeta-tag is not using thergb()format for its content when using thethemeColorDimmingprop on Sheet.Backdrop is used. #18 - Fix the types not being applied to the
<Sheet.Root>component. #17 - Remove unnecessary peerDepencies. #27
- Fix invalid CSS. #12