@adaptavant/eds-core@1.8.0

✨⚙️ Introducing version 1.8.0. Enjoy! ✨⚙️

🛠️ Enhancements

  1. Tokens:
    1. Added text-heading-20 token.
    2. Added new group chart group of tokens and make the available in fill- and stroke- classes.
  2. <Fieldset /> , <InlineField /> : Added bold font style to the labels
  3. <DropdownMenu />:
    1. Introduced new isDisabled prop
    2. Added <DropdownMenuProvider /> to handle the disabled state across compound components
  4. <SelectMenuItem />: Updated onClick logic to keep the Popover open if "false" is returned
  5. <TextLink />: Make href prop optional to allow other routing libraries to be used without TS errors.

🐛 Bug fixes

  1. DropdownsCombobox, DropdownMenu, FilterMenu, SelectMenu, TimePicker and TimeZonePicker fixed maximum rerender count reached:
    1. wrapped contextValues returned in useDropdownContextValues with useMemo
    2. debounce closeMenu() callback
  2. <SelectMenu />, <FilterMenu />, <TimezonePicker />:
    1. Style Update: Updated inline padding matching other Dropdowns and Text fields and expanded and disabled states styles updated for consistency.
    2. Keyboard Navigation Fix: Resolved issues with Dropdowns opening via keyboard navigation when "Field" marked as disabled.
  3. useComboboxSearchInput: Event Handling: Prevented onKeydown and onFocus event handlers from attaching when the "Field" is marked as disabled.

Minor Changes

  • 7380989: Tokens: Add '20' option to text-heading-[size] tokens

Patch Changes

  • 6cb7e1d:
    • useDebounceFunction - Added a new utility hook under @adaptavant/eds-core/utils entry point. This hook provides debouncing functionality for functions, allowing them to delay execution until after a specified wait time.
    • Dropdowns: Combobox, DropdownMenu, FilterMenu, SelectMenu, TimePicker and TimeZonePicker
      • wrapped contextValues returned in useDropdownContextValues with useMemo
      • debounce closeMenu() callback
  • cdcb250: SelectMenuItem: Updated onclick logic to keep the Popover open if "false" is returned
  • 2a7f5ab: TextLink: Make href prop optional to allow other routing libraries to be used without TS errors.
  • c97631e:
    • DropdownMenu:
      • New Prop: Introduced the isDisabled prop to manage the disabled state of the Trigger.
      • New Context: Added DropdownMenuProvider to handle the disabled state across compound components.
    • SelectMenu, FilterMenu, TimezonePicker:
      • Style Update: Updated inline padding matching other Dropdowns and Text fields and expanded and disabled states styles updated for consistency.
      • Keyboard Navigation Fix: Resolved issues with Dropdowns opening via keyboard navigation when "Field" marked as disabled.
    • useComboboxSearchInput:
      • Event Handling: Prevented onKeydown and onFocus event handlers from attaching when the "Field" is marked as disabled.
  • f7b9601: Tokens:
    • Added new group of "Chart" tokens
    • Updated stroke and fill classname lists with new chart tokens
  • 78fcc73: TextArea: Fixed an issue that prevented focus from moving to other form elements using the "Tab" key after a "disabled" TextArea had received focus
  • 698ffdc: Added bold font style to the Fieldset and InlineField labels