Skip to content

v3.0.0

Compare
Choose a tag to compare
@MisRob MisRob released this 22 Jan 13:06
24a7dfe

What's Changed

KRadioButton

  • 🚩BREAKING🚩 Removes value prop in favour of the new buttonValue prop

    • Guidance: If you use value prop, rename it to buttonValue. If you use value as an explicit two-way binding (more verbose v-model), keep continue using value.
  • Accessibility icon 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.

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 call preventDefault() on that event depending on your use case.

Icons

  • Adds new icons: expandAll

Dependencies updates

  • Moves date-fns dependency to depencies rather than dev-dependencies. This fixes problems in products that don't have date-fns installed in their own dependencies.
  • Adds xstate and @vue/composition-api to dependencies

Also includes several minor dependencies updates.

New Contributors

Full Changelog: v2.0.0...v3.0.0