Hi! I wanted to share that I’ve been updating and ...
# opensource
s
Hi! I wanted to share that I’ve been updating and recently revamped these two libraries: compose-html-material and compose-multiplatform-html-unified. Highlight changes since April 2024 when I posted here last time: • The latter was renamed from Compose Multiplatform Material to Compose Multiplatform HTML Unified to better reflect its goal. • Material 3 support in both libraries: ◦ Support for all components in Material Web, including those that were trickier to implement in the "unified" library like
LazyColumnList
, `*ExposedDropdownMenuBoxWithTextField`/`*Select`,
SnackbarHost
, and
Scaffold
(see the full list). ◦ Added top app bars and snackbar missing in Material Web via material-web-additions. Big thanks to @Maicol, who is the author of that project and also a member here! • In the "unified" library specifically: ◦ Support for Kotlin/Wasm. ◦ Initial support for ViewModel and navigation ◦ Initial support for styled text (
AnnotatedString
and style classes). ◦ Support for several useful modifiers and layout features: lazy layouts,
Arrangement.spacedBy
,
alpha
,
reserveSpace
,
clickable
,
BoxWithConstraints
, scroll layouts. ◦ All the Material icons commonly available on Compose UI and JS DOM. ◦ Fixed some UI inconsistencies and some JS DOM ViewModel bugs. ◦ Deprecated Material 2. Check out the side-by-side demo to see the visual results for yourself! Slack Conversation
K 1