pixel-react 1.14.17 → 1.14.18

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 (273) hide show
  1. package/README.md +75 -75
  2. package/lib/_virtual/_commonjsHelpers.js +1 -26
  3. package/lib/_virtual/_commonjsHelpers.js.map +1 -1
  4. package/lib/_virtual/index10.js +2 -2
  5. package/lib/_virtual/index9.js +2 -2
  6. package/lib/assets/icons/spinner.svg.js +1 -1
  7. package/lib/assets/icons/spinner.svg.js.map +1 -1
  8. package/lib/components/DatePicker/DatePicker.js +1 -4
  9. package/lib/components/DatePicker/DatePicker.js.map +1 -1
  10. package/lib/index.cjs +2506 -7014
  11. package/lib/index.cjs.map +1 -1
  12. package/lib/index.d.ts +2 -1
  13. package/lib/node_modules/draft-js/lib/AtomicBlockUtils.js +1 -1
  14. package/lib/node_modules/draft-js/lib/BlockMapBuilder.js +1 -1
  15. package/lib/node_modules/draft-js/lib/BlockTree.js +1 -1
  16. package/lib/node_modules/draft-js/lib/CharacterMetadata.js +1 -1
  17. package/lib/node_modules/draft-js/lib/CompositeDraftDecorator.js +1 -1
  18. package/lib/node_modules/draft-js/lib/ContentBlock.js +1 -1
  19. package/lib/node_modules/draft-js/lib/ContentBlockNode.js +1 -1
  20. package/lib/node_modules/draft-js/lib/ContentState.js +1 -1
  21. package/lib/node_modules/draft-js/lib/ContentStateInlineStyle.js +1 -1
  22. package/lib/node_modules/draft-js/lib/DOMObserver.js +1 -1
  23. package/lib/node_modules/draft-js/lib/DefaultDraftBlockRenderMap.js +1 -1
  24. package/lib/node_modules/draft-js/lib/DraftEditorBlockNode.react.js +1 -1
  25. package/lib/node_modules/draft-js/lib/DraftEditorNode.react.js +1 -1
  26. package/lib/node_modules/draft-js/lib/DraftEntity.js +1 -1
  27. package/lib/node_modules/draft-js/lib/DraftEntityInstance.js +1 -1
  28. package/lib/node_modules/draft-js/lib/DraftModifier.js +1 -1
  29. package/lib/node_modules/draft-js/lib/DraftPasteProcessor.js +1 -1
  30. package/lib/node_modules/draft-js/lib/EditorBidiService.js +1 -1
  31. package/lib/node_modules/draft-js/lib/EditorState.js +1 -1
  32. package/lib/node_modules/draft-js/lib/SelectionState.js +1 -1
  33. package/lib/node_modules/draft-js/lib/applyEntityToContentState.js +1 -1
  34. package/lib/node_modules/draft-js/lib/convertFromHTMLToContentBlocks.js +1 -1
  35. package/lib/node_modules/draft-js/lib/convertFromRawToDraftState.js +1 -1
  36. package/lib/node_modules/draft-js/lib/createCharacterList.js +1 -1
  37. package/lib/node_modules/draft-js/lib/decodeInlineStyleRanges.js +1 -1
  38. package/lib/node_modules/draft-js/lib/insertFragmentIntoContentState.js +1 -1
  39. package/lib/node_modules/draft-js/lib/insertTextIntoContentState.js +1 -1
  40. package/lib/node_modules/draft-js/lib/modifyBlockForContentState.js +1 -1
  41. package/lib/node_modules/draft-js/lib/moveBlockInContentState.js +1 -1
  42. package/lib/node_modules/draft-js/lib/randomizeBlockMapKeys.js +1 -1
  43. package/lib/node_modules/draft-js/lib/removeRangeFromContentState.js +1 -1
  44. package/lib/node_modules/draft-js/lib/splitBlockInContentState.js +1 -1
  45. package/lib/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +1 -1
  46. package/lib/node_modules/{draft-js/node_modules/immutable → immutable}/dist/immutable.js +1 -1
  47. package/lib/node_modules/immutable/dist/immutable.js.map +1 -0
  48. package/lib/node_modules/js-beautify/js/src/css/index.js +1 -1
  49. package/lib/node_modules/js-beautify/js/src/css/options.js +1 -1
  50. package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
  51. package/lib/node_modules/js-beautify/js/src/html/index.js +1 -1
  52. package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
  53. package/lib/node_modules/js-beautify/js/src/javascript/beautifier.js +1 -1
  54. package/lib/node_modules/js-beautify/js/src/javascript/options.js +1 -1
  55. package/lib/node_modules/libphonenumber-js/metadata.min.json.js +12 -12
  56. package/lib/node_modules/libphonenumber-js/metadata.min.json.js.map +1 -1
  57. package/lib/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
  58. package/lib/node_modules/prop-types/index.js +1 -1
  59. package/lib/node_modules/react-day-picker/dist/esm/DayPicker.js +112 -17
  60. package/lib/node_modules/react-day-picker/dist/esm/DayPicker.js.map +1 -1
  61. package/lib/node_modules/react-day-picker/dist/esm/UI.js +31 -9
  62. package/lib/node_modules/react-day-picker/dist/esm/UI.js.map +1 -1
  63. package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +9 -6
  64. package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js.map +1 -1
  65. package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +6 -1
  66. package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js.map +1 -1
  67. package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +5 -1
  68. package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js.map +1 -1
  69. package/lib/node_modules/react-day-picker/dist/esm/classes/DateLib.js +55 -51
  70. package/lib/node_modules/react-day-picker/dist/esm/classes/DateLib.js.map +1 -1
  71. package/lib/node_modules/react-day-picker/dist/esm/components/Chevron.js +1 -1
  72. package/lib/node_modules/react-day-picker/dist/esm/components/Chevron.js.map +1 -1
  73. package/lib/node_modules/react-day-picker/dist/esm/components/Day.js +4 -4
  74. package/lib/node_modules/react-day-picker/dist/esm/components/Day.js.map +1 -1
  75. package/lib/node_modules/react-day-picker/dist/esm/components/DayButton.js +1 -1
  76. package/lib/node_modules/react-day-picker/dist/esm/components/DayButton.js.map +1 -1
  77. package/lib/node_modules/react-day-picker/dist/esm/components/Dropdown.js +1 -1
  78. package/lib/node_modules/react-day-picker/dist/esm/components/Dropdown.js.map +1 -1
  79. package/lib/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +1 -1
  80. package/lib/node_modules/react-day-picker/dist/esm/components/DropdownNav.js.map +1 -1
  81. package/lib/node_modules/react-day-picker/dist/esm/components/Footer.js +1 -1
  82. package/lib/node_modules/react-day-picker/dist/esm/components/Footer.js.map +1 -1
  83. package/lib/node_modules/react-day-picker/dist/esm/components/Month.js +1 -1
  84. package/lib/node_modules/react-day-picker/dist/esm/components/Month.js.map +1 -1
  85. package/lib/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +1 -1
  86. package/lib/node_modules/react-day-picker/dist/esm/components/MonthCaption.js.map +1 -1
  87. package/lib/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +1 -1
  88. package/lib/node_modules/react-day-picker/dist/esm/components/MonthGrid.js.map +1 -1
  89. package/lib/node_modules/react-day-picker/dist/esm/components/Months.js +1 -1
  90. package/lib/node_modules/react-day-picker/dist/esm/components/Months.js.map +1 -1
  91. package/lib/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +1 -1
  92. package/lib/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js.map +1 -1
  93. package/lib/node_modules/react-day-picker/dist/esm/components/Nav.js +16 -6
  94. package/lib/node_modules/react-day-picker/dist/esm/components/Nav.js.map +1 -1
  95. package/lib/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +1 -1
  96. package/lib/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js.map +1 -1
  97. package/lib/node_modules/react-day-picker/dist/esm/components/Option.js +1 -1
  98. package/lib/node_modules/react-day-picker/dist/esm/components/Option.js.map +1 -1
  99. package/lib/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +1 -1
  100. package/lib/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js.map +1 -1
  101. package/lib/node_modules/react-day-picker/dist/esm/components/Root.js +7 -2
  102. package/lib/node_modules/react-day-picker/dist/esm/components/Root.js.map +1 -1
  103. package/lib/node_modules/react-day-picker/dist/esm/components/Select.js +1 -1
  104. package/lib/node_modules/react-day-picker/dist/esm/components/Select.js.map +1 -1
  105. package/lib/node_modules/react-day-picker/dist/esm/components/Week.js +1 -1
  106. package/lib/node_modules/react-day-picker/dist/esm/components/Week.js.map +1 -1
  107. package/lib/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +1 -1
  108. package/lib/node_modules/react-day-picker/dist/esm/components/WeekNumber.js.map +1 -1
  109. package/lib/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +1 -1
  110. package/lib/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js.map +1 -1
  111. package/lib/node_modules/react-day-picker/dist/esm/components/Weekday.js +1 -1
  112. package/lib/node_modules/react-day-picker/dist/esm/components/Weekday.js.map +1 -1
  113. package/lib/node_modules/react-day-picker/dist/esm/components/Weekdays.js +1 -1
  114. package/lib/node_modules/react-day-picker/dist/esm/components/Weekdays.js.map +1 -1
  115. package/lib/node_modules/react-day-picker/dist/esm/components/Weeks.js +1 -1
  116. package/lib/node_modules/react-day-picker/dist/esm/components/Weeks.js.map +1 -1
  117. package/lib/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +1 -1
  118. package/lib/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js.map +1 -1
  119. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +7 -2
  120. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js.map +1 -1
  121. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +7 -2
  122. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatDay.js.map +1 -1
  123. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +6 -2
  124. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js.map +1 -1
  125. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +11 -5
  126. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js.map +1 -1
  127. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +3 -2
  128. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js.map +1 -1
  129. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +7 -2
  130. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js.map +1 -1
  131. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +5 -1
  132. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js.map +1 -1
  133. package/lib/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +46 -19
  134. package/lib/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js.map +1 -1
  135. package/lib/node_modules/react-day-picker/dist/esm/{useGetModifiers.js → helpers/createGetModifiers.js} +13 -7
  136. package/lib/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js.map +1 -0
  137. package/lib/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +7 -1
  138. package/lib/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js.map +1 -1
  139. package/lib/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +8 -1
  140. package/lib/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js.map +1 -1
  141. package/lib/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +12 -0
  142. package/lib/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js.map +1 -1
  143. package/lib/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +10 -0
  144. package/lib/node_modules/react-day-picker/dist/esm/helpers/getComponents.js.map +1 -1
  145. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +11 -2
  146. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js.map +1 -1
  147. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDates.js +13 -2
  148. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDates.js.map +1 -1
  149. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDays.js +4 -1
  150. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDays.js.map +1 -1
  151. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +9 -2
  152. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js.map +1 -1
  153. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +10 -0
  154. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js.map +1 -1
  155. package/lib/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +17 -2
  156. package/lib/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js.map +1 -1
  157. package/lib/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +7 -1
  158. package/lib/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js.map +1 -1
  159. package/lib/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +13 -3
  160. package/lib/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js.map +1 -1
  161. package/lib/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +15 -1
  162. package/lib/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js.map +1 -1
  163. package/lib/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +17 -8
  164. package/lib/node_modules/react-day-picker/dist/esm/helpers/getMonths.js.map +1 -1
  165. package/lib/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +7 -1
  166. package/lib/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js.map +1 -1
  167. package/lib/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +20 -7
  168. package/lib/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js.map +1 -1
  169. package/lib/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +13 -6
  170. package/lib/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js.map +1 -1
  171. package/lib/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +13 -5
  172. package/lib/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js.map +1 -1
  173. package/lib/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +11 -0
  174. package/lib/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js.map +1 -1
  175. package/lib/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +9 -6
  176. package/lib/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js.map +1 -1
  177. package/lib/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +6 -1
  178. package/lib/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js.map +1 -1
  179. package/lib/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +13 -1
  180. package/lib/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js.map +1 -1
  181. package/lib/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +8 -1
  182. package/lib/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js.map +1 -1
  183. package/lib/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +10 -6
  184. package/lib/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js.map +1 -1
  185. package/lib/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +9 -5
  186. package/lib/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js.map +1 -1
  187. package/lib/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +7 -3
  188. package/lib/node_modules/react-day-picker/dist/esm/labels/labelGrid.js.map +1 -1
  189. package/lib/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +7 -3
  190. package/lib/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js.map +1 -1
  191. package/lib/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +3 -1
  192. package/lib/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js.map +1 -1
  193. package/lib/node_modules/react-day-picker/dist/esm/labels/labelNav.js +2 -1
  194. package/lib/node_modules/react-day-picker/dist/esm/labels/labelNav.js.map +1 -1
  195. package/lib/node_modules/react-day-picker/dist/esm/labels/labelNext.js +5 -3
  196. package/lib/node_modules/react-day-picker/dist/esm/labels/labelNext.js.map +1 -1
  197. package/lib/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +5 -3
  198. package/lib/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js.map +1 -1
  199. package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +4 -1
  200. package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js.map +1 -1
  201. package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +3 -1
  202. package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js.map +1 -1
  203. package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +5 -1
  204. package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js.map +1 -1
  205. package/lib/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +3 -1
  206. package/lib/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js.map +1 -1
  207. package/lib/node_modules/react-day-picker/dist/esm/selection/useMulti.js +9 -0
  208. package/lib/node_modules/react-day-picker/dist/esm/selection/useMulti.js.map +1 -1
  209. package/lib/node_modules/react-day-picker/dist/esm/selection/useRange.js +10 -2
  210. package/lib/node_modules/react-day-picker/dist/esm/selection/useRange.js.map +1 -1
  211. package/lib/node_modules/react-day-picker/dist/esm/selection/useSingle.js +9 -0
  212. package/lib/node_modules/react-day-picker/dist/esm/selection/useSingle.js.map +1 -1
  213. package/lib/node_modules/react-day-picker/dist/esm/useAnimation.js +158 -0
  214. package/lib/node_modules/react-day-picker/dist/esm/useAnimation.js.map +1 -0
  215. package/lib/node_modules/react-day-picker/dist/esm/useCalendar.js +9 -1
  216. package/lib/node_modules/react-day-picker/dist/esm/useCalendar.js.map +1 -1
  217. package/lib/node_modules/react-day-picker/dist/esm/useDayPicker.js +4 -6
  218. package/lib/node_modules/react-day-picker/dist/esm/useDayPicker.js.map +1 -1
  219. package/lib/node_modules/react-day-picker/dist/esm/useFocus.js +14 -1
  220. package/lib/node_modules/react-day-picker/dist/esm/useFocus.js.map +1 -1
  221. package/lib/node_modules/react-day-picker/dist/esm/useSelection.js +10 -0
  222. package/lib/node_modules/react-day-picker/dist/esm/useSelection.js.map +1 -1
  223. package/lib/node_modules/react-day-picker/dist/esm/utils/addToRange.js +10 -8
  224. package/lib/node_modules/react-day-picker/dist/esm/utils/addToRange.js.map +1 -1
  225. package/lib/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +5 -15
  226. package/lib/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js.map +1 -1
  227. package/lib/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +7 -9
  228. package/lib/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js.map +1 -1
  229. package/lib/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +5 -14
  230. package/lib/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js.map +1 -1
  231. package/lib/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +7 -3
  232. package/lib/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js.map +1 -1
  233. package/lib/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +6 -2
  234. package/lib/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js.map +1 -1
  235. package/lib/node_modules/react-day-picker/dist/esm/utils/typeguards.js +19 -6
  236. package/lib/node_modules/react-day-picker/dist/esm/utils/typeguards.js.map +1 -1
  237. package/lib/node_modules/react-draft-wysiwyg/dist/react-draft-wysiwyg.js +2 -2
  238. package/lib/node_modules/react-draft-wysiwyg/dist/react-draft-wysiwyg.js.map +1 -1
  239. package/lib/node_modules/react-hook-form/dist/index.esm.js +1203 -1151
  240. package/lib/node_modules/react-hook-form/dist/index.esm.js.map +1 -1
  241. package/lib/node_modules/{prop-types/node_modules/react-is → react-is}/cjs/react-is.development.js +1 -1
  242. package/lib/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  243. package/lib/node_modules/{prop-types/node_modules/react-is → react-is}/cjs/react-is.production.min.js +1 -1
  244. package/lib/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  245. package/lib/node_modules/{hoist-non-react-statics/node_modules/react-is → react-is}/index.js +1 -1
  246. package/lib/node_modules/react-is/index.js.map +1 -0
  247. package/lib/node_modules/webrtc-adapter/src/js/common_shim.js +1 -1
  248. package/lib/node_modules/webrtc-adapter/src/js/common_shim.js.map +1 -1
  249. package/lib/node_modules/webrtc-adapter/src/js/utils.js +6 -4
  250. package/lib/node_modules/webrtc-adapter/src/js/utils.js.map +1 -1
  251. package/lib/tsconfig.tsbuildinfo +1 -1
  252. package/package.json +106 -106
  253. package/lib/_virtual/immutable.es.js +0 -7
  254. package/lib/_virtual/immutable.es.js.map +0 -1
  255. package/lib/_virtual/index14.js +0 -4
  256. package/lib/_virtual/index14.js.map +0 -1
  257. package/lib/_virtual/react-is.development2.js +0 -4
  258. package/lib/_virtual/react-is.development2.js.map +0 -1
  259. package/lib/_virtual/react-is.production.min2.js +0 -4
  260. package/lib/_virtual/react-is.production.min2.js.map +0 -1
  261. package/lib/node_modules/draft-js/node_modules/immutable/dist/immutable.js.map +0 -1
  262. package/lib/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -175
  263. package/lib/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  264. package/lib/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -125
  265. package/lib/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
  266. package/lib/node_modules/hoist-non-react-statics/node_modules/react-is/index.js.map +0 -1
  267. package/lib/node_modules/immutable/dist/immutable.es.js +0 -4829
  268. package/lib/node_modules/immutable/dist/immutable.es.js.map +0 -1
  269. package/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  270. package/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
  271. package/lib/node_modules/prop-types/node_modules/react-is/index.js +0 -18
  272. package/lib/node_modules/prop-types/node_modules/react-is/index.js.map +0 -1
  273. package/lib/node_modules/react-day-picker/dist/esm/useGetModifiers.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"DayButton.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/DayButton.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the button for a day in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function DayButton(props) {\n const { day, modifiers, ...buttonProps } = props;\n const ref = React.useRef(null);\n React.useEffect(() => {\n if (modifiers.focused)\n ref.current?.focus();\n }, [modifiers.focused]);\n return React.createElement(\"button\", { ref: ref, ...buttonProps });\n}\n//# sourceMappingURL=DayButton.js.map"],"names":["DayButton","props","day","modifiers","buttonProps","ref","React","useRef","useEffect","focused","current","focus","createElement"],"mappings":";;AAKA;;;;;;AAMM,SAAUA,SAASA,CACvBC,KAK2C,EAAA;EAE3C,MAAM;IAAEC,GAAG;IAAEC,SAAS;IAAE,GAAGC;AAAW,GAAE,GAAGH,KAAK;AAEhD,EAAA,MAAMI,GAAG,GAAGC,cAAK,CAACC,MAAM,CAAoB,IAAI,CAAC;EACjDD,cAAK,CAACE,SAAS,CAAC,MAAK;IACnB,IAAIL,SAAS,CAACM,OAAO,EAAEJ,GAAG,CAACK,OAAO,EAAEC,KAAK,EAAE;AAC7C,GAAC,EAAE,CAACR,SAAS,CAACM,OAAO,CAAC,CAAC;EACvB,oBAAOH,cAAA,CAAAM,aAAA,CAAA,QAAA,EAAA;AAAQP,IAAAA,GAAG,EAAEA,GAAG;IAAA,GAAMD;GAAe,CAAA;AAC9C;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"DayButton.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/DayButton.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a button for a specific day in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function DayButton(props) {\n const { day, modifiers, ...buttonProps } = props;\n const ref = React.useRef(null);\n React.useEffect(() => {\n if (modifiers.focused)\n ref.current?.focus();\n }, [modifiers.focused]);\n return React.createElement(\"button\", { ref: ref, ...buttonProps });\n}\n//# sourceMappingURL=DayButton.js.map"],"names":["DayButton","props","day","modifiers","buttonProps","ref","React","useRef","useEffect","focused","current","focus","createElement"],"mappings":";;AAKA;;;;;;AAMM,SAAUA,SAASA,CACvBC,KAK2C,EAAA;EAE3C,MAAM;IAAEC,GAAG;IAAEC,SAAS;IAAE,GAAGC;AAAW,GAAE,GAAGH,KAAK;AAEhD,EAAA,MAAMI,GAAG,GAAGC,cAAK,CAACC,MAAM,CAAoB,IAAI,CAAC;EACjDD,cAAK,CAACE,SAAS,CAAC,MAAK;IACnB,IAAIL,SAAS,CAACM,OAAO,EAAEJ,GAAG,CAACK,OAAO,EAAEC,KAAK,EAAE;AAC7C,GAAC,EAAE,CAACR,SAAS,CAACM,OAAO,CAAC,CAAC;EACvB,oBAAOH,cAAA,CAAAM,aAAA,CAAA,QAAA,EAAA;AAAQP,IAAAA,GAAG,EAAEA,GAAG;IAAA,GAAMD;GAAe,CAAA;AAC9C;;;;","x_google_ignoreList":[0]}
@@ -2,7 +2,7 @@ import React__default from 'react';
2
2
  import { UI } from '../UI.js';
3
3
 
4
4
  /**
5
- * Render a dropdown component to use in the navigation bar.
5
+ * Render a dropdown component for navigation in the calendar.
6
6
  *
7
7
  * @group Components
8
8
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Dropdown.js"],"sourcesContent":["import React from \"react\";\nimport { UI } from \"../UI.js\";\n/**\n * Render a dropdown component to use in the navigation bar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Dropdown(props) {\n const { options, className, components, classNames, ...selectProps } = props;\n const cssClassSelect = [classNames[UI.Dropdown], className].join(\" \");\n const selectedOption = options?.find(({ value }) => value === selectProps.value);\n return (React.createElement(\"span\", { \"data-disabled\": selectProps.disabled, className: classNames[UI.DropdownRoot] },\n React.createElement(components.Select, { className: cssClassSelect, ...selectProps }, options?.map(({ value, label, disabled }) => (React.createElement(components.Option, { key: value, value: value, disabled: disabled }, label)))),\n React.createElement(\"span\", { className: classNames[UI.CaptionLabel], \"aria-hidden\": true },\n selectedOption?.label,\n React.createElement(components.Chevron, { orientation: \"down\", size: 18, className: classNames[UI.Chevron] }))));\n}\n//# sourceMappingURL=Dropdown.js.map"],"names":["Dropdown","props","options","className","components","classNames","selectProps","cssClassSelect","UI","join","selectedOption","find","value","React","createElement","disabled","DropdownRoot","Select","map","label","Option","key","CaptionLabel","Chevron","orientation","size"],"mappings":";;;AAkBA;;;;;;AAMM,SAAUA,QAAQA,CACtBC,KAY6D,EAAA;EAE7D,MAAM;IAAEC,OAAO;IAAEC,SAAS;IAAEC,UAAU;IAAEC,UAAU;IAAE,GAAGC;AAAW,GAAE,GAAGL,KAAK;AAE5E,EAAA,MAAMM,cAAc,GAAG,CAACF,UAAU,CAACG,EAAE,CAACR,QAAQ,CAAC,EAAEG,SAAS,CAAC,CAACM,IAAI,CAAC,GAAG,CAAC;AAErE,EAAA,MAAMC,cAAc,GAAGR,OAAO,EAAES,IAAI,CAClC,CAAC;AAAEC,IAAAA;AAAK,GAAE,KAAKA,KAAK,KAAKN,WAAW,CAACM,KAAK,CAC3C;EACD,oBACEC,cAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;IAAA,eACiBR,EAAAA,WAAW,CAACS,QAAQ;AACnCZ,IAAAA,SAAS,EAAEE,UAAU,CAACG,EAAE,CAACQ,YAAY;AAAC,GAAA,eAEtCH,cAAA,CAAAC,aAAA,CAACV,UAAU,CAACa,MAAM,EAAA;AAACd,IAAAA,SAAS,EAAEI,cAAc;IAAA,GAAMD;AAAW,GAAA,EAC1DJ,OAAO,EAAEgB,GAAG,CAAC,CAAC;IAAEN,KAAK;IAAEO,KAAK;AAAEJ,IAAAA;AAAQ,GAAE,mBACvCF,cAAA,CAAAC,aAAA,CAACV,UAAU,CAACgB,MAAM,EAAA;AAACC,IAAAA,GAAG,EAAET,KAAK;AAAEA,IAAAA,KAAK,EAAEA,KAAK;AAAEG,IAAAA,QAAQ,EAAEA;GACpDI,EAAAA,KAAK,CACY,CACrB,CAAC,CACgB,eACpBN,cAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AAAMX,IAAAA,SAAS,EAAEE,UAAU,CAACG,EAAE,CAACc,YAAY,CAAC;AAAA,IAAA,aAAA,EAAA;GACzCZ,EAAAA,cAAc,EAAES,KAAK,eACtBN,cAAA,CAAAC,aAAA,CAACV,UAAU,CAACmB,OAAO,EAAA;AACjBC,IAAAA,WAAW,EAAC,MAAM;AAClBC,IAAAA,IAAI,EAAE,EAAE;AACRtB,IAAAA,SAAS,EAAEE,UAAU,CAACG,EAAE,CAACe,OAAO;AAAC,GAAA,CACjC,CACG,CACF;AAEX;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Dropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Dropdown.js"],"sourcesContent":["import React from \"react\";\nimport { UI } from \"../UI.js\";\n/**\n * Render a dropdown component for navigation in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Dropdown(props) {\n const { options, className, components, classNames, ...selectProps } = props;\n const cssClassSelect = [classNames[UI.Dropdown], className].join(\" \");\n const selectedOption = options?.find(({ value }) => value === selectProps.value);\n return (React.createElement(\"span\", { \"data-disabled\": selectProps.disabled, className: classNames[UI.DropdownRoot] },\n React.createElement(components.Select, { className: cssClassSelect, ...selectProps }, options?.map(({ value, label, disabled }) => (React.createElement(components.Option, { key: value, value: value, disabled: disabled }, label)))),\n React.createElement(\"span\", { className: classNames[UI.CaptionLabel], \"aria-hidden\": true },\n selectedOption?.label,\n React.createElement(components.Chevron, { orientation: \"down\", size: 18, className: classNames[UI.Chevron] }))));\n}\n//# sourceMappingURL=Dropdown.js.map"],"names":["Dropdown","props","options","className","components","classNames","selectProps","cssClassSelect","UI","join","selectedOption","find","value","React","createElement","disabled","DropdownRoot","Select","map","label","Option","key","CaptionLabel","Chevron","orientation","size"],"mappings":";;;AAeA;;;;;;AAMM,SAAUA,QAAQA,CACtBC,KAa6D,EAAA;EAE7D,MAAM;IAAEC,OAAO;IAAEC,SAAS;IAAEC,UAAU;IAAEC,UAAU;IAAE,GAAGC;AAAW,GAAE,GAAGL,KAAK;AAE5E,EAAA,MAAMM,cAAc,GAAG,CAACF,UAAU,CAACG,EAAE,CAACR,QAAQ,CAAC,EAAEG,SAAS,CAAC,CAACM,IAAI,CAAC,GAAG,CAAC;AAErE,EAAA,MAAMC,cAAc,GAAGR,OAAO,EAAES,IAAI,CAClC,CAAC;AAAEC,IAAAA;AAAK,GAAE,KAAKA,KAAK,KAAKN,WAAW,CAACM,KAAK,CAC3C;EACD,oBACEC,cAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;IAAA,eACiBR,EAAAA,WAAW,CAACS,QAAQ;AACnCZ,IAAAA,SAAS,EAAEE,UAAU,CAACG,EAAE,CAACQ,YAAY;AAAC,GAAA,eAEtCH,cAAA,CAAAC,aAAA,CAACV,UAAU,CAACa,MAAM,EAAA;AAACd,IAAAA,SAAS,EAAEI,cAAc;IAAA,GAAMD;AAAW,GAAA,EAC1DJ,OAAO,EAAEgB,GAAG,CAAC,CAAC;IAAEN,KAAK;IAAEO,KAAK;AAAEJ,IAAAA;AAAQ,GAAE,mBACvCF,cAAA,CAAAC,aAAA,CAACV,UAAU,CAACgB,MAAM,EAAA;AAACC,IAAAA,GAAG,EAAET,KAAK;AAAEA,IAAAA,KAAK,EAAEA,KAAK;AAAEG,IAAAA,QAAQ,EAAEA;GACpDI,EAAAA,KAAK,CACY,CACrB,CAAC,CACgB,eACpBN,cAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AAAMX,IAAAA,SAAS,EAAEE,UAAU,CAACG,EAAE,CAACc,YAAY,CAAC;AAAA,IAAA,aAAA,EAAA;GACzCZ,EAAAA,cAAc,EAAES,KAAK,eACtBN,cAAA,CAAAC,aAAA,CAACV,UAAU,CAACmB,OAAO,EAAA;AACjBC,IAAAA,WAAW,EAAC,MAAM;AAClBC,IAAAA,IAAI,EAAE,EAAE;AACRtB,IAAAA,SAAS,EAAEE,UAAU,CAACG,EAAE,CAACe,OAAO;AAAC,GAAA,CACjC,CACG,CACF;AAEX;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render the the navigation dropdowns.
4
+ * Render the navigation dropdowns for the calendar.
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownNav.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/DropdownNav.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the the navigation dropdowns.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function DropdownNav(props) {\n return React.createElement(\"div\", { ...props });\n}\n//# sourceMappingURL=DropdownNav.js.map"],"names":["DropdownNav","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,WAAWA,CAACC,KAAqC,EAAA;EAC/D,oBAAOC,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASF;GAAS,CAAA;AAC3B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"DropdownNav.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/DropdownNav.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the navigation dropdowns for the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function DropdownNav(props) {\n return React.createElement(\"div\", { ...props });\n}\n//# sourceMappingURL=DropdownNav.js.map"],"names":["DropdownNav","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,WAAWA,CAACC,KAAqC,EAAA;EAC/D,oBAAOC,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASF;GAAS,CAAA;AAC3B;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Component wrapping the footer.
4
+ * Render the footer of the calendar.
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Footer.js"],"sourcesContent":["import React from \"react\";\n/**\n * Component wrapping the footer.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Footer(props) {\n return React.createElement(\"div\", { ...props });\n}\n//# sourceMappingURL=Footer.js.map"],"names":["Footer","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,MAAMA,CAACC,KAAqC,EAAA;EAC1D,oBAAOC,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASF;GAAS,CAAA;AAC3B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Footer.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Footer.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the footer of the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Footer(props) {\n return React.createElement(\"div\", { ...props });\n}\n//# sourceMappingURL=Footer.js.map"],"names":["Footer","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,MAAMA,CAACC,KAAqC,EAAA;EAC1D,oBAAOC,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASF;GAAS,CAAA;AAC3B;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render the grid with the weekday header row and the weeks for the given
4
+ * Render the grid with the weekday header row and the weeks for a specific
5
5
  * month.
6
6
  *
7
7
  * @group Components
@@ -1 +1 @@
1
- {"version":3,"file":"Month.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Month.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the grid with the weekday header row and the weeks for the given\n * month.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Month(props) {\n const { calendarMonth, displayIndex, ...divProps } = props;\n return React.createElement(\"div\", { ...divProps }, props.children);\n}\n//# sourceMappingURL=Month.js.map"],"names":["Month","props","calendarMonth","displayIndex","divProps","React","createElement","children"],"mappings":";;AAIA;;;;;;;AAOM,SAAUA,KAAKA,CACnBC,KAKkC,EAAA;EAElC,MAAM;IAAEC,aAAa;IAAEC,YAAY;IAAE,GAAGC;AAAQ,GAAE,GAAGH,KAAK;EAC1D,oBAAOI,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASF;GAAWH,EAAAA,KAAK,CAACM,QAAQ,CAAO;AAClD;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Month.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Month.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the grid with the weekday header row and the weeks for a specific\n * month.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Month(props) {\n const { calendarMonth, displayIndex, ...divProps } = props;\n return React.createElement(\"div\", { ...divProps }, props.children);\n}\n//# sourceMappingURL=Month.js.map"],"names":["Month","props","calendarMonth","displayIndex","divProps","React","createElement","children"],"mappings":";;AAIA;;;;;;;AAOM,SAAUA,KAAKA,CACnBC,KAKkC,EAAA;EAElC,MAAM;IAAEC,aAAa;IAAEC,YAAY;IAAE,GAAGC;AAAQ,GAAE,GAAGH,KAAK;EAC1D,oBAAOI,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASF;GAAWH,EAAAA,KAAK,CAACM,QAAQ,CAAO;AAClD;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render the caption of a month in the calendar.
4
+ * Render the caption for a month in the calendar.
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"MonthCaption.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/MonthCaption.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the caption of a month in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthCaption(props) {\n const { calendarMonth, displayIndex, ...divProps } = props;\n return React.createElement(\"div\", { ...divProps });\n}\n//# sourceMappingURL=MonthCaption.js.map"],"names":["MonthCaption","props","calendarMonth","displayIndex","divProps","React","createElement"],"mappings":";;AAIA;;;;;;AAMM,SAAUA,YAAYA,CAC1BC,KAKkC,EAAA;EAElC,MAAM;IAAEC,aAAa;IAAEC,YAAY;IAAE,GAAGC;AAAQ,GAAE,GAAGH,KAAK;EAC1D,oBAAOI,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASF;GAAY,CAAA;AAC9B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"MonthCaption.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/MonthCaption.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the caption for a month in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthCaption(props) {\n const { calendarMonth, displayIndex, ...divProps } = props;\n return React.createElement(\"div\", { ...divProps });\n}\n//# sourceMappingURL=MonthCaption.js.map"],"names":["MonthCaption","props","calendarMonth","displayIndex","divProps","React","createElement"],"mappings":";;AAIA;;;;;;AAMM,SAAUA,YAAYA,CAC1BC,KAKkC,EAAA;EAElC,MAAM;IAAEC,aAAa;IAAEC,YAAY;IAAE,GAAGC;AAAQ,GAAE,GAAGH,KAAK;EAC1D,oBAAOI,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASF;GAAY,CAAA;AAC9B;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render the grid of days in a month.
4
+ * Render the grid of days for a specific month.
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"MonthGrid.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/MonthGrid.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the grid of days in a month.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthGrid(props) {\n return React.createElement(\"table\", { ...props });\n}\n//# sourceMappingURL=MonthGrid.js.map"],"names":["MonthGrid","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,SAASA,CAACC,KAA4C,EAAA;EACpE,oBAAOC,cAAA,CAAAC,aAAA,CAAA,OAAA,EAAA;IAAA,GAAWF;GAAS,CAAA;AAC7B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"MonthGrid.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/MonthGrid.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the grid of days for a specific month.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthGrid(props) {\n return React.createElement(\"table\", { ...props });\n}\n//# sourceMappingURL=MonthGrid.js.map"],"names":["MonthGrid","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,SAASA,CAACC,KAA4C,EAAA;EACpE,oBAAOC,cAAA,CAAAC,aAAA,CAAA,OAAA,EAAA;IAAA,GAAWF;GAAS,CAAA;AAC7B;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Component wrapping the month grids.
4
+ * Render a container wrapping the month grids.
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"Months.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Months.js"],"sourcesContent":["import React from \"react\";\n/**\n * Component wrapping the month grids.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Months(props) {\n return React.createElement(\"div\", { ...props });\n}\n//# sourceMappingURL=Months.js.map"],"names":["Months","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,MAAMA,CAACC,KAAqC,EAAA;EAC1D,oBAAOC,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASF;GAAS,CAAA;AAC3B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Months.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Months.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a container wrapping the month grids.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Months(props) {\n return React.createElement(\"div\", { ...props });\n}\n//# sourceMappingURL=Months.js.map"],"names":["Months","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,MAAMA,CAACC,KAAqC,EAAA;EAC1D,oBAAOC,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASF;GAAS,CAAA;AAC3B;;;;","x_google_ignoreList":[0]}
@@ -2,7 +2,7 @@ import React__default from 'react';
2
2
  import { useDayPicker } from '../useDayPicker.js';
3
3
 
4
4
  /**
5
- * Render the dropdown to navigate between months.
5
+ * Render a dropdown to navigate between months in the calendar.
6
6
  *
7
7
  * @group Components
8
8
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"MonthsDropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the dropdown to navigate between months.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthsDropdown(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Dropdown, { ...props });\n}\n//# sourceMappingURL=MonthsDropdown.js.map"],"names":["MonthsDropdown","props","components","useDayPicker","React","createElement","Dropdown"],"mappings":";;;AAMA;;;;;;AAMM,SAAUA,cAAcA,CAACC,KAAoB,EAAA;EACjD,MAAM;AAAEC,IAAAA;GAAY,GAAGC,YAAY,EAAE;AACrC,EAAA,oBAAOC,cAAA,CAAAC,aAAA,CAACH,UAAU,CAACI,QAAQ,EAAA;IAAA,GAAKL;GAAS,CAAA;AAC3C;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"MonthsDropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render a dropdown to navigate between months in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthsDropdown(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Dropdown, { ...props });\n}\n//# sourceMappingURL=MonthsDropdown.js.map"],"names":["MonthsDropdown","props","components","useDayPicker","React","createElement","Dropdown"],"mappings":";;;AAMA;;;;;;AAMM,SAAUA,cAAcA,CAACC,KAAoB,EAAA;EACjD,MAAM;AAAEC,IAAAA;GAAY,GAAGC,YAAY,EAAE;AACrC,EAAA,oBAAOC,cAAA,CAAAC,aAAA,CAACH,UAAU,CAACI,QAAQ,EAAA;IAAA,GAAKL;GAAS,CAAA;AAC3C;;;;","x_google_ignoreList":[0]}
@@ -1,9 +1,9 @@
1
- import React__default from 'react';
1
+ import React__default, { useCallback } from 'react';
2
2
  import { UI } from '../UI.js';
3
3
  import { useDayPicker } from '../useDayPicker.js';
4
4
 
5
5
  /**
6
- * Render the toolbar with the navigation button.
6
+ * Render the navigation toolbar with buttons to navigate between months.
7
7
  *
8
8
  * @group Components
9
9
  * @see https://daypicker.dev/guides/custom-components
@@ -24,15 +24,25 @@ function Nav(props) {
24
24
  labelNext
25
25
  }
26
26
  } = useDayPicker();
27
+ const handleNextClick = useCallback(e => {
28
+ if (nextMonth) {
29
+ onNextClick?.(e);
30
+ }
31
+ }, [nextMonth, onNextClick]);
32
+ const handlePreviousClick = useCallback(e => {
33
+ if (previousMonth) {
34
+ onPreviousClick?.(e);
35
+ }
36
+ }, [previousMonth, onPreviousClick]);
27
37
  return /*#__PURE__*/React__default.createElement("nav", {
28
38
  ...navProps
29
39
  }, /*#__PURE__*/React__default.createElement(components.PreviousMonthButton, {
30
40
  type: "button",
31
41
  className: classNames[UI.PreviousMonthButton],
32
42
  tabIndex: previousMonth ? undefined : -1,
33
- disabled: previousMonth ? undefined : true,
43
+ "aria-disabled": previousMonth ? undefined : true,
34
44
  "aria-label": labelPrevious(previousMonth),
35
- onClick: props.onPreviousClick
45
+ onClick: handlePreviousClick
36
46
  }, /*#__PURE__*/React__default.createElement(components.Chevron, {
37
47
  disabled: previousMonth ? undefined : true,
38
48
  className: classNames[UI.Chevron],
@@ -41,9 +51,9 @@ function Nav(props) {
41
51
  type: "button",
42
52
  className: classNames[UI.NextMonthButton],
43
53
  tabIndex: nextMonth ? undefined : -1,
44
- disabled: nextMonth ? undefined : true,
54
+ "aria-disabled": nextMonth ? undefined : true,
45
55
  "aria-label": labelNext(nextMonth),
46
- onClick: props.onNextClick
56
+ onClick: handleNextClick
47
57
  }, /*#__PURE__*/React__default.createElement(components.Chevron, {
48
58
  disabled: nextMonth ? undefined : true,
49
59
  orientation: "right",
@@ -1 +1 @@
1
- {"version":3,"file":"Nav.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Nav.js"],"sourcesContent":["import React from \"react\";\nimport { UI } from \"../UI.js\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the toolbar with the navigation button.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Nav(props) {\n const { onPreviousClick, onNextClick, previousMonth, nextMonth, ...navProps } = props;\n const { components, classNames, labels: { labelPrevious, labelNext } } = useDayPicker();\n return (React.createElement(\"nav\", { ...navProps },\n React.createElement(components.PreviousMonthButton, { type: \"button\", className: classNames[UI.PreviousMonthButton], tabIndex: previousMonth ? undefined : -1, disabled: previousMonth ? undefined : true, \"aria-label\": labelPrevious(previousMonth), onClick: props.onPreviousClick },\n React.createElement(components.Chevron, { disabled: previousMonth ? undefined : true, className: classNames[UI.Chevron], orientation: \"left\" })),\n React.createElement(components.NextMonthButton, { type: \"button\", className: classNames[UI.NextMonthButton], tabIndex: nextMonth ? undefined : -1, disabled: nextMonth ? undefined : true, \"aria-label\": labelNext(nextMonth), onClick: props.onNextClick },\n React.createElement(components.Chevron, { disabled: nextMonth ? undefined : true, orientation: \"right\", className: classNames[UI.Chevron] }))));\n}\n//# sourceMappingURL=Nav.js.map"],"names":["Nav","props","onPreviousClick","onNextClick","previousMonth","nextMonth","navProps","components","classNames","labels","labelPrevious","labelNext","useDayPicker","React","createElement","PreviousMonthButton","type","className","UI","tabIndex","undefined","disabled","onClick","Chevron","orientation","NextMonthButton"],"mappings":";;;;AAKA;;;;;;AAMM,SAAUA,GAAGA,CACjBC,KAK+B,EAAA;EAE/B,MAAM;IACJC,eAAe;IACfC,WAAW;IACXC,aAAa;IACbC,SAAS;IACT,GAAGC;AAAQ,GACZ,GAAGL,KAAK;EAET,MAAM;IACJM,UAAU;IACVC,UAAU;AACVC,IAAAA,MAAM,EAAE;MAAEC,aAAa;AAAEC,MAAAA;AAAS;GACnC,GAAGC,YAAY,EAAE;EAElB,oBACEC,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASR;AAAQ,GAAA,eACfO,cAAA,CAAAC,aAAA,CAACP,UAAU,CAACQ,mBAAmB,EAAA;AAC7BC,IAAAA,IAAI,EAAC,QAAQ;AACbC,IAAAA,SAAS,EAAET,UAAU,CAACU,EAAE,CAACH,mBAAmB,CAAC;AAC7CI,IAAAA,QAAQ,EAAEf,aAAa,GAAGgB,SAAS,GAAG,EAAE;AACxCC,IAAAA,QAAQ,EAAEjB,aAAa,GAAGgB,SAAS,GAAG,IAAI;IAAA,YAC9BV,EAAAA,aAAa,CAACN,aAAa,CAAC;IACxCkB,OAAO,EAAErB,KAAK,CAACC;AAAe,GAAA,eAE9BW,cAAA,CAAAC,aAAA,CAACP,UAAU,CAACgB,OAAO,EAAA;AACjBF,IAAAA,QAAQ,EAAEjB,aAAa,GAAGgB,SAAS,GAAG,IAAI;AAC1CH,IAAAA,SAAS,EAAET,UAAU,CAACU,EAAE,CAACK,OAAO,CAAC;AACjCC,IAAAA,WAAW,EAAC;GACZ,CAAA,CAC6B,eACjCX,cAAA,CAAAC,aAAA,CAACP,UAAU,CAACkB,eAAe,EAAA;AACzBT,IAAAA,IAAI,EAAC,QAAQ;AACbC,IAAAA,SAAS,EAAET,UAAU,CAACU,EAAE,CAACO,eAAe,CAAC;AACzCN,IAAAA,QAAQ,EAAEd,SAAS,GAAGe,SAAS,GAAG,EAAE;AACpCC,IAAAA,QAAQ,EAAEhB,SAAS,GAAGe,SAAS,GAAG,IAAI;IAAA,YAC1BT,EAAAA,SAAS,CAACN,SAAS,CAAC;IAChCiB,OAAO,EAAErB,KAAK,CAACE;AAAW,GAAA,eAE1BU,cAAA,CAAAC,aAAA,CAACP,UAAU,CAACgB,OAAO,EAAA;AACjBF,IAAAA,QAAQ,EAAEhB,SAAS,GAAGe,SAAS,GAAG,IAAI;AACtCI,IAAAA,WAAW,EAAC,OAAO;AACnBP,IAAAA,SAAS,EAAET,UAAU,CAACU,EAAE,CAACK,OAAO;AAAC,GAAA,CACjC,CACyB,CACzB;AAEV;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Nav.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Nav.js"],"sourcesContent":["import React, { useCallback } from \"react\";\nimport { UI } from \"../UI.js\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the navigation toolbar with buttons to navigate between months.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Nav(props) {\n const { onPreviousClick, onNextClick, previousMonth, nextMonth, ...navProps } = props;\n const { components, classNames, labels: { labelPrevious, labelNext } } = useDayPicker();\n const handleNextClick = useCallback((e) => {\n if (nextMonth) {\n onNextClick?.(e);\n }\n }, [nextMonth, onNextClick]);\n const handlePreviousClick = useCallback((e) => {\n if (previousMonth) {\n onPreviousClick?.(e);\n }\n }, [previousMonth, onPreviousClick]);\n return (React.createElement(\"nav\", { ...navProps },\n React.createElement(components.PreviousMonthButton, { type: \"button\", className: classNames[UI.PreviousMonthButton], tabIndex: previousMonth ? undefined : -1, \"aria-disabled\": previousMonth ? undefined : true, \"aria-label\": labelPrevious(previousMonth), onClick: handlePreviousClick },\n React.createElement(components.Chevron, { disabled: previousMonth ? undefined : true, className: classNames[UI.Chevron], orientation: \"left\" })),\n React.createElement(components.NextMonthButton, { type: \"button\", className: classNames[UI.NextMonthButton], tabIndex: nextMonth ? undefined : -1, \"aria-disabled\": nextMonth ? undefined : true, \"aria-label\": labelNext(nextMonth), onClick: handleNextClick },\n React.createElement(components.Chevron, { disabled: nextMonth ? undefined : true, orientation: \"right\", className: classNames[UI.Chevron] }))));\n}\n//# sourceMappingURL=Nav.js.map"],"names":["Nav","props","onPreviousClick","onNextClick","previousMonth","nextMonth","navProps","components","classNames","labels","labelPrevious","labelNext","useDayPicker","handleNextClick","useCallback","e","handlePreviousClick","React","createElement","PreviousMonthButton","type","className","UI","tabIndex","undefined","onClick","Chevron","disabled","orientation","NextMonthButton"],"mappings":";;;;AASA;;;;;;AAMM,SAAUA,GAAGA,CACjBC,KAS+B,EAAA;EAE/B,MAAM;IACJC,eAAe;IACfC,WAAW;IACXC,aAAa;IACbC,SAAS;IACT,GAAGC;AAAQ,GACZ,GAAGL,KAAK;EAET,MAAM;IACJM,UAAU;IACVC,UAAU;AACVC,IAAAA,MAAM,EAAE;MAAEC,aAAa;AAAEC,MAAAA;AAAS;GACnC,GAAGC,YAAY,EAAE;AAElB,EAAA,MAAMC,eAAe,GAAGC,WAAW,CAChCC,CAAsC,IAAI;AACzC,IAAA,IAAIV,SAAS,EAAE;MACbF,WAAW,GAAGY,CAAC,CAAC;AAClB;AACF,GAAC,EACD,CAACV,SAAS,EAAEF,WAAW,CAAC,CACzB;AAED,EAAA,MAAMa,mBAAmB,GAAGF,WAAW,CACpCC,CAAsC,IAAI;AACzC,IAAA,IAAIX,aAAa,EAAE;MACjBF,eAAe,GAAGa,CAAC,CAAC;AACtB;AACF,GAAC,EACD,CAACX,aAAa,EAAEF,eAAe,CAAC,CACjC;EAED,oBACEe,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASZ;AAAQ,GAAA,eACfW,cAAA,CAAAC,aAAA,CAACX,UAAU,CAACY,mBAAmB,EAAA;AAC7BC,IAAAA,IAAI,EAAC,QAAQ;AACbC,IAAAA,SAAS,EAAEb,UAAU,CAACc,EAAE,CAACH,mBAAmB,CAAC;AAC7CI,IAAAA,QAAQ,EAAEnB,aAAa,GAAGoB,SAAS,GAAG,EAAE;AAAA,IAAA,eAAA,EACzBpB,aAAa,GAAGoB,SAAS,GAAG,IAAI;IAAA,YACnCd,EAAAA,aAAa,CAACN,aAAa,CAAC;AACxCqB,IAAAA,OAAO,EAAET;AAAmB,GAAA,eAE5BC,cAAA,CAAAC,aAAA,CAACX,UAAU,CAACmB,OAAO,EAAA;AACjBC,IAAAA,QAAQ,EAAEvB,aAAa,GAAGoB,SAAS,GAAG,IAAI;AAC1CH,IAAAA,SAAS,EAAEb,UAAU,CAACc,EAAE,CAACI,OAAO,CAAC;AACjCE,IAAAA,WAAW,EAAC;GACZ,CAAA,CAC6B,eACjCX,cAAA,CAAAC,aAAA,CAACX,UAAU,CAACsB,eAAe,EAAA;AACzBT,IAAAA,IAAI,EAAC,QAAQ;AACbC,IAAAA,SAAS,EAAEb,UAAU,CAACc,EAAE,CAACO,eAAe,CAAC;AACzCN,IAAAA,QAAQ,EAAElB,SAAS,GAAGmB,SAAS,GAAG,EAAE;AAAA,IAAA,eAAA,EACrBnB,SAAS,GAAGmB,SAAS,GAAG,IAAI;IAAA,YAC/Bb,EAAAA,SAAS,CAACN,SAAS,CAAC;AAChCoB,IAAAA,OAAO,EAAEZ;AAAe,GAAA,eAExBI,cAAA,CAAAC,aAAA,CAACX,UAAU,CAACmB,OAAO,EAAA;AACjBC,IAAAA,QAAQ,EAAEtB,SAAS,GAAGmB,SAAS,GAAG,IAAI;AACtCI,IAAAA,WAAW,EAAC,OAAO;AACnBP,IAAAA,SAAS,EAAEb,UAAU,CAACc,EAAE,CAACI,OAAO;AAAC,GAAA,CACjC,CACyB,CACzB;AAEV;;;;","x_google_ignoreList":[0]}
@@ -2,7 +2,7 @@ import React__default from 'react';
2
2
  import { useDayPicker } from '../useDayPicker.js';
3
3
 
4
4
  /**
5
- * Render the next month button element in the calendar.
5
+ * Render the button to navigate to the next month in the calendar.
6
6
  *
7
7
  * @group Components
8
8
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"NextMonthButton.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/NextMonthButton.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the next month button element in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function NextMonthButton(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Button, { ...props });\n}\n//# sourceMappingURL=NextMonthButton.js.map"],"names":["NextMonthButton","props","components","useDayPicker","React","createElement","Button"],"mappings":";;;AAIA;;;;;;AAMM,SAAUA,eAAeA,CAC7BC,KAA8C,EAAA;EAE9C,MAAM;AAAEC,IAAAA;GAAY,GAAGC,YAAY,EAAE;AACrC,EAAA,oBAAOC,cAAA,CAAAC,aAAA,CAACH,UAAU,CAACI,MAAM,EAAA;IAAA,GAAKL;GAAS,CAAA;AACzC;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"NextMonthButton.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/NextMonthButton.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the button to navigate to the next month in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function NextMonthButton(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Button, { ...props });\n}\n//# sourceMappingURL=NextMonthButton.js.map"],"names":["NextMonthButton","props","components","useDayPicker","React","createElement","Button"],"mappings":";;;AAIA;;;;;;AAMM,SAAUA,eAAeA,CAC7BC,KAA8C,EAAA;EAE9C,MAAM;AAAEC,IAAAA;GAAY,GAAGC,YAAY,EAAE;AACrC,EAAA,oBAAOC,cAAA,CAAAC,aAAA,CAACH,UAAU,CAACI,MAAM,EAAA;IAAA,GAAKL;GAAS,CAAA;AACzC;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render the `option` element.
4
+ * Render an `option` element.
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"Option.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Option.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the `option` element.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Option(props) {\n return React.createElement(\"option\", { ...props });\n}\n//# sourceMappingURL=Option.js.map"],"names":["Option","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,MAAMA,CAACC,KAA8C,EAAA;EACnE,oBAAOC,cAAA,CAAAC,aAAA,CAAA,QAAA,EAAA;IAAA,GAAYF;GAAS,CAAA;AAC9B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Option.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Option.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render an `option` element.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Option(props) {\n return React.createElement(\"option\", { ...props });\n}\n//# sourceMappingURL=Option.js.map"],"names":["Option","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,MAAMA,CAACC,KAA8C,EAAA;EACnE,oBAAOC,cAAA,CAAAC,aAAA,CAAA,QAAA,EAAA;IAAA,GAAYF;GAAS,CAAA;AAC9B;;;;","x_google_ignoreList":[0]}
@@ -2,7 +2,7 @@ import React__default from 'react';
2
2
  import { useDayPicker } from '../useDayPicker.js';
3
3
 
4
4
  /**
5
- * Render the previous month button element in the calendar.
5
+ * Render the button to navigate to the previous month in the calendar.
6
6
  *
7
7
  * @group Components
8
8
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"PreviousMonthButton.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the previous month button element in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function PreviousMonthButton(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Button, { ...props });\n}\n//# sourceMappingURL=PreviousMonthButton.js.map"],"names":["PreviousMonthButton","props","components","useDayPicker","React","createElement","Button"],"mappings":";;;AAIA;;;;;;AAMM,SAAUA,mBAAmBA,CACjCC,KAA8C,EAAA;EAE9C,MAAM;AAAEC,IAAAA;GAAY,GAAGC,YAAY,EAAE;AACrC,EAAA,oBAAOC,cAAA,CAAAC,aAAA,CAACH,UAAU,CAACI,MAAM,EAAA;IAAA,GAAKL;GAAS,CAAA;AACzC;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"PreviousMonthButton.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the button to navigate to the previous month in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function PreviousMonthButton(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Button, { ...props });\n}\n//# sourceMappingURL=PreviousMonthButton.js.map"],"names":["PreviousMonthButton","props","components","useDayPicker","React","createElement","Button"],"mappings":";;;AAIA;;;;;;AAMM,SAAUA,mBAAmBA,CACjCC,KAA8C,EAAA;EAE9C,MAAM;AAAEC,IAAAA;GAAY,GAAGC,YAAY,EAAE;AACrC,EAAA,oBAAOC,cAAA,CAAAC,aAAA,CAACH,UAAU,CAACI,MAAM,EAAA;IAAA,GAAKL;GAAS,CAAA;AACzC;;;;","x_google_ignoreList":[0]}
@@ -1,14 +1,19 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render the root element.
4
+ * Render the root element of the calendar.
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
8
8
  */
9
9
  function Root(props) {
10
+ const {
11
+ rootRef,
12
+ ...rest
13
+ } = props;
10
14
  return /*#__PURE__*/React__default.createElement("div", {
11
- ...props
15
+ ...rest,
16
+ ref: rootRef
12
17
  });
13
18
  }
14
19
 
@@ -1 +1 @@
1
- {"version":3,"file":"Root.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Root.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the root element.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Root(props) {\n return React.createElement(\"div\", { ...props });\n}\n//# sourceMappingURL=Root.js.map"],"names":["Root","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,IAAIA,CAACC,KAAqC,EAAA;EACxD,oBAAOC,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASF;GAAS,CAAA;AAC3B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Root.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Root.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the root element of the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Root(props) {\n const { rootRef, ...rest } = props;\n return React.createElement(\"div\", { ...rest, ref: rootRef });\n}\n//# sourceMappingURL=Root.js.map"],"names":["Root","props","rootRef","rest","React","createElement","ref"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,IAAIA,CAClBC,KAGkC,EAAA;EAElC,MAAM;IAAEC,OAAO;IAAE,GAAGC;AAAI,GAAE,GAAGF,KAAK;EAClC,oBAAOG,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAA,IAAA,GAASF,IAAI;AAAEG,IAAAA,GAAG,EAAEJ;GAAW,CAAA;AACxC;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render the `select` element.
4
+ * Render a `select` element.
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"Select.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Select.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the `select` element.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Select(props) {\n return React.createElement(\"select\", { ...props });\n}\n//# sourceMappingURL=Select.js.map"],"names":["Select","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,MAAMA,CAACC,KAA8C,EAAA;EACnE,oBAAOC,cAAA,CAAAC,aAAA,CAAA,QAAA,EAAA;IAAA,GAAYF;GAAS,CAAA;AAC9B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Select.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Select.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a `select` element.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Select(props) {\n return React.createElement(\"select\", { ...props });\n}\n//# sourceMappingURL=Select.js.map"],"names":["Select","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,MAAMA,CAACC,KAA8C,EAAA;EACnE,oBAAOC,cAAA,CAAAC,aAAA,CAAA,QAAA,EAAA;IAAA,GAAYF;GAAS,CAAA;AAC9B;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render a row in the calendar, with the days and the week number.
4
+ * Render a table row representing a week in the calendar.
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"Week.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Week.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a row in the calendar, with the days and the week number.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Week(props) {\n const { week, ...trProps } = props;\n return React.createElement(\"tr\", { ...trProps });\n}\n//# sourceMappingURL=Week.js.map"],"names":["Week","props","week","trProps","React","createElement"],"mappings":";;AAIA;;;;;;AAMM,SAAUA,IAAIA,CAClBC,KAEuC,EAAA;EAEvC,MAAM;IAAEC,IAAI;IAAE,GAAGC;AAAO,GAAE,GAAGF,KAAK;EAClC,oBAAOG,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;GAAW,CAAA;AAC5B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Week.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Week.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a table row representing a week in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Week(props) {\n const { week, ...trProps } = props;\n return React.createElement(\"tr\", { ...trProps });\n}\n//# sourceMappingURL=Week.js.map"],"names":["Week","props","week","trProps","React","createElement"],"mappings":";;AAIA;;;;;;AAMM,SAAUA,IAAIA,CAClBC,KAGuC,EAAA;EAEvC,MAAM;IAAEC,IAAI;IAAE,GAAGC;AAAO,GAAE,GAAGF,KAAK;EAClC,oBAAOG,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;GAAW,CAAA;AAC5B;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render the cell with the number of the week.
4
+ * Render a table cell displaying the number of the week.
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"WeekNumber.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/WeekNumber.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the cell with the number of the week.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function WeekNumber(props) {\n const { week, ...thProps } = props;\n return React.createElement(\"th\", { ...thProps });\n}\n//# sourceMappingURL=WeekNumber.js.map"],"names":["WeekNumber","props","week","thProps","React","createElement"],"mappings":";;AAIA;;;;;;AAMM,SAAUA,UAAUA,CACxBC,KAG0C,EAAA;EAE1C,MAAM;IAAEC,IAAI;IAAE,GAAGC;AAAO,GAAE,GAAGF,KAAK;EAClC,oBAAOG,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;GAAW,CAAA;AAC5B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"WeekNumber.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/WeekNumber.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a table cell displaying the number of the week.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function WeekNumber(props) {\n const { week, ...thProps } = props;\n return React.createElement(\"th\", { ...thProps });\n}\n//# sourceMappingURL=WeekNumber.js.map"],"names":["WeekNumber","props","week","thProps","React","createElement"],"mappings":";;AAIA;;;;;;AAMM,SAAUA,UAAUA,CACxBC,KAG0C,EAAA;EAE1C,MAAM;IAAEC,IAAI;IAAE,GAAGC;AAAO,GAAE,GAAGF,KAAK;EAClC,oBAAOG,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;GAAW,CAAA;AAC5B;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render the column header for the week numbers.
4
+ * Render the header cell for the week numbers column.
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"WeekNumberHeader.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the column header for the week numbers.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function WeekNumberHeader(props) {\n return React.createElement(\"th\", { ...props });\n}\n//# sourceMappingURL=WeekNumberHeader.js.map"],"names":["WeekNumberHeader","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,gBAAgBA,CAC9BC,KAA6C,EAAA;EAE7C,oBAAOC,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;GAAS,CAAA;AAC1B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"WeekNumberHeader.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the header cell for the week numbers column.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function WeekNumberHeader(props) {\n return React.createElement(\"th\", { ...props });\n}\n//# sourceMappingURL=WeekNumberHeader.js.map"],"names":["WeekNumberHeader","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,gBAAgBA,CAC9BC,KAA6C,EAAA;EAE7C,oBAAOC,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;GAAS,CAAA;AAC1B;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render the column header with the weekday name (e.g. "Mo", "Tu", etc.).
4
+ * Render a table header cell with the name of a weekday (e.g., "Mo", "Tu").
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"Weekday.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Weekday.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the column header with the weekday name (e.g. \"Mo\", \"Tu\", etc.).\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weekday(props) {\n return React.createElement(\"th\", { ...props });\n}\n//# sourceMappingURL=Weekday.js.map"],"names":["Weekday","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,OAAOA,CAACC,KAA6C,EAAA;EACnE,oBAAOC,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;GAAS,CAAA;AAC1B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Weekday.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Weekday.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a table header cell with the name of a weekday (e.g., \"Mo\", \"Tu\").\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weekday(props) {\n return React.createElement(\"th\", { ...props });\n}\n//# sourceMappingURL=Weekday.js.map"],"names":["Weekday","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,OAAOA,CAACC,KAA6C,EAAA;EACnE,oBAAOC,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;GAAS,CAAA;AAC1B;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render the row with the weekday names.
4
+ * Render the table row containing the weekday names.
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"Weekdays.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Weekdays.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the row with the weekday names.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weekdays(props) {\n return (React.createElement(\"thead\", { \"aria-hidden\": true },\n React.createElement(\"tr\", { ...props })));\n}\n//# sourceMappingURL=Weekdays.js.map"],"names":["Weekdays","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,QAAQA,CAACC,KAA0C,EAAA;EACjE,oBACEC,cAAA,CAAAC,aAAA,CAAA,OAAA,EAAA;AAAA,IAAA,aAAA,EAAA;GACED,eAAAA,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;AAAK,GAAA,CAAI,CACX;AAEZ;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Weekdays.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Weekdays.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the table row containing the weekday names.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weekdays(props) {\n return (React.createElement(\"thead\", { \"aria-hidden\": true },\n React.createElement(\"tr\", { ...props })));\n}\n//# sourceMappingURL=Weekdays.js.map"],"names":["Weekdays","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,QAAQA,CAACC,KAA0C,EAAA;EACjE,oBACEC,cAAA,CAAAC,aAAA,CAAA,OAAA,EAAA;AAAA,IAAA,aAAA,EAAA;GACED,eAAAA,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;AAAK,GAAA,CAAI,CACX;AAEZ;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render the weeks in the month grid.
4
+ * Render the container for the weeks in the month grid.
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"Weeks.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Weeks.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the weeks in the month grid.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weeks(props) {\n return React.createElement(\"tbody\", { ...props });\n}\n//# sourceMappingURL=Weeks.js.map"],"names":["Weeks","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,KAAKA,CAACC,KAA8C,EAAA;EAClE,oBAAOC,cAAA,CAAAC,aAAA,CAAA,OAAA,EAAA;IAAA,GAAWF;GAAS,CAAA;AAC7B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Weeks.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Weeks.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the container for the weeks in the month grid.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weeks(props) {\n return React.createElement(\"tbody\", { ...props });\n}\n//# sourceMappingURL=Weeks.js.map"],"names":["Weeks","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,KAAKA,CAACC,KAA8C,EAAA;EAClE,oBAAOC,cAAA,CAAAC,aAAA,CAAA,OAAA,EAAA;IAAA,GAAWF;GAAS,CAAA;AAC7B;;;;","x_google_ignoreList":[0]}
@@ -2,7 +2,7 @@ import React__default from 'react';
2
2
  import { useDayPicker } from '../useDayPicker.js';
3
3
 
4
4
  /**
5
- * Render the dropdown to navigate between years.
5
+ * Render a dropdown to navigate between years in the calendar.
6
6
  *
7
7
  * @group Components
8
8
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"YearsDropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/YearsDropdown.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the dropdown to navigate between years.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function YearsDropdown(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Dropdown, { ...props });\n}\n//# sourceMappingURL=YearsDropdown.js.map"],"names":["YearsDropdown","props","components","useDayPicker","React","createElement","Dropdown"],"mappings":";;;AAMA;;;;;;AAMM,SAAUA,aAAaA,CAACC,KAAoB,EAAA;EAChD,MAAM;AAAEC,IAAAA;GAAY,GAAGC,YAAY,EAAE;AACrC,EAAA,oBAAOC,cAAA,CAAAC,aAAA,CAACH,UAAU,CAACI,QAAQ,EAAA;IAAA,GAAKL;GAAS,CAAA;AAC3C;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"YearsDropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/YearsDropdown.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render a dropdown to navigate between years in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function YearsDropdown(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Dropdown, { ...props });\n}\n//# sourceMappingURL=YearsDropdown.js.map"],"names":["YearsDropdown","props","components","useDayPicker","React","createElement","Dropdown"],"mappings":";;;AAMA;;;;;;AAMM,SAAUA,aAAaA,CAACC,KAAoB,EAAA;EAChD,MAAM;AAAEC,IAAAA;GAAY,GAAGC,YAAY,EAAE;AACrC,EAAA,oBAAOC,cAAA,CAAAC,aAAA,CAACH,UAAU,CAACI,QAAQ,EAAA;IAAA,GAAKL;GAAS,CAAA;AAC3C;;;;","x_google_ignoreList":[0]}
@@ -1,9 +1,14 @@
1
1
  import { DateLib } from '../classes/DateLib.js';
2
2
 
3
3
  /**
4
- * Format the caption of the month.
4
+ * Formats the caption of the month.
5
5
  *
6
- * @defaultValue `LLLL y` (e.g. "November 2022")
6
+ * @defaultValue `LLLL y` (e.g., "November 2022").
7
+ * @param month The date representing the month.
8
+ * @param options Configuration options for the date library.
9
+ * @param dateLib The date library to use for formatting. If not provided, a new
10
+ * instance is created.
11
+ * @returns The formatted caption as a string.
7
12
  * @group Formatters
8
13
  * @see https://daypicker.dev/docs/translation#custom-formatters
9
14
  */
@@ -1 +1 @@
1
- {"version":3,"file":"formatCaption.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatCaption.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Format the caption of the month.\n *\n * @defaultValue `LLLL y` (e.g. \"November 2022\")\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatCaption(month, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(month, \"LLLL y\");\n}\n/**\n * @private\n * @deprecated Use {@link formatCaption} instead.\n * @group Formatters\n */\nexport const formatMonthCaption = formatCaption;\n//# sourceMappingURL=formatCaption.js.map"],"names":["formatCaption","month","options","dateLib","DateLib","format","formatMonthCaption"],"mappings":";;AAEA;;;;;;;AAOM,SAAUA,aAAaA,CAC3BC,KAAW,EACXC,OAAwB,EACxBC,OAAiB,EAAA;AAEjB,EAAA,OAAO,CAACA,OAAO,IAAI,IAAIC,OAAO,CAACF,OAAO,CAAC,EAAEG,MAAM,CAACJ,KAAK,EAAE,QAAQ,CAAC;AAClE;AAEA;;;;;AAKO,MAAMK,kBAAkB,GAAGN;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"formatCaption.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatCaption.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the caption of the month.\n *\n * @defaultValue `LLLL y` (e.g., \"November 2022\").\n * @param month The date representing the month.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted caption as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatCaption(month, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(month, \"LLLL y\");\n}\n/**\n * @private\n * @deprecated Use {@link formatCaption} instead.\n * @group Formatters\n */\nexport const formatMonthCaption = formatCaption;\n//# sourceMappingURL=formatCaption.js.map"],"names":["formatCaption","month","options","dateLib","DateLib","format","formatMonthCaption"],"mappings":";;AAEA;;;;;;;;;;;;AAYM,SAAUA,aAAaA,CAC3BC,KAAW,EACXC,OAAwB,EACxBC,OAAiB,EAAA;AAEjB,EAAA,OAAO,CAACA,OAAO,IAAI,IAAIC,OAAO,CAACF,OAAO,CAAC,EAAEG,MAAM,CAACJ,KAAK,EAAE,QAAQ,CAAC;AAClE;AAEA;;;;;AAKO,MAAMK,kBAAkB,GAAGN;;;;","x_google_ignoreList":[0]}
@@ -1,9 +1,14 @@
1
1
  import { DateLib } from '../classes/DateLib.js';
2
2
 
3
3
  /**
4
- * Format the day date shown in the day cell.
4
+ * Formats the day date shown in the day cell.
5
5
  *
6
- * @defaultValue `d` (e.g. "1")
6
+ * @defaultValue `d` (e.g., "1").
7
+ * @param date The date to format.
8
+ * @param options Configuration options for the date library.
9
+ * @param dateLib The date library to use for formatting. If not provided, a new
10
+ * instance is created.
11
+ * @returns The formatted day as a string.
7
12
  * @group Formatters
8
13
  * @see https://daypicker.dev/docs/translation#custom-formatters
9
14
  */
@@ -1 +1 @@
1
- {"version":3,"file":"formatDay.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatDay.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Format the day date shown in the day cell.\n *\n * @defaultValue `d` (e.g. \"1\")\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatDay(date, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(date, \"d\");\n}\n//# sourceMappingURL=formatDay.js.map"],"names":["formatDay","date","options","dateLib","DateLib","format"],"mappings":";;AAEA;;;;;;;AAOM,SAAUA,SAASA,CACvBC,IAAU,EACVC,OAAwB,EACxBC,OAAiB,EAAA;AAEjB,EAAA,OAAO,CAACA,OAAO,IAAI,IAAIC,OAAO,CAACF,OAAO,CAAC,EAAEG,MAAM,CAACJ,IAAI,EAAE,GAAG,CAAC;AAC5D;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"formatDay.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatDay.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the day date shown in the day cell.\n *\n * @defaultValue `d` (e.g., \"1\").\n * @param date The date to format.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted day as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatDay(date, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(date, \"d\");\n}\n//# sourceMappingURL=formatDay.js.map"],"names":["formatDay","date","options","dateLib","DateLib","format"],"mappings":";;AAEA;;;;;;;;;;;;AAYM,SAAUA,SAASA,CACvBC,IAAU,EACVC,OAAwB,EACxBC,OAAiB,EAAA;AAEjB,EAAA,OAAO,CAACA,OAAO,IAAI,IAAIC,OAAO,CAACF,OAAO,CAAC,EAAEG,MAAM,CAACJ,IAAI,EAAE,GAAG,CAAC;AAC5D;;;;","x_google_ignoreList":[0]}
@@ -1,9 +1,13 @@
1
1
  import { defaultDateLib } from '../classes/DateLib.js';
2
2
 
3
3
  /**
4
- * Format the month number for the dropdown option label.
4
+ * Formats the month for the dropdown option label.
5
5
  *
6
- * @defaultValue The localized month name
6
+ * @defaultValue The localized full month name.
7
+ * @param month The date representing the month.
8
+ * @param dateLib The date library to use for formatting. Defaults to
9
+ * `defaultDateLib`.
10
+ * @returns The formatted month name as a string.
7
11
  * @group Formatters
8
12
  * @see https://daypicker.dev/docs/translation#custom-formatters
9
13
  */
@@ -1 +1 @@
1
- {"version":3,"file":"formatMonthDropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Format the month number for the dropdown option label.\n *\n * @defaultValue The localized month name\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatMonthDropdown(month, dateLib = defaultDateLib) {\n return dateLib.format(month, \"LLLL\");\n}\n//# sourceMappingURL=formatMonthDropdown.js.map"],"names":["formatMonthDropdown","month","dateLib","defaultDateLib","format"],"mappings":";;AAEA;;;;;;;AAOM,SAAUA,mBAAmBA,CACjCC,KAAW,EACXC,OAAA,GAAmBC,cAAc,EAAA;AAEjC,EAAA,OAAOD,OAAO,CAACE,MAAM,CAACH,KAAK,EAAE,MAAM,CAAC;AACtC;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"formatMonthDropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the month for the dropdown option label.\n *\n * @defaultValue The localized full month name.\n * @param month The date representing the month.\n * @param dateLib The date library to use for formatting. Defaults to\n * `defaultDateLib`.\n * @returns The formatted month name as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatMonthDropdown(month, dateLib = defaultDateLib) {\n return dateLib.format(month, \"LLLL\");\n}\n//# sourceMappingURL=formatMonthDropdown.js.map"],"names":["formatMonthDropdown","month","dateLib","defaultDateLib","format"],"mappings":";;AAEA;;;;;;;;;;;AAWM,SAAUA,mBAAmBA,CACjCC,KAAW,EACXC,OAAA,GAAmBC,cAAc,EAAA;AAEjC,EAAA,OAAOD,OAAO,CAACE,MAAM,CAACH,KAAK,EAAE,MAAM,CAAC;AACtC;;;;","x_google_ignoreList":[0]}
@@ -1,15 +1,21 @@
1
+ import { defaultDateLib } from '../classes/DateLib.js';
2
+
1
3
  /**
2
- * Format the week number.
4
+ * Formats the week number.
3
5
  *
4
- * @defaultValue `weekNumber.toLocaleString()` with a leading zero for single-digit numbers
6
+ * @defaultValue The week number as a string, with a leading zero for single-digit numbers.
7
+ * @param weekNumber The week number to format.
8
+ * @param dateLib The date library to use for formatting. Defaults to
9
+ * `defaultDateLib`.
10
+ * @returns The formatted week number as a string.
5
11
  * @group Formatters
6
12
  * @see https://daypicker.dev/docs/translation#custom-formatters
7
13
  */
8
- function formatWeekNumber(weekNumber) {
14
+ function formatWeekNumber(weekNumber, dateLib = defaultDateLib) {
9
15
  if (weekNumber < 10) {
10
- return `0${weekNumber.toLocaleString()}`;
16
+ return dateLib.formatNumber(`0${weekNumber.toLocaleString()}`);
11
17
  }
12
- return `${weekNumber.toLocaleString()}`;
18
+ return dateLib.formatNumber(`${weekNumber.toLocaleString()}`);
13
19
  }
14
20
 
15
21
  export { formatWeekNumber };