@fluentui/react-calendar-compat 0.4.4 → 0.4.6

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 (237) hide show
  1. package/CHANGELOG.md +30 -2
  2. package/dist/index.d.cts +1426 -0
  3. package/lib/Calendar.js +1 -1
  4. package/lib/Calendar.js.map +1 -1
  5. package/lib/CalendarDay.js +1 -1
  6. package/lib/CalendarDay.js.map +1 -1
  7. package/lib/CalendarDayGrid.js +1 -1
  8. package/lib/CalendarDayGrid.js.map +1 -1
  9. package/lib/CalendarMonth.js +1 -1
  10. package/lib/CalendarMonth.js.map +1 -1
  11. package/lib/CalendarPicker.js +1 -1
  12. package/lib/CalendarPicker.js.map +1 -1
  13. package/lib/CalendarYear.js +1 -1
  14. package/lib/CalendarYear.js.map +1 -1
  15. package/lib/components/Calendar/Calendar.js +9 -9
  16. package/lib/components/Calendar/Calendar.js.map +1 -1
  17. package/lib/components/Calendar/calendarNavigationIcons.js +2 -2
  18. package/lib/components/Calendar/defaults.js +1 -1
  19. package/lib/components/Calendar/defaults.js.map +1 -1
  20. package/lib/components/Calendar/index.js +4 -4
  21. package/lib/components/Calendar/index.js.map +1 -1
  22. package/lib/components/Calendar/useCalendarStyles.styles.js +2 -2
  23. package/lib/components/Calendar/useCalendarStyles.styles.js.map +1 -1
  24. package/lib/components/Calendar/useCalendarStyles.styles.raw.js +2 -2
  25. package/lib/components/CalendarDay/CalendarDay.js +7 -7
  26. package/lib/components/CalendarDay/CalendarDay.js.map +1 -1
  27. package/lib/components/CalendarDay/index.js +2 -2
  28. package/lib/components/CalendarDay/index.js.map +1 -1
  29. package/lib/components/CalendarDay/useCalendarDayStyles.styles.js +2 -2
  30. package/lib/components/CalendarDay/useCalendarDayStyles.styles.js.map +1 -1
  31. package/lib/components/CalendarDay/useCalendarDayStyles.styles.raw.js +2 -2
  32. package/lib/components/CalendarDayGrid/CalendarDayGrid.js +12 -12
  33. package/lib/components/CalendarDayGrid/CalendarDayGrid.js.map +1 -1
  34. package/lib/components/CalendarDayGrid/CalendarGridDayCell.js +8 -8
  35. package/lib/components/CalendarDayGrid/CalendarGridDayCell.js.map +1 -1
  36. package/lib/components/CalendarDayGrid/CalendarGridRow.js +3 -3
  37. package/lib/components/CalendarDayGrid/CalendarGridRow.js.map +1 -1
  38. package/lib/components/CalendarDayGrid/CalendarMonthHeaderRow.js +5 -5
  39. package/lib/components/CalendarDayGrid/CalendarMonthHeaderRow.js.map +1 -1
  40. package/lib/components/CalendarDayGrid/index.js +2 -2
  41. package/lib/components/CalendarDayGrid/index.js.map +1 -1
  42. package/lib/components/CalendarDayGrid/useCalendarDayGridStyles.styles.js +4 -4
  43. package/lib/components/CalendarDayGrid/useCalendarDayGridStyles.styles.js.map +1 -1
  44. package/lib/components/CalendarDayGrid/useCalendarDayGridStyles.styles.raw.js +4 -4
  45. package/lib/components/CalendarDayGrid/useCalendarDayGridStyles.styles.raw.js.map +1 -1
  46. package/lib/components/CalendarDayGrid/useWeekCornerStyles.styles.js +4 -4
  47. package/lib/components/CalendarDayGrid/useWeekCornerStyles.styles.js.map +1 -1
  48. package/lib/components/CalendarDayGrid/useWeekCornerStyles.styles.raw.js +4 -4
  49. package/lib/components/CalendarDayGrid/useWeekCornerStyles.styles.raw.js.map +1 -1
  50. package/lib/components/CalendarDayGrid/useWeeks.js +2 -2
  51. package/lib/components/CalendarDayGrid/useWeeks.js.map +1 -1
  52. package/lib/components/CalendarMonth/CalendarMonth.js +9 -9
  53. package/lib/components/CalendarMonth/CalendarMonth.js.map +1 -1
  54. package/lib/components/CalendarMonth/index.js +2 -2
  55. package/lib/components/CalendarMonth/index.js.map +1 -1
  56. package/lib/components/CalendarMonth/useCalendarMonthStyles.styles.js +1 -1
  57. package/lib/components/CalendarMonth/useCalendarMonthStyles.styles.js.map +1 -1
  58. package/lib/components/CalendarMonth/useCalendarMonthStyles.styles.raw.js +1 -1
  59. package/lib/components/CalendarMonth/useCalendarMonthStyles.styles.raw.js.map +1 -1
  60. package/lib/components/CalendarPicker/index.js +1 -1
  61. package/lib/components/CalendarPicker/index.js.map +1 -1
  62. package/lib/components/CalendarPicker/useCalendarPickerStyles.styles.js +2 -2
  63. package/lib/components/CalendarPicker/useCalendarPickerStyles.styles.js.map +1 -1
  64. package/lib/components/CalendarPicker/useCalendarPickerStyles.styles.raw.js +2 -2
  65. package/lib/components/CalendarYear/CalendarYear.js +6 -6
  66. package/lib/components/CalendarYear/CalendarYear.js.map +1 -1
  67. package/lib/components/CalendarYear/index.js +2 -2
  68. package/lib/components/CalendarYear/index.js.map +1 -1
  69. package/lib/components/CalendarYear/useCalendarYearStyles.styles.js +1 -1
  70. package/lib/components/CalendarYear/useCalendarYearStyles.styles.js.map +1 -1
  71. package/lib/components/CalendarYear/useCalendarYearStyles.styles.raw.js +1 -1
  72. package/lib/components/CalendarYear/useCalendarYearStyles.styles.raw.js.map +1 -1
  73. package/lib/index.js +7 -7
  74. package/lib/index.js.map +1 -1
  75. package/lib/utils/animations.js +1 -1
  76. package/lib/utils/calendarMotions.js +5 -5
  77. package/lib/utils/calendarMotions.js.map +1 -1
  78. package/lib/utils/dateFormatting/index.js +1 -1
  79. package/lib/utils/dateFormatting/index.js.map +1 -1
  80. package/lib/utils/dateGrid/findAvailableDate.js +4 -4
  81. package/lib/utils/dateGrid/findAvailableDate.js.map +1 -1
  82. package/lib/utils/dateGrid/getBoundedDateRange.js +1 -1
  83. package/lib/utils/dateGrid/getBoundedDateRange.js.map +1 -1
  84. package/lib/utils/dateGrid/getDateRangeTypeToUse.js +2 -2
  85. package/lib/utils/dateGrid/getDateRangeTypeToUse.js.map +1 -1
  86. package/lib/utils/dateGrid/getDayGrid.js +5 -5
  87. package/lib/utils/dateGrid/getDayGrid.js.map +1 -1
  88. package/lib/utils/dateGrid/index.js +4 -4
  89. package/lib/utils/dateGrid/index.js.map +1 -1
  90. package/lib/utils/dateGrid/isAfterMaxDate.js +1 -1
  91. package/lib/utils/dateGrid/isAfterMaxDate.js.map +1 -1
  92. package/lib/utils/dateGrid/isBeforeMinDate.js +1 -1
  93. package/lib/utils/dateGrid/isBeforeMinDate.js.map +1 -1
  94. package/lib/utils/dateGrid/isRestrictedDate.js +3 -3
  95. package/lib/utils/dateGrid/isRestrictedDate.js.map +1 -1
  96. package/lib/utils/dateMath/dateMath.js +1 -1
  97. package/lib/utils/dateMath/dateMath.js.map +1 -1
  98. package/lib/utils/dateMath/index.js +1 -1
  99. package/lib/utils/dateMath/index.js.map +1 -1
  100. package/lib/utils/index.js +6 -6
  101. package/lib/utils/index.js.map +1 -1
  102. package/lib-commonjs/{Calendar.js → Calendar.cjs} +1 -1
  103. package/lib-commonjs/{Calendar.js.map → Calendar.cjs.map} +1 -1
  104. package/lib-commonjs/{CalendarDay.js → CalendarDay.cjs} +1 -1
  105. package/lib-commonjs/{CalendarDay.js.map → CalendarDay.cjs.map} +1 -1
  106. package/lib-commonjs/{CalendarDayGrid.js → CalendarDayGrid.cjs} +1 -1
  107. package/lib-commonjs/{CalendarDayGrid.js.map → CalendarDayGrid.cjs.map} +1 -1
  108. package/lib-commonjs/{CalendarMonth.js → CalendarMonth.cjs} +1 -1
  109. package/lib-commonjs/{CalendarMonth.js.map → CalendarMonth.cjs.map} +1 -1
  110. package/lib-commonjs/{CalendarPicker.js → CalendarPicker.cjs} +1 -1
  111. package/lib-commonjs/{CalendarPicker.js.map → CalendarPicker.cjs.map} +1 -1
  112. package/lib-commonjs/{CalendarYear.js → CalendarYear.cjs} +1 -1
  113. package/lib-commonjs/{CalendarYear.js.map → CalendarYear.cjs.map} +1 -1
  114. package/lib-commonjs/components/Calendar/{Calendar.js → Calendar.cjs} +17 -17
  115. package/lib-commonjs/components/Calendar/{Calendar.js.map → Calendar.cjs.map} +1 -1
  116. package/lib-commonjs/components/Calendar/{defaults.js → defaults.cjs} +2 -2
  117. package/lib-commonjs/components/Calendar/{defaults.js.map → defaults.cjs.map} +1 -1
  118. package/lib-commonjs/components/Calendar/{index.js → index.cjs} +4 -4
  119. package/lib-commonjs/components/Calendar/{index.js.map → index.cjs.map} +1 -1
  120. package/lib-commonjs/components/Calendar/useCalendarStyles.styles.cjs.map +1 -0
  121. package/lib-commonjs/components/CalendarDay/{CalendarDay.js → CalendarDay.cjs} +10 -10
  122. package/lib-commonjs/components/CalendarDay/{CalendarDay.js.map → CalendarDay.cjs.map} +1 -1
  123. package/lib-commonjs/components/CalendarDay/{index.js → index.cjs} +2 -2
  124. package/lib-commonjs/components/CalendarDay/{index.js.map → index.cjs.map} +1 -1
  125. package/lib-commonjs/components/CalendarDay/useCalendarDayStyles.styles.cjs.map +1 -0
  126. package/lib-commonjs/components/CalendarDayGrid/{CalendarDayGrid.js → CalendarDayGrid.cjs} +14 -14
  127. package/lib-commonjs/components/CalendarDayGrid/{CalendarDayGrid.js.map → CalendarDayGrid.cjs.map} +1 -1
  128. package/lib-commonjs/components/CalendarDayGrid/{CalendarGridDayCell.js → CalendarGridDayCell.cjs} +13 -13
  129. package/lib-commonjs/components/CalendarDayGrid/{CalendarGridDayCell.js.map → CalendarGridDayCell.cjs.map} +1 -1
  130. package/lib-commonjs/components/CalendarDayGrid/{CalendarGridRow.js → CalendarGridRow.cjs} +3 -3
  131. package/lib-commonjs/components/CalendarDayGrid/{CalendarGridRow.js.map → CalendarGridRow.cjs.map} +1 -1
  132. package/lib-commonjs/components/CalendarDayGrid/{CalendarMonthHeaderRow.js → CalendarMonthHeaderRow.cjs} +3 -3
  133. package/lib-commonjs/components/CalendarDayGrid/{CalendarMonthHeaderRow.js.map → CalendarMonthHeaderRow.cjs.map} +1 -1
  134. package/lib-commonjs/components/CalendarDayGrid/{index.js → index.cjs} +2 -2
  135. package/lib-commonjs/components/CalendarDayGrid/{index.js.map → index.cjs.map} +1 -1
  136. package/lib-commonjs/components/CalendarDayGrid/useCalendarDayGridStyles.styles.cjs.map +1 -0
  137. package/lib-commonjs/components/CalendarDayGrid/{useCalendarDayGridStyles.styles.raw.js → useCalendarDayGridStyles.styles.raw.cjs} +1 -1
  138. package/lib-commonjs/components/CalendarDayGrid/{useCalendarDayGridStyles.styles.raw.js.map → useCalendarDayGridStyles.styles.raw.cjs.map} +1 -1
  139. package/lib-commonjs/components/CalendarDayGrid/{useWeekCornerStyles.styles.js → useWeekCornerStyles.styles.cjs} +2 -2
  140. package/lib-commonjs/components/CalendarDayGrid/useWeekCornerStyles.styles.cjs.map +1 -0
  141. package/lib-commonjs/components/CalendarDayGrid/{useWeekCornerStyles.styles.raw.js → useWeekCornerStyles.styles.raw.cjs} +2 -2
  142. package/lib-commonjs/components/CalendarDayGrid/{useWeekCornerStyles.styles.raw.js.map → useWeekCornerStyles.styles.raw.cjs.map} +1 -1
  143. package/lib-commonjs/components/CalendarDayGrid/{useWeeks.js → useWeeks.cjs} +1 -1
  144. package/lib-commonjs/components/CalendarDayGrid/{useWeeks.js.map → useWeeks.cjs.map} +1 -1
  145. package/lib-commonjs/components/CalendarMonth/{CalendarMonth.js → CalendarMonth.cjs} +17 -17
  146. package/lib-commonjs/components/CalendarMonth/{CalendarMonth.js.map → CalendarMonth.cjs.map} +1 -1
  147. package/lib-commonjs/components/CalendarMonth/{index.js → index.cjs} +2 -2
  148. package/lib-commonjs/components/CalendarMonth/{index.js.map → index.cjs.map} +1 -1
  149. package/lib-commonjs/components/CalendarMonth/{useCalendarMonthStyles.styles.js → useCalendarMonthStyles.styles.cjs} +1 -1
  150. package/lib-commonjs/components/CalendarMonth/useCalendarMonthStyles.styles.cjs.map +1 -0
  151. package/lib-commonjs/components/CalendarMonth/{useCalendarMonthStyles.styles.raw.js → useCalendarMonthStyles.styles.raw.cjs} +1 -1
  152. package/lib-commonjs/components/CalendarMonth/{useCalendarMonthStyles.styles.raw.js.map → useCalendarMonthStyles.styles.raw.cjs.map} +1 -1
  153. package/lib-commonjs/components/CalendarPicker/{index.js → index.cjs} +1 -1
  154. package/lib-commonjs/components/CalendarPicker/{index.js.map → index.cjs.map} +1 -1
  155. package/lib-commonjs/components/CalendarPicker/useCalendarPickerStyles.styles.cjs.map +1 -0
  156. package/lib-commonjs/components/CalendarYear/{CalendarYear.js → CalendarYear.cjs} +2 -2
  157. package/lib-commonjs/components/CalendarYear/{CalendarYear.js.map → CalendarYear.cjs.map} +1 -1
  158. package/lib-commonjs/components/CalendarYear/{index.js → index.cjs} +2 -2
  159. package/lib-commonjs/components/CalendarYear/{index.js.map → index.cjs.map} +1 -1
  160. package/lib-commonjs/components/CalendarYear/{useCalendarYearStyles.styles.js → useCalendarYearStyles.styles.cjs} +1 -1
  161. package/lib-commonjs/components/CalendarYear/useCalendarYearStyles.styles.cjs.map +1 -0
  162. package/lib-commonjs/components/CalendarYear/{useCalendarYearStyles.styles.raw.js → useCalendarYearStyles.styles.raw.cjs} +1 -1
  163. package/lib-commonjs/components/CalendarYear/{useCalendarYearStyles.styles.raw.js.map → useCalendarYearStyles.styles.raw.cjs.map} +1 -1
  164. package/lib-commonjs/{index.js → index.cjs} +34 -34
  165. package/lib-commonjs/{index.js.map → index.cjs.map} +1 -1
  166. package/lib-commonjs/utils/{calendarMotions.js → calendarMotions.cjs} +1 -1
  167. package/lib-commonjs/utils/{calendarMotions.js.map → calendarMotions.cjs.map} +1 -1
  168. package/lib-commonjs/utils/dateFormatting/{index.js → index.cjs} +1 -1
  169. package/lib-commonjs/utils/dateFormatting/{index.js.map → index.cjs.map} +1 -1
  170. package/lib-commonjs/utils/dateGrid/{findAvailableDate.js → findAvailableDate.cjs} +4 -4
  171. package/lib-commonjs/utils/dateGrid/{findAvailableDate.js.map → findAvailableDate.cjs.map} +1 -1
  172. package/lib-commonjs/utils/dateGrid/{getBoundedDateRange.js → getBoundedDateRange.cjs} +1 -1
  173. package/lib-commonjs/utils/dateGrid/{getBoundedDateRange.js.map → getBoundedDateRange.cjs.map} +1 -1
  174. package/lib-commonjs/utils/dateGrid/{getDateRangeTypeToUse.js → getDateRangeTypeToUse.cjs} +2 -2
  175. package/lib-commonjs/utils/dateGrid/{getDateRangeTypeToUse.js.map → getDateRangeTypeToUse.cjs.map} +1 -1
  176. package/lib-commonjs/utils/dateGrid/{getDayGrid.js → getDayGrid.cjs} +5 -5
  177. package/lib-commonjs/utils/dateGrid/{getDayGrid.js.map → getDayGrid.cjs.map} +1 -1
  178. package/lib-commonjs/utils/dateGrid/{index.js → index.cjs} +4 -4
  179. package/lib-commonjs/utils/dateGrid/{index.js.map → index.cjs.map} +1 -1
  180. package/lib-commonjs/utils/dateGrid/{isAfterMaxDate.js → isAfterMaxDate.cjs} +1 -1
  181. package/lib-commonjs/utils/dateGrid/{isAfterMaxDate.js.map → isAfterMaxDate.cjs.map} +1 -1
  182. package/lib-commonjs/utils/dateGrid/{isBeforeMinDate.js → isBeforeMinDate.cjs} +1 -1
  183. package/lib-commonjs/utils/dateGrid/{isBeforeMinDate.js.map → isBeforeMinDate.cjs.map} +1 -1
  184. package/lib-commonjs/utils/dateGrid/{isRestrictedDate.js → isRestrictedDate.cjs} +3 -3
  185. package/lib-commonjs/utils/dateGrid/{isRestrictedDate.js.map → isRestrictedDate.cjs.map} +1 -1
  186. package/lib-commonjs/utils/dateMath/{dateMath.js → dateMath.cjs} +1 -1
  187. package/lib-commonjs/utils/dateMath/{dateMath.js.map → dateMath.cjs.map} +1 -1
  188. package/lib-commonjs/utils/dateMath/{index.js → index.cjs} +1 -1
  189. package/lib-commonjs/utils/dateMath/{index.js.map → index.cjs.map} +1 -1
  190. package/lib-commonjs/utils/{index.js → index.cjs} +36 -36
  191. package/lib-commonjs/utils/{index.js.map → index.cjs.map} +1 -1
  192. package/package.json +25 -19
  193. package/lib-commonjs/components/Calendar/useCalendarStyles.styles.js.map +0 -1
  194. package/lib-commonjs/components/CalendarDay/useCalendarDayStyles.styles.js.map +0 -1
  195. package/lib-commonjs/components/CalendarDayGrid/useCalendarDayGridStyles.styles.js.map +0 -1
  196. package/lib-commonjs/components/CalendarDayGrid/useWeekCornerStyles.styles.js.map +0 -1
  197. package/lib-commonjs/components/CalendarMonth/useCalendarMonthStyles.styles.js.map +0 -1
  198. package/lib-commonjs/components/CalendarPicker/useCalendarPickerStyles.styles.js.map +0 -1
  199. package/lib-commonjs/components/CalendarYear/useCalendarYearStyles.styles.js.map +0 -1
  200. /package/lib-commonjs/components/Calendar/{Calendar.types.js → Calendar.types.cjs} +0 -0
  201. /package/lib-commonjs/components/Calendar/{Calendar.types.js.map → Calendar.types.cjs.map} +0 -0
  202. /package/lib-commonjs/components/Calendar/{calendarNavigationIcons.js → calendarNavigationIcons.cjs} +0 -0
  203. /package/lib-commonjs/components/Calendar/{calendarNavigationIcons.js.map → calendarNavigationIcons.cjs.map} +0 -0
  204. /package/lib-commonjs/components/Calendar/{useCalendarStyles.styles.js → useCalendarStyles.styles.cjs} +0 -0
  205. /package/lib-commonjs/components/Calendar/{useCalendarStyles.styles.raw.js → useCalendarStyles.styles.raw.cjs} +0 -0
  206. /package/lib-commonjs/components/Calendar/{useCalendarStyles.styles.raw.js.map → useCalendarStyles.styles.raw.cjs.map} +0 -0
  207. /package/lib-commonjs/components/CalendarDay/{CalendarDay.types.js → CalendarDay.types.cjs} +0 -0
  208. /package/lib-commonjs/components/CalendarDay/{CalendarDay.types.js.map → CalendarDay.types.cjs.map} +0 -0
  209. /package/lib-commonjs/components/CalendarDay/{useCalendarDayStyles.styles.js → useCalendarDayStyles.styles.cjs} +0 -0
  210. /package/lib-commonjs/components/CalendarDay/{useCalendarDayStyles.styles.raw.js → useCalendarDayStyles.styles.raw.cjs} +0 -0
  211. /package/lib-commonjs/components/CalendarDay/{useCalendarDayStyles.styles.raw.js.map → useCalendarDayStyles.styles.raw.cjs.map} +0 -0
  212. /package/lib-commonjs/components/CalendarDayGrid/{CalendarDayGrid.types.js → CalendarDayGrid.types.cjs} +0 -0
  213. /package/lib-commonjs/components/CalendarDayGrid/{CalendarDayGrid.types.js.map → CalendarDayGrid.types.cjs.map} +0 -0
  214. /package/lib-commonjs/components/CalendarDayGrid/{useCalendarDayGridStyles.styles.js → useCalendarDayGridStyles.styles.cjs} +0 -0
  215. /package/lib-commonjs/components/CalendarMonth/{CalendarMonth.types.js → CalendarMonth.types.cjs} +0 -0
  216. /package/lib-commonjs/components/CalendarMonth/{CalendarMonth.types.js.map → CalendarMonth.types.cjs.map} +0 -0
  217. /package/lib-commonjs/components/CalendarPicker/{CalendarPicker.types.js → CalendarPicker.types.cjs} +0 -0
  218. /package/lib-commonjs/components/CalendarPicker/{CalendarPicker.types.js.map → CalendarPicker.types.cjs.map} +0 -0
  219. /package/lib-commonjs/components/CalendarPicker/{useCalendarPickerStyles.styles.js → useCalendarPickerStyles.styles.cjs} +0 -0
  220. /package/lib-commonjs/components/CalendarPicker/{useCalendarPickerStyles.styles.raw.js → useCalendarPickerStyles.styles.raw.cjs} +0 -0
  221. /package/lib-commonjs/components/CalendarPicker/{useCalendarPickerStyles.styles.raw.js.map → useCalendarPickerStyles.styles.raw.cjs.map} +0 -0
  222. /package/lib-commonjs/components/CalendarYear/{CalendarYear.types.js → CalendarYear.types.cjs} +0 -0
  223. /package/lib-commonjs/components/CalendarYear/{CalendarYear.types.js.map → CalendarYear.types.cjs.map} +0 -0
  224. /package/lib-commonjs/utils/{animations.js → animations.cjs} +0 -0
  225. /package/lib-commonjs/utils/{animations.js.map → animations.cjs.map} +0 -0
  226. /package/lib-commonjs/utils/{constants.js → constants.cjs} +0 -0
  227. /package/lib-commonjs/utils/{constants.js.map → constants.cjs.map} +0 -0
  228. /package/lib-commonjs/utils/dateFormatting/{dateFormatting.defaults.js → dateFormatting.defaults.cjs} +0 -0
  229. /package/lib-commonjs/utils/dateFormatting/{dateFormatting.defaults.js.map → dateFormatting.defaults.cjs.map} +0 -0
  230. /package/lib-commonjs/utils/dateFormatting/{dateFormatting.types.js → dateFormatting.types.cjs} +0 -0
  231. /package/lib-commonjs/utils/dateFormatting/{dateFormatting.types.js.map → dateFormatting.types.cjs.map} +0 -0
  232. /package/lib-commonjs/utils/dateGrid/{dateGrid.types.js → dateGrid.types.cjs} +0 -0
  233. /package/lib-commonjs/utils/dateGrid/{dateGrid.types.js.map → dateGrid.types.cjs.map} +0 -0
  234. /package/lib-commonjs/utils/dateGrid/{isContiguous.js → isContiguous.cjs} +0 -0
  235. /package/lib-commonjs/utils/dateGrid/{isContiguous.js.map → isContiguous.cjs.map} +0 -0
  236. /package/lib-commonjs/utils/{focus.js → focus.cjs} +0 -0
  237. /package/lib-commonjs/utils/{focus.js.map → focus.cjs.map} +0 -0
@@ -0,0 +1,1426 @@
1
+ import type { JSXElement } from '@fluentui/react-utilities';
2
+ import * as React_2 from 'react';
3
+ import type { SlotClassNames } from '@fluentui/react-utilities';
4
+
5
+ /**
6
+ * Returns a date offset from the given date by the specified number of days.
7
+ * @param date - The origin date
8
+ * @param days - The number of days to offset. 'days' can be negative.
9
+ * @returns A new Date object offset from the origin date by the given number of days
10
+ */
11
+ export declare function addDays(date: Date, days: number): Date;
12
+
13
+ /**
14
+ * Returns a date offset from the given date by the specified number of months.
15
+ * The method tries to preserve the day-of-month; however, if the new month does not have enough days
16
+ * to contain the original day-of-month, we'll use the last day of the new month.
17
+ * @param date - The origin date
18
+ * @param months - The number of months to offset. 'months' can be negative.
19
+ * @returns A new Date object offset from the origin date by the given number of months
20
+ */
21
+ export declare function addMonths(date: Date, months: number): Date;
22
+
23
+ /**
24
+ * Returns a date offset from the given date by the specified number of weeks.
25
+ * @param date - The origin date
26
+ * @param weeks - The number of weeks to offset. 'weeks' can be negative.
27
+ * @returns A new Date object offset from the origin date by the given number of weeks
28
+ */
29
+ export declare function addWeeks(date: Date, weeks: number): Date;
30
+
31
+ /**
32
+ * Returns a date offset from the given date by the specified number of years.
33
+ * The method tries to preserve the day-of-month; however, if the new month does not have enough days
34
+ * to contain the original day-of-month, we'll use the last day of the new month.
35
+ * @param date - The origin date
36
+ * @param years - The number of years to offset. 'years' can be negative.
37
+ * @returns A new Date object offset from the origin date by the given number of years
38
+ */
39
+ export declare function addYears(date: Date, years: number): Date;
40
+
41
+ export declare enum AnimationDirection {
42
+ /**
43
+ * Grid will transition out and in horizontally
44
+ */
45
+ Horizontal = 0,
46
+ /**
47
+ * Grid will transition out and in vertically
48
+ */
49
+ Vertical = 1
50
+ }
51
+
52
+ /**
53
+ * @internal
54
+ */
55
+ export declare const Calendar: React_2.FunctionComponent<CalendarProps>;
56
+
57
+ /**
58
+ * @internal
59
+ */
60
+ export declare const calendarClassNames: SlotClassNames<CalendarStyles>;
61
+
62
+ /**
63
+ * @internal
64
+ */
65
+ export declare const CalendarDay: React_2.FunctionComponent<CalendarDayProps>;
66
+
67
+ /**
68
+ * @internal
69
+ */
70
+ export declare const calendarDayClassNames: SlotClassNames<CalendarDayStyles>;
71
+
72
+ export declare const CalendarDayGrid: React_2.FunctionComponent<CalendarDayGridProps>;
73
+
74
+ /**
75
+ * @internal
76
+ */
77
+ export declare const calendarDayGridClassNames: SlotClassNames<CalendarDayGridStyles>;
78
+
79
+ /**
80
+ * @internal
81
+ */
82
+ export declare interface CalendarDayGridProps extends DayGridOptions {
83
+ /**
84
+ * Optional callback to access the ICalendarDayGrid interface. Use this instead of ref for accessing
85
+ * the public methods and properties of the component.
86
+ */
87
+ componentRef?: React_2.RefObject<ICalendarDayGrid | null>;
88
+ /**
89
+ * Additional CSS class(es) to apply to the CalendarDayGrid.
90
+ */
91
+ className?: string;
92
+ /**
93
+ * Localized strings to use in the CalendarDayGrid
94
+ */
95
+ strings: CalendarStrings;
96
+ /**
97
+ * The currently selected date
98
+ */
99
+ selectedDate: Date;
100
+ /**
101
+ * The currently navigated date
102
+ */
103
+ navigatedDate: Date;
104
+ /**
105
+ * Callback issued when a date is selected
106
+ * @param date - The date the user selected
107
+ * @param selectedDateRangeArray - The resultant list of dates that are selected based on the date range type set
108
+ * for the component.
109
+ */
110
+ onSelectDate?: (date: Date, selectedDateRangeArray?: Date[]) => void;
111
+ /**
112
+ * Callback issued when a date in the calendar is navigated
113
+ * @param date - The date that is navigated to
114
+ * @param focusOnNavigatedDay - Whether to set the focus to the navigated date.
115
+ */
116
+ onNavigateDate: (date: Date, focusOnNavigatedDay: boolean) => void;
117
+ /**
118
+ * Callback issued when calendar day is closed
119
+ */
120
+ onDismiss?: () => void;
121
+ /**
122
+ * The first day of the week for your locale.
123
+ * @default DayOfWeek.Sunday
124
+ */
125
+ firstDayOfWeek: DayOfWeek;
126
+ /**
127
+ * Defines when the first week of the year should start, FirstWeekOfYear.FirstDay,
128
+ * FirstWeekOfYear.FirstFullWeek or FirstWeekOfYear.FirstFourDayWeek are the possible values
129
+ * @default FirstWeekOfYear.FirstDay
130
+ */
131
+ firstWeekOfYear: FirstWeekOfYear;
132
+ /**
133
+ * The date range type indicating how many days should be selected as the user
134
+ * selects days
135
+ * @default DateRangeType.Day
136
+ */
137
+ dateRangeType: DateRangeType;
138
+ /**
139
+ * The number of days to select while dateRangeType === DateRangeType.Day. Used in order to have multi-day
140
+ * views.
141
+ * @default 1
142
+ */
143
+ daysToSelectInDayView?: number;
144
+ /**
145
+ * Value of today. If unspecified, current time in client machine will be used.
146
+ */
147
+ today?: Date;
148
+ /**
149
+ * Whether the calendar should show the week number (weeks 1 to 53) before each week row
150
+ * @default false
151
+ */
152
+ showWeekNumbers?: boolean;
153
+ /**
154
+ * Apply additional formatting to dates, for example localized date formatting.
155
+ */
156
+ dateTimeFormatter: DateFormatting;
157
+ /**
158
+ * Ref callback for individual days. Allows for customization of the styling, properties, or listeners of the
159
+ * specific day.
160
+ */
161
+ customDayCellRef?: (element: HTMLElement, date: Date, classNames: CalendarDayGridStyles) => void;
162
+ /**
163
+ * How many weeks to show by default. If not provided, will show enough weeks to display the current
164
+ * month, between 4 and 6 depending
165
+ * @default undefined
166
+ */
167
+ weeksToShow?: number;
168
+ /**
169
+ * If set the Calendar will not allow navigation to or selection of a date earlier than this value.
170
+ */
171
+ minDate?: Date;
172
+ /**
173
+ * If set the Calendar will not allow navigation to or selection of a date later than this value.
174
+ */
175
+ maxDate?: Date;
176
+ /**
177
+ * If set the Calendar will not allow selection of dates in this array.
178
+ */
179
+ restrictedDates?: Date[];
180
+ /**
181
+ * The days that are selectable when `dateRangeType` is WorkWeek.
182
+ * If `dateRangeType` is not WorkWeek this property does nothing.
183
+ * @default [Monday,Tuesday,Wednesday,Thursday,Friday]
184
+ */
185
+ workWeekDays?: DayOfWeek[];
186
+ /**
187
+ * Whether the close button should be shown or not
188
+ * @default false
189
+ */
190
+ showCloseButton?: boolean;
191
+ /**
192
+ * Allows all dates and buttons to be focused, including disabled ones
193
+ * @default false
194
+ */
195
+ allFocusable?: boolean;
196
+ /**
197
+ * Label string for the grid
198
+ */
199
+ gridLabel?: string;
200
+ /**
201
+ * The ID of the control that labels this one
202
+ */
203
+ labelledBy?: string;
204
+ /**
205
+ * Whether to show days outside the selected month with lighter styles
206
+ * @default true
207
+ */
208
+ lightenDaysOutsideNavigatedMonth?: boolean;
209
+ /**
210
+ * The cardinal directions for animation to occur during transitions, either horizontal or veritcal
211
+ */
212
+ animationDirection?: AnimationDirection;
213
+ /**
214
+ * Optional callback function to mark specific days with a small symbol. Fires when the date range changes,
215
+ * gives the starting and ending displayed dates and expects the list of which days in between should be
216
+ * marked.
217
+ */
218
+ getMarkedDays?: (startingDate: Date, endingDate: Date) => Date[];
219
+ }
220
+
221
+ /**
222
+ * @internal
223
+ */
224
+ export declare interface CalendarDayGridStyleProps {
225
+ /**
226
+ * Accept custom classNames
227
+ */
228
+ className?: string;
229
+ /**
230
+ * The date range type
231
+ */
232
+ dateRangeType?: DateRangeType;
233
+ /**
234
+ * Whether week numbers are being shown
235
+ */
236
+ showWeekNumbers?: boolean;
237
+ /**
238
+ * Whether to show days outside the selected month with lighter styles
239
+ */
240
+ lightenDaysOutsideNavigatedMonth?: boolean;
241
+ /**
242
+ * Whether grid entering animation should be forwards or backwards
243
+ */
244
+ animateBackwards?: boolean;
245
+ /**
246
+ * The cardinal directions for animation to occur during transitions, either horizontal or vertical
247
+ */
248
+ animationDirection?: AnimationDirection;
249
+ }
250
+
251
+ /**
252
+ * @internal
253
+ */
254
+ export declare interface CalendarDayGridStyles {
255
+ /**
256
+ * The style for the root div
257
+ */
258
+ wrapper?: string;
259
+ /**
260
+ * The style for the table containing the grid
261
+ */
262
+ table?: string;
263
+ /**
264
+ * The style to apply to the grid cells for days
265
+ */
266
+ dayCell?: string;
267
+ /**
268
+ * The style to apply to grid cells for days in the selected range
269
+ */
270
+ daySelected?: string;
271
+ /**
272
+ * The classname applied when a single day is selected
273
+ */
274
+ daySingleSelected?: string;
275
+ /**
276
+ * The style to apply to row around weeks
277
+ */
278
+ weekRow?: string;
279
+ /**
280
+ * The style to apply to the column headers above the weeks
281
+ */
282
+ weekDayLabelCell?: string;
283
+ /**
284
+ * The style to apply to grid cells for week numbers
285
+ */
286
+ weekNumberCell?: string;
287
+ /**
288
+ * The style to apply to individual days that are outside the min/max date range
289
+ */
290
+ dayOutsideBounds?: string;
291
+ /**
292
+ * The style to apply to individual days that are outside the current month
293
+ */
294
+ dayOutsideNavigatedMonth?: string;
295
+ /**
296
+ * The style to apply to the button element within the day cells
297
+ */
298
+ dayButton?: string;
299
+ /**
300
+ * The style to apply to the individual button element that matches the "today" parameter
301
+ */
302
+ dayIsToday?: string;
303
+ /**
304
+ * The style applied to the first placeholder week used during transitions
305
+ */
306
+ firstTransitionWeek?: string;
307
+ /**
308
+ * The style applied to the last placeholder week used during transitions
309
+ */
310
+ lastTransitionWeek?: string;
311
+ /**
312
+ * The style applied to the marker on days to mark as important
313
+ */
314
+ dayMarker?: string;
315
+ /**
316
+ * The classname applied to the day "today" span
317
+ */
318
+ dayTodayMarker?: string;
319
+ }
320
+
321
+ export declare interface CalendarDayProps extends CalendarDayGridProps {
322
+ /**
323
+ * Optional callback to access the ICalendarDay interface. Use this instead of ref for accessing
324
+ * the public methods and properties of the component.
325
+ */
326
+ componentRef?: React_2.RefObject<ICalendarDay | null>;
327
+ /**
328
+ * Additional CSS class(es) to apply to the CalendarDay.
329
+ */
330
+ className?: string;
331
+ /**
332
+ * Localized strings to use in the Calendar
333
+ */
334
+ strings: CalendarStrings;
335
+ /**
336
+ * The currently navigated date
337
+ */
338
+ navigatedDate: Date;
339
+ /**
340
+ * Callback issued when a date in the calendar is navigated
341
+ * @param date - The date that is navigated to
342
+ * @param focusOnNavigatedDay - Whether to set the focus to the navigated date.
343
+ */
344
+ onNavigateDate: (date: Date, focusOnNavigatedDay: boolean) => void;
345
+ /**
346
+ * Callback issued when calendar day is closed
347
+ */
348
+ onDismiss?: () => void;
349
+ /**
350
+ * Callback function when the header is selected
351
+ */
352
+ onHeaderSelect?: () => void;
353
+ /**
354
+ * Whether the calendar should show the week number (weeks 1 to 53) before each week row
355
+ * @default false
356
+ */
357
+ showWeekNumbers?: boolean;
358
+ /**
359
+ * Apply additional formatting to dates, for example localized date formatting.
360
+ */
361
+ dateTimeFormatter: DateFormatting;
362
+ /**
363
+ * Whether the calendar should show 6 weeks by default.
364
+ * @default false
365
+ */
366
+ showSixWeeksByDefault?: boolean;
367
+ /**
368
+ * If set the Calendar will not allow navigation to or selection of a date earlier than this value.
369
+ */
370
+ minDate?: Date;
371
+ /**
372
+ * If set the Calendar will not allow navigation to or selection of a date later than this value.
373
+ */
374
+ maxDate?: Date;
375
+ /**
376
+ * If set the Calendar will not allow selection of dates in this array.
377
+ */
378
+ restrictedDates?: Date[];
379
+ /**
380
+ * Whether the close button should be shown or not
381
+ * @default false
382
+ */
383
+ showCloseButton?: boolean;
384
+ /**
385
+ * Allows all dates and buttons to be focused, including disabled ones
386
+ * @default false
387
+ */
388
+ allFocusable?: boolean;
389
+ /**
390
+ * Custom navigation icons.
391
+ */
392
+ navigationIcons: CalendarNavigationIcons;
393
+ }
394
+
395
+ /**
396
+ * @internal
397
+ */
398
+ export declare interface CalendarDayStyleProps extends CalendarDayGridStyleProps {
399
+ /**
400
+ * Accept custom classNames
401
+ */
402
+ className?: string;
403
+ /**
404
+ * Whether the header is clickable
405
+ */
406
+ headerIsClickable?: boolean;
407
+ /**
408
+ * Whether week numbers are being shown
409
+ */
410
+ showWeekNumbers?: boolean;
411
+ }
412
+
413
+ /**
414
+ * @internal
415
+ */
416
+ export declare interface CalendarDayStyles {
417
+ /**
418
+ * Style for the root element.
419
+ */
420
+ root: string;
421
+ /**
422
+ * The style for the header button and forward/back navigation button container
423
+ */
424
+ header: string;
425
+ /**
426
+ * The style for the title text inside the header
427
+ */
428
+ monthAndYear: string;
429
+ /**
430
+ * The style for the wrapper around forward/back/close buttons
431
+ */
432
+ monthComponents: string;
433
+ /**
434
+ * The style for the forward/back/close buttons
435
+ */
436
+ headerIconButton: string;
437
+ /**
438
+ * The style to apply for disabled elements
439
+ */
440
+ disabledStyle: string;
441
+ }
442
+
443
+ /**
444
+ * @internal
445
+ */
446
+ export declare const CalendarMonth: React_2.FunctionComponent<CalendarMonthProps>;
447
+
448
+ export declare interface CalendarMonthProps {
449
+ /**
450
+ * Optional callback to access the ICalendarMonth interface. Use this instead of ref for accessing
451
+ * the public methods and properties of the component.
452
+ */
453
+ componentRef?: React_2.RefObject<ICalendarMonth | null>;
454
+ /**
455
+ * Localized strings to use in the Calendar
456
+ */
457
+ strings: CalendarStrings;
458
+ /**
459
+ * The currently selected date
460
+ */
461
+ selectedDate: Date;
462
+ /**
463
+ * The currently navigated date
464
+ */
465
+ navigatedDate: Date;
466
+ /**
467
+ * Callback issued when a month is selected
468
+ * @param date - The date the user selected
469
+ * @param selectedDateRangeArray - The resultant list of dates that are selected based on the date range type set
470
+ * for the component.
471
+ */
472
+ onSelectDate?: (date: Date, selectedDateRangeArray?: Date[]) => void;
473
+ /**
474
+ * Callback issued when the year is navigated
475
+ * @param date - The date that is navigated to
476
+ * @param focusOnNavigatedDay - Whether to set the focus to the navigated date.
477
+ */
478
+ onNavigateDate: (date: Date, focusOnNavigatedDay: boolean) => void;
479
+ /**
480
+ * Value of today. If unspecified, current time in client machine will be used.
481
+ */
482
+ today?: Date;
483
+ /**
484
+ * Callback function when the header is selected
485
+ */
486
+ onHeaderSelect?: () => void;
487
+ /**
488
+ * Apply additional formatting to dates, for example localized date formatting.
489
+ */
490
+ dateTimeFormatter?: DateFormatting;
491
+ /**
492
+ * If set the Calendar will not allow navigation to or selection of a date earlier than this value.
493
+ */
494
+ minDate?: Date;
495
+ /**
496
+ * If set the Calendar will not allow navigation to or selection of a date later than this value.
497
+ */
498
+ maxDate?: Date;
499
+ /**
500
+ * Whether the month picker should highlight the current month
501
+ * @default false
502
+ */
503
+ highlightCurrentMonth?: boolean;
504
+ /**
505
+ * Whether the month picker should highlight the selected month
506
+ * @default false
507
+ */
508
+ highlightSelectedMonth?: boolean;
509
+ /**
510
+ * Allows all dates and buttons to be focused, including disabled ones
511
+ * @default false
512
+ */
513
+ allFocusable?: boolean;
514
+ /**
515
+ * Additional CSS class(es) to apply to the CalendarMonth.
516
+ */
517
+ className?: string;
518
+ /**
519
+ * Whether the year picker is hidden
520
+ * @default false
521
+ */
522
+ yearPickerHidden?: boolean;
523
+ /**
524
+ * The cardinal directions for animation to occur during transitions, either horizontal or veritcal
525
+ */
526
+ animationDirection?: AnimationDirection;
527
+ /**
528
+ * Custom navigation icons.
529
+ */
530
+ navigationIcons: CalendarNavigationIcons;
531
+ }
532
+
533
+ /**
534
+ * @internal
535
+ */
536
+ export declare interface CalendarMonthStyleProps extends CalendarPickerStyleProps {
537
+ }
538
+
539
+ /**
540
+ * @internal
541
+ */
542
+ export declare interface CalendarMonthStyles extends CalendarPickerStyles {
543
+ }
544
+
545
+ declare type CalendarNavigationIcons = {
546
+ /**
547
+ * Icon to use for up arrow navigation. Default comes from \@fluentui\/react-icons
548
+ * @default ArrowUpRegular
549
+ */
550
+ upNavigation?: JSXElement;
551
+ /**
552
+ * Icon to use for down arrow navigation. Default comes from \@fluentui\/react-icons
553
+ * @default ArrowDownRegular
554
+ */
555
+ downNavigation?: JSXElement;
556
+ /**
557
+ * Icon to use for the dismiss button. Default comes from \@fluentui\/react-icons
558
+ * @default DismissRegular
559
+ */
560
+ dismiss?: JSXElement;
561
+ };
562
+
563
+ /**
564
+ * @internal
565
+ */
566
+ export declare const calendarPickerClassNames: SlotClassNames<CalendarPickerStyles>;
567
+
568
+ /**
569
+ * @internal
570
+ */
571
+ export declare interface CalendarPickerStyleProps {
572
+ /**
573
+ * Accept custom classNames
574
+ */
575
+ className?: string;
576
+ /**
577
+ * Whether the header can be clicked
578
+ */
579
+ hasHeaderClickCallback?: boolean;
580
+ /**
581
+ * Whether the picker should highlight the current item
582
+ */
583
+ highlightCurrent?: boolean;
584
+ /**
585
+ * Whether the picker should highlight the selected item
586
+ */
587
+ highlightSelected?: boolean;
588
+ /**
589
+ * The cardinal directions for animation to occur during transitions, either horizontal or veritcal
590
+ */
591
+ animationDirection?: AnimationDirection;
592
+ /**
593
+ * Whether grid entering animation should be forwards or backwards
594
+ */
595
+ animateBackwards?: boolean;
596
+ }
597
+
598
+ /**
599
+ * @internal
600
+ */
601
+ export declare interface CalendarPickerStyles {
602
+ /**
603
+ * Style for the root element.
604
+ */
605
+ root: string;
606
+ headerContainer: string;
607
+ currentItemButton: string;
608
+ navigationButtonsContainer: string;
609
+ navigationButton: string;
610
+ gridContainer: string;
611
+ buttonRow: string;
612
+ itemButton: string;
613
+ current: string;
614
+ selected: string;
615
+ disabled: string;
616
+ }
617
+
618
+ export declare interface CalendarProps extends React_2.RefAttributes<HTMLDivElement> {
619
+ /**
620
+ * Optional callback to access the ICalendar interface. Use this instead of ref for accessing
621
+ * the public methods and properties of the component.
622
+ */
623
+ componentRef?: React_2.RefObject<ICalendar | null>;
624
+ /**
625
+ * Customized props for the calendar day
626
+ */
627
+ calendarDayProps?: Partial<CalendarDayProps>;
628
+ /**
629
+ * Customized props for the calendar month
630
+ */
631
+ calendarMonthProps?: Partial<CalendarMonthProps>;
632
+ /**
633
+ * Optional class name to add to the root element.
634
+ */
635
+ className?: string;
636
+ /**
637
+ * Callback for when a date is selected
638
+ * @param date - The date the user selected
639
+ * @param selectedDateRangeArray - The resultant list of dates that are selected based on the date range type set
640
+ * for the component.
641
+ */
642
+ onSelectDate?: (date: Date, selectedDateRangeArray?: Date[]) => void;
643
+ /**
644
+ * Callback for when calendar is closed
645
+ */
646
+ onDismiss?: () => void;
647
+ /**
648
+ * ID for the calendar
649
+ */
650
+ id?: string;
651
+ /**
652
+ * Default value of the Calendar, if any
653
+ */
654
+ value?: Date;
655
+ /**
656
+ * Value of today. If unspecified, current time in client machine will be used.
657
+ */
658
+ today?: Date;
659
+ /**
660
+ * The date range type indicating how many days should be selected as the user
661
+ * selects days
662
+ * @default DateRangeType.Day
663
+ */
664
+ dateRangeType?: DateRangeType;
665
+ /**
666
+ * The first day of the week for your locale.
667
+ * @default DayOfWeek.Sunday
668
+ */
669
+ firstDayOfWeek?: DayOfWeek;
670
+ /**
671
+ * Defines when the first week of the year should start.
672
+ * @default FirstWeekOfYear.FirstDay
673
+ */
674
+ firstWeekOfYear?: FirstWeekOfYear;
675
+ /**
676
+ * Whether the month picker is shown beside the day picker or hidden.
677
+ * @default true
678
+ */
679
+ isMonthPickerVisible?: boolean;
680
+ /**
681
+ * Whether the day picker is shown beside the month picker or hidden.
682
+ * @default true
683
+ */
684
+ isDayPickerVisible?: boolean;
685
+ /**
686
+ * Show month picker on top of date picker when visible.
687
+ * @default false
688
+ */
689
+ showMonthPickerAsOverlay?: boolean;
690
+ /**
691
+ * Whether the "Go to today" link should be shown or not
692
+ */
693
+ showGoToToday?: boolean;
694
+ /**
695
+ * Whether the calendar should show the week number (weeks 1 to 53) before each week row
696
+ * @default false
697
+ */
698
+ showWeekNumbers?: boolean;
699
+ /**
700
+ * Localized strings to use in the Calendar
701
+ */
702
+ strings?: CalendarStrings;
703
+ /**
704
+ * Apply additional formatting to dates, for example localized date formatting.
705
+ */
706
+ dateTimeFormatter?: DateFormatting;
707
+ /**
708
+ * If set the Calendar will not allow navigation to or selection of a date earlier than this value.
709
+ */
710
+ minDate?: Date;
711
+ /**
712
+ * If set the Calendar will not allow navigation to or selection of a date later than this value.
713
+ */
714
+ maxDate?: Date;
715
+ /**
716
+ * If set the Calendar will not allow selection of dates in this array.
717
+ */
718
+ restrictedDates?: Date[];
719
+ /**
720
+ * Whether the calendar should show 6 weeks by default.
721
+ * @default false
722
+ */
723
+ showSixWeeksByDefault?: boolean;
724
+ /**
725
+ * The days that are selectable when `dateRangeType` is `WorkWeek`.
726
+ * If `dateRangeType` is not `WorkWeek` this property does nothing.
727
+ * @default [Monday,Tuesday,Wednesday,Thursday,Friday]
728
+ */
729
+ workWeekDays?: DayOfWeek[];
730
+ /**
731
+ * Whether the month picker should highlight the current month
732
+ * @default false
733
+ */
734
+ highlightCurrentMonth?: boolean;
735
+ /**
736
+ * Whether the month picker should highlight the selected month
737
+ * @default false
738
+ */
739
+ highlightSelectedMonth?: boolean;
740
+ /**
741
+ * Whether the close button should be shown or not
742
+ * @default false
743
+ */
744
+ showCloseButton?: boolean;
745
+ /**
746
+ * Allows all dates and buttons to be focused, including disabled ones
747
+ * @default false
748
+ */
749
+ allFocusable?: boolean;
750
+ }
751
+
752
+ export declare interface CalendarStrings extends DateGridStrings {
753
+ /**
754
+ * String to render for button to direct the user to today's date.
755
+ */
756
+ goToToday: string;
757
+ /**
758
+ * Aria-label for the "previous month" button in day picker.
759
+ */
760
+ prevMonthAriaLabel?: string;
761
+ /**
762
+ * Aria-label for the "next month" button in day picker.
763
+ */
764
+ nextMonthAriaLabel?: string;
765
+ /**
766
+ * Aria-label for the "previous year" button in month picker.
767
+ */
768
+ prevYearAriaLabel?: string;
769
+ /**
770
+ * Aria-label for the "next year" button in month picker.
771
+ */
772
+ nextYearAriaLabel?: string;
773
+ /**
774
+ * Aria-label for the "previous year range" button in year picker.
775
+ */
776
+ prevYearRangeAriaLabel?: string;
777
+ /**
778
+ * Aria-label for the "next year range" button in year picker.
779
+ */
780
+ nextYearRangeAriaLabel?: string;
781
+ /**
782
+ * Aria-label format string for the header button in the month picker. Should have 1 string param, e.g. "`{0}`,
783
+ * select to change the year". This aria-label will only be applied if the year picker is enabled; otherwise
784
+ * the label will default to the header string, e.g. "2019".
785
+ */
786
+ monthPickerHeaderAriaLabel?: string;
787
+ /**
788
+ * Aria-label format string for the header button in the year picker.
789
+ * Should have 1 string param, e.g. "`{0}`, select to change the month"
790
+ */
791
+ yearPickerHeaderAriaLabel?: string;
792
+ /**
793
+ * Aria-label for the "close" button.
794
+ */
795
+ closeButtonAriaLabel?: string;
796
+ /**
797
+ * Aria-label format string for the week number header. Should have 1 string param, e.g. "week number `{0}`"
798
+ */
799
+ weekNumberFormatString?: string;
800
+ /**
801
+ * Aria-label format string for the currently selected date. Should have 1 string param, e.g. "Selected date `{0}`"
802
+ */
803
+ selectedDateFormatString?: string;
804
+ /**
805
+ * Aria-label format string for today's date. Should have 1 string param, e.g. "Today's date `{0}`"
806
+ */
807
+ todayDateFormatString?: string;
808
+ /**
809
+ * Aria-label for when a date is marked
810
+ */
811
+ dayMarkedAriaLabel?: string;
812
+ }
813
+
814
+ /**
815
+ * @internal
816
+ */
817
+ export declare interface CalendarStyleProps {
818
+ /**
819
+ * Custom CSS class for the calendar.
820
+ */
821
+ className?: string;
822
+ /**
823
+ * Whether the month picker is visible
824
+ */
825
+ isMonthPickerVisible?: boolean;
826
+ /**
827
+ * Whether the day picker is visible
828
+ */
829
+ isDayPickerVisible?: boolean;
830
+ /**
831
+ * Whether only month picker is shown
832
+ */
833
+ monthPickerOnly?: boolean;
834
+ /**
835
+ * Whether the month picker is overlaid on the day picker
836
+ */
837
+ showMonthPickerAsOverlay?: boolean;
838
+ /**
839
+ * @deprecated Use `overlaidWithButton`
840
+ */
841
+ overlayedWithButton?: boolean;
842
+ /**
843
+ * Whether the month and day picker are overlaid and the 'go to today' button is shown
844
+ */
845
+ overlaidWithButton?: boolean;
846
+ /**
847
+ * Whether the go to today button is shown
848
+ */
849
+ showGoToToday?: boolean;
850
+ /**
851
+ * Whether the week numbers are shown
852
+ */
853
+ showWeekNumbers?: boolean;
854
+ }
855
+
856
+ /**
857
+ * @internal
858
+ */
859
+ export declare interface CalendarStyles {
860
+ /**
861
+ * Style for the root element.
862
+ */
863
+ root: string;
864
+ divider: string;
865
+ goTodayButton: string;
866
+ monthPickerWrapper: string;
867
+ liveRegion: string;
868
+ }
869
+
870
+ /**
871
+ * @internal
872
+ */
873
+ export declare const CalendarYear: React_2.FunctionComponent<CalendarYearProps>;
874
+
875
+ /**
876
+ * @internal
877
+ */
878
+ export declare interface CalendarYearHeaderProps extends CalendarYearProps, CalendarYearRange {
879
+ /**
880
+ * Callback action when the 'previous' navigation button is selected
881
+ */
882
+ onSelectPrev?: () => void;
883
+ /**
884
+ * Callback action when the 'next' navigation button is selected
885
+ */
886
+ onSelectNext?: () => void;
887
+ /**
888
+ * Whether title entering animation should be forwards or backwards
889
+ */
890
+ animateBackwards?: boolean;
891
+ }
892
+
893
+ /**
894
+ * @internal
895
+ */
896
+ export declare interface CalendarYearProps {
897
+ /**
898
+ * Optional callback to access the ICalendarYear interface. Use this instead of ref for accessing
899
+ * the public methods and properties of the component.
900
+ */
901
+ componentRef?: React_2.RefObject<ICalendarYear | null>;
902
+ /**
903
+ * Localized strings to use in the Calendar
904
+ */
905
+ strings?: CalendarYearStrings;
906
+ /**
907
+ * The currently selected year
908
+ */
909
+ selectedYear?: number;
910
+ /**
911
+ * The currently navigated year
912
+ */
913
+ navigatedYear?: number;
914
+ /**
915
+ * Callback action when a year is selected
916
+ * @param year - The year the user selected
917
+ */
918
+ onSelectYear?: (year: number) => void;
919
+ /**
920
+ * Callback action when the decade is navigated
921
+ * @param year - The year at the start of the new decade range being navigated to
922
+ */
923
+ onNavigateDate?: (year: number) => void;
924
+ /**
925
+ * Callback action when the header is selected
926
+ */
927
+ onHeaderSelect?: (focus: boolean) => void;
928
+ /**
929
+ * If set the Calendar will not allow navigation to or selection of a year earlier than this value.
930
+ */
931
+ minYear?: number;
932
+ /**
933
+ * If set the Calendar will not allow navigation to or selection of a year later than this value.
934
+ */
935
+ maxYear?: number;
936
+ /**
937
+ * Whether the year picker should highlight the current year
938
+ * @default false
939
+ */
940
+ highlightCurrentYear?: boolean;
941
+ /**
942
+ * Whether the year picker should highlight the selected year
943
+ * @default false
944
+ */
945
+ highlightSelectedYear?: boolean;
946
+ /**
947
+ * Accept custom classNames
948
+ */
949
+ className?: string;
950
+ /**
951
+ * Custom renderer for the title
952
+ */
953
+ onRenderTitle?: (props: CalendarYearHeaderProps) => React_2.ReactNode;
954
+ /**
955
+ * Custom renderer for the year
956
+ */
957
+ onRenderYear?: (year: number) => React_2.ReactNode;
958
+ /**
959
+ * The cardinal directions for animation to occur during transitions, either horizontal or veritcal
960
+ */
961
+ animationDirection?: AnimationDirection;
962
+ /**
963
+ * Custom navigation icons.
964
+ */
965
+ navigationIcons: CalendarNavigationIcons;
966
+ }
967
+
968
+ /**
969
+ * @internal
970
+ */
971
+ export declare interface CalendarYearRange {
972
+ fromYear: number;
973
+ toYear: number;
974
+ }
975
+
976
+ /**
977
+ * @internal
978
+ */
979
+ export declare interface CalendarYearRangeToString {
980
+ (range: CalendarYearRange): string;
981
+ }
982
+
983
+ /**
984
+ * @internal
985
+ */
986
+ export declare interface CalendarYearStrings {
987
+ rangeAriaLabel?: string | CalendarYearRangeToString;
988
+ prevRangeAriaLabel?: string | CalendarYearRangeToString;
989
+ nextRangeAriaLabel?: string | CalendarYearRangeToString;
990
+ headerAriaLabelFormatString?: string;
991
+ }
992
+
993
+ /**
994
+ * @internal
995
+ */
996
+ export declare interface CalendarYearStyleProps extends CalendarPickerStyleProps {
997
+ }
998
+
999
+ /**
1000
+ * @internal
1001
+ */
1002
+ export declare interface CalendarYearStyles extends CalendarPickerStyles {
1003
+ }
1004
+
1005
+ /**
1006
+ * Compare the date parts of two dates
1007
+ * @param date1 - The first date to compare
1008
+ * @param date2 - The second date to compare
1009
+ * @returns A negative value if date1 is earlier than date2, 0 if the dates are equal, or a positive value
1010
+ * if date1 is later than date2.
1011
+ */
1012
+ export declare function compareDatePart(date1: Date, date2: Date): number;
1013
+
1014
+ /**
1015
+ * Compares two dates, and returns true if the two dates (not accounting for time-of-day) are equal.
1016
+ * @returns True if the two dates represent the same date (regardless of time-of-day), false otherwise.
1017
+ */
1018
+ export declare function compareDates(date1: Date, date2: Date): boolean;
1019
+
1020
+ export declare interface DateFormatting {
1021
+ /**
1022
+ * Get a localized string for a day.
1023
+ */
1024
+ formatDay: (date: Date) => string;
1025
+ /**
1026
+ * Get a localized string for a month.
1027
+ */
1028
+ formatMonth: (date: Date, strings: DateGridStrings) => string;
1029
+ /**
1030
+ * Get a localized string for a year.
1031
+ */
1032
+ formatYear: (date: Date) => string;
1033
+ /**
1034
+ * Get a localized string for a month, day, and year.
1035
+ */
1036
+ formatMonthDayYear: (date: Date, strings: DateGridStrings) => string;
1037
+ /**
1038
+ * Get a localized string for a month and year.
1039
+ */
1040
+ formatMonthYear: (date: Date, strings: DateGridStrings) => string;
1041
+ }
1042
+
1043
+ export declare interface DateGridStrings {
1044
+ /**
1045
+ * An array of strings for the full names of months.
1046
+ * The array is 0-based, so months[0] should be the full name of January.
1047
+ */
1048
+ months: string[];
1049
+ /**
1050
+ * An array of strings for the short names of months.
1051
+ * The array is 0-based, so shortMonths[0] should be the short name of January.
1052
+ */
1053
+ shortMonths: string[];
1054
+ /**
1055
+ * An array of strings for the full names of days of the week.
1056
+ * The array is 0-based, so days[0] should be the full name of Sunday.
1057
+ */
1058
+ days: string[];
1059
+ /**
1060
+ * An array of strings for the initials of the days of the week.
1061
+ * The array is 0-based, so days[0] should be the initial of Sunday.
1062
+ */
1063
+ shortDays: string[];
1064
+ }
1065
+
1066
+ /**
1067
+ * The supported date range types
1068
+ */
1069
+ export declare enum DateRangeType {
1070
+ Day = 0,
1071
+ Week = 1,
1072
+ Month = 2,
1073
+ WorkWeek = 3
1074
+ }
1075
+
1076
+ declare interface Day {
1077
+ /** `Date.toString()` value of current date */
1078
+ key: string;
1079
+ /** `Date.getDate()` value of current date */
1080
+ date: string;
1081
+ /** `Date` object of current date */
1082
+ originalDate: Date;
1083
+ /** Is current date is in the same month as "today" date */
1084
+ isInMonth: boolean;
1085
+ /** Is current date is "today" date */
1086
+ isToday: boolean;
1087
+ /** Is current date is selected in range */
1088
+ isSelected: boolean;
1089
+ /** Is current date is selected */
1090
+ isSingleSelected: boolean;
1091
+ /** Is current date within restriction boundaries */
1092
+ isInBounds: boolean;
1093
+ /** Is current date marked */
1094
+ isMarked: boolean;
1095
+ }
1096
+
1097
+ declare interface DayGridOptions extends RestrictedDatesOptions {
1098
+ /**
1099
+ * The first day of the week for your locale.
1100
+ */
1101
+ firstDayOfWeek: DayOfWeek;
1102
+ /**
1103
+ * Defines when the first week of the year should start, FirstWeekOfYear.FirstDay,
1104
+ * FirstWeekOfYear.FirstFullWeek or FirstWeekOfYear.FirstFourDayWeek are the possible values
1105
+ */
1106
+ firstWeekOfYear: FirstWeekOfYear;
1107
+ /**
1108
+ * The date range type indicating how many days should be selected as the user
1109
+ * selects days
1110
+ */
1111
+ dateRangeType: DateRangeType;
1112
+ /**
1113
+ * The number of days to select while dateRangeType === DateRangeType.Day. Used in order to have multi-day
1114
+ * views.
1115
+ */
1116
+ daysToSelectInDayView?: number;
1117
+ /**
1118
+ * Value of today. If unspecified, current time in client machine will be used.
1119
+ */
1120
+ today?: Date;
1121
+ /**
1122
+ * Whether the calendar should show the week number (weeks 1 to 53) before each week row
1123
+ */
1124
+ showWeekNumbers?: boolean;
1125
+ /**
1126
+ * The days that are selectable when `dateRangeType` is WorkWeek.
1127
+ * If `dateRangeType` is not WorkWeek this property does nothing.
1128
+ */
1129
+ workWeekDays?: DayOfWeek[];
1130
+ /**
1131
+ * Which days in the generated grid should be marked.
1132
+ */
1133
+ markedDays?: Date[];
1134
+ /**
1135
+ * The currently selected date
1136
+ */
1137
+ selectedDate: Date;
1138
+ /**
1139
+ * The currently navigated date
1140
+ */
1141
+ navigatedDate: Date;
1142
+ /**
1143
+ * How many weeks to show by default. If not provided, will show enough weeks to display the current
1144
+ * month, between 4 and 6 depending
1145
+ */
1146
+ weeksToShow?: number;
1147
+ }
1148
+
1149
+ export declare interface DayInfo extends Day {
1150
+ onSelected: () => void;
1151
+ setRef(element: HTMLElement | null): void;
1152
+ }
1153
+
1154
+ /**
1155
+ * The days of the week
1156
+ */
1157
+ export declare enum DayOfWeek {
1158
+ Sunday = 0,
1159
+ Monday = 1,
1160
+ Tuesday = 2,
1161
+ Wednesday = 3,
1162
+ Thursday = 4,
1163
+ Friday = 5,
1164
+ Saturday = 6
1165
+ }
1166
+
1167
+ export declare const DAYS_IN_WEEK = 7;
1168
+
1169
+ export declare const DEFAULT_CALENDAR_STRINGS: CalendarStrings;
1170
+
1171
+ export declare const DEFAULT_DATE_FORMATTING: DateFormatting;
1172
+
1173
+ export declare const DEFAULT_DATE_GRID_STRINGS: DateGridStrings;
1174
+
1175
+ export declare const defaultCalendarStrings: CalendarStrings;
1176
+
1177
+ /**
1178
+ * @internal
1179
+ */
1180
+ export declare const extraCalendarDayGridClassNames: {
1181
+ hoverStyle: string;
1182
+ pressedStyle: string;
1183
+ };
1184
+
1185
+ /**
1186
+ * First week of the year settings types
1187
+ */
1188
+ export declare enum FirstWeekOfYear {
1189
+ FirstDay = 0,
1190
+ FirstFullWeek = 1,
1191
+ FirstFourDayWeek = 2
1192
+ }
1193
+
1194
+ /**
1195
+ * Helper function to assist in date comparisons
1196
+ */
1197
+ export declare function getDatePartHashValue(date: Date): number;
1198
+
1199
+ /**
1200
+ * Gets the date range array including the specified date. The date range array is calculated as the list
1201
+ * of dates accounting for the specified first day of the week and date range type.
1202
+ * @param date - The input date
1203
+ * @param dateRangeType - The desired date range type, i.e., day, week, month, etc.
1204
+ * @param firstDayOfWeek - The first day of the week.
1205
+ * @param workWeekDays - The allowed days in work week. If not provided, assumes all days are allowed.
1206
+ * @param daysToSelectInDayView - The number of days to include when using dateRangeType === DateRangeType.Day
1207
+ * for multiday view. Defaults to 1
1208
+ * @returns An array of dates representing the date range containing the specified date.
1209
+ */
1210
+ export declare function getDateRangeArray(date: Date, dateRangeType: DateRangeType, firstDayOfWeek: DayOfWeek, workWeekDays?: DayOfWeek[], daysToSelectInDayView?: number): Date[];
1211
+
1212
+ /**
1213
+ * Gets the date for the last day of the week based on the given date assuming
1214
+ * the specified first day of the week.
1215
+ * @param date - The date to find the beginning of the week date for.
1216
+ * @returns A new date object representing the first day of the week containing the input date.
1217
+ */
1218
+ export declare function getEndDateOfWeek(date: Date, firstDayOfWeek: DayOfWeek): Date;
1219
+
1220
+ /**
1221
+ * Returns a date that is the last day of the month of the provided date.
1222
+ * @param date - The origin date
1223
+ * @returns A new Date object with the day set to the last day of the month.
1224
+ */
1225
+ export declare function getMonthEnd(date: Date): Date;
1226
+
1227
+ /**
1228
+ * Returns a date that is the first day of the month of the provided date.
1229
+ * @param date - The origin date
1230
+ * @returns A new Date object with the day set to the first day of the month.
1231
+ */
1232
+ export declare function getMonthStart(date: Date): Date;
1233
+
1234
+ /**
1235
+ * Gets the date for the first day of the week based on the given date assuming
1236
+ * the specified first day of the week.
1237
+ * @param date - The date to find the beginning of the week date for.
1238
+ * @returns A new date object representing the first day of the week containing the input date.
1239
+ */
1240
+ export declare function getStartDateOfWeek(date: Date, firstDayOfWeek: DayOfWeek): Date;
1241
+
1242
+ /**
1243
+ * Returns the week number for a date.
1244
+ * Week numbers are 1 - 52 (53) in a year
1245
+ * @param date - A date to find the week number for.
1246
+ * @param firstDayOfWeek - The first day of the week (0-6, Sunday = 0)
1247
+ * @param firstWeekOfYear - The first week of the year (1-2)
1248
+ * @returns The week's number in the year.
1249
+ */
1250
+ export declare function getWeekNumber(date: Date, firstDayOfWeek: DayOfWeek, firstWeekOfYear: FirstWeekOfYear): number;
1251
+
1252
+ /**
1253
+ * Returns the week number for a date.
1254
+ * Week numbers are 1 - 52 (53) in a year
1255
+ * @param navigatedDate - A date to find the week number for.
1256
+ * @param firstDayOfWeek - The first day of the week (0-6, Sunday = 0)
1257
+ * @param firstWeekOfYear - The first week of the year (1-2)
1258
+ * @returns The weeks number array for the current month.
1259
+ */
1260
+ export declare function getWeekNumbersInMonth(weeksInMonth: number, firstDayOfWeek: DayOfWeek, firstWeekOfYear: FirstWeekOfYear, navigatedDate: Date): number[];
1261
+
1262
+ /**
1263
+ * Returns a date that is the last day of the year of the provided date.
1264
+ * @param date - The origin date
1265
+ * @returns A new Date object with the day set to the last day of the year.
1266
+ */
1267
+ export declare function getYearEnd(date: Date): Date;
1268
+
1269
+ /**
1270
+ * Returns a date that is the first day of the year of the provided date.
1271
+ * @param date - The origin date
1272
+ * @returns A new Date object with the day set to the first day of the year.
1273
+ */
1274
+ export declare function getYearStart(date: Date): Date;
1275
+
1276
+ export declare interface ICalendar {
1277
+ /** Sets focus to the selected date. */
1278
+ focus: () => void;
1279
+ }
1280
+
1281
+ export declare interface ICalendarDay {
1282
+ focus(): void;
1283
+ }
1284
+
1285
+ /**
1286
+ * @internal
1287
+ */
1288
+ export declare interface ICalendarDayGrid {
1289
+ focus(): void;
1290
+ }
1291
+
1292
+ export declare interface ICalendarMonth {
1293
+ focus(): void;
1294
+ }
1295
+
1296
+ /**
1297
+ * @internal
1298
+ */
1299
+ export declare interface ICalendarYear {
1300
+ focus(): void;
1301
+ }
1302
+
1303
+ /**
1304
+ * Checks whether the specified date is in the given date range.
1305
+ * @param date - The origin date
1306
+ * @param dateRange - An array of dates to do the lookup on
1307
+ * @returns True if the date matches one of the dates in the specified array, false otherwise.
1308
+ */
1309
+ export declare function isInDateRangeArray(date: Date, dateRange: Date[]): boolean;
1310
+
1311
+ /**
1312
+ * The months
1313
+ */
1314
+ export declare enum MonthOfYear {
1315
+ January = 0,
1316
+ February = 1,
1317
+ March = 2,
1318
+ April = 3,
1319
+ May = 4,
1320
+ June = 5,
1321
+ July = 6,
1322
+ August = 7,
1323
+ September = 8,
1324
+ October = 9,
1325
+ November = 10,
1326
+ December = 11
1327
+ }
1328
+
1329
+ declare interface RestrictedDatesOptions {
1330
+ /**
1331
+ * If set the Calendar will not allow navigation to or selection of a date earlier than this value.
1332
+ */
1333
+ minDate?: Date;
1334
+ /**
1335
+ * If set the Calendar will not allow navigation to or selection of a date later than this value.
1336
+ */
1337
+ maxDate?: Date;
1338
+ /**
1339
+ * If set the Calendar will not allow selection of dates in this array.
1340
+ */
1341
+ restrictedDates?: Date[];
1342
+ }
1343
+
1344
+ /**
1345
+ * Returns a date that is a copy of the given date, aside from the month changing to the given month.
1346
+ * The method tries to preserve the day-of-month; however, if the new month does not have enough days
1347
+ * to contain the original day-of-month, we'll use the last day of the new month.
1348
+ * @param date - The origin date
1349
+ * @param month - The 0-based index of the month to set on the date.
1350
+ * @returns A new Date object with the given month set.
1351
+ */
1352
+ export declare function setMonth(date: Date, month: number): Date;
1353
+
1354
+ export declare const TimeConstants: {
1355
+ MillisecondsInOneDay: number;
1356
+ MillisecondsIn1Sec: number;
1357
+ MillisecondsIn1Min: number;
1358
+ MillisecondsIn30Mins: number;
1359
+ MillisecondsIn1Hour: number;
1360
+ MinutesInOneDay: number;
1361
+ MinutesInOneHour: number;
1362
+ DaysInOneWeek: number;
1363
+ MonthInOneYear: number;
1364
+ HoursInOneDay: number;
1365
+ SecondsInOneMinute: number;
1366
+ OffsetTo24HourFormat: number;
1367
+ /**
1368
+ * Matches a time string. Groups:
1369
+ * 1. hours (with or without leading 0)
1370
+ * 2. minutes
1371
+ * 3. seconds (optional)
1372
+ * 4. meridiem (am/pm, case-insensitive, optional)
1373
+ */
1374
+ TimeFormatRegex: RegExp;
1375
+ };
1376
+
1377
+ /**
1378
+ * Apply styling to the CalendarDayGrid slots based on the state
1379
+ *
1380
+ * @internal
1381
+ */
1382
+ export declare const useCalendarDayGridStyles_unstable: (props: CalendarDayGridStyleProps) => CalendarDayGridStyles;
1383
+
1384
+ /**
1385
+ * Apply styling to the CalendarDay slots based on the state
1386
+ *
1387
+ * @internal
1388
+ */
1389
+ export declare const useCalendarDayStyles_unstable: (props: CalendarDayStyleProps) => CalendarDayStyles;
1390
+
1391
+ /**
1392
+ * Apply styling to the CalendarMonth slots based on the state
1393
+ *
1394
+ * @internal
1395
+ */
1396
+ export declare const useCalendarMonthStyles_unstable: (props: CalendarMonthStyleProps) => CalendarMonthStyles;
1397
+
1398
+ /**
1399
+ * Apply styling to the CalendarPicker slots based on the state
1400
+ *
1401
+ * @internal
1402
+ */
1403
+ export declare const useCalendarPickerStyles_unstable: (props: CalendarPickerStyleProps) => CalendarPickerStyles;
1404
+
1405
+ /**
1406
+ * Apply styling to the Calendar slots based on the state
1407
+ *
1408
+ * @internal
1409
+ */
1410
+ export declare const useCalendarStyles_unstable: (props: CalendarStyleProps) => CalendarStyles;
1411
+
1412
+ /**
1413
+ * Apply styling to the CalendarYear slots based on the state
1414
+ *
1415
+ * @internal
1416
+ */
1417
+ export declare const useCalendarYearStyles_unstable: (props: CalendarYearStyleProps) => CalendarYearStyles;
1418
+
1419
+ /**
1420
+ * @internal
1421
+ */
1422
+ export declare interface WeekCorners {
1423
+ [key: string]: string;
1424
+ }
1425
+
1426
+ export { }