Repository navigation
v0.0.1-beta.19
Pre-release
Pre-release
·
4 commits
to main
since this release
Note: v0.0.1-beta.19 was a partial publish: only
@destyler-ui/reactreached npm. It is superseded by v0.0.1-beta.20.
Note: v0.0.1-beta.18 was a partial publish (only
@destyler-ui/reactreached npm). v0.0.1-beta.19 supersedes it and is intended to publish all four packages together. It also includes a fix for the release package-file checks under npm 12 (#164).
Highlights
Destyler core 0.3.1 adoption
- All
@destyler-ui/*packages now depend on@destyler/*^0.3.1and require Node.js >=22.22.3 (#163). - The local core type patches have been removed; the release is gated on packed exact-core consumers for Dialog, Popover, Menu and Tabs across React, Vue, Solid and Svelte (#157, #163).
Tabs: nullable value (#151)
- Tabs
value/onValueChangedetails are now typed as nullable, matching core'sValueChangeDetailsin all four frameworks (#84, #163).
Controllable API migration (core 0.2.7)
- Components follow the core controllable API: pass
default*props (for exampledefaultOpen,defaultValue) for uncontrolled state, or the plain prop (open,value, ...) for controlled state (#49). *.controlledprops are removed. Replace them with the controlled prop plus its change callback, or with the matchingdefault*prop.
Menu fix
- Controlled Menu no longer reopens or desyncs on external toggles; behavior is coordinated across frameworks (#63, #158).
Breaking: Svelte Tree branch triggers (#154, #60)
- Svelte
Tree.BranchTriggernow renders a non-tabbabledivwithrole="button"instead of a nativebutton. InsideTree.BranchControl, the trigger handles pointer expansion; the branch control owns keyboard navigation and the tree's roving tab stop. - Props and event
currentTargettypes now describeHTMLDivElementrather thanHTMLButtonElement. Consumers relying on button-only attributes or native button defaults must use explicitasChildcomposition. - Migration guide: https://github.com/destyler/ui/blob/main/packages/svelte/README.md#tree-branch-triggers
Full Changelog: v0.0.1-beta.17...v0.0.1-beta.19