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,4 +1,9 @@
1
- /** Represent a month in a calendar year. Contains the weeks within the month. */
1
+ /**
2
+ * Represents a month in a calendar year.
3
+ *
4
+ * A `CalendarMonth` contains the weeks within the month and the date of the
5
+ * month.
6
+ */
2
7
  class CalendarMonth {
3
8
  constructor(month, weeks) {
4
9
  this.date = month;
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarMonth.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js"],"sourcesContent":["/** Represent a month in a calendar year. Contains the weeks within the month. */\nexport class CalendarMonth {\n constructor(month, weeks) {\n this.date = month;\n this.weeks = weeks;\n }\n}\n//# sourceMappingURL=CalendarMonth.js.map"],"names":["CalendarMonth","constructor","month","weeks","date"],"mappings":"AAEA;AACM,MAAOA,aAAa,CAAA;EACxBC,WAAYC,CAAAA,KAAW,EAAEC,KAAqB,EAAA;IAC5C,IAAI,CAACC,IAAI,GAAGF,KAAK;IACjB,IAAI,CAACC,KAAK,GAAGA,KAAK;AACpB;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"CalendarMonth.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js"],"sourcesContent":["/**\n * Represents a month in a calendar year.\n *\n * A `CalendarMonth` contains the weeks within the month and the date of the\n * month.\n */\nexport class CalendarMonth {\n constructor(month, weeks) {\n this.date = month;\n this.weeks = weeks;\n }\n}\n//# sourceMappingURL=CalendarMonth.js.map"],"names":["CalendarMonth","constructor","month","weeks","date"],"mappings":"AAEA;;;;;;AAMM,MAAOA,aAAa,CAAA;EACxBC,WAAYC,CAAAA,KAAW,EAAEC,KAAqB,EAAA;IAC5C,IAAI,CAACC,IAAI,GAAGF,KAAK;IACjB,IAAI,CAACC,KAAK,GAAGA,KAAK;AACpB;;;;;","x_google_ignoreList":[0]}
@@ -1,4 +1,8 @@
1
- /** Represent a week in a calendar month. */
1
+ /**
2
+ * Represents a week in a calendar month.
3
+ *
4
+ * A `CalendarWeek` contains the days within the week and the week number.
5
+ */
2
6
  class CalendarWeek {
3
7
  constructor(weekNumber, days) {
4
8
  this.days = days;
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarWeek.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js"],"sourcesContent":["/** Represent a week in a calendar month. */\nexport class CalendarWeek {\n constructor(weekNumber, days) {\n this.days = days;\n this.weekNumber = weekNumber;\n }\n}\n//# sourceMappingURL=CalendarWeek.js.map"],"names":["CalendarWeek","constructor","weekNumber","days"],"mappings":"AAEA;AACM,MAAOA,YAAY,CAAA;EACvBC,WAAYC,CAAAA,UAAkB,EAAEC,IAAmB,EAAA;IACjD,IAAI,CAACA,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACD,UAAU,GAAGA,UAAU;AAC9B;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"CalendarWeek.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js"],"sourcesContent":["/**\n * Represents a week in a calendar month.\n *\n * A `CalendarWeek` contains the days within the week and the week number.\n */\nexport class CalendarWeek {\n constructor(weekNumber, days) {\n this.days = days;\n this.weekNumber = weekNumber;\n }\n}\n//# sourceMappingURL=CalendarWeek.js.map"],"names":["CalendarWeek","constructor","weekNumber","days"],"mappings":"AAEA;;;;;AAKM,MAAOA,YAAY,CAAA;EACvBC,WAAYC,CAAAA,UAAkB,EAAEC,IAAmB,EAAA;IACjD,IAAI,CAACA,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACD,UAAU,GAAGA,UAAU;AAC9B;;;;;","x_google_ignoreList":[0]}
@@ -1,8 +1,8 @@
1
1
  import { TZDate } from '../../../../@date-fns/tz/date/index.js';
2
2
  import '../../../../@date-fns/tz/date/mini.js';
3
+ import { enUS } from '../../../node_modules/date-fns/locale/en-US.js';
3
4
  import { endOfBroadcastWeek } from '../helpers/endOfBroadcastWeek.js';
4
5
  import { startOfBroadcastWeek } from '../helpers/startOfBroadcastWeek.js';
5
- import { enUS } from '../../../node_modules/date-fns/locale/en-US.js';
6
6
  import { addDays } from '../../../node_modules/date-fns/addDays.js';
7
7
  import { addMonths } from '../../../node_modules/date-fns/addMonths.js';
8
8
  import { addWeeks } from '../../../node_modules/date-fns/addWeeks.js';
@@ -36,8 +36,8 @@ import { startOfWeek } from '../../../node_modules/date-fns/startOfWeek.js';
36
36
  import { startOfYear } from '../../../node_modules/date-fns/startOfYear.js';
37
37
 
38
38
  /**
39
- * A wrapper class around [date-fns](http://date-fns.org) sharing the same
40
- * options.
39
+ * A wrapper class around [date-fns](http://date-fns.org) that provides utility
40
+ * methods for date manipulation and formatting.
41
41
  *
42
42
  * @since 9.2.0
43
43
  * @example
@@ -46,10 +46,10 @@ import { startOfYear } from '../../../node_modules/date-fns/startOfYear.js';
46
46
  */
47
47
  class DateLib {
48
48
  /**
49
- * Creates an instance of DateLib.
49
+ * Creates an instance of `DateLib`.
50
50
  *
51
- * @param options The options for the date library.
52
- * @param overrides Overrides for the date library functions.
51
+ * @param options Configuration options for the date library.
52
+ * @param overrides Custom overrides for the date library functions.
53
53
  */
54
54
  constructor(options, overrides) {
55
55
  /**
@@ -59,10 +59,10 @@ class DateLib {
59
59
  */
60
60
  this.Date = Date;
61
61
  /**
62
- * Creates a new date object to the today's date.
62
+ * Creates a new `Date` object representing today's date.
63
63
  *
64
64
  * @since 9.5.0
65
- * @returns The new date object.
65
+ * @returns A `Date` object for today's date.
66
66
  */
67
67
  this.today = () => {
68
68
  if (this.overrides?.today) {
@@ -74,13 +74,13 @@ class DateLib {
74
74
  return new this.Date();
75
75
  };
76
76
  /**
77
- * Creates a new date object with the specified year, month and date.
77
+ * Creates a new `Date` object with the specified year, month, and day.
78
78
  *
79
79
  * @since 9.5.0
80
80
  * @param year The year.
81
81
  * @param monthIndex The month (0-11).
82
82
  * @param date The day of the month.
83
- * @returns The new date object.
83
+ * @returns A new `Date` object.
84
84
  */
85
85
  this.newDate = (year, monthIndex, date) => {
86
86
  if (this.overrides?.newDate) {
@@ -99,7 +99,7 @@ class DateLib {
99
99
  * @returns The new date with the days added.
100
100
  */
101
101
  this.addDays = (date, amount) => {
102
- return this.overrides?.addDays?.(date, amount) ?? addDays(date, amount);
102
+ return this.overrides?.addDays ? this.overrides.addDays(date, amount) : addDays(date, amount);
103
103
  };
104
104
  /**
105
105
  * Adds the specified number of months to the given date.
@@ -109,7 +109,7 @@ class DateLib {
109
109
  * @returns The new date with the months added.
110
110
  */
111
111
  this.addMonths = (date, amount) => {
112
- return this.overrides?.addMonths?.(date, amount) ?? addMonths(date, amount);
112
+ return this.overrides?.addMonths ? this.overrides.addMonths(date, amount) : addMonths(date, amount);
113
113
  };
114
114
  /**
115
115
  * Adds the specified number of weeks to the given date.
@@ -119,7 +119,7 @@ class DateLib {
119
119
  * @returns The new date with the weeks added.
120
120
  */
121
121
  this.addWeeks = (date, amount) => {
122
- return this.overrides?.addWeeks?.(date, amount) ?? addWeeks(date, amount);
122
+ return this.overrides?.addWeeks ? this.overrides.addWeeks(date, amount) : addWeeks(date, amount);
123
123
  };
124
124
  /**
125
125
  * Adds the specified number of years to the given date.
@@ -129,7 +129,7 @@ class DateLib {
129
129
  * @returns The new date with the years added.
130
130
  */
131
131
  this.addYears = (date, amount) => {
132
- return this.overrides?.addYears?.(date, amount) ?? addYears(date, amount);
132
+ return this.overrides?.addYears ? this.overrides.addYears(date, amount) : addYears(date, amount);
133
133
  };
134
134
  /**
135
135
  * Returns the number of calendar days between the given dates.
@@ -139,7 +139,7 @@ class DateLib {
139
139
  * @returns The number of calendar days between the dates.
140
140
  */
141
141
  this.differenceInCalendarDays = (dateLeft, dateRight) => {
142
- return this.overrides?.differenceInCalendarDays?.(dateLeft, dateRight) ?? differenceInCalendarDays(dateLeft, dateRight);
142
+ return this.overrides?.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(dateLeft, dateRight) : differenceInCalendarDays(dateLeft, dateRight);
143
143
  };
144
144
  /**
145
145
  * Returns the number of calendar months between the given dates.
@@ -149,7 +149,7 @@ class DateLib {
149
149
  * @returns The number of calendar months between the dates.
150
150
  */
151
151
  this.differenceInCalendarMonths = (dateLeft, dateRight) => {
152
- return this.overrides?.differenceInCalendarMonths?.(dateLeft, dateRight) ?? differenceInCalendarMonths(dateLeft, dateRight);
152
+ return this.overrides?.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(dateLeft, dateRight) : differenceInCalendarMonths(dateLeft, dateRight);
153
153
  };
154
154
  /**
155
155
  * Returns the months between the given dates.
@@ -157,7 +157,7 @@ class DateLib {
157
157
  * @param interval The interval to get the months for.
158
158
  */
159
159
  this.eachMonthOfInterval = interval => {
160
- return this.overrides?.eachMonthOfInterval?.(interval) ?? eachMonthOfInterval(interval);
160
+ return this.overrides?.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(interval) : eachMonthOfInterval(interval);
161
161
  };
162
162
  /**
163
163
  * Returns the end of the broadcast week for the given date.
@@ -165,8 +165,8 @@ class DateLib {
165
165
  * @param date The original date.
166
166
  * @returns The end of the broadcast week.
167
167
  */
168
- this.endOfBroadcastWeek = (date, dateLib) => {
169
- return this.overrides?.endOfBroadcastWeek?.(date, dateLib) ?? endOfBroadcastWeek(date, this);
168
+ this.endOfBroadcastWeek = date => {
169
+ return this.overrides?.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(date) : endOfBroadcastWeek(date, this);
170
170
  };
171
171
  /**
172
172
  * Returns the end of the ISO week for the given date.
@@ -175,7 +175,7 @@ class DateLib {
175
175
  * @returns The end of the ISO week.
176
176
  */
177
177
  this.endOfISOWeek = date => {
178
- return this.overrides?.endOfISOWeek?.(date) ?? endOfISOWeek(date);
178
+ return this.overrides?.endOfISOWeek ? this.overrides.endOfISOWeek(date) : endOfISOWeek(date);
179
179
  };
180
180
  /**
181
181
  * Returns the end of the month for the given date.
@@ -184,7 +184,7 @@ class DateLib {
184
184
  * @returns The end of the month.
185
185
  */
186
186
  this.endOfMonth = date => {
187
- return this.overrides?.endOfMonth?.(date) ?? endOfMonth(date);
187
+ return this.overrides?.endOfMonth ? this.overrides.endOfMonth(date) : endOfMonth(date);
188
188
  };
189
189
  /**
190
190
  * Returns the end of the week for the given date.
@@ -193,7 +193,7 @@ class DateLib {
193
193
  * @returns The end of the week.
194
194
  */
195
195
  this.endOfWeek = (date, options) => {
196
- return this.overrides?.endOfWeek?.(date, options ?? this.options) ?? endOfWeek(date, options ?? this.options);
196
+ return this.overrides?.endOfWeek ? this.overrides.endOfWeek(date, options) : endOfWeek(date, this.options);
197
197
  };
198
198
  /**
199
199
  * Returns the end of the year for the given date.
@@ -202,7 +202,7 @@ class DateLib {
202
202
  * @returns The end of the year.
203
203
  */
204
204
  this.endOfYear = date => {
205
- return this.overrides?.endOfYear?.(date) ?? endOfYear(date);
205
+ return this.overrides?.endOfYear ? this.overrides.endOfYear(date) : endOfYear(date);
206
206
  };
207
207
  /**
208
208
  * Formats the given date using the specified format string.
@@ -212,7 +212,7 @@ class DateLib {
212
212
  * @returns The formatted date string.
213
213
  */
214
214
  this.format = (date, formatStr, options) => {
215
- const formatted = this.overrides?.format?.(date, formatStr, options ?? this.options) ?? format(date, formatStr, options ?? this.options);
215
+ const formatted = this.overrides?.format ? this.overrides.format(date, formatStr, this.options) : format(date, formatStr, this.options);
216
216
  if (this.options.numerals && this.options.numerals !== "latn") {
217
217
  return this.replaceDigits(formatted);
218
218
  }
@@ -225,7 +225,7 @@ class DateLib {
225
225
  * @returns The ISO week number.
226
226
  */
227
227
  this.getISOWeek = date => {
228
- return this.overrides?.getISOWeek?.(date) ?? getISOWeek(date);
228
+ return this.overrides?.getISOWeek ? this.overrides.getISOWeek(date) : getISOWeek(date);
229
229
  };
230
230
  /**
231
231
  * Returns the month of the given date.
@@ -233,8 +233,8 @@ class DateLib {
233
233
  * @param date The date to get the month for.
234
234
  * @returns The month.
235
235
  */
236
- this.getMonth = date => {
237
- return this.overrides?.getMonth?.(date) ?? getMonth(date);
236
+ this.getMonth = (date, options) => {
237
+ return this.overrides?.getMonth ? this.overrides.getMonth(date, this.options) : getMonth(date, this.options);
238
238
  };
239
239
  /**
240
240
  * Returns the year of the given date.
@@ -242,8 +242,8 @@ class DateLib {
242
242
  * @param date The date to get the year for.
243
243
  * @returns The year.
244
244
  */
245
- this.getYear = date => {
246
- return this.overrides?.getYear?.(date) ?? getYear(date);
245
+ this.getYear = (date, options) => {
246
+ return this.overrides?.getYear ? this.overrides.getYear(date, this.options) : getYear(date, this.options);
247
247
  };
248
248
  /**
249
249
  * Returns the local week number for the given date.
@@ -252,7 +252,7 @@ class DateLib {
252
252
  * @returns The week number.
253
253
  */
254
254
  this.getWeek = (date, options) => {
255
- return this.overrides?.getWeek?.(date, options ?? this.options) ?? getWeek(date, options ?? this.options);
255
+ return this.overrides?.getWeek ? this.overrides.getWeek(date, this.options) : getWeek(date, this.options);
256
256
  };
257
257
  /**
258
258
  * Checks if the first date is after the second date.
@@ -262,7 +262,7 @@ class DateLib {
262
262
  * @returns True if the first date is after the second date.
263
263
  */
264
264
  this.isAfter = (date, dateToCompare) => {
265
- return this.overrides?.isAfter?.(date, dateToCompare) ?? isAfter(date, dateToCompare);
265
+ return this.overrides?.isAfter ? this.overrides.isAfter(date, dateToCompare) : isAfter(date, dateToCompare);
266
266
  };
267
267
  /**
268
268
  * Checks if the first date is before the second date.
@@ -272,7 +272,7 @@ class DateLib {
272
272
  * @returns True if the first date is before the second date.
273
273
  */
274
274
  this.isBefore = (date, dateToCompare) => {
275
- return this.overrides?.isBefore?.(date, dateToCompare) ?? isBefore(date, dateToCompare);
275
+ return this.overrides?.isBefore ? this.overrides.isBefore(date, dateToCompare) : isBefore(date, dateToCompare);
276
276
  };
277
277
  /**
278
278
  * Checks if the given value is a Date object.
@@ -281,7 +281,7 @@ class DateLib {
281
281
  * @returns True if the value is a Date object.
282
282
  */
283
283
  this.isDate = value => {
284
- return this.overrides?.isDate?.(value) ?? isDate(value);
284
+ return this.overrides?.isDate ? this.overrides.isDate(value) : isDate(value);
285
285
  };
286
286
  /**
287
287
  * Checks if the given dates are on the same day.
@@ -291,7 +291,7 @@ class DateLib {
291
291
  * @returns True if the dates are on the same day.
292
292
  */
293
293
  this.isSameDay = (dateLeft, dateRight) => {
294
- return this.overrides?.isSameDay?.(dateLeft, dateRight) ?? isSameDay(dateLeft, dateRight);
294
+ return this.overrides?.isSameDay ? this.overrides.isSameDay(dateLeft, dateRight) : isSameDay(dateLeft, dateRight);
295
295
  };
296
296
  /**
297
297
  * Checks if the given dates are in the same month.
@@ -301,7 +301,7 @@ class DateLib {
301
301
  * @returns True if the dates are in the same month.
302
302
  */
303
303
  this.isSameMonth = (dateLeft, dateRight) => {
304
- return this.overrides?.isSameMonth?.(dateLeft, dateRight) ?? isSameMonth(dateLeft, dateRight);
304
+ return this.overrides?.isSameMonth ? this.overrides.isSameMonth(dateLeft, dateRight) : isSameMonth(dateLeft, dateRight);
305
305
  };
306
306
  /**
307
307
  * Checks if the given dates are in the same year.
@@ -311,7 +311,7 @@ class DateLib {
311
311
  * @returns True if the dates are in the same year.
312
312
  */
313
313
  this.isSameYear = (dateLeft, dateRight) => {
314
- return this.overrides?.isSameYear?.(dateLeft, dateRight) ?? isSameYear(dateLeft, dateRight);
314
+ return this.overrides?.isSameYear ? this.overrides.isSameYear(dateLeft, dateRight) : isSameYear(dateLeft, dateRight);
315
315
  };
316
316
  /**
317
317
  * Returns the latest date in the given array of dates.
@@ -320,7 +320,7 @@ class DateLib {
320
320
  * @returns The latest date.
321
321
  */
322
322
  this.max = dates => {
323
- return this.overrides?.max?.(dates) ?? max(dates);
323
+ return this.overrides?.max ? this.overrides.max(dates) : max(dates);
324
324
  };
325
325
  /**
326
326
  * Returns the earliest date in the given array of dates.
@@ -329,7 +329,7 @@ class DateLib {
329
329
  * @returns The earliest date.
330
330
  */
331
331
  this.min = dates => {
332
- return this.overrides?.min?.(dates) ?? min(dates);
332
+ return this.overrides?.min ? this.overrides.min(dates) : min(dates);
333
333
  };
334
334
  /**
335
335
  * Sets the month of the given date.
@@ -339,7 +339,7 @@ class DateLib {
339
339
  * @returns The new date with the month set.
340
340
  */
341
341
  this.setMonth = (date, month) => {
342
- return this.overrides?.setMonth?.(date, month) ?? setMonth(date, month);
342
+ return this.overrides?.setMonth ? this.overrides.setMonth(date, month) : setMonth(date, month);
343
343
  };
344
344
  /**
345
345
  * Sets the year of the given date.
@@ -349,7 +349,7 @@ class DateLib {
349
349
  * @returns The new date with the year set.
350
350
  */
351
351
  this.setYear = (date, year) => {
352
- return this.overrides?.setYear?.(date, year) ?? setYear(date, year);
352
+ return this.overrides?.setYear ? this.overrides.setYear(date, year) : setYear(date, year);
353
353
  };
354
354
  /**
355
355
  * Returns the start of the broadcast week for the given date.
@@ -358,7 +358,7 @@ class DateLib {
358
358
  * @returns The start of the broadcast week.
359
359
  */
360
360
  this.startOfBroadcastWeek = (date, dateLib) => {
361
- return this.overrides?.startOfBroadcastWeek?.(date, dateLib ?? this) ?? startOfBroadcastWeek(date, dateLib ?? this);
361
+ return this.overrides?.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(date, this) : startOfBroadcastWeek(date, this);
362
362
  };
363
363
  /**
364
364
  * Returns the start of the day for the given date.
@@ -367,7 +367,7 @@ class DateLib {
367
367
  * @returns The start of the day.
368
368
  */
369
369
  this.startOfDay = date => {
370
- return this.overrides?.startOfDay?.(date) ?? startOfDay(date);
370
+ return this.overrides?.startOfDay ? this.overrides.startOfDay(date) : startOfDay(date);
371
371
  };
372
372
  /**
373
373
  * Returns the start of the ISO week for the given date.
@@ -376,7 +376,7 @@ class DateLib {
376
376
  * @returns The start of the ISO week.
377
377
  */
378
378
  this.startOfISOWeek = date => {
379
- return this.overrides?.startOfISOWeek?.(date) ?? startOfISOWeek(date);
379
+ return this.overrides?.startOfISOWeek ? this.overrides.startOfISOWeek(date) : startOfISOWeek(date);
380
380
  };
381
381
  /**
382
382
  * Returns the start of the month for the given date.
@@ -385,7 +385,7 @@ class DateLib {
385
385
  * @returns The start of the month.
386
386
  */
387
387
  this.startOfMonth = date => {
388
- return this.overrides?.startOfMonth?.(date) ?? startOfMonth(date);
388
+ return this.overrides?.startOfMonth ? this.overrides.startOfMonth(date) : startOfMonth(date);
389
389
  };
390
390
  /**
391
391
  * Returns the start of the week for the given date.
@@ -393,8 +393,8 @@ class DateLib {
393
393
  * @param date The original date.
394
394
  * @returns The start of the week.
395
395
  */
396
- this.startOfWeek = date => {
397
- return this.overrides?.startOfWeek?.(date) ?? startOfWeek(date, this.options);
396
+ this.startOfWeek = (date, options) => {
397
+ return this.overrides?.startOfWeek ? this.overrides.startOfWeek(date, this.options) : startOfWeek(date, this.options);
398
398
  };
399
399
  /**
400
400
  * Returns the start of the year for the given date.
@@ -403,7 +403,7 @@ class DateLib {
403
403
  * @returns The start of the year.
404
404
  */
405
405
  this.startOfYear = date => {
406
- return this.overrides?.startOfYear?.(date) ?? startOfYear(date);
406
+ return this.overrides?.startOfYear ? this.overrides.startOfYear(date) : startOfYear(date);
407
407
  };
408
408
  this.options = {
409
409
  locale: enUS,
@@ -412,9 +412,11 @@ class DateLib {
412
412
  this.overrides = overrides;
413
413
  }
414
414
  /**
415
- * Generate digit map dynamically using Intl.NumberFormat.
415
+ * Generates a mapping of Arabic digits (0-9) to the target numbering system
416
+ * digits.
416
417
  *
417
418
  * @since 9.5.0
419
+ * @returns A record mapping Arabic digits to the target numerals.
418
420
  */
419
421
  getDigitMap() {
420
422
  const {
@@ -432,20 +434,22 @@ class DateLib {
432
434
  return digitMap;
433
435
  }
434
436
  /**
435
- * Replace Arabic digits with the target numbering system digits.
437
+ * Replaces Arabic digits in a string with the target numbering system digits.
436
438
  *
437
439
  * @since 9.5.0
440
+ * @param input The string containing Arabic digits.
441
+ * @returns The string with digits replaced.
438
442
  */
439
443
  replaceDigits(input) {
440
444
  const digitMap = this.getDigitMap();
441
445
  return input.replace(/\d/g, digit => digitMap[digit] || digit);
442
446
  }
443
447
  /**
444
- * Format number using the custom numbering system.
448
+ * Formats a number using the configured numbering system.
445
449
  *
446
450
  * @since 9.5.0
447
451
  * @param value The number to format.
448
- * @returns The formatted number.
452
+ * @returns The formatted number as a string.
449
453
  */
450
454
  formatNumber(value) {
451
455
  return this.replaceDigits(value.toString());
@@ -1 +1 @@
1
- {"version":3,"file":"DateLib.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/classes/DateLib.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\nimport { addDays, addMonths, addWeeks, addYears, differenceInCalendarDays, differenceInCalendarMonths, eachMonthOfInterval, endOfISOWeek, endOfMonth, endOfWeek, endOfYear, format, getISOWeek, getMonth, getWeek, getYear, isAfter, isBefore, isDate, isSameDay, isSameMonth, isSameYear, max, min, setMonth, setYear, startOfDay, startOfISOWeek, startOfMonth, startOfWeek, startOfYear } from \"date-fns\";\nimport { enUS } from \"date-fns/locale\";\nimport { endOfBroadcastWeek } from \"../helpers/endOfBroadcastWeek.js\";\nimport { startOfBroadcastWeek } from \"../helpers/startOfBroadcastWeek.js\";\n/**\n * A wrapper class around [date-fns](http://date-fns.org) sharing the same\n * options.\n *\n * @since 9.2.0\n * @example\n * const dateLib = new DateLib({ locale: es });\n * const newDate = dateLib.addDays(new Date(), 5);\n */\nexport class DateLib {\n /**\n * Creates an instance of DateLib.\n *\n * @param options The options for the date library.\n * @param overrides Overrides for the date library functions.\n */\n constructor(options, overrides) {\n /**\n * Reference to the built-in Date constructor.\n *\n * @deprecated Use `newDate()` or `today()`.\n */\n this.Date = Date;\n /**\n * Creates a new date object to the today's date.\n *\n * @since 9.5.0\n * @returns The new date object.\n */\n this.today = () => {\n if (this.overrides?.today) {\n return this.overrides.today();\n }\n if (this.options.timeZone) {\n return TZDate.tz(this.options.timeZone);\n }\n return new this.Date();\n };\n /**\n * Creates a new date object with the specified year, month and date.\n *\n * @since 9.5.0\n * @param year The year.\n * @param monthIndex The month (0-11).\n * @param date The day of the month.\n * @returns The new date object.\n */\n this.newDate = (year, monthIndex, date) => {\n if (this.overrides?.newDate) {\n return this.overrides.newDate(year, monthIndex, date);\n }\n if (this.options.timeZone) {\n return new TZDate(year, monthIndex, date, this.options.timeZone);\n }\n return new Date(year, monthIndex, date);\n };\n /**\n * Adds the specified number of days to the given date.\n *\n * @param date The date to add days to.\n * @param amount The number of days to add.\n * @returns The new date with the days added.\n */\n this.addDays = (date, amount) => {\n return this.overrides?.addDays?.(date, amount) ?? addDays(date, amount);\n };\n /**\n * Adds the specified number of months to the given date.\n *\n * @param date The date to add months to.\n * @param amount The number of months to add.\n * @returns The new date with the months added.\n */\n this.addMonths = (date, amount) => {\n return this.overrides?.addMonths?.(date, amount) ?? addMonths(date, amount);\n };\n /**\n * Adds the specified number of weeks to the given date.\n *\n * @param date The date to add weeks to.\n * @param amount The number of weeks to add.\n * @returns The new date with the weeks added.\n */\n this.addWeeks = (date, amount) => {\n return this.overrides?.addWeeks?.(date, amount) ?? addWeeks(date, amount);\n };\n /**\n * Adds the specified number of years to the given date.\n *\n * @param date The date to add years to.\n * @param amount The number of years to add.\n * @returns The new date with the years added.\n */\n this.addYears = (date, amount) => {\n return this.overrides?.addYears?.(date, amount) ?? addYears(date, amount);\n };\n /**\n * Returns the number of calendar days between the given dates.\n *\n * @param dateLeft The later date.\n * @param dateRight The earlier date.\n * @returns The number of calendar days between the dates.\n */\n this.differenceInCalendarDays = (dateLeft, dateRight) => {\n return (this.overrides?.differenceInCalendarDays?.(dateLeft, dateRight) ??\n differenceInCalendarDays(dateLeft, dateRight));\n };\n /**\n * Returns the number of calendar months between the given dates.\n *\n * @param dateLeft The later date.\n * @param dateRight The earlier date.\n * @returns The number of calendar months between the dates.\n */\n this.differenceInCalendarMonths = (dateLeft, dateRight) => {\n return (this.overrides?.differenceInCalendarMonths?.(dateLeft, dateRight) ??\n differenceInCalendarMonths(dateLeft, dateRight));\n };\n /**\n * Returns the months between the given dates.\n *\n * @param interval The interval to get the months for.\n */\n this.eachMonthOfInterval = (interval) => {\n return (this.overrides?.eachMonthOfInterval?.(interval) ??\n eachMonthOfInterval(interval));\n };\n /**\n * Returns the end of the broadcast week for the given date.\n *\n * @param date The original date.\n * @returns The end of the broadcast week.\n */\n this.endOfBroadcastWeek = (date, dateLib) => {\n return (this.overrides?.endOfBroadcastWeek?.(date, dateLib) ??\n endOfBroadcastWeek(date, this));\n };\n /**\n * Returns the end of the ISO week for the given date.\n *\n * @param date The original date.\n * @returns The end of the ISO week.\n */\n this.endOfISOWeek = (date) => {\n return this.overrides?.endOfISOWeek?.(date) ?? endOfISOWeek(date);\n };\n /**\n * Returns the end of the month for the given date.\n *\n * @param date The original date.\n * @returns The end of the month.\n */\n this.endOfMonth = (date) => {\n return this.overrides?.endOfMonth?.(date) ?? endOfMonth(date);\n };\n /**\n * Returns the end of the week for the given date.\n *\n * @param date The original date.\n * @returns The end of the week.\n */\n this.endOfWeek = (date, options) => {\n return (this.overrides?.endOfWeek?.(date, options ?? this.options) ??\n endOfWeek(date, options ?? this.options));\n };\n /**\n * Returns the end of the year for the given date.\n *\n * @param date The original date.\n * @returns The end of the year.\n */\n this.endOfYear = (date) => {\n return this.overrides?.endOfYear?.(date) ?? endOfYear(date);\n };\n /**\n * Formats the given date using the specified format string.\n *\n * @param date The date to format.\n * @param formatStr The format string.\n * @returns The formatted date string.\n */\n this.format = (date, formatStr, options) => {\n const formatted = this.overrides?.format?.(date, formatStr, options ?? this.options) ??\n format(date, formatStr, options ?? this.options);\n if (this.options.numerals && this.options.numerals !== \"latn\") {\n return this.replaceDigits(formatted);\n }\n return formatted;\n };\n /**\n * Returns the ISO week number for the given date.\n *\n * @param date The date to get the ISO week number for.\n * @returns The ISO week number.\n */\n this.getISOWeek = (date) => {\n return this.overrides?.getISOWeek?.(date) ?? getISOWeek(date);\n };\n /**\n * Returns the month of the given date.\n *\n * @param date The date to get the month for.\n * @returns The month.\n */\n this.getMonth = (date) => {\n return this.overrides?.getMonth?.(date) ?? getMonth(date);\n };\n /**\n * Returns the year of the given date.\n *\n * @param date The date to get the year for.\n * @returns The year.\n */\n this.getYear = (date) => {\n return this.overrides?.getYear?.(date) ?? getYear(date);\n };\n /**\n * Returns the local week number for the given date.\n *\n * @param date The date to get the week number for.\n * @returns The week number.\n */\n this.getWeek = (date, options) => {\n return (this.overrides?.getWeek?.(date, options ?? this.options) ??\n getWeek(date, options ?? this.options));\n };\n /**\n * Checks if the first date is after the second date.\n *\n * @param date The date to compare.\n * @param dateToCompare The date to compare with.\n * @returns True if the first date is after the second date.\n */\n this.isAfter = (date, dateToCompare) => {\n return (this.overrides?.isAfter?.(date, dateToCompare) ??\n isAfter(date, dateToCompare));\n };\n /**\n * Checks if the first date is before the second date.\n *\n * @param date The date to compare.\n * @param dateToCompare The date to compare with.\n * @returns True if the first date is before the second date.\n */\n this.isBefore = (date, dateToCompare) => {\n return (this.overrides?.isBefore?.(date, dateToCompare) ??\n isBefore(date, dateToCompare));\n };\n /**\n * Checks if the given value is a Date object.\n *\n * @param value The value to check.\n * @returns True if the value is a Date object.\n */\n this.isDate = (value) => {\n return this.overrides?.isDate?.(value) ?? isDate(value);\n };\n /**\n * Checks if the given dates are on the same day.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are on the same day.\n */\n this.isSameDay = (dateLeft, dateRight) => {\n return (this.overrides?.isSameDay?.(dateLeft, dateRight) ??\n isSameDay(dateLeft, dateRight));\n };\n /**\n * Checks if the given dates are in the same month.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are in the same month.\n */\n this.isSameMonth = (dateLeft, dateRight) => {\n return (this.overrides?.isSameMonth?.(dateLeft, dateRight) ??\n isSameMonth(dateLeft, dateRight));\n };\n /**\n * Checks if the given dates are in the same year.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are in the same year.\n */\n this.isSameYear = (dateLeft, dateRight) => {\n return (this.overrides?.isSameYear?.(dateLeft, dateRight) ??\n isSameYear(dateLeft, dateRight));\n };\n /**\n * Returns the latest date in the given array of dates.\n *\n * @param dates The array of dates to compare.\n * @returns The latest date.\n */\n this.max = (dates) => {\n return this.overrides?.max?.(dates) ?? max(dates);\n };\n /**\n * Returns the earliest date in the given array of dates.\n *\n * @param dates The array of dates to compare.\n * @returns The earliest date.\n */\n this.min = (dates) => {\n return this.overrides?.min?.(dates) ?? min(dates);\n };\n /**\n * Sets the month of the given date.\n *\n * @param date The date to set the month on.\n * @param month The month to set (0-11).\n * @returns The new date with the month set.\n */\n this.setMonth = (date, month) => {\n return this.overrides?.setMonth?.(date, month) ?? setMonth(date, month);\n };\n /**\n * Sets the year of the given date.\n *\n * @param date The date to set the year on.\n * @param year The year to set.\n * @returns The new date with the year set.\n */\n this.setYear = (date, year) => {\n return this.overrides?.setYear?.(date, year) ?? setYear(date, year);\n };\n /**\n * Returns the start of the broadcast week for the given date.\n *\n * @param date The original date.\n * @returns The start of the broadcast week.\n */\n this.startOfBroadcastWeek = (date, dateLib) => {\n return (this.overrides?.startOfBroadcastWeek?.(date, dateLib ?? this) ??\n startOfBroadcastWeek(date, dateLib ?? this));\n };\n /**\n * Returns the start of the day for the given date.\n *\n * @param date The original date.\n * @returns The start of the day.\n */\n this.startOfDay = (date) => {\n return this.overrides?.startOfDay?.(date) ?? startOfDay(date);\n };\n /**\n * Returns the start of the ISO week for the given date.\n *\n * @param date The original date.\n * @returns The start of the ISO week.\n */\n this.startOfISOWeek = (date) => {\n return this.overrides?.startOfISOWeek?.(date) ?? startOfISOWeek(date);\n };\n /**\n * Returns the start of the month for the given date.\n *\n * @param date The original date.\n * @returns The start of the month.\n */\n this.startOfMonth = (date) => {\n return this.overrides?.startOfMonth?.(date) ?? startOfMonth(date);\n };\n /**\n * Returns the start of the week for the given date.\n *\n * @param date The original date.\n * @returns The start of the week.\n */\n this.startOfWeek = (date) => {\n return (this.overrides?.startOfWeek?.(date) ?? startOfWeek(date, this.options));\n };\n /**\n * Returns the start of the year for the given date.\n *\n * @param date The original date.\n * @returns The start of the year.\n */\n this.startOfYear = (date) => {\n return this.overrides?.startOfYear?.(date) ?? startOfYear(date);\n };\n this.options = { locale: enUS, ...options };\n this.overrides = overrides;\n }\n /**\n * Generate digit map dynamically using Intl.NumberFormat.\n *\n * @since 9.5.0\n */\n getDigitMap() {\n const { numerals = \"latn\" } = this.options;\n // Use Intl.NumberFormat to create a formatter with the specified numbering system\n const formatter = new Intl.NumberFormat(\"en-US\", {\n numberingSystem: numerals\n });\n // Map Arabic digits (0-9) to the target numerals\n const digitMap = {};\n for (let i = 0; i < 10; i++) {\n digitMap[i.toString()] = formatter.format(i);\n }\n return digitMap;\n }\n /**\n * Replace Arabic digits with the target numbering system digits.\n *\n * @since 9.5.0\n */\n replaceDigits(input) {\n const digitMap = this.getDigitMap();\n return input.replace(/\\d/g, (digit) => digitMap[digit] || digit);\n }\n /**\n * Format number using the custom numbering system.\n *\n * @since 9.5.0\n * @param value The number to format.\n * @returns The formatted number.\n */\n formatNumber(value) {\n return this.replaceDigits(value.toString());\n }\n}\n/** The default locale (English). */\nexport { enUS as defaultLocale } from \"date-fns/locale/en-US\";\n/**\n * The default date library with English locale.\n *\n * @since 9.2.0\n */\nexport const defaultDateLib = new DateLib();\n/**\n * @ignore\n * @deprecated Use `defaultDateLib`.\n */\nexport const dateLib = defaultDateLib;\n//# sourceMappingURL=DateLib.js.map"],"names":["DateLib","constructor","options","overrides","Date","today","timeZone","TZDate","tz","newDate","year","monthIndex","date","addDays","amount","addMonths","addWeeks","addYears","differenceInCalendarDays","dateLeft","dateRight","differenceInCalendarMonths","eachMonthOfInterval","interval","endOfBroadcastWeek","dateLib","endOfISOWeek","endOfMonth","endOfWeek","endOfYear","format","formatStr","formatted","numerals","replaceDigits","getISOWeek","getMonth","getYear","getWeek","isAfter","dateToCompare","isBefore","isDate","value","isSameDay","isSameMonth","isSameYear","max","dates","min","setMonth","month","setYear","startOfBroadcastWeek","startOfDay","startOfISOWeek","startOfMonth","startOfWeek","startOfYear","locale","enUS","getDigitMap","formatter","Intl","NumberFormat","numberingSystem","digitMap","i","toString","input","replace","digit","formatNumber","defaultDateLib"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6FA;;;;;;;;;AASM,MAAOA,OAAO,CAAA;AAOlB;;;;;;EAMAC,WACEC,CAAAA,OAAwB,EACxBC,SAA6C,EAAA;AAiD/C;;;;;IAKA,IAAAC,CAAAA,IAAI,GAAgBA,IAAI;AAExB;;;;;;IAMA,IAAAC,CAAAA,KAAK,GAAG,MAAW;AACjB,MAAA,IAAI,IAAI,CAACF,SAAS,EAAEE,KAAK,EAAE;AACzB,QAAA,OAAO,IAAI,CAACF,SAAS,CAACE,KAAK,EAAE;AAC/B;AACA,MAAA,IAAI,IAAI,CAACH,OAAO,CAACI,QAAQ,EAAE;QACzB,OAAOC,MAAM,CAACC,EAAE,CAAC,IAAI,CAACN,OAAO,CAACI,QAAQ,CAAC;AACzC;AACA,MAAA,OAAO,IAAI,IAAI,CAACF,IAAI,EAAE;KACvB;AAED;;;;;;;;;IASA,IAAAK,CAAAA,OAAO,GAAG,CAACC,IAAY,EAAEC,UAAkB,EAAEC,IAAY,KAAU;AACjE,MAAA,IAAI,IAAI,CAACT,SAAS,EAAEM,OAAO,EAAE;QAC3B,OAAO,IAAI,CAACN,SAAS,CAACM,OAAO,CAACC,IAAI,EAAEC,UAAU,EAAEC,IAAI,CAAC;AACvD;AACA,MAAA,IAAI,IAAI,CAACV,OAAO,CAACI,QAAQ,EAAE;AACzB,QAAA,OAAO,IAAIC,MAAM,CAACG,IAAI,EAAEC,UAAU,EAAEC,IAAI,EAAE,IAAI,CAACV,OAAO,CAACI,QAAQ,CAAC;AAClE;MACA,OAAO,IAAIF,IAAI,CAACM,IAAI,EAAEC,UAAU,EAAEC,IAAI,CAAC;KACxC;AAED;;;;;;;AAOA,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K,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAG,EAAE,EAAEA,CAAC,EAAE,EAAE;AAC3BD,MAAAA,QAAQ,CAACC,CAAC,CAACC,QAAQ,EAAE,CAAC,GAAGN,SAAS,CAAChC,MAAM,CAACqC,CAAC,CAAC;AAC9C;AAEA,IAAA,OAAOD,QAAQ;AACjB;AAEA;;;;;AAKQhC,EAAAA,aAAaA,CAACmC,KAAa,EAAA;AACjC,IAAA,MAAMH,QAAQ,GAAG,IAAI,CAACL,WAAW,EAAE;AACnC,IAAA,OAAOQ,KAAK,CAACC,OAAO,CAAC,KAAK,EAAGC,KAAK,IAAKL,QAAQ,CAACK,KAAK,CAAC,IAAIA,KAAK,CAAC;AAClE;AAEA;;;;;;;AAOAC,EAAAA,YAAYA,CAAC7B,KAAa,EAAA;IACxB,OAAO,IAAI,CAACT,aAAa,CAACS,KAAK,CAACyB,QAAQ,EAAE,CAAC;AAC7C;;AAubF;;;;;AAKaK,MAAAA,cAAc,GAAG,IAAIzE,OAAO;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"DateLib.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/classes/DateLib.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\nimport { addDays, addMonths, addWeeks, addYears, differenceInCalendarDays, differenceInCalendarMonths, eachMonthOfInterval, endOfISOWeek, endOfMonth, endOfWeek, endOfYear, format, getISOWeek, getMonth, getWeek, getYear, isAfter, isBefore, isDate, isSameDay, isSameMonth, isSameYear, max, min, setMonth, setYear, startOfDay, startOfISOWeek, startOfMonth, startOfWeek, startOfYear } from \"date-fns\";\nimport { enUS } from \"date-fns/locale/en-US\";\nimport { endOfBroadcastWeek } from \"../helpers/endOfBroadcastWeek.js\";\nimport { startOfBroadcastWeek } from \"../helpers/startOfBroadcastWeek.js\";\n/**\n * A wrapper class around [date-fns](http://date-fns.org) that provides utility\n * methods for date manipulation and formatting.\n *\n * @since 9.2.0\n * @example\n * const dateLib = new DateLib({ locale: es });\n * const newDate = dateLib.addDays(new Date(), 5);\n */\nexport class DateLib {\n /**\n * Creates an instance of `DateLib`.\n *\n * @param options Configuration options for the date library.\n * @param overrides Custom overrides for the date library functions.\n */\n constructor(options, overrides) {\n /**\n * Reference to the built-in Date constructor.\n *\n * @deprecated Use `newDate()` or `today()`.\n */\n this.Date = Date;\n /**\n * Creates a new `Date` object representing today's date.\n *\n * @since 9.5.0\n * @returns A `Date` object for today's date.\n */\n this.today = () => {\n if (this.overrides?.today) {\n return this.overrides.today();\n }\n if (this.options.timeZone) {\n return TZDate.tz(this.options.timeZone);\n }\n return new this.Date();\n };\n /**\n * Creates a new `Date` object with the specified year, month, and day.\n *\n * @since 9.5.0\n * @param year The year.\n * @param monthIndex The month (0-11).\n * @param date The day of the month.\n * @returns A new `Date` object.\n */\n this.newDate = (year, monthIndex, date) => {\n if (this.overrides?.newDate) {\n return this.overrides.newDate(year, monthIndex, date);\n }\n if (this.options.timeZone) {\n return new TZDate(year, monthIndex, date, this.options.timeZone);\n }\n return new Date(year, monthIndex, date);\n };\n /**\n * Adds the specified number of days to the given date.\n *\n * @param date The date to add days to.\n * @param amount The number of days to add.\n * @returns The new date with the days added.\n */\n this.addDays = (date, amount) => {\n return this.overrides?.addDays\n ? this.overrides.addDays(date, amount)\n : addDays(date, amount);\n };\n /**\n * Adds the specified number of months to the given date.\n *\n * @param date The date to add months to.\n * @param amount The number of months to add.\n * @returns The new date with the months added.\n */\n this.addMonths = (date, amount) => {\n return this.overrides?.addMonths\n ? this.overrides.addMonths(date, amount)\n : addMonths(date, amount);\n };\n /**\n * Adds the specified number of weeks to the given date.\n *\n * @param date The date to add weeks to.\n * @param amount The number of weeks to add.\n * @returns The new date with the weeks added.\n */\n this.addWeeks = (date, amount) => {\n return this.overrides?.addWeeks\n ? this.overrides.addWeeks(date, amount)\n : addWeeks(date, amount);\n };\n /**\n * Adds the specified number of years to the given date.\n *\n * @param date The date to add years to.\n * @param amount The number of years to add.\n * @returns The new date with the years added.\n */\n this.addYears = (date, amount) => {\n return this.overrides?.addYears\n ? this.overrides.addYears(date, amount)\n : addYears(date, amount);\n };\n /**\n * Returns the number of calendar days between the given dates.\n *\n * @param dateLeft The later date.\n * @param dateRight The earlier date.\n * @returns The number of calendar days between the dates.\n */\n this.differenceInCalendarDays = (dateLeft, dateRight) => {\n return this.overrides?.differenceInCalendarDays\n ? this.overrides.differenceInCalendarDays(dateLeft, dateRight)\n : differenceInCalendarDays(dateLeft, dateRight);\n };\n /**\n * Returns the number of calendar months between the given dates.\n *\n * @param dateLeft The later date.\n * @param dateRight The earlier date.\n * @returns The number of calendar months between the dates.\n */\n this.differenceInCalendarMonths = (dateLeft, dateRight) => {\n return this.overrides?.differenceInCalendarMonths\n ? this.overrides.differenceInCalendarMonths(dateLeft, dateRight)\n : differenceInCalendarMonths(dateLeft, dateRight);\n };\n /**\n * Returns the months between the given dates.\n *\n * @param interval The interval to get the months for.\n */\n this.eachMonthOfInterval = (interval) => {\n return this.overrides?.eachMonthOfInterval\n ? this.overrides.eachMonthOfInterval(interval)\n : eachMonthOfInterval(interval);\n };\n /**\n * Returns the end of the broadcast week for the given date.\n *\n * @param date The original date.\n * @returns The end of the broadcast week.\n */\n this.endOfBroadcastWeek = (date) => {\n return this.overrides?.endOfBroadcastWeek\n ? this.overrides.endOfBroadcastWeek(date)\n : endOfBroadcastWeek(date, this);\n };\n /**\n * Returns the end of the ISO week for the given date.\n *\n * @param date The original date.\n * @returns The end of the ISO week.\n */\n this.endOfISOWeek = (date) => {\n return this.overrides?.endOfISOWeek\n ? this.overrides.endOfISOWeek(date)\n : endOfISOWeek(date);\n };\n /**\n * Returns the end of the month for the given date.\n *\n * @param date The original date.\n * @returns The end of the month.\n */\n this.endOfMonth = (date) => {\n return this.overrides?.endOfMonth\n ? this.overrides.endOfMonth(date)\n : endOfMonth(date);\n };\n /**\n * Returns the end of the week for the given date.\n *\n * @param date The original date.\n * @returns The end of the week.\n */\n this.endOfWeek = (date, options) => {\n return this.overrides?.endOfWeek\n ? this.overrides.endOfWeek(date, options)\n : endOfWeek(date, this.options);\n };\n /**\n * Returns the end of the year for the given date.\n *\n * @param date The original date.\n * @returns The end of the year.\n */\n this.endOfYear = (date) => {\n return this.overrides?.endOfYear\n ? this.overrides.endOfYear(date)\n : endOfYear(date);\n };\n /**\n * Formats the given date using the specified format string.\n *\n * @param date The date to format.\n * @param formatStr The format string.\n * @returns The formatted date string.\n */\n this.format = (date, formatStr, options) => {\n const formatted = this.overrides?.format\n ? this.overrides.format(date, formatStr, this.options)\n : format(date, formatStr, this.options);\n if (this.options.numerals && this.options.numerals !== \"latn\") {\n return this.replaceDigits(formatted);\n }\n return formatted;\n };\n /**\n * Returns the ISO week number for the given date.\n *\n * @param date The date to get the ISO week number for.\n * @returns The ISO week number.\n */\n this.getISOWeek = (date) => {\n return this.overrides?.getISOWeek\n ? this.overrides.getISOWeek(date)\n : getISOWeek(date);\n };\n /**\n * Returns the month of the given date.\n *\n * @param date The date to get the month for.\n * @returns The month.\n */\n this.getMonth = (date, options) => {\n return this.overrides?.getMonth\n ? this.overrides.getMonth(date, this.options)\n : getMonth(date, this.options);\n };\n /**\n * Returns the year of the given date.\n *\n * @param date The date to get the year for.\n * @returns The year.\n */\n this.getYear = (date, options) => {\n return this.overrides?.getYear\n ? this.overrides.getYear(date, this.options)\n : getYear(date, this.options);\n };\n /**\n * Returns the local week number for the given date.\n *\n * @param date The date to get the week number for.\n * @returns The week number.\n */\n this.getWeek = (date, options) => {\n return this.overrides?.getWeek\n ? this.overrides.getWeek(date, this.options)\n : getWeek(date, this.options);\n };\n /**\n * Checks if the first date is after the second date.\n *\n * @param date The date to compare.\n * @param dateToCompare The date to compare with.\n * @returns True if the first date is after the second date.\n */\n this.isAfter = (date, dateToCompare) => {\n return this.overrides?.isAfter\n ? this.overrides.isAfter(date, dateToCompare)\n : isAfter(date, dateToCompare);\n };\n /**\n * Checks if the first date is before the second date.\n *\n * @param date The date to compare.\n * @param dateToCompare The date to compare with.\n * @returns True if the first date is before the second date.\n */\n this.isBefore = (date, dateToCompare) => {\n return this.overrides?.isBefore\n ? this.overrides.isBefore(date, dateToCompare)\n : isBefore(date, dateToCompare);\n };\n /**\n * Checks if the given value is a Date object.\n *\n * @param value The value to check.\n * @returns True if the value is a Date object.\n */\n this.isDate = (value) => {\n return this.overrides?.isDate\n ? this.overrides.isDate(value)\n : isDate(value);\n };\n /**\n * Checks if the given dates are on the same day.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are on the same day.\n */\n this.isSameDay = (dateLeft, dateRight) => {\n return this.overrides?.isSameDay\n ? this.overrides.isSameDay(dateLeft, dateRight)\n : isSameDay(dateLeft, dateRight);\n };\n /**\n * Checks if the given dates are in the same month.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are in the same month.\n */\n this.isSameMonth = (dateLeft, dateRight) => {\n return this.overrides?.isSameMonth\n ? this.overrides.isSameMonth(dateLeft, dateRight)\n : isSameMonth(dateLeft, dateRight);\n };\n /**\n * Checks if the given dates are in the same year.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are in the same year.\n */\n this.isSameYear = (dateLeft, dateRight) => {\n return this.overrides?.isSameYear\n ? this.overrides.isSameYear(dateLeft, dateRight)\n : isSameYear(dateLeft, dateRight);\n };\n /**\n * Returns the latest date in the given array of dates.\n *\n * @param dates The array of dates to compare.\n * @returns The latest date.\n */\n this.max = (dates) => {\n return this.overrides?.max ? this.overrides.max(dates) : max(dates);\n };\n /**\n * Returns the earliest date in the given array of dates.\n *\n * @param dates The array of dates to compare.\n * @returns The earliest date.\n */\n this.min = (dates) => {\n return this.overrides?.min ? this.overrides.min(dates) : min(dates);\n };\n /**\n * Sets the month of the given date.\n *\n * @param date The date to set the month on.\n * @param month The month to set (0-11).\n * @returns The new date with the month set.\n */\n this.setMonth = (date, month) => {\n return this.overrides?.setMonth\n ? this.overrides.setMonth(date, month)\n : setMonth(date, month);\n };\n /**\n * Sets the year of the given date.\n *\n * @param date The date to set the year on.\n * @param year The year to set.\n * @returns The new date with the year set.\n */\n this.setYear = (date, year) => {\n return this.overrides?.setYear\n ? this.overrides.setYear(date, year)\n : setYear(date, year);\n };\n /**\n * Returns the start of the broadcast week for the given date.\n *\n * @param date The original date.\n * @returns The start of the broadcast week.\n */\n this.startOfBroadcastWeek = (date, dateLib) => {\n return this.overrides?.startOfBroadcastWeek\n ? this.overrides.startOfBroadcastWeek(date, this)\n : startOfBroadcastWeek(date, this);\n };\n /**\n * Returns the start of the day for the given date.\n *\n * @param date The original date.\n * @returns The start of the day.\n */\n this.startOfDay = (date) => {\n return this.overrides?.startOfDay\n ? this.overrides.startOfDay(date)\n : startOfDay(date);\n };\n /**\n * Returns the start of the ISO week for the given date.\n *\n * @param date The original date.\n * @returns The start of the ISO week.\n */\n this.startOfISOWeek = (date) => {\n return this.overrides?.startOfISOWeek\n ? this.overrides.startOfISOWeek(date)\n : startOfISOWeek(date);\n };\n /**\n * Returns the start of the month for the given date.\n *\n * @param date The original date.\n * @returns The start of the month.\n */\n this.startOfMonth = (date) => {\n return this.overrides?.startOfMonth\n ? this.overrides.startOfMonth(date)\n : startOfMonth(date);\n };\n /**\n * Returns the start of the week for the given date.\n *\n * @param date The original date.\n * @returns The start of the week.\n */\n this.startOfWeek = (date, options) => {\n return this.overrides?.startOfWeek\n ? this.overrides.startOfWeek(date, this.options)\n : startOfWeek(date, this.options);\n };\n /**\n * Returns the start of the year for the given date.\n *\n * @param date The original date.\n * @returns The start of the year.\n */\n this.startOfYear = (date) => {\n return this.overrides?.startOfYear\n ? this.overrides.startOfYear(date)\n : startOfYear(date);\n };\n this.options = { locale: enUS, ...options };\n this.overrides = overrides;\n }\n /**\n * Generates a mapping of Arabic digits (0-9) to the target numbering system\n * digits.\n *\n * @since 9.5.0\n * @returns A record mapping Arabic digits to the target numerals.\n */\n getDigitMap() {\n const { numerals = \"latn\" } = this.options;\n // Use Intl.NumberFormat to create a formatter with the specified numbering system\n const formatter = new Intl.NumberFormat(\"en-US\", {\n numberingSystem: numerals\n });\n // Map Arabic digits (0-9) to the target numerals\n const digitMap = {};\n for (let i = 0; i < 10; i++) {\n digitMap[i.toString()] = formatter.format(i);\n }\n return digitMap;\n }\n /**\n * Replaces Arabic digits in a string with the target numbering system digits.\n *\n * @since 9.5.0\n * @param input The string containing Arabic digits.\n * @returns The string with digits replaced.\n */\n replaceDigits(input) {\n const digitMap = this.getDigitMap();\n return input.replace(/\\d/g, (digit) => digitMap[digit] || digit);\n }\n /**\n * Formats a number using the configured numbering system.\n *\n * @since 9.5.0\n * @param value The number to format.\n * @returns The formatted number as a string.\n */\n formatNumber(value) {\n return this.replaceDigits(value.toString());\n }\n}\n/** The default locale (English). */\nexport { enUS as defaultLocale } from \"date-fns/locale/en-US\";\n/**\n * The default date library with English locale.\n *\n * @since 9.2.0\n */\nexport const defaultDateLib = new DateLib();\n/**\n * @ignore\n * @deprecated Use `defaultDateLib`.\n */\nexport const dateLib = defaultDateLib;\n//# sourceMappingURL=DateLib.js.map"],"names":["DateLib","constructor","options","overrides","Date","today","timeZone","TZDate","tz","newDate","year","monthIndex","date","addDays","amount","addMonths","addWeeks","addYears","differenceInCalendarDays","dateLeft","dateRight","differenceInCalendarMonths","eachMonthOfInterval","interval","endOfBroadcastWeek","endOfISOWeek","endOfMonth","endOfWeek","endOfYear","format","formatStr","formatted","numerals","replaceDigits","getISOWeek","getMonth","getYear","getWeek","isAfter","dateToCompare","isBefore","isDate","value","isSameDay","isSameMonth","isSameYear","max","dates","min","setMonth","month","setYear","startOfBroadcastWeek","dateLib","startOfDay","startOfISOWeek","startOfMonth","startOfWeek","startOfYear","locale","enUS","getDigitMap","formatter","Intl","NumberFormat","numberingSystem","digitMap","i","toString","input","replace","digit","formatNumber","defaultDateLib"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+FA;;;;;;;;;AASM,MAAOA,OAAO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;;AAOQjC,EAAAA,aAAaA,CAACoC,KAAa,EAAA;AACjC,IAAA,MAAMH,QAAQ,GAAG,IAAI,CAACL,WAAW,EAAE;AACnC,IAAA,OAAOQ,KAAK,CAACC,OAAO,CAAC,KAAK,EAAGC,KAAK,IAAKL,QAAQ,CAACK,KAAK,CAAC,IAAIA,KAAK,CAAC;AAClE;AAEA;;;;;;;AAOAC,EAAAA,YAAYA,CAAC9B,KAAsB,EAAA;IACjC,OAAO,IAAI,CAACT,aAAa,CAACS,KAAK,CAAC0B,QAAQ,EAAE,CAAC;AAC7C;;AA4cF;;;;;AAKaK,MAAAA,cAAc,GAAG,IAAIzE,OAAO;;;;","x_google_ignoreList":[0]}
@@ -24,7 +24,7 @@ function Chevron(props) {
24
24
  })), orientation === "left" && (/*#__PURE__*/React__default.createElement("polygon", {
25
25
  points: "16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"
26
26
  })), orientation === "right" && (/*#__PURE__*/React__default.createElement("polygon", {
27
- points: "8 18.612 14.1888889 12.5 8 6.37733333 9.91111111 4.5 18 12.5 9.91111111 20.5"
27
+ points: "8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"
28
28
  })));
29
29
  }
30
30
 
@@ -1 +1 @@
1
- {"version":3,"file":"Chevron.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Chevron.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the chevron icon used in the navigation buttons and dropdowns.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Chevron(props) {\n const { size = 24, orientation = \"left\", className } = props;\n return (React.createElement(\"svg\", { className: className, width: size, height: size, viewBox: \"0 0 24 24\" },\n orientation === \"up\" && (React.createElement(\"polygon\", { points: \"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28\" })),\n orientation === \"down\" && (React.createElement(\"polygon\", { points: \"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72\" })),\n orientation === \"left\" && (React.createElement(\"polygon\", { points: \"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20\" })),\n orientation === \"right\" && (React.createElement(\"polygon\", { points: \"8 18.612 14.1888889 12.5 8 6.37733333 9.91111111 4.5 18 12.5 9.91111111 20.5\" }))));\n}\n//# sourceMappingURL=Chevron.js.map"],"names":["Chevron","props","size","orientation","className","React","createElement","width","height","viewBox","points"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,OAAOA,CAACC,KAYvB,EAAA;EACC,MAAM;AAAEC,IAAAA,IAAI,GAAG,EAAE;AAAEC,IAAAA,WAAW,GAAG,MAAM;AAAEC,IAAAA;AAAS,GAAE,GAAGH,KAAK;EAE5D,oBACEI,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKF,IAAAA,SAAS,EAAEA,SAAS;AAAEG,IAAAA,KAAK,EAAEL,IAAI;AAAEM,IAAAA,MAAM,EAAEN,IAAI;AAAEO,IAAAA,OAAO,EAAC;AAAW,GAAA,EACtEN,WAAW,KAAK,IAAI,kBACnBE,cAAA,CAAAC,aAAA,CAAA,SAAA,EAAA;AAASI,IAAAA,MAAM,EAAC;GAAwD,CAAA,CACzE,EACAP,WAAW,KAAK,MAAM,kBACrBE,cAAA,CAAAC,aAAA,CAAA,SAAA,EAAA;AAASI,IAAAA,MAAM,EAAC;GAAqD,CAAA,CACtE,EACAP,WAAW,KAAK,MAAM,kBACrBE,cAAA,CAAAC,aAAA,CAAA,SAAA,EAAA;AAASI,IAAAA,MAAM,EAAC;GAA0E,CAAA,CAC3F,EACAP,WAAW,KAAK,OAAO,kBACtBE,cAAA,CAAAC,aAAA,CAAA,SAAA,EAAA;AAASI,IAAAA,MAAM,EAAC;AAA8E,GAAA,CAAW,CAC1G,CACG;AAEV;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Chevron.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Chevron.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the chevron icon used in the navigation buttons and dropdowns.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Chevron(props) {\n const { size = 24, orientation = \"left\", className } = props;\n return (React.createElement(\"svg\", { className: className, width: size, height: size, viewBox: \"0 0 24 24\" },\n orientation === \"up\" && (React.createElement(\"polygon\", { points: \"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28\" })),\n orientation === \"down\" && (React.createElement(\"polygon\", { points: \"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72\" })),\n orientation === \"left\" && (React.createElement(\"polygon\", { points: \"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20\" })),\n orientation === \"right\" && (React.createElement(\"polygon\", { points: \"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20\" }))));\n}\n//# sourceMappingURL=Chevron.js.map"],"names":["Chevron","props","size","orientation","className","React","createElement","width","height","viewBox","points"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,OAAOA,CAACC,KAYvB,EAAA;EACC,MAAM;AAAEC,IAAAA,IAAI,GAAG,EAAE;AAAEC,IAAAA,WAAW,GAAG,MAAM;AAAEC,IAAAA;AAAS,GAAE,GAAGH,KAAK;EAE5D,oBACEI,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKF,IAAAA,SAAS,EAAEA,SAAS;AAAEG,IAAAA,KAAK,EAAEL,IAAI;AAAEM,IAAAA,MAAM,EAAEN,IAAI;AAAEO,IAAAA,OAAO,EAAC;AAAW,GAAA,EACtEN,WAAW,KAAK,IAAI,kBACnBE,cAAA,CAAAC,aAAA,CAAA,SAAA,EAAA;AAASI,IAAAA,MAAM,EAAC;GAAwD,CAAA,CACzE,EACAP,WAAW,KAAK,MAAM,kBACrBE,cAAA,CAAAC,aAAA,CAAA,SAAA,EAAA;AAASI,IAAAA,MAAM,EAAC;GAAqD,CAAA,CACtE,EACAP,WAAW,KAAK,MAAM,kBACrBE,cAAA,CAAAC,aAAA,CAAA,SAAA,EAAA;AAASI,IAAAA,MAAM,EAAC;GAA0E,CAAA,CAC3F,EACAP,WAAW,KAAK,OAAO,kBACtBE,cAAA,CAAAC,aAAA,CAAA,SAAA,EAAA;AAASI,IAAAA,MAAM,EAAC;AAAuE,GAAA,CAAG,CAC3F,CACG;AAEV;;;;","x_google_ignoreList":[0]}
@@ -1,11 +1,11 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render the gridcell of a day in the calendar and handle the interaction and
5
- * the focus with they day.
4
+ * Render a grid cell for a specific day in the calendar.
6
5
  *
7
- * If you need to just change the content of the day cell, consider swapping the
8
- * `DayDate` component instead.
6
+ * Handles interaction and focus for the day. If you only need to change the
7
+ * content of the day cell, consider swapping the `DayButton` component
8
+ * instead.
9
9
  *
10
10
  * @group Components
11
11
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"Day.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Day.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the gridcell of a day in the calendar and handle the interaction and\n * the focus with they day.\n *\n * If you need to just change the content of the day cell, consider swapping the\n * `DayDate` component instead.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Day(props) {\n const { day, modifiers, ...tdProps } = props;\n return React.createElement(\"td\", { ...tdProps });\n}\n//# sourceMappingURL=Day.js.map"],"names":["Day","props","day","modifiers","tdProps","React","createElement"],"mappings":";;AAKA;;;;;;;;;;AAUM,SAAUA,GAAGA,CACjBC,KAKkC,EAAA;EAElC,MAAM;IAAEC,GAAG;IAAEC,SAAS;IAAE,GAAGC;AAAO,GAAE,GAAGH,KAAK;EAC5C,oBAAOI,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;GAAW,CAAA;AAC5B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Day.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Day.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a grid cell for a specific day in the calendar.\n *\n * Handles interaction and focus for the day. If you only need to change the\n * content of the day cell, consider swapping the `DayButton` component\n * instead.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Day(props) {\n const { day, modifiers, ...tdProps } = props;\n return React.createElement(\"td\", { ...tdProps });\n}\n//# sourceMappingURL=Day.js.map"],"names":["Day","props","day","modifiers","tdProps","React","createElement"],"mappings":";;AAKA;;;;;;;;;;AAUM,SAAUA,GAAGA,CACjBC,KAKkC,EAAA;EAElC,MAAM;IAAEC,GAAG;IAAEC,SAAS;IAAE,GAAGC;AAAO,GAAE,GAAGH,KAAK;EAC5C,oBAAOI,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 button for a day in the calendar.
4
+ * Render a button for a specific day in the calendar.
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components