v0.4.0
🚨 Breaking Changes
- Simplify BaseProps and remove
Extendin namespace - by @subframe7536 in #16 (f72ed) - Rename container slot to content in separator - by @subframe7536 (adb68)
- Convert JSX.EventHandlerUnion to JSX.EventHandler in all components except button - by @subframe7536 (558f4)
- Standardize render prop naming and correct class/style priority - by @subframe7536 in #19 (0523b)
- Remove IconButton - by @subframe7536 (215da)
- Unify all render prop type - by @subframe7536 (2aac3)
- avatar, avatar-group: Split Avatar into
AvatarandAvatarGroupcomponents and refine api - by @subframe7536 in #23 (35ee1) - command-palette: Remove old props, add render callbacks, itemRender, ignoreSearch, and description placement - by @subframe7536 in #21 (1854a)
- form, form-field: Use formisch - by @subframe7536 (2a2db)
- kbd, kbd-group: Introduce KbdGroup for keyboard shortcut chords and migrate Kbd usages - by @subframe7536 in #24 (65303)
🚀 Features
- Support root class and style props - by @subframe7536 in #15 (aa0e8)
- Replace listbox by list - by @subframe7536 in #27 (83461)
- Interactive button - by @subframe7536 (4c1ae)
- Interactive state color token - by @subframe7536 (c4a3b)
- Button group - by @subframe7536 (38fc4)
- dropdown-menu, context-menu:
- Enhance menu keyboard behavior - by @subframe7536 in #18 (080f2)
- list-box:
- Extract list box component - by @subframe7536 and Copilot Autofix powered by AI in #25 (47bd5)
- sidebar:
- Use
--sidebar-widthto control sidebar width, add builtin transition support - by @subframe7536 (d5fcd)
- Use
- slider:
- Add step dividers and bold variant, change default vertical direction - by @subframe7536 in #12 (5f2b5)
- Extract slider logic to
useSliderhook and wire up pointer cancel handling - by @subframe7536 in #17 (72a9f)
- switch:
- Combine aria-describedby attributes - by @subframe7536 (b683b)
- tooltip:
- Add default duration for delays and improve dx by
instantOpenDelay- by @subframe7536 (17b2f)
- Add default duration for delays and improve dx by
🐞 Bug Fixes
- Correct textarea focus behavior - by @subframe7536 (77f3e)
- form: Prevent stale validation results - by @subframe7536 (92115)
- input-number: Avoid duplicate form values - by @subframe7536 (86447)
- popover: Prevent closing other popovers when one is closed during transition - by @subframe7536 (137d0)
- presence: Settle without motion - by @subframe7536 (61bf2)
- radio-group: Fix borken style - by @subframe7536 (6a944)
- select: Restore native form semantics - by @subframe7536 (98b27)
- slider: Use background color as default focus indicator instead of outline - by @subframe7536 (618fb)
- switch: Add height config - by @subframe7536 (cf492)
- unocss: Correct compiler class import and upgrade deps - by @subframe7536 (4ee78)