@fluentui/react-datepicker-compat 0.3.6 → 0.3.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 (173) hide show
  1. package/CHANGELOG.json +145 -1
  2. package/CHANGELOG.md +39 -2
  3. package/lib/components/Calendar/Calendar.js +9 -7
  4. package/lib/components/Calendar/Calendar.js.map +1 -1
  5. package/lib/components/Calendar/useCalendarStyles.styles.js.map +1 -1
  6. package/lib/components/CalendarDay/CalendarDay.js +8 -11
  7. package/lib/components/CalendarDay/CalendarDay.js.map +1 -1
  8. package/lib/components/CalendarDay/useCalendarDayStyles.styles.js.map +1 -1
  9. package/lib/components/CalendarDayGrid/CalendarDayGrid.js +8 -10
  10. package/lib/components/CalendarDayGrid/CalendarDayGrid.js.map +1 -1
  11. package/lib/components/CalendarDayGrid/CalendarGridDayCell.js +8 -5
  12. package/lib/components/CalendarDayGrid/CalendarGridDayCell.js.map +1 -1
  13. package/lib/components/CalendarDayGrid/CalendarGridRow.js +1 -1
  14. package/lib/components/CalendarDayGrid/CalendarGridRow.js.map +1 -1
  15. package/lib/components/CalendarDayGrid/CalendarMonthHeaderRow.js +1 -1
  16. package/lib/components/CalendarDayGrid/CalendarMonthHeaderRow.js.map +1 -1
  17. package/lib/components/CalendarDayGrid/useCalendarDayGridStyles.styles.js.map +1 -1
  18. package/lib/components/CalendarDayGrid/useWeekCornerStyles.styles.js.map +1 -1
  19. package/lib/components/CalendarDayGrid/useWeeks.js +4 -3
  20. package/lib/components/CalendarDayGrid/useWeeks.js.map +1 -1
  21. package/lib/components/CalendarMonth/CalendarMonth.js +10 -8
  22. package/lib/components/CalendarMonth/CalendarMonth.js.map +1 -1
  23. package/lib/components/CalendarMonth/useCalendarMonthStyles.js.map +1 -1
  24. package/lib/components/CalendarPicker/useCalendarPickerStyles.styles.js.map +1 -1
  25. package/lib/components/CalendarYear/CalendarYear.js +38 -39
  26. package/lib/components/CalendarYear/CalendarYear.js.map +1 -1
  27. package/lib/components/DatePicker/DatePicker.js.map +1 -1
  28. package/lib/components/DatePicker/renderDatePicker.js +15 -6
  29. package/lib/components/DatePicker/renderDatePicker.js.map +1 -1
  30. package/lib/components/DatePicker/useDatePicker.js +18 -13
  31. package/lib/components/DatePicker/useDatePicker.js.map +1 -1
  32. package/lib/components/DatePicker/useDatePickerStyles.styles.js.map +1 -1
  33. package/lib/utils/dateGrid/findAvailableDate.js +1 -1
  34. package/lib/utils/dateGrid/findAvailableDate.js.map +1 -1
  35. package/lib/utils/dateGrid/getBoundedDateRange.js.map +1 -1
  36. package/lib/utils/dateGrid/getDateRangeTypeToUse.js.map +1 -1
  37. package/lib/utils/dateGrid/getDayGrid.js +3 -2
  38. package/lib/utils/dateGrid/getDayGrid.js.map +1 -1
  39. package/lib/utils/dateGrid/isAfterMaxDate.js +1 -1
  40. package/lib/utils/dateGrid/isAfterMaxDate.js.map +1 -1
  41. package/lib/utils/dateGrid/isBeforeMinDate.js +1 -1
  42. package/lib/utils/dateGrid/isBeforeMinDate.js.map +1 -1
  43. package/lib/utils/dateGrid/isContiguous.js.map +1 -1
  44. package/lib/utils/dateGrid/isRestrictedDate.js +1 -1
  45. package/lib/utils/dateGrid/isRestrictedDate.js.map +1 -1
  46. package/lib/utils/dateMath/dateMath.js.map +1 -1
  47. package/lib/utils/dom.js.map +1 -1
  48. package/lib/utils/focus.js.map +1 -1
  49. package/lib/utils/usePopupPositioning.js +2 -2
  50. package/lib/utils/usePopupPositioning.js.map +1 -1
  51. package/lib-commonjs/Calendar.js +2 -2
  52. package/lib-commonjs/Calendar.js.map +1 -1
  53. package/lib-commonjs/CalendarDay.js +2 -2
  54. package/lib-commonjs/CalendarDay.js.map +1 -1
  55. package/lib-commonjs/CalendarDayGrid.js +2 -2
  56. package/lib-commonjs/CalendarDayGrid.js.map +1 -1
  57. package/lib-commonjs/CalendarMonth.js +2 -2
  58. package/lib-commonjs/CalendarMonth.js.map +1 -1
  59. package/lib-commonjs/CalendarPicker.js +2 -2
  60. package/lib-commonjs/CalendarPicker.js.map +1 -1
  61. package/lib-commonjs/CalendarYear.js +2 -2
  62. package/lib-commonjs/CalendarYear.js.map +1 -1
  63. package/lib-commonjs/DatePicker.js +2 -2
  64. package/lib-commonjs/DatePicker.js.map +1 -1
  65. package/lib-commonjs/components/Calendar/Calendar.js +32 -28
  66. package/lib-commonjs/components/Calendar/Calendar.js.map +1 -1
  67. package/lib-commonjs/components/Calendar/Calendar.types.js +5 -3
  68. package/lib-commonjs/components/Calendar/Calendar.types.js.map +1 -1
  69. package/lib-commonjs/components/Calendar/defaults.js +3 -1
  70. package/lib-commonjs/components/Calendar/defaults.js.map +1 -1
  71. package/lib-commonjs/components/Calendar/index.js +7 -5
  72. package/lib-commonjs/components/Calendar/index.js.map +1 -1
  73. package/lib-commonjs/components/Calendar/useCalendarStyles.styles.js +12 -8
  74. package/lib-commonjs/components/Calendar/useCalendarStyles.styles.js.map +1 -1
  75. package/lib-commonjs/components/CalendarDay/CalendarDay.js +25 -26
  76. package/lib-commonjs/components/CalendarDay/CalendarDay.js.map +1 -1
  77. package/lib-commonjs/components/CalendarDay/CalendarDay.types.js +2 -2
  78. package/lib-commonjs/components/CalendarDay/CalendarDay.types.js.map +1 -1
  79. package/lib-commonjs/components/CalendarDay/index.js +4 -4
  80. package/lib-commonjs/components/CalendarDay/index.js.map +1 -1
  81. package/lib-commonjs/components/CalendarDay/useCalendarDayStyles.styles.js +13 -9
  82. package/lib-commonjs/components/CalendarDay/useCalendarDayStyles.styles.js.map +1 -1
  83. package/lib-commonjs/components/CalendarDayGrid/CalendarDayGrid.js +27 -27
  84. package/lib-commonjs/components/CalendarDayGrid/CalendarDayGrid.js.map +1 -1
  85. package/lib-commonjs/components/CalendarDayGrid/CalendarDayGrid.types.js +2 -2
  86. package/lib-commonjs/components/CalendarDayGrid/CalendarDayGrid.types.js.map +1 -1
  87. package/lib-commonjs/components/CalendarDayGrid/CalendarGridDayCell.js +29 -24
  88. package/lib-commonjs/components/CalendarDayGrid/CalendarGridDayCell.js.map +1 -1
  89. package/lib-commonjs/components/CalendarDayGrid/CalendarGridRow.js +8 -6
  90. package/lib-commonjs/components/CalendarDayGrid/CalendarGridRow.js.map +1 -1
  91. package/lib-commonjs/components/CalendarDayGrid/CalendarMonthHeaderRow.js +6 -4
  92. package/lib-commonjs/components/CalendarDayGrid/CalendarMonthHeaderRow.js.map +1 -1
  93. package/lib-commonjs/components/CalendarDayGrid/index.js +10 -6
  94. package/lib-commonjs/components/CalendarDayGrid/index.js.map +1 -1
  95. package/lib-commonjs/components/CalendarDayGrid/useCalendarDayGridStyles.styles.js +29 -23
  96. package/lib-commonjs/components/CalendarDayGrid/useCalendarDayGridStyles.styles.js.map +1 -1
  97. package/lib-commonjs/components/CalendarDayGrid/useWeekCornerStyles.styles.js +9 -5
  98. package/lib-commonjs/components/CalendarDayGrid/useWeekCornerStyles.styles.js.map +1 -1
  99. package/lib-commonjs/components/CalendarDayGrid/useWeeks.js +9 -6
  100. package/lib-commonjs/components/CalendarDayGrid/useWeeks.js.map +1 -1
  101. package/lib-commonjs/components/CalendarMonth/CalendarMonth.js +24 -21
  102. package/lib-commonjs/components/CalendarMonth/CalendarMonth.js.map +1 -1
  103. package/lib-commonjs/components/CalendarMonth/CalendarMonth.types.js +2 -2
  104. package/lib-commonjs/components/CalendarMonth/CalendarMonth.types.js.map +1 -1
  105. package/lib-commonjs/components/CalendarMonth/index.js +4 -4
  106. package/lib-commonjs/components/CalendarMonth/index.js.map +1 -1
  107. package/lib-commonjs/components/CalendarMonth/useCalendarMonthStyles.js +5 -3
  108. package/lib-commonjs/components/CalendarMonth/useCalendarMonthStyles.js.map +1 -1
  109. package/lib-commonjs/components/CalendarPicker/index.js +3 -3
  110. package/lib-commonjs/components/CalendarPicker/index.js.map +1 -1
  111. package/lib-commonjs/components/CalendarPicker/useCalendarPickerStyles.styles.js +20 -16
  112. package/lib-commonjs/components/CalendarPicker/useCalendarPickerStyles.styles.js.map +1 -1
  113. package/lib-commonjs/components/CalendarYear/CalendarYear.js +60 -59
  114. package/lib-commonjs/components/CalendarYear/CalendarYear.js.map +1 -1
  115. package/lib-commonjs/components/CalendarYear/CalendarYear.types.js +2 -2
  116. package/lib-commonjs/components/CalendarYear/CalendarYear.types.js.map +1 -1
  117. package/lib-commonjs/components/CalendarYear/index.js +4 -4
  118. package/lib-commonjs/components/CalendarYear/index.js.map +1 -1
  119. package/lib-commonjs/components/CalendarYear/useCalendarYearStyles.styles.js +5 -3
  120. package/lib-commonjs/components/CalendarYear/useCalendarYearStyles.styles.js.map +1 -1
  121. package/lib-commonjs/components/DatePicker/DatePicker.js +7 -5
  122. package/lib-commonjs/components/DatePicker/DatePicker.js.map +1 -1
  123. package/lib-commonjs/components/DatePicker/defaults.js +6 -2
  124. package/lib-commonjs/components/DatePicker/defaults.js.map +1 -1
  125. package/lib-commonjs/components/DatePicker/index.js +7 -7
  126. package/lib-commonjs/components/DatePicker/index.js.map +1 -1
  127. package/lib-commonjs/components/DatePicker/renderDatePicker.js +22 -12
  128. package/lib-commonjs/components/DatePicker/renderDatePicker.js.map +1 -1
  129. package/lib-commonjs/components/DatePicker/useDatePicker.js +59 -52
  130. package/lib-commonjs/components/DatePicker/useDatePicker.js.map +1 -1
  131. package/lib-commonjs/components/DatePicker/useDatePickerStyles.styles.js +9 -5
  132. package/lib-commonjs/components/DatePicker/useDatePickerStyles.styles.js.map +1 -1
  133. package/lib-commonjs/index.js +98 -34
  134. package/lib-commonjs/index.js.map +1 -1
  135. package/lib-commonjs/utils/animations.js +45 -15
  136. package/lib-commonjs/utils/animations.js.map +1 -1
  137. package/lib-commonjs/utils/constants.js +18 -6
  138. package/lib-commonjs/utils/constants.js.map +1 -1
  139. package/lib-commonjs/utils/dateFormatting/dateFormatting.defaults.js +24 -8
  140. package/lib-commonjs/utils/dateFormatting/dateFormatting.defaults.js.map +1 -1
  141. package/lib-commonjs/utils/dateFormatting/index.js +3 -3
  142. package/lib-commonjs/utils/dateFormatting/index.js.map +1 -1
  143. package/lib-commonjs/utils/dateGrid/findAvailableDate.js +4 -2
  144. package/lib-commonjs/utils/dateGrid/findAvailableDate.js.map +1 -1
  145. package/lib-commonjs/utils/dateGrid/getBoundedDateRange.js +3 -1
  146. package/lib-commonjs/utils/dateGrid/getBoundedDateRange.js.map +1 -1
  147. package/lib-commonjs/utils/dateGrid/getDateRangeTypeToUse.js +3 -1
  148. package/lib-commonjs/utils/dateGrid/getDateRangeTypeToUse.js.map +1 -1
  149. package/lib-commonjs/utils/dateGrid/getDayGrid.js +6 -3
  150. package/lib-commonjs/utils/dateGrid/getDayGrid.js.map +1 -1
  151. package/lib-commonjs/utils/dateGrid/index.js +6 -6
  152. package/lib-commonjs/utils/dateGrid/index.js.map +1 -1
  153. package/lib-commonjs/utils/dateGrid/isAfterMaxDate.js +4 -2
  154. package/lib-commonjs/utils/dateGrid/isAfterMaxDate.js.map +1 -1
  155. package/lib-commonjs/utils/dateGrid/isBeforeMinDate.js +4 -2
  156. package/lib-commonjs/utils/dateGrid/isBeforeMinDate.js.map +1 -1
  157. package/lib-commonjs/utils/dateGrid/isContiguous.js +3 -1
  158. package/lib-commonjs/utils/dateGrid/isContiguous.js.map +1 -1
  159. package/lib-commonjs/utils/dateGrid/isRestrictedDate.js +4 -2
  160. package/lib-commonjs/utils/dateGrid/isRestrictedDate.js.map +1 -1
  161. package/lib-commonjs/utils/dateMath/dateMath.js +54 -18
  162. package/lib-commonjs/utils/dateMath/dateMath.js.map +1 -1
  163. package/lib-commonjs/utils/dateMath/index.js +2 -2
  164. package/lib-commonjs/utils/dateMath/index.js.map +1 -1
  165. package/lib-commonjs/utils/dom.js +5 -3
  166. package/lib-commonjs/utils/dom.js.map +1 -1
  167. package/lib-commonjs/utils/focus.js +3 -1
  168. package/lib-commonjs/utils/focus.js.map +1 -1
  169. package/lib-commonjs/utils/index.js +8 -8
  170. package/lib-commonjs/utils/index.js.map +1 -1
  171. package/lib-commonjs/utils/usePopupPositioning.js +9 -7
  172. package/lib-commonjs/utils/usePopupPositioning.js.map +1 -1
  173. package/package.json +17 -17
@@ -9,12 +9,18 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- calendarDayGridClassNames: ()=>calendarDayGridClassNames,
13
- extraCalendarDayGridClassNames: ()=>extraCalendarDayGridClassNames,
14
- useCalendarDayGridStyles_unstable: ()=>useCalendarDayGridStyles_unstable
12
+ calendarDayGridClassNames: function() {
13
+ return calendarDayGridClassNames;
14
+ },
15
+ extraCalendarDayGridClassNames: function() {
16
+ return extraCalendarDayGridClassNames;
17
+ },
18
+ useCalendarDayGridStyles_unstable: function() {
19
+ return useCalendarDayGridStyles_unstable;
20
+ }
15
21
  });
16
22
  const _react = require("@griffel/react");
17
- const _calendarTypes = require("../Calendar/Calendar.types");
23
+ const _Calendartypes = require("../Calendar/Calendar.types");
18
24
  const calendarDayGridClassNames = {
19
25
  wrapper: 'fui-CalendarDayGrid__wrapper',
20
26
  table: 'fui-CalendarDayGrid__table',
@@ -35,7 +41,7 @@ const extraCalendarDayGridClassNames = {
35
41
  hoverStyle: 'fui-CalendarDayGrid__hoverStyle',
36
42
  pressedStyle: 'fui-CalendarDayGrid__pressedStyle'
37
43
  };
38
- const useWrapperStyles = /*#__PURE__*/ (0, _react["__styles"])({
44
+ const useWrapperStyles = /*#__PURE__*/ (0, _react.__styles)({
39
45
  base: {
40
46
  Byoj8tv: "f1fow5ox"
41
47
  }
@@ -44,7 +50,7 @@ const useWrapperStyles = /*#__PURE__*/ (0, _react["__styles"])({
44
50
  ".f1fow5ox{padding-bottom:10px;}"
45
51
  ]
46
52
  });
47
- const useTableStyles = /*#__PURE__*/ (0, _react["__styles"])({
53
+ const useTableStyles = /*#__PURE__*/ (0, _react.__styles)({
48
54
  base: {
49
55
  po53p8: "fgkb47j",
50
56
  Bxjg3zr: "f16vktn6",
@@ -73,7 +79,7 @@ const useTableStyles = /*#__PURE__*/ (0, _react["__styles"])({
73
79
  ".fl524qk{width:226px;}"
74
80
  ]
75
81
  });
76
- const useDayCellStyles = /*#__PURE__*/ (0, _react["__styles"])({
82
+ const useDayCellStyles = /*#__PURE__*/ (0, _react.__styles)({
77
83
  base: {
78
84
  sj55zd: "f19n0e5",
79
85
  Bceei9c: "f1k6fduh",
@@ -232,7 +238,7 @@ const useDayCellStyles = /*#__PURE__*/ (0, _react["__styles"])({
232
238
  ]
233
239
  ]
234
240
  });
235
- const useDaySelectedStyles = /*#__PURE__*/ (0, _react["__styles"])({
241
+ const useDaySelectedStyles = /*#__PURE__*/ (0, _react.__styles)({
236
242
  base: {
237
243
  De3pzq: "f1vevd59",
238
244
  sj55zd: "ff5vbop",
@@ -321,7 +327,7 @@ const useDaySelectedStyles = /*#__PURE__*/ (0, _react["__styles"])({
321
327
  ".fq0dbue:hover,.fq0dbue.fui-CalendarDayGrid__hoverStyle,.fq0dbue.fui-CalendarDayGrid__pressedStyle{background-color:var(--colorBrandBackgroundInvertedSelected);}"
322
328
  ]
323
329
  });
324
- const useWeekRowStyles = /*#__PURE__*/ (0, _react["__styles"])({
330
+ const useWeekRowStyles = /*#__PURE__*/ (0, _react.__styles)({
325
331
  base: {
326
332
  vin17d: "f5f2jbu",
327
333
  Bf5fcs: "fywypte",
@@ -363,7 +369,7 @@ const useWeekRowStyles = /*#__PURE__*/ (0, _react["__styles"])({
363
369
  "@keyframes funtx0y{from{pointer-events:none;transform:translate3d(0, 20px, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}"
364
370
  ]
365
371
  });
366
- const useWeekDayLabelCellStyles = /*#__PURE__*/ (0, _react["__styles"])({
372
+ const useWeekDayLabelCellStyles = /*#__PURE__*/ (0, _react.__styles)({
367
373
  base: {
368
374
  vin17d: "fhsqnsn",
369
375
  Bf5fcs: "fywypte",
@@ -381,7 +387,7 @@ const useWeekDayLabelCellStyles = /*#__PURE__*/ (0, _react["__styles"])({
381
387
  "@keyframes f5j8bii{from{opacity:0;}to{opacity:1;}}"
382
388
  ]
383
389
  });
384
- const useWeekNumberCellStyles = /*#__PURE__*/ (0, _react["__styles"])({
390
+ const useWeekNumberCellStyles = /*#__PURE__*/ (0, _react.__styles)({
385
391
  base: {
386
392
  De3pzq: "f1c21dwh",
387
393
  g2u3we: "f68mrw8",
@@ -456,7 +462,7 @@ const useWeekNumberCellStyles = /*#__PURE__*/ (0, _react["__styles"])({
456
462
  ".f1w9dchk{width:28px;}"
457
463
  ]
458
464
  });
459
- const useDayOutsideBoundsStyles = /*#__PURE__*/ (0, _react["__styles"])({
465
+ const useDayOutsideBoundsStyles = /*#__PURE__*/ (0, _react.__styles)({
460
466
  base: {
461
467
  x734em: "f1v4z6xg",
462
468
  B0ssf13: "f1u9q7oh",
@@ -478,7 +484,7 @@ const useDayOutsideBoundsStyles = /*#__PURE__*/ (0, _react["__styles"])({
478
484
  ]
479
485
  ]
480
486
  });
481
- const useDayOutsideNavigatedMonthStyles = /*#__PURE__*/ (0, _react["__styles"])({
487
+ const useDayOutsideNavigatedMonthStyles = /*#__PURE__*/ (0, _react.__styles)({
482
488
  lightenDaysOutsideNavigatedMonth: {
483
489
  sj55zd: "fxc4j92",
484
490
  Bhrd7zp: "figsok6",
@@ -498,7 +504,7 @@ const useDayOutsideNavigatedMonthStyles = /*#__PURE__*/ (0, _react["__styles"])(
498
504
  ]
499
505
  ]
500
506
  });
501
- const useDayButtonStyles = /*#__PURE__*/ (0, _react["__styles"])({
507
+ const useDayButtonStyles = /*#__PURE__*/ (0, _react.__styles)({
502
508
  base: {
503
509
  De3pzq: "f1c21dwh",
504
510
  Bbmb7ep: [
@@ -577,7 +583,7 @@ const useDayButtonStyles = /*#__PURE__*/ (0, _react["__styles"])({
577
583
  ".f1dwpgx3span{line-height:inherit;}"
578
584
  ]
579
585
  });
580
- const useDayIsTodayStyles = /*#__PURE__*/ (0, _react["__styles"])({
586
+ const useDayIsTodayStyles = /*#__PURE__*/ (0, _react.__styles)({
581
587
  base: {
582
588
  De3pzq: "ffp7eso",
583
589
  Bbmb7ep: [
@@ -670,7 +676,7 @@ const useDayIsTodayStyles = /*#__PURE__*/ (0, _react["__styles"])({
670
676
  ]
671
677
  ]
672
678
  });
673
- const useFirstTransitionWeekStyles = /*#__PURE__*/ (0, _react["__styles"])({
679
+ const useFirstTransitionWeekStyles = /*#__PURE__*/ (0, _react.__styles)({
674
680
  base: {
675
681
  Bqenvij: "fniina8",
676
682
  abs64n: "fk73vx1",
@@ -704,7 +710,7 @@ const useFirstTransitionWeekStyles = /*#__PURE__*/ (0, _react["__styles"])({
704
710
  "@keyframes fhwv0sk{100%{height:0px;overflow-x:hidden;overflow-y:hidden;width:0px;}99.9%{height:28px;overflow-x:visible;overflow-y:visible;width:100%;}0%{height:28px;overflow-x:visible;overflow-y:visible;width:100%;}}"
705
711
  ]
706
712
  });
707
- const useLastTransitionWeekStyles = /*#__PURE__*/ (0, _react["__styles"])({
713
+ const useLastTransitionWeekStyles = /*#__PURE__*/ (0, _react.__styles)({
708
714
  base: {
709
715
  Bqenvij: "fniina8",
710
716
  B6of3ja: "flykjtj",
@@ -740,7 +746,7 @@ const useLastTransitionWeekStyles = /*#__PURE__*/ (0, _react["__styles"])({
740
746
  "@keyframes fhwv0sk{100%{height:0px;overflow-x:hidden;overflow-y:hidden;width:0px;}99.9%{height:28px;overflow-x:visible;overflow-y:visible;width:100%;}0%{height:28px;overflow-x:visible;overflow-y:visible;width:100%;}}"
741
747
  ]
742
748
  });
743
- const useDayMarkerStyles = /*#__PURE__*/ (0, _react["__styles"])({
749
+ const useDayMarkerStyles = /*#__PURE__*/ (0, _react.__styles)({
744
750
  base: {
745
751
  De3pzq: "fnggedw",
746
752
  Bbmb7ep: [
@@ -817,7 +823,7 @@ const useDayMarkerStyles = /*#__PURE__*/ (0, _react["__styles"])({
817
823
  ]
818
824
  ]
819
825
  });
820
- const useCornerBorderAndRadiusStyles = /*#__PURE__*/ (0, _react["__styles"])({
826
+ const useCornerBorderAndRadiusStyles = /*#__PURE__*/ (0, _react.__styles)({
821
827
  corners: {
822
828
  Cy64m2: [
823
829
  "fgk2v8v",
@@ -864,21 +870,21 @@ const useCalendarDayGridStyles_unstable = (props)=>{
864
870
  const lastTransitionWeekStyles = useLastTransitionWeekStyles();
865
871
  const dayMarkerStyles = useDayMarkerStyles();
866
872
  const cornerBorderAndRadiusStyles = useCornerBorderAndRadiusStyles();
867
- const { animateBackwards , animationDirection , lightenDaysOutsideNavigatedMonth , showWeekNumbers } = props;
873
+ const { animateBackwards, animationDirection, lightenDaysOutsideNavigatedMonth, showWeekNumbers } = props;
868
874
  return {
869
875
  wrapper: (0, _react.mergeClasses)(calendarDayGridClassNames.wrapper, wrapperStyles.base),
870
876
  table: (0, _react.mergeClasses)(calendarDayGridClassNames.table, tableStyles.base, showWeekNumbers && tableStyles.showWeekNumbers),
871
877
  dayCell: (0, _react.mergeClasses)(calendarDayGridClassNames.dayCell, dayCellStyles.base, cornerBorderAndRadiusStyles.corners),
872
878
  daySelected: (0, _react.mergeClasses)(calendarDayGridClassNames.daySelected, daySelectedStyles.base),
873
- weekRow: (0, _react.mergeClasses)(calendarDayGridClassNames.weekRow, animateBackwards !== undefined && weekRowStyles.base, animateBackwards !== undefined && (animationDirection === _calendarTypes.AnimationDirection.Horizontal ? animateBackwards ? weekRowStyles.horizontalBackward : weekRowStyles.horizontalForward : animateBackwards ? weekRowStyles.verticalBackward : weekRowStyles.verticalForward)),
879
+ weekRow: (0, _react.mergeClasses)(calendarDayGridClassNames.weekRow, animateBackwards !== undefined && weekRowStyles.base, animateBackwards !== undefined && (animationDirection === _Calendartypes.AnimationDirection.Horizontal ? animateBackwards ? weekRowStyles.horizontalBackward : weekRowStyles.horizontalForward : animateBackwards ? weekRowStyles.verticalBackward : weekRowStyles.verticalForward)),
874
880
  weekDayLabelCell: (0, _react.mergeClasses)(calendarDayGridClassNames.weekDayLabelCell, weekDayLabelCellStyles.base),
875
881
  weekNumberCell: (0, _react.mergeClasses)(calendarDayGridClassNames.weekNumberCell, weekNumberCellStyles.base),
876
882
  dayOutsideBounds: (0, _react.mergeClasses)(calendarDayGridClassNames.dayOutsideBounds, dayOutsideBoundsStyles.base),
877
883
  dayOutsideNavigatedMonth: (0, _react.mergeClasses)(calendarDayGridClassNames.dayOutsideNavigatedMonth, lightenDaysOutsideNavigatedMonth && dayOutsideNavigatedMonthStyles.lightenDaysOutsideNavigatedMonth),
878
884
  dayButton: (0, _react.mergeClasses)(calendarDayGridClassNames.dayButton, dayButtonStyles.base),
879
885
  dayIsToday: (0, _react.mergeClasses)(calendarDayGridClassNames.dayIsToday, dayIsTodayStyles.base),
880
- firstTransitionWeek: (0, _react.mergeClasses)(calendarDayGridClassNames.firstTransitionWeek, firstTransitionWeekStyles.base, animateBackwards !== undefined && animationDirection !== _calendarTypes.AnimationDirection.Horizontal && !animateBackwards && firstTransitionWeekStyles.verticalForward),
881
- lastTransitionWeek: (0, _react.mergeClasses)(calendarDayGridClassNames.lastTransitionWeek, lastTransitionWeekStyles.base, animateBackwards !== undefined && animationDirection !== _calendarTypes.AnimationDirection.Horizontal && animateBackwards && lastTransitionWeekStyles.verticalBackward),
886
+ firstTransitionWeek: (0, _react.mergeClasses)(calendarDayGridClassNames.firstTransitionWeek, firstTransitionWeekStyles.base, animateBackwards !== undefined && animationDirection !== _Calendartypes.AnimationDirection.Horizontal && !animateBackwards && firstTransitionWeekStyles.verticalForward),
887
+ lastTransitionWeek: (0, _react.mergeClasses)(calendarDayGridClassNames.lastTransitionWeek, lastTransitionWeekStyles.base, animateBackwards !== undefined && animationDirection !== _Calendartypes.AnimationDirection.Horizontal && animateBackwards && lastTransitionWeekStyles.verticalBackward),
882
888
  dayMarker: (0, _react.mergeClasses)(calendarDayGridClassNames.dayMarker, dayMarkerStyles.base)
883
889
  };
884
890
  }; //# sourceMappingURL=useCalendarDayGridStyles.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["useCalendarDayGridStyles.styles.js"],"sourcesContent":["import { tokens } from '@fluentui/react-theme';\nimport { __styles, mergeClasses, shorthands } from '@griffel/react';\nimport { DURATION_2, DURATION_3, EASING_FUNCTION_1, EASING_FUNCTION_2, FADE_IN, FADE_OUT, SLIDE_DOWN_IN20, SLIDE_DOWN_OUT20, SLIDE_LEFT_IN20, SLIDE_RIGHT_IN20, SLIDE_UP_IN20, SLIDE_UP_OUT20, TRANSITION_ROW_DISAPPEARANCE } from '../../utils';\nimport { AnimationDirection } from '../Calendar/Calendar.types';\nimport { weekCornersClassNames } from './useWeekCornerStyles.styles';\n/**\n * @internal\n */\nexport const calendarDayGridClassNames = {\n wrapper: 'fui-CalendarDayGrid__wrapper',\n table: 'fui-CalendarDayGrid__table',\n dayCell: 'fui-CalendarDayGrid__dayCell',\n daySelected: 'fui-CalendarDayGrid__daySelected',\n weekRow: 'fui-CalendarDayGrid__weekRow',\n weekDayLabelCell: 'fui-CalendarDayGrid__weekDayLabelCell',\n weekNumberCell: 'fui-CalendarDayGrid__weekNumberCell',\n dayOutsideBounds: 'fui-CalendarDayGrid__dayOutsideBounds',\n dayOutsideNavigatedMonth: 'fui-CalendarDayGrid__dayOutsideNavigatedMonth',\n dayButton: 'fui-CalendarDayGrid__dayButton',\n dayIsToday: 'fui-CalendarDayGrid__dayIsToday',\n firstTransitionWeek: 'fui-CalendarDayGrid__firstTransitionWeek',\n lastTransitionWeek: 'fui-CalendarDayGrid__lastTransitionWeek',\n dayMarker: 'fui-CalendarDayGrid__dayMarker'\n};\n/**\n * @internal\n */\nexport const extraCalendarDayGridClassNames = {\n hoverStyle: 'fui-CalendarDayGrid__hoverStyle',\n pressedStyle: 'fui-CalendarDayGrid__pressedStyle'\n};\nconst useWrapperStyles = /*#__PURE__*/__styles({\n base: {\n Byoj8tv: \"f1fow5ox\"\n }\n}, {\n d: [\".f1fow5ox{padding-bottom:10px;}\"]\n});\nconst useTableStyles = /*#__PURE__*/__styles({\n base: {\n po53p8: \"fgkb47j\",\n Bxjg3zr: \"f16vktn6\",\n Be2twd7: \"fjoy568\",\n B6of3ja: \"fvjh0tl\",\n Byoj8tv: \"f1fow5ox\",\n qhf8xq: \"f10pi13n\",\n B73mfa3: \"f14m3nip\",\n fsow6f: \"f17mccla\",\n a9b677: \"f4m2ahc\"\n },\n showWeekNumbers: {\n a9b677: \"fl524qk\"\n }\n}, {\n d: [\".fgkb47j{border-collapse:collapse;}\", \".f16vktn6{border-spacing:0;}\", \".fjoy568{font-size:inherit;}\", \".fvjh0tl{margin-top:4px;}\", \".f1fow5ox{padding-bottom:10px;}\", \".f10pi13n{position:relative;}\", \".f14m3nip{table-layout:fixed;}\", \".f17mccla{text-align:center;}\", \".f4m2ahc{width:196px;}\", \".fl524qk{width:226px;}\"]\n});\nconst useDayCellStyles = /*#__PURE__*/__styles({\n base: {\n sj55zd: \"f19n0e5\",\n Bceei9c: \"f1k6fduh\",\n Be2twd7: \"fy9rknc\",\n Bhrd7zp: \"figsok6\",\n Bqenvij: \"fxldao9\",\n Bg96gwp: \"f336tjw\",\n B6of3ja: \"f1hu3pq6\",\n t21cq0: [\"f11qmguv\", \"f1tyq0we\"],\n jrapky: \"f19f4twv\",\n Frg6f3: [\"f1tyq0we\", \"f11qmguv\"],\n z8tnut: \"f1g0x7ka\",\n z189sj: [\"fhxju0i\", \"f1cnd47f\"],\n Byoj8tv: \"f1qch9an\",\n uwmqm3: [\"f1cnd47f\", \"fhxju0i\"],\n qhf8xq: \"f10pi13n\",\n a9b677: \"f1w9dchk\",\n Bsw6fvg: \"f8pusc0\",\n Bbusuzp: \"fqgauei\",\n cvlxnx: \"fp6dsbd\",\n Bweudez: \"f4xgodq\",\n hzfqlu: \"fehmveg\",\n Bb91d7d: \"ff78tpz\",\n dua3dm: \"f128nre3\",\n z1p9vi: \"f1elgve3\",\n Bsnevi5: \"f15e7s3w\",\n xnb59o: \"fts5qqo\",\n Bj67fi1: \"f1lhgsq9\",\n B2gfgcj: \"fdbuq6n\",\n B6cqqer: \"f16j2ub3\",\n fpurfy: \"f5hk6jp\",\n Fioj4w: [\"f1d258es\", \"f1llk4aj\"],\n Bq9yiu4: \"ftezgwa\",\n cpbo2x: [\"f1llk4aj\", \"f1d258es\"],\n Bq268z6: \"f1iohfpm\"\n }\n}, {\n d: [\".f19n0e5{color:var(--colorNeutralForeground1);}\", \".f1k6fduh{cursor:pointer;}\", \".fy9rknc{font-size:var(--fontSizeBase200);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\", \".fxldao9{height:28px;}\", \".f336tjw{line-height:28px;}\", \".f1hu3pq6{margin-top:0;}\", \".f11qmguv{margin-right:0;}\", \".f1tyq0we{margin-left:0;}\", \".f19f4twv{margin-bottom:0;}\", \".f1g0x7ka{padding-top:0;}\", \".fhxju0i{padding-right:0;}\", \".f1cnd47f{padding-left:0;}\", \".f1qch9an{padding-bottom:0;}\", \".f10pi13n{position:relative;}\", \".f1w9dchk{width:28px;}\", \".fp6dsbd.fui-CalendarDayGrid__hoverStyle{color:var(--colorNeutralForeground1Static);}\", \".f4xgodq.fui-CalendarDayGrid__hoverStyle{background-color:var(--colorBrandBackgroundInvertedHover);}\", \".f1lhgsq9.fui-CalendarDayGrid__pressedStyle{color:var(--colorNeutralForeground1Static);}\", \".fdbuq6n.fui-CalendarDayGrid__pressedStyle{background-color:var(--colorBrandBackgroundInvertedPressed);}\"],\n m: [[\"@media (forced-colors: active){.f8pusc0{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fqgauei{color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fehmveg.fui-CalendarDayGrid__hoverStyle{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.ff78tpz.fui-CalendarDayGrid__hoverStyle{color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f128nre3.fui-CalendarDayGrid__hoverStyle{outline-width:1px;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1elgve3.fui-CalendarDayGrid__hoverStyle{outline-style:solid;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f15e7s3w.fui-CalendarDayGrid__hoverStyle{outline-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fts5qqo.fui-CalendarDayGrid__hoverStyle{z-index:3;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f16j2ub3.fui-CalendarDayGrid__pressedStyle{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f5hk6jp.fui-CalendarDayGrid__pressedStyle{border-top-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1d258es.fui-CalendarDayGrid__pressedStyle{border-right-color:Highlight;}.f1llk4aj.fui-CalendarDayGrid__pressedStyle{border-left-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.ftezgwa.fui-CalendarDayGrid__pressedStyle{border-bottom-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1iohfpm.fui-CalendarDayGrid__pressedStyle{color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useDaySelectedStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"f1vevd59\",\n sj55zd: \"ff5vbop\",\n Bsw6fvg: \"f1rirnrt\",\n Bjwas2f: \"f132fbg1\",\n Bn1d65q: [\"f1ene5x0\", \"fzbc999\"],\n Bxeuatn: \"f6jgcol\",\n n51gp8: [\"fzbc999\", \"f1ene5x0\"],\n Bbusuzp: \"f1lkg8j3\",\n ycbfsm: \"fkc42ay\",\n a3nq4f: \"f1chdfq9\",\n Bnf3alp: \"fq0dbue\",\n H2c3sd: \"f3pe0v7\",\n qu8ld: \"f3t0uu2\",\n Bg4iunc: \"f1cikclm\"\n }\n}, {\n d: [\".f1vevd59{background-color:var(--colorBrandBackgroundInvertedSelected);}\", \".ff5vbop{color:var(--colorNeutralForeground1Static);}\"],\n m: [[\"@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f132fbg1{border-top-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1ene5x0{border-right-color:Highlight;}.fzbc999{border-left-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f6jgcol{border-bottom-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f3pe0v7:hover,.f3pe0v7.fui-CalendarDayGrid__hoverStyle,.f3pe0v7.fui-CalendarDayGrid__pressedStyle{background-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f3t0uu2:hover,.f3t0uu2.fui-CalendarDayGrid__hoverStyle,.f3t0uu2.fui-CalendarDayGrid__pressedStyle{color:HighlightText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1cikclm>.fui-CalendarDayGrid__dayMarker{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }]],\n h: [\".f1chdfq9:hover,.f1chdfq9.fui-CalendarDayGrid__hoverStyle,.f1chdfq9.fui-CalendarDayGrid__pressedStyle{color:var(--colorNeutralForeground1Static);}\", \".fq0dbue:hover,.fq0dbue.fui-CalendarDayGrid__hoverStyle,.fq0dbue.fui-CalendarDayGrid__pressedStyle{background-color:var(--colorBrandBackgroundInvertedSelected);}\"]\n});\nconst useWeekRowStyles = /*#__PURE__*/__styles({\n base: {\n vin17d: \"f5f2jbu\",\n Bf5fcs: \"fywypte\",\n Ezkn3b: \"f1ee2ue\"\n },\n horizontalBackward: {\n Bv12yb3: [\"f1o9w3l8\", \"f1kwjajc\"]\n },\n horizontalForward: {\n Bv12yb3: [\"f1kwjajc\", \"f1o9w3l8\"]\n },\n verticalBackward: {\n Bv12yb3: \"fgl3yn7\"\n },\n verticalForward: {\n Bv12yb3: \"faiu5ye\"\n }\n}, {\n d: [\".f5f2jbu{animation-duration:0.367s;}\", \".fywypte{animation-fill-mode:both;}\", \".f1ee2ue{animation-timing-function:cubic-bezier(.1,.9,.2,1);}\", \".f1o9w3l8{animation-name:f5j8bii,f2lgmc3;}\", \".f1kwjajc{animation-name:f5j8bii,fpktcv7;}\", \".fgl3yn7{animation-name:f5j8bii,f3bv9km;}\", \".faiu5ye{animation-name:f5j8bii,funtx0y;}\"],\n k: [\"@keyframes f5j8bii{from{opacity:0;}to{opacity:1;}}\", \"@keyframes f2lgmc3{from{pointer-events:none;transform:translate3d(-20px, 0, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}\", \"@keyframes fpktcv7{from{pointer-events:none;transform:translate3d(20px, 0, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}\", \"@keyframes f3bv9km{from{pointer-events:none;transform:translate3d(0, -20px, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}\", \"@keyframes funtx0y{from{pointer-events:none;transform:translate3d(0, 20px, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}\"]\n});\nconst useWeekDayLabelCellStyles = /*#__PURE__*/__styles({\n base: {\n vin17d: \"fhsqnsn\",\n Bf5fcs: \"fywypte\",\n Bv12yb3: \"f1h7u52p\",\n Ezkn3b: \"fjq4c94\"\n }\n}, {\n d: [\".fhsqnsn{animation-duration:0.267s;}\", \".fywypte{animation-fill-mode:both;}\", \".f1h7u52p{animation-name:f5j8bii;}\", \".fjq4c94{animation-timing-function:cubic-bezier(.1,.25,.75,.9);}\"],\n k: [\"@keyframes f5j8bii{from{opacity:0;}to{opacity:1;}}\"]\n});\nconst useWeekNumberCellStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"f1c21dwh\",\n g2u3we: \"f68mrw8\",\n h3c5rm: [\"f7pw515\", \"fw35ms5\"],\n B9xav0g: \"frpde29\",\n zhjwy3: [\"fw35ms5\", \"f7pw515\"],\n Bekrc4i: [\"f1hqa2wf\", \"finvdd3\"],\n vrafjx: [\"fcdblym\", \"fjik90z\"],\n B7ck84d: \"f1ewtqcl\",\n sj55zd: \"fxc4j92\",\n Be2twd7: \"fy9rknc\",\n Bhrd7zp: \"figsok6\",\n Bqenvij: \"fxldao9\",\n B6of3ja: \"f1hu3pq6\",\n t21cq0: [\"f11qmguv\", \"f1tyq0we\"],\n jrapky: \"f19f4twv\",\n Frg6f3: [\"f1tyq0we\", \"f11qmguv\"],\n z8tnut: \"f1g0x7ka\",\n z189sj: [\"fhxju0i\", \"f1cnd47f\"],\n Byoj8tv: \"f1qch9an\",\n uwmqm3: [\"f1cnd47f\", \"fhxju0i\"],\n a9b677: \"f1w9dchk\"\n }\n}, {\n d: [\".f1c21dwh{background-color:var(--colorTransparentBackground);}\", \".f68mrw8{border-top-color:var(--colorNeutralStroke2);}\", \".f7pw515{border-right-color:var(--colorNeutralStroke2);}\", \".fw35ms5{border-left-color:var(--colorNeutralStroke2);}\", \".frpde29{border-bottom-color:var(--colorNeutralStroke2);}\", \".f1hqa2wf{border-right-width:1px;}\", \".finvdd3{border-left-width:1px;}\", \".fcdblym{border-right-style:solid;}\", \".fjik90z{border-left-style:solid;}\", \".f1ewtqcl{box-sizing:border-box;}\", \".fxc4j92{color:var(--colorNeutralForeground4);}\", \".fy9rknc{font-size:var(--fontSizeBase200);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\", \".fxldao9{height:28px;}\", \".f1hu3pq6{margin-top:0;}\", \".f11qmguv{margin-right:0;}\", \".f1tyq0we{margin-left:0;}\", \".f19f4twv{margin-bottom:0;}\", \".f1g0x7ka{padding-top:0;}\", \".fhxju0i{padding-right:0;}\", \".f1cnd47f{padding-left:0;}\", \".f1qch9an{padding-bottom:0;}\", \".f1w9dchk{width:28px;}\"]\n});\nconst useDayOutsideBoundsStyles = /*#__PURE__*/__styles({\n base: {\n x734em: \"f1v4z6xg\",\n B0ssf13: \"f1u9q7oh\",\n B8h8h5z: \"f1a22lcc\",\n Bbusuzp: \"f1dcs8yz\"\n }\n}, {\n d: [\".f1v4z6xg,.f1v4z6xg:disabled,.f1v4z6xg button,.f1v4z6xg.fui-CalendarDayGrid__hoverStyle,.f1v4z6xg.fui-CalendarDayGrid__pressedStyle{background-color:var(--colorTransparentBackground);}\", \".f1u9q7oh,.f1u9q7oh:disabled,.f1u9q7oh button,.f1u9q7oh.fui-CalendarDayGrid__hoverStyle,.f1u9q7oh.fui-CalendarDayGrid__pressedStyle{color:var(--colorNeutralForegroundDisabled);}\", \".f1a22lcc,.f1a22lcc:disabled,.f1a22lcc button,.f1a22lcc.fui-CalendarDayGrid__hoverStyle,.f1a22lcc.fui-CalendarDayGrid__pressedStyle{pointer-events:none;}\"],\n m: [[\"@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useDayOutsideNavigatedMonthStyles = /*#__PURE__*/__styles({\n lightenDaysOutsideNavigatedMonth: {\n sj55zd: \"fxc4j92\",\n Bhrd7zp: \"figsok6\",\n Bbusuzp: \"f1dcs8yz\"\n }\n}, {\n d: [\".fxc4j92{color:var(--colorNeutralForeground4);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\"],\n m: [[\"@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useDayButtonStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"f1c21dwh\",\n Bbmb7ep: [\"f2i1086\", \"f1rlsnju\"],\n Beyfa6y: [\"f1rlsnju\", \"f2i1086\"],\n B7oj6ja: [\"f1stktl2\", \"f1127022\"],\n Btl43ni: [\"f1127022\", \"f1stktl2\"],\n icvyot: \"f1ern45e\",\n vrafjx: [\"f1n71otn\", \"f1deefiw\"],\n oivjwe: \"f1h8hb77\",\n wvpqe5: [\"f1deefiw\", \"f1n71otn\"],\n sj55zd: \"f1ym3bx4\",\n Bceei9c: \"f1k6fduh\",\n Be2twd7: \"fy9rknc\",\n Bhrd7zp: \"ff5ikls\",\n Bqenvij: \"frvgh55\",\n Bg96gwp: \"f8xlz6g\",\n B68tc82: \"f1mtd64y\",\n Bmxbyg5: \"f1y7q3j9\",\n z8tnut: \"f1g0x7ka\",\n z189sj: [\"fhxju0i\", \"f1cnd47f\"],\n Byoj8tv: \"f1qch9an\",\n uwmqm3: [\"f1cnd47f\", \"fhxju0i\"],\n a9b677: \"fq4mcun\",\n Bx0yju7: \"f10y451g\",\n l98f4w: \"f1dwpgx3\"\n }\n}, {\n d: [\".f1c21dwh{background-color:var(--colorTransparentBackground);}\", \".f2i1086{border-bottom-right-radius:2px;}\", \".f1rlsnju{border-bottom-left-radius:2px;}\", \".f1stktl2{border-top-right-radius:2px;}\", \".f1127022{border-top-left-radius:2px;}\", \".f1ern45e{border-top-style:none;}\", \".f1n71otn{border-right-style:none;}\", \".f1deefiw{border-left-style:none;}\", \".f1h8hb77{border-bottom-style:none;}\", \".f1ym3bx4{color:inherit;}\", \".f1k6fduh{cursor:pointer;}\", \".fy9rknc{font-size:var(--fontSizeBase200);}\", \".ff5ikls{font-weight:inherit;}\", \".frvgh55{height:24px;}\", \".f8xlz6g{line-height:24px;}\", \".f1mtd64y{overflow-x:visible;}\", \".f1y7q3j9{overflow-y:visible;}\", \".f1g0x7ka{padding-top:0;}\", \".fhxju0i{padding-right:0;}\", \".f1cnd47f{padding-left:0;}\", \".f1qch9an{padding-bottom:0;}\", \".fq4mcun{width:24px;}\", \".f10y451gspan{height:inherit;}\", \".f1dwpgx3span{line-height:inherit;}\"]\n});\nconst useDayIsTodayStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"ffp7eso\",\n Bbmb7ep: [\"f1xbx3v5\", \"fh9p2o2\"],\n Beyfa6y: [\"fh9p2o2\", \"f1xbx3v5\"],\n B7oj6ja: [\"f18mldvw\", \"f3h6kr5\"],\n Btl43ni: [\"f3h6kr5\", \"f18mldvw\"],\n sj55zd: \"f1phragk\",\n Bhrd7zp: \"fl43uef\",\n Bsw6fvg: \"fg374yq\",\n Bjwas2f: \"fx4t0an\",\n Bn1d65q: [\"f1bd7qk0\", \"fk5vpic\"],\n Bxeuatn: \"fgxnpfp\",\n n51gp8: [\"fk5vpic\", \"f1bd7qk0\"],\n Bbusuzp: \"f1yig07e\",\n ycbfsm: \"fkc42ay\",\n jxbfoe: \"fj0lumn\",\n Bg4iunc: \"f1cikclm\"\n }\n}, {\n d: [\".ffp7eso{background-color:var(--colorBrandBackground);}\", \".f1xbx3v5{border-bottom-right-radius:100%;}\", \".fh9p2o2{border-bottom-left-radius:100%;}\", \".f18mldvw{border-top-right-radius:100%;}\", \".f3h6kr5{border-top-left-radius:100%;}\", \".f1phragk{color:var(--colorNeutralForegroundOnBrand);}\", \".fl43uef{font-weight:var(--fontWeightSemibold);}\", \".fj0lumn>.fui-CalendarDayGrid__dayMarker{background-color:var(--colorNeutralForegroundOnBrand);}\"],\n m: [[\"@media (forced-colors: active){.fg374yq{background-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fx4t0an{border-top-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1bd7qk0{border-right-color:WindowText;}.fk5vpic{border-left-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fgxnpfp{border-bottom-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1yig07e{color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1cikclm>.fui-CalendarDayGrid__dayMarker{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useFirstTransitionWeekStyles = /*#__PURE__*/__styles({\n base: {\n Bqenvij: \"fniina8\",\n abs64n: \"fk73vx1\",\n B68tc82: \"f1p9o1ba\",\n Bmxbyg5: \"f1sil6mw\",\n qhf8xq: \"f1euv43f\",\n a9b677: \"f3tsq5r\"\n },\n verticalForward: {\n vin17d: \"f5f2jbu\",\n Bf5fcs: \"fywypte\",\n Bv12yb3: \"fb3mxun\",\n Ezkn3b: \"f1ee2ue\"\n }\n}, {\n d: [\".fniina8{height:0;}\", \".fk73vx1{opacity:0;}\", \".f1p9o1ba{overflow-x:hidden;}\", \".f1sil6mw{overflow-y:hidden;}\", \".f1euv43f{position:absolute;}\", \".f3tsq5r{width:0;}\", \".f5f2jbu{animation-duration:0.367s;}\", \".fywypte{animation-fill-mode:both;}\", \".fb3mxun{animation-name:f199e34v,f76svrd,fhwv0sk;}\", \".f1ee2ue{animation-timing-function:cubic-bezier(.1,.9,.2,1);}\"],\n k: [\"@keyframes f199e34v{from{opacity:1;}to{opacity:0;visibility:hidden;}}\", \"@keyframes f76svrd{from{transform:translate3d(0, 0, 0);}to{transform:translate3d(0, -20px, 0);}}\", \"@keyframes fhwv0sk{100%{height:0px;overflow-x:hidden;overflow-y:hidden;width:0px;}99.9%{height:28px;overflow-x:visible;overflow-y:visible;width:100%;}0%{height:28px;overflow-x:visible;overflow-y:visible;width:100%;}}\"]\n});\nconst useLastTransitionWeekStyles = /*#__PURE__*/__styles({\n base: {\n Bqenvij: \"fniina8\",\n B6of3ja: \"flykjtj\",\n abs64n: \"fk73vx1\",\n B68tc82: \"f1p9o1ba\",\n Bmxbyg5: \"f1sil6mw\",\n qhf8xq: \"f1euv43f\",\n a9b677: \"f3tsq5r\"\n },\n verticalBackward: {\n vin17d: \"f5f2jbu\",\n Bf5fcs: \"fywypte\",\n Bv12yb3: \"f1h56eac\",\n Ezkn3b: \"f1ee2ue\"\n }\n}, {\n d: [\".fniina8{height:0;}\", \".flykjtj{margin-top:-28px;}\", \".fk73vx1{opacity:0;}\", \".f1p9o1ba{overflow-x:hidden;}\", \".f1sil6mw{overflow-y:hidden;}\", \".f1euv43f{position:absolute;}\", \".f3tsq5r{width:0;}\", \".f5f2jbu{animation-duration:0.367s;}\", \".fywypte{animation-fill-mode:both;}\", \".f1h56eac{animation-name:f199e34v,f18895iq,fhwv0sk;}\", \".f1ee2ue{animation-timing-function:cubic-bezier(.1,.9,.2,1);}\"],\n k: [\"@keyframes f199e34v{from{opacity:1;}to{opacity:0;visibility:hidden;}}\", \"@keyframes f18895iq{from{transform:translate3d(0, 0, 0);}to{transform:translate3d(0, 20px, 0);}}\", \"@keyframes fhwv0sk{100%{height:0px;overflow-x:hidden;overflow-y:hidden;width:0px;}99.9%{height:28px;overflow-x:visible;overflow-y:visible;width:100%;}0%{height:28px;overflow-x:visible;overflow-y:visible;width:100%;}}\"]\n});\nconst useDayMarkerStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"fnggedw\",\n Bbmb7ep: [\"f1xbx3v5\", \"fh9p2o2\"],\n Beyfa6y: [\"fh9p2o2\", \"f1xbx3v5\"],\n B7oj6ja: [\"f18mldvw\", \"f3h6kr5\"],\n Btl43ni: [\"f3h6kr5\", \"f18mldvw\"],\n B5kzvoi: \"f1oq0udb\",\n Bqenvij: \"f6ywr7j\",\n oyh7mz: [\"f1vgc2s3\", \"f1e31b4d\"],\n B6of3ja: \"fgr6219\",\n t21cq0: [\"f1ujusj6\", \"fcgxt0o\"],\n jrapky: \"f10jk5vf\",\n Frg6f3: [\"fcgxt0o\", \"f1ujusj6\"],\n qhf8xq: \"f1euv43f\",\n j35jbq: [\"f1e31b4d\", \"f1vgc2s3\"],\n a9b677: \"faro0ui\",\n Bsw6fvg: \"fg374yq\",\n ycbfsm: \"fkc42ay\"\n }\n}, {\n d: [\".fnggedw{background-color:var(--colorBrandForeground2);}\", \".f1xbx3v5{border-bottom-right-radius:100%;}\", \".fh9p2o2{border-bottom-left-radius:100%;}\", \".f18mldvw{border-top-right-radius:100%;}\", \".f3h6kr5{border-top-left-radius:100%;}\", \".f1oq0udb{bottom:1px;}\", \".f6ywr7j{height:4px;}\", \".f1vgc2s3{left:0;}\", \".f1e31b4d{right:0;}\", \".fgr6219{margin-top:auto;}\", \".f1ujusj6{margin-right:auto;}\", \".fcgxt0o{margin-left:auto;}\", \".f10jk5vf{margin-bottom:auto;}\", \".f1euv43f{position:absolute;}\", \".faro0ui{width:4px;}\"],\n m: [[\"@media (forced-colors: active){.fg374yq{background-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useCornerBorderAndRadiusStyles = /*#__PURE__*/__styles({\n corners: {\n Cy64m2: [\"fgk2v8v\", \"flgychs\"],\n Bnn43bw: [\"fon8hnx\", \"f1dzb7s0\"],\n feanbc: [\"f5gufe6\", \"f6b3fnj\"],\n B4268ip: [\"fo35n0e\", \"f96pych\"]\n }\n}, {\n d: [\".fgk2v8v.fui-CalendarDayGrid__topRightCornerDate{border-top-right-radius:2px;}\", \".flgychs.fui-CalendarDayGrid__topRightCornerDate{border-top-left-radius:2px;}\", \".fon8hnx.fui-CalendarDayGrid__topLeftCornerDate{border-top-left-radius:2px;}\", \".f1dzb7s0.fui-CalendarDayGrid__topLeftCornerDate{border-top-right-radius:2px;}\", \".f5gufe6.fui-CalendarDayGrid__bottomRightCornerDate{border-bottom-right-radius:2px;}\", \".f6b3fnj.fui-CalendarDayGrid__bottomRightCornerDate{border-bottom-left-radius:2px;}\", \".fo35n0e.fui-CalendarDayGrid__bottomLeftCornerDate{border-bottom-left-radius:2px;}\", \".f96pych.fui-CalendarDayGrid__bottomLeftCornerDate{border-bottom-right-radius:2px;}\"]\n});\n/**\n * @internal\n *\n * Apply styling to the CalendarDayGrid slots based on the state\n */\nexport const useCalendarDayGridStyles_unstable = props => {\n const wrapperStyles = useWrapperStyles();\n const tableStyles = useTableStyles();\n const dayCellStyles = useDayCellStyles();\n const daySelectedStyles = useDaySelectedStyles();\n const weekRowStyles = useWeekRowStyles();\n const weekDayLabelCellStyles = useWeekDayLabelCellStyles();\n const weekNumberCellStyles = useWeekNumberCellStyles();\n const dayOutsideBoundsStyles = useDayOutsideBoundsStyles();\n const dayOutsideNavigatedMonthStyles = useDayOutsideNavigatedMonthStyles();\n const dayButtonStyles = useDayButtonStyles();\n const dayIsTodayStyles = useDayIsTodayStyles();\n const firstTransitionWeekStyles = useFirstTransitionWeekStyles();\n const lastTransitionWeekStyles = useLastTransitionWeekStyles();\n const dayMarkerStyles = useDayMarkerStyles();\n const cornerBorderAndRadiusStyles = useCornerBorderAndRadiusStyles();\n const {\n animateBackwards,\n animationDirection,\n lightenDaysOutsideNavigatedMonth,\n showWeekNumbers\n } = props;\n return {\n wrapper: mergeClasses(calendarDayGridClassNames.wrapper, wrapperStyles.base),\n table: mergeClasses(calendarDayGridClassNames.table, tableStyles.base, showWeekNumbers && tableStyles.showWeekNumbers),\n dayCell: mergeClasses(calendarDayGridClassNames.dayCell, dayCellStyles.base, cornerBorderAndRadiusStyles.corners),\n daySelected: mergeClasses(calendarDayGridClassNames.daySelected, daySelectedStyles.base),\n weekRow: mergeClasses(calendarDayGridClassNames.weekRow, animateBackwards !== undefined && weekRowStyles.base, animateBackwards !== undefined && (animationDirection === AnimationDirection.Horizontal ? animateBackwards ? weekRowStyles.horizontalBackward : weekRowStyles.horizontalForward : animateBackwards ? weekRowStyles.verticalBackward : weekRowStyles.verticalForward)),\n weekDayLabelCell: mergeClasses(calendarDayGridClassNames.weekDayLabelCell, weekDayLabelCellStyles.base),\n weekNumberCell: mergeClasses(calendarDayGridClassNames.weekNumberCell, weekNumberCellStyles.base),\n dayOutsideBounds: mergeClasses(calendarDayGridClassNames.dayOutsideBounds, dayOutsideBoundsStyles.base),\n dayOutsideNavigatedMonth: mergeClasses(calendarDayGridClassNames.dayOutsideNavigatedMonth, lightenDaysOutsideNavigatedMonth && dayOutsideNavigatedMonthStyles.lightenDaysOutsideNavigatedMonth),\n dayButton: mergeClasses(calendarDayGridClassNames.dayButton, dayButtonStyles.base),\n dayIsToday: mergeClasses(calendarDayGridClassNames.dayIsToday, dayIsTodayStyles.base),\n firstTransitionWeek: mergeClasses(calendarDayGridClassNames.firstTransitionWeek, firstTransitionWeekStyles.base, animateBackwards !== undefined && animationDirection !== AnimationDirection.Horizontal && !animateBackwards && firstTransitionWeekStyles.verticalForward),\n lastTransitionWeek: mergeClasses(calendarDayGridClassNames.lastTransitionWeek, lastTransitionWeekStyles.base, animateBackwards !== undefined && animationDirection !== AnimationDirection.Horizontal && animateBackwards && lastTransitionWeekStyles.verticalBackward),\n dayMarker: mergeClasses(calendarDayGridClassNames.dayMarker, dayMarkerStyles.base)\n };\n};\n//# sourceMappingURL=useCalendarDayGridStyles.styles.js.map"],"names":["calendarDayGridClassNames","extraCalendarDayGridClassNames","useCalendarDayGridStyles_unstable","wrapper","table","dayCell","daySelected","weekRow","weekDayLabelCell","weekNumberCell","dayOutsideBounds","dayOutsideNavigatedMonth","dayButton","dayIsToday","firstTransitionWeek","lastTransitionWeek","dayMarker","hoverStyle","pressedStyle","useWrapperStyles","__styles","base","Byoj8tv","d","useTableStyles","po53p8","Bxjg3zr","Be2twd7","B6of3ja","qhf8xq","B73mfa3","fsow6f","a9b677","showWeekNumbers","useDayCellStyles","sj55zd","Bceei9c","Bhrd7zp","Bqenvij","Bg96gwp","t21cq0","jrapky","Frg6f3","z8tnut","z189sj","uwmqm3","Bsw6fvg","Bbusuzp","cvlxnx","Bweudez","hzfqlu","Bb91d7d","dua3dm","z1p9vi","Bsnevi5","xnb59o","Bj67fi1","B2gfgcj","B6cqqer","fpurfy","Fioj4w","Bq9yiu4","cpbo2x","Bq268z6","m","useDaySelectedStyles","De3pzq","Bjwas2f","Bn1d65q","Bxeuatn","n51gp8","ycbfsm","a3nq4f","Bnf3alp","H2c3sd","qu8ld","Bg4iunc","h","useWeekRowStyles","vin17d","Bf5fcs","Ezkn3b","horizontalBackward","Bv12yb3","horizontalForward","verticalBackward","verticalForward","k","useWeekDayLabelCellStyles","useWeekNumberCellStyles","g2u3we","h3c5rm","B9xav0g","zhjwy3","Bekrc4i","vrafjx","B7ck84d","useDayOutsideBoundsStyles","x734em","B0ssf13","B8h8h5z","useDayOutsideNavigatedMonthStyles","lightenDaysOutsideNavigatedMonth","useDayButtonStyles","Bbmb7ep","Beyfa6y","B7oj6ja","Btl43ni","icvyot","oivjwe","wvpqe5","B68tc82","Bmxbyg5","Bx0yju7","l98f4w","useDayIsTodayStyles","jxbfoe","useFirstTransitionWeekStyles","abs64n","useLastTransitionWeekStyles","useDayMarkerStyles","B5kzvoi","oyh7mz","j35jbq","useCornerBorderAndRadiusStyles","corners","Cy64m2","Bnn43bw","feanbc","B4268ip","props","wrapperStyles","tableStyles","dayCellStyles","daySelectedStyles","weekRowStyles","weekDayLabelCellStyles","weekNumberCellStyles","dayOutsideBoundsStyles","dayOutsideNavigatedMonthStyles","dayButtonStyles","dayIsTodayStyles","firstTransitionWeekStyles","lastTransitionWeekStyles","dayMarkerStyles","cornerBorderAndRadiusStyles","animateBackwards","animationDirection","mergeClasses","undefined","AnimationDirection","Horizontal"],"mappings":";;;;;;;;;;;IAQaA,yBAAyB,MAAzBA;IAmBAC,8BAA8B,MAA9BA;IAkXAC,iCAAiC,MAAjCA;;uBA5YsC;+BAEhB;AAK5B,MAAMF,4BAA4B;IACvCG,SAAS;IACTC,OAAO;IACPC,SAAS;IACTC,aAAa;IACbC,SAAS;IACTC,kBAAkB;IAClBC,gBAAgB;IAChBC,kBAAkB;IAClBC,0BAA0B;IAC1BC,WAAW;IACXC,YAAY;IACZC,qBAAqB;IACrBC,oBAAoB;IACpBC,WAAW;AACb;AAIO,MAAMf,iCAAiC;IAC5CgB,YAAY;IACZC,cAAc;AAChB;AACA,MAAMC,mBAAmB,WAAW,GAAEC,IAAAA,kBAAQ,EAAC;IAC7CC,MAAM;QACJC,SAAS;IACX;AACF,GAAG;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gB;QACrQrE,WAAWoI,IAAAA,mBAAY,EAACpJ,0BAA0BgB,SAAS,EAAEgI,gBAAgB3H,IAAI;IACnF;AACF,GACA,2DAA2D"}
1
+ {"version":3,"sources":["useCalendarDayGridStyles.styles.js"],"sourcesContent":["import { tokens } from '@fluentui/react-theme';\nimport { __styles, mergeClasses, shorthands } from '@griffel/react';\nimport { DURATION_2, DURATION_3, EASING_FUNCTION_1, EASING_FUNCTION_2, FADE_IN, FADE_OUT, SLIDE_DOWN_IN20, SLIDE_DOWN_OUT20, SLIDE_LEFT_IN20, SLIDE_RIGHT_IN20, SLIDE_UP_IN20, SLIDE_UP_OUT20, TRANSITION_ROW_DISAPPEARANCE } from '../../utils';\nimport { AnimationDirection } from '../Calendar/Calendar.types';\nimport { weekCornersClassNames } from './useWeekCornerStyles.styles';\n/**\n * @internal\n */\nexport const calendarDayGridClassNames = {\n wrapper: 'fui-CalendarDayGrid__wrapper',\n table: 'fui-CalendarDayGrid__table',\n dayCell: 'fui-CalendarDayGrid__dayCell',\n daySelected: 'fui-CalendarDayGrid__daySelected',\n weekRow: 'fui-CalendarDayGrid__weekRow',\n weekDayLabelCell: 'fui-CalendarDayGrid__weekDayLabelCell',\n weekNumberCell: 'fui-CalendarDayGrid__weekNumberCell',\n dayOutsideBounds: 'fui-CalendarDayGrid__dayOutsideBounds',\n dayOutsideNavigatedMonth: 'fui-CalendarDayGrid__dayOutsideNavigatedMonth',\n dayButton: 'fui-CalendarDayGrid__dayButton',\n dayIsToday: 'fui-CalendarDayGrid__dayIsToday',\n firstTransitionWeek: 'fui-CalendarDayGrid__firstTransitionWeek',\n lastTransitionWeek: 'fui-CalendarDayGrid__lastTransitionWeek',\n dayMarker: 'fui-CalendarDayGrid__dayMarker'\n};\n/**\n * @internal\n */\nexport const extraCalendarDayGridClassNames = {\n hoverStyle: 'fui-CalendarDayGrid__hoverStyle',\n pressedStyle: 'fui-CalendarDayGrid__pressedStyle'\n};\nconst useWrapperStyles = /*#__PURE__*/__styles({\n base: {\n Byoj8tv: \"f1fow5ox\"\n }\n}, {\n d: [\".f1fow5ox{padding-bottom:10px;}\"]\n});\nconst useTableStyles = /*#__PURE__*/__styles({\n base: {\n po53p8: \"fgkb47j\",\n Bxjg3zr: \"f16vktn6\",\n Be2twd7: \"fjoy568\",\n B6of3ja: \"fvjh0tl\",\n Byoj8tv: \"f1fow5ox\",\n qhf8xq: \"f10pi13n\",\n B73mfa3: \"f14m3nip\",\n fsow6f: \"f17mccla\",\n a9b677: \"f4m2ahc\"\n },\n showWeekNumbers: {\n a9b677: \"fl524qk\"\n }\n}, {\n d: [\".fgkb47j{border-collapse:collapse;}\", \".f16vktn6{border-spacing:0;}\", \".fjoy568{font-size:inherit;}\", \".fvjh0tl{margin-top:4px;}\", \".f1fow5ox{padding-bottom:10px;}\", \".f10pi13n{position:relative;}\", \".f14m3nip{table-layout:fixed;}\", \".f17mccla{text-align:center;}\", \".f4m2ahc{width:196px;}\", \".fl524qk{width:226px;}\"]\n});\nconst useDayCellStyles = /*#__PURE__*/__styles({\n base: {\n sj55zd: \"f19n0e5\",\n Bceei9c: \"f1k6fduh\",\n Be2twd7: \"fy9rknc\",\n Bhrd7zp: \"figsok6\",\n Bqenvij: \"fxldao9\",\n Bg96gwp: \"f336tjw\",\n B6of3ja: \"f1hu3pq6\",\n t21cq0: [\"f11qmguv\", \"f1tyq0we\"],\n jrapky: \"f19f4twv\",\n Frg6f3: [\"f1tyq0we\", \"f11qmguv\"],\n z8tnut: \"f1g0x7ka\",\n z189sj: [\"fhxju0i\", \"f1cnd47f\"],\n Byoj8tv: \"f1qch9an\",\n uwmqm3: [\"f1cnd47f\", \"fhxju0i\"],\n qhf8xq: \"f10pi13n\",\n a9b677: \"f1w9dchk\",\n Bsw6fvg: \"f8pusc0\",\n Bbusuzp: \"fqgauei\",\n cvlxnx: \"fp6dsbd\",\n Bweudez: \"f4xgodq\",\n hzfqlu: \"fehmveg\",\n Bb91d7d: \"ff78tpz\",\n dua3dm: \"f128nre3\",\n z1p9vi: \"f1elgve3\",\n Bsnevi5: \"f15e7s3w\",\n xnb59o: \"fts5qqo\",\n Bj67fi1: \"f1lhgsq9\",\n B2gfgcj: \"fdbuq6n\",\n B6cqqer: \"f16j2ub3\",\n fpurfy: \"f5hk6jp\",\n Fioj4w: [\"f1d258es\", \"f1llk4aj\"],\n Bq9yiu4: \"ftezgwa\",\n cpbo2x: [\"f1llk4aj\", \"f1d258es\"],\n Bq268z6: \"f1iohfpm\"\n }\n}, {\n d: [\".f19n0e5{color:var(--colorNeutralForeground1);}\", \".f1k6fduh{cursor:pointer;}\", \".fy9rknc{font-size:var(--fontSizeBase200);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\", \".fxldao9{height:28px;}\", \".f336tjw{line-height:28px;}\", \".f1hu3pq6{margin-top:0;}\", \".f11qmguv{margin-right:0;}\", \".f1tyq0we{margin-left:0;}\", \".f19f4twv{margin-bottom:0;}\", \".f1g0x7ka{padding-top:0;}\", \".fhxju0i{padding-right:0;}\", \".f1cnd47f{padding-left:0;}\", \".f1qch9an{padding-bottom:0;}\", \".f10pi13n{position:relative;}\", \".f1w9dchk{width:28px;}\", \".fp6dsbd.fui-CalendarDayGrid__hoverStyle{color:var(--colorNeutralForeground1Static);}\", \".f4xgodq.fui-CalendarDayGrid__hoverStyle{background-color:var(--colorBrandBackgroundInvertedHover);}\", \".f1lhgsq9.fui-CalendarDayGrid__pressedStyle{color:var(--colorNeutralForeground1Static);}\", \".fdbuq6n.fui-CalendarDayGrid__pressedStyle{background-color:var(--colorBrandBackgroundInvertedPressed);}\"],\n m: [[\"@media (forced-colors: active){.f8pusc0{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fqgauei{color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fehmveg.fui-CalendarDayGrid__hoverStyle{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.ff78tpz.fui-CalendarDayGrid__hoverStyle{color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f128nre3.fui-CalendarDayGrid__hoverStyle{outline-width:1px;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1elgve3.fui-CalendarDayGrid__hoverStyle{outline-style:solid;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f15e7s3w.fui-CalendarDayGrid__hoverStyle{outline-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fts5qqo.fui-CalendarDayGrid__hoverStyle{z-index:3;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f16j2ub3.fui-CalendarDayGrid__pressedStyle{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f5hk6jp.fui-CalendarDayGrid__pressedStyle{border-top-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1d258es.fui-CalendarDayGrid__pressedStyle{border-right-color:Highlight;}.f1llk4aj.fui-CalendarDayGrid__pressedStyle{border-left-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.ftezgwa.fui-CalendarDayGrid__pressedStyle{border-bottom-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1iohfpm.fui-CalendarDayGrid__pressedStyle{color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useDaySelectedStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"f1vevd59\",\n sj55zd: \"ff5vbop\",\n Bsw6fvg: \"f1rirnrt\",\n Bjwas2f: \"f132fbg1\",\n Bn1d65q: [\"f1ene5x0\", \"fzbc999\"],\n Bxeuatn: \"f6jgcol\",\n n51gp8: [\"fzbc999\", \"f1ene5x0\"],\n Bbusuzp: \"f1lkg8j3\",\n ycbfsm: \"fkc42ay\",\n a3nq4f: \"f1chdfq9\",\n Bnf3alp: \"fq0dbue\",\n H2c3sd: \"f3pe0v7\",\n qu8ld: \"f3t0uu2\",\n Bg4iunc: \"f1cikclm\"\n }\n}, {\n d: [\".f1vevd59{background-color:var(--colorBrandBackgroundInvertedSelected);}\", \".ff5vbop{color:var(--colorNeutralForeground1Static);}\"],\n m: [[\"@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f132fbg1{border-top-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1ene5x0{border-right-color:Highlight;}.fzbc999{border-left-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f6jgcol{border-bottom-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f3pe0v7:hover,.f3pe0v7.fui-CalendarDayGrid__hoverStyle,.f3pe0v7.fui-CalendarDayGrid__pressedStyle{background-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f3t0uu2:hover,.f3t0uu2.fui-CalendarDayGrid__hoverStyle,.f3t0uu2.fui-CalendarDayGrid__pressedStyle{color:HighlightText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1cikclm>.fui-CalendarDayGrid__dayMarker{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }]],\n h: [\".f1chdfq9:hover,.f1chdfq9.fui-CalendarDayGrid__hoverStyle,.f1chdfq9.fui-CalendarDayGrid__pressedStyle{color:var(--colorNeutralForeground1Static);}\", \".fq0dbue:hover,.fq0dbue.fui-CalendarDayGrid__hoverStyle,.fq0dbue.fui-CalendarDayGrid__pressedStyle{background-color:var(--colorBrandBackgroundInvertedSelected);}\"]\n});\nconst useWeekRowStyles = /*#__PURE__*/__styles({\n base: {\n vin17d: \"f5f2jbu\",\n Bf5fcs: \"fywypte\",\n Ezkn3b: \"f1ee2ue\"\n },\n horizontalBackward: {\n Bv12yb3: [\"f1o9w3l8\", \"f1kwjajc\"]\n },\n horizontalForward: {\n Bv12yb3: [\"f1kwjajc\", \"f1o9w3l8\"]\n },\n verticalBackward: {\n Bv12yb3: \"fgl3yn7\"\n },\n verticalForward: {\n Bv12yb3: \"faiu5ye\"\n }\n}, {\n d: [\".f5f2jbu{animation-duration:0.367s;}\", \".fywypte{animation-fill-mode:both;}\", \".f1ee2ue{animation-timing-function:cubic-bezier(.1,.9,.2,1);}\", \".f1o9w3l8{animation-name:f5j8bii,f2lgmc3;}\", \".f1kwjajc{animation-name:f5j8bii,fpktcv7;}\", \".fgl3yn7{animation-name:f5j8bii,f3bv9km;}\", \".faiu5ye{animation-name:f5j8bii,funtx0y;}\"],\n k: [\"@keyframes f5j8bii{from{opacity:0;}to{opacity:1;}}\", \"@keyframes f2lgmc3{from{pointer-events:none;transform:translate3d(-20px, 0, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}\", \"@keyframes fpktcv7{from{pointer-events:none;transform:translate3d(20px, 0, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}\", \"@keyframes f3bv9km{from{pointer-events:none;transform:translate3d(0, -20px, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}\", \"@keyframes funtx0y{from{pointer-events:none;transform:translate3d(0, 20px, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}\"]\n});\nconst useWeekDayLabelCellStyles = /*#__PURE__*/__styles({\n base: {\n vin17d: \"fhsqnsn\",\n Bf5fcs: \"fywypte\",\n Bv12yb3: \"f1h7u52p\",\n Ezkn3b: \"fjq4c94\"\n }\n}, {\n d: [\".fhsqnsn{animation-duration:0.267s;}\", \".fywypte{animation-fill-mode:both;}\", \".f1h7u52p{animation-name:f5j8bii;}\", \".fjq4c94{animation-timing-function:cubic-bezier(.1,.25,.75,.9);}\"],\n k: [\"@keyframes f5j8bii{from{opacity:0;}to{opacity:1;}}\"]\n});\nconst useWeekNumberCellStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"f1c21dwh\",\n g2u3we: \"f68mrw8\",\n h3c5rm: [\"f7pw515\", \"fw35ms5\"],\n B9xav0g: \"frpde29\",\n zhjwy3: [\"fw35ms5\", \"f7pw515\"],\n Bekrc4i: [\"f1hqa2wf\", \"finvdd3\"],\n vrafjx: [\"fcdblym\", \"fjik90z\"],\n B7ck84d: \"f1ewtqcl\",\n sj55zd: \"fxc4j92\",\n Be2twd7: \"fy9rknc\",\n Bhrd7zp: \"figsok6\",\n Bqenvij: \"fxldao9\",\n B6of3ja: \"f1hu3pq6\",\n t21cq0: [\"f11qmguv\", \"f1tyq0we\"],\n jrapky: \"f19f4twv\",\n Frg6f3: [\"f1tyq0we\", \"f11qmguv\"],\n z8tnut: \"f1g0x7ka\",\n z189sj: [\"fhxju0i\", \"f1cnd47f\"],\n Byoj8tv: \"f1qch9an\",\n uwmqm3: [\"f1cnd47f\", \"fhxju0i\"],\n a9b677: \"f1w9dchk\"\n }\n}, {\n d: [\".f1c21dwh{background-color:var(--colorTransparentBackground);}\", \".f68mrw8{border-top-color:var(--colorNeutralStroke2);}\", \".f7pw515{border-right-color:var(--colorNeutralStroke2);}\", \".fw35ms5{border-left-color:var(--colorNeutralStroke2);}\", \".frpde29{border-bottom-color:var(--colorNeutralStroke2);}\", \".f1hqa2wf{border-right-width:1px;}\", \".finvdd3{border-left-width:1px;}\", \".fcdblym{border-right-style:solid;}\", \".fjik90z{border-left-style:solid;}\", \".f1ewtqcl{box-sizing:border-box;}\", \".fxc4j92{color:var(--colorNeutralForeground4);}\", \".fy9rknc{font-size:var(--fontSizeBase200);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\", \".fxldao9{height:28px;}\", \".f1hu3pq6{margin-top:0;}\", \".f11qmguv{margin-right:0;}\", \".f1tyq0we{margin-left:0;}\", \".f19f4twv{margin-bottom:0;}\", \".f1g0x7ka{padding-top:0;}\", \".fhxju0i{padding-right:0;}\", \".f1cnd47f{padding-left:0;}\", \".f1qch9an{padding-bottom:0;}\", \".f1w9dchk{width:28px;}\"]\n});\nconst useDayOutsideBoundsStyles = /*#__PURE__*/__styles({\n base: {\n x734em: \"f1v4z6xg\",\n B0ssf13: \"f1u9q7oh\",\n B8h8h5z: \"f1a22lcc\",\n Bbusuzp: \"f1dcs8yz\"\n }\n}, {\n d: [\".f1v4z6xg,.f1v4z6xg:disabled,.f1v4z6xg button,.f1v4z6xg.fui-CalendarDayGrid__hoverStyle,.f1v4z6xg.fui-CalendarDayGrid__pressedStyle{background-color:var(--colorTransparentBackground);}\", \".f1u9q7oh,.f1u9q7oh:disabled,.f1u9q7oh button,.f1u9q7oh.fui-CalendarDayGrid__hoverStyle,.f1u9q7oh.fui-CalendarDayGrid__pressedStyle{color:var(--colorNeutralForegroundDisabled);}\", \".f1a22lcc,.f1a22lcc:disabled,.f1a22lcc button,.f1a22lcc.fui-CalendarDayGrid__hoverStyle,.f1a22lcc.fui-CalendarDayGrid__pressedStyle{pointer-events:none;}\"],\n m: [[\"@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useDayOutsideNavigatedMonthStyles = /*#__PURE__*/__styles({\n lightenDaysOutsideNavigatedMonth: {\n sj55zd: \"fxc4j92\",\n Bhrd7zp: \"figsok6\",\n Bbusuzp: \"f1dcs8yz\"\n }\n}, {\n d: [\".fxc4j92{color:var(--colorNeutralForeground4);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\"],\n m: [[\"@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useDayButtonStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"f1c21dwh\",\n Bbmb7ep: [\"f2i1086\", \"f1rlsnju\"],\n Beyfa6y: [\"f1rlsnju\", \"f2i1086\"],\n B7oj6ja: [\"f1stktl2\", \"f1127022\"],\n Btl43ni: [\"f1127022\", \"f1stktl2\"],\n icvyot: \"f1ern45e\",\n vrafjx: [\"f1n71otn\", \"f1deefiw\"],\n oivjwe: \"f1h8hb77\",\n wvpqe5: [\"f1deefiw\", \"f1n71otn\"],\n sj55zd: \"f1ym3bx4\",\n Bceei9c: \"f1k6fduh\",\n Be2twd7: \"fy9rknc\",\n Bhrd7zp: \"ff5ikls\",\n Bqenvij: \"frvgh55\",\n Bg96gwp: \"f8xlz6g\",\n B68tc82: \"f1mtd64y\",\n Bmxbyg5: \"f1y7q3j9\",\n z8tnut: \"f1g0x7ka\",\n z189sj: [\"fhxju0i\", \"f1cnd47f\"],\n Byoj8tv: \"f1qch9an\",\n uwmqm3: [\"f1cnd47f\", \"fhxju0i\"],\n a9b677: \"fq4mcun\",\n Bx0yju7: \"f10y451g\",\n l98f4w: \"f1dwpgx3\"\n }\n}, {\n d: [\".f1c21dwh{background-color:var(--colorTransparentBackground);}\", \".f2i1086{border-bottom-right-radius:2px;}\", \".f1rlsnju{border-bottom-left-radius:2px;}\", \".f1stktl2{border-top-right-radius:2px;}\", \".f1127022{border-top-left-radius:2px;}\", \".f1ern45e{border-top-style:none;}\", \".f1n71otn{border-right-style:none;}\", \".f1deefiw{border-left-style:none;}\", \".f1h8hb77{border-bottom-style:none;}\", \".f1ym3bx4{color:inherit;}\", \".f1k6fduh{cursor:pointer;}\", \".fy9rknc{font-size:var(--fontSizeBase200);}\", \".ff5ikls{font-weight:inherit;}\", \".frvgh55{height:24px;}\", \".f8xlz6g{line-height:24px;}\", \".f1mtd64y{overflow-x:visible;}\", \".f1y7q3j9{overflow-y:visible;}\", \".f1g0x7ka{padding-top:0;}\", \".fhxju0i{padding-right:0;}\", \".f1cnd47f{padding-left:0;}\", \".f1qch9an{padding-bottom:0;}\", \".fq4mcun{width:24px;}\", \".f10y451gspan{height:inherit;}\", \".f1dwpgx3span{line-height:inherit;}\"]\n});\nconst useDayIsTodayStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"ffp7eso\",\n Bbmb7ep: [\"f1xbx3v5\", \"fh9p2o2\"],\n Beyfa6y: [\"fh9p2o2\", \"f1xbx3v5\"],\n B7oj6ja: [\"f18mldvw\", \"f3h6kr5\"],\n Btl43ni: [\"f3h6kr5\", \"f18mldvw\"],\n sj55zd: \"f1phragk\",\n Bhrd7zp: \"fl43uef\",\n Bsw6fvg: \"fg374yq\",\n Bjwas2f: \"fx4t0an\",\n Bn1d65q: [\"f1bd7qk0\", \"fk5vpic\"],\n Bxeuatn: \"fgxnpfp\",\n n51gp8: [\"fk5vpic\", \"f1bd7qk0\"],\n Bbusuzp: \"f1yig07e\",\n ycbfsm: \"fkc42ay\",\n jxbfoe: \"fj0lumn\",\n Bg4iunc: \"f1cikclm\"\n }\n}, {\n d: [\".ffp7eso{background-color:var(--colorBrandBackground);}\", \".f1xbx3v5{border-bottom-right-radius:100%;}\", \".fh9p2o2{border-bottom-left-radius:100%;}\", \".f18mldvw{border-top-right-radius:100%;}\", \".f3h6kr5{border-top-left-radius:100%;}\", \".f1phragk{color:var(--colorNeutralForegroundOnBrand);}\", \".fl43uef{font-weight:var(--fontWeightSemibold);}\", \".fj0lumn>.fui-CalendarDayGrid__dayMarker{background-color:var(--colorNeutralForegroundOnBrand);}\"],\n m: [[\"@media (forced-colors: active){.fg374yq{background-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fx4t0an{border-top-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1bd7qk0{border-right-color:WindowText;}.fk5vpic{border-left-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fgxnpfp{border-bottom-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1yig07e{color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1cikclm>.fui-CalendarDayGrid__dayMarker{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useFirstTransitionWeekStyles = /*#__PURE__*/__styles({\n base: {\n Bqenvij: \"fniina8\",\n abs64n: \"fk73vx1\",\n B68tc82: \"f1p9o1ba\",\n Bmxbyg5: \"f1sil6mw\",\n qhf8xq: \"f1euv43f\",\n a9b677: \"f3tsq5r\"\n },\n verticalForward: {\n vin17d: \"f5f2jbu\",\n Bf5fcs: \"fywypte\",\n Bv12yb3: \"fb3mxun\",\n Ezkn3b: \"f1ee2ue\"\n }\n}, {\n d: [\".fniina8{height:0;}\", \".fk73vx1{opacity:0;}\", \".f1p9o1ba{overflow-x:hidden;}\", \".f1sil6mw{overflow-y:hidden;}\", \".f1euv43f{position:absolute;}\", \".f3tsq5r{width:0;}\", \".f5f2jbu{animation-duration:0.367s;}\", \".fywypte{animation-fill-mode:both;}\", \".fb3mxun{animation-name:f199e34v,f76svrd,fhwv0sk;}\", \".f1ee2ue{animation-timing-function:cubic-bezier(.1,.9,.2,1);}\"],\n k: [\"@keyframes f199e34v{from{opacity:1;}to{opacity:0;visibility:hidden;}}\", \"@keyframes f76svrd{from{transform:translate3d(0, 0, 0);}to{transform:translate3d(0, -20px, 0);}}\", \"@keyframes fhwv0sk{100%{height:0px;overflow-x:hidden;overflow-y:hidden;width:0px;}99.9%{height:28px;overflow-x:visible;overflow-y:visible;width:100%;}0%{height:28px;overflow-x:visible;overflow-y:visible;width:100%;}}\"]\n});\nconst useLastTransitionWeekStyles = /*#__PURE__*/__styles({\n base: {\n Bqenvij: \"fniina8\",\n B6of3ja: \"flykjtj\",\n abs64n: \"fk73vx1\",\n B68tc82: \"f1p9o1ba\",\n Bmxbyg5: \"f1sil6mw\",\n qhf8xq: \"f1euv43f\",\n a9b677: \"f3tsq5r\"\n },\n verticalBackward: {\n vin17d: \"f5f2jbu\",\n Bf5fcs: \"fywypte\",\n Bv12yb3: \"f1h56eac\",\n Ezkn3b: \"f1ee2ue\"\n }\n}, {\n d: [\".fniina8{height:0;}\", \".flykjtj{margin-top:-28px;}\", \".fk73vx1{opacity:0;}\", \".f1p9o1ba{overflow-x:hidden;}\", \".f1sil6mw{overflow-y:hidden;}\", \".f1euv43f{position:absolute;}\", \".f3tsq5r{width:0;}\", \".f5f2jbu{animation-duration:0.367s;}\", \".fywypte{animation-fill-mode:both;}\", \".f1h56eac{animation-name:f199e34v,f18895iq,fhwv0sk;}\", \".f1ee2ue{animation-timing-function:cubic-bezier(.1,.9,.2,1);}\"],\n k: [\"@keyframes f199e34v{from{opacity:1;}to{opacity:0;visibility:hidden;}}\", \"@keyframes f18895iq{from{transform:translate3d(0, 0, 0);}to{transform:translate3d(0, 20px, 0);}}\", \"@keyframes fhwv0sk{100%{height:0px;overflow-x:hidden;overflow-y:hidden;width:0px;}99.9%{height:28px;overflow-x:visible;overflow-y:visible;width:100%;}0%{height:28px;overflow-x:visible;overflow-y:visible;width:100%;}}\"]\n});\nconst useDayMarkerStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"fnggedw\",\n Bbmb7ep: [\"f1xbx3v5\", \"fh9p2o2\"],\n Beyfa6y: [\"fh9p2o2\", \"f1xbx3v5\"],\n B7oj6ja: [\"f18mldvw\", \"f3h6kr5\"],\n Btl43ni: [\"f3h6kr5\", \"f18mldvw\"],\n B5kzvoi: \"f1oq0udb\",\n Bqenvij: \"f6ywr7j\",\n oyh7mz: [\"f1vgc2s3\", \"f1e31b4d\"],\n B6of3ja: \"fgr6219\",\n t21cq0: [\"f1ujusj6\", \"fcgxt0o\"],\n jrapky: \"f10jk5vf\",\n Frg6f3: [\"fcgxt0o\", \"f1ujusj6\"],\n qhf8xq: \"f1euv43f\",\n j35jbq: [\"f1e31b4d\", \"f1vgc2s3\"],\n a9b677: \"faro0ui\",\n Bsw6fvg: \"fg374yq\",\n ycbfsm: \"fkc42ay\"\n }\n}, {\n d: [\".fnggedw{background-color:var(--colorBrandForeground2);}\", \".f1xbx3v5{border-bottom-right-radius:100%;}\", \".fh9p2o2{border-bottom-left-radius:100%;}\", \".f18mldvw{border-top-right-radius:100%;}\", \".f3h6kr5{border-top-left-radius:100%;}\", \".f1oq0udb{bottom:1px;}\", \".f6ywr7j{height:4px;}\", \".f1vgc2s3{left:0;}\", \".f1e31b4d{right:0;}\", \".fgr6219{margin-top:auto;}\", \".f1ujusj6{margin-right:auto;}\", \".fcgxt0o{margin-left:auto;}\", \".f10jk5vf{margin-bottom:auto;}\", \".f1euv43f{position:absolute;}\", \".faro0ui{width:4px;}\"],\n m: [[\"@media (forced-colors: active){.fg374yq{background-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useCornerBorderAndRadiusStyles = /*#__PURE__*/__styles({\n corners: {\n Cy64m2: [\"fgk2v8v\", \"flgychs\"],\n Bnn43bw: [\"fon8hnx\", \"f1dzb7s0\"],\n feanbc: [\"f5gufe6\", \"f6b3fnj\"],\n B4268ip: [\"fo35n0e\", \"f96pych\"]\n }\n}, {\n d: [\".fgk2v8v.fui-CalendarDayGrid__topRightCornerDate{border-top-right-radius:2px;}\", \".flgychs.fui-CalendarDayGrid__topRightCornerDate{border-top-left-radius:2px;}\", \".fon8hnx.fui-CalendarDayGrid__topLeftCornerDate{border-top-left-radius:2px;}\", \".f1dzb7s0.fui-CalendarDayGrid__topLeftCornerDate{border-top-right-radius:2px;}\", \".f5gufe6.fui-CalendarDayGrid__bottomRightCornerDate{border-bottom-right-radius:2px;}\", \".f6b3fnj.fui-CalendarDayGrid__bottomRightCornerDate{border-bottom-left-radius:2px;}\", \".fo35n0e.fui-CalendarDayGrid__bottomLeftCornerDate{border-bottom-left-radius:2px;}\", \".f96pych.fui-CalendarDayGrid__bottomLeftCornerDate{border-bottom-right-radius:2px;}\"]\n});\n/**\n * @internal\n *\n * Apply styling to the CalendarDayGrid slots based on the state\n */\nexport const useCalendarDayGridStyles_unstable = props => {\n const wrapperStyles = useWrapperStyles();\n const tableStyles = useTableStyles();\n const dayCellStyles = useDayCellStyles();\n const daySelectedStyles = useDaySelectedStyles();\n const weekRowStyles = useWeekRowStyles();\n const weekDayLabelCellStyles = useWeekDayLabelCellStyles();\n const weekNumberCellStyles = useWeekNumberCellStyles();\n const dayOutsideBoundsStyles = useDayOutsideBoundsStyles();\n const dayOutsideNavigatedMonthStyles = useDayOutsideNavigatedMonthStyles();\n const dayButtonStyles = useDayButtonStyles();\n const dayIsTodayStyles = useDayIsTodayStyles();\n const firstTransitionWeekStyles = useFirstTransitionWeekStyles();\n const lastTransitionWeekStyles = useLastTransitionWeekStyles();\n const dayMarkerStyles = useDayMarkerStyles();\n const cornerBorderAndRadiusStyles = useCornerBorderAndRadiusStyles();\n const {\n animateBackwards,\n animationDirection,\n lightenDaysOutsideNavigatedMonth,\n showWeekNumbers\n } = props;\n return {\n wrapper: mergeClasses(calendarDayGridClassNames.wrapper, wrapperStyles.base),\n table: mergeClasses(calendarDayGridClassNames.table, tableStyles.base, showWeekNumbers && tableStyles.showWeekNumbers),\n dayCell: mergeClasses(calendarDayGridClassNames.dayCell, dayCellStyles.base, cornerBorderAndRadiusStyles.corners),\n daySelected: mergeClasses(calendarDayGridClassNames.daySelected, daySelectedStyles.base),\n weekRow: mergeClasses(calendarDayGridClassNames.weekRow, animateBackwards !== undefined && weekRowStyles.base, animateBackwards !== undefined && (animationDirection === AnimationDirection.Horizontal ? animateBackwards ? weekRowStyles.horizontalBackward : weekRowStyles.horizontalForward : animateBackwards ? weekRowStyles.verticalBackward : weekRowStyles.verticalForward)),\n weekDayLabelCell: mergeClasses(calendarDayGridClassNames.weekDayLabelCell, weekDayLabelCellStyles.base),\n weekNumberCell: mergeClasses(calendarDayGridClassNames.weekNumberCell, weekNumberCellStyles.base),\n dayOutsideBounds: mergeClasses(calendarDayGridClassNames.dayOutsideBounds, dayOutsideBoundsStyles.base),\n dayOutsideNavigatedMonth: mergeClasses(calendarDayGridClassNames.dayOutsideNavigatedMonth, lightenDaysOutsideNavigatedMonth && dayOutsideNavigatedMonthStyles.lightenDaysOutsideNavigatedMonth),\n dayButton: mergeClasses(calendarDayGridClassNames.dayButton, dayButtonStyles.base),\n dayIsToday: mergeClasses(calendarDayGridClassNames.dayIsToday, dayIsTodayStyles.base),\n firstTransitionWeek: mergeClasses(calendarDayGridClassNames.firstTransitionWeek, firstTransitionWeekStyles.base, animateBackwards !== undefined && animationDirection !== AnimationDirection.Horizontal && !animateBackwards && firstTransitionWeekStyles.verticalForward),\n lastTransitionWeek: mergeClasses(calendarDayGridClassNames.lastTransitionWeek, lastTransitionWeekStyles.base, animateBackwards !== undefined && animationDirection !== AnimationDirection.Horizontal && animateBackwards && lastTransitionWeekStyles.verticalBackward),\n dayMarker: mergeClasses(calendarDayGridClassNames.dayMarker, dayMarkerStyles.base)\n };\n};\n//# sourceMappingURL=useCalendarDayGridStyles.styles.js.map"],"names":["calendarDayGridClassNames","extraCalendarDayGridClassNames","useCalendarDayGridStyles_unstable","wrapper","table","dayCell","daySelected","weekRow","weekDayLabelCell","weekNumberCell","dayOutsideBounds","dayOutsideNavigatedMonth","dayButton","dayIsToday","firstTransitionWeek","lastTransitionWeek","dayMarker","hoverStyle","pressedStyle","useWrapperStyles","__styles","base","Byoj8tv","d","useTableStyles","po53p8","Bxjg3zr","Be2twd7","B6of3ja","qhf8xq","B73mfa3","fsow6f","a9b677","showWeekNumbers","useDayCellStyles","sj55zd","Bceei9c","Bhrd7zp","Bqenvij","Bg96gwp","t21cq0","jrapky","Frg6f3","z8tnut","z189sj","uwmqm3","Bsw6fvg","Bbusuzp","cvlxnx","Bweudez","hzfqlu","Bb91d7d","dua3dm","z1p9vi","Bsnevi5","xnb59o","Bj67fi1","B2gfgcj","B6cqqer","fpurfy","Fioj4w","Bq9yiu4","cpbo2x","Bq268z6","m","useDaySelectedStyles","De3pzq","Bjwas2f","Bn1d65q","Bxeuatn","n51gp8","ycbfsm","a3nq4f","Bnf3alp","H2c3sd","qu8ld","Bg4iunc","h","useWeekRowStyles","vin17d","Bf5fcs","Ezkn3b","horizontalBackward","Bv12yb3","horizontalForward","verticalBackward","verticalForward","k","useWeekDayLabelCellStyles","useWeekNumberCellStyles","g2u3we","h3c5rm","B9xav0g","zhjwy3","Bekrc4i","vrafjx","B7ck84d","useDayOutsideBoundsStyles","x734em","B0ssf13","B8h8h5z","useDayOutsideNavigatedMonthStyles","lightenDaysOutsideNavigatedMonth","useDayButtonStyles","Bbmb7ep","Beyfa6y","B7oj6ja","Btl43ni","icvyot","oivjwe","wvpqe5","B68tc82","Bmxbyg5","Bx0yju7","l98f4w","useDayIsTodayStyles","jxbfoe","useFirstTransitionWeekStyles","abs64n","useLastTransitionWeekStyles","useDayMarkerStyles","B5kzvoi","oyh7mz","j35jbq","useCornerBorderAndRadiusStyles","corners","Cy64m2","Bnn43bw","feanbc","B4268ip","props","wrapperStyles","tableStyles","dayCellStyles","daySelectedStyles","weekRowStyles","weekDayLabelCellStyles","weekNumberCellStyles","dayOutsideBoundsStyles","dayOutsideNavigatedMonthStyles","dayButtonStyles","dayIsTodayStyles","firstTransitionWeekStyles","lastTransitionWeekStyles","dayMarkerStyles","cornerBorderAndRadiusStyles","animateBackwards","animationDirection","mergeClasses","undefined","AnimationDirection","Horizontal"],"mappings":";;;;;;;;;;;IAQaA,yBAAyB;eAAzBA;;IAmBAC,8BAA8B;eAA9BA;;IAkXAC,iCAAiC;eAAjCA;;;uBA5YsC;+BAEhB;AAK5B,MAAMF,4BAA4B;IACvCG,SAAS;IACTC,OAAO;IACPC,SAAS;IACTC,aAAa;IACbC,SAAS;IACTC,kBAAkB;IAClBC,gBAAgB;IAChBC,kBAAkB;IAClBC,0BAA0B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ACL,oBAAoBJ,0BAA0BxD,eAAe;QACzQvE,oBAAoBqI,IAAAA,mBAAY,EAACpJ,0BAA0Be,kBAAkB,EAAEgI,yBAAyB1H,IAAI,EAAE6H,qBAAqBG,aAAaF,uBAAuBG,iCAAkB,CAACC,UAAU,IAAIL,oBAAoBH,yBAAyB1D,gBAAgB;QACrQrE,WAAWoI,IAAAA,mBAAY,EAACpJ,0BAA0BgB,SAAS,EAAEgI,gBAAgB3H,IAAI;IACnF;AACF,GACA,2DAA2D"}
@@ -9,10 +9,14 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- weekCornersClassNames: ()=>weekCornersClassNames,
13
- useWeekCornerStyles: ()=>useWeekCornerStyles
12
+ weekCornersClassNames: function() {
13
+ return weekCornersClassNames;
14
+ },
15
+ useWeekCornerStyles: function() {
16
+ return useWeekCornerStyles;
17
+ }
14
18
  });
15
- const _reactSharedContexts = require("@fluentui/react-shared-contexts");
19
+ const _reactsharedcontexts = require("@fluentui/react-shared-contexts");
16
20
  const _react = require("@griffel/react");
17
21
  const _constants = require("../../utils/constants");
18
22
  const _index = require("../../utils/index");
@@ -23,7 +27,7 @@ const weekCornersClassNames = {
23
27
  bottomLeftCornerDate: 'fui-CalendarDayGrid__bottomLeftCornerDate'
24
28
  };
25
29
  function useWeekCornerStyles(props) {
26
- const { dir } = (0, _reactSharedContexts.useFluent_unstable)();
30
+ const { dir } = (0, _reactsharedcontexts.useFluent_unstable)();
27
31
  /**
28
32
  *
29
33
  * Section for setting the rounded corner styles on individual day cells. Individual day cells need different
@@ -79,7 +83,7 @@ function useWeekCornerStyles(props) {
79
83
  return (0, _react.mergeClasses)(...style);
80
84
  };
81
85
  const isInSameHoverRange = (date1, date2, date1Selected, date2Selected)=>{
82
- const { dateRangeType , firstDayOfWeek , workWeekDays } = props;
86
+ const { dateRangeType, firstDayOfWeek, workWeekDays } = props;
83
87
  // The hover state looks weird with non-contiguous days in work week view. In work week, show week hover state
84
88
  const dateRangeHoverType = dateRangeType === _constants.DateRangeType.WorkWeek ? _constants.DateRangeType.Week : dateRangeType;
85
89
  // we do not pass daysToSelectInDayView because we handle setting those styles dyanamically in onMouseOver
@@ -1 +1 @@
1
- {"version":3,"sources":["useWeekCornerStyles.styles.js"],"sourcesContent":["import { useFluent_unstable } from '@fluentui/react-shared-contexts';\nimport { mergeClasses } from '@griffel/react';\nimport { DateRangeType } from '../../utils/constants';\nimport { getDateRangeArray } from '../../utils/index';\n/**\n * @internal\n */\nexport const weekCornersClassNames = {\n topRightCornerDate: 'fui-CalendarDayGrid__topRightCornerDate',\n topLeftCornerDate: 'fui-CalendarDayGrid__topLeftCornerDate',\n bottomRightCornerDate: 'fui-CalendarDayGrid__bottomRightCornerDate',\n bottomLeftCornerDate: 'fui-CalendarDayGrid__bottomLeftCornerDate'\n};\n/**\n * @internal\n */\nexport function useWeekCornerStyles(props) {\n const {\n dir\n } = useFluent_unstable();\n /**\n *\n * Section for setting the rounded corner styles on individual day cells. Individual day cells need different\n * corners to be rounded depending on which date range type and where the cell is located in the current grid.\n * If we just round all of the corners, there isn't a good overlap and we get gaps between contiguous day boxes\n * in Edge browser.\n *\n */\n const getWeekCornerStyles = initialWeeks => {\n const weekCornersStyled = {};\n /* need to handle setting all of the corners on arbitrarily shaped blobs\n __\n __|A |\n |B |C |__\n |D |E |F |\n in this case, A needs top left rounded, top right rounded\n B needs top left rounded\n C doesn't need any rounding\n D needs bottom left rounded\n E doesn't need any rounding\n F needs top right rounding\n */ // cut off the animation transition weeks\n const weeks = initialWeeks.slice(1, initialWeeks.length - 1);\n // if there's an item above, lose both top corners. Item below, lose both bottom corners, etc.\n weeks.forEach((week, weekIndex) => {\n week.forEach((day, dayIndex) => {\n const above = weeks[weekIndex - 1] && weeks[weekIndex - 1][dayIndex] && isInSameHoverRange(weeks[weekIndex - 1][dayIndex].originalDate, day.originalDate, weeks[weekIndex - 1][dayIndex].isSelected, day.isSelected);\n const below = weeks[weekIndex + 1] && weeks[weekIndex + 1][dayIndex] && isInSameHoverRange(weeks[weekIndex + 1][dayIndex].originalDate, day.originalDate, weeks[weekIndex + 1][dayIndex].isSelected, day.isSelected);\n const left = weeks[weekIndex][dayIndex - 1] && isInSameHoverRange(weeks[weekIndex][dayIndex - 1].originalDate, day.originalDate, weeks[weekIndex][dayIndex - 1].isSelected, day.isSelected);\n const right = weeks[weekIndex][dayIndex + 1] && isInSameHoverRange(weeks[weekIndex][dayIndex + 1].originalDate, day.originalDate, weeks[weekIndex][dayIndex + 1].isSelected, day.isSelected);\n weekCornersStyled[weekIndex + '_' + dayIndex] = calculateRoundedStyles(above, below, left, right);\n });\n });\n return weekCornersStyled;\n };\n const calculateRoundedStyles = (above, below, left, right) => {\n const style = [];\n const roundedTopLeft = !above && !left;\n const roundedTopRight = !above && !right;\n const roundedBottomLeft = !below && !left;\n const roundedBottomRight = !below && !right;\n if (roundedTopLeft) {\n style.push(dir === 'rtl' ? weekCornersClassNames.topRightCornerDate : weekCornersClassNames.topLeftCornerDate);\n }\n if (roundedTopRight) {\n style.push(dir === 'rtl' ? weekCornersClassNames.topLeftCornerDate : weekCornersClassNames.topRightCornerDate);\n }\n if (roundedBottomLeft) {\n style.push(dir === 'rtl' ? weekCornersClassNames.bottomRightCornerDate : weekCornersClassNames.bottomLeftCornerDate);\n }\n if (roundedBottomRight) {\n style.push(dir === 'rtl' ? weekCornersClassNames.bottomLeftCornerDate : weekCornersClassNames.bottomRightCornerDate);\n }\n return mergeClasses(...style);\n };\n const isInSameHoverRange = (date1, date2, date1Selected, date2Selected) => {\n const {\n dateRangeType,\n firstDayOfWeek,\n workWeekDays\n } = props;\n // The hover state looks weird with non-contiguous days in work week view. In work week, show week hover state\n const dateRangeHoverType = dateRangeType === DateRangeType.WorkWeek ? DateRangeType.Week : dateRangeType;\n // we do not pass daysToSelectInDayView because we handle setting those styles dyanamically in onMouseOver\n const dateRange = getDateRangeArray(date1, dateRangeHoverType, firstDayOfWeek, workWeekDays);\n if (date1Selected !== date2Selected) {\n // if one is selected and the other is not, they can't be in the same range\n return false;\n } else if (date1Selected && date2Selected) {\n // if they're both selected at the same time they must be in the same range\n return true;\n }\n // otherwise, both must be unselected, so check the dateRange\n return dateRange.filter(date => date.getTime() === date2.getTime()).length > 0;\n };\n return [getWeekCornerStyles, calculateRoundedStyles];\n}\n//# sourceMappingURL=useWeekCornerStyles.styles.js.map"],"names":["weekCornersClassNames","useWeekCornerStyles","topRightCornerDate","topLeftCornerDate","bottomRightCornerDate","bottomLeftCornerDate","props","dir","useFluent_unstable","getWeekCornerStyles","initialWeeks","weekCornersStyled","weeks","slice","length","forEach","week","weekIndex","day","dayIndex","above","isInSameHoverRange","originalDate","isSelected","below","left","right","calculateRoundedStyles","style","roundedTopLeft","roundedTopRight","roundedBottomLeft","roundedBottomRight","push","mergeClasses","date1","date2","date1Selected","date2Selected","dateRangeType","firstDayOfWeek","workWeekDays","dateRangeHoverType","DateRangeType","WorkWeek","Week","dateRange","getDateRangeArray","filter","date","getTime"],"mappings":";;;;;;;;;;;IAOaA,qBAAqB,MAArBA;IASGC,mBAAmB,MAAnBA;;qCAhBmB;uBACN;2BACC;uBACI;AAI3B,MAAMD,wBAAwB;IACnCE,oBAAoB;IACpBC,mBAAmB;IACnBC,uBAAuB;IACvBC,sBAAsB;AACxB;AAIO,SAASJ,oBAAoBK,KAAK,EAAE;IACzC,MAAM,EACJC,IAAG,EACJ,GAAGC,IAAAA,uCAAkB;IACtB;;;;;;;EAOA,GACA,MAAMC,sBAAsBC,CAAAA,eAAgB;QAC1C,MAAMC,oBAAoB,CAAC;QAC3B;;;;;;;;;;;IAWA,GAAG,yCAAyC;QAC5C,MAAMC,QAAQF,aAAaG,KAAK,CAAC,GAAGH,aAAaI,MAAM,GAAG;QAC1D,8FAA8F;QAC9FF,MAAMG,OAAO,CAAC,CAACC,MAAMC,YAAc;YACjCD,KAAKD,OAAO,CAAC,CAACG,KAAKC,WAAa;gBAC9B,MAAMC,QAAQR,KAAK,CAACK,YAAY,EAA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luent_unstable } from '@fluentui/react-shared-contexts';\nimport { mergeClasses } from '@griffel/react';\nimport { DateRangeType } from '../../utils/constants';\nimport { getDateRangeArray } from '../../utils/index';\n/**\n * @internal\n */\nexport const weekCornersClassNames = {\n topRightCornerDate: 'fui-CalendarDayGrid__topRightCornerDate',\n topLeftCornerDate: 'fui-CalendarDayGrid__topLeftCornerDate',\n bottomRightCornerDate: 'fui-CalendarDayGrid__bottomRightCornerDate',\n bottomLeftCornerDate: 'fui-CalendarDayGrid__bottomLeftCornerDate'\n};\n/**\n * @internal\n */\nexport function useWeekCornerStyles(props) {\n const {\n dir\n } = useFluent_unstable();\n /**\n *\n * Section for setting the rounded corner styles on individual day cells. Individual day cells need different\n * corners to be rounded depending on which date range type and where the cell is located in the current grid.\n * If we just round all of the corners, there isn't a good overlap and we get gaps between contiguous day boxes\n * in Edge browser.\n *\n */\n const getWeekCornerStyles = initialWeeks => {\n const weekCornersStyled = {};\n /* need to handle setting all of the corners on arbitrarily shaped blobs\n __\n __|A |\n |B |C |__\n |D |E |F |\n in this case, A needs top left rounded, top right rounded\n B needs top left rounded\n C doesn't need any rounding\n D needs bottom left rounded\n E doesn't need any rounding\n F needs top right rounding\n */ // cut off the animation transition weeks\n const weeks = initialWeeks.slice(1, initialWeeks.length - 1);\n // if there's an item above, lose both top corners. Item below, lose both bottom corners, etc.\n weeks.forEach((week, weekIndex) => {\n week.forEach((day, dayIndex) => {\n const above = weeks[weekIndex - 1] && weeks[weekIndex - 1][dayIndex] && isInSameHoverRange(weeks[weekIndex - 1][dayIndex].originalDate, day.originalDate, weeks[weekIndex - 1][dayIndex].isSelected, day.isSelected);\n const below = weeks[weekIndex + 1] && weeks[weekIndex + 1][dayIndex] && isInSameHoverRange(weeks[weekIndex + 1][dayIndex].originalDate, day.originalDate, weeks[weekIndex + 1][dayIndex].isSelected, day.isSelected);\n const left = weeks[weekIndex][dayIndex - 1] && isInSameHoverRange(weeks[weekIndex][dayIndex - 1].originalDate, day.originalDate, weeks[weekIndex][dayIndex - 1].isSelected, day.isSelected);\n const right = weeks[weekIndex][dayIndex + 1] && isInSameHoverRange(weeks[weekIndex][dayIndex + 1].originalDate, day.originalDate, weeks[weekIndex][dayIndex + 1].isSelected, day.isSelected);\n weekCornersStyled[weekIndex + '_' + dayIndex] = calculateRoundedStyles(above, below, left, right);\n });\n });\n return weekCornersStyled;\n };\n const calculateRoundedStyles = (above, below, left, right) => {\n const style = [];\n const roundedTopLeft = !above && !left;\n const roundedTopRight = !above && !right;\n const roundedBottomLeft = !below && !left;\n const roundedBottomRight = !below && !right;\n if (roundedTopLeft) {\n style.push(dir === 'rtl' ? weekCornersClassNames.topRightCornerDate : weekCornersClassNames.topLeftCornerDate);\n }\n if (roundedTopRight) {\n style.push(dir === 'rtl' ? weekCornersClassNames.topLeftCornerDate : weekCornersClassNames.topRightCornerDate);\n }\n if (roundedBottomLeft) {\n style.push(dir === 'rtl' ? weekCornersClassNames.bottomRightCornerDate : weekCornersClassNames.bottomLeftCornerDate);\n }\n if (roundedBottomRight) {\n style.push(dir === 'rtl' ? weekCornersClassNames.bottomLeftCornerDate : weekCornersClassNames.bottomRightCornerDate);\n }\n return mergeClasses(...style);\n };\n const isInSameHoverRange = (date1, date2, date1Selected, date2Selected) => {\n const {\n dateRangeType,\n firstDayOfWeek,\n workWeekDays\n } = props;\n // The hover state looks weird with non-contiguous days in work week view. In work week, show week hover state\n const dateRangeHoverType = dateRangeType === DateRangeType.WorkWeek ? DateRangeType.Week : dateRangeType;\n // we do not pass daysToSelectInDayView because we handle setting those styles dyanamically in onMouseOver\n const dateRange = getDateRangeArray(date1, dateRangeHoverType, firstDayOfWeek, workWeekDays);\n if (date1Selected !== date2Selected) {\n // if one is selected and the other is not, they can't be in the same range\n return false;\n } else if (date1Selected && date2Selected) {\n // if they're both selected at the same time they must be in the same range\n return true;\n }\n // otherwise, both must be unselected, so check the dateRange\n return dateRange.filter(date => date.getTime() === date2.getTime()).length > 0;\n };\n return [getWeekCornerStyles, calculateRoundedStyles];\n}\n//# sourceMappingURL=useWeekCornerStyles.styles.js.map"],"names":["weekCornersClassNames","useWeekCornerStyles","topRightCornerDate","topLeftCornerDate","bottomRightCornerDate","bottomLeftCornerDate","props","dir","useFluent_unstable","getWeekCornerStyles","initialWeeks","weekCornersStyled","weeks","slice","length","forEach","week","weekIndex","day","dayIndex","above","isInSameHoverRange","originalDate","isSelected","below","left","right","calculateRoundedStyles","style","roundedTopLeft","roundedTopRight","roundedBottomLeft","roundedBottomRight","push","mergeClasses","date1","date2","date1Selected","date2Selected","dateRangeType","firstDayOfWeek","workWeekDays","dateRangeHoverType","DateRangeType","WorkWeek","Week","dateRange","getDateRangeArray","filter","date","getTime"],"mappings":";;;;;;;;;;;IAOaA,qBAAqB;eAArBA;;IASGC,mBAAmB;eAAnBA;;;qCAhBmB;uBACN;2BACC;uBACI;AAI3B,MAAMD,wBAAwB;IACnCE,oBAAoB;IACpBC,mBAAmB;IACnBC,uBAAuB;IACvBC,sBAAsB;AACxB;AAIO,SAASJ,oBAAoBK,KAAK;IACvC,MAAM,EACJC,GAAG,EACJ,GAAGC,IAAAA,uCAAkB;IACtB;;;;;;;EAOA,GACA,MAAMC,sBAAsBC,CAAAA;QAC1B,MAAMC,oBAAoB,CAAC;QAC3B;;;;;;;;;;;IAWA,GAAG,yCAAyC;QAC5C,MAAMC,QAAQF,aAAaG,KAAK,CAAC,GAAGH,aAAaI,MAAM,GAAG;QAC1D,8FAA8F;QAC9FF,MAAMG,OAAO,CAAC,CAACC,MAAMC;YACnBD,KAAKD,OAAO,CAAC,CAACG,KAAKC;gBACjB,MAAMC,QAAQR,KAAK,CAACK,YAAY,EAAE,IAAIL,KAAK,CAACK,YAAY,EAAE,CAACE,SAAS,IAAIE,mBAAmBT,KAAK,CAACK,YAAY,EAAE,CAACE,SAAS,CAACG,YAAY,EAAEJ,IAAII,YAAY,EAAEV,KAAK,CAACK,YAAY,EAAE,CAACE,SAAS,CAACI,UAAU,EAAEL,IAAIK,UAAU;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,GAAGH,sBAAsBE,kBAAkB;QAC/G;QACA,IAAI6B,mBAAmB;YACrBH,MAAMK,IAAI,CAAC1B,QAAQ,QAAQP,sBAAsBI,qBAAqB,GAAGJ,sBAAsBK,oBAAoB;QACrH;QACA,IAAI2B,oBAAoB;YACtBJ,MAAMK,IAAI,CAAC1B,QAAQ,QAAQP,sBAAsBK,oBAAoB,GAAGL,sBAAsBI,qBAAqB;QACrH;QACA,OAAO8B,IAAAA,mBAAY,KAAIN;IACzB;IACA,MAAMP,qBAAqB,CAACc,OAAOC,OAAOC,eAAeC;QACvD,MAAM,EACJC,aAAa,EACbC,cAAc,EACdC,YAAY,EACb,GAAGnC;QACJ,8GAA8G;QAC9G,MAAMoC,qBAAqBH,kBAAkBI,wBAAa,CAACC,QAAQ,GAAGD,wBAAa,CAACE,IAAI,GAAGN;QAC3F,0GAA0G;QAC1G,MAAMO,YAAYC,IAAAA,wBAAiB,EAACZ,OAAOO,oBAAoBF,gBAAgBC;QAC/E,IAAIJ,kBAAkBC,eAAe;YACnC,2EAA2E;YAC3E,OAAO;QACT,OAAO,IAAID,iBAAiBC,eAAe;YACzC,2EAA2E;YAC3E,OAAO;QACT;QACA,6DAA6D;QAC7D,OAAOQ,UAAUE,MAAM,CAACC,CAAAA,OAAQA,KAAKC,OAAO,OAAOd,MAAMc,OAAO,IAAIpC,MAAM,GAAG;IAC/E;IACA,OAAO;QAACL;QAAqBkB;KAAuB;AACtD,EACA,sDAAsD"}
@@ -4,21 +4,23 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, "useWeeks", {
6
6
  enumerable: true,
7
- get: ()=>useWeeks
7
+ get: function() {
8
+ return useWeeks;
9
+ }
8
10
  });
9
- const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
10
- const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
11
+ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
12
+ const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
11
13
  const _index = require("../../utils/index");
12
14
  function useWeeks(props, onSelectDate, getSetRefCallback) {
13
15
  /**
14
16
  * Initial parsing of the given props to generate IDayInfo two dimensional array, which contains a representation
15
17
  * of every day in the grid. Convenient for helping with conversions between day refs and Date objects in callbacks.
16
18
  */ const weeks = _react.useMemo(()=>{
17
- var _props_getMarkedDays;
19
+ var _props_getMarkedDays, _props;
18
20
  const weeksGrid = (0, _index.getDayGrid)(props);
19
21
  const firstVisibleDay = weeksGrid[1][0].originalDate;
20
22
  const lastVisibleDay = weeksGrid[weeksGrid.length - 1][6].originalDate;
21
- const markedDays = ((_props_getMarkedDays = props.getMarkedDays) === null || _props_getMarkedDays === void 0 ? void 0 : _props_getMarkedDays.call(props, firstVisibleDay, lastVisibleDay)) || [];
23
+ const markedDays = ((_props_getMarkedDays = (_props = props).getMarkedDays) === null || _props_getMarkedDays === void 0 ? void 0 : _props_getMarkedDays.call(_props, firstVisibleDay, lastVisibleDay)) || [];
22
24
  /**
23
25
  * Weeks is a 2D array. Weeks[0] contains the last week of the prior range,
24
26
  * Weeks[weeks.length - 1] contains first week of next range. These are for transition states.
@@ -28,12 +30,13 @@ function useWeeks(props, onSelectDate, getSetRefCallback) {
28
30
  for(let weekIndex = 0; weekIndex < weeksGrid.length; weekIndex++){
29
31
  const week = [];
30
32
  for(let dayIndex = 0; dayIndex < _index.DAYS_IN_WEEK; dayIndex++){
33
+ var _markedDays;
31
34
  const day = weeksGrid[weekIndex][dayIndex];
32
35
  const dayInfo = {
33
36
  onSelected: ()=>onSelectDate(day.originalDate),
34
37
  setRef: getSetRefCallback(day.key),
35
38
  ...day,
36
- isMarked: day.isMarked || (markedDays === null || markedDays === void 0 ? void 0 : markedDays.some((markedDay)=>(0, _index.compareDates)(day.originalDate, markedDay)))
39
+ isMarked: day.isMarked || ((_markedDays = markedDays) === null || _markedDays === void 0 ? void 0 : _markedDays.some((markedDay)=>(0, _index.compareDates)(day.originalDate, markedDay)))
37
40
  };
38
41
  week.push(dayInfo);
39
42
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["useWeeks.js"],"sourcesContent":["import * as React from 'react';\nimport { compareDates, DAYS_IN_WEEK, getDayGrid } from '../../utils/index';\n/**\n * @internal\n */ export function useWeeks(props, onSelectDate, getSetRefCallback) {\n /**\n * Initial parsing of the given props to generate IDayInfo two dimensional array, which contains a representation\n * of every day in the grid. Convenient for helping with conversions between day refs and Date objects in callbacks.\n */ const weeks = React.useMemo(()=>{\n var _props_getMarkedDays;\n const weeksGrid = getDayGrid(props);\n const firstVisibleDay = weeksGrid[1][0].originalDate;\n const lastVisibleDay = weeksGrid[weeksGrid.length - 1][6].originalDate;\n const markedDays = ((_props_getMarkedDays = props.getMarkedDays) === null || _props_getMarkedDays === void 0 ? void 0 : _props_getMarkedDays.call(props, firstVisibleDay, lastVisibleDay)) || [];\n /**\n * Weeks is a 2D array. Weeks[0] contains the last week of the prior range,\n * Weeks[weeks.length - 1] contains first week of next range. These are for transition states.\n *\n * Weeks[1... weeks.length - 2] contains the actual visible data\n */ const returnValue = [];\n for(let weekIndex = 0; weekIndex < weeksGrid.length; weekIndex++){\n const week = [];\n for(let dayIndex = 0; dayIndex < DAYS_IN_WEEK; dayIndex++){\n const day = weeksGrid[weekIndex][dayIndex];\n const dayInfo = {\n onSelected: ()=>onSelectDate(day.originalDate),\n setRef: getSetRefCallback(day.key),\n ...day,\n isMarked: day.isMarked || (markedDays === null || markedDays === void 0 ? void 0 : markedDays.some((markedDay)=>compareDates(day.originalDate, markedDay)))\n };\n week.push(dayInfo);\n }\n returnValue.push(week);\n }\n return returnValue;\n // TODO: this is missing deps on getSetRefCallback and onSelectDate (and depending on the entire\n // props object may not be a good idea due to likely frequent mutation). It would be easy to\n // fix getSetRefCallback to not mutate every render, but onSelectDate is passed down from\n // Calendar and trying to fix it requires a huge cascade of changes.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n props\n ]);\n return weeks;\n}\n"],"names":["useWeeks","props","onSelectDate","getSetRefCallback","weeks","React","useMemo","_props_getMarkedDays","weeksGrid","getDayGrid","firstVisibleDay","originalDate","lastVisibleDay","length","markedDays","getMarkedDays","call","returnValue","weekIndex","week","dayIndex","DAYS_IN_WEEK","day","dayInfo","onSelected","setRef","key","isMarked","some","markedDay","compareDates","push"],"mappings":";;;;+BAIoBA;;aAAAA;;;6DAJG;uBACgC;AAG5C,SAASA,SAASC,KAAK,EAAEC,YAAY,EAAEC,iBAAiB,EAAE;IACjE;;;GAGD,GAAG,MAAMC,QAAQC,OAAMC,OAAO,CAAC,IAAI;QAC9B,IAAIC;QACJ,MAAMC,YAAYC,IAAAA,iBAAU,EAACR;QAC7B,MAAMS,kBAAkBF,SAAS,CAAC,EAAE,CAAC,EAAE,CAACG,YAAY;QACpD,MAAMC,iBAAiBJ,SAAS,CAACA,UAAUK,MAAM,GAAG,EAAE,CAAC,EAAE,CAACF,YAAY;QACtE,MAAMG,aAAa,AAAC,CAAA,AAACP,CAAAA,uBAAuBN,MAAMc,aAAa,AAAD,MAAO,IAAI,IAAIR,yBAAyB,KAAK,IAAI,KAAK,IAAIA,qBAAqBS,IAAI,CAACf,OAAOS,iBAAiBE,eAAe,AAAD,KAAM,EAAE;QAChM;;;;;KAKH,GAAG,MAAMK,cAAc,EAAE;QACtB,IAAI,IAAIC,YAAY,GAAGA,YAAYV,UAAUK,MAAM,EAAEK,YAAY;YAC7D,MAAMC,OAAO,EAAE;YACf,IAAI,IAAIC,WAAW,GAAGA,WAAWC,mBAAY,EAAED,WAAW;gBACtD,MAAME,MAAMd,SAAS,CAACU,UAAU,CAACE,SAAS;gBAC1C,MAAMG,UAAU;oBACZC,YAAY,IAAItB,aAAaoB,IAAIX,YAAY;oBAC7Cc,QAAQtB,kBAAkBmB,IAAII,GAAG;oBACjC,GAAGJ,GAAG;oBACNK,UAAUL,IAAIK,QAAQ,IAAKb,CAAAA,eAAe,IAAI,IAAIA,eAAe,KAAK,IAAI,KAAK,IAAIA,WAAWc,IAAI,CAAC,CAACC,YAAYC,IAAAA,mBAAY,EAACR,IAAIX,YAAY,EAAEkB,WAAW,AAAD;gBAC7J;gBACAV,KAAKY,IAAI,CAACR;YACd;YACAN,YAAYc,IAAI,CAACZ;QACrB;QACA,OAAOF;IACX,gGAAgG;IAChG,4FAA4F;IAC5F,yFAAyF;IACzF,oEAAoE;IACpE,uDAAuD;IACvD,GAAG;QACChB;KACH;IACD,OAAOG;AACX"}
1
+ {"version":3,"sources":["useWeeks.js"],"sourcesContent":["import * as React from 'react';\nimport { compareDates, DAYS_IN_WEEK, getDayGrid } from '../../utils/index';\n/**\n * @internal\n */ export function useWeeks(props, onSelectDate, getSetRefCallback) {\n /**\n * Initial parsing of the given props to generate IDayInfo two dimensional array, which contains a representation\n * of every day in the grid. Convenient for helping with conversions between day refs and Date objects in callbacks.\n */ const weeks = React.useMemo(()=>{\n var _props_getMarkedDays, _props;\n const weeksGrid = getDayGrid(props);\n const firstVisibleDay = weeksGrid[1][0].originalDate;\n const lastVisibleDay = weeksGrid[weeksGrid.length - 1][6].originalDate;\n const markedDays = ((_props_getMarkedDays = (_props = props).getMarkedDays) === null || _props_getMarkedDays === void 0 ? void 0 : _props_getMarkedDays.call(_props, firstVisibleDay, lastVisibleDay)) || [];\n /**\n * Weeks is a 2D array. Weeks[0] contains the last week of the prior range,\n * Weeks[weeks.length - 1] contains first week of next range. These are for transition states.\n *\n * Weeks[1... weeks.length - 2] contains the actual visible data\n */ const returnValue = [];\n for(let weekIndex = 0; weekIndex < weeksGrid.length; weekIndex++){\n const week = [];\n for(let dayIndex = 0; dayIndex < DAYS_IN_WEEK; dayIndex++){\n var _markedDays;\n const day = weeksGrid[weekIndex][dayIndex];\n const dayInfo = {\n onSelected: ()=>onSelectDate(day.originalDate),\n setRef: getSetRefCallback(day.key),\n ...day,\n isMarked: day.isMarked || ((_markedDays = markedDays) === null || _markedDays === void 0 ? void 0 : _markedDays.some((markedDay)=>compareDates(day.originalDate, markedDay)))\n };\n week.push(dayInfo);\n }\n returnValue.push(week);\n }\n return returnValue;\n // TODO: this is missing deps on getSetRefCallback and onSelectDate (and depending on the entire\n // props object may not be a good idea due to likely frequent mutation). It would be easy to\n // fix getSetRefCallback to not mutate every render, but onSelectDate is passed down from\n // Calendar and trying to fix it requires a huge cascade of changes.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n props\n ]);\n return weeks;\n}\n"],"names":["useWeeks","props","onSelectDate","getSetRefCallback","weeks","React","useMemo","_props_getMarkedDays","_props","weeksGrid","getDayGrid","firstVisibleDay","originalDate","lastVisibleDay","length","markedDays","getMarkedDays","call","returnValue","weekIndex","week","dayIndex","DAYS_IN_WEEK","_markedDays","day","dayInfo","onSelected","setRef","key","isMarked","some","markedDay","compareDates","push"],"mappings":";;;;+BAIoBA;;;eAAAA;;;;iEAJG;uBACgC;AAG5C,SAASA,SAASC,KAAK,EAAEC,YAAY,EAAEC,iBAAiB;IAC/D;;;GAGD,GAAG,MAAMC,QAAQC,OAAMC,OAAO,CAAC;QAC1B,IAAIC,sBAAsBC;QAC1B,MAAMC,YAAYC,IAAAA,iBAAU,EAACT;QAC7B,MAAMU,kBAAkBF,SAAS,CAAC,EAAE,CAAC,EAAE,CAACG,YAAY;QACpD,MAAMC,iBAAiBJ,SAAS,CAACA,UAAUK,MAAM,GAAG,EAAE,CAAC,EAAE,CAACF,YAAY;QACtE,MAAMG,aAAa,AAAC,CAAA,AAACR,CAAAA,uBAAuB,AAACC,CAAAA,SAASP,KAAI,EAAGe,aAAa,AAAD,MAAO,QAAQT,yBAAyB,KAAK,IAAI,KAAK,IAAIA,qBAAqBU,IAAI,CAACT,QAAQG,iBAAiBE,eAAc,KAAM,EAAE;QAC5M;;;;;KAKH,GAAG,MAAMK,cAAc,EAAE;QACtB,IAAI,IAAIC,YAAY,GAAGA,YAAYV,UAAUK,MAAM,EAAEK,YAAY;YAC7D,MAAMC,OAAO,EAAE;YACf,IAAI,IAAIC,WAAW,GAAGA,WAAWC,mB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