Releases: huanshankeji/compose-html-material
Releases · huanshankeji/compose-html-material
v0.5.0
What's Changed
Added
- Add all remaining Material Web components including labs components (#20, #21):
- Badge (
MdBadge) - Chips (
MdChipSet,MdAssistChip,MdFilterChip,MdInputChip,MdSuggestionChip) - Dialog (
MdDialog) - Divider (
MdDivider) - Item (
MdItem) - Navigation Drawer (
MdNavigationDrawer,MdNavigationDrawerModal) - Radio (
MdRadio) - Segmented Button (
MdOutlinedSegmentedButton,MdOutlinedSegmentedButtonSet) - Select (
MdFilledSelect,MdOutlinedSelect,MdSelectOption) - Slider (
MdSlider) - Tabs (
MdTabs,MdPrimaryTab,MdSecondaryTab)
- Badge (
- Add the
compose-html-material3-maicol07-material-web-additionsmodule with snackbar and top app bar components (MdSnackbar,MdSmallTopAppBar,MdCenterAlignedTopAppBar,MdMediumTopAppBar,MdLargeTopAppBar) based on maicol07's Material Web Additions (#32). - Add
contentparameter toMdCheckboxandMdSwitch(#19). - Add
@ExperimentalComposeHtmlMaterialApiopt-in annotation for experimental APIs. - Add the extracted
SlotScopeinterface and slot enums for type-safe component slot management. - Add the extracted
IMdItemScopeinterface with common slots for item components. - Add some event attribute extensions in
compose-html-commonandcompose-html-material3.
Changed
- Bump dependencies to the latest.
- Kotlin 2.3.20
- Compose Multiplatform 1.10.3
- Kobweb 0.24.0
- Gradle 9.4.1
- Support ES2015 compilation target by replacing
require()with ES module imports (#18). - Improve Material 3 component wrappers with enums and consistent patterns (#22):
- Use enums for slot values instead of
slotEq...functions. - Revamp some APIs with new official Compose HTML typealiases and reorganize
toElementScopeContentfunctions. - Reuse
MenuPositioningforSelectMenuAlign.
- Use enums for slot values instead of
Fixed
- Fix
MdMenuArgsbugs and add missingattrs = nulldefaults across components (#30). - Fix the bug that the legacy module was still published.
- Fix a bug caused by a typo "typehead" → "typeahead".
Internal
- Enable Gradle Configuration Cache.
- Bump Dokka to 2.1.0.
- Use the Kotlin binary compatibility validator.
- Add API documentation generated by Dokka hosted on GitHub Pages (#8).
- Add CODE_OF_CONDUCT.md and CONTRIBUTING.md.
- Remove the Maven repository for Kobweb since it's published to Maven Central now.
- Refactor CI to use extracted actions (#15).
- Onboard with GitHub Copilot.
- Revert the changes made due to Kotlin 2.0.0's type inference issue (#14).
New Contributors
- @OpenWaygate made their first contribution in #15
- @Copilot made their first contribution in #17
Full Changelog: v0.4.0...v0.5.0
v0.4.0
What's Changed
- bump Kotlin to 2.0.10 and Compose to 1.7.0
- Add the menu composables
MdMenu,MdMenuItem, andMdSubMenu - Add the progress composables
MdLinearProgressandMdCircularProgress LoadingStateis removed and moved to compose-multiplatform-material- add a
TextareaInputTypefor the text field - the legacy modules are no longer published
- fix a bug that the
AttrsScope<*>.disabledfunction recursively calls itself
v0.3.0
v0.2.2
v0.2.1
v0.2.0
v0.1.0-compose-1.1.1
v0.1.0-compose-1.1.1 release