@adaptavant/eds-core@1.8.0
✨⚙️ Introducing version 1.8.0. Enjoy! ✨⚙️
🛠️ Enhancements
Tokens:- Added
text-heading-20token. - Added new group
chartgroup of tokens and make the available infill-andstroke-classes.
- Added
<Fieldset />,<InlineField />: Added bold font style to the labels<DropdownMenu />:- Introduced new
isDisabledprop - Added
<DropdownMenuProvider />to handle the disabled state
across compound components
- Introduced new
<SelectMenuItem />: UpdatedonClicklogic to keep the Popover open if "false" is returned<TextLink />: Makehrefprop optional to allow other routing libraries to be used without TS errors.
🐛 Bug fixes
- Dropdowns
Combobox,DropdownMenu,FilterMenu,SelectMenu,TimePickerandTimeZonePickerfixed maximum rerender count reached:- wrapped contextValues returned in
useDropdownContextValueswith useMemo - debounce
closeMenu()callback
- wrapped contextValues returned in
<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.
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/utilsentry point. This hook provides debouncing functionality for functions, allowing them to delay execution until after a specified wait time.- Dropdowns:
Combobox,DropdownMenu,FilterMenu,SelectMenu,TimePickerandTimeZonePicker- wrapped contextValues returned in
useDropdownContextValueswith useMemo - debounce
closeMenu()callback
- wrapped contextValues returned in
- cdcb250: SelectMenuItem: Updated
onclicklogic to keep thePopoveropen if "false" is returned - 2a7f5ab:
TextLink: Makehrefprop optional to allow other routing libraries to be used without TS errors. - c97631e:
- DropdownMenu:
- New Prop: Introduced the
isDisabledprop to manage the disabled state
of the Trigger. - New Context: Added DropdownMenuProvider to handle the disabled state
across compound components.
- New Prop: Introduced the
- 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.
- DropdownMenu:
- f7b9601: Tokens:
- Added new group of "Chart" tokens
- Updated
strokeandfillclassname 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
FieldsetandInlineFieldlabels