prometeo-design-system 2.8.8 → 2.9.1

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 (309) 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/index.d.ts +12 -16
  49. package/dist/jsx-runtime-DKDX3adD.js +281 -0
  50. package/dist/prometeo-design-system.css +1 -1
  51. package/dist/prometeo-design-system.es.js +1002 -0
  52. package/dist/{hooks/useDragScroll.js → useDragScroll-CHN9OMwn.js} +1 -1
  53. package/package.json +120 -116
  54. package/src/styles/base.css +464 -473
  55. package/dist/Avatar.js +0 -4
  56. package/dist/Button.js +0 -4
  57. package/dist/CardProfile.js +0 -5
  58. package/dist/CheckBox.js +0 -4
  59. package/dist/DatePicker.js +0 -5
  60. package/dist/DialogModal.js +0 -6
  61. package/dist/DrawerDesktop.js +0 -6
  62. package/dist/DrawerMobile.js +0 -6
  63. package/dist/DropZone.js +0 -5
  64. package/dist/FAButton.js +0 -4
  65. package/dist/Header.js +0 -4
  66. package/dist/Icons/Icons.js +0 -1055
  67. package/dist/Icons.js +0 -5
  68. package/dist/Image.js +0 -4
  69. package/dist/ImageGallery.js +0 -6
  70. package/dist/Input.js +0 -4
  71. package/dist/InputMultiple.js +0 -5
  72. package/dist/LayoutGeneric.js +0 -4
  73. package/dist/Logo.js +0 -4
  74. package/dist/Menu.js +0 -5
  75. package/dist/OtpInput.js +0 -4
  76. package/dist/Pagination.js +0 -4
  77. package/dist/ProfilePictureUpload.js +0 -5
  78. package/dist/ProgressBar.js +0 -4
  79. package/dist/RadioButton.js +0 -5
  80. package/dist/SegmentedButton.js +0 -5
  81. package/dist/Select.js +0 -4
  82. package/dist/SelectSearch.js +0 -4
  83. package/dist/Skeleton.js +0 -5
  84. package/dist/Spinner.js +0 -4
  85. package/dist/Steps.js +0 -5
  86. package/dist/SwipeContainer.js +0 -4
  87. package/dist/Switch.js +0 -5
  88. package/dist/TabLinks.js +0 -4
  89. package/dist/Table.js +0 -11
  90. package/dist/TextArea.js +0 -4
  91. package/dist/Toast.js +0 -5
  92. package/dist/ToastProvider.js +0 -4
  93. package/dist/Tooltip.js +0 -4
  94. package/dist/components/Autocomplete/useAutocomplete.js +0 -143
  95. package/dist/components/DatePicker/DatePicker.js +0 -396
  96. package/dist/components/Dialog/Dialog.js +0 -60
  97. package/dist/components/Dialog/useDialogControl.js +0 -18
  98. package/dist/components/Drawer/DrawerDesktop.js +0 -179
  99. package/dist/components/Drawer/DrawerMobile.js +0 -219
  100. package/dist/components/Drawer/useDrawerDesktop.js +0 -18
  101. package/dist/components/Drawer/useDrawerMobile.js +0 -27
  102. package/dist/components/DropZone/DropZone.js +0 -86
  103. package/dist/components/DropZone/useFileDropzone.js +0 -24
  104. package/dist/components/Header/Header.js +0 -32
  105. package/dist/components/Image/GalleryPreview.js +0 -40
  106. package/dist/components/Image/ImageGallery.js +0 -68
  107. package/dist/components/Image/LightBox.js +0 -223
  108. package/dist/components/Input/Input.js +0 -219
  109. package/dist/components/InputMultiple/InputMultiple.js +0 -262
  110. package/dist/components/Layout/LayoutGeneric.js +0 -13
  111. package/dist/components/Logo/Logo.js +0 -9
  112. package/dist/components/OtpInput/OtpInput.js +0 -112
  113. package/dist/components/ProgressBar/ProgressBar.js +0 -70
  114. package/dist/components/Select/Select.js +0 -1005
  115. package/dist/components/SelectSearch/SelectSearch.js +0 -101
  116. package/dist/components/Shared/Chip.js +0 -55
  117. package/dist/components/Shared/HelperComponent.js +0 -24
  118. package/dist/components/Sidebar/SecondaryBar/SecondaryBar.js +0 -62
  119. package/dist/components/Sidebar/SecondaryBar/hooks/useSecondaryBarAnimation.js +0 -59
  120. package/dist/components/Sidebar/SidebarComposable.js +0 -84
  121. package/dist/components/Sidebar/components/NavigationLink.js +0 -34
  122. package/dist/components/Sidebar/components/badge.js +0 -33
  123. package/dist/components/Sidebar/components/changue-account.js +0 -31
  124. package/dist/components/Sidebar/components/collapse-button.js +0 -18
  125. package/dist/components/Sidebar/components/company-logo.js +0 -12
  126. package/dist/components/Sidebar/components/nav-actions.js +0 -98
  127. package/dist/components/Sidebar/components/nav-links.js +0 -100
  128. package/dist/components/Sidebar/context/SidebarContext.js +0 -19
  129. package/dist/components/Sidebar/hooks/SidebarProvider.js +0 -33
  130. package/dist/components/Sidebar/hooks/useNavBarActions.js +0 -9
  131. package/dist/components/Sidebar/hooks/useNavBarCollapse.js +0 -11
  132. package/dist/components/Sidebar/hooks/useSidebarHook.js +0 -13
  133. package/dist/components/Sidebar/ui/useNavbarAnimation.js +0 -326
  134. package/dist/components/Spinner/Spinner.js +0 -52
  135. package/dist/components/TabSwitch/TabSwitch.js +0 -57
  136. package/dist/components/Toaster/ToastProvider.js +0 -6
  137. package/dist/components/Tooltip/Tootip.js +0 -62
  138. package/dist/hooks/useClickOutside.js +0 -24
  139. package/dist/hooks/useLabelBackground.js +0 -25
  140. package/dist/index.js +0 -127
  141. package/dist/lib/utils.js +0 -54
  142. package/dist/node_modules/@date-fns/tz/date/index.js +0 -61
  143. package/dist/node_modules/@date-fns/tz/date/mini.js +0 -69
  144. package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -11
  145. package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -22
  146. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -7
  147. package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
  148. package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -583
  149. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -59
  150. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -52
  151. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -18
  152. package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
  153. package/dist/node_modules/date-fns/_lib/normalizeInterval.js +0 -8
  154. package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -20
  155. package/dist/node_modules/date-fns/addDays.js +0 -10
  156. package/dist/node_modules/date-fns/addMonths.js +0 -20
  157. package/dist/node_modules/date-fns/addWeeks.js +0 -8
  158. package/dist/node_modules/date-fns/addYears.js +0 -8
  159. package/dist/node_modules/date-fns/constants.js +0 -6
  160. package/dist/node_modules/date-fns/constructFrom.js +0 -8
  161. package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -16
  162. package/dist/node_modules/date-fns/differenceInCalendarMonths.js +0 -13
  163. package/dist/node_modules/date-fns/eachMonthOfInterval.js +0 -17
  164. package/dist/node_modules/date-fns/eachYearOfInterval.js +0 -17
  165. package/dist/node_modules/date-fns/endOfISOWeek.js +0 -8
  166. package/dist/node_modules/date-fns/endOfMonth.js +0 -9
  167. package/dist/node_modules/date-fns/endOfWeek.js +0 -10
  168. package/dist/node_modules/date-fns/endOfYear.js +0 -9
  169. package/dist/node_modules/date-fns/format.js +0 -58
  170. package/dist/node_modules/date-fns/getDayOfYear.js +0 -11
  171. package/dist/node_modules/date-fns/getDaysInMonth.js +0 -10
  172. package/dist/node_modules/date-fns/getISOWeek.js +0 -12
  173. package/dist/node_modules/date-fns/getISOWeekYear.js +0 -15
  174. package/dist/node_modules/date-fns/getMonth.js +0 -8
  175. package/dist/node_modules/date-fns/getWeek.js +0 -12
  176. package/dist/node_modules/date-fns/getWeekYear.js +0 -16
  177. package/dist/node_modules/date-fns/getYear.js +0 -8
  178. package/dist/node_modules/date-fns/isAfter.js +0 -8
  179. package/dist/node_modules/date-fns/isBefore.js +0 -8
  180. package/dist/node_modules/date-fns/isDate.js +0 -7
  181. package/dist/node_modules/date-fns/isSameDay.js +0 -14
  182. package/dist/node_modules/date-fns/isSameMonth.js +0 -13
  183. package/dist/node_modules/date-fns/isSameYear.js +0 -13
  184. package/dist/node_modules/date-fns/isValid.js +0 -9
  185. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -9
  186. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -18
  187. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -31
  188. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -15
  189. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -70
  190. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -33
  191. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
  192. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -155
  193. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -110
  194. package/dist/node_modules/date-fns/locale/en-US.js +0 -21
  195. package/dist/node_modules/date-fns/locale/es/_lib/formatDistance.js +0 -70
  196. package/dist/node_modules/date-fns/locale/es/_lib/formatLong.js +0 -33
  197. package/dist/node_modules/date-fns/locale/es/_lib/formatRelative.js +0 -18
  198. package/dist/node_modules/date-fns/locale/es/_lib/localize.js +0 -143
  199. package/dist/node_modules/date-fns/locale/es/_lib/match.js +0 -116
  200. package/dist/node_modules/date-fns/locale/es.js +0 -21
  201. package/dist/node_modules/date-fns/max.js +0 -14
  202. package/dist/node_modules/date-fns/min.js +0 -14
  203. package/dist/node_modules/date-fns/setMonth.js +0 -13
  204. package/dist/node_modules/date-fns/setYear.js +0 -10
  205. package/dist/node_modules/date-fns/startOfDay.js +0 -9
  206. package/dist/node_modules/date-fns/startOfISOWeek.js +0 -8
  207. package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -11
  208. package/dist/node_modules/date-fns/startOfMonth.js +0 -9
  209. package/dist/node_modules/date-fns/startOfWeek.js +0 -10
  210. package/dist/node_modules/date-fns/startOfWeekYear.js +0 -12
  211. package/dist/node_modules/date-fns/startOfYear.js +0 -9
  212. package/dist/node_modules/date-fns/toDate.js +0 -8
  213. package/dist/node_modules/input-otp/dist/index.js +0 -194
  214. package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -227
  215. package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -22
  216. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -19
  217. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -8
  218. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -8
  219. package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -147
  220. package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -7
  221. package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -7
  222. package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
  223. package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -8
  224. package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -10
  225. package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -19
  226. package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -7
  227. package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -7
  228. package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -8
  229. package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -8
  230. package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -7
  231. package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -7
  232. package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -9
  233. package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -27
  234. package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -9
  235. package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -7
  236. package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -9
  237. package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -8
  238. package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -7
  239. package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -8
  240. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -8
  241. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -7
  242. package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -7
  243. package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -11
  244. package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -7
  245. package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -9
  246. package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -54
  247. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -9
  248. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -7
  249. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -7
  250. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -7
  251. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -6
  252. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -7
  253. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -9
  254. package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -18
  255. package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -19
  256. package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -42
  257. package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -9
  258. package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -7
  259. package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -7
  260. package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -10
  261. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -16
  262. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -21
  263. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -10
  264. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -16
  265. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -13
  266. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -15
  267. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -10
  268. package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -13
  269. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -13
  270. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -24
  271. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -13
  272. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -12
  273. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -12
  274. package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -12
  275. package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -13
  276. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -11
  277. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -7
  278. package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -16
  279. package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -7
  280. package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -8
  281. package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -26
  282. package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -10
  283. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -9
  284. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -8
  285. package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -6
  286. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -6
  287. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -6
  288. package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -6
  289. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -6
  290. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -6
  291. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -7
  292. package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -6
  293. package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -21
  294. package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -18
  295. package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -15
  296. package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -56
  297. package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -44
  298. package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -12
  299. package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -23
  300. package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -19
  301. package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -32
  302. package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -26
  303. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -15
  304. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -28
  305. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -9
  306. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -8
  307. package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -26
  308. package/dist/useDevice.js +0 -4
  309. /package/dist/{hooks/useDevice.js → useDevice.es.js} +0 -0
@@ -1,24 +0,0 @@
1
- import { useRef as o, useEffect as c } from "react";
2
- const d = (r, u = !0) => {
3
- const t = o(null);
4
- return c(() => {
5
- if (!u) return;
6
- const e = (n) => {
7
- t.current && !t.current.contains(n.target) && r();
8
- };
9
- return document.addEventListener("mousedown", e, {
10
- capture: !0
11
- }), document.addEventListener("touchstart", e, {
12
- capture: !0
13
- }), () => {
14
- document.removeEventListener("mousedown", e, {
15
- capture: !0
16
- }), document.removeEventListener("touchstart", e, {
17
- capture: !0
18
- });
19
- };
20
- }, [r, u]), t;
21
- };
22
- export {
23
- d as useClickOutside
24
- };
@@ -1,25 +0,0 @@
1
- import { useRef as o, useLayoutEffect as u } from "react";
2
- const c = (e) => {
3
- let t = e;
4
- for (; t && t !== document.body; ) {
5
- const n = window.getComputedStyle(t).backgroundColor;
6
- if (n && n !== "transparent" && n !== "rgba(0, 0, 0, 0)")
7
- return n;
8
- t = t.parentElement;
9
- }
10
- const r = window.getComputedStyle(document.body).backgroundColor;
11
- return r && r !== "transparent" && r !== "rgba(0, 0, 0, 0)" ? r : "rgb(255, 255, 255)";
12
- };
13
- function d() {
14
- const e = o(null);
15
- return u(() => {
16
- if (!e.current || !e.current.parentElement) return;
17
- const t = c(e.current.parentElement);
18
- e.current.style.backgroundColor = t;
19
- }, []), {
20
- ref: e
21
- };
22
- }
23
- export {
24
- d as useLabelBackground
25
- };
package/dist/index.js DELETED
@@ -1,127 +0,0 @@
1
- import { default as t } from "./components/Avatar/Avatar.js";
2
- import { default as f } from "./components/Button/Button.js";
3
- import { CardProfile as l } from "./components/CardProfile/CardProfile.js";
4
- import { default as s } from "./components/CheckBox/CheckBox.js";
5
- import { default as u } from "./components/Dialog/Dialog.js";
6
- import { default as i } from "./components/Header/Header.js";
7
- import { default as b } from "./components/Input/Input.js";
8
- import { default as c } from "./components/InputMultiple/InputMultiple.js";
9
- import { default as g } from "./components/Logo/Logo.js";
10
- import { Menu as v } from "./components/Menu/MenuComposable.js";
11
- import { default as D } from "./components/Pagination/Pagination.js";
12
- import { ProfilePictureUpload as k } from "./components/ProfilePictureUpload/ProfilePictureUpload.js";
13
- import { default as I } from "./components/ProgressBar/ProgressBar.js";
14
- import { default as A } from "./components/Select/Select.js";
15
- import { default as M } from "./components/Sidebar/components/changue-account.js";
16
- import { default as h } from "./components/Spinner/Spinner.js";
17
- import { default as H } from "./components/Steps/Steps.js";
18
- import { default as G } from "./components/SwipeContainer/SwipeContainer.js";
19
- import { default as z } from "./components/Switch/Switch.js";
20
- import { default as Z } from "./components/DatePicker/DatePicker.js";
21
- import { Table as q, TableBody as E, TableCaption as J, TableCell as K, TableFooter as Q, TableHead as V, TableHeader as W, TableRow as X } from "./components/Table/Table.js";
22
- import { default as _ } from "./components/TabLinks/TabLinks.js";
23
- import { default as ee } from "./components/TextArea/TextArea.js";
24
- import { default as re } from "./components/Tooltip/Tootip.js";
25
- import { default as ae } from "./components/Skeleton/Skeleton.js";
26
- import { default as pe } from "./components/SegmentedButton/SegmentedButton.js";
27
- import { default as me } from "./components/Layout/LayoutGeneric.js";
28
- import { default as xe } from "./components/Image/ImageGallery.js";
29
- import { default as de } from "./components/Image/Image.js";
30
- import { default as ne, toastpyrion as be } from "./components/Toaster/Toaster.js";
31
- import { default as ce } from "./components/Toaster/ToastProvider.js";
32
- import { default as ge } from "./components/SelectSearch/SelectSearch.js";
33
- import { default as ve } from "./components/FAB/FAButton.js";
34
- import { default as De } from "./components/RadioButton/RadioButton.js";
35
- import { SecondaryBar as ke } from "./components/Sidebar/SecondaryBar/SecondaryBar.js";
36
- import { Badge as Ie } from "./components/Sidebar/components/badge.js";
37
- import { NavbarCollapseButton as Ae } from "./components/Sidebar/components/collapse-button.js";
38
- import { CompanyLogo as Me } from "./components/Sidebar/components/company-logo.js";
39
- import { NavbarLinks as he } from "./components/Sidebar/components/nav-links.js";
40
- import { default as He } from "./components/OtpInput/OtpInput.js";
41
- import { DropZone as Ge } from "./components/DropZone/DropZone.js";
42
- import * as e from "./Icons/Icons.js";
43
- import { default as ze } from "./components/Drawer/DrawerDesktop.js";
44
- import { default as Ze } from "./components/Drawer/DrawerMobile.js";
45
- import { useDrawerMobile as qe } from "./components/Drawer/useDrawerMobile.js";
46
- import { useDrawerDesktop as Je } from "./components/Drawer/useDrawerDesktop.js";
47
- import { SidebarProvider as Qe } from "./components/Sidebar/hooks/SidebarProvider.js";
48
- import { useSidebar as We } from "./components/Sidebar/hooks/useSidebarHook.js";
49
- import { useClickOutside as Ye } from "./hooks/useClickOutside.js";
50
- import { useIsMobile as $e } from "./hooks/useDevice.js";
51
- import { useDialogControl as oo } from "./components/Dialog/useDialogControl.js";
52
- import { useFileDropzone as to } from "./components/DropZone/useFileDropzone.js";
53
- import { SidebarProvider as fo, useSidebarContext as po } from "./components/Sidebar/context/SidebarContext.js";
54
- import { Sidebar as mo } from "./components/Sidebar/SidebarComposable.js";
55
- import { NavigationLink as xo } from "./components/Sidebar/components/NavigationLink.js";
56
- import { NavBarActions as io } from "./components/Sidebar/components/nav-actions.js";
57
- import { useActionsNavbar as bo } from "./components/Sidebar/hooks/useNavBarActions.js";
58
- import { useNavbarCollapse as co } from "./components/Sidebar/hooks/useNavBarCollapse.js";
59
- export {
60
- t as Avatar,
61
- Ie as Badge,
62
- f as Button,
63
- l as CardProfile,
64
- M as ChangueAccount,
65
- s as CheckBox,
66
- Me as CompanyLogo,
67
- Z as DatePicker,
68
- u as DialogModal,
69
- ze as DrawerDesktop,
70
- Ze as DrawerMobile,
71
- Ge as DropZone,
72
- ve as FAButton,
73
- i as Header,
74
- e as Icons,
75
- de as Image,
76
- xe as ImageGallery,
77
- b as Input,
78
- c as InputMultiple,
79
- me as LayoutGeneric,
80
- g as Logo,
81
- v as Menu,
82
- io as NavBarActions,
83
- Ae as NavbarCollapseButton,
84
- he as NavbarLinks,
85
- xo as NavigationLink,
86
- He as OtpInput,
87
- D as Pagination,
88
- k as ProfilePictureUpload,
89
- I as ProgressBar,
90
- De as RadioButton,
91
- ke as SecondaryBar,
92
- pe as SegmentedButton,
93
- A as Select,
94
- ge as SelectSearch,
95
- mo as Sidebar,
96
- Qe as SidebarProvider,
97
- fo as SidebarRefProvider,
98
- ae as Skeleton,
99
- h as Spinner,
100
- H as Steps,
101
- G as SwipeContainer,
102
- z as Switch,
103
- _ as TabLinks,
104
- q as Table,
105
- E as TableBody,
106
- J as TableCaption,
107
- K as TableCell,
108
- Q as TableFooter,
109
- V as TableHead,
110
- W as TableHeader,
111
- X as TableRow,
112
- ee as TextArea,
113
- ne as Toast,
114
- ce as ToastProvider,
115
- re as Tooltip,
116
- be as toastpyrion,
117
- bo as useActionsNavbar,
118
- Ye as useClickOutside,
119
- oo as useDialogControl,
120
- Je as useDrawerDesktop,
121
- qe as useDrawerMobile,
122
- to as useFileDropzone,
123
- $e as useIsMobile,
124
- co as useNavbarCollapse,
125
- We as useSidebar,
126
- po as useSidebarContext
127
- };
package/dist/lib/utils.js DELETED
@@ -1,54 +0,0 @@
1
- function A(c, f) {
2
- if (typeof f == "function")
3
- return f(c);
4
- const g = f?.split(".");
5
- let e = c;
6
- for (const n of g)
7
- if (e && typeof e == "object" && n in e)
8
- e = e[n];
9
- else
10
- return;
11
- return e;
12
- }
13
- const E = (c, f) => {
14
- if (!f) return !0;
15
- const g = 0.1, e = String(c).toLowerCase(), n = String(f).toLowerCase().trim();
16
- if (e.includes(n)) return !0;
17
- const h = n.split(/\s+/).filter(Boolean), p = h.filter((t) => /^\d+$/.test(t));
18
- if (h.length > 1 || p.length > 0) {
19
- for (const t of p)
20
- if (!new RegExp(`(^|\\D)${t}(\\D|$)`).test(e)) return !1;
21
- for (const t of h)
22
- if (!/^\d+$/.test(t) && !e.includes(t))
23
- return !1;
24
- return !0;
25
- }
26
- if (n.length > e.length) return !1;
27
- const R = Math.floor(n.length * g);
28
- if (R <= 0) return !1;
29
- const y = (t, l) => {
30
- const a = t.length, i = l.length;
31
- if (a === 0) return i;
32
- if (i === 0) return a;
33
- const o = new Array(i + 1);
34
- for (let r = 0; r <= i; r++) o[r] = r;
35
- for (let r = 1; r <= a; r++) {
36
- let w = r - 1;
37
- o[0] = r;
38
- for (let s = 1; s <= i; s++) {
39
- const C = o[s], x = t.charCodeAt(r - 1) === l.charCodeAt(s - 1) ? 0 : 1, d = o[s] + 1, m = o[s - 1] + 1, u = w + x;
40
- o[s] = d < m ? d < u ? d : u : m < u ? m : u, w = C;
41
- }
42
- }
43
- return o[i];
44
- };
45
- for (let t = 0; t <= e.length - n.length; t++) {
46
- const l = e.slice(t, t + n.length);
47
- if (y(l, n) <= R) return !0;
48
- }
49
- return !1;
50
- };
51
- export {
52
- A as getAccessorValue,
53
- E as hasCoincidences
54
- };
@@ -1,61 +0,0 @@
1
- import { tzName as r } from "../tzName/index.js";
2
- import { TZDateMini as s } from "./mini.js";
3
- class o extends s {
4
- //#region static
5
- static tz(t, ...e) {
6
- return e.length ? new o(...e, t) : new o(Date.now(), t);
7
- }
8
- //#endregion
9
- //#region representation
10
- toISOString() {
11
- const [t, e, n] = this.tzComponents(), i = `${t}${e}:${n}`;
12
- return this.internal.toISOString().slice(0, -1) + i;
13
- }
14
- toString() {
15
- return `${this.toDateString()} ${this.toTimeString()}`;
16
- }
17
- toDateString() {
18
- const [t, e, n, i] = this.internal.toUTCString().split(" ");
19
- return `${t?.slice(0, -1)} ${n} ${e} ${i}`;
20
- }
21
- toTimeString() {
22
- const t = this.internal.toUTCString().split(" ")[4], [e, n, i] = this.tzComponents();
23
- return `${t} GMT${e}${n}${i} (${r(this.timeZone, this)})`;
24
- }
25
- toLocaleString(t, e) {
26
- return Date.prototype.toLocaleString.call(this, t, {
27
- ...e,
28
- timeZone: e?.timeZone || this.timeZone
29
- });
30
- }
31
- toLocaleDateString(t, e) {
32
- return Date.prototype.toLocaleDateString.call(this, t, {
33
- ...e,
34
- timeZone: e?.timeZone || this.timeZone
35
- });
36
- }
37
- toLocaleTimeString(t, e) {
38
- return Date.prototype.toLocaleTimeString.call(this, t, {
39
- ...e,
40
- timeZone: e?.timeZone || this.timeZone
41
- });
42
- }
43
- //#endregion
44
- //#region private
45
- tzComponents() {
46
- const t = this.getTimezoneOffset(), e = t > 0 ? "-" : "+", n = String(Math.floor(Math.abs(t) / 60)).padStart(2, "0"), i = String(Math.abs(t) % 60).padStart(2, "0");
47
- return [e, n, i];
48
- }
49
- //#endregion
50
- withTimeZone(t) {
51
- return new o(+this, t);
52
- }
53
- //#region date-fns integration
54
- [Symbol.for("constructDateFrom")](t) {
55
- return new o(+new Date(t), this.timeZone);
56
- }
57
- //#endregion
58
- }
59
- export {
60
- o as TZDate
61
- };
@@ -1,69 +0,0 @@
1
- import { tzOffset as s } from "../tzOffset/index.js";
2
- class n extends Date {
3
- //#region static
4
- constructor(...e) {
5
- super(), e.length > 1 && typeof e[e.length - 1] == "string" && (this.timeZone = e.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(s(this.timeZone, this)) ? this.setTime(NaN) : e.length ? typeof e[0] == "number" && (e.length === 1 || e.length === 2 && typeof e[1] != "number") ? this.setTime(e[0]) : typeof e[0] == "string" ? this.setTime(+new Date(e[0])) : e[0] instanceof Date ? this.setTime(+e[0]) : (this.setTime(+new Date(...e)), U(this), a(this)) : this.setTime(Date.now());
6
- }
7
- static tz(e, ...o) {
8
- return o.length ? new n(...o, e) : new n(Date.now(), e);
9
- }
10
- //#endregion
11
- //#region time zone
12
- withTimeZone(e) {
13
- return new n(+this, e);
14
- }
15
- getTimezoneOffset() {
16
- const e = -s(this.timeZone, this);
17
- return e > 0 ? Math.floor(e) : Math.ceil(e);
18
- }
19
- //#endregion
20
- //#region time
21
- setTime(e) {
22
- return Date.prototype.setTime.apply(this, arguments), a(this), +this;
23
- }
24
- //#endregion
25
- //#region date-fns integration
26
- [Symbol.for("constructDateFrom")](e) {
27
- return new n(+new Date(e), this.timeZone);
28
- }
29
- //#endregion
30
- }
31
- const D = /^(get|set)(?!UTC)/;
32
- Object.getOwnPropertyNames(Date.prototype).forEach((t) => {
33
- if (!D.test(t)) return;
34
- const e = t.replace(D, "$1UTC");
35
- n.prototype[e] && (t.startsWith("get") ? n.prototype[t] = function() {
36
- return this.internal[e]();
37
- } : (n.prototype[t] = function() {
38
- return Date.prototype[e].apply(this.internal, arguments), H(this), +this;
39
- }, n.prototype[e] = function() {
40
- return Date.prototype[e].apply(this, arguments), a(this), +this;
41
- }));
42
- });
43
- function a(t) {
44
- t.internal.setTime(+t), t.internal.setUTCSeconds(t.internal.getUTCSeconds() - Math.round(-s(t.timeZone, t) * 60));
45
- }
46
- function H(t) {
47
- Date.prototype.setFullYear.call(t, t.internal.getUTCFullYear(), t.internal.getUTCMonth(), t.internal.getUTCDate()), Date.prototype.setHours.call(t, t.internal.getUTCHours(), t.internal.getUTCMinutes(), t.internal.getUTCSeconds(), t.internal.getUTCMilliseconds()), U(t);
48
- }
49
- function U(t) {
50
- const e = s(t.timeZone, t), o = e > 0 ? Math.floor(e) : Math.ceil(e), i = /* @__PURE__ */ new Date(+t);
51
- i.setUTCHours(i.getUTCHours() - 1);
52
- const r = -(/* @__PURE__ */ new Date(+t)).getTimezoneOffset(), g = -(/* @__PURE__ */ new Date(+i)).getTimezoneOffset(), m = r - g, M = Date.prototype.getHours.apply(t) !== t.internal.getUTCHours();
53
- m && M && t.internal.setUTCMinutes(t.internal.getUTCMinutes() + m);
54
- const f = r - o;
55
- f && Date.prototype.setUTCMinutes.call(t, Date.prototype.getUTCMinutes.call(t) + f);
56
- const l = /* @__PURE__ */ new Date(+t);
57
- l.setUTCSeconds(0);
58
- const y = r > 0 ? l.getSeconds() : (l.getSeconds() - 60) % 60, c = Math.round(-(s(t.timeZone, t) * 60)) % 60;
59
- (c || y) && (t.internal.setUTCSeconds(t.internal.getUTCSeconds() + c), Date.prototype.setUTCSeconds.call(t, Date.prototype.getUTCSeconds.call(t) + c + y));
60
- const p = s(t.timeZone, t), u = p > 0 ? Math.floor(p) : Math.ceil(p), w = -(/* @__PURE__ */ new Date(+t)).getTimezoneOffset() - u, O = u !== o, C = w - f;
61
- if (O && C) {
62
- Date.prototype.setUTCMinutes.call(t, Date.prototype.getUTCMinutes.call(t) + C);
63
- const h = s(t.timeZone, t), S = h > 0 ? Math.floor(h) : Math.ceil(h), T = u - S;
64
- T && (t.internal.setUTCMinutes(t.internal.getUTCMinutes() + T), Date.prototype.setUTCMinutes.call(t, Date.prototype.getUTCMinutes.call(t) + T));
65
- }
66
- }
67
- export {
68
- n as TZDateMini
69
- };
@@ -1,11 +0,0 @@
1
- function o(e, n, t = "long") {
2
- return new Intl.DateTimeFormat("en-US", {
3
- // Enforces engine to render the time. Without the option JavaScriptCore omits it.
4
- hour: "numeric",
5
- timeZone: e,
6
- timeZoneName: t
7
- }).format(n).split(/\s/g).slice(2).join(" ");
8
- }
9
- export {
10
- o as tzName
11
- };
@@ -1,22 +0,0 @@
1
- const e = {}, s = {};
2
- function u(t, r) {
3
- try {
4
- const n = (e[t] ||= new Intl.DateTimeFormat("en-US", {
5
- timeZone: t,
6
- timeZoneName: "longOffset"
7
- }).format)(r).split("GMT")[1];
8
- return n in s ? s[n] : o(n, n.split(":"));
9
- } catch {
10
- if (t in s) return s[t];
11
- const f = t?.match(a);
12
- return f ? o(t, f.slice(1)) : NaN;
13
- }
14
- }
15
- const a = /([+-]\d\d):?(\d\d)?/;
16
- function o(t, r) {
17
- const f = +(r[0] || 0), n = +(r[1] || 0), c = +(r[2] || 0) / 60;
18
- return s[t] = f * 60 + n > 0 ? f * 60 + n + c : f * 60 - n - c;
19
- }
20
- export {
21
- u as tzOffset
22
- };
@@ -1,7 +0,0 @@
1
- function r(t, n) {
2
- const o = t < 0 ? "-" : "", a = Math.abs(t).toString().padStart(n, "0");
3
- return o + a;
4
- }
5
- export {
6
- r as addLeadingZeros
7
- };
@@ -1,7 +0,0 @@
1
- let t = {};
2
- function e() {
3
- return t;
4
- }
5
- export {
6
- e as getDefaultOptions
7
- };