Skip to content

Releases: infinum/eightshift-ui-components

1.8.0

29 Nov 08:18
15f6d60
Compare
Choose a tag to compare

Changes:

  • JsxSvg now supports aria-hidden prop
  • JsxSvg 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

15 Nov 10:04
2053ce9
Compare
Choose a tag to compare

No changes since 1.7.1, just a re-publish due to NPM not publishing package properly.

1.7.1

15 Nov 08:30
9df0bb3
Compare
Choose a tag to compare

Changes:

  • Fixed truncate helper when the input is empty. (thanks @piqusy)
  • Added 2 new UI icons and 3 new block icons.
  • Updated dependencies.

1.7.0

09 Oct 08:56
cfa2a4f
Compare
Choose a tag to compare

Changes:

  • Updated dependencies.
  • Repeater, Draggable, DraggableList and ItemCollection will now behave better when undefined 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 a Responsive in a limited space. Works best with OptionSelect or other Button-like components!
  • Fixed Spacer not applying className 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

01 Oct 06:41
a3944bc
Compare
Choose a tag to compare

Changes:

  • Fixed clearable not working in Select components.
  • Fixed Tabs tab alignment when in horizontal mode.
  • OptionsPanel, OptionsPanelSection, and OptionsPanelHeader now support the hidden 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

27 Sep 07:16
dc9819e
Compare
Choose a tag to compare

Breaking changes:

  • DraggableItem no longer exists, you can replace with a div or any other element of your choosing
  • DraggableItemHandle has been renamed to DraggableHandle

Changes:

  • Updated dependencies.
  • ColorPicker now has better UX when set to clearable.
  • Made clearable variant of ColorPicker less confusing.
  • Reworked Draggable, DraggableList, and Repeater 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

18 Sep 11:03
69949d4
Compare
Choose a tag to compare

Changes:

  • Fixed select components overlaps in some cases (by @piqusy ).
  • Added noExpandButton, noLabel, noUseToggle, and hideUseToggleOnExpand to ComponentToggle.

1.5.0

12 Sep 12:14
d72420a
Compare
Choose a tag to compare

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 within DraggableListItem to mark the drag area.
  • DraggableListItem will now hide the label properly if title, icon and subtitle are not sent
  • DraggableList now supports a labelAsHandle 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 if fetchSuggestions is not passed.
  • LinkInput will not show suggestions when the field is empty. You can opt out into that with showSuggestionsWhenEmpty (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 .maps in the editor.

1.4.7

11 Sep 12:34
10feeda
Compare
Choose a tag to compare

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

16 Aug 16:40
Compare
Choose a tag to compare

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 in OptionSelect when variant is set to menu.
  • Updated dependencies.