Skip to content

Releases: liferay/clay

v3.96.0

29 May 17:53
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/autocomplete: don't open menu if items is null (300fb73)
  • @clayui/core: fixes bug with not having a focusable item when there is no active item (f852f26)
  • @clayui/drop-down: fix error when breaking component when group has no items (b13f32c)

Features

  • @clayui/autocomplete: adds new API to customize input (b6a213b)
  • @clayui/card: moves root aria-label to card titles (6dc08c2)
  • @clayui/core: add backward compatibility for VerticalNav (bc1c59c)
  • @clayui/core: adds new active API to VerticalNav (ebec342)
  • @clayui/multi-select: adds implementation of new autocomplete (506c72f)

v3.95.0

15 May 23:47
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/core: fix error when not disabling item drag and drop via keyboard (5646c63)
  • @clayui/css: Atlas Buttons undo .btn:active:focus box-shadow from base theme (258c60f)
  • @clayui/css: Cadmin Buttons undo .btn:active:focus box-shadow (4cc6c3e)
  • @clayui/css: Cadmin Menubar update to new hover, focus, active styles (f4e5d9e)
  • @clayui/css: Cadmin Modals converts some components to clay Sass map pattern (3053c19)
  • @clayui/css: Cadmin only generate Sass placeholders for specific key names (f8f5fff)
  • @clayui/css: Cadmin update Pagination to new hover active styles (be8e82c)
  • @clayui/css: Forms c-unset/clay-unset shouldn't output anything for $form-control-select-palette (dc601b0)
  • @clayui/css: Mixins clay-link adds customization for active and disabled focus states (8d4e1ba)
  • @clayui/css: Mixins clay-map-to-css should accept child combinator (>) (12e938f)
  • @clayui/css: Mixins clay-map-to-css should accept parent selector & (d1462d7)
  • @clayui/css: Mixins clay-modal-variant should use clay-map-to-css where applicable (4cab2ab)
  • @clayui/css: Mixins clay-nav-nested should apply to .btn as well (a541843)
  • @clayui/css: Modals .modal-body should use the value from $modal (18d922a)
  • @clayui/css: Modals converts some components to clay Sass map pattern (d2ee903)
  • @clayui/css: Modals update modal-palette loop to prepend .modal- only to specific keys (a796dc4)
  • @clayui/css: Navs nav-nested reduce the number of nested navs to 7 by default (429876a)
  • @clayui/css: Only generate Sass placeholders for specific key names (25bd58c)
  • @clayui/css: Pagination maps .page-item.active .page-link to active-class instead of active (5e77a99)
  • @clayui/nav: fix overlapping items in VerticalNav (53352e9)
  • @clayui/shared: fix error when not recalculating positioning for elements with parent with scroll (16a4c77)

Features

  • @clayui/core: add basic snapshot tests for Vertical Nav (52a4a91)
  • @clayui/nav: add new composition to Vertical Nav with collection API (80d1a6e)

v3.94.0

04 May 00:01
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/core: fix collection wrapper error (7ad663a)
  • @clayui/core: fix obsolete state of collection item and render not found component when state is controlled (a0c7323)
  • @clayui/core: register the items in the collection after filtering with static content (bed4573)
  • @clayui/css: Atlas Custom Forms $custom-control-indicator-checked-* variables should be grouped (8854b6c)
  • @clayui/css: Atlas Menubar update active and hover state to improve contrast (9886c7a)
  • @clayui/css: Atlas Pagination active state should be semi bold and hover shouldn't shift content (667ea8e)
  • @clayui/css: Atlas Pagination and Menubar hover state should have semi bold font (9bbab24)
  • @clayui/css: c-prefers-reduced-motion utilities should work with prefers-reduce-motion media query (7191e1b)
  • @clayui/css: Cadmin output the correct selector for c-prefers-reduced-motion (9ff6965)
  • @clayui/css: Pagination update active and hover state to improve contrast (283d30b)
  • @clayui/empty-state: Adds props imgSrcReducedMotion and imgPropsReducedMotion (aa39994)
  • @clayui/empty-state: Should only output d-none-c-prefers-reduced-motion if there is a value for imgSrcReducedMotion (d428502)
  • @clayui/modal: fix focus visual error in Modal (13418c3)
  • @clayui/shared: fix error when not moving initial scroll to virtualized list (4b5051e)

Features

  • @clayui/autocomplete: add list virtualization for dynamic content (9710fd7)
  • @clayui/autocomplete: refactors autocomplete implementation with accessibility improvements (1dc82e6)
  • @clayui/core: Add API to collection to return list with ids (10cc1bb)
  • @clayui/core: add API to get the last item of the collection (54149c0)
  • @clayui/core: add infinite scroll to autocomplete (d3358b4)
  • @clayui/core: adds infinite scroll feature to collection (0248e36)
  • @clayui/core: adds new API to render a not found element in the collection (8f15cab)
  • @clayui/core: adds the step of extracting data from the collection separate from the rendering (87ca0a4)
  • @clayui/core: update the react-virtual package and refactor the infinite scroll implementation (88b8334)
  • @clayui/css: Utilities adds display classes based on c-prefers-reduced-motion (817987e)
  • @clayui/drop-down: add active state to item for cascading menu (e9a1471)
  • @clayui/shared: add implementation of moving scroll with virtualization in useNavigation hook (fd50e8c)
  • @clayui/shared: implements navigation integration with the collection API (7291d6b)
  • clay-card: Added card-title aria labels and sticker titles. (0f3038e)

v3.93.0

19 Apr 23:43
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/css: c-prefers-reduced-motion should completely remove transitions and animations (ad58f8e)
  • @clayui/css: Exclude variant styles from being output when using c-unset (59f5716)
  • @clayui/css: Global Functions adds clay-is-map-unset (5c6d168)
  • @clayui/css: Mixins clay-button-variant adds ability to style :link and :visited pseudo classes (639ef02)
  • @clayui/css: Mixins clay-css should remove animations with c-prefers-reduced-motion (e042a3c)
  • @clayui/focus-trap: Add display contents to ignore the element itself (6e772ff)
  • @clayui/focus-trap: Improve the description of the component (d5d2786)
  • @clayui/focus-trap: Prevent focus if focusableElements is empty (6b61c4c)
  • @clayui/focus-trap: Update snapshot (014170f)
  • @clayui/tabs: displayType should output nav-tabs variants (ff15ca2)
  • @clayui/tabs: Output nav-tabs-light only if displayType equals light (b599225), closes /github.com/liferay/clay/pull/5463#discussion_r1161986963
  • clayui.com: Change tab navigation to navigation bar (0a4f9a6)

Features

  • @clayui/core: add motion reduction (509e6dc)
  • @clayui/css: Global Functions adds clay-insert-after (e462c59)
  • @clayui/css: Sheets adds sheet-row for aligning content flush (9897c65)
  • @clayui/layout: Adds the Sheet Row component (1271df1)
  • @clayui/navigation-bar: add motion reduction (a49132d)
  • @clayui/panel: add motion reduction (cb5c69a)
  • @clayui/provider: add motion reduction config (fcd2849)
  • clayui.com: updates the look of the page docs header (c3ef028)

v3.92.0

06 Apr 21:41
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/alert: move close button outside of ARIA (04306bb)
  • @clayui/core: always shows the drag and drop icon (9395174)
  • @clayui/core: Vertical Bar open panel shouldn't disappear on resize (127b1c4)
  • @clayui/css: Buttons btn-xs adjust inline-item position (cd78784)
  • @clayui/css: Cadmin and Clay update focus outline colors for accessibility (372af84)
  • @clayui/css: Nav Tabs adds nav-tabs-light and adjust borders (68f8bec)
  • @clayui/css: Popover arrow has 1px gap in Safari (caaf7f7)
  • @clayui/empty-state: Empty alt attribute (8871eb9)
  • @clayui/empty-state: Update snapshot (dac2adb)

Features

  • @clayui/breadcrumb: changes the ellipse implementation to collapse (5bbc5fc)
  • @clayui/breadcrumb: improve breadcrumb accessibility (f3c6131)
  • @clayui/core: adds suppression of elements outside the scope of focus (f96fc60)
  • @clayui/css: Cadmin and Clay adds btn-beta and badge-beta variants (e09566a)
  • @clayui/css: Multi Step Nav adds error state (9d5846e)
  • @clayui/css: Utilities adds c-prefers-reduced-motion (89deb26)
  • @clayui/focus-trap: Add documentation for FocusTrap (3c8a1df)
  • @clayui/focus-trap: Add FocusTrap component (8ecba27)
  • @clayui/focus-trap: Add new props to focus on another element than the first (72093cd)
  • @clayui/focus-trap: Add stories for FocusTrap component (99ab581)
  • @clayui/focus-trap: Add tests for FocusTrap (af2e8f6)
  • @clayui/multi-step-nav: adds new API for error indicator (6187657)

v3.91.1

04 Apr 18:16
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/core: prevents JS from breaking component implementation (3e0cf3b)

v3.91.0

24 Mar 00:46
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/core: Vertical Bar declare main mouse button as constant (ccb1068)
  • @clayui/core: Vertical Bar don't update panel if cursor is less or more than panel width (781ffcc)
  • @clayui/core: Vertical Bar stop updating panel after min/max width reached (7541959)
  • @clayui/css: Navigation Bar focus outline should be rounded (a9dfdc0)
  • @clayui/css: Removes nav-underline from Clay and Cadmin (642c479)
  • @clayui/css: Resizer shouldn't select text when dragging (e2842c0)
  • @clayui/css: Treeview btn should inherit component's color (4e733f9)
  • @clayui/pagination-bar: fix bug in documentation example (8924412)
  • @clayui/tabs: Tabs deprecate displayType and modern attributes (196abec)

Features

  • @clayui/core: adds panelWidth controlled implementation (96b6373)
  • @clayui/core: Vertical Bar adds resizing to VerticalBar.Panel (82fe064)
  • @clayui/css: Atlas and Cadmin update nav-tabs styles (2e7aae2)
  • @clayui/css: Cadmin and Clay adds c-horizontal-resizer component (9dec76c)
  • @clayui/tabs: force style for tabs (859ef65)

v3.90.0

15 Mar 19:15
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/css: Cadmin Pagination active state should have more contrast (a09539a)
  • @clayui/css: Clay and Cadmin Menubar make collapsed nav 100% wide (ef3d431)
  • @clayui/css: Mixins Breakpoints don't output any styles if the breakpoint is c-unset (a8a02e2)
  • @clayui/css: Mixins Menubar update to use media query pattern (c6d9c16)
  • @clayui/date-picker: Dependency array of UseCallback should include every dependencies of the memoized function (38f859e)
  • @clayui/date-picker: fix focus bug in date picker (613d041)
  • @clayui/date-picker: updateDate is memoized without dateFormat dependency (827acff)
  • @clayui/navigation-bar: Mobile nav should push content down instead of overlaying (0176e40)

Features

  • @clayui/css: add new angle-double icons (04e8bb0)
  • @clayui/css: add new field-area icon (a0382b2)
  • @clayui/css: add new km-KH icon (9b2c70e)
  • @clayui/empty-state: always render the title (aa887e8)

v3.89.0

01 Mar 00:52
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/core: fix error when not rendering drag button when Item is just string (96c5646)
  • @clayui/core: fixes bug when not focus on actions (78dd821)
  • @clayui/css: Buttons increase font-weight of text in btn-monospaced (0e92f96)
  • @clayui/css: Links change spacing between text and icon back to 8px (3309eb9)
  • @clayui/css: nav-underline and navigation-bar-light should use primary-l0 for active highlight (fdeb072)

Features

  • @clayui/core: adds implementation to track most recent focus on component (efa266e)
  • @clayui/css: Global Functions adds clay-map-merge (901f288)
  • @clayui/css: Globals adds $c-root map for outputting custom properties (8afe1b6)
  • @clayui/css: Globals adds $clay-root map for outputting custom properties (49f05c7)
  • @clayui/css: Globals adds $primary-l0 (d76fb5c)
  • @clayui/css: Moves c-root to the end of variables file (ea82657)
  • @clayui/drop-down: add new prop to pass props to DropDown.Search button (47604f3)

v3.88.0

14 Feb 22:19
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/core: fix bug that does not expand an asynchronous node with cursor (67e4f13)
  • @clayui/css: Adjust list-group-text and subtext to match Lexicon specs (193d92a)

Features

  • @clayui/core: add TextHighlight component (9c65e16)
  • @clayui/core: adds API for internationalization of announcer messages (ace6890)
  • @clayui/core: adds drag and drop accessibility when use keyboard (ab87a57)
  • @clayui/core: adds initial implementation of drag and drop via keyboard in treeview (c96552b)
  • @clayui/core: improves the accessibility of item binding with groups and fixes the bug with not announcing correctly when starting the drag (3dd93d1)
  • @clayui/link: add extra aria-label when target is _blank (6268a88)
  • @clayui/tabs: adds forwardRef to Tabs components (a1792ce)