v9.0.0
⚠️ Breaking changes
- Deprecated props are removed
- Class
dp__clear_iconis renamed todp--clear-btnand the icon is wrapped in<button>tag textInput.openMenubooleanvaluetrueis changed to'open' | 'toggle'- Removed
calendarWrapandcalendarDaysfrom thearia-labelsprop due to accessibility violations - When using the component with web components, it must be enabled explicitly via
config.shadowDomproperty
For more info, take a look at the migration guide
🚀 Features
- Added option to enable menu toggle when clicking the input field in
text-inputmode (#905) - Added
@text-inputevent (#906) - Exposed
dpWrapMenuRef(#918) - Added
customPositionfunction to themarkerobject (#933) - Added new slot
menu-headerthat spans across all instances (#935) - Additional arria labels for overlays are added (#941)
🐛 Bug Fixes
- Fixed issue with required double touch to select date when the date has a marker on iOS devices (#904)
- Fixed accessibility violation with
aria-labelon theinputfield (#907) - Fixed accessibility issue with unable to focus the
xbutton in the input field via keyboard (#908) - Fixed issue with wrong month & year assignment for
auto-rangeinmulti-calendarsmode (#909) by @Tsuyoshi84 - Fixed positioning issue when layout altering slots are used (fixes #922)
- Fixed broken layout on
direction: rtl(#931) - Fixed issue where
partial-flowcloses the menu after the first flow step (#936) - Fixed issue where the menu changes position on
text-input(#940)
🔧 Refactor
- Accessibility improvements
- All
svgicons now have aroleattribute - The
handleTabfunction fromdp-inputslots now receives a second (optional)booleanparameter, indicating that the event comes from the input field - Keyboard helpers (
Home,PageUpandPageDownevents) will now add focus (#822, #932) - The clear icon is now wrapped inside the
buttontag instead of the span
- All