Releases: infinum/eightshift-ui-components
Releases · infinum/eightshift-ui-components
1.7.2
1.7.1
1.7.0
Changes:
- Updated dependencies.
Repeater
,Draggable
,DraggableList
andItemCollection
will now behave better whenundefined
is passed as value.- Fixed overlap issues with
Select
components. - Improved
ColorPicker
grouping logic and made grouped menu more compact. - Added
MiniResponsive
for cases you need to use aResponsive
in a limited space. Works best withOptionSelect
or otherButton
-like components! - Fixed
Spacer
not applyingclassName
in some cases. - Tweaked
MediaPlaceholder
colors a bit. MediaPlaceholder
can now have any child items passed. They are rendered below the label and icon.
1.6.1
Changes:
- Fixed
clearable
not working in Select components. - Fixed
Tabs
tab alignment when in horizontal mode. OptionsPanel
,OptionsPanelSection
, andOptionsPanelHeader
now support thehidden
prop.- Tweaked
OptionsPanelHeader
title font. - Tweaked some default Gutenberg overrides to do WP 6.6 changes.
- Reverted
position: relative
overlap tweak by @piqusy, as it caused layout issues in some cases.z-index: 50
should still make it OK.
1.6.0
Breaking changes:
DraggableItem
no longer exists, you can replace with adiv
or any other element of your choosingDraggableItemHandle
has been renamed toDraggableHandle
Changes:
- Updated dependencies.
ColorPicker
now has better UX when set toclearable
.- Made
clearable
variant ofColorPicker
less confusing. - Reworked
Draggable
,DraggableList
, andRepeater
to improve user experience. Draggable
is now much easier to use.Repeater
now supports "drag outside to delete item", custom menu items for each item, a settable max number of items, and there's a Duplicate option now on items.- Fixed
Draggable
not working. - Removed
swapy
dependency. - Made
OptionsPanel
a bit wider. - Added
OptionsPanelHeader
.
1.5.1
1.5.0
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.
1.4.7
Changes:
- Disabled focus handling in
Expandable
due to Gutenberg conflicts. - Fixed
LinkInput
external value not previewing. - Added
truncateEnd
text helper. - Fixed drag markers not disappearing in
Repeater
when an item is expanded. - Tweaked
NumberPicker
to make sure it always looks OK (thanks WPML).
1.4.6
Changes:
- Fixed an issue with item saving within some variants of
Select
components. - Slightly tweaked menu and popover entry animations.
- Removed erroneous outline when Menu is open.
- Fixed
aria-label
passthrough inOptionSelect
when variant is set tomenu
. - Updated dependencies.
1.4.5
Changes:
- Added a couple of WP6.6-specific Gutenberg overrides.
- Improved
Repeater
add button reliability. - Added boolean
tooltip
value toButton
andOptionSelect
that will matcharia-label
if set. InputField
can have classes passed to the component wrapper withwrapperClassName
.