All notable changes to this project will be documented in this file.
This projects adheres to Semantic Versioning and Keep a CHANGELOG.
1.9.1 - 2024-12-17
- Downgraded from React 19 to React 18.
1.9.0 - 2024-12-17
- Rewrote
Expandable
andComponentToggle
to use new React Aria disclosure components. - Deprecated
noFocusHandling
fromExpandable
. - Reworked
AnimatedVisibility
to use native CSS animations instead of Motion. - Made
Checkbox
checkmark a bit thicker. - Tweaked
ContainerPanel
animations. - Added 2 UI icons.
- Updated dependencies.
1.8.0 - 2024-11-22
JsxSvg
now supportsaria-hidden
propJsxSvg
now support passing custom dynamic props to the output SVG.- Added
__ExperimentalSelect
and__ExperimentalAsyncSelect
as preview version of future select components. Please try them out and report any issues! - Updated dependencies.
1.7.2 - 2024-11-14
- Re-publish of
1.7.1
, as it didn't properly publish.
1.7.1 - 2024-11-14
- Fixed truncate helper when the input is empty.
- Added 2 new UI icons and 3 new block icons.
- Updated dependencies.
1.7.0 - 2024-10-09
- 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 - 2024-09-30
- 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 - 2024-09-27
- 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 - 2024-09-18
- Fixed select components overlaps in some cases (by @piqusy).
- Added
noExpandButton
,noLabel
,noUseToggle
, andhideUseToggleOnExpand
toComponentToggle
.
1.5.0 - 2024-09-11
- 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 - 2024-08-16
- 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 - 2024-08-08
- 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 - 2024-07-30
- 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
.
1.4.4 - 2024-07-26
- Reduced update rate in
Repeater
to reduce re-renders.
1.4.3 - 2024-07-26
- Fixed
updateData
inRepeater
that gets passed to child items. - Tailwind's CSS reset will now be ignored with in containers that have a
es-uic-no-css-reset
class applied. Also, the reset is disabled for WP admin tables (.wp-list-table
). If you need to include a reset "island" within a container that hades-uic-no-css-reset
applied, you can add aes-uic-has-css-reset
to re-enable it for that container.
1.4.2 - 2024-07-26
- Added missing import in
NumberPicker
. - Improved
Repeater
behavior and reliability. - Added missing empty state in
Repeater
.
1.4.1 - 2024-07-26
- Fixed popover flashes in
LinkInput
if there's less than 4 characters.
1.4.0 - 2024-07-26
- Updated dependencies.
- Fixed
MultiSelect
item bug when usingsimpleValue
. - Updated Gutenberg overrides.
- Tweaked
Button
icon size when size is set tosmall
. - Fixed height of separator when using extra controls with
NumberPicker
and a custom size is set. es-uic-shrink
,es-uic-shrink-0
,es-uic-grow
,es-uic-grow-0
,es-uic-flex-1
,es-uic-flex-auto
,es-uic-flex-initial
, andes-uic-flex-none
will always be available.MultiSelect
andAsyncMultiSelect
multi-value item containers now have a maximum width set to prevent overflows with long titles.- Rewrote
LinkInput
so it is less in the way when entering URLs. - Rewrote
Repeater
to use React DNDKit until React Aria fixes issues with interactive elements insideGridList
s. Expandable
will now close if disabled while open.- A new transition has been added to
AnimatedVisibility
-fade
. - Added 6 new UI icons.
- Increased contrast of
ContainerPanel
title and icon.
1.3.2 - 2024-07-23
- Tweaked
OptionSelect
rich label style.
1.3.1 - 2024-07-19
- Tweaked Gradient editor layout.
- Tweaked Gutenberg tooltip style.
1.3.0 - 2024-07-19
- Added the
Modal
component. - Fixed Gutenberg tooltip style.
1.2.3 - 2024-07-17
- Adds missing doc comment for
hide
prop inButton
. - Added a couple of styles for Gutenberg overrides.
1.2.2 - 2024-07-09
- Fixed bug with
ContainerPanel
1.2.1 - 2024-07-05
- Added grab cursors for slider component thumbs to improve visual feedback.
- Improved
ColumnConfigSlider
label generator.
1.2.0 - 2024-07-04
- Fixed bug with clearing
Select
components - Fixed loading state padding in
Select
components - Fixed JSDoc blocks in couple of components
- Fixed border colors in
Expandable
,MenuSection
, segmentedRadioButtonGroup
, andSelect
components - Fixed
InputField
not passingtype
- Fixed style of indeterminate
Checkbox
- Tweaked spacing of
Slider
s without markers - Added an option to disable advanced options in
SolidColorPicker
- Added a placeholder in the Angle input within the
GradientEditor
when the default direction presets are used. - Improved
ContainerPanel
behavior when togglinguse
externally. - Fixed font size of
OptionPanel
help text. - Improved
ResponsivePreview
behavior and added auto-detect for desktop-first from value.
1.1.4 - 2024-07-01
- Same as
1.1.3
, just resolving some publishing issues
1.1.3 - 2024-07-01
- Added spacing to
endIcon
s in Menu items. - Tweaked auto-fix of Select components, now they don't need explicit
id
s in items. - Fixed small tooltip bugs in
ResponsiveLegacy
. - Tweaked tooltip opacity and blur amount.
- Updated dependencies.
1.1.2 - 2024-06-29
- Added missing margin in Select components.
- Removed ESLint React (Hooks) temporarily, as they're not fully compatible with ESLint 9.
- Added a disabled state for selected
RadioButton
s.
1.1.1 - 2024-06-26
- Removed
prepare
step frompackage.json
.
1.1.0 - 2024-06-25
- Migrated to ESLint 9.
- Updated dependencies.
- Switched from Babel to SWC.
- Cleaned up ESLint issues.
1.0.6 - 2024-06-25
- Tweaked
Responsive
andResponsiveLegacy
inner content positioning (useinnerContentAlign
to adjust).
1.0.5 - 2024-06-25
- Improved
OptionSelect
whenmenu
type is selected and the value isundefined
. - Added a way to set breakpoints and names to
Responsive
andResponsivePreview
(via thebreakpointUiData
prop). - Fixed
Responsive
labelling
1.0.4 - 2024-06-24
-
Modularized style exports
Change
@import '~@eightshift/ui-components/dist/assets/wp.css';
to
@import '~@eightshift/ui-components/dist/assets/wp-font-enhancements.css'; @import '~@eightshift/ui-components/dist/assets/wp-ui-enhancements.css';
1.0.3 - 2024-06-21
- Replaced
key
withid
as unique identifier inRepeater
and re-added the functionality that deletes theid
from output.
1.0.2 - 2024-06-21
- Add key (ID) auto-fix to
Repeater
and removed the functionality that deletes thekey
from output. - Added a
fixIds
utility function - Improved
RepeaterItem
drag indicator contrast
1.0.1 - 2024-06-21
- Improved
Repeater
drag&drop behavior Repeater
now allows adding a custom empty state view via theemptyState
prop- Added auto-ID-fix to
MultiSelect
andAsyncMultiSelect
1.0.0 - 2024-06-20
- Initial release