Skip to content

Releases: composablehorizons/compose-unstyled

1.20.0

01 Dec 11:41
Compare
Choose a tag to compare

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 not Hidden. 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

31 Oct 03:16
Compare
Choose a tag to compare

What's new

  • ModalBottomSheet does not longer dim the navigation bar by default (#38). Use LocalModalWindow to get a hold of a modal's Window on Android to customize as you like. See docs. Thank you @Perfomer

1.18.2

29 Oct 14:06
Compare
Choose a tag to compare

Bug fixes

  • ModalBottomSheet crashes when there is no SheetDetent.Hidden in the list of detents #39 561ee0a
  • Always run tests before releasing a new version 6ba0313

1.18.1

26 Oct 13:43
Compare
Choose a tag to compare

Fixes org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:checkDebugDuplicateClasses'. errors introduced in 1.18.0

1.18.0

26 Oct 12:27
Compare
Choose a tag to compare

What's new

  • Fix Sheet nested scrolling issue (#35, 49ad6f5)
  • New onDismiss callback on Dialog and ModalBottomSheet components (67a092d)
  • New decayAnimationSpec added on BottomSheet 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

18 Oct 03:35
Compare
Choose a tag to compare

Downgraded Compose Compiler to 2.0.10 as it was causing issues with Bottom Sheets.

1.17.0

17 Oct 11:22
Compare
Choose a tag to compare

What's new

1.16.1

16 Oct 19:14
Compare
Choose a tag to compare

What's new

Modals now correctly dismiss when pressing Back on Android (if enabled).

1.16.0

16 Oct 17:29
Compare
Choose a tag to compare

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 the com.composables.core.Menu package (69236de)

1.15.0

10 Oct 16:47
Compare
Choose a tag to compare

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 required state parameter. The old version has been deprecated and will be going away in a future version of the library.