@adaptavant/eds-core@1.12.0
✨⚙️ Introducing version 1.12.0. Enjoy! ✨⚙️
🛠️ Enhancements
- Dropdowns:
- Added the ability to mark
MenuItem
as disabled. - Updated keyboard navigation logic to gracefully skip disabled menu items.
onClick
is now added only for non-disabledMenuItem
.- Improved the dropdown reducer with early returns to prevent "maximum depth reached" issues when multiple actions are triggered simultaneously.
- Added the ability to mark
<FilterMenuItem />
:- Consumers can now return a boolean from the
onClick
callback. - Updated logic to keep the
FilterMenuPopover
open whenfalse
is returned.
- Consumers can now return a boolean from the
Checkbox
:- Added a new indeterminate state to visually represent when only part of a group is selected.
- Designed for use cases like header groups where some, but not all, options are selected.
📄 Icons & Symbols
New Icons |
---|
ApplyAllIcon, BreakIcon |
New Symbols |
---|
JcbColorIcon, DiscoverColorIcon, DinersIcon |
Minor Changes
- c60544d: Dropdowns:
- Enhanced keyboard navigation to skip disabled
MenuItem
s. - Updated
MenuItem
styles for active, highlighted, hover states and visually differentiate "disabled" item. onClick
selection listener only be applied for non-disabled menu items.- Optimized reducer logic with early state returns to handle scenarios involving maximum depth and simultaneous action triggers.
- Enhanced keyboard navigation to skip disabled