1.5.0
goranalkovic-infinum
released this
12 Sep 12:14
·
63 commits
to main
since this release
Changes:
- Updated dependencies.
- (breaking-ish) Tweaked CSS reset to ignore whole WP admin by default. You'll need to add
es-uic-has-css-reset
to enable it where needed. - Reworked
DraggableList
, now using a new animation library for a more fluid experience. - There's now also a
DraggableListItemHandle
that can be placed anywhere withinDraggableListItem
to mark the drag area. DraggableListItem
will now hide the label properly iftitle
,icon
andsubtitle
are not sentDraggableList
now supports alabelAsHandle
prop to constrain dragging just to the label, instead of the whole item (not compatible with a custom handle!)- Made
Switch
transforms harder to override by accident from an external source. - Slightly tweaked
Repeater
styling. LinkInput
should work properly now iffetchSuggestions
is not passed.LinkInput
will not show suggestions when the field is empty. You can opt out into that withshowSuggestionsWhenEmpty
(could be useful if you have a default list of suggestions).- Added
Draggable
component for more random layouts. - Added
ItemCollection
component to get rid of those pesky.map
s in the editor.