Releases: composablehorizons/compose-unstyled
Releases · composablehorizons/compose-unstyled
1.20.0
What's new
- Added new
confirmDetentChange()
callback on both Modal and non-Modal bottom sheet. Works similar to the Material Compose version and it allows you to prevent sheet from being dismissed (or changing its detent) given a specific state (#45 – thanks @TheKeeperOfPie for the request) ModalBottomSheet
will be shown immediately if the initial detent is notHidden
. Before this version, the sheet will always be introduced to the screen from the Hidden version.
Fixes
- Crash when using compose v 1.8.0-alpha06 on android (#44 – thanks @TepesLucian)
1.19.1
1.18.2
1.18.1
1.18.0
What's new
- Fix Sheet nested scrolling issue (#35, 49ad6f5)
- New
onDismiss
callback onDialog
andModalBottomSheet
components (67a092d) - New
decayAnimationSpec
added onBottomSheet
component (49ad6f5) BottomSheet
's offset now returns the correct amount of the sheet scrolled from the bottom. (61feb93)
Thanks to @commonsguy for minor fixes to Menu docs
(#37)
1.17.1
1.17.0
What's new
- Support for Compose Multiplatform 1.7.0
- Introduce
ScrollArea
withoutoverscrollEffect
parameter, as it is an experimental API
1.16.1
1.16.0
Bug fixes
- Fixed a bug where Modals (Dialogs & Sheets) would not consume the
Esc
button when pressed. (8ac1671) - Fixed auto hide thumb does not work #25 (Thanks @racka98 for the fix #26)
Deprecation Warning
- Deleteted
com.composables.ui.Menu
. Make sure to switch to thecom.composables.core.Menu
package (69236de)
1.15.0
Bug fixing
- Modals' window (Modal Bottom Sheets and Dialogs) are now rendered edge-to-edge even when the device has cut outs on Android 35 (Android Docs e461e32) – You might need to use the
.displayCutoutPadding()
to your modal's contents from now on depending on your screen setup.
What's new
Menu()
now has a new overload with a requiredstate
parameter. The old version has been deprecated and will be going away in a future version of the library.