prometeo-design-system 2.8.4 → 2.8.7

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 (339) hide show
  1. package/dist/Avatar.js +4 -0
  2. package/dist/Button.js +4 -0
  3. package/dist/CardProfile.d.ts +4 -0
  4. package/dist/CardProfile.js +5 -0
  5. package/dist/CheckBox.js +4 -0
  6. package/dist/DatePicker.d.ts +2 -0
  7. package/dist/DatePicker.js +5 -0
  8. package/dist/DialogModal.js +6 -0
  9. package/dist/DrawerDesktop.js +6 -0
  10. package/dist/DrawerMobile.js +6 -0
  11. package/dist/DropZone.d.ts +4 -0
  12. package/dist/DropZone.js +5 -0
  13. package/dist/FAButton.js +4 -0
  14. package/dist/Header.js +4 -0
  15. package/dist/Icons/Icons.d.ts +1 -1
  16. package/dist/Icons/Icons.js +1055 -0
  17. package/dist/Icons.d.ts +4 -0
  18. package/dist/Icons.js +5 -0
  19. package/dist/Image.js +4 -0
  20. package/dist/ImageGallery.js +6 -0
  21. package/dist/Input.js +4 -0
  22. package/dist/InputMultiple.d.ts +4 -0
  23. package/dist/InputMultiple.js +5 -0
  24. package/dist/LayoutGeneric.js +4 -0
  25. package/dist/Logo.js +4 -0
  26. package/dist/Menu.d.ts +4 -0
  27. package/dist/Menu.js +5 -0
  28. package/dist/OtpInput.js +4 -0
  29. package/dist/Pagination.js +4 -0
  30. package/dist/ProfilePictureUpload.d.ts +4 -0
  31. package/dist/ProfilePictureUpload.js +5 -0
  32. package/dist/ProgressBar.js +4 -0
  33. package/dist/RadioButton.d.ts +4 -0
  34. package/dist/RadioButton.js +5 -0
  35. package/dist/SegmentedButton.d.ts +4 -0
  36. package/dist/SegmentedButton.js +5 -0
  37. package/dist/Select.js +4 -0
  38. package/dist/SelectSearch.js +4 -0
  39. package/dist/Skeleton.d.ts +4 -0
  40. package/dist/Skeleton.js +5 -0
  41. package/dist/Spinner.js +4 -0
  42. package/dist/Steps.d.ts +4 -0
  43. package/dist/Steps.js +5 -0
  44. package/dist/SwipeContainer.js +4 -0
  45. package/dist/Switch.d.ts +4 -0
  46. package/dist/Switch.js +5 -0
  47. package/dist/TabLinks.js +4 -0
  48. package/dist/Table.js +11 -0
  49. package/dist/TextArea.js +4 -0
  50. package/dist/Toast.js +5 -0
  51. package/dist/ToastProvider.js +4 -0
  52. package/dist/Tooltip.js +4 -0
  53. package/dist/components/Autocomplete/useAutocomplete.js +143 -0
  54. package/dist/{Avatar.es.js → components/Avatar/Avatar.js} +28 -33
  55. package/dist/{Button.es.js → components/Button/Button.js} +55 -55
  56. package/dist/{CardProfile-BB-IP1MR.js → components/CardProfile/CardProfile.js} +68 -94
  57. package/dist/{CheckBox.es.js → components/CheckBox/CheckBox.js} +25 -25
  58. package/dist/components/DatePicker/DatePicker.js +396 -0
  59. package/dist/components/Dialog/Dialog.js +60 -0
  60. package/dist/components/Dialog/useDialogControl.js +18 -0
  61. package/dist/components/Drawer/DrawerDesktop.js +179 -0
  62. package/dist/components/Drawer/DrawerMobile.js +219 -0
  63. package/dist/components/Drawer/useDrawerDesktop.js +18 -0
  64. package/dist/components/Drawer/useDrawerMobile.js +27 -0
  65. package/dist/components/DropZone/DropZone.js +86 -0
  66. package/dist/components/DropZone/useFileDropzone.js +24 -0
  67. package/dist/{FAButton.es.js → components/FAB/FAButton.js} +5 -5
  68. package/dist/components/Header/Header.js +32 -0
  69. package/dist/components/Image/GalleryPreview.js +40 -0
  70. package/dist/{Image.es.js → components/Image/Image.js} +32 -32
  71. package/dist/components/Image/ImageGallery.js +68 -0
  72. package/dist/components/Image/LightBox.js +223 -0
  73. package/dist/{ImageGallery.es.js → components/Image/useImageGallery.js} +0 -2
  74. package/dist/components/Input/Input.js +219 -0
  75. package/dist/{InputMultiple.es.js → components/InputMultiple/InputMultiple.js} +91 -91
  76. package/dist/components/Layout/LayoutGeneric.js +13 -0
  77. package/dist/components/Logo/Logo.js +9 -0
  78. package/dist/{Menu.es.js → components/Menu/MenuComposable.js} +11 -11
  79. package/dist/components/OtpInput/OtpInput.js +112 -0
  80. package/dist/{Pagination.es.js → components/Pagination/Pagination.js} +32 -32
  81. package/dist/components/ProfilePictureUpload/ProfilePictureUpload.d.ts +1 -1
  82. package/dist/{ProfilePictureUpload.es.js → components/ProfilePictureUpload/ProfilePictureUpload.js} +73 -98
  83. package/dist/components/ProgressBar/ProgressBar.js +70 -0
  84. package/dist/{RadioButton.es.js → components/RadioButton/RadioButton.js} +35 -35
  85. package/dist/{SegmentedButton.es.js → components/SegmentedButton/SegmentedButton.js} +37 -37
  86. package/dist/components/Select/Select.js +1005 -0
  87. package/dist/components/SelectSearch/SelectSearch.js +101 -0
  88. package/dist/components/Shared/Chip.js +55 -0
  89. package/dist/components/Shared/HelperComponent.js +24 -0
  90. package/dist/components/Sidebar/SecondaryBar/SecondaryBar.js +62 -0
  91. package/dist/components/Sidebar/SecondaryBar/hooks/useSecondaryBarAnimation.js +59 -0
  92. package/dist/components/Sidebar/SidebarComposable.js +84 -0
  93. package/dist/components/Sidebar/components/NavigationLink.js +34 -0
  94. package/dist/components/Sidebar/components/badge.js +33 -0
  95. package/dist/components/Sidebar/components/changue-account.js +31 -0
  96. package/dist/components/Sidebar/components/collapse-button.js +18 -0
  97. package/dist/components/Sidebar/components/company-logo.js +12 -0
  98. package/dist/components/Sidebar/components/nav-actions.js +98 -0
  99. package/dist/components/Sidebar/components/nav-links.js +100 -0
  100. package/dist/components/Sidebar/context/SidebarContext.js +19 -0
  101. package/dist/components/Sidebar/hooks/SidebarProvider.js +33 -0
  102. package/dist/components/Sidebar/hooks/useNavBarActions.js +9 -0
  103. package/dist/components/Sidebar/hooks/useNavBarCollapse.js +11 -0
  104. package/dist/components/Sidebar/hooks/useSidebarHook.js +13 -0
  105. package/dist/components/Sidebar/ui/useNavbarAnimation.js +326 -0
  106. package/dist/{Skeleton.es.js → components/Skeleton/Skeleton.js} +16 -17
  107. package/dist/components/Spinner/Spinner.js +52 -0
  108. package/dist/{Steps.es.js → components/Steps/Steps.js} +61 -61
  109. package/dist/{SwipeContainer.es.js → components/SwipeContainer/SwipeContainer.js} +68 -68
  110. package/dist/{Switch.es.js → components/Switch/Switch.js} +17 -17
  111. package/dist/{TabLinks.es.js → components/TabLinks/TabLinks.js} +11 -11
  112. package/dist/components/TabSwitch/TabSwitch.js +57 -0
  113. package/dist/{Table.es.js → components/Table/Table.js} +38 -41
  114. package/dist/{TextArea.es.js → components/TextArea/TextArea.js} +24 -26
  115. package/dist/components/Toaster/ToastProvider.js +6 -0
  116. package/dist/{Toast.es.js → components/Toaster/Toaster.js} +42 -42
  117. package/dist/components/Tooltip/Tootip.js +62 -0
  118. package/dist/exports/CardProfile.d.ts +1 -0
  119. package/dist/exports/DatePicker.d.ts +2 -0
  120. package/dist/exports/DropZone.d.ts +2 -0
  121. package/dist/exports/Icons.d.ts +2 -1
  122. package/dist/exports/InputMultiple.d.ts +2 -0
  123. package/dist/exports/Menu.d.ts +1 -0
  124. package/dist/exports/ProfilePictureUpload.d.ts +1 -0
  125. package/dist/exports/RadioButton.d.ts +2 -0
  126. package/dist/exports/SegmentedButton.d.ts +2 -0
  127. package/dist/exports/Skeleton.d.ts +2 -0
  128. package/dist/exports/Steps.d.ts +1 -0
  129. package/dist/exports/Switch.d.ts +2 -0
  130. package/dist/hooks/useClickOutside.js +24 -0
  131. package/dist/{useDragScroll-CHN9OMwn.js → hooks/useDragScroll.js} +1 -1
  132. package/dist/hooks/useLabelBackground.js +25 -0
  133. package/dist/index.d.ts +0 -4
  134. package/dist/index.js +119 -0
  135. package/dist/{cn-B6yFEsav.js → lib/cn.js} +2 -2
  136. package/dist/lib/utils.js +54 -0
  137. package/dist/node_modules/@date-fns/tz/date/index.js +61 -0
  138. package/dist/node_modules/@date-fns/tz/date/mini.js +69 -0
  139. package/dist/node_modules/@date-fns/tz/tzName/index.js +11 -0
  140. package/dist/node_modules/@date-fns/tz/tzOffset/index.js +22 -0
  141. package/dist/{index-BOQuZ0gG.js → node_modules/class-variance-authority/dist/index.js} +10 -9
  142. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
  143. package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
  144. package/dist/node_modules/date-fns/_lib/format/formatters.js +583 -0
  145. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
  146. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
  147. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
  148. package/dist/node_modules/date-fns/_lib/normalizeDates.js +11 -0
  149. package/dist/node_modules/date-fns/_lib/normalizeInterval.js +8 -0
  150. package/dist/node_modules/date-fns/_lib/protectedTokens.js +20 -0
  151. package/dist/node_modules/date-fns/addDays.js +10 -0
  152. package/dist/node_modules/date-fns/addMonths.js +20 -0
  153. package/dist/node_modules/date-fns/addWeeks.js +8 -0
  154. package/dist/node_modules/date-fns/addYears.js +8 -0
  155. package/dist/node_modules/date-fns/constants.js +6 -0
  156. package/dist/node_modules/date-fns/constructFrom.js +8 -0
  157. package/dist/node_modules/date-fns/differenceInCalendarDays.js +16 -0
  158. package/dist/node_modules/date-fns/differenceInCalendarMonths.js +13 -0
  159. package/dist/node_modules/date-fns/eachMonthOfInterval.js +17 -0
  160. package/dist/node_modules/date-fns/eachYearOfInterval.js +17 -0
  161. package/dist/node_modules/date-fns/endOfISOWeek.js +8 -0
  162. package/dist/node_modules/date-fns/endOfMonth.js +9 -0
  163. package/dist/node_modules/date-fns/endOfWeek.js +10 -0
  164. package/dist/node_modules/date-fns/endOfYear.js +9 -0
  165. package/dist/node_modules/date-fns/format.js +58 -0
  166. package/dist/node_modules/date-fns/getDayOfYear.js +11 -0
  167. package/dist/node_modules/date-fns/getDaysInMonth.js +10 -0
  168. package/dist/node_modules/date-fns/getISOWeek.js +12 -0
  169. package/dist/node_modules/date-fns/getISOWeekYear.js +15 -0
  170. package/dist/node_modules/date-fns/getMonth.js +8 -0
  171. package/dist/node_modules/date-fns/getWeek.js +12 -0
  172. package/dist/node_modules/date-fns/getWeekYear.js +16 -0
  173. package/dist/node_modules/date-fns/getYear.js +8 -0
  174. package/dist/node_modules/date-fns/isAfter.js +8 -0
  175. package/dist/node_modules/date-fns/isBefore.js +8 -0
  176. package/dist/node_modules/date-fns/isDate.js +7 -0
  177. package/dist/node_modules/date-fns/isSameDay.js +14 -0
  178. package/dist/node_modules/date-fns/isSameMonth.js +13 -0
  179. package/dist/node_modules/date-fns/isSameYear.js +13 -0
  180. package/dist/node_modules/date-fns/isValid.js +9 -0
  181. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
  182. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
  183. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
  184. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
  185. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
  186. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
  187. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
  188. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
  189. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
  190. package/dist/node_modules/date-fns/locale/en-US.js +21 -0
  191. package/dist/node_modules/date-fns/locale/es/_lib/formatDistance.js +70 -0
  192. package/dist/node_modules/date-fns/locale/es/_lib/formatLong.js +33 -0
  193. package/dist/node_modules/date-fns/locale/es/_lib/formatRelative.js +18 -0
  194. package/dist/node_modules/date-fns/locale/es/_lib/localize.js +143 -0
  195. package/dist/node_modules/date-fns/locale/es/_lib/match.js +116 -0
  196. package/dist/node_modules/date-fns/locale/es.js +21 -0
  197. package/dist/node_modules/date-fns/max.js +14 -0
  198. package/dist/node_modules/date-fns/min.js +14 -0
  199. package/dist/node_modules/date-fns/setMonth.js +13 -0
  200. package/dist/node_modules/date-fns/setYear.js +10 -0
  201. package/dist/node_modules/date-fns/startOfDay.js +9 -0
  202. package/dist/node_modules/date-fns/startOfISOWeek.js +8 -0
  203. package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -0
  204. package/dist/node_modules/date-fns/startOfMonth.js +9 -0
  205. package/dist/node_modules/date-fns/startOfWeek.js +10 -0
  206. package/dist/node_modules/date-fns/startOfWeekYear.js +12 -0
  207. package/dist/node_modules/date-fns/startOfYear.js +9 -0
  208. package/dist/node_modules/date-fns/toDate.js +8 -0
  209. package/dist/node_modules/input-otp/dist/index.js +194 -0
  210. package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +227 -0
  211. package/dist/node_modules/react-day-picker/dist/esm/UI.js +22 -0
  212. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +19 -0
  213. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +8 -0
  214. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +8 -0
  215. package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +147 -0
  216. package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +7 -0
  217. package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +7 -0
  218. package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +18 -0
  219. package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +8 -0
  220. package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +10 -0
  221. package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +19 -0
  222. package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +7 -0
  223. package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +7 -0
  224. package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +8 -0
  225. package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +8 -0
  226. package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +7 -0
  227. package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +7 -0
  228. package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +9 -0
  229. package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +27 -0
  230. package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +9 -0
  231. package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +7 -0
  232. package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +9 -0
  233. package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +8 -0
  234. package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +7 -0
  235. package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +8 -0
  236. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +8 -0
  237. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +7 -0
  238. package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +7 -0
  239. package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +11 -0
  240. package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +7 -0
  241. package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +9 -0
  242. package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +54 -0
  243. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +9 -0
  244. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +7 -0
  245. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +7 -0
  246. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +7 -0
  247. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +6 -0
  248. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +7 -0
  249. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +9 -0
  250. package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +18 -0
  251. package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +19 -0
  252. package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +42 -0
  253. package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +9 -0
  254. package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +7 -0
  255. package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +7 -0
  256. package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +10 -0
  257. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +16 -0
  258. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +21 -0
  259. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +10 -0
  260. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +16 -0
  261. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +13 -0
  262. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +15 -0
  263. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +10 -0
  264. package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +13 -0
  265. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +13 -0
  266. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +24 -0
  267. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +13 -0
  268. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +12 -0
  269. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +12 -0
  270. package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +12 -0
  271. package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +13 -0
  272. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +11 -0
  273. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +7 -0
  274. package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +16 -0
  275. package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +7 -0
  276. package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +8 -0
  277. package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +26 -0
  278. package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +10 -0
  279. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +9 -0
  280. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +8 -0
  281. package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +6 -0
  282. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +6 -0
  283. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +6 -0
  284. package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +6 -0
  285. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +6 -0
  286. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +6 -0
  287. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +7 -0
  288. package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +6 -0
  289. package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +21 -0
  290. package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +18 -0
  291. package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +15 -0
  292. package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +56 -0
  293. package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +44 -0
  294. package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +12 -0
  295. package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +23 -0
  296. package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +19 -0
  297. package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +32 -0
  298. package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +26 -0
  299. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +15 -0
  300. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +28 -0
  301. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +9 -0
  302. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +8 -0
  303. package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +26 -0
  304. package/dist/prometeo-design-system.css +1 -1
  305. package/dist/styles.d.ts +0 -0
  306. package/dist/useDevice.js +4 -0
  307. package/package.json +282 -274
  308. package/src/styles/app.css +1314 -0
  309. package/src/styles/base.css +1323 -0
  310. package/src/styles/fonts.css +46 -0
  311. package/src/styles/palette.css +83 -0
  312. package/src/styles/utilities.css +1126 -0
  313. package/dist/CardProfile.es.js +0 -4
  314. package/dist/DatePicker.es.js +0 -3500
  315. package/dist/DialogModal.es.js +0 -75
  316. package/dist/DrawerDesktop.es.js +0 -192
  317. package/dist/DrawerMobile.es.js +0 -242
  318. package/dist/DropZone.es.js +0 -86
  319. package/dist/Header.es.js +0 -32
  320. package/dist/HelperComponent-D_Cqdf1J.js +0 -24
  321. package/dist/Icons.es.js +0 -1055
  322. package/dist/ImageGallery-CjaJ0UCN.js +0 -317
  323. package/dist/Input-Bdo-Acix.js +0 -240
  324. package/dist/Input.es.js +0 -4
  325. package/dist/LayoutGeneric-B6E-yOYJ.js +0 -26
  326. package/dist/LayoutGeneric.es.js +0 -4
  327. package/dist/Logo.es.js +0 -9
  328. package/dist/OtpInput.es.js +0 -301
  329. package/dist/ProgressBar.es.js +0 -70
  330. package/dist/Select-D2APaG1z.js +0 -1100
  331. package/dist/Select.es.js +0 -4
  332. package/dist/SelectSearch.es.js +0 -237
  333. package/dist/Spinner.es.js +0 -52
  334. package/dist/ToastProvider.es.js +0 -6
  335. package/dist/Tooltip.es.js +0 -62
  336. package/dist/components/Button/Button_Legacy.d.ts +0 -29
  337. package/dist/jsx-runtime-ByW6EXIE.js +0 -283
  338. package/dist/prometeo-design-system.es.js +0 -1008
  339. /package/dist/{useDevice.es.js → hooks/useDevice.js} +0 -0
@@ -0,0 +1,57 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { cn as n } from "../../lib/cn.js";
3
+ /* empty css */
4
+ import { forwardRef as p, useState as h, useRef as x, useEffect as v } from "react";
5
+ const C = p((t, i) => {
6
+ const [s, m] = h(t?.currentTabName || t.tabs[0].name), r = x(null), { tabs: l = [], className: o, activeColor: c = "var(--neutral-900)" } = t;
7
+ v(() => {
8
+ r.current?.style.setProperty("--tab-bg", c);
9
+ }, [c]);
10
+ const u = l.find((e) => e.name === (t?.currentTabName || s));
11
+ return /* @__PURE__ */ a(
12
+ "div",
13
+ {
14
+ ref: i,
15
+ className: n(
16
+ "flex flex-col gap-2",
17
+ "bg-neutral-strong-default",
18
+ "h-full w-14 max-w-14 pl-[6px] py-6",
19
+ " border-r border-neutral-default-default",
20
+ o
21
+ ),
22
+ children: l.map(
23
+ (e) => {
24
+ const d = e.name === u?.name, f = typeof e.thumbnail == "string" ? /* @__PURE__ */ a("img", { src: e.thumbnail, alt: e.description, className: "aspect-square object-contain" }) : e.thumbnail, b = () => {
25
+ e.disabled || (m(e.name), e.onClick && e.onClick(e.name));
26
+ };
27
+ return /* @__PURE__ */ a(
28
+ "div",
29
+ {
30
+ className: n(
31
+ "bg-[(--tab-bg)]",
32
+ "h-12 w-[50px] z-20",
33
+ "flex items-center pl-[6px] ",
34
+ "rounded-l-[8px]",
35
+ "tabswitch-element relative",
36
+ d && "active"
37
+ ),
38
+ onClick: b,
39
+ ref: r,
40
+ children: /* @__PURE__ */ a("div", { className: n(
41
+ "size-8 rounded-[4px]",
42
+ "grid place-items-center",
43
+ "tab-thumbnail-icon",
44
+ "bg-transparent text-neutral-default-default",
45
+ e?.className
46
+ ), children: f })
47
+ },
48
+ e.name
49
+ );
50
+ }
51
+ )
52
+ }
53
+ );
54
+ });
55
+ export {
56
+ C as default
57
+ };
@@ -1,7 +1,7 @@
1
- import { j as r } from "./jsx-runtime-ByW6EXIE.js";
2
- import { c as l } from "./cn-B6yFEsav.js";
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { cn as l } from "../../lib/cn.js";
3
3
  import * as o from "react";
4
- const n = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx("div", { className: "w-full", children: /* @__PURE__ */ r.jsx(
4
+ const s = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r("div", { className: "w-full", children: /* @__PURE__ */ r(
5
5
  "table",
6
6
  {
7
7
  ref: a,
@@ -12,8 +12,8 @@ const n = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx("div
12
12
  ...t
13
13
  }
14
14
  ) }));
15
- n.displayName = "Table";
16
- const f = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
15
+ s.displayName = "Table";
16
+ const n = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r(
17
17
  "thead",
18
18
  {
19
19
  ref: a,
@@ -21,8 +21,8 @@ const f = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
21
21
  ...t
22
22
  }
23
23
  ));
24
- f.displayName = "TableHeader";
25
- const i = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
24
+ n.displayName = "TableHeader";
25
+ const f = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r(
26
26
  "tbody",
27
27
  {
28
28
  ref: a,
@@ -30,8 +30,8 @@ const i = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
30
30
  ...t
31
31
  }
32
32
  ));
33
- i.displayName = "TableBody";
34
- const b = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
33
+ f.displayName = "TableBody";
34
+ const i = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r(
35
35
  "tfoot",
36
36
  {
37
37
  ref: a,
@@ -42,9 +42,14 @@ const b = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
42
42
  ...t
43
43
  }
44
44
  ));
45
- b.displayName = "TableFooter";
46
- const c = o.forwardRef(({ className: e, isSelected: t, ...a }, d) => {
47
- const s = `
45
+ i.displayName = "TableFooter";
46
+ const b = o.forwardRef(({ className: e, isSelected: t, ...a }, d) => /* @__PURE__ */ r(
47
+ "tr",
48
+ {
49
+ ref: d,
50
+ className: l(
51
+ "border-b border-neutral-default-default relative text-center text-md text-semibold transition-colors hover:bg-neutral-medium-default/50 text-neutral-default-default",
52
+ `
48
53
  after:content-["<span id='selected-span'></span>"]
49
54
  after:absolute
50
55
  after:top-1/2
@@ -61,22 +66,14 @@ const c = o.forwardRef(({ className: e, isSelected: t, ...a }, d) => {
61
66
  transition-all
62
67
  duration-300
63
68
  ease-in-out
64
- `;
65
- return /* @__PURE__ */ r.jsx(
66
- "tr",
67
- {
68
- ref: d,
69
- className: l(
70
- "border-b border-neutral-default-default relative text-center text-md text-semibold transition-colors hover:bg-neutral-medium-default/50 text-neutral-default-default",
71
- s,
72
- e
73
- ),
74
- ...a
75
- }
76
- );
77
- });
78
- c.displayName = "TableRow";
79
- const m = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
69
+ `,
70
+ e
71
+ ),
72
+ ...a
73
+ }
74
+ ));
75
+ b.displayName = "TableRow";
76
+ const c = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r(
80
77
  "th",
81
78
  {
82
79
  ref: a,
@@ -87,8 +84,8 @@ const m = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
87
84
  ...t
88
85
  }
89
86
  ));
90
- m.displayName = "TableHead";
91
- const u = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
87
+ c.displayName = "TableHead";
88
+ const m = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r(
92
89
  "td",
93
90
  {
94
91
  ref: a,
@@ -99,8 +96,8 @@ const u = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
99
96
  ...t
100
97
  }
101
98
  ));
102
- u.displayName = "TableCell";
103
- const p = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
99
+ m.displayName = "TableCell";
100
+ const u = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r(
104
101
  "caption",
105
102
  {
106
103
  ref: a,
@@ -108,14 +105,14 @@ const p = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
108
105
  ...t
109
106
  }
110
107
  ));
111
- p.displayName = "TableCaption";
108
+ u.displayName = "TableCaption";
112
109
  export {
113
- n as Table,
114
- i as TableBody,
115
- p as TableCaption,
116
- u as TableCell,
117
- b as TableFooter,
118
- m as TableHead,
119
- f as TableHeader,
120
- c as TableRow
110
+ s as Table,
111
+ f as TableBody,
112
+ u as TableCaption,
113
+ m as TableCell,
114
+ i as TableFooter,
115
+ c as TableHead,
116
+ n as TableHeader,
117
+ b as TableRow
121
118
  };
@@ -1,8 +1,8 @@
1
- import { j as k } from "./jsx-runtime-ByW6EXIE.js";
2
- import { c as A } from "./cn-B6yFEsav.js";
1
+ import { jsx as j } from "react/jsx-runtime";
2
+ import { cn as k } from "../../lib/cn.js";
3
3
  import * as a from "react";
4
- import { forwardRef as E } from "react";
5
- const M = E(
4
+ import { forwardRef as z } from "react";
5
+ const A = z(
6
6
  ({
7
7
  className: f,
8
8
  autoResize: r = !1,
@@ -10,57 +10,55 @@ const M = E(
10
10
  minRows: l = 3,
11
11
  maxRows: n,
12
12
  placeholder: d,
13
- onChange: m,
14
- value: h,
13
+ onChange: h,
14
+ value: m,
15
15
  rows: p,
16
- disabled: x = !1,
17
- ...g
16
+ disabled: g = !1,
17
+ ...x
18
18
  // ← Para pasar las props nativas
19
19
  }, t) => {
20
- const o = a.useRef(null), b = a.useCallback(
20
+ const i = a.useRef(null), b = a.useCallback(
21
21
  (e) => {
22
- o.current = e, typeof t == "function" ? t(e) : t && (t.current = e);
22
+ i.current = e, typeof t == "function" ? t(e) : t && (t.current = e);
23
23
  },
24
24
  [t]
25
25
  ), s = a.useCallback(() => {
26
- const e = o.current;
26
+ const e = i.current;
27
27
  if (!e || !r) return;
28
28
  e.style.height = "auto";
29
- const C = e.scrollHeight, i = Number.parseInt(getComputedStyle(e).lineHeight) || 20, j = l * i + 16;
30
- let u = Math.max(C, j);
29
+ const H = e.scrollHeight, o = Number.parseInt(getComputedStyle(e).lineHeight) || 20, C = l * o + 16;
30
+ let u = Math.max(H, C);
31
31
  if (n) {
32
- const N = n * i + 16;
32
+ const N = n * o + 16;
33
33
  u = Math.min(u, N);
34
34
  }
35
35
  e.style.height = `${u}px`;
36
36
  }, [r, l, n]), y = (e) => {
37
- m?.(e), s();
37
+ h?.(e), s();
38
38
  };
39
- a.useEffect(() => {
39
+ return a.useEffect(() => {
40
40
  s();
41
- }, [s]);
42
- const H = () => c ? r ? "resize-x" : "resize" : "resize-none";
43
- return /* @__PURE__ */ k.jsx(
41
+ }, [s]), /* @__PURE__ */ j(
44
42
  "textarea",
45
43
  {
46
44
  ref: b,
47
45
  "data-slot": "textarea",
48
- className: A(
46
+ className: k(
49
47
  "placeholder:text-neutral-medium-default text-neutral-default-default appearance-none border border-neutral-default-default focus:border-primary-default-default flex w-full rounded-md px-3 py-2 outline-none disabled:cursor-default disabled:opacity-50 md:text-sm",
50
- H(),
48
+ c ? r ? "resize-x" : "resize" : "resize-none",
51
49
  f
52
50
  ),
53
51
  onChange: y,
54
52
  rows: r ? l : p,
55
- value: h,
53
+ value: m,
56
54
  placeholder: d,
57
- disabled: x,
58
- ...g
55
+ disabled: g,
56
+ ...x
59
57
  }
60
58
  );
61
59
  }
62
60
  );
63
- M.displayName = "TextArea";
61
+ A.displayName = "TextArea";
64
62
  export {
65
- M as default
63
+ A as default
66
64
  };
@@ -0,0 +1,6 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { Toaster as r } from "sonner";
3
+ const s = ({ ...o }) => /* @__PURE__ */ t(r, { ...o, position: "bottom-right", richColors: !1, theme: "light" });
4
+ export {
5
+ s as default
6
+ };
@@ -1,52 +1,52 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
2
- import w from "react";
3
- import { toast as p } from "sonner";
4
- import { c as s } from "./cn-B6yFEsav.js";
5
- import { Info as m, Error as u, Cancel as f, CheckCircle as b, Close as C } from "./Icons.es.js";
6
- import h from "./Button.es.js";
7
- const x = {
1
+ import { jsxs as x, jsx as t } from "react/jsx-runtime";
2
+ import C from "react";
3
+ import { toast as m } from "sonner";
4
+ import { cn as o } from "../../lib/cn.js";
5
+ import { Info as u, Error as f, Cancel as b, CheckCircle as h, Close as v } from "../../Icons/Icons.js";
6
+ import g from "../Button/Button.js";
7
+ const p = {
8
8
  dark: {
9
9
  success: {
10
10
  container: "border-b-[2px] border-success-default-default",
11
11
  iconClass: "text-success-medium-default",
12
- icon: b
12
+ icon: h
13
13
  },
14
14
  error: {
15
15
  container: "border-b-[2px] border-error-default-default",
16
16
  iconClass: "text-error-medium-default",
17
- icon: f
17
+ icon: b
18
18
  },
19
19
  warning: {
20
20
  container: "border-b-[2px] border-warning-default-default",
21
21
  iconClass: "text-warning-medium-default",
22
- icon: u
22
+ icon: f
23
23
  },
24
24
  info: {
25
25
  container: " border-b-[2px] border-primary-default-default",
26
26
  iconClass: "text-primary-default-default",
27
- icon: m
27
+ icon: u
28
28
  }
29
29
  },
30
30
  light: {
31
31
  success: {
32
32
  container: "",
33
33
  iconClass: "text-success-default-pressed",
34
- icon: b
34
+ icon: h
35
35
  },
36
36
  error: {
37
37
  container: "",
38
38
  iconClass: "text-error-medium-pressed",
39
- icon: f
39
+ icon: b
40
40
  },
41
41
  warning: {
42
42
  container: "",
43
43
  iconClass: "text-warning-medium-pressed",
44
- icon: u
44
+ icon: f
45
45
  },
46
46
  info: {
47
47
  container: "",
48
48
  iconClass: "text-primary-default-pressed",
49
- icon: m
49
+ icon: u
50
50
  }
51
51
  }
52
52
  }, i = {
@@ -62,68 +62,68 @@ const x = {
62
62
  description: "text-neutral-medium-focused",
63
63
  shadow: "0px 0px 2px 0px rgba(0, 0, 0, 0.35),8px 8px 20px 0px rgba(0, 0, 0, 0.3),0px 0px 15px 0px rgba(0, 0, 0, 0.2),0px 0px 20px 0px rgba(21, 21, 21, 0.3) inset,6px 0px 100px 0px rgba(0, 0, 0, 0.05) inset"
64
64
  }
65
- }, v = (l) => {
66
- const { title: a, description: o, button: r, id: n, icon: c, variant: d = "info", colorMode: t = "dark", showClose: g = !1 } = l;
67
- return /* @__PURE__ */ e.jsxs(
65
+ }, y = (l) => {
66
+ const { title: a, description: s, button: r, id: n, icon: c, variant: d = "info", colorMode: e = "dark", showClose: w = !1 } = l;
67
+ return /* @__PURE__ */ x(
68
68
  "div",
69
69
  {
70
70
  style: {
71
- boxShadow: i[t].shadow
71
+ boxShadow: i[e].shadow
72
72
  },
73
- className: s(
73
+ className: o(
74
74
  "flex p-3 pb-4 md:w-[485px] md:max-w-[485px] md:min-w-[485px] md:h-[68px] md:max-h-[68px] rounded-lg gap-2",
75
75
  "w-[345px] max-w-[345px] min-w-[345px] h-[68px] max-h-[68px]",
76
- i[t].container,
77
- x[t][d].container
76
+ i[e].container,
77
+ p[e][d].container
78
78
  ),
79
79
  children: [
80
- /* @__PURE__ */ e.jsxs(
80
+ /* @__PURE__ */ x(
81
81
  "div",
82
82
  {
83
83
  className: "flex items-center justify-start gap-2 max-h-[38px] h-[38px] overflow-hidden flex-1 ",
84
84
  children: [
85
- /* @__PURE__ */ e.jsx("div", { className: "f", style: { color: "inherit" }, children: w.createElement(c || x[t][d].icon, { size: 24, className: x[t][d].iconClass }) }),
86
- /* @__PURE__ */ e.jsxs("div", { className: "flex-1 flex flex-col gap-1", children: [
87
- /* @__PURE__ */ e.jsx("p", { className: s("select-none prometeo-fonts-label-medium md:prometeo-fonts-label-xlarge", i[t].title), children: a }),
88
- o && /* @__PURE__ */ e.jsx("p", { className: s("select-none prometeo-fonts-body-xsmall md:prometeo-fonts-body-small text-nowrap overflow-ellipsis ", i[t].description), children: o })
85
+ /* @__PURE__ */ t("div", { className: "f", style: { color: "inherit" }, children: C.createElement(c || p[e][d].icon, { size: 24, className: p[e][d].iconClass }) }),
86
+ /* @__PURE__ */ x("div", { className: "flex-1 flex flex-col gap-1", children: [
87
+ /* @__PURE__ */ t("p", { className: o("select-none prometeo-fonts-label-medium md:prometeo-fonts-label-xlarge", i[e].title), children: a }),
88
+ s && /* @__PURE__ */ t("p", { className: o("select-none prometeo-fonts-body-xsmall md:prometeo-fonts-body-small text-nowrap overflow-ellipsis ", i[e].description), children: s })
89
89
  ] })
90
90
  ]
91
91
  }
92
92
  ),
93
- r?.label && /* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: /* @__PURE__ */ e.jsx(
94
- h,
93
+ r?.label && /* @__PURE__ */ t("div", { className: "shrink-0", children: /* @__PURE__ */ t(
94
+ g,
95
95
  {
96
96
  label: r?.label,
97
97
  onClick: () => {
98
- r?.onClick(), p.dismiss(n);
98
+ r?.onClick(), m.dismiss(n);
99
99
  },
100
100
  size: "small",
101
101
  color: "secondary"
102
102
  }
103
103
  ) }),
104
- g && /* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: /* @__PURE__ */ e.jsx(
105
- h,
104
+ w && /* @__PURE__ */ t("div", { className: "shrink-0", children: /* @__PURE__ */ t(
105
+ g,
106
106
  {
107
107
  onClick: () => {
108
- p.dismiss(n);
108
+ m.dismiss(n);
109
109
  },
110
110
  label: "",
111
111
  size: "small",
112
112
  color: "secondary",
113
- icon: /* @__PURE__ */ e.jsx(C, { className: s(t === "light" ? "text-neutral-medium-focused " : "") }),
113
+ icon: /* @__PURE__ */ t(v, { className: o(e === "light" ? "text-neutral-medium-focused " : "") }),
114
114
  variant: "text",
115
115
  animate: !1,
116
- className: s(t === "light" ? "hover:bg-neutral-default-hover-light focus:bg-inherit active:bg-neutral-weak-hover " : "")
116
+ className: o(e === "light" ? "hover:bg-neutral-default-hover-light focus:bg-inherit active:bg-neutral-weak-hover " : "")
117
117
  }
118
118
  ) })
119
119
  ]
120
120
  }
121
121
  );
122
122
  };
123
- function M(l, a) {
124
- const { duration: o = 2500, showClose: r = !1, colorMode: n = "dark" } = a || {};
125
- return p.custom((c) => /* @__PURE__ */ e.jsx(
126
- v,
123
+ function E(l, a) {
124
+ const { duration: s = 2500, showClose: r = !1, colorMode: n = "dark" } = a || {};
125
+ return m.custom((c) => /* @__PURE__ */ t(
126
+ y,
127
127
  {
128
128
  id: c,
129
129
  variant: a?.variant || "success",
@@ -135,11 +135,11 @@ function M(l, a) {
135
135
  colorMode: n
136
136
  }
137
137
  ), {
138
- duration: o,
138
+ duration: s,
139
139
  unstyled: !0
140
140
  });
141
141
  }
142
142
  export {
143
- v as default,
144
- M as toastpyrion
143
+ y as default,
144
+ E as toastpyrion
145
145
  };
@@ -0,0 +1,62 @@
1
+ import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
+ import { Close as p } from "../../Icons/Icons.js";
3
+ import { AnimatePresence as b, motion as i } from "framer-motion";
4
+ import { useState as g, cloneElement as x } from "react";
5
+ const T = ({
6
+ title: r,
7
+ trigger: o,
8
+ children: c,
9
+ position: t = "top",
10
+ component: m
11
+ }) => {
12
+ const [a, l] = g(!1), u = () => l(!0), s = () => l(!1), d = o === "hover" ? {
13
+ onMouseEnter: u,
14
+ onMouseLeave: s
15
+ } : {
16
+ onClick: () => l(!a)
17
+ }, h = {
18
+ top: "bottom-full left-1/2 -translate-x-1/2 mb-2",
19
+ bottom: "top-full left-1/2 -translate-x-1/2 mt-2",
20
+ left: "right-full top-1/2 -translate-y-1/2 mr-2",
21
+ right: "left-full top-1/2 -translate-y-1/2 ml-2"
22
+ };
23
+ return /* @__PURE__ */ n("div", { className: "relative inline-block", children: [
24
+ x(c, d),
25
+ /* @__PURE__ */ e(b, { children: a && /* @__PURE__ */ e(
26
+ i.div,
27
+ {
28
+ initial: { opacity: 0, scale: 0.8, y: t === "top" ? 10 : -10 },
29
+ animate: {
30
+ opacity: 1,
31
+ scale: 1,
32
+ y: 0
33
+ },
34
+ exit: { opacity: 0, scale: 0.8, y: t === "top" ? 10 : -10 },
35
+ transition: {
36
+ duration: 0.15,
37
+ ease: "easeOut"
38
+ },
39
+ className: `absolute z-50 ${h[t]}`,
40
+ children: /* @__PURE__ */ n("div", { className: "min-w-80 max-w-80 min-h-36 h-fit text-white rounded-lg shadow-lg p-3 bg-neutral-medium-default", children: [
41
+ /* @__PURE__ */ e("h3", { className: "font-bold text-sm mb-1 text-neutral-strong-default", children: r }),
42
+ m,
43
+ o === "click" && /* @__PURE__ */ e(
44
+ i.button,
45
+ {
46
+ onClick: (f) => {
47
+ f.stopPropagation(), s();
48
+ },
49
+ className: "absolute cursor-pointer -top-2 -right-2 w-6 h-6 bg-neutral-strong-default hover:bg-neutral-medium-default rounded-full flex items-center justify-center transition-colors z-10",
50
+ whileHover: { scale: 1.1 },
51
+ whileTap: { scale: 0.95 },
52
+ children: /* @__PURE__ */ e(p, { size: 14, className: "text-white" })
53
+ }
54
+ )
55
+ ] })
56
+ }
57
+ ) })
58
+ ] });
59
+ };
60
+ export {
61
+ T as default
62
+ };
@@ -1,2 +1,3 @@
1
+ export { CardProfile as default } from '../components/CardProfile/CardProfile';
1
2
  export { CardProfile } from '../components/CardProfile/CardProfile';
2
3
  export type { ISessionLocalStorage } from '../components/CardProfile/CardProfile';
@@ -1 +1,3 @@
1
1
  export { default } from '../components/DatePicker/DatePicker';
2
+ export { default as DatePicker } from '../components/DatePicker/DatePicker';
3
+ export type { DatePickerProps } from '../components/DatePicker/DatePicker';
@@ -1 +1,3 @@
1
+ export { DropZone as default } from '../components/DropZone/DropZone';
1
2
  export { DropZone } from '../components/DropZone/DropZone';
3
+ export type { DropZoneProps } from '../components/DropZone/DropZone';
@@ -1 +1,2 @@
1
- export * from '../Icons/Icons';
1
+ export { Icons as default } from '../Icons/Icons';
2
+ export { Icons } from '../Icons/Icons';
@@ -1 +1,3 @@
1
+ export { default } from '../components/InputMultiple/InputMultiple';
1
2
  export { default as InputMultiple } from '../components/InputMultiple/InputMultiple';
3
+ export type { InputMultipleProps } from '../components/InputMultiple/InputMultiple';
@@ -1,2 +1,3 @@
1
+ export { Menu as default } from '../components/Menu/MenuComposable';
1
2
  export { Menu } from '../components/Menu/MenuComposable';
2
3
  export type { IMenuItems, IMenuRoot } from '../components/Menu/MenuComposable';
@@ -1,2 +1,3 @@
1
+ export { ProfilePictureUpload as default } from '../components/ProfilePictureUpload/ProfilePictureUpload';
1
2
  export { ProfilePictureUpload } from '../components/ProfilePictureUpload/ProfilePictureUpload';
2
3
  export type { ProfilePictureUploadProps } from '../components/ProfilePictureUpload/ProfilePictureUpload';
@@ -1 +1,3 @@
1
+ export { default } from '../components/RadioButton/RadioButton';
1
2
  export { default as RadioButton } from '../components/RadioButton/RadioButton';
3
+ export type { RadioButtonProps } from '../components/RadioButton/RadioButton';
@@ -1 +1,3 @@
1
+ export { default } from '../components/SegmentedButton/SegmentedButton';
1
2
  export { default as SegmentedButton } from '../components/SegmentedButton/SegmentedButton';
3
+ export type { SegmentedButtonProps } from '../components/SegmentedButton/SegmentedButton';
@@ -1 +1,3 @@
1
+ export { default } from '../components/Skeleton/Skeleton';
1
2
  export { default as Skeleton } from '../components/Skeleton/Skeleton';
3
+ export type { SkeletonProps } from '../components/Skeleton/Skeleton';
@@ -1,2 +1,3 @@
1
+ export { default } from '../components/Steps/Steps';
1
2
  export { default as Steps } from '../components/Steps/Steps';
2
3
  export type { Step, StepsProps } from '../components/Steps/Steps';
@@ -1 +1,3 @@
1
+ export { default } from '../components/Switch/Switch';
1
2
  export { default as Switch } from '../components/Switch/Switch';
3
+ export type { SwitchProps } from '../components/Switch/Switch';
@@ -0,0 +1,24 @@
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
+ };
@@ -161,5 +161,5 @@ function I(i) {
161
161
  }), [b, x, D, M, L, C]);
162
162
  }
163
163
  export {
164
- I as u
164
+ I as useDragScroll
165
165
  };
@@ -0,0 +1,25 @@
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
+ };