Skip to content

Releases: composablehorizons/compose-unstyled

1.14.0

06 Oct 08:19
Compare
Choose a tag to compare

What's new

  • Added new overscrollEffectSides param to ScrollArea so you can choose which sides the given overscrollEffect will work at. This is handy if you want to turn off the overscrollEffect to a specific side, such as no top overscrollEffect while working with Material's PullToRefreshBox(). #23
  • Added new positionalThreshold and velocityThreshold properties on Sheets components, so you can customize the behavior fully. #20 (thanks @Perfomer for the suggestion)

Bug Fixes

  • Fixed ModalBottomSheet not triggering recomposition when updating properties #24 (Thanks @jtomli for the bug report)
  • Fixed a crash when clicking the BottomSheets DragIndication #21 (thanks @Nath-IS for the bug report)
  • Only consume fling if required by overscrollEffect of ScrollArea
  • Fixed a bug where flinting won't work on ScrollArea while an overscrollEffect is set

Improvements

  • ScrollArea will now consume no scroll effects unless it is required as part of the given overscrollEffect.
  • iOS overscroll bounce effect now works correctly with ScrollArea.

1.13.0

06 Oct 06:51
Compare
Choose a tag to compare

What's new

  • Added new overscrollEffectSides param to ScrollArea so you can choose which sides the given overscrollEffect will work at. This is handy if you want to turn off the overscrollEffect to a specific side, such as no top overscrollEffect while working with Material's PullToRefreshBox(). #23
  • Added new positionalThreshold and velocityThreshold properties on Sheets components, so you can customize the behavior fully. #20 (thanks @Perfomer for the suggestion)

Bug Fixes

  • Fixed ModalBottomSheet not triggering recomposition when updating properties #24 (Thanks @jtomli for the bug report)
  • Fixed a crash when clicking the BottomSheets DragIndication #21 (thanks @Nath-IS for the bug report)

Improvements

  • ScrollArea will now consume no scroll effects unless it is required as part of the given overscrollEffect.
  • iOS overscroll bounce effect now works correctly with ScrollArea.

1.12.0

29 Sep 12:40
Compare
Choose a tag to compare

What's new

  • New component: ScrollArea – Scroll Area can be used to add Scrollbars to any scrollable components. (docs)
  • New component: Separators – A simple foundational separator component that shows a line to separate other components (docs)

1.11.2

14 Sep 15:25
Compare
Choose a tag to compare

What's new

  • Bug Fix: (Modal) Bottom Sheet should now always correctly report the correct value of isIdle even while being animated. 38a3cb9
  • Bug Fix: Fix a bug where Modal Bottom Sheet would disappear when trying to change its size while being introduced on the screen. f14cba4 (Thanks @jacobras) for the bug report)
  • Dev: Added tests for Bottom Sheets and Modal Bottom Sheets

1.11.1

01 Sep 12:42
Compare
Choose a tag to compare

Bug fixes

  • Fix Sheet crash on iOS and Web 6574317 (fixes #13)
  • Prevent scrolling of sheet's content while partially expanded Prevent 3a3b047 (fixes #14)

Other

Replaced deprecated IndicatorInstance with IndicatorNodeFactory in a new branch. Will merge this change once the API hits the stable release

1.11.0

18 Aug 11:09
Compare
Choose a tag to compare

What's new

  • [Android only] Introduce new LocalModalWindow composition local that returns the Window of the current Modal. This can be used to style the system UI to your needs (dae4f4c) (addresses #12)

1.10.0

03 Aug 07:45
Compare
Choose a tag to compare

What's new

  • BottomSheet's enabled property can now be toggled (390489f)
  • Added new enabled property on ModalBottomSheet that enables/disables drag gestures (4ff5d33)

Bug fixes

  • Passing a Modifier.align() to any sheet will no longer break it (070d768)
  • Fix a bug where bottom sheets (and modal) would not update its height if the content's size grew taller (ad988a3)
  • Modals will now apply ime insets correctly (7ca0e5b)
  • rememberSavable() will now work correctly within modals (fe30470)
  • ModalBottomSheet will now correctly maintain its state on configuration changes (588303a)

Docs

Added code examples on working with softkeyboards and sheets

1.9.0

01 Aug 13:45
Compare
Choose a tag to compare

Enhancements

  • Mention the missing detent's identifier in the exception thrown when trying to instantiating a BottomSheet with an missing detent. (cfc6cc1)

Bug fixes

  • BottomSheet's contents will no longer be clipped if the tallest detent sent is not 100% of the container's height (fixes #4).
  • Fix crash on Compose 1.7.0-beta (fixes #5)
  • Fix a crash where a ModalBottomSheet would crash unless Hidden was passed in its available detents (cfef521).

1.8.0

29 Jul 11:22
Compare
Choose a tag to compare

What's new

New components added:

1.7.0

19 Jul 21:16
Compare
Choose a tag to compare

Make Dialog component make use of the passing DialogProperties to control if it can be dismissed when tapped outside or on back/ESC pressed