@adaptavant/eds-core@1.8.0
✨⚙️ Introducing version 1.8.0. Enjoy! ✨⚙️
🛠️ Enhancements
Tokens
:- Added
text-heading-20
token. - Added new group
chart
group of tokens and make the available infill-
andstroke-
classes.
- Added
<Fieldset />
,<InlineField />
: Added bold font style to the labels<DropdownMenu />:
- Introduced new
isDisabled
prop - Added
<DropdownMenuProvider />
to handle the disabled state across compound components
- Introduced new
<SelectMenuItem />
: UpdatedonClick
logic to keep the Popover open if "false" is returned<TextLink />
: Makehref
prop optional to allow other routing libraries to be used without TS errors.
🐛 Bug fixes
- Dropdowns
Combobox
,DropdownMenu
,FilterMenu
,SelectMenu
,TimePicker
andTimeZonePicker
fixed maximum rerender count reached:- wrapped contextValues returned in
useDropdownContextValues
with 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/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
andTimeZonePicker
- wrapped contextValues returned in
useDropdownContextValues
with useMemo - debounce
closeMenu()
callback
- wrapped contextValues returned in
- cdcb250: SelectMenuItem: Updated
onclick
logic to keep thePopover
open if "false" is returned - 2a7f5ab:
TextLink
: Makehref
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.
- 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
stroke
andfill
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
andInlineField
labels