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
@@ -0,0 +1,4 @@
1
+ import { S as f } from "./Select-BD5FTxVw.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,237 @@
1
+ import { j as G } from "./jsx-runtime-DKDX3adD.js";
2
+ import { g as i, S as H } from "./Select-BD5FTxVw.js";
3
+ import { useState as T, useRef as I, useEffect as h, useMemo as Q, useCallback as X } from "react";
4
+ function te(e) {
5
+ const {
6
+ options: O,
7
+ fetcher: s,
8
+ asyncMode: V = "fetch_in_open",
9
+ disabled: S = !1,
10
+ debounceDelay: R = 500,
11
+ minCharacters: _ = 3,
12
+ optionLabel: f,
13
+ optionValue: u,
14
+ controlledValue: m,
15
+ isOpen: F,
16
+ inputRef: j,
17
+ name: y
18
+ } = e || {}, [C, k] = T(O || []), [J, p] = T(O || []), [a, x] = T(""), [M, r] = T(!1), [v, b] = T(!1), g = I(null), D = I(null), N = I(!1), E = I(s), P = e?.multiple === !0 || !1, w = I(P ? [] : void 0), [d, A] = T(P ? [] : void 0);
19
+ h(() => {
20
+ E.current = s;
21
+ }, [s]), h(() => {
22
+ m !== void 0 && A(m);
23
+ }, [m]), h(() => {
24
+ w.current = m !== void 0 ? m : d;
25
+ }, [m, d]), h(() => {
26
+ e?.options && (k(e.options), p(e.options));
27
+ }, [e?.options]);
28
+ const U = Q(() => (t, n) => new Promise((o, l) => {
29
+ g.current && clearTimeout(g.current), g.current = setTimeout(() => t(a).then(o).catch(l), n);
30
+ }), [a]), Y = (t) => {
31
+ const n = m !== void 0, o = (l) => u ? i(l, u) : i(l, "id");
32
+ if (e?.multiple === !0) {
33
+ const l = w.current || [];
34
+ let c;
35
+ l.some((L) => o(L) === o(t)) ? c = l.filter((L) => o(L) !== o(t)) : c = [...l, t], n ? (w.current = c, e?.onChange?.(c, y)) : (w.current = c, A(c), e?.onChange?.(c, y));
36
+ } else
37
+ n ? (w.current = t, e?.onChange?.(t, y)) : (w.current = t, A(t), e?.onChange?.(t, y));
38
+ }, W = (t) => (e?.onFetchingStart?.(), E.current?.(t) || Promise.resolve([])), K = X((t, n) => t.length === 0 ? n : u ? n.filter((o) => !t.some((l) => i(l, u) === i(o, u))) : n.filter((o) => !t.some((l) => i(l, "id") === i(o, "id"))), [u]);
39
+ h(() => {
40
+ const t = e?.subscribeOpenChange;
41
+ if (!t) return;
42
+ const n = t((o) => {
43
+ b(o);
44
+ });
45
+ return () => {
46
+ n && n();
47
+ };
48
+ }, [e?.subscribeOpenChange]);
49
+ const B = F !== void 0 ? F : v;
50
+ h(() => {
51
+ if (!S && E.current && V === "fetch_on_type") {
52
+ if (!a || a === "" || a.length < _) {
53
+ g.current && clearTimeout(g.current), r(!1);
54
+ return;
55
+ }
56
+ const t = U(W, R);
57
+ r(!0), t.then((n) => {
58
+ k(n);
59
+ }).finally(() => {
60
+ r(!1), e?.onFetchingEnd?.();
61
+ });
62
+ }
63
+ }, [V, a, S, R, U, _]), h(() => {
64
+ if (!S)
65
+ if (B) {
66
+ if (e?.onOpen?.(), V === "fetch_in_open") {
67
+ if (!E.current)
68
+ return;
69
+ r(!0), W().then((t) => {
70
+ k(() => P && d.length > 0 ? [...K(d, t), ...d] : t);
71
+ }).finally(() => {
72
+ r(!1), e?.onFetchingEnd?.();
73
+ });
74
+ }
75
+ } else
76
+ e?.onClose?.();
77
+ }, [B, V, S]);
78
+ const q = (t, n) => t.filter((o) => {
79
+ if (f)
80
+ return i(o, f).toLowerCase().includes(n.toLowerCase());
81
+ switch (typeof o) {
82
+ case "string":
83
+ return o.toLowerCase().includes(n.toLowerCase());
84
+ case "number":
85
+ return o.toString().includes(n);
86
+ case "object":
87
+ return Object.values(o).some((c) => c.toString().toLowerCase().includes(n.toLowerCase()));
88
+ default:
89
+ return !1;
90
+ }
91
+ }), Z = (t) => t.sort((n, o) => {
92
+ if (f)
93
+ return i(n, f) < i(o, f) ? -1 : 1;
94
+ {
95
+ const c = ["label", "name", "value"].find((L) => typeof n == "object" && Object.keys(n).includes(L));
96
+ switch (typeof n) {
97
+ case "string":
98
+ return n < o ? -1 : 1;
99
+ case "number":
100
+ return n < o ? -1 : 1;
101
+ case "object":
102
+ if (c) {
103
+ const L = i(n, c), ee = i(o, c);
104
+ return L < ee ? -1 : 1;
105
+ } else
106
+ return 1;
107
+ default:
108
+ return 1;
109
+ }
110
+ }
111
+ }), z = (t) => {
112
+ const n = typeof j == "function" ? j() : j;
113
+ t.target === n?.current && (D.current && clearTimeout(D.current), N.current || (N.current = !0, e?.onTypeStart?.()), D.current = setTimeout(() => {
114
+ N.current = !1;
115
+ }, R));
116
+ };
117
+ return h(() => {
118
+ if (a === "")
119
+ p(Z(C));
120
+ else if (P) {
121
+ const t = K(d, C);
122
+ p([...q(t, a), ...d]);
123
+ } else {
124
+ const t = K([d], C);
125
+ p([...q(t, a), d]);
126
+ }
127
+ }, [C]), h(() => (document.addEventListener("keydown", z), () => {
128
+ document.removeEventListener("keydown", z);
129
+ }), []), {
130
+ inputValue: a,
131
+ setInputValue: x,
132
+ cleanInputValue: () => {
133
+ x("");
134
+ },
135
+ filteredOptions: J,
136
+ isLoading: M,
137
+ value: d,
138
+ setValue: A,
139
+ onOptionClick: Y
140
+ };
141
+ }
142
+ const ie = (e) => {
143
+ const O = I(null);
144
+ h(() => {
145
+ e.controls && (e.controls.current = O.current);
146
+ }, [e.controls]);
147
+ const { asyncMode: s = "fetch_in_open" } = e, V = (r, v, b) => {
148
+ const g = {
149
+ options: r.options,
150
+ fetcher: r.fetcher,
151
+ asyncMode: v,
152
+ debounceDelay: r.debounceDelay,
153
+ minCharacters: r.minCharacters,
154
+ disabled: r.disabled,
155
+ optionValue: r.optionValue,
156
+ optionLabel: r.optionLabel,
157
+ onFetchingStart: () => {
158
+ v === "fetch_on_type" && b.current?.open();
159
+ },
160
+ onTypeStart: () => {
161
+ !r?.fetcher && b.current?.open();
162
+ },
163
+ inputRef: () => b.current?.searchInputRef,
164
+ subscribeOpenChange: b.current?.subscribeOpenChange,
165
+ name: r.name
166
+ };
167
+ return r.multiple ? {
168
+ ...g,
169
+ multiple: !0,
170
+ controlledValue: r.value,
171
+ onChange: r.onChange
172
+ } : {
173
+ ...g,
174
+ multiple: !1,
175
+ controlledValue: r.value,
176
+ onChange: r.onChange
177
+ };
178
+ }, { inputValue: S, setInputValue: R, filteredOptions: _, isLoading: f, value: u, onOptionClick: m, cleanInputValue: F } = te(V(e, s, O)), j = X(() => s === "fetch_on_type" ? f : !1, [s, f]), y = Q(() => e.multiple ? u.map((r) => i(r, e.optionValue)) : u ? i(u, e.optionValue) : void 0, [u, e.optionValue, e.multiple]), C = (r) => {
179
+ const v = _.find((b) => i(b, e.optionValue) === r.id);
180
+ v && m(v);
181
+ }, { displayMode: k = e.multiple ? "chips" : "compact", dropdownOptions: J, overflow: p = "scroll", onChange: a, ...x } = e.selectComponentProps || {}, M = {
182
+ controledSearchValue: S,
183
+ onSearchValueChange: s === "fetch_on_type" ? R : void 0,
184
+ onSearchClear: s === "fetch_on_type" ? F : void 0,
185
+ inputSearchPlaceholder: e.inputSearchPlaceholder,
186
+ isLoading: j(),
187
+ ...J || {}
188
+ };
189
+ return e.multiple ? /* @__PURE__ */ G.jsx(
190
+ H,
191
+ {
192
+ disabled: e.disabled,
193
+ className: e.className,
194
+ name: e.name,
195
+ overflow: p,
196
+ ...x,
197
+ multiple: !0,
198
+ value: y,
199
+ label: e.label || "",
200
+ options: _,
201
+ optionValue: e.optionValue,
202
+ optionLabel: e.optionLabel,
203
+ renderOption: e.renderOption,
204
+ onOptionClick: C,
205
+ displayMode: k,
206
+ controls: O,
207
+ emptyMessage: "Use el buscador para obtener las opciones disponibles",
208
+ dropdownOptions: M,
209
+ isLoading: s === "fetch_in_open" ? f : !1
210
+ }
211
+ ) : /* @__PURE__ */ G.jsx(
212
+ H,
213
+ {
214
+ disabled: e.disabled,
215
+ ...x,
216
+ className: e.className,
217
+ overflow: p,
218
+ name: e.name,
219
+ multiple: !1,
220
+ value: y,
221
+ label: e.label || "",
222
+ options: _,
223
+ optionValue: e.optionValue,
224
+ optionLabel: e.optionLabel,
225
+ renderOption: e.renderOption,
226
+ onOptionClick: C,
227
+ displayMode: "compact",
228
+ controls: O,
229
+ emptyMessage: "Use el buscador para obtener las opciones disponibles",
230
+ dropdownOptions: M,
231
+ isLoading: s === "fetch_in_open" ? f : !1
232
+ }
233
+ );
234
+ };
235
+ export {
236
+ ie as default
237
+ };
@@ -1,9 +1,8 @@
1
- import { jsx as $ } from "react/jsx-runtime";
2
- import { cn as B } from "../../lib/cn.js";
3
- import { memo as E, useRef as N, useCallback as D, useLayoutEffect as M } from "react";
4
- /* empty css */
1
+ import { j as E } from "./jsx-runtime-DKDX3adD.js";
2
+ import { c as B } from "./cn-B6yFEsav.js";
3
+ import { memo as N, useRef as R, useCallback as D, useLayoutEffect as M } from "react";
5
4
  const y = (n) => {
6
- const e = N(null), { debugMode: h = !1, className: f = "", children: k, shape: C = "rounded", animation: g = "shimmer", onlyContainer: i = !1 } = n;
5
+ const e = R(null), { debugMode: h = !1, className: f = "", children: k, shape: C = "rounded", animation: g = "shimmer", onlyContainer: i = !1 } = n;
7
6
  let m = "255, 255, 255", d = "255, 255, 255, 0.1";
8
7
  const b = D(() => {
9
8
  if (i || !e.current) return;
@@ -20,7 +19,7 @@ const y = (n) => {
20
19
  break;
21
20
  }
22
21
  }, [g, d, m, i]);
23
- return M(() => {
22
+ M(() => {
24
23
  if (e.current) {
25
24
  const o = (l) => {
26
25
  let t = l;
@@ -42,11 +41,17 @@ const y = (n) => {
42
41
  return [a[0], a[1], a[2]];
43
42
  };
44
43
  if (!e.current.parentElement) return;
45
- const p = o(e.current.parentElement), s = c(p), S = s.reduce((l, t) => l + t, 0) < 382;
44
+ const p = o(e.current.parentElement), s = c(p), w = s.reduce((l, t) => l + t, 0) < 382;
46
45
  let u;
47
- S ? u = `rgb(${s[0] + 10}, ${s[1] + 10}, ${s[2] + 10})` : (u = `rgb(${s[0] - 30}, ${s[1] - 30}, ${s[2] - 30})`, m = "115,115,115", d = "255,255,255, 0.4"), i && (u = "transparent", e.current.style.animation = "none"), e.current.style.backgroundColor = u, b();
46
+ w ? u = `rgb(${s[0] + 10}, ${s[1] + 10}, ${s[2] + 10})` : (u = `rgb(${s[0] - 30}, ${s[1] - 30}, ${s[2] - 30})`, m = "115,115,115", d = "255,255,255, 0.4"), i && (u = "transparent", e.current.style.animation = "none"), e.current.style.backgroundColor = u, b();
48
47
  }
49
- }, [d, m, i, b]), /* @__PURE__ */ $(
48
+ }, [d, m, i, b]);
49
+ const S = {
50
+ circle: "rounded-full aspect-square",
51
+ square: "rounded-none",
52
+ rounded: "rounded"
53
+ };
54
+ return /* @__PURE__ */ E.jsx(
50
55
  "div",
51
56
  {
52
57
  ref: e,
@@ -54,11 +59,7 @@ const y = (n) => {
54
59
  h && " border-red-600/20 border",
55
60
  f,
56
61
  "skeleton-container",
57
- {
58
- circle: "rounded-full aspect-square",
59
- square: "rounded-none",
60
- rounded: "rounded"
61
- }[C]
62
+ S[C]
62
63
  ),
63
64
  children: k
64
65
  },
@@ -66,7 +67,8 @@ const y = (n) => {
66
67
  );
67
68
  };
68
69
  y.displayName = "Skeleton";
69
- const G = E(y, (n, e) => n.debugMode === e.debugMode && n.className === e.className && n.children === e.children && n.shape === e.shape && n.animation === e.animation && n.onlyContainer === e.onlyContainer);
70
+ const x = N(y, (n, e) => n.debugMode === e.debugMode && n.className === e.className && n.children === e.children && n.shape === e.shape && n.animation === e.animation && n.onlyContainer === e.onlyContainer);
70
71
  export {
71
- G as default
72
+ x as Skeleton,
73
+ x as default
72
74
  };
@@ -0,0 +1,52 @@
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
+ import { ClipLoader as l, SyncLoader as m, HashLoader as p, GridLoader as x, DotLoader as j, BounceLoader as f } from "react-spinners";
3
+ import { c as L } from "./cn-B6yFEsav.js";
4
+ const y = ({
5
+ variant: a = "sync",
6
+ color: t = "#3B82F6",
7
+ loading: o = !0,
8
+ size: s = "medium",
9
+ className: c = "",
10
+ speedMultiplier: i = 1
11
+ }) => {
12
+ const n = (() => {
13
+ if (typeof s == "number") return s;
14
+ switch (s) {
15
+ case "small":
16
+ return 20;
17
+ case "medium":
18
+ return 35;
19
+ case "large":
20
+ return 50;
21
+ default:
22
+ return 35;
23
+ }
24
+ })(), r = {
25
+ color: t,
26
+ loading: o,
27
+ size: n,
28
+ speedMultiplier: i,
29
+ "aria-label": "Loading Spinner",
30
+ "data-testid": "spinner"
31
+ }, u = L("inline-block", c), d = () => {
32
+ switch (a) {
33
+ case "bounce":
34
+ return /* @__PURE__ */ e.jsx(f, { ...r });
35
+ case "dot":
36
+ return /* @__PURE__ */ e.jsx(j, { ...r });
37
+ case "grid":
38
+ return /* @__PURE__ */ e.jsx(x, { ...r, size: n * 0.4 });
39
+ case "hash":
40
+ return /* @__PURE__ */ e.jsx(p, { ...r });
41
+ case "sync":
42
+ return /* @__PURE__ */ e.jsx(m, { ...r, size: n * 0.4 });
43
+ case "clip":
44
+ default:
45
+ return /* @__PURE__ */ e.jsx(l, { ...r });
46
+ }
47
+ };
48
+ return /* @__PURE__ */ e.jsx("div", { className: u, children: d() });
49
+ };
50
+ export {
51
+ y as default
52
+ };
@@ -1,15 +1,15 @@
1
- import { jsx as e, jsxs as u } from "react/jsx-runtime";
2
- import { Check as b } from "../../Icons/Icons.js";
3
- import { cn as w } from "../../lib/cn.js";
4
- import { motion as s } from "framer-motion";
5
- import $ from "react";
6
- const v = ({
7
- index: c,
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
+ import { C as j } from "./Icons-DtFC5DJ7.js";
3
+ import { c as y } from "./cn-B6yFEsav.js";
4
+ import { motion as r } from "framer-motion";
5
+ import N from "react";
6
+ const b = ({
7
+ index: n,
8
8
  isHorizontal: t,
9
- currentStep: f,
10
- size: n
9
+ currentStep: u,
10
+ size: s
11
11
  }) => {
12
- const i = c < f, p = c === f - 1, o = {
12
+ const i = n < u, x = n === u - 1, o = {
13
13
  horizontal: {
14
14
  sm: "w-[44px] h-[2px]",
15
15
  md: "w-20 h-1",
@@ -21,15 +21,15 @@ const v = ({
21
21
  lg: "w-1 h-20"
22
22
  }
23
23
  };
24
- return /* @__PURE__ */ u("div", { className: `relative ${t ? o.horizontal[n] : o.vertical[n]}`, children: [
25
- /* @__PURE__ */ e(
24
+ return /* @__PURE__ */ e.jsxs("div", { className: `relative ${t ? o.horizontal[s] : o.vertical[s]}`, children: [
25
+ /* @__PURE__ */ e.jsx(
26
26
  "div",
27
27
  {
28
28
  className: "absolute inset-0 rounded-full bg-neutral-medium-default"
29
29
  }
30
30
  ),
31
- /* @__PURE__ */ e(
32
- s.div,
31
+ /* @__PURE__ */ e.jsx(
32
+ r.div,
33
33
  {
34
34
  className: "absolute inset-0 rounded-full bg-primary-default-default",
35
35
  initial: {
@@ -45,7 +45,7 @@ const v = ({
45
45
  transition: {
46
46
  duration: 0.2,
47
47
  ease: "easeInOut",
48
- delay: c * 0.1
48
+ delay: n * 0.1
49
49
  },
50
50
  style: {
51
51
  originX: t ? 0 : 0.5,
@@ -53,8 +53,8 @@ const v = ({
53
53
  }
54
54
  }
55
55
  ),
56
- p && /* @__PURE__ */ e(
57
- s.div,
56
+ x && /* @__PURE__ */ e.jsx(
57
+ r.div,
58
58
  {
59
59
  className: "absolute inset-0 rounded-full bg-primary-default-default",
60
60
  initial: {
@@ -80,22 +80,22 @@ const v = ({
80
80
  }
81
81
  )
82
82
  ] });
83
- }, k = ({
84
- steps: c,
83
+ }, S = ({
84
+ steps: n,
85
85
  currentStep: t,
86
- orientation: f = "horizontal",
87
- variant: n = "default",
86
+ orientation: u = "horizontal",
87
+ variant: s = "default",
88
88
  size: i = "md",
89
- className: p = "",
89
+ className: x = "",
90
90
  onStepClick: o,
91
- allowClickableSteps: g = !1
91
+ allowClickableSteps: p = !1
92
92
  }) => {
93
- const r = f === "horizontal", m = {
93
+ const c = u === "horizontal", m = {
94
94
  sm: {
95
95
  circle: "size-7 aspect-square text-xs",
96
96
  title: "text-sm",
97
97
  description: "text-[11px] w-16",
98
- spacing: r ? "gap-2" : "gap-1",
98
+ spacing: c ? "gap-2" : "gap-1",
99
99
  connectorContainer: "px-2",
100
100
  iconSize: 20
101
101
  },
@@ -103,7 +103,7 @@ const v = ({
103
103
  circle: "w-10 h-10 text-sm",
104
104
  title: "text-base",
105
105
  description: "text-sm w-20",
106
- spacing: r ? "gap-3" : "gap-2",
106
+ spacing: c ? "gap-3" : "gap-2",
107
107
  connectorContainer: "px-2",
108
108
  iconSize: 24
109
109
  },
@@ -111,11 +111,11 @@ const v = ({
111
111
  circle: "w-12 h-12 text-base",
112
112
  title: "text-lg",
113
113
  description: "text-base w-28",
114
- spacing: r ? "gap-4" : "gap-3",
114
+ spacing: c ? "gap-4" : "gap-3",
115
115
  connectorContainer: "px-2",
116
116
  iconSize: 28
117
117
  }
118
- }, N = (a) => a < t ? "completed" : a === t ? "current" : "upcoming", h = (a) => {
118
+ }, w = (a) => a < t ? "completed" : a === t ? "current" : "upcoming", g = (a) => {
119
119
  const l = `${m[i].circle} rounded-full flex items-center justify-center font-medium`;
120
120
  switch (a) {
121
121
  case "completed":
@@ -125,69 +125,69 @@ const v = ({
125
125
  default:
126
126
  return `${l} bg-neutral-medium-default text-neutral-medium-default`;
127
127
  }
128
- }, y = (a) => {
129
- g && o && o(a);
130
- }, C = r ? `flex items-center w-full justify-center ${p}` : `space-y-0 ${p}`;
131
- return /* @__PURE__ */ e("div", { className: C, children: c.map((a, l) => {
132
- const d = N(l), x = g && o;
133
- return /* @__PURE__ */ e("div", { className: "flex items-center", children: r ? /* @__PURE__ */ u("div", { className: "flex", children: [
134
- /* @__PURE__ */ u("div", { className: "w-max flex flex-col items-center relative", children: [
135
- /* @__PURE__ */ e(
136
- s.div,
128
+ }, h = (a) => {
129
+ p && o && o(a);
130
+ }, v = c ? `flex items-center w-full justify-center ${x}` : `space-y-0 ${x}`;
131
+ return /* @__PURE__ */ e.jsx("div", { className: v, children: n.map((a, l) => {
132
+ const d = w(l), f = p && o;
133
+ return /* @__PURE__ */ e.jsx("div", { className: "flex items-center", children: c ? /* @__PURE__ */ e.jsxs("div", { className: "flex", children: [
134
+ /* @__PURE__ */ e.jsxs("div", { className: "w-max flex flex-col items-center relative", children: [
135
+ /* @__PURE__ */ e.jsx(
136
+ r.div,
137
137
  {
138
- className: `${h(d)} ${x ? "cursor-pointer" : ""} relative z-10`,
138
+ className: `${g(d)} ${f ? "cursor-pointer" : ""} relative z-10`,
139
139
  initial: { scale: 0.8, opacity: 0 },
140
140
  animate: { scale: 1, opacity: 1 },
141
141
  transition: { duration: 0.3, delay: l * 0.3 },
142
- whileTap: x ? { scale: 0.95 } : {},
143
- onClick: () => y(l),
144
- children: n === "numbered" || n === "numbered-minimal" || !a.icon ? d === "completed" ? /* @__PURE__ */ e(s.div, { initial: { scale: 0 }, animate: { scale: 1 }, transition: { duration: 0.2 }, children: /* @__PURE__ */ e(b, { size: 24, className: "text-neutral-strong-default" }) }) : /* @__PURE__ */ e("span", { children: l + 1 }) : $.cloneElement(a.icon, { size: m[i].iconSize })
142
+ whileTap: f ? { scale: 0.95 } : {},
143
+ onClick: () => h(l),
144
+ children: s === "numbered" || s === "numbered-minimal" || !a.icon ? d === "completed" ? /* @__PURE__ */ e.jsx(r.div, { initial: { scale: 0 }, animate: { scale: 1 }, transition: { duration: 0.2 }, children: /* @__PURE__ */ e.jsx(j, { size: 24, className: "text-neutral-strong-default" }) }) : /* @__PURE__ */ e.jsx("span", { children: l + 1 }) : N.cloneElement(a.icon, { size: m[i].iconSize })
145
145
  }
146
146
  ),
147
- n !== "minimal" && n !== "numbered-minimal" && a.description && /* @__PURE__ */ e("p", { className: w(
147
+ s !== "minimal" && s !== "numbered-minimal" && a.description && /* @__PURE__ */ e.jsx("p", { className: y(
148
148
  "absolute text-center w-28 -bottom-2 translate-y-full",
149
149
  m[i].description,
150
150
  "text-gray-400 mt-2 text-center",
151
151
  d === "current" ? "text-neutral-strong-default font-semibold " : "text-neutral-medium-default"
152
152
  ), children: a.description })
153
153
  ] }),
154
- l < c.length - 1 && /* @__PURE__ */ e(
154
+ l < n.length - 1 && /* @__PURE__ */ e.jsx(
155
155
  "div",
156
156
  {
157
157
  className: `flex items-center w-max ${m[i].connectorContainer}`,
158
- children: /* @__PURE__ */ e(
159
- v,
158
+ children: /* @__PURE__ */ e.jsx(
159
+ b,
160
160
  {
161
161
  index: l,
162
- isHorizontal: r,
162
+ isHorizontal: c,
163
163
  currentStep: t,
164
164
  size: i
165
165
  }
166
166
  )
167
167
  }
168
168
  )
169
- ] }) : /* @__PURE__ */ u("div", { className: "relative flex flex-col items-center w-max", children: [
170
- /* @__PURE__ */ u("div", { className: "flex flex-col items-center w-full relative", children: [
171
- /* @__PURE__ */ e(
172
- s.div,
169
+ ] }) : /* @__PURE__ */ e.jsxs("div", { className: "relative flex flex-col items-center w-max", children: [
170
+ /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center w-full relative", children: [
171
+ /* @__PURE__ */ e.jsx(
172
+ r.div,
173
173
  {
174
- className: `${h(d)} ${x ? "cursor-pointer" : ""}`,
174
+ className: `${g(d)} ${f ? "cursor-pointer" : ""}`,
175
175
  initial: { scale: 0.8, opacity: 0 },
176
176
  animate: { scale: 1, opacity: 1 },
177
177
  transition: { duration: 0.3, delay: l * 0.1 },
178
- whileTap: x ? { scale: 0.95 } : {},
179
- onClick: () => y(l),
180
- children: n === "numbered" || n === "numbered-minimal" || !a.icon ? d === "completed" ? /* @__PURE__ */ e(s.div, { initial: { scale: 0 }, animate: { scale: 1 }, transition: { duration: 0.2 }, children: /* @__PURE__ */ e(b, { size: 24, className: "text-neutral-strong-default" }) }) : /* @__PURE__ */ e("span", { children: l + 1 }) : a.icon
178
+ whileTap: f ? { scale: 0.95 } : {},
179
+ onClick: () => h(l),
180
+ children: s === "numbered" || s === "numbered-minimal" || !a.icon ? d === "completed" ? /* @__PURE__ */ e.jsx(r.div, { initial: { scale: 0 }, animate: { scale: 1 }, transition: { duration: 0.2 }, children: /* @__PURE__ */ e.jsx(j, { size: 24, className: "text-neutral-strong-default" }) }) : /* @__PURE__ */ e.jsx("span", { children: l + 1 }) : a.icon
181
181
  }
182
182
  ),
183
- n !== "minimal" && n !== "numbered-minimal" && /* @__PURE__ */ e(
184
- s.div,
183
+ s !== "minimal" && s !== "numbered-minimal" && /* @__PURE__ */ e.jsx(
184
+ r.div,
185
185
  {
186
186
  className: `absolute -right-4 top-1/2 -translate-y-1/2 translate-x-full ml-4 gap-3 flex flex-col w-full ${m[i].spacing} flex h-full`,
187
187
  initial: { opacity: 0, x: -10 },
188
188
  animate: { opacity: 1, x: 0 },
189
189
  transition: { duration: 0.3, delay: l * 0.1 + 0.1 },
190
- children: a.description && /* @__PURE__ */ e("p", { className: w(
190
+ children: a.description && /* @__PURE__ */ e.jsx("p", { className: y(
191
191
  "h-full text-start flex items-center justify-start ",
192
192
  m[i].description,
193
193
  "text-gray-400",
@@ -196,11 +196,11 @@ const v = ({
196
196
  }
197
197
  )
198
198
  ] }),
199
- l < c.length - 1 && /* @__PURE__ */ e("div", { className: "py-2", children: /* @__PURE__ */ e(
200
- v,
199
+ l < n.length - 1 && /* @__PURE__ */ e.jsx("div", { className: "py-2", children: /* @__PURE__ */ e.jsx(
200
+ b,
201
201
  {
202
202
  index: l,
203
- isHorizontal: r,
203
+ isHorizontal: c,
204
204
  currentStep: t,
205
205
  size: i
206
206
  }
@@ -209,5 +209,6 @@ const v = ({
209
209
  }) });
210
210
  };
211
211
  export {
212
- k as default
212
+ S as Steps,
213
+ S as default
213
214
  };