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
|
@@ -5704,7 +5704,7 @@ var CalendarDay = function CalendarDay(props) {
|
|
|
5704
5704
|
var locale$1 = i18n.locale || locale.enUS;
|
|
5705
5705
|
var ariaLabel = (disabled ? i18n.datePicker.disabledDayAriaLabel : '') + " " + i18nFormat(day, 'EEEE, MMMM do yyyy', locale$1) + " " + (sameDateAsToday ? i18n.datePicker.todayAriaLabel : '') + " " + (sameDateAsChosenDate ? i18n.datePicker.selectedDayAriaLabel : '');
|
|
5706
5706
|
return React.createElement(CalendarDayCell, {
|
|
5707
|
-
role: "
|
|
5707
|
+
role: "presentation",
|
|
5708
5708
|
onFocus: onCalendarDayFocus,
|
|
5709
5709
|
theme: theme
|
|
5710
5710
|
}, React.createElement(CalendarDayInner, {
|
|
@@ -5715,6 +5715,7 @@ var CalendarDay = function CalendarDay(props) {
|
|
|
5715
5715
|
isFocused: dayFocusable && sameDateAsFocusedDate,
|
|
5716
5716
|
onClick: onDayClick,
|
|
5717
5717
|
ref: dayRef,
|
|
5718
|
+
role: "gridcell",
|
|
5718
5719
|
tabIndex: sameDateAsFocusedDate ? 0 : -1,
|
|
5719
5720
|
type: "button",
|
|
5720
5721
|
theme: theme
|