prometeo-design-system 2.8.7 → 2.8.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (307) hide show
  1. package/dist/{components/Avatar/Avatar.js → Avatar.es.js} +24 -24
  2. package/dist/{components/Button/Button.js → Button.es.js} +55 -55
  3. package/dist/{components/CardProfile/CardProfile.js → CardProfile-CsytJlKZ.js} +94 -68
  4. package/dist/CardProfile.es.js +5 -0
  5. package/dist/{components/CheckBox/CheckBox.js → CheckBox.es.js} +25 -25
  6. package/dist/DatePicker.es.js +3441 -0
  7. package/dist/DialogModal.es.js +75 -0
  8. package/dist/DrawerDesktop.es.js +192 -0
  9. package/dist/DrawerMobile.es.js +242 -0
  10. package/dist/DropZone.es.js +87 -0
  11. package/dist/{components/FAB/FAButton.js → FAButton.es.js} +5 -5
  12. package/dist/Header.es.js +32 -0
  13. package/dist/HelperComponent-g_xuKWzK.js +24 -0
  14. package/dist/Icons-DtFC5DJ7.js +1079 -0
  15. package/dist/Icons.es.js +5 -0
  16. package/dist/{components/Image/Image.js → Image.es.js} +32 -32
  17. package/dist/ImageGallery-Ckxg9OIC.js +317 -0
  18. package/dist/{components/Image/useImageGallery.js → ImageGallery.es.js} +2 -0
  19. package/dist/Input-Cck37DpG.js +240 -0
  20. package/dist/Input.es.js +4 -0
  21. package/dist/InputMultiple.es.js +263 -0
  22. package/dist/LayoutGeneric-CbaoatQB.js +26 -0
  23. package/dist/LayoutGeneric.es.js +4 -0
  24. package/dist/Logo.es.js +9 -0
  25. package/dist/{components/Menu/MenuComposable.js → Menu.es.js} +13 -12
  26. package/dist/OtpInput.es.js +301 -0
  27. package/dist/{components/Pagination/Pagination.js → Pagination.es.js} +32 -32
  28. package/dist/{components/ProfilePictureUpload/ProfilePictureUpload.js → ProfilePictureUpload.es.js} +57 -56
  29. package/dist/ProgressBar.es.js +70 -0
  30. package/dist/{components/RadioButton/RadioButton.js → RadioButton.es.js} +36 -35
  31. package/dist/{components/SegmentedButton/SegmentedButton.js → SegmentedButton.es.js} +38 -37
  32. package/dist/Select-BD5FTxVw.js +1100 -0
  33. package/dist/Select.es.js +4 -0
  34. package/dist/SelectSearch.es.js +237 -0
  35. package/dist/{components/Skeleton/Skeleton.js → Skeleton.es.js} +18 -16
  36. package/dist/Spinner.es.js +52 -0
  37. package/dist/{components/Steps/Steps.js → Steps.es.js} +62 -61
  38. package/dist/{components/SwipeContainer/SwipeContainer.js → SwipeContainer.es.js} +68 -68
  39. package/dist/{components/Switch/Switch.js → Switch.es.js} +18 -17
  40. package/dist/{components/TabLinks/TabLinks.js → TabLinks.es.js} +11 -11
  41. package/dist/{components/Table/Table.js → Table.es.js} +41 -38
  42. package/dist/{components/TextArea/TextArea.js → TextArea.es.js} +26 -24
  43. package/dist/{components/Toaster/Toaster.js → Toast.es.js} +48 -48
  44. package/dist/ToastProvider.es.js +6 -0
  45. package/dist/Tooltip.es.js +62 -0
  46. package/dist/{lib/cn.js → cn-B6yFEsav.js} +2 -2
  47. package/dist/{node_modules/class-variance-authority/dist/index.js → index-BOQuZ0gG.js} +9 -10
  48. package/dist/jsx-runtime-DKDX3adD.js +281 -0
  49. package/dist/prometeo-design-system.css +1 -1
  50. package/dist/prometeo-design-system.es.js +1002 -0
  51. package/dist/{hooks/useDragScroll.js → useDragScroll-CHN9OMwn.js} +1 -1
  52. package/package.json +120 -116
  53. package/dist/Avatar.js +0 -4
  54. package/dist/Button.js +0 -4
  55. package/dist/CardProfile.js +0 -5
  56. package/dist/CheckBox.js +0 -4
  57. package/dist/DatePicker.js +0 -5
  58. package/dist/DialogModal.js +0 -6
  59. package/dist/DrawerDesktop.js +0 -6
  60. package/dist/DrawerMobile.js +0 -6
  61. package/dist/DropZone.js +0 -5
  62. package/dist/FAButton.js +0 -4
  63. package/dist/Header.js +0 -4
  64. package/dist/Icons/Icons.js +0 -1055
  65. package/dist/Icons.js +0 -5
  66. package/dist/Image.js +0 -4
  67. package/dist/ImageGallery.js +0 -6
  68. package/dist/Input.js +0 -4
  69. package/dist/InputMultiple.js +0 -5
  70. package/dist/LayoutGeneric.js +0 -4
  71. package/dist/Logo.js +0 -4
  72. package/dist/Menu.js +0 -5
  73. package/dist/OtpInput.js +0 -4
  74. package/dist/Pagination.js +0 -4
  75. package/dist/ProfilePictureUpload.js +0 -5
  76. package/dist/ProgressBar.js +0 -4
  77. package/dist/RadioButton.js +0 -5
  78. package/dist/SegmentedButton.js +0 -5
  79. package/dist/Select.js +0 -4
  80. package/dist/SelectSearch.js +0 -4
  81. package/dist/Skeleton.js +0 -5
  82. package/dist/Spinner.js +0 -4
  83. package/dist/Steps.js +0 -5
  84. package/dist/SwipeContainer.js +0 -4
  85. package/dist/Switch.js +0 -5
  86. package/dist/TabLinks.js +0 -4
  87. package/dist/Table.js +0 -11
  88. package/dist/TextArea.js +0 -4
  89. package/dist/Toast.js +0 -5
  90. package/dist/ToastProvider.js +0 -4
  91. package/dist/Tooltip.js +0 -4
  92. package/dist/components/Autocomplete/useAutocomplete.js +0 -143
  93. package/dist/components/DatePicker/DatePicker.js +0 -396
  94. package/dist/components/Dialog/Dialog.js +0 -60
  95. package/dist/components/Dialog/useDialogControl.js +0 -18
  96. package/dist/components/Drawer/DrawerDesktop.js +0 -179
  97. package/dist/components/Drawer/DrawerMobile.js +0 -219
  98. package/dist/components/Drawer/useDrawerDesktop.js +0 -18
  99. package/dist/components/Drawer/useDrawerMobile.js +0 -27
  100. package/dist/components/DropZone/DropZone.js +0 -86
  101. package/dist/components/DropZone/useFileDropzone.js +0 -24
  102. package/dist/components/Header/Header.js +0 -32
  103. package/dist/components/Image/GalleryPreview.js +0 -40
  104. package/dist/components/Image/ImageGallery.js +0 -68
  105. package/dist/components/Image/LightBox.js +0 -223
  106. package/dist/components/Input/Input.js +0 -219
  107. package/dist/components/InputMultiple/InputMultiple.js +0 -262
  108. package/dist/components/Layout/LayoutGeneric.js +0 -13
  109. package/dist/components/Logo/Logo.js +0 -9
  110. package/dist/components/OtpInput/OtpInput.js +0 -112
  111. package/dist/components/ProgressBar/ProgressBar.js +0 -70
  112. package/dist/components/Select/Select.js +0 -1005
  113. package/dist/components/SelectSearch/SelectSearch.js +0 -101
  114. package/dist/components/Shared/Chip.js +0 -55
  115. package/dist/components/Shared/HelperComponent.js +0 -24
  116. package/dist/components/Sidebar/SecondaryBar/SecondaryBar.js +0 -62
  117. package/dist/components/Sidebar/SecondaryBar/hooks/useSecondaryBarAnimation.js +0 -59
  118. package/dist/components/Sidebar/SidebarComposable.js +0 -84
  119. package/dist/components/Sidebar/components/NavigationLink.js +0 -34
  120. package/dist/components/Sidebar/components/badge.js +0 -33
  121. package/dist/components/Sidebar/components/changue-account.js +0 -31
  122. package/dist/components/Sidebar/components/collapse-button.js +0 -18
  123. package/dist/components/Sidebar/components/company-logo.js +0 -12
  124. package/dist/components/Sidebar/components/nav-actions.js +0 -98
  125. package/dist/components/Sidebar/components/nav-links.js +0 -100
  126. package/dist/components/Sidebar/context/SidebarContext.js +0 -19
  127. package/dist/components/Sidebar/hooks/SidebarProvider.js +0 -33
  128. package/dist/components/Sidebar/hooks/useNavBarActions.js +0 -9
  129. package/dist/components/Sidebar/hooks/useNavBarCollapse.js +0 -11
  130. package/dist/components/Sidebar/hooks/useSidebarHook.js +0 -13
  131. package/dist/components/Sidebar/ui/useNavbarAnimation.js +0 -326
  132. package/dist/components/Spinner/Spinner.js +0 -52
  133. package/dist/components/TabSwitch/TabSwitch.js +0 -57
  134. package/dist/components/Toaster/ToastProvider.js +0 -6
  135. package/dist/components/Tooltip/Tootip.js +0 -62
  136. package/dist/hooks/useClickOutside.js +0 -24
  137. package/dist/hooks/useLabelBackground.js +0 -25
  138. package/dist/index.js +0 -119
  139. package/dist/lib/utils.js +0 -54
  140. package/dist/node_modules/@date-fns/tz/date/index.js +0 -61
  141. package/dist/node_modules/@date-fns/tz/date/mini.js +0 -69
  142. package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -11
  143. package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -22
  144. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -7
  145. package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
  146. package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -583
  147. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -59
  148. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -52
  149. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -18
  150. package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
  151. package/dist/node_modules/date-fns/_lib/normalizeInterval.js +0 -8
  152. package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -20
  153. package/dist/node_modules/date-fns/addDays.js +0 -10
  154. package/dist/node_modules/date-fns/addMonths.js +0 -20
  155. package/dist/node_modules/date-fns/addWeeks.js +0 -8
  156. package/dist/node_modules/date-fns/addYears.js +0 -8
  157. package/dist/node_modules/date-fns/constants.js +0 -6
  158. package/dist/node_modules/date-fns/constructFrom.js +0 -8
  159. package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -16
  160. package/dist/node_modules/date-fns/differenceInCalendarMonths.js +0 -13
  161. package/dist/node_modules/date-fns/eachMonthOfInterval.js +0 -17
  162. package/dist/node_modules/date-fns/eachYearOfInterval.js +0 -17
  163. package/dist/node_modules/date-fns/endOfISOWeek.js +0 -8
  164. package/dist/node_modules/date-fns/endOfMonth.js +0 -9
  165. package/dist/node_modules/date-fns/endOfWeek.js +0 -10
  166. package/dist/node_modules/date-fns/endOfYear.js +0 -9
  167. package/dist/node_modules/date-fns/format.js +0 -58
  168. package/dist/node_modules/date-fns/getDayOfYear.js +0 -11
  169. package/dist/node_modules/date-fns/getDaysInMonth.js +0 -10
  170. package/dist/node_modules/date-fns/getISOWeek.js +0 -12
  171. package/dist/node_modules/date-fns/getISOWeekYear.js +0 -15
  172. package/dist/node_modules/date-fns/getMonth.js +0 -8
  173. package/dist/node_modules/date-fns/getWeek.js +0 -12
  174. package/dist/node_modules/date-fns/getWeekYear.js +0 -16
  175. package/dist/node_modules/date-fns/getYear.js +0 -8
  176. package/dist/node_modules/date-fns/isAfter.js +0 -8
  177. package/dist/node_modules/date-fns/isBefore.js +0 -8
  178. package/dist/node_modules/date-fns/isDate.js +0 -7
  179. package/dist/node_modules/date-fns/isSameDay.js +0 -14
  180. package/dist/node_modules/date-fns/isSameMonth.js +0 -13
  181. package/dist/node_modules/date-fns/isSameYear.js +0 -13
  182. package/dist/node_modules/date-fns/isValid.js +0 -9
  183. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -9
  184. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -18
  185. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -31
  186. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -15
  187. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -70
  188. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -33
  189. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
  190. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -155
  191. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -110
  192. package/dist/node_modules/date-fns/locale/en-US.js +0 -21
  193. package/dist/node_modules/date-fns/locale/es/_lib/formatDistance.js +0 -70
  194. package/dist/node_modules/date-fns/locale/es/_lib/formatLong.js +0 -33
  195. package/dist/node_modules/date-fns/locale/es/_lib/formatRelative.js +0 -18
  196. package/dist/node_modules/date-fns/locale/es/_lib/localize.js +0 -143
  197. package/dist/node_modules/date-fns/locale/es/_lib/match.js +0 -116
  198. package/dist/node_modules/date-fns/locale/es.js +0 -21
  199. package/dist/node_modules/date-fns/max.js +0 -14
  200. package/dist/node_modules/date-fns/min.js +0 -14
  201. package/dist/node_modules/date-fns/setMonth.js +0 -13
  202. package/dist/node_modules/date-fns/setYear.js +0 -10
  203. package/dist/node_modules/date-fns/startOfDay.js +0 -9
  204. package/dist/node_modules/date-fns/startOfISOWeek.js +0 -8
  205. package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -11
  206. package/dist/node_modules/date-fns/startOfMonth.js +0 -9
  207. package/dist/node_modules/date-fns/startOfWeek.js +0 -10
  208. package/dist/node_modules/date-fns/startOfWeekYear.js +0 -12
  209. package/dist/node_modules/date-fns/startOfYear.js +0 -9
  210. package/dist/node_modules/date-fns/toDate.js +0 -8
  211. package/dist/node_modules/input-otp/dist/index.js +0 -194
  212. package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -227
  213. package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -22
  214. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -19
  215. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -8
  216. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -8
  217. package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -147
  218. package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -7
  219. package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -7
  220. package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
  221. package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -8
  222. package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -10
  223. package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -19
  224. package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -7
  225. package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -7
  226. package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -8
  227. package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -8
  228. package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -7
  229. package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -7
  230. package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -9
  231. package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -27
  232. package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -9
  233. package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -7
  234. package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -9
  235. package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -8
  236. package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -7
  237. package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -8
  238. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -8
  239. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -7
  240. package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -7
  241. package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -11
  242. package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -7
  243. package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -9
  244. package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -54
  245. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -9
  246. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -7
  247. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -7
  248. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -7
  249. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -6
  250. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -7
  251. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -9
  252. package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -18
  253. package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -19
  254. package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -42
  255. package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -9
  256. package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -7
  257. package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -7
  258. package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -10
  259. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -16
  260. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -21
  261. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -10
  262. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -16
  263. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -13
  264. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -15
  265. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -10
  266. package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -13
  267. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -13
  268. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -24
  269. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -13
  270. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -12
  271. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -12
  272. package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -12
  273. package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -13
  274. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -11
  275. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -7
  276. package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -16
  277. package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -7
  278. package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -8
  279. package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -26
  280. package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -10
  281. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -9
  282. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -8
  283. package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -6
  284. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -6
  285. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -6
  286. package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -6
  287. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -6
  288. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -6
  289. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -7
  290. package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -6
  291. package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -21
  292. package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -18
  293. package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -15
  294. package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -56
  295. package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -44
  296. package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -12
  297. package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -23
  298. package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -19
  299. package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -32
  300. package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -26
  301. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -15
  302. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -28
  303. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -9
  304. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -8
  305. package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -26
  306. package/dist/useDevice.js +0 -4
  307. /package/dist/{hooks/useDevice.js → useDevice.es.js} +0 -0
@@ -1,11 +0,0 @@
1
- const t = {
2
- lastWeek: "'last' eeee 'at' p",
3
- yesterday: "'yesterday at' p",
4
- today: "'today at' p",
5
- tomorrow: "'tomorrow at' p",
6
- nextWeek: "eeee 'at' p",
7
- other: "P"
8
- }, s = (e, a, o, r) => t[e];
9
- export {
10
- s as formatRelative
11
- };
@@ -1,155 +0,0 @@
1
- import { buildLocalizeFn as e } from "../../_lib/buildLocalizeFn.js";
2
- const a = {
3
- narrow: ["B", "A"],
4
- abbreviated: ["BC", "AD"],
5
- wide: ["Before Christ", "Anno Domini"]
6
- }, r = {
7
- narrow: ["1", "2", "3", "4"],
8
- abbreviated: ["Q1", "Q2", "Q3", "Q4"],
9
- wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
10
- }, o = {
11
- narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
12
- abbreviated: [
13
- "Jan",
14
- "Feb",
15
- "Mar",
16
- "Apr",
17
- "May",
18
- "Jun",
19
- "Jul",
20
- "Aug",
21
- "Sep",
22
- "Oct",
23
- "Nov",
24
- "Dec"
25
- ],
26
- wide: [
27
- "January",
28
- "February",
29
- "March",
30
- "April",
31
- "May",
32
- "June",
33
- "July",
34
- "August",
35
- "September",
36
- "October",
37
- "November",
38
- "December"
39
- ]
40
- }, d = {
41
- narrow: ["S", "M", "T", "W", "T", "F", "S"],
42
- short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
43
- abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
44
- wide: [
45
- "Sunday",
46
- "Monday",
47
- "Tuesday",
48
- "Wednesday",
49
- "Thursday",
50
- "Friday",
51
- "Saturday"
52
- ]
53
- }, m = {
54
- narrow: {
55
- am: "a",
56
- pm: "p",
57
- midnight: "mi",
58
- noon: "n",
59
- morning: "morning",
60
- afternoon: "afternoon",
61
- evening: "evening",
62
- night: "night"
63
- },
64
- abbreviated: {
65
- am: "AM",
66
- pm: "PM",
67
- midnight: "midnight",
68
- noon: "noon",
69
- morning: "morning",
70
- afternoon: "afternoon",
71
- evening: "evening",
72
- night: "night"
73
- },
74
- wide: {
75
- am: "a.m.",
76
- pm: "p.m.",
77
- midnight: "midnight",
78
- noon: "noon",
79
- morning: "morning",
80
- afternoon: "afternoon",
81
- evening: "evening",
82
- night: "night"
83
- }
84
- }, g = {
85
- narrow: {
86
- am: "a",
87
- pm: "p",
88
- midnight: "mi",
89
- noon: "n",
90
- morning: "in the morning",
91
- afternoon: "in the afternoon",
92
- evening: "in the evening",
93
- night: "at night"
94
- },
95
- abbreviated: {
96
- am: "AM",
97
- pm: "PM",
98
- midnight: "midnight",
99
- noon: "noon",
100
- morning: "in the morning",
101
- afternoon: "in the afternoon",
102
- evening: "in the evening",
103
- night: "at night"
104
- },
105
- wide: {
106
- am: "a.m.",
107
- pm: "p.m.",
108
- midnight: "midnight",
109
- noon: "noon",
110
- morning: "in the morning",
111
- afternoon: "in the afternoon",
112
- evening: "in the evening",
113
- night: "at night"
114
- }
115
- }, u = (i, h) => {
116
- const n = Number(i), t = n % 100;
117
- if (t > 20 || t < 10)
118
- switch (t % 10) {
119
- case 1:
120
- return n + "st";
121
- case 2:
122
- return n + "nd";
123
- case 3:
124
- return n + "rd";
125
- }
126
- return n + "th";
127
- }, l = {
128
- ordinalNumber: u,
129
- era: e({
130
- values: a,
131
- defaultWidth: "wide"
132
- }),
133
- quarter: e({
134
- values: r,
135
- defaultWidth: "wide",
136
- argumentCallback: (i) => i - 1
137
- }),
138
- month: e({
139
- values: o,
140
- defaultWidth: "wide"
141
- }),
142
- day: e({
143
- values: d,
144
- defaultWidth: "wide"
145
- }),
146
- dayPeriod: e({
147
- values: m,
148
- defaultWidth: "wide",
149
- formattingValues: g,
150
- defaultFormattingWidth: "wide"
151
- })
152
- };
153
- export {
154
- l as localize
155
- };
@@ -1,110 +0,0 @@
1
- import { buildMatchFn as a } from "../../_lib/buildMatchFn.js";
2
- import { buildMatchPatternFn as i } from "../../_lib/buildMatchPatternFn.js";
3
- const n = /^(\d+)(th|st|nd|rd)?/i, e = /\d+/i, r = {
4
- narrow: /^(b|a)/i,
5
- abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
6
- wide: /^(before christ|before common era|anno domini|common era)/i
7
- }, s = {
8
- any: [/^b/i, /^(a|c)/i]
9
- }, o = {
10
- narrow: /^[1234]/i,
11
- abbreviated: /^q[1234]/i,
12
- wide: /^[1234](th|st|nd|rd)? quarter/i
13
- }, d = {
14
- any: [/1/i, /2/i, /3/i, /4/i]
15
- }, m = {
16
- narrow: /^[jfmasond]/i,
17
- abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
18
- wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
19
- }, h = {
20
- narrow: [
21
- /^j/i,
22
- /^f/i,
23
- /^m/i,
24
- /^a/i,
25
- /^m/i,
26
- /^j/i,
27
- /^j/i,
28
- /^a/i,
29
- /^s/i,
30
- /^o/i,
31
- /^n/i,
32
- /^d/i
33
- ],
34
- any: [
35
- /^ja/i,
36
- /^f/i,
37
- /^mar/i,
38
- /^ap/i,
39
- /^may/i,
40
- /^jun/i,
41
- /^jul/i,
42
- /^au/i,
43
- /^s/i,
44
- /^o/i,
45
- /^n/i,
46
- /^d/i
47
- ]
48
- }, c = {
49
- narrow: /^[smtwf]/i,
50
- short: /^(su|mo|tu|we|th|fr|sa)/i,
51
- abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
52
- wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
53
- }, u = {
54
- narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
55
- any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
56
- }, P = {
57
- narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
58
- any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
59
- }, y = {
60
- any: {
61
- am: /^a/i,
62
- pm: /^p/i,
63
- midnight: /^mi/i,
64
- noon: /^no/i,
65
- morning: /morning/i,
66
- afternoon: /afternoon/i,
67
- evening: /evening/i,
68
- night: /night/i
69
- }
70
- }, l = {
71
- ordinalNumber: i({
72
- matchPattern: n,
73
- parsePattern: e,
74
- valueCallback: (t) => parseInt(t, 10)
75
- }),
76
- era: a({
77
- matchPatterns: r,
78
- defaultMatchWidth: "wide",
79
- parsePatterns: s,
80
- defaultParseWidth: "any"
81
- }),
82
- quarter: a({
83
- matchPatterns: o,
84
- defaultMatchWidth: "wide",
85
- parsePatterns: d,
86
- defaultParseWidth: "any",
87
- valueCallback: (t) => t + 1
88
- }),
89
- month: a({
90
- matchPatterns: m,
91
- defaultMatchWidth: "wide",
92
- parsePatterns: h,
93
- defaultParseWidth: "any"
94
- }),
95
- day: a({
96
- matchPatterns: c,
97
- defaultMatchWidth: "wide",
98
- parsePatterns: u,
99
- defaultParseWidth: "any"
100
- }),
101
- dayPeriod: a({
102
- matchPatterns: P,
103
- defaultMatchWidth: "any",
104
- parsePatterns: y,
105
- defaultParseWidth: "any"
106
- })
107
- };
108
- export {
109
- l as match
110
- };
@@ -1,21 +0,0 @@
1
- import { formatDistance as o } from "./en-US/_lib/formatDistance.js";
2
- import { formatLong as t } from "./en-US/_lib/formatLong.js";
3
- import { formatRelative as a } from "./en-US/_lib/formatRelative.js";
4
- import { localize as r } from "./en-US/_lib/localize.js";
5
- import { match as e } from "./en-US/_lib/match.js";
6
- const s = {
7
- code: "en-US",
8
- formatDistance: o,
9
- formatLong: t,
10
- formatRelative: a,
11
- localize: r,
12
- match: e,
13
- options: {
14
- weekStartsOn: 0,
15
- firstWeekContainsDate: 1
16
- }
17
- };
18
- export {
19
- s as default,
20
- s as enUS
21
- };
@@ -1,70 +0,0 @@
1
- const r = {
2
- lessThanXSeconds: {
3
- one: "menos de un segundo",
4
- other: "menos de {{count}} segundos"
5
- },
6
- xSeconds: {
7
- one: "1 segundo",
8
- other: "{{count}} segundos"
9
- },
10
- halfAMinute: "medio minuto",
11
- lessThanXMinutes: {
12
- one: "menos de un minuto",
13
- other: "menos de {{count}} minutos"
14
- },
15
- xMinutes: {
16
- one: "1 minuto",
17
- other: "{{count}} minutos"
18
- },
19
- aboutXHours: {
20
- one: "alrededor de 1 hora",
21
- other: "alrededor de {{count}} horas"
22
- },
23
- xHours: {
24
- one: "1 hora",
25
- other: "{{count}} horas"
26
- },
27
- xDays: {
28
- one: "1 día",
29
- other: "{{count}} días"
30
- },
31
- aboutXWeeks: {
32
- one: "alrededor de 1 semana",
33
- other: "alrededor de {{count}} semanas"
34
- },
35
- xWeeks: {
36
- one: "1 semana",
37
- other: "{{count}} semanas"
38
- },
39
- aboutXMonths: {
40
- one: "alrededor de 1 mes",
41
- other: "alrededor de {{count}} meses"
42
- },
43
- xMonths: {
44
- one: "1 mes",
45
- other: "{{count}} meses"
46
- },
47
- aboutXYears: {
48
- one: "alrededor de 1 año",
49
- other: "alrededor de {{count}} años"
50
- },
51
- xYears: {
52
- one: "1 año",
53
- other: "{{count}} años"
54
- },
55
- overXYears: {
56
- one: "más de 1 año",
57
- other: "más de {{count}} años"
58
- },
59
- almostXYears: {
60
- one: "casi 1 año",
61
- other: "casi {{count}} años"
62
- }
63
- }, a = (t, s, n) => {
64
- let e;
65
- const o = r[t];
66
- return typeof o == "string" ? e = o : s === 1 ? e = o.one : e = o.other.replace("{{count}}", s.toString()), n?.addSuffix ? n.comparison && n.comparison > 0 ? "en " + e : "hace " + e : e;
67
- };
68
- export {
69
- a as formatDistance
70
- };
@@ -1,33 +0,0 @@
1
- import { buildFormatLongFn as t } from "../../_lib/buildFormatLongFn.js";
2
- const m = {
3
- full: "EEEE, d 'de' MMMM 'de' y",
4
- long: "d 'de' MMMM 'de' y",
5
- medium: "d MMM y",
6
- short: "dd/MM/y"
7
- }, d = {
8
- full: "HH:mm:ss zzzz",
9
- long: "HH:mm:ss z",
10
- medium: "HH:mm:ss",
11
- short: "HH:mm"
12
- }, e = {
13
- full: "{{date}} 'a las' {{time}}",
14
- long: "{{date}} 'a las' {{time}}",
15
- medium: "{{date}}, {{time}}",
16
- short: "{{date}}, {{time}}"
17
- }, o = {
18
- date: t({
19
- formats: m,
20
- defaultWidth: "full"
21
- }),
22
- time: t({
23
- formats: d,
24
- defaultWidth: "full"
25
- }),
26
- dateTime: t({
27
- formats: e,
28
- defaultWidth: "full"
29
- })
30
- };
31
- export {
32
- o as formatLong
33
- };
@@ -1,18 +0,0 @@
1
- const t = {
2
- lastWeek: "'el' eeee 'pasado a la' p",
3
- yesterday: "'ayer a la' p",
4
- today: "'hoy a la' p",
5
- tomorrow: "'mañana a la' p",
6
- nextWeek: "eeee 'a la' p",
7
- other: "P"
8
- }, o = {
9
- lastWeek: "'el' eeee 'pasado a las' p",
10
- yesterday: "'ayer a las' p",
11
- today: "'hoy a las' p",
12
- tomorrow: "'mañana a las' p",
13
- nextWeek: "eeee 'a las' p",
14
- other: "P"
15
- }, s = (e, a, l, r) => a.getHours() !== 1 ? o[e] : t[e];
16
- export {
17
- s as formatRelative
18
- };
@@ -1,143 +0,0 @@
1
- import { buildLocalizeFn as e } from "../../_lib/buildLocalizeFn.js";
2
- const n = {
3
- narrow: ["AC", "DC"],
4
- abbreviated: ["AC", "DC"],
5
- wide: ["antes de cristo", "después de cristo"]
6
- }, i = {
7
- narrow: ["1", "2", "3", "4"],
8
- abbreviated: ["T1", "T2", "T3", "T4"],
9
- wide: ["1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"]
10
- }, o = {
11
- narrow: ["e", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
12
- abbreviated: [
13
- "ene",
14
- "feb",
15
- "mar",
16
- "abr",
17
- "may",
18
- "jun",
19
- "jul",
20
- "ago",
21
- "sep",
22
- "oct",
23
- "nov",
24
- "dic"
25
- ],
26
- wide: [
27
- "enero",
28
- "febrero",
29
- "marzo",
30
- "abril",
31
- "mayo",
32
- "junio",
33
- "julio",
34
- "agosto",
35
- "septiembre",
36
- "octubre",
37
- "noviembre",
38
- "diciembre"
39
- ]
40
- }, d = {
41
- narrow: ["d", "l", "m", "m", "j", "v", "s"],
42
- short: ["do", "lu", "ma", "mi", "ju", "vi", "sá"],
43
- abbreviated: ["dom", "lun", "mar", "mié", "jue", "vie", "sáb"],
44
- wide: [
45
- "domingo",
46
- "lunes",
47
- "martes",
48
- "miércoles",
49
- "jueves",
50
- "viernes",
51
- "sábado"
52
- ]
53
- }, r = {
54
- narrow: {
55
- am: "a",
56
- pm: "p",
57
- midnight: "mn",
58
- noon: "md",
59
- morning: "mañana",
60
- afternoon: "tarde",
61
- evening: "tarde",
62
- night: "noche"
63
- },
64
- abbreviated: {
65
- am: "AM",
66
- pm: "PM",
67
- midnight: "medianoche",
68
- noon: "mediodia",
69
- morning: "mañana",
70
- afternoon: "tarde",
71
- evening: "tarde",
72
- night: "noche"
73
- },
74
- wide: {
75
- am: "a.m.",
76
- pm: "p.m.",
77
- midnight: "medianoche",
78
- noon: "mediodia",
79
- morning: "mañana",
80
- afternoon: "tarde",
81
- evening: "tarde",
82
- night: "noche"
83
- }
84
- }, t = {
85
- narrow: {
86
- am: "a",
87
- pm: "p",
88
- midnight: "mn",
89
- noon: "md",
90
- morning: "de la mañana",
91
- afternoon: "de la tarde",
92
- evening: "de la tarde",
93
- night: "de la noche"
94
- },
95
- abbreviated: {
96
- am: "AM",
97
- pm: "PM",
98
- midnight: "medianoche",
99
- noon: "mediodia",
100
- morning: "de la mañana",
101
- afternoon: "de la tarde",
102
- evening: "de la tarde",
103
- night: "de la noche"
104
- },
105
- wide: {
106
- am: "a.m.",
107
- pm: "p.m.",
108
- midnight: "medianoche",
109
- noon: "mediodia",
110
- morning: "de la mañana",
111
- afternoon: "de la tarde",
112
- evening: "de la tarde",
113
- night: "de la noche"
114
- }
115
- }, m = (a, l) => Number(a) + "º", g = {
116
- ordinalNumber: m,
117
- era: e({
118
- values: n,
119
- defaultWidth: "wide"
120
- }),
121
- quarter: e({
122
- values: i,
123
- defaultWidth: "wide",
124
- argumentCallback: (a) => Number(a) - 1
125
- }),
126
- month: e({
127
- values: o,
128
- defaultWidth: "wide"
129
- }),
130
- day: e({
131
- values: d,
132
- defaultWidth: "wide"
133
- }),
134
- dayPeriod: e({
135
- values: r,
136
- defaultWidth: "wide",
137
- formattingValues: t,
138
- defaultFormattingWidth: "wide"
139
- })
140
- };
141
- export {
142
- g as localize
143
- };
@@ -1,116 +0,0 @@
1
- import { buildMatchPatternFn as t } from "../../_lib/buildMatchPatternFn.js";
2
- import { buildMatchFn as a } from "../../_lib/buildMatchFn.js";
3
- const i = /^(\d+)(º)?/i, r = /\d+/i, n = {
4
- narrow: /^(ac|dc|a|d)/i,
5
- abbreviated: /^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,
6
- wide: /^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i
7
- }, s = {
8
- any: [/^ac/i, /^dc/i],
9
- wide: [
10
- /^(antes de cristo|antes de la era com[uú]n)/i,
11
- /^(despu[eé]s de cristo|era com[uú]n)/i
12
- ]
13
- }, d = {
14
- narrow: /^[1234]/i,
15
- abbreviated: /^T[1234]/i,
16
- wide: /^[1234](º)? trimestre/i
17
- }, o = {
18
- any: [/1/i, /2/i, /3/i, /4/i]
19
- }, m = {
20
- narrow: /^[efmajsond]/i,
21
- abbreviated: /^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,
22
- wide: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i
23
- }, c = {
24
- narrow: [
25
- /^e/i,
26
- /^f/i,
27
- /^m/i,
28
- /^a/i,
29
- /^m/i,
30
- /^j/i,
31
- /^j/i,
32
- /^a/i,
33
- /^s/i,
34
- /^o/i,
35
- /^n/i,
36
- /^d/i
37
- ],
38
- any: [
39
- /^en/i,
40
- /^feb/i,
41
- /^mar/i,
42
- /^abr/i,
43
- /^may/i,
44
- /^jun/i,
45
- /^jul/i,
46
- /^ago/i,
47
- /^sep/i,
48
- /^oct/i,
49
- /^nov/i,
50
- /^dic/i
51
- ]
52
- }, u = {
53
- narrow: /^[dlmjvs]/i,
54
- short: /^(do|lu|ma|mi|ju|vi|s[áa])/i,
55
- abbreviated: /^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,
56
- wide: /^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i
57
- }, h = {
58
- narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i],
59
- any: [/^do/i, /^lu/i, /^ma/i, /^mi/i, /^ju/i, /^vi/i, /^sa/i]
60
- }, l = {
61
- narrow: /^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,
62
- any: /^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i
63
- }, P = {
64
- any: {
65
- am: /^a/i,
66
- pm: /^p/i,
67
- midnight: /^mn/i,
68
- noon: /^md/i,
69
- morning: /mañana/i,
70
- afternoon: /tarde/i,
71
- evening: /tarde/i,
72
- night: /noche/i
73
- }
74
- }, y = {
75
- ordinalNumber: t({
76
- matchPattern: i,
77
- parsePattern: r,
78
- valueCallback: function(e) {
79
- return parseInt(e, 10);
80
- }
81
- }),
82
- era: a({
83
- matchPatterns: n,
84
- defaultMatchWidth: "wide",
85
- parsePatterns: s,
86
- defaultParseWidth: "any"
87
- }),
88
- quarter: a({
89
- matchPatterns: d,
90
- defaultMatchWidth: "wide",
91
- parsePatterns: o,
92
- defaultParseWidth: "any",
93
- valueCallback: (e) => e + 1
94
- }),
95
- month: a({
96
- matchPatterns: m,
97
- defaultMatchWidth: "wide",
98
- parsePatterns: c,
99
- defaultParseWidth: "any"
100
- }),
101
- day: a({
102
- matchPatterns: u,
103
- defaultMatchWidth: "wide",
104
- parsePatterns: h,
105
- defaultParseWidth: "any"
106
- }),
107
- dayPeriod: a({
108
- matchPatterns: l,
109
- defaultMatchWidth: "any",
110
- parsePatterns: P,
111
- defaultParseWidth: "any"
112
- })
113
- };
114
- export {
115
- y as match
116
- };
@@ -1,21 +0,0 @@
1
- import { formatDistance as o } from "./es/_lib/formatDistance.js";
2
- import { formatLong as t } from "./es/_lib/formatLong.js";
3
- import { formatRelative as a } from "./es/_lib/formatRelative.js";
4
- import { localize as r } from "./es/_lib/localize.js";
5
- import { match as e } from "./es/_lib/match.js";
6
- const c = {
7
- code: "es",
8
- formatDistance: o,
9
- formatLong: t,
10
- formatRelative: a,
11
- localize: r,
12
- match: e,
13
- options: {
14
- weekStartsOn: 1,
15
- firstWeekContainsDate: 1
16
- }
17
- };
18
- export {
19
- c as default,
20
- c as es
21
- };