react-magma-dom 2.6.1 → 2.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/react-magma-dom.cjs.development.js +2 -1
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -9087,7 +9087,7 @@ var CalendarDay = function CalendarDay(props) {
|
|
|
9087
9087
|
var locale = i18n.locale || enUS;
|
|
9088
9088
|
var ariaLabel = (disabled ? i18n.datePicker.disabledDayAriaLabel : '') + " " + i18nFormat(day, 'EEEE, MMMM do yyyy', locale) + " " + (sameDateAsToday ? i18n.datePicker.todayAriaLabel : '') + " " + (sameDateAsChosenDate ? i18n.datePicker.selectedDayAriaLabel : '');
|
|
9089
9089
|
return createElement(CalendarDayCell, {
|
|
9090
|
-
role: "
|
|
9090
|
+
role: "presentation",
|
|
9091
9091
|
onFocus: onCalendarDayFocus,
|
|
9092
9092
|
theme: theme
|
|
9093
9093
|
}, createElement(CalendarDayInner, {
|
|
@@ -9098,6 +9098,7 @@ var CalendarDay = function CalendarDay(props) {
|
|
|
9098
9098
|
isFocused: dayFocusable && sameDateAsFocusedDate,
|
|
9099
9099
|
onClick: onDayClick,
|
|
9100
9100
|
ref: dayRef,
|
|
9101
|
+
role: "gridcell",
|
|
9101
9102
|
tabIndex: sameDateAsFocusedDate ? 0 : -1,
|
|
9102
9103
|
type: "button",
|
|
9103
9104
|
theme: theme
|