ember-uikit
v5 removed guaranteed support for all versions of Ember below
version 3.24 LTS. It may still work, but there are no tests for it.
This package now uses ember-auto-import
v2 which means the host app must use
ember-auto-import
v2 as well. Check the migration
guide
for further instructions.
UkIcon
now needs an argument@icon
UkWidth
now needs an argument@width
All actions consumed by ember-uikit
that were previously dasherized now need
to be camelized.
Before:
After:
This concerns the following components:
UkButton
on-click
=>onClick
UkModal
on-hide
=>onHide
on-show
=>onShow
UkSortable
on-start
=>onStart
on-stop
=>onStop
on-moved
=>onMoved
on-added
=>onAdded
on-removed
=>onRemoved
UkSwitcher
on-beforeshow
=>onBeforeShow
on-show
=>onShow
on-shown
=>onShown
on-beforehide
=>onBeforeHide
on-hide
=>onHide
on-hidden
=>onHidden
UkToggleSwitch
on-toggle
=>onToggle
The UkToggleSwitch
component doesn't support two-way binding anymore. Instead,
the host app needs to pass an onToggle
action to the component.
Before:
After:
Since extending from built-in components is not supported anymore, we removed
the yielded link-item
components of UkTab
and UkSubnav
and added the
possibility of passing a @href
argument.
Before:
After: