@react-aria/calendar 3.5.7 → 3.5.9

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 (60) 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/types.d.ts +3 -4
  34. package/dist/types.d.ts.map +1 -1
  35. package/dist/uk-UA.mjs +1 -1
  36. package/dist/useCalendar.mjs +1 -1
  37. package/dist/useCalendarBase.main.js +13 -13
  38. package/dist/useCalendarBase.mjs +14 -14
  39. package/dist/useCalendarBase.module.js +13 -13
  40. package/dist/useCalendarCell.main.js +41 -41
  41. package/dist/useCalendarCell.main.js.map +1 -1
  42. package/dist/useCalendarCell.mjs +42 -42
  43. package/dist/useCalendarCell.module.js +41 -41
  44. package/dist/useCalendarCell.module.js.map +1 -1
  45. package/dist/useCalendarGrid.main.js +23 -23
  46. package/dist/useCalendarGrid.mjs +24 -24
  47. package/dist/useCalendarGrid.module.js +23 -23
  48. package/dist/useRangeCalendar.main.js +5 -5
  49. package/dist/useRangeCalendar.main.js.map +1 -1
  50. package/dist/useRangeCalendar.mjs +6 -6
  51. package/dist/useRangeCalendar.module.js +5 -5
  52. package/dist/useRangeCalendar.module.js.map +1 -1
  53. package/dist/utils.main.js +22 -22
  54. package/dist/utils.mjs +23 -23
  55. package/dist/utils.module.js +22 -22
  56. package/dist/zh-CN.mjs +1 -1
  57. package/dist/zh-TW.mjs +1 -1
  58. package/package.json +13 -13
  59. package/src/useCalendarCell.ts +3 -3
  60. package/src/useRangeCalendar.ts +3 -3
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/types.d.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  import { AriaButtonProps } from "@react-types/button";
2
- import { DOMAttributes, FocusableElement } from "@react-types/shared";
2
+ import { DOMAttributes, FocusableElement, RefObject } from "@react-types/shared";
3
3
  import { AriaCalendarProps, DateValue, AriaRangeCalendarProps } from "@react-types/calendar";
4
4
  import { CalendarState, RangeCalendarState } from "@react-stately/calendar";
5
- import { RefObject } from "react";
6
5
  import { CalendarDate } from "@internationalized/date";
7
6
  export interface CalendarAria {
8
7
  /** Props for the calendar grouping element. */
@@ -25,7 +24,7 @@ export function useCalendar<T extends DateValue>(props: AriaCalendarProps<T>, st
25
24
  * Provides the behavior and accessibility implementation for a range calendar component.
26
25
  * A range calendar displays one or more date grids and allows users to select a contiguous range of dates.
27
26
  */
28
- export function useRangeCalendar<T extends DateValue>(props: AriaRangeCalendarProps<T>, state: RangeCalendarState, ref: RefObject<FocusableElement>): CalendarAria;
27
+ export function useRangeCalendar<T extends DateValue>(props: AriaRangeCalendarProps<T>, state: RangeCalendarState, ref: RefObject<FocusableElement | null>): CalendarAria;
29
28
  export interface AriaCalendarGridProps {
30
29
  /**
31
30
  * The first date displayed in the calendar grid.
@@ -109,7 +108,7 @@ export interface CalendarCellAria {
109
108
  * Provides the behavior and accessibility implementation for a calendar cell component.
110
109
  * A calendar cell displays a date cell within a calendar grid which can be selected by the user.
111
110
  */
112
- export function useCalendarCell(props: AriaCalendarCellProps, state: CalendarState | RangeCalendarState, ref: RefObject<HTMLElement>): CalendarCellAria;
111
+ export function useCalendarCell(props: AriaCalendarCellProps, state: CalendarState | RangeCalendarState, ref: RefObject<HTMLElement | null>): CalendarCellAria;
113
112
  export type { AriaCalendarProps, AriaRangeCalendarProps, CalendarProps, DateValue, RangeCalendarProps } from '@react-types/calendar';
114
113
 
115
114
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"mappings":";;;;;;ACwBA;IACE,+CAA+C;IAC/C,aAAa,EAAE,aAAa,CAAC;IAC7B,iCAAiC;IACjC,eAAe,EAAE,eAAe,CAAC;IACjC,qCAAqC;IACrC,eAAe,EAAE,eAAe,CAAC;IACjC,mDAAmD;IACnD,iBAAiB,EAAE,aAAa,CAAC;IACjC,8EAA8E;IAC9E,KAAK,EAAE,MAAM,CAAA;CACd;ACnBD;;;GAGG;AACH,4BAA4B,CAAC,SAAS,SAAS,EAAE,KAAK,EAAE,kBAAkB,CAAC,CAAC,EAAE,KAAK,EAAE,aAAa,GAAG,YAAY,CAEhH;ACHD;;;GAGG;AACH,iCAAiC,CAAC,SAAS,SAAS,EAAE,KAAK,EAAE,uBAAuB,CAAC,CAAC,EAAE,KAAK,EAAE,kBAAkB,EAAE,GAAG,EAAE,UAAU,gBAAgB,CAAC,GAAG,YAAY,CA0DjK;AC7DD;IACE;;;;OAIG;IACH,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB;;;;OAIG;IACH,YAAY,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;CAC3C;AAED;IACE,wDAAwD;IACxD,SAAS,EAAE,aAAa,CAAC;IACzB,0DAA0D;IAC1D,WAAW,EAAE,aAAa,CAAC;IAC3B,2GAA2G;IAC3G,QAAQ,EAAE,MAAM,EAAE,CAAA;CACnB;AAED;;;;GAIG;AACH,gCAAgC,KAAK,EAAE,qBAAqB,EAAE,KAAK,EAAE,aAAa,GAAG,kBAAkB,GAAG,gBAAgB,CA6GzH;AC7ID;IACE,0CAA0C;IAC1C,IAAI,EAAE,YAAY,CAAC;IACnB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED;IACE,qDAAqD;IACrD,SAAS,EAAE,aAAa,CAAC;IACzB,oDAAoD;IACpD,WAAW,EAAE,aAAa,CAAC;IAC3B,mDAAmD;IACnD,SAAS,EAAE,OAAO,CAAC;IACnB,oCAAoC;IACpC,UAAU,EAAE,OAAO,CAAC;IACpB,mCAAmC;IACnC,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;;;;;;OAOG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,qBAAqB,EAAE,OAAO,CAAC;IAC/B,wDAAwD;IACxD,SAAS,EAAE,OAAO,CAAC;IACnB,gEAAgE;IAChE,aAAa,EAAE,MAAM,CAAA;CACtB;AAED;;;GAGG;AACH,gCAAgC,KAAK,EAAE,qBAAqB,EAAE,KAAK,EAAE,aAAa,GAAG,kBAAkB,EAAE,GAAG,EAAE,UAAU,WAAW,CAAC,GAAG,gBAAgB,CAsRtJ;AC/UD,YAAY,EAAC,iBAAiB,EAAE,sBAAsB,EAAE,aAAa,EAAE,SAAS,EAAE,kBAAkB,EAAC,MAAM,uBAAuB,CAAC","sources":["packages/@react-aria/calendar/src/packages/@react-aria/calendar/src/utils.ts","packages/@react-aria/calendar/src/packages/@react-aria/calendar/src/useCalendarBase.ts","packages/@react-aria/calendar/src/packages/@react-aria/calendar/src/useCalendar.ts","packages/@react-aria/calendar/src/packages/@react-aria/calendar/src/useRangeCalendar.ts","packages/@react-aria/calendar/src/packages/@react-aria/calendar/src/useCalendarGrid.ts","packages/@react-aria/calendar/src/packages/@react-aria/calendar/src/useCalendarCell.ts","packages/@react-aria/calendar/src/packages/@react-aria/calendar/src/index.ts","packages/@react-aria/calendar/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nexport {useCalendar} from './useCalendar';\nexport {useRangeCalendar} from './useRangeCalendar';\nexport {useCalendarGrid} from './useCalendarGrid';\nexport {useCalendarCell} from './useCalendarCell';\n\nexport type {AriaCalendarProps, AriaRangeCalendarProps, CalendarProps, DateValue, RangeCalendarProps} from '@react-types/calendar';\nexport type {CalendarAria} from './useCalendarBase';\nexport type {AriaCalendarGridProps, CalendarGridAria} from './useCalendarGrid';\nexport type {AriaCalendarCellProps, CalendarCellAria} from './useCalendarCell';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
1
+ {"mappings":";;;;;ACwBA;IACE,+CAA+C;IAC/C,aAAa,EAAE,aAAa,CAAC;IAC7B,iCAAiC;IACjC,eAAe,EAAE,eAAe,CAAC;IACjC,qCAAqC;IACrC,eAAe,EAAE,eAAe,CAAC;IACjC,mDAAmD;IACnD,iBAAiB,EAAE,aAAa,CAAC;IACjC,8EAA8E;IAC9E,KAAK,EAAE,MAAM,CAAA;CACd;ACnBD;;;GAGG;AACH,4BAA4B,CAAC,SAAS,SAAS,EAAE,KAAK,EAAE,kBAAkB,CAAC,CAAC,EAAE,KAAK,EAAE,aAAa,GAAG,YAAY,CAEhH;ACHD;;;GAGG;AACH,iCAAiC,CAAC,SAAS,SAAS,EAAE,KAAK,EAAE,uBAAuB,CAAC,CAAC,EAAE,KAAK,EAAE,kBAAkB,EAAE,GAAG,EAAE,UAAU,gBAAgB,GAAG,IAAI,CAAC,GAAG,YAAY,CA0DxK;AC7DD;IACE;;;;OAIG;IACH,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB;;;;OAIG;IACH,YAAY,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;CAC3C;AAED;IACE,wDAAwD;IACxD,SAAS,EAAE,aAAa,CAAC;IACzB,0DAA0D;IAC1D,WAAW,EAAE,aAAa,CAAC;IAC3B,2GAA2G;IAC3G,QAAQ,EAAE,MAAM,EAAE,CAAA;CACnB;AAED;;;;GAIG;AACH,gCAAgC,KAAK,EAAE,qBAAqB,EAAE,KAAK,EAAE,aAAa,GAAG,kBAAkB,GAAG,gBAAgB,CA6GzH;AC7ID;IACE,0CAA0C;IAC1C,IAAI,EAAE,YAAY,CAAC;IACnB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED;IACE,qDAAqD;IACrD,SAAS,EAAE,aAAa,CAAC;IACzB,oDAAoD;IACpD,WAAW,EAAE,aAAa,CAAC;IAC3B,mDAAmD;IACnD,SAAS,EAAE,OAAO,CAAC;IACnB,oCAAoC;IACpC,UAAU,EAAE,OAAO,CAAC;IACpB,mCAAmC;IACnC,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;;;;;;OAOG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,qBAAqB,EAAE,OAAO,CAAC;IAC/B,wDAAwD;IACxD,SAAS,EAAE,OAAO,CAAC;IACnB,gEAAgE;IAChE,aAAa,EAAE,MAAM,CAAA;CACtB;AAED;;;GAGG;AACH,gCAAgC,KAAK,EAAE,qBAAqB,EAAE,KAAK,EAAE,aAAa,GAAG,kBAAkB,EAAE,GAAG,EAAE,UAAU,WAAW,GAAG,IAAI,CAAC,GAAG,gBAAgB,CAsR7J;AC/UD,YAAY,EAAC,iBAAiB,EAAE,sBAAsB,EAAE,aAAa,EAAE,SAAS,EAAE,kBAAkB,EAAC,MAAM,uBAAuB,CAAC","sources":["packages/@react-aria/calendar/src/packages/@react-aria/calendar/src/utils.ts","packages/@react-aria/calendar/src/packages/@react-aria/calendar/src/useCalendarBase.ts","packages/@react-aria/calendar/src/packages/@react-aria/calendar/src/useCalendar.ts","packages/@react-aria/calendar/src/packages/@react-aria/calendar/src/useRangeCalendar.ts","packages/@react-aria/calendar/src/packages/@react-aria/calendar/src/useCalendarGrid.ts","packages/@react-aria/calendar/src/packages/@react-aria/calendar/src/useCalendarCell.ts","packages/@react-aria/calendar/src/packages/@react-aria/calendar/src/index.ts","packages/@react-aria/calendar/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nexport {useCalendar} from './useCalendar';\nexport {useRangeCalendar} from './useRangeCalendar';\nexport {useCalendarGrid} from './useCalendarGrid';\nexport {useCalendarCell} from './useCalendarCell';\n\nexport type {AriaCalendarProps, AriaRangeCalendarProps, CalendarProps, DateValue, RangeCalendarProps} from '@react-types/calendar';\nexport type {CalendarAria} from './useCalendarBase';\nexport type {AriaCalendarGridProps, CalendarGridAria} from './useCalendarGrid';\nexport type {AriaCalendarCellProps, CalendarCellAria} from './useCalendarCell';\n"],"names":[],"version":3,"file":"types.d.ts.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
  },