Skip to content

Releases: liferay/clay

v3.87.0

08 Feb 01:21
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/autocomplete: fix error when filtering autocomplete with regex special character (079e4f7)
  • @clayui/css: Atlas Dropdown items should be 32px tall (237f8fd)
  • @clayui/css: Buttons btn-secondary should have darker border for better contrast (336bdc3)
  • @clayui/css: Cadmin declare font size for btn-monospaced size variants (2e85acd)
  • @clayui/css: Cadmin text-# utilities should use px values (a47aa7e)
  • @clayui/modal: fixes error when closing the modal and not removing elements with inert (1e99716)
  • @clayui/shared: prevent closing the modal when clicking outside an Overlay rendered in the modal (d363535)

Features

  • @clayui/core: adds new selection API to configure more options (7839fa2)
  • @clayui/shared: adds the possibility to have overlay stacked (1a4d281)
  • @clayui/tabs: adds the pattern of uncontrolled to the active property of Tabs.Item in the new composition (fd5299a)

v3.86.0

31 Jan 23:32
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/core: announce item description when opening menu in Picker component (7509ef7)
  • @clayui/core: fix selection.toggle typing error (a61329f)
  • @clayui/core: fix Picker accessibility error on Apple devices with VoiceOver (b3f56b2)
  • @clayui/css: Empty State add bigger margin-bottom on image (e19f587)
  • @clayui/css: Readd text-underline and add text-none (5f7f691)
  • @clayui/css: Text decoration utility selector typo (8970d78)
  • @clayui/date-picker: Date Range should be selectable with a single click (ecd4c94)

Features

  • @clayui/core: adds simple implementation for LiveAnnouncer (cd0fd12)

v3.85.0

24 Jan 00:35
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/core: fix Vertical Bar component error change behavior from controlled to uncontrolled (54b329f)
  • @clayui/css: Atlas Alert update secondary colors (9d85766)
  • @clayui/css: Atlas Pagination active state should have more contrast (7e26618)
  • @clayui/css: Cadmin Navigation Bar nav-link should inherit font size (b30e861)
  • @clayui/css: Custom Checkbox and Radio border-color should have better contrast (77bdad4)
  • @clayui/css: Mixins clay-select-variant adds hover states (f6bb985)
  • @clayui/css: Navigation Bar nav-link should inherit font size from parent (a359c32)
  • @clayui/css: Navigation Bar remove default btn border from .btn.nav-link (6468728)
  • @clayui/css: Pagination adds cursor pointer to link for tags without href (c988ce7)
  • @clayui/css: Select box selected state should have darker background-color (1890825)
  • @clayui/link: Source Format (ebc9464)
  • @clayui/modal: only moves focus to dialog when content has rendered (421e4fd)
  • @clayui/modal: restore trigger focus when closing modal (146c939)
  • @clayui/multi-select: prevents items from having the same key (ea62915)
  • @clayui/navigation-bar: Removes classes btn-unstyled and link-unstyled from nav-link (10419a7)
  • @clayui/pagination-bar: PaginationBarWithBasicItems shouldn't render if totalItems is 0 (13519e8)
  • @clayui/pagination: Adds tabindex to links with no href (566ae6b)
  • @clayui/pagination: fix error when totalPages is 0 (16d6094)
  • @clayui/pagination: remove link from Prev and Next when disabled (6552d93)

Features

  • @clayui/alert: Adds a secondary variant and symbol attribute (b3ebd3e)
  • @clayui/core: add API to disable visual state of indeterminate and change selectionMode on manual selection (02aa88b)
  • @clayui/core: add new property to add className to Picker menu (2b6fafb)
  • @clayui/css: Cadmin adds c-link (f0b4d3a)
  • @clayui/css: Links adds c-link to be used with utility classes (156446b)
  • @clayui/css: Mixins clay-link adds ability to create variants (60e9662)
  • @clayui/css: Utilities adds text-decoration-underline (9b4873d)
  • @clayui/link: Adds new displayTypes, decoration, fontSize, and weight properties (43bd938)
  • @clayui/modal: allows modifying the role of the modal (6ec5de2)
  • @clayui/multi-select: Adds new API to disallow adding custom values as label (b858246)
  • @clayui/multi-select: allows to prevent default behavior of onPaste and onKeyDown (57e62a4)
  • @clayui/nav: add prop to remove aria-current from VerticalNav component (5502734)
  • @clayui/navigation-bar: add prop to remove aria-current from NavigationBar component (a872c2c)
  • @clayui/pagination-bar: change the DropDown component to the Picker in the high-level component (6a641d4)

v3.84.0

23 Dec 20:01
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/core: update Picker select icon (637d5fc)
  • @clayui/css: Sidebar should be able to overwrite focus styles on sidenav-start and sidenav-end (2edc530)

Features

  • @clayui/multi-select: add new alignmentByViewport API (ecb7409)
  • @clayui/multi-select: moves the visual focus from the gridcell to the label (5686d66)

v3.83.1

21 Dec 00:02
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/core: computes nested collections to mount the layout (047c927)
  • @clayui/core: fixes error when fetching the id that contains only numbers (5c82804)
  • @clayui/css: Mixins clay-select-variant $option should be scoped to the selector (4f08997)

v3.83.0

20 Dec 01:41
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/button: improves the error message for button accessibility and the ButtonWithIcon component type (2801f97)
  • @clayui/css: Bootstrap spinners are broken (9fabd50)
  • @clayui/css: Forms button.form-control-select should be left aligned (63a140f)
  • @clayui/css: Mixins clay-dropdown-item-variant adds .hover and .focus (92221ef)
  • @clayui/css: Mixins form-control-variant and clay-select-variant should output .hover (3823eef)
  • @clayui/css: Sidebar adds focus state (89443e5)
  • @clayui/drop-down: fix menu reference error (4f70e1e)
  • @clayui/multi-select: add semantic role to pills (7f99cfb)
  • @clayui/multi-select: associate the text with the label to improve readability for the SR (e0e79da)
  • @clayui/multi-select: fix input alignment error with label and loss of label focus (824d326)
  • @clayui/pagination: Items should be links only (d3c09be)
  • @clayui/pagination: Map aria-label to the nav element (7500043)
  • @clayui/pagination: preventDefault on ClayLink when there is no href and SF (1264f24)
  • @clayui/pagination: Use @clayui/shared sub to replace placeholder text (d99aa66)
  • @clayui/shared: add utility function to check typeahead and fix bugs not properly clearing timeout when closing menu (88eaab4)

Features

  • @clayui/core: add ARIA properties to Option and Text component (2c41e18)
  • @clayui/core: add typeahead support when menu is closed (10a2681)
  • @clayui/core: adds hybrid component implementation to use native selector on mobile device (a987646)
  • @clayui/core: Adds new Picker/Custom Select component (be6dc86)
  • @clayui/core: adds shortcut jump for PageUp and PageDown (d46c286)
  • @clayui/core: when leaving the focus of the Picker selects the option with visual focus (be57258)
  • @clayui/css: add display contents utility (e92be6a)
  • @clayui/css: Cadmin Forms adds form-control-select-secondary (c66ef0f)
  • @clayui/css: Dropdown adds dropdown-menu-select variant (13680ed)
  • @clayui/css: Forms adds form-control-select-secondary (8ab290e)
  • @clayui/css: Mixins clay-dropdown-menu-variant adds ability to style more sub components (1527b71)
  • @clayui/css: Mixins clay-form-control-variant adds active state (92c1b0a)
  • @clayui/multi-select: add focus control on labels on remove (1d557b2)
  • @clayui/multi-select: adds keyboard navigation interactions to labels (7c6121f)
  • @clayui/pagination: PaginationWithBasicItems should have aria-labels by default (262d686)
  • @clayui/pagination: Wraps pagination in nav element and adds navProps attribute (d17a125)
  • @clayui/shared: add hook to identify if it's a mobile device (65af0e6)
  • @clayui/shared: adds useHover hook to normalize hover pointer interactions (fc1f6c2)
  • @clayui/shared: adds configuration for visual navigation and event scheduling (6b055ad)
  • @clayui/shared: differentiates focus and hover for accessibility focus (cf46b07)
  • @clayui/shared: implements moving the scroll in visual focus (614c812)

v3.82.0

07 Dec 19:15
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/breadcrumb: add aria-label and title to ellipsis (7905087)
  • @clayui/button: update warning text (a1e571b)
  • @clayui/css: Cadmin normalize Sass map keys to be closer to the selector name (66dbd7a)
  • @clayui/css: Mixins clay-css adds gap and row-gap to properties (ba0447c)
  • @clayui/css: Mixins clay-modal-variant keys should be closer to the selector name (60439a6)
  • @clayui/css: Mixins clay-tbar-variant fix typo in .tbar-divider-after selector (651c34a)
  • @clayui/css: Mixins keys should be closer to the selector name (8ad67a5)
  • @clayui/css: Normalize Sass map keys to be closer to the selector name (3af7cde)
  • @clayui/css: Progress Bar variant keys should be closer to the selector name (68aea6c)
  • @clayui/date-picker: moves focus to selected cell when clicking dot button (9d0d8d1)
  • @clayui/modal: fix double click in the file select window in case outside of the modal (fd24158)
  • @clayui/pagination-bar: add aria-label and title to ellipsis (c1124ac)
  • @clayui/pagination: add aria-label and title to ellipsis (be831e5)
  • @clayui/panel: Remove fixed height after panel is shown (07aea35)
  • @clayui/shared: fix error when losing focus in DropDown (7f7a903)
  • @clayui/shared: fix navigation when focus trap (3ecb858)
  • fix bug when scrolling page when navigating via arrow keys (45092ec)

Features

  • @clayui/alert: adds possibility to remove alert attribute (222e2ee)
  • @clayui/css: Cadmin Utilities adds 5 levels of gap utilities (2ebeb50)
  • @clayui/css: Utilities adds 5 levels of gap utilities (c095efd)
  • @clayui/date-picker: implements keyboard navigation to DatePicker (c8b0a13)
  • @clayui/shared: add component to handle overlay for Clay components (a911038)
  • @clayui/shared: add hook to handle overlay positioning (d7427eb)
  • removes duplication of implementation of accessibility features for menu using Overlay component (9d60eb9)

v3.81.0

30 Nov 00:46
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/core: fix bug not updating indexes when items move (54100be)
  • @clayui/core: fix error when moving items in tree view (ab20a44)
  • @clayui/core: only expands the item if the intent to move is inside the item (fd09e05)
  • @clayui/core: when the item is expanded it only allows moving to middle and top (7e30197)
  • @clayui/css: Cadmin replace improper clay-container with clay-css mixins (841dc91)
  • @clayui/css: Replace improper clay-container with clay-css mixins (1ddf44b)
  • @clayui/drop-down: close drilldown menu returns to initial state (756e5f5)
  • @clayui/drop-down: fix error add aria-hidden="true" in active Drilldown menu (43d488f)

Features

  • @clayui/button: add warning when button with icon has not declared aria-label attribute (cb23cd3)
  • @clayui/css: Modularize most Clay CSS components (e39673a)
  • @clayui/drop-down: adds API to set aria-label of Drilldown stuff (9ea0b9b)
  • @clayui/modal: add aria-modal attribute to dialog (e47fc57)

v3.80.0

21 Nov 18:37
Compare
Choose a tag to compare

Bug Fixes

  • @clayui/date-picker: Map id attribute to .form-control (b53a81a)
  • @clayui/drop-down: adds keyboard navigation with looped arrow keys (c919b22)
  • @clayui/drop-down: associates the contextual item with the menu and fixes assertive aria for SRs with contextual menu (b62b7ba)
  • @clayui/drop-down: disable tabbing of Menu elements (81c0b20)
  • @clayui/drop-down: fix keyboard navigation for context menu (b44c7db)
  • @clayui/tooltip: persist the title attribute when navigate via keyboard (44fe7c4)

Features

  • @clayui/date-picker: improves semantic accessibility for the component (60a7f76)
  • @clayui/drop-down: enable typeahead for menu (6287f96)
  • @clayui/shared: Add typeahead function to list (ce1347f)
  • @clayui/time-picker: Add id prop that sets id on clay-time-hours (63a151b)

v3.79.0

08 Nov 20:00
Compare
Choose a tag to compare

Bug Fixes

  • @clay/modal: fix error of content outside the modal is still navigable with JAWS (b20531e)
  • @clayui/core: fixes error of actions not being navigable via keyboard in TreeView (7849603)
  • @clayui/drop-down: fix error when not properly rendering markup for simplified collection (e0c4fcf)
  • @clayui/nav: fix bug when reversing initialExpanded state (6fefa44)
  • @clayui/shared: fix error when alternate is with old reference (4ae7ffe)
  • @clayui/shared: fixes error when trying to navigate by non-visible element using useNavigation hook (2345873)
  • @clayui/shared: fixes flag to switch which fiber to use to find focusable elements (a26fc70)
  • @clayui/tabs: add configurable tabIndex property to TabPane component (b5b37ce)
  • @clayui/tabs: associate the panel label with the tab (40dbdba)
  • @clayui/tabs: fix error when trying to clone an invalid element (26d0200)
  • @clayui/tooltip: fixes error when not aligning the tooltip with focus in sequence of elements (0d3e415)

Features

  • @clayui/color-picker: Adds splotchTitle to pass custom title to the input group splotch (56eec39)
  • @clayui/core: add accessibility improvements to VerticalBar (eb76fcc)
  • @clayui/core: add index data when moving item in TreeView (0047d40)
  • @clayui/core: adds new onItemHover property to TreeView (5f54076)
  • @clayui/drop-down: add collection pattern (2335ef2)
  • @clayui/nav: add accessibility to the Vertical Nav component (7b4ddfe)
  • @clayui/nav: adds keyboard interaction when moving through nested elements in VerticalNav (626633c)
  • @clayui/shared: adds new hook to handle navigation using arrow keys (87b13a6)
  • @clayui/shared: adds new hook to handle navigation using arrow keys (77a6aab)
  • @clayui/tabs: adds new compositing pattern (c7fe61e)