Skip to content

Latest commit

 

History

History
154 lines (102 loc) · 5.33 KB

File metadata and controls

154 lines (102 loc) · 5.33 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • Modules! You can now pick and choose only the APIs that you want to use instead of being forced to add the entire API in your codebase. To try this out, modals such as dialogs, sheets and tooltips are available. More primitives will be modularized in the future if there is demand.
  • Added the following new modules:composeunstyled-bottom-sheet,composeunstyled-build-modifier, composeunstyled-dialog,composeunstyled-dropdown-menu,composeunstyled-escape-handler, composeunstyled-modal,composeunstyled-modal-bottom-sheet, composeunstyled-scroll-area, composeunstyled-tooltip
  • Compose Unstyled now uses Compose Multiplatform 1.10.3.

Warning

Modals on non-Android targets (Dialog and Modal Bottom Sheet) now have a built-in animation that is part of Compose Multiplatform 1.10.3. The option to remove this animation is added in 1.11.x but it is not yet stable. Because of this, the animation will be removed in a future version of Unstyled. If this is a blocker for you, you can continue using the pre 2.0 version of the library until then.

Removed

  • All deprecated APIs are now removed. If you have breaking changes moving to this version, downgrade to the latest 1.x.x version and use ReplaceWith() to smoothly migrate to the latest APIs.
  • Removed any com.composables.core reference.
  • ComposeUnstyledFlags is removed.

Changed

  • Decoupled theming from primitives. Primitives used to be themable using LocalContentColor and LocalTextStyle. This was problematic as you could not easily style your primitives using a different theming API (such as Material Compose). Because of this, any kind of theming is removed, and the users are responsible for choosing the theming API of their choice.

Fixed

  • Scrollbars now support dynamic sizing (#78)
  • BottomSheet's content are now constraint to the content visible height. No need to hardcode a size if your content is scrollable (#134)
  • ModalBottomSheet's state no longer relies on a Sheet to be present.

[1.49.9] - 2025-04-24

Fixed

  • Fix dialog freeze when initially visible without a scrim. (Fixes #128)
  • Fix stepped slider snapping behavior. (Fixes #81)
  • Fix modals not inheriting LocalLayoutDirection from their parent. (Fixes #192)
  • Prevent unnecessary theme recompositions when theme values do not change.

Added

  • Add new ScrollArea component in the com.composeunstyled package. Old packages will be removed in 2.0.

[1.49.7] - 2025-04-21

Added

  • All component primitives are now prefixed with Unstyled-.
  • Library minSDK is now 23.
  • Bump compileSDK to 36.
  • Add new demo-system-ui-styling module that showcases how to style System UI in modals.

Fixed

  • Fix state TextField visual transformation mapping (Fixes #207)
  • Apply visualTransformation when TextField is non-editable (Fixes #206)
  • Add textDecoration parameter to UnstyledTextField (Fixes #205)
  • Add textDecoration parameter to UnstyledText (Fixes #205)
  • Automatically focus dialog panel content on displayed (Fixes #204)
  • Fix iOS DropdownMenu enter animations (Fixes #159)
  • Fix Modals updating System UI appearance (Fixes #198)

[1.49.6] - 2025-01-11

Added

  • ScrollAreaState now exposes a new isScrollInProgress property

Fixed

  • Scrollbars Thumb HideWhileIdle hides while scrolling #114

[1.49.5] - 2025-01-03

Added

  • Add onTextLayout parameter to Text (#185)
  • Begin of prefixing all components with Unstyled- prefix, so it's simpler to differenciate with other design systems components.

Fixed

  • Dialog's enter animations now work correctly on iOS.

[1.49.4] - 2025-12-24

Added

  • Add autoSize parameter to Text (#183)

Fixed

  • Fix a bug where ScrollArea would trigger overscroll effect to the wrong axis
  • Remove TextField placeholder on any character entered including space
  • Change token names of PlatformTheme so that they do not override user's
  • Fix inverted colors for RadioGroup
  • Fix a Slider bug where Thumb would immediately jump while dragged

Changed

  • Deprecate ScrollArea with overscroll effect parameter

[1.49.3] - 2025-11-27

Added

Allow customization of Platform Themes (b2c2a26d)

Fixed

  • Tint TextField's contents according to LocalContentColor (1b3fb2bd)
  • Fix a crash when updating BottomSheet's detents (7961afd1)
  • Fix bug where Modifier.onFocusChanged wouldn't work with TextField (e3f0bd6c)

[1.49.0] - 2025-11-14

Added

  • Introduce Platform Themes. Platform Themes provide a native look and feel depending on the platform you are running on, such as platform fonts, text sizes, emojis on Web, touch indications, and interactive sizing for controls.
  • Add option to animate ColoredIndication's color changes
  • Add getter to MutableThemeProperties

Changed

  • Updated demos to use Platform Theme instead of hardcoded styles

[1.48.3] - 2025-11-11

Fixed

  • Ensure modal is added before monitoring its state ( fixes #151)