@adaptavant/eds-core@1.12.0
✨⚙️ Introducing version 1.12.0. Enjoy! ✨⚙️
🛠️ Enhancements
- Dropdowns:
- Added the ability to mark
MenuItemas disabled. - Updated keyboard navigation logic to gracefully skip disabled menu items.
onClickis 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
onClickcallback. - Updated logic to keep the
FilterMenuPopoveropen whenfalseis 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
MenuItems. - Updated
MenuItemstyles for active, highlighted, hover states and visually differentiate "disabled" item. onClickselection 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