Skip to content

Releases: composablehorizons/compose-unstyled

1.6.0

16 Jul 10:32
Compare
Choose a tag to compare

Upgrade Kotlin to 2.0.0 and Compose Multiplatform to 1.6.11

1.5.0

15 Jul 18:26
Compare
Choose a tag to compare

Composables Core

This library has been renamed to Composables Core and will host unstyled, fully-accessible components for Compose Multiplatform that you can customize to your heart's desire.

There are currently two components: Dialog and Dropdown Menu.

What's new

  • Introduced new Dialog component: An unstyled Dialog component for Composable Multiplatform that can be used to implement Dialogs with the styling of your choice. Fully accessible, supports animations, offers consistent behavior across platforms and an optional background scrim.
  • Deprecated the com.composables.ui package and replaced with com.composables.core package.

1.4.0

13 May 19:18
Compare
Choose a tag to compare

New features

Add a new alignment parameter on the MenuContent composable, that controls how the MenuContent is anchored to the MenuButton when expanded. (fixed #3)

Example:

Menu {
    MenuButton {
        BasicText("Toggle the menu")
    }

    MenuContent(alignment = Alignment.End) {
        MenuItem(onClick = { /* TODO */ }) {
            BasicText("Option")
        }
    }
}

1.3.0

11 May 13:54
Compare
Choose a tag to compare

New features

  • Allow toggling of Menu via the API (fixes #1 – thanks to @acarlsen for the request)
  • Add JS kotlin target

Breaking Changes

  • Hide MenuScope's constructor from public API

1.2.0

03 May 19:06
Compare
Choose a tag to compare

Compile with Java 17, in order to avoid Java mismatches on JVM targets. Special thanks to @rock3r for the code sample.

1.1.0

02 May 18:14
Compare
Choose a tag to compare

Bug Fixes

7e0e929 Fix a bug where pressing the keyboard Up or Down keys would not move the focus of the MenuItems if the menu did not already have focus. (thanks @krzema12 for the bug report)