@react-aria/calendar 3.5.7 → 3.5.8

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.
Files changed (52) hide show
  1. package/dist/ar-AE.mjs +1 -1
  2. package/dist/bg-BG.mjs +1 -1
  3. package/dist/cs-CZ.mjs +1 -1
  4. package/dist/da-DK.mjs +1 -1
  5. package/dist/de-DE.mjs +1 -1
  6. package/dist/el-GR.mjs +1 -1
  7. package/dist/en-US.mjs +1 -1
  8. package/dist/es-ES.mjs +1 -1
  9. package/dist/et-EE.mjs +1 -1
  10. package/dist/fi-FI.mjs +1 -1
  11. package/dist/fr-FR.mjs +1 -1
  12. package/dist/he-IL.mjs +1 -1
  13. package/dist/hr-HR.mjs +1 -1
  14. package/dist/hu-HU.mjs +1 -1
  15. package/dist/intlStrings.mjs +1 -1
  16. package/dist/it-IT.mjs +1 -1
  17. package/dist/ja-JP.mjs +1 -1
  18. package/dist/ko-KR.mjs +1 -1
  19. package/dist/lt-LT.mjs +1 -1
  20. package/dist/lv-LV.mjs +1 -1
  21. package/dist/nb-NO.mjs +1 -1
  22. package/dist/nl-NL.mjs +1 -1
  23. package/dist/pl-PL.mjs +1 -1
  24. package/dist/pt-BR.mjs +1 -1
  25. package/dist/pt-PT.mjs +1 -1
  26. package/dist/ro-RO.mjs +1 -1
  27. package/dist/ru-RU.mjs +1 -1
  28. package/dist/sk-SK.mjs +1 -1
  29. package/dist/sl-SI.mjs +1 -1
  30. package/dist/sr-SP.mjs +1 -1
  31. package/dist/sv-SE.mjs +1 -1
  32. package/dist/tr-TR.mjs +1 -1
  33. package/dist/uk-UA.mjs +1 -1
  34. package/dist/useCalendar.mjs +1 -1
  35. package/dist/useCalendarBase.main.js +13 -13
  36. package/dist/useCalendarBase.mjs +14 -14
  37. package/dist/useCalendarBase.module.js +13 -13
  38. package/dist/useCalendarCell.main.js +40 -40
  39. package/dist/useCalendarCell.mjs +41 -41
  40. package/dist/useCalendarCell.module.js +40 -40
  41. package/dist/useCalendarGrid.main.js +23 -23
  42. package/dist/useCalendarGrid.mjs +24 -24
  43. package/dist/useCalendarGrid.module.js +23 -23
  44. package/dist/useRangeCalendar.main.js +4 -4
  45. package/dist/useRangeCalendar.mjs +5 -5
  46. package/dist/useRangeCalendar.module.js +4 -4
  47. package/dist/utils.main.js +22 -22
  48. package/dist/utils.mjs +23 -23
  49. package/dist/utils.module.js +22 -22
  50. package/dist/zh-CN.mjs +1 -1
  51. package/dist/zh-TW.mjs +1 -1
  52. package/package.json +11 -11
package/dist/ar-AE.mjs CHANGED
@@ -16,4 +16,4 @@ $39324ace0d945f59$exports = {
16
16
 
17
17
 
18
18
  export {$39324ace0d945f59$exports as default};
19
- //# sourceMappingURL=ar-AE.mjs.map
19
+ //# sourceMappingURL=ar-AE.module.js.map
package/dist/bg-BG.mjs CHANGED
@@ -16,4 +16,4 @@ $1830a539e98c7baf$exports = {
16
16
 
17
17
 
18
18
  export {$1830a539e98c7baf$exports as default};
19
- //# sourceMappingURL=bg-BG.mjs.map
19
+ //# sourceMappingURL=bg-BG.module.js.map
package/dist/cs-CZ.mjs CHANGED
@@ -16,4 +16,4 @@ $f4b92528965aab97$exports = {
16
16
 
17
17
 
18
18
  export {$f4b92528965aab97$exports as default};
19
- //# sourceMappingURL=cs-CZ.mjs.map
19
+ //# sourceMappingURL=cs-CZ.module.js.map
package/dist/da-DK.mjs CHANGED
@@ -16,4 +16,4 @@ $1cd578ef0547c8f1$exports = {
16
16
 
17
17
 
18
18
  export {$1cd578ef0547c8f1$exports as default};
19
- //# sourceMappingURL=da-DK.mjs.map
19
+ //# sourceMappingURL=da-DK.module.js.map
package/dist/de-DE.mjs CHANGED
@@ -16,4 +16,4 @@ $db55a8973925d619$exports = {
16
16
 
17
17
 
18
18
  export {$db55a8973925d619$exports as default};
19
- //# sourceMappingURL=de-DE.mjs.map
19
+ //# sourceMappingURL=de-DE.module.js.map
package/dist/el-GR.mjs CHANGED
@@ -16,4 +16,4 @@ $ec6937d58566d443$exports = {
16
16
 
17
17
 
18
18
  export {$ec6937d58566d443$exports as default};
19
- //# sourceMappingURL=el-GR.mjs.map
19
+ //# sourceMappingURL=el-GR.module.js.map
package/dist/en-US.mjs CHANGED
@@ -16,4 +16,4 @@ $1f5cea0742dc284a$exports = {
16
16
 
17
17
 
18
18
  export {$1f5cea0742dc284a$exports as default};
19
- //# sourceMappingURL=en-US.mjs.map
19
+ //# sourceMappingURL=en-US.module.js.map
package/dist/es-ES.mjs CHANGED
@@ -16,4 +16,4 @@ $2ca7ea366384817b$exports = {
16
16
 
17
17
 
18
18
  export {$2ca7ea366384817b$exports as default};
19
- //# sourceMappingURL=es-ES.mjs.map
19
+ //# sourceMappingURL=es-ES.module.js.map
package/dist/et-EE.mjs CHANGED
@@ -16,4 +16,4 @@ $97874a7fe9cd091f$exports = {
16
16
 
17
17
 
18
18
  export {$97874a7fe9cd091f$exports as default};
19
- //# sourceMappingURL=et-EE.mjs.map
19
+ //# sourceMappingURL=et-EE.module.js.map
package/dist/fi-FI.mjs CHANGED
@@ -16,4 +16,4 @@ $5d376b7fce1a45b2$exports = {
16
16
 
17
17
 
18
18
  export {$5d376b7fce1a45b2$exports as default};
19
- //# sourceMappingURL=fi-FI.mjs.map
19
+ //# sourceMappingURL=fi-FI.module.js.map
package/dist/fr-FR.mjs CHANGED
@@ -16,4 +16,4 @@ $3bf722b362aaf54d$exports = {
16
16
 
17
17
 
18
18
  export {$3bf722b362aaf54d$exports as default};
19
- //# sourceMappingURL=fr-FR.mjs.map
19
+ //# sourceMappingURL=fr-FR.module.js.map
package/dist/he-IL.mjs CHANGED
@@ -16,4 +16,4 @@ $38c43f8322316031$exports = {
16
16
 
17
17
 
18
18
  export {$38c43f8322316031$exports as default};
19
- //# sourceMappingURL=he-IL.mjs.map
19
+ //# sourceMappingURL=he-IL.module.js.map
package/dist/hr-HR.mjs CHANGED
@@ -16,4 +16,4 @@ $c90e0f32b44630bf$exports = {
16
16
 
17
17
 
18
18
  export {$c90e0f32b44630bf$exports as default};
19
- //# sourceMappingURL=hr-HR.mjs.map
19
+ //# sourceMappingURL=hr-HR.module.js.map
package/dist/hu-HU.mjs CHANGED
@@ -16,4 +16,4 @@ $715875e6e7a338f4$exports = {
16
16
 
17
17
 
18
18
  export {$715875e6e7a338f4$exports as default};
19
- //# sourceMappingURL=hu-HU.mjs.map
19
+ //# sourceMappingURL=hu-HU.module.js.map
@@ -107,4 +107,4 @@ $3904726b442bd9b2$exports = {
107
107
 
108
108
 
109
109
  export {$3904726b442bd9b2$exports as default};
110
- //# sourceMappingURL=intlStrings.mjs.map
110
+ //# sourceMappingURL=intlStrings.module.js.map
package/dist/it-IT.mjs CHANGED
@@ -16,4 +16,4 @@ $37d77c66e34daccf$exports = {
16
16
 
17
17
 
18
18
  export {$37d77c66e34daccf$exports as default};
19
- //# sourceMappingURL=it-IT.mjs.map
19
+ //# sourceMappingURL=it-IT.module.js.map
package/dist/ja-JP.mjs CHANGED
@@ -16,4 +16,4 @@ $542f39aee29303c3$exports = {
16
16
 
17
17
 
18
18
  export {$542f39aee29303c3$exports as default};
19
- //# sourceMappingURL=ja-JP.mjs.map
19
+ //# sourceMappingURL=ja-JP.module.js.map
package/dist/ko-KR.mjs CHANGED
@@ -16,4 +16,4 @@ $22a5f0623ea73e4f$exports = {
16
16
 
17
17
 
18
18
  export {$22a5f0623ea73e4f$exports as default};
19
- //# sourceMappingURL=ko-KR.mjs.map
19
+ //# sourceMappingURL=ko-KR.module.js.map
package/dist/lt-LT.mjs CHANGED
@@ -16,4 +16,4 @@ $522380d13d62cba0$exports = {
16
16
 
17
17
 
18
18
  export {$522380d13d62cba0$exports as default};
19
- //# sourceMappingURL=lt-LT.mjs.map
19
+ //# sourceMappingURL=lt-LT.module.js.map
package/dist/lv-LV.mjs CHANGED
@@ -16,4 +16,4 @@ $8a7bc830b2fe6485$exports = {
16
16
 
17
17
 
18
18
  export {$8a7bc830b2fe6485$exports as default};
19
- //# sourceMappingURL=lv-LV.mjs.map
19
+ //# sourceMappingURL=lv-LV.module.js.map
package/dist/nb-NO.mjs CHANGED
@@ -16,4 +16,4 @@ $9fac9c044470683b$exports = {
16
16
 
17
17
 
18
18
  export {$9fac9c044470683b$exports as default};
19
- //# sourceMappingURL=nb-NO.mjs.map
19
+ //# sourceMappingURL=nb-NO.module.js.map
package/dist/nl-NL.mjs CHANGED
@@ -16,4 +16,4 @@ $b127d3569efb1449$exports = {
16
16
 
17
17
 
18
18
  export {$b127d3569efb1449$exports as default};
19
- //# sourceMappingURL=nl-NL.mjs.map
19
+ //# sourceMappingURL=nl-NL.module.js.map
package/dist/pl-PL.mjs CHANGED
@@ -16,4 +16,4 @@ $51404a4090633490$exports = {
16
16
 
17
17
 
18
18
  export {$51404a4090633490$exports as default};
19
- //# sourceMappingURL=pl-PL.mjs.map
19
+ //# sourceMappingURL=pl-PL.module.js.map
package/dist/pt-BR.mjs CHANGED
@@ -16,4 +16,4 @@ $e5e6a3fe3b4527df$exports = {
16
16
 
17
17
 
18
18
  export {$e5e6a3fe3b4527df$exports as default};
19
- //# sourceMappingURL=pt-BR.mjs.map
19
+ //# sourceMappingURL=pt-BR.module.js.map
package/dist/pt-PT.mjs CHANGED
@@ -16,4 +16,4 @@ $c519dcadcbb1ee47$exports = {
16
16
 
17
17
 
18
18
  export {$c519dcadcbb1ee47$exports as default};
19
- //# sourceMappingURL=pt-PT.mjs.map
19
+ //# sourceMappingURL=pt-PT.module.js.map
package/dist/ro-RO.mjs CHANGED
@@ -16,4 +16,4 @@ $e5aa0186ca7889c6$exports = {
16
16
 
17
17
 
18
18
  export {$e5aa0186ca7889c6$exports as default};
19
- //# sourceMappingURL=ro-RO.mjs.map
19
+ //# sourceMappingURL=ro-RO.module.js.map
package/dist/ru-RU.mjs CHANGED
@@ -16,4 +16,4 @@ $5b907f5fa3eee652$exports = {
16
16
 
17
17
 
18
18
  export {$5b907f5fa3eee652$exports as default};
19
- //# sourceMappingURL=ru-RU.mjs.map
19
+ //# sourceMappingURL=ru-RU.module.js.map
package/dist/sk-SK.mjs CHANGED
@@ -16,4 +16,4 @@ $1b4c51359c99cf79$exports = {
16
16
 
17
17
 
18
18
  export {$1b4c51359c99cf79$exports as default};
19
- //# sourceMappingURL=sk-SK.mjs.map
19
+ //# sourceMappingURL=sk-SK.module.js.map
package/dist/sl-SI.mjs CHANGED
@@ -16,4 +16,4 @@ $02e4e6a4608cc6f3$exports = {
16
16
 
17
17
 
18
18
  export {$02e4e6a4608cc6f3$exports as default};
19
- //# sourceMappingURL=sl-SI.mjs.map
19
+ //# sourceMappingURL=sl-SI.module.js.map
package/dist/sr-SP.mjs CHANGED
@@ -16,4 +16,4 @@ $6dd2fbaad93b6878$exports = {
16
16
 
17
17
 
18
18
  export {$6dd2fbaad93b6878$exports as default};
19
- //# sourceMappingURL=sr-SP.mjs.map
19
+ //# sourceMappingURL=sr-SP.module.js.map
package/dist/sv-SE.mjs CHANGED
@@ -16,4 +16,4 @@ $33ea59bfe6e804e0$exports = {
16
16
 
17
17
 
18
18
  export {$33ea59bfe6e804e0$exports as default};
19
- //# sourceMappingURL=sv-SE.mjs.map
19
+ //# sourceMappingURL=sv-SE.module.js.map
package/dist/tr-TR.mjs CHANGED
@@ -16,4 +16,4 @@ $4603b0d0246969b2$exports = {
16
16
 
17
17
 
18
18
  export {$4603b0d0246969b2$exports as default};
19
- //# sourceMappingURL=tr-TR.mjs.map
19
+ //# sourceMappingURL=tr-TR.module.js.map
package/dist/uk-UA.mjs CHANGED
@@ -16,4 +16,4 @@ $82649816f530bb1b$exports = {
16
16
 
17
17
 
18
18
  export {$82649816f530bb1b$exports as default};
19
- //# sourceMappingURL=uk-UA.mjs.map
19
+ //# sourceMappingURL=uk-UA.module.js.map
@@ -17,4 +17,4 @@ function $9942cad8a072a530$export$3ee915f8151bd4f1(props, state) {
17
17
 
18
18
 
19
19
  export {$9942cad8a072a530$export$3ee915f8151bd4f1 as useCalendar};
20
- //# sourceMappingURL=useCalendar.mjs.map
20
+ //# sourceMappingURL=useCalendar.module.js.map
@@ -32,7 +32,7 @@ $parcel$export(module.exports, "useCalendarBase", () => $02ef492a56b91cb2$export
32
32
 
33
33
 
34
34
  function $02ef492a56b91cb2$export$d652b3ea2d672d5b(props, state) {
35
- let stringFormatter = (0, $dPWPO$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($bd6dc95a3c5ee5cd$exports))), "@react-aria/calendar");
35
+ let stringFormatter = (0, $dPWPO$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($bd6dc95a3c5ee5cd$exports))), '@react-aria/calendar');
36
36
  let domProps = (0, $dPWPO$reactariautils.filterDOMProps)(props);
37
37
  let title = (0, $df1d8e967e73ec8e$exports.useVisibleRangeDescription)(state.visibleRange.start, state.visibleRange.end, state.timeZone, false);
38
38
  let visibleRangeDescription = (0, $df1d8e967e73ec8e$exports.useVisibleRangeDescription)(state.visibleRange.start, state.visibleRange.end, state.timeZone, true);
@@ -46,7 +46,7 @@ function $02ef492a56b91cb2$export$d652b3ea2d672d5b(props, state) {
46
46
  // Announce when the selected value changes
47
47
  let selectedDateDescription = (0, $df1d8e967e73ec8e$exports.useSelectedDateDescription)(state);
48
48
  (0, $dPWPO$reactariautils.useUpdateEffect)(()=>{
49
- if (selectedDateDescription) (0, $dPWPO$reactarialiveannouncer.announce)(selectedDateDescription, "polite", 4000);
49
+ if (selectedDateDescription) (0, $dPWPO$reactarialiveannouncer.announce)(selectedDateDescription, 'polite', 4000);
50
50
  // handle an update to the caption that describes the currently selected range, to announce the new value
51
51
  }, [
52
52
  selectedDateDescription
@@ -58,8 +58,8 @@ function $02ef492a56b91cb2$export$d652b3ea2d672d5b(props, state) {
58
58
  ]);
59
59
  // Pass the label to the child grid elements.
60
60
  (0, $df1d8e967e73ec8e$exports.hookData).set(state, {
61
- ariaLabel: props["aria-label"],
62
- ariaLabelledBy: props["aria-labelledby"],
61
+ ariaLabel: props['aria-label'],
62
+ ariaLabelledBy: props['aria-labelledby'],
63
63
  errorMessageId: errorMessageId,
64
64
  selectedDateDescription: selectedDateDescription
65
65
  });
@@ -77,27 +77,27 @@ function $02ef492a56b91cb2$export$d652b3ea2d672d5b(props, state) {
77
77
  state.setFocused(true);
78
78
  }
79
79
  let labelProps = (0, $dPWPO$reactariautils.useLabels)({
80
- id: props["id"],
81
- "aria-label": [
82
- props["aria-label"],
80
+ id: props['id'],
81
+ 'aria-label': [
82
+ props['aria-label'],
83
83
  visibleRangeDescription
84
- ].filter(Boolean).join(", "),
85
- "aria-labelledby": props["aria-labelledby"]
84
+ ].filter(Boolean).join(', '),
85
+ 'aria-labelledby': props['aria-labelledby']
86
86
  });
87
87
  return {
88
88
  calendarProps: (0, $dPWPO$reactariautils.mergeProps)(domProps, labelProps, {
89
- role: "application",
90
- "aria-describedby": props["aria-describedby"] || undefined
89
+ role: 'application',
90
+ 'aria-describedby': props['aria-describedby'] || undefined
91
91
  }),
92
92
  nextButtonProps: {
93
93
  onPress: ()=>state.focusNextPage(),
94
- "aria-label": stringFormatter.format("next"),
94
+ 'aria-label': stringFormatter.format('next'),
95
95
  isDisabled: nextDisabled,
96
96
  onFocusChange: setNextFocused
97
97
  },
98
98
  prevButtonProps: {
99
99
  onPress: ()=>state.focusPreviousPage(),
100
- "aria-label": stringFormatter.format("previous"),
100
+ 'aria-label': stringFormatter.format('previous'),
101
101
  isDisabled: previousDisabled,
102
102
  onFocusChange: setPreviousFocused
103
103
  },
@@ -26,7 +26,7 @@ function $parcel$interopDefault(a) {
26
26
 
27
27
 
28
28
  function $c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state) {
29
- let stringFormatter = (0, $g2t6q$useLocalizedStringFormatter)((0, ($parcel$interopDefault($g2t6q$intlStringsmodulejs))), "@react-aria/calendar");
29
+ let stringFormatter = (0, $g2t6q$useLocalizedStringFormatter)((0, ($parcel$interopDefault($g2t6q$intlStringsmodulejs))), '@react-aria/calendar');
30
30
  let domProps = (0, $g2t6q$filterDOMProps)(props);
31
31
  let title = (0, $a074e1e2d0f0a665$export$31afe65d91ef6e8)(state.visibleRange.start, state.visibleRange.end, state.timeZone, false);
32
32
  let visibleRangeDescription = (0, $a074e1e2d0f0a665$export$31afe65d91ef6e8)(state.visibleRange.start, state.visibleRange.end, state.timeZone, true);
@@ -40,7 +40,7 @@ function $c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state) {
40
40
  // Announce when the selected value changes
41
41
  let selectedDateDescription = (0, $a074e1e2d0f0a665$export$b6df97c887c38e1a)(state);
42
42
  (0, $g2t6q$useUpdateEffect)(()=>{
43
- if (selectedDateDescription) (0, $g2t6q$announce)(selectedDateDescription, "polite", 4000);
43
+ if (selectedDateDescription) (0, $g2t6q$announce)(selectedDateDescription, 'polite', 4000);
44
44
  // handle an update to the caption that describes the currently selected range, to announce the new value
45
45
  }, [
46
46
  selectedDateDescription
@@ -52,8 +52,8 @@ function $c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state) {
52
52
  ]);
53
53
  // Pass the label to the child grid elements.
54
54
  (0, $a074e1e2d0f0a665$export$653eddfc964b0f8a).set(state, {
55
- ariaLabel: props["aria-label"],
56
- ariaLabelledBy: props["aria-labelledby"],
55
+ ariaLabel: props['aria-label'],
56
+ ariaLabelledBy: props['aria-labelledby'],
57
57
  errorMessageId: errorMessageId,
58
58
  selectedDateDescription: selectedDateDescription
59
59
  });
@@ -71,27 +71,27 @@ function $c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state) {
71
71
  state.setFocused(true);
72
72
  }
73
73
  let labelProps = (0, $g2t6q$useLabels)({
74
- id: props["id"],
75
- "aria-label": [
76
- props["aria-label"],
74
+ id: props['id'],
75
+ 'aria-label': [
76
+ props['aria-label'],
77
77
  visibleRangeDescription
78
- ].filter(Boolean).join(", "),
79
- "aria-labelledby": props["aria-labelledby"]
78
+ ].filter(Boolean).join(', '),
79
+ 'aria-labelledby': props['aria-labelledby']
80
80
  });
81
81
  return {
82
82
  calendarProps: (0, $g2t6q$mergeProps)(domProps, labelProps, {
83
- role: "application",
84
- "aria-describedby": props["aria-describedby"] || undefined
83
+ role: 'application',
84
+ 'aria-describedby': props['aria-describedby'] || undefined
85
85
  }),
86
86
  nextButtonProps: {
87
87
  onPress: ()=>state.focusNextPage(),
88
- "aria-label": stringFormatter.format("next"),
88
+ 'aria-label': stringFormatter.format('next'),
89
89
  isDisabled: nextDisabled,
90
90
  onFocusChange: setNextFocused
91
91
  },
92
92
  prevButtonProps: {
93
93
  onPress: ()=>state.focusPreviousPage(),
94
- "aria-label": stringFormatter.format("previous"),
94
+ 'aria-label': stringFormatter.format('previous'),
95
95
  isDisabled: previousDisabled,
96
96
  onFocusChange: setPreviousFocused
97
97
  },
@@ -104,4 +104,4 @@ function $c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state) {
104
104
 
105
105
 
106
106
  export {$c4acc1de3ab169cf$export$d652b3ea2d672d5b as useCalendarBase};
107
- //# sourceMappingURL=useCalendarBase.mjs.map
107
+ //# sourceMappingURL=useCalendarBase.module.js.map
@@ -26,7 +26,7 @@ function $parcel$interopDefault(a) {
26
26
 
27
27
 
28
28
  function $c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state) {
29
- let stringFormatter = (0, $g2t6q$useLocalizedStringFormatter)((0, ($parcel$interopDefault($g2t6q$intlStringsmodulejs))), "@react-aria/calendar");
29
+ let stringFormatter = (0, $g2t6q$useLocalizedStringFormatter)((0, ($parcel$interopDefault($g2t6q$intlStringsmodulejs))), '@react-aria/calendar');
30
30
  let domProps = (0, $g2t6q$filterDOMProps)(props);
31
31
  let title = (0, $a074e1e2d0f0a665$export$31afe65d91ef6e8)(state.visibleRange.start, state.visibleRange.end, state.timeZone, false);
32
32
  let visibleRangeDescription = (0, $a074e1e2d0f0a665$export$31afe65d91ef6e8)(state.visibleRange.start, state.visibleRange.end, state.timeZone, true);
@@ -40,7 +40,7 @@ function $c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state) {
40
40
  // Announce when the selected value changes
41
41
  let selectedDateDescription = (0, $a074e1e2d0f0a665$export$b6df97c887c38e1a)(state);
42
42
  (0, $g2t6q$useUpdateEffect)(()=>{
43
- if (selectedDateDescription) (0, $g2t6q$announce)(selectedDateDescription, "polite", 4000);
43
+ if (selectedDateDescription) (0, $g2t6q$announce)(selectedDateDescription, 'polite', 4000);
44
44
  // handle an update to the caption that describes the currently selected range, to announce the new value
45
45
  }, [
46
46
  selectedDateDescription
@@ -52,8 +52,8 @@ function $c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state) {
52
52
  ]);
53
53
  // Pass the label to the child grid elements.
54
54
  (0, $a074e1e2d0f0a665$export$653eddfc964b0f8a).set(state, {
55
- ariaLabel: props["aria-label"],
56
- ariaLabelledBy: props["aria-labelledby"],
55
+ ariaLabel: props['aria-label'],
56
+ ariaLabelledBy: props['aria-labelledby'],
57
57
  errorMessageId: errorMessageId,
58
58
  selectedDateDescription: selectedDateDescription
59
59
  });
@@ -71,27 +71,27 @@ function $c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state) {
71
71
  state.setFocused(true);
72
72
  }
73
73
  let labelProps = (0, $g2t6q$useLabels)({
74
- id: props["id"],
75
- "aria-label": [
76
- props["aria-label"],
74
+ id: props['id'],
75
+ 'aria-label': [
76
+ props['aria-label'],
77
77
  visibleRangeDescription
78
- ].filter(Boolean).join(", "),
79
- "aria-labelledby": props["aria-labelledby"]
78
+ ].filter(Boolean).join(', '),
79
+ 'aria-labelledby': props['aria-labelledby']
80
80
  });
81
81
  return {
82
82
  calendarProps: (0, $g2t6q$mergeProps)(domProps, labelProps, {
83
- role: "application",
84
- "aria-describedby": props["aria-describedby"] || undefined
83
+ role: 'application',
84
+ 'aria-describedby': props['aria-describedby'] || undefined
85
85
  }),
86
86
  nextButtonProps: {
87
87
  onPress: ()=>state.focusNextPage(),
88
- "aria-label": stringFormatter.format("next"),
88
+ 'aria-label': stringFormatter.format('next'),
89
89
  isDisabled: nextDisabled,
90
90
  onFocusChange: setNextFocused
91
91
  },
92
92
  prevButtonProps: {
93
93
  onPress: ()=>state.focusPreviousPage(),
94
- "aria-label": stringFormatter.format("previous"),
94
+ 'aria-label': stringFormatter.format('previous'),
95
95
  isDisabled: previousDisabled,
96
96
  onFocusChange: setPreviousFocused
97
97
  },