v3.0.0
What's Changed
KRadioButton
-
🚩BREAKING🚩 Removes
value
prop in favour of the newbuttonValue
prop- Guidance: If you use
value
prop, rename it tobuttonValue
. If you usevalue
as an explicit two-way binding (more verbosev-model)
, keep continue usingvalue
.
- Guidance: If you use
-
Fixes the bug when a radio button didn't apply autofocus when dynamically rendered
- Guidance: Use
autofocus
prop. This change improves keyboard navigation on forms where a radio button jumps into the DOM.
- Guidance: Use
KImg
- Adds
appearanceOverrides
prop - Adds
'error'
event emit when an image fails to load
KDropdownMenu
- Fixes the bug when the dropdown menu wasn't displayed when used within
KModal
- Adds
'tab'
event emit when the user hits the[Tab]
key and a'close'
event emit when the menu is closed programmatically- Guidance: The
'tab'
event can be used for more precise focus management as the popover by default could end up sending focus to the root HTML element by default. Note that the browser event is passed to the handler function, so you may need/want to callpreventDefault()
on that event depending on your use case.
- Guidance: The
Icons
- Adds new icons:
expandAll
Dependencies updates
- Moves
date-fns
dependency todepencies
rather thandev-dependencies
. This fixes problems in products that don't havedate-fns
installed in their own dependencies. - Adds
xstate
and@vue/composition-api
todependencies
Also includes several minor dependencies updates.
New Contributors
- @BabyElias made their first contribution in #478
- @Soren568 made their first contribution in #491
- @KshitijThareja made their first contribution in #493
- @EshaanAgg made their first contribution in #502
Full Changelog: v2.0.0...v3.0.0