Repository navigation
3.1.0-alpha02
Pre-release
Pre-release
SaltUI 3.1.0-alpha02 improves glass menu legibility, desktop submenu navigation, and Android popup animations. The changes below are relative to 3.1.0-alpha01.
Installation
commonMain.dependencies {
implementation("io.github.moriafly:salt-ui:3.1.0-alpha02")
// Optional Navigation 3 integration
implementation("io.github.moriafly:salt-ui-navigation:3.1.0-alpha02")
}salt-ui includes salt-core and salt-adaptive-window transitively. Use the same version for every SaltUI dependency.
Compatibility
- Kotlin
2.4.20 - Compose Multiplatform and Jetpack Compose
1.12.2 - Android
minSdk 23, or24withsalt-ui-navigation, andcompileSdk 37 - JVM target
21
Glass and menu rendering
- Dark glass menus soften bright backdrops so labels remain readable over artwork. Light desktop glass menus use a more translucent white tint to show more of the backdrop.
- Regular Glass uses subtler rim highlights, including on wide controls.
- Menu items use consistently sized 18 dp leading-icon slots to align icons and labels.
Desktop popup menus
- Action menus and cascading submenus fit their content within the available window width.
- Parent rows stay highlighted while their submenus are open. The first submenu opens immediately, and a short hover delay when switching rows gives the pointer time to enter the open submenu.
Android popup menus
- Glass and Blur menus keep the sampled backdrop aligned with the underlying content during opening and touch dragging.
- Popup animations do less layout and graphics-layer work. Real-input regression tests cover repeated selection in long glass dropdowns in both light and dark themes.