|
| 1 | +# Change log |
| 2 | + |
| 3 | +## v0.4.0 / 2024-10-24 |
| 4 | + |
| 5 | +* fix a bug that a dependent project might crash on Android and add the Android target explicitly for all modules |
| 6 | +* no longer publish the legacy module |
| 7 | +* bump Kotlin to 2.0.10, Compose Multiplatform to 1.7.0, Kobweb to 0.19.2, and our Compose HTML Material to 0.4.0 |
| 8 | + |
| 9 | +### Common |
| 10 | + |
| 11 | +* add `Arrangement.spacedBy` |
| 12 | +* Move `LoadingState` here from [Compose HTML Material](https://github.com/huanshankeji/compose-html-material) |
| 13 | +* add color parameters to the text composables |
| 14 | +* rename `InlineText` to `TaglessText` |
| 15 | +* add the `alpha` modifiers |
| 16 | +* add a `hidden` modifier |
| 17 | +* add the `clickable` modifier and replace `onClick` with it |
| 18 | +* add the `PaddingValues` type |
| 19 | +* add a `BoxWithConstraints` layout composable that's still buggy on JS DOM |
| 20 | +* add `flex-basis: 0` to the weight modifiers on JS DOM to make them consistent with the `androidx.compose` behavior |
| 21 | +* split the `padding` modifiers into `outerPadding` and `innerPadding` |
| 22 | +* add the `VerticalScrollBox` and `HorizontalScrollBox` composables as (better) alternatives to the `*Scroll` modifiers |
| 23 | + |
| 24 | +### Material 2 |
| 25 | + |
| 26 | +* revamp `TopAppBarScaffold` to take a bottom bar, a floating action bottom, and a snackbar host, and fix some of its display issues on JS DOM |
| 27 | + * fix bugs that the action buttons don't show and their `onClick` callbacks are not passed on JS DOM |
| 28 | +* add the `SnackbarHost` (the Material 3 snackbar is not available in Material Web yet) |
| 29 | +* add `RadioGroupColumn` and improve `RadioRow` on JS DOM |
| 30 | +* add a platform-specific implementation for `com.huanshankeji.compose.material2.ext.IconButton` on JS DOM that's more idiomatic, and fix a bug that in some scenarios icons are not shown, by always importing "material-icons/iconfont/material-icons.css" |
| 31 | + |
| 32 | +### Material 3 |
| 33 | + |
| 34 | +* add the menu composables `DropdownMenu`, `DropdownMenuItem`, `ExposedDropdownMenuBox`, and `ExposedDropdownMenuWithTextField` |
| 35 | +* add the progress indicator composables `LinearProgressIndicator` and `CircularProgressIndicator` |
| 36 | +* fix a bug in the text fields on JS DOM that causes the caret to be reset to the start whenever the value changes if the `type` attribute is set |
| 37 | +* make multiline text fields work on JS DOM |
| 38 | +* add an `isInteractiveJsDom` parameter to ListItemComponents |
| 39 | + |
| 40 | +### Navigtion |
| 41 | + |
| 42 | +* initially support navigation |
| 43 | + |
| 44 | +### ViewModl |
| 45 | + |
| 46 | +* initially support ViewModel which delegates to raw UI state on Compose HTML / JS DOM |
| 47 | + |
| 48 | +### Demo |
| 49 | + |
| 50 | +* make the demo UI fridendly on mobile |
0 commit comments