|
2 | 2 |
|
3 | 3 | ## v0.4.0 / 2024-10-24 |
4 | 4 |
|
5 | | -* revamp Material 2 `TopAppBarScaffold` to take a bottom bar, a floating action bottom, and a snackbar host, and fix some of its display issues on JS DOM |
6 | | - * fix bugs that the action buttons don't show and their `onClick` callbacks are not passed on JS DOM |
7 | | -* add the Material 3 menu composables `DropdownMenu`, `DropdownMenuItem`, `ExposedDropdownMenuBox`, and `ExposedDropdownMenuWithTextField` |
8 | | -* add the Material 3 progress indicator composables `LinearProgressIndicator` and `CircularProgressIndicator` |
9 | | -* add the Material 2 `SnackbarHost` (the Material 3 snackbar is not available in Material Web yet) |
| 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 | + |
10 | 11 | * add `Arrangement.spacedBy` |
11 | 12 | * Move `LoadingState` here from [Compose HTML Material](https://github.com/huanshankeji/compose-html-material) |
12 | 13 | * add color parameters to the text composables |
13 | 14 | * rename `InlineText` to `TaglessText` |
14 | 15 | * add the `alpha` modifiers |
15 | 16 | * add a `hidden` modifier |
16 | | -* fix a bug in the Material 3 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 |
17 | | -* initially support navigation |
18 | | -* initially support ViewModels which delegates to raw UI state on Compose HTML / JS DOM |
19 | | -* fix a bug that the Android demo app might crash and add the Android target explicitly for all modules |
20 | 17 | * add the `clickable` modifier and replace `onClick` with it |
21 | | -* add `RadioGroupColumn` and improve `RadioRow` on JS DOM |
22 | | -* 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" |
23 | 18 | * add the `PaddingValues` type |
24 | | -* make multiline text fields work on JS DOM |
25 | | -* add an `isInteractiveJs` parameter to ListItemComponents |
26 | 19 | * add a `BoxWithConstraints` layout composable that's still buggy on JS DOM |
27 | | -* no longer publish the legacy module |
28 | | -* Add `flex-basis: 0` to the weight modifiers on JS DOM to be consistent with the `androidx.compose` behavior |
29 | | -* make the demo UI fridendly on mobile |
30 | | -* Split the `padding` modifiers into `outerPadding` and `innerPadding` |
| 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` |
31 | 22 | * add the `VerticalScrollBox` and `HorizontalScrollBox` composables as (better) alternatives to the `*Scroll` modifiers |
32 | 23 |
|
33 | | -* 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 |
| 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