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
package/dist/Icons.js DELETED
@@ -1,5 +0,0 @@
1
- import * as o from "./Icons/Icons.js";
2
- export {
3
- o as Icons,
4
- o as default
5
- };
package/dist/Image.js DELETED
@@ -1,4 +0,0 @@
1
- import { default as o } from "./components/Image/Image.js";
2
- export {
3
- o as default
4
- };
@@ -1,6 +0,0 @@
1
- import { default as o } from "./components/Image/ImageGallery.js";
2
- import { useImageGallery as f } from "./components/Image/useImageGallery.js";
3
- export {
4
- o as default,
5
- f as useImageGallery
6
- };
package/dist/Input.js DELETED
@@ -1,4 +0,0 @@
1
- import { default as o } from "./components/Input/Input.js";
2
- export {
3
- o as default
4
- };
@@ -1,5 +0,0 @@
1
- import { default as l, default as u } from "./components/InputMultiple/InputMultiple.js";
2
- export {
3
- l as InputMultiple,
4
- u as default
5
- };
@@ -1,4 +0,0 @@
1
- import { default as o } from "./components/Layout/LayoutGeneric.js";
2
- export {
3
- o as default
4
- };
package/dist/Logo.js DELETED
@@ -1,4 +0,0 @@
1
- import { default as o } from "./components/Logo/Logo.js";
2
- export {
3
- o as default
4
- };
package/dist/Menu.js DELETED
@@ -1,5 +0,0 @@
1
- import { Menu as a, Menu as f } from "./components/Menu/MenuComposable.js";
2
- export {
3
- a as Menu,
4
- f as default
5
- };
package/dist/OtpInput.js DELETED
@@ -1,4 +0,0 @@
1
- import { default as o } from "./components/OtpInput/OtpInput.js";
2
- export {
3
- o as default
4
- };
@@ -1,4 +0,0 @@
1
- import { default as o } from "./components/Pagination/Pagination.js";
2
- export {
3
- o as default
4
- };
@@ -1,5 +0,0 @@
1
- import { ProfilePictureUpload as r, ProfilePictureUpload as l } from "./components/ProfilePictureUpload/ProfilePictureUpload.js";
2
- export {
3
- r as ProfilePictureUpload,
4
- l as default
5
- };
@@ -1,4 +0,0 @@
1
- import { default as o } from "./components/ProgressBar/ProgressBar.js";
2
- export {
3
- o as default
4
- };
@@ -1,5 +0,0 @@
1
- import { default as o, default as d } from "./components/RadioButton/RadioButton.js";
2
- export {
3
- o as RadioButton,
4
- d as default
5
- };
@@ -1,5 +0,0 @@
1
- import { default as a, default as d } from "./components/SegmentedButton/SegmentedButton.js";
2
- export {
3
- a as SegmentedButton,
4
- d as default
5
- };
package/dist/Select.js DELETED
@@ -1,4 +0,0 @@
1
- import { default as o } from "./components/Select/Select.js";
2
- export {
3
- o as default
4
- };
@@ -1,4 +0,0 @@
1
- import { default as o } from "./components/SelectSearch/SelectSearch.js";
2
- export {
3
- o as default
4
- };
package/dist/Skeleton.js DELETED
@@ -1,5 +0,0 @@
1
- import { default as a, default as f } from "./components/Skeleton/Skeleton.js";
2
- export {
3
- a as Skeleton,
4
- f as default
5
- };
package/dist/Spinner.js DELETED
@@ -1,4 +0,0 @@
1
- import { default as o } from "./components/Spinner/Spinner.js";
2
- export {
3
- o as default
4
- };
package/dist/Steps.js DELETED
@@ -1,5 +0,0 @@
1
- import { default as a, default as f } from "./components/Steps/Steps.js";
2
- export {
3
- a as Steps,
4
- f as default
5
- };
@@ -1,4 +0,0 @@
1
- import { default as o } from "./components/SwipeContainer/SwipeContainer.js";
2
- export {
3
- o as default
4
- };
package/dist/Switch.js DELETED
@@ -1,5 +0,0 @@
1
- import { default as e, default as f } from "./components/Switch/Switch.js";
2
- export {
3
- e as Switch,
4
- f as default
5
- };
package/dist/TabLinks.js DELETED
@@ -1,4 +0,0 @@
1
- import { default as o } from "./components/TabLinks/TabLinks.js";
2
- export {
3
- o as default
4
- };
package/dist/Table.js DELETED
@@ -1,11 +0,0 @@
1
- import { Table as l, TableBody as b, TableCaption as T, TableCell as o, TableFooter as r, TableHead as d, TableHeader as t, TableRow as p } from "./components/Table/Table.js";
2
- export {
3
- l as Table,
4
- b as TableBody,
5
- T as TableCaption,
6
- o as TableCell,
7
- r as TableFooter,
8
- d as TableHead,
9
- t as TableHeader,
10
- p as TableRow
11
- };
package/dist/TextArea.js DELETED
@@ -1,4 +0,0 @@
1
- import { default as o } from "./components/TextArea/TextArea.js";
2
- export {
3
- o as default
4
- };
package/dist/Toast.js DELETED
@@ -1,5 +0,0 @@
1
- import { default as r, toastpyrion as a } from "./components/Toaster/Toaster.js";
2
- export {
3
- r as default,
4
- a as toastpyrion
5
- };
@@ -1,4 +0,0 @@
1
- import { default as o } from "./components/Toaster/ToastProvider.js";
2
- export {
3
- o as default
4
- };
package/dist/Tooltip.js DELETED
@@ -1,4 +0,0 @@
1
- import { default as o } from "./components/Tooltip/Tootip.js";
2
- export {
3
- o as default
4
- };
@@ -1,143 +0,0 @@
1
- import { useState as m, useRef as b, useEffect as l, useMemo as Y, useCallback as Z } from "react";
2
- import { getAccessorValue as u } from "../../lib/utils.js";
3
- function ne(r) {
4
- const {
5
- options: V,
6
- fetcher: S,
7
- asyncMode: v = "fetch_in_open",
8
- disabled: C = !1,
9
- debounceDelay: F = 500,
10
- minCharacters: x = 3,
11
- optionLabel: p,
12
- optionValue: d,
13
- controlledValue: f,
14
- isOpen: A,
15
- inputRef: _,
16
- name: O
17
- } = r || {}, [T, j] = m(V || []), [q, w] = m(V || []), [o, K] = m(""), [z, g] = m(!1), [G, H] = m(!1), y = b(null), k = b(null), E = b(!1), L = b(S), I = r?.multiple === !0 || !1, h = b(I ? [] : void 0), [i, R] = m(I ? [] : void 0);
18
- l(() => {
19
- L.current = S;
20
- }, [S]), l(() => {
21
- f !== void 0 && R(f);
22
- }, [f]), l(() => {
23
- h.current = f !== void 0 ? f : i;
24
- }, [f, i]), l(() => {
25
- r?.options && (j(r.options), w(r.options));
26
- }, [r?.options]);
27
- const M = Y(() => (e, t) => new Promise((n, s) => {
28
- y.current && clearTimeout(y.current), y.current = setTimeout(() => e(o).then(n).catch(s), t);
29
- }), [o]), N = (e) => {
30
- const t = f !== void 0, n = (s) => d ? u(s, d) : u(s, "id");
31
- if (r?.multiple === !0) {
32
- const s = h.current || [];
33
- let c;
34
- s.some((a) => n(a) === n(e)) ? c = s.filter((a) => n(a) !== n(e)) : c = [...s, e], t ? (h.current = c, r?.onChange?.(c, O)) : (h.current = c, R(c), r?.onChange?.(c, O));
35
- } else
36
- t ? (h.current = e, r?.onChange?.(e, O)) : (h.current = e, R(e), r?.onChange?.(e, O));
37
- }, P = (e) => (r?.onFetchingStart?.(), L.current?.(e) || Promise.resolve([])), J = Z((e, t) => e.length === 0 ? t : d ? t.filter((n) => !e.some((s) => u(s, d) === u(n, d))) : t.filter((n) => !e.some((s) => u(s, "id") === u(n, "id"))), [d]);
38
- l(() => {
39
- const e = r?.subscribeOpenChange;
40
- if (!e) return;
41
- const t = e((n) => {
42
- H(n);
43
- });
44
- return () => {
45
- t && t();
46
- };
47
- }, [r?.subscribeOpenChange]);
48
- const B = A !== void 0 ? A : G;
49
- l(() => {
50
- if (!C && L.current && v === "fetch_on_type") {
51
- if (!o || o === "" || o.length < x) {
52
- y.current && clearTimeout(y.current), g(!1);
53
- return;
54
- }
55
- const e = M(P, F);
56
- g(!0), e.then((t) => {
57
- j(t);
58
- }).finally(() => {
59
- g(!1), r?.onFetchingEnd?.();
60
- });
61
- }
62
- }, [v, o, C, F, M, x]), l(() => {
63
- if (!C)
64
- if (B) {
65
- if (r?.onOpen?.(), v === "fetch_in_open") {
66
- if (!L.current)
67
- return;
68
- g(!0), P().then((e) => {
69
- j(() => I && i.length > 0 ? [...J(i, e), ...i] : e);
70
- }).finally(() => {
71
- g(!1), r?.onFetchingEnd?.();
72
- });
73
- }
74
- } else
75
- r?.onClose?.();
76
- }, [B, v, C]);
77
- const D = (e, t) => e.filter((n) => {
78
- if (p)
79
- return u(n, p).toLowerCase().includes(t.toLowerCase());
80
- switch (typeof n) {
81
- case "string":
82
- return n.toLowerCase().includes(t.toLowerCase());
83
- case "number":
84
- return n.toString().includes(t);
85
- case "object":
86
- return Object.values(n).some((c) => c.toString().toLowerCase().includes(t.toLowerCase()));
87
- default:
88
- return !1;
89
- }
90
- }), Q = (e) => e.sort((t, n) => {
91
- if (p)
92
- return u(t, p) < u(n, p) ? -1 : 1;
93
- {
94
- const c = ["label", "name", "value"].find((a) => typeof t == "object" && Object.keys(t).includes(a));
95
- switch (typeof t) {
96
- case "string":
97
- return t < n ? -1 : 1;
98
- case "number":
99
- return t < n ? -1 : 1;
100
- case "object":
101
- if (c) {
102
- const a = u(t, c), X = u(n, c);
103
- return a < X ? -1 : 1;
104
- } else
105
- return 1;
106
- default:
107
- return 1;
108
- }
109
- }
110
- }), W = (e) => {
111
- const t = typeof _ == "function" ? _() : _;
112
- e.target === t?.current && (k.current && clearTimeout(k.current), E.current || (E.current = !0, r?.onTypeStart?.()), k.current = setTimeout(() => {
113
- E.current = !1;
114
- }, F));
115
- };
116
- return l(() => {
117
- if (o === "")
118
- w(Q(T));
119
- else if (I) {
120
- const e = J(i, T);
121
- w([...D(e, o), ...i]);
122
- } else {
123
- const e = J([i], T);
124
- w([...D(e, o), i]);
125
- }
126
- }, [T]), l(() => (document.addEventListener("keydown", W), () => {
127
- document.removeEventListener("keydown", W);
128
- }), []), {
129
- inputValue: o,
130
- setInputValue: K,
131
- cleanInputValue: () => {
132
- K("");
133
- },
134
- filteredOptions: q,
135
- isLoading: z,
136
- value: i,
137
- setValue: R,
138
- onOptionClick: N
139
- };
140
- }
141
- export {
142
- ne as useAutocomplete
143
- };