Releases: composablehorizons/compose-unstyled
Releases · composablehorizons/compose-unstyled
1.6.0
1.5.0
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 withcom.composables.core
package.
1.4.0
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")
}
}
}