prometeo-design-system 2.8.8 → 2.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/dist/{components/Avatar/Avatar.js → Avatar.es.js} +24 -24
  2. package/dist/{components/Button/Button.js → Button.es.js} +55 -55
  3. package/dist/{components/CardProfile/CardProfile.js → CardProfile-CsytJlKZ.js} +94 -68
  4. package/dist/CardProfile.es.js +5 -0
  5. package/dist/{components/CheckBox/CheckBox.js → CheckBox.es.js} +25 -25
  6. package/dist/DatePicker.es.js +3441 -0
  7. package/dist/DialogModal.es.js +75 -0
  8. package/dist/DrawerDesktop.es.js +192 -0
  9. package/dist/DrawerMobile.es.js +242 -0
  10. package/dist/DropZone.es.js +87 -0
  11. package/dist/{components/FAB/FAButton.js → FAButton.es.js} +5 -5
  12. package/dist/Header.es.js +32 -0
  13. package/dist/HelperComponent-g_xuKWzK.js +24 -0
  14. package/dist/Icons-DtFC5DJ7.js +1079 -0
  15. package/dist/Icons.es.js +5 -0
  16. package/dist/{components/Image/Image.js → Image.es.js} +32 -32
  17. package/dist/ImageGallery-Ckxg9OIC.js +317 -0
  18. package/dist/{components/Image/useImageGallery.js → ImageGallery.es.js} +2 -0
  19. package/dist/Input-Cck37DpG.js +240 -0
  20. package/dist/Input.es.js +4 -0
  21. package/dist/InputMultiple.es.js +263 -0
  22. package/dist/LayoutGeneric-CbaoatQB.js +26 -0
  23. package/dist/LayoutGeneric.es.js +4 -0
  24. package/dist/Logo.es.js +9 -0
  25. package/dist/{components/Menu/MenuComposable.js → Menu.es.js} +13 -12
  26. package/dist/OtpInput.es.js +301 -0
  27. package/dist/{components/Pagination/Pagination.js → Pagination.es.js} +32 -32
  28. package/dist/{components/ProfilePictureUpload/ProfilePictureUpload.js → ProfilePictureUpload.es.js} +57 -56
  29. package/dist/ProgressBar.es.js +70 -0
  30. package/dist/{components/RadioButton/RadioButton.js → RadioButton.es.js} +36 -35
  31. package/dist/{components/SegmentedButton/SegmentedButton.js → SegmentedButton.es.js} +38 -37
  32. package/dist/Select-BD5FTxVw.js +1100 -0
  33. package/dist/Select.es.js +4 -0
  34. package/dist/SelectSearch.es.js +237 -0
  35. package/dist/{components/Skeleton/Skeleton.js → Skeleton.es.js} +18 -16
  36. package/dist/Spinner.es.js +52 -0
  37. package/dist/{components/Steps/Steps.js → Steps.es.js} +62 -61
  38. package/dist/{components/SwipeContainer/SwipeContainer.js → SwipeContainer.es.js} +68 -68
  39. package/dist/{components/Switch/Switch.js → Switch.es.js} +18 -17
  40. package/dist/{components/TabLinks/TabLinks.js → TabLinks.es.js} +11 -11
  41. package/dist/{components/Table/Table.js → Table.es.js} +41 -38
  42. package/dist/{components/TextArea/TextArea.js → TextArea.es.js} +26 -24
  43. package/dist/{components/Toaster/Toaster.js → Toast.es.js} +48 -48
  44. package/dist/ToastProvider.es.js +6 -0
  45. package/dist/Tooltip.es.js +62 -0
  46. package/dist/{lib/cn.js → cn-B6yFEsav.js} +2 -2
  47. package/dist/{node_modules/class-variance-authority/dist/index.js → index-BOQuZ0gG.js} +9 -10
  48. package/dist/index.d.ts +12 -16
  49. package/dist/jsx-runtime-DKDX3adD.js +281 -0
  50. package/dist/prometeo-design-system.css +1 -1
  51. package/dist/prometeo-design-system.es.js +1002 -0
  52. package/dist/{hooks/useDragScroll.js → useDragScroll-CHN9OMwn.js} +1 -1
  53. package/package.json +120 -116
  54. package/src/styles/base.css +464 -473
  55. package/dist/Avatar.js +0 -4
  56. package/dist/Button.js +0 -4
  57. package/dist/CardProfile.js +0 -5
  58. package/dist/CheckBox.js +0 -4
  59. package/dist/DatePicker.js +0 -5
  60. package/dist/DialogModal.js +0 -6
  61. package/dist/DrawerDesktop.js +0 -6
  62. package/dist/DrawerMobile.js +0 -6
  63. package/dist/DropZone.js +0 -5
  64. package/dist/FAButton.js +0 -4
  65. package/dist/Header.js +0 -4
  66. package/dist/Icons/Icons.js +0 -1055
  67. package/dist/Icons.js +0 -5
  68. package/dist/Image.js +0 -4
  69. package/dist/ImageGallery.js +0 -6
  70. package/dist/Input.js +0 -4
  71. package/dist/InputMultiple.js +0 -5
  72. package/dist/LayoutGeneric.js +0 -4
  73. package/dist/Logo.js +0 -4
  74. package/dist/Menu.js +0 -5
  75. package/dist/OtpInput.js +0 -4
  76. package/dist/Pagination.js +0 -4
  77. package/dist/ProfilePictureUpload.js +0 -5
  78. package/dist/ProgressBar.js +0 -4
  79. package/dist/RadioButton.js +0 -5
  80. package/dist/SegmentedButton.js +0 -5
  81. package/dist/Select.js +0 -4
  82. package/dist/SelectSearch.js +0 -4
  83. package/dist/Skeleton.js +0 -5
  84. package/dist/Spinner.js +0 -4
  85. package/dist/Steps.js +0 -5
  86. package/dist/SwipeContainer.js +0 -4
  87. package/dist/Switch.js +0 -5
  88. package/dist/TabLinks.js +0 -4
  89. package/dist/Table.js +0 -11
  90. package/dist/TextArea.js +0 -4
  91. package/dist/Toast.js +0 -5
  92. package/dist/ToastProvider.js +0 -4
  93. package/dist/Tooltip.js +0 -4
  94. package/dist/components/Autocomplete/useAutocomplete.js +0 -143
  95. package/dist/components/DatePicker/DatePicker.js +0 -396
  96. package/dist/components/Dialog/Dialog.js +0 -60
  97. package/dist/components/Dialog/useDialogControl.js +0 -18
  98. package/dist/components/Drawer/DrawerDesktop.js +0 -179
  99. package/dist/components/Drawer/DrawerMobile.js +0 -219
  100. package/dist/components/Drawer/useDrawerDesktop.js +0 -18
  101. package/dist/components/Drawer/useDrawerMobile.js +0 -27
  102. package/dist/components/DropZone/DropZone.js +0 -86
  103. package/dist/components/DropZone/useFileDropzone.js +0 -24
  104. package/dist/components/Header/Header.js +0 -32
  105. package/dist/components/Image/GalleryPreview.js +0 -40
  106. package/dist/components/Image/ImageGallery.js +0 -68
  107. package/dist/components/Image/LightBox.js +0 -223
  108. package/dist/components/Input/Input.js +0 -219
  109. package/dist/components/InputMultiple/InputMultiple.js +0 -262
  110. package/dist/components/Layout/LayoutGeneric.js +0 -13
  111. package/dist/components/Logo/Logo.js +0 -9
  112. package/dist/components/OtpInput/OtpInput.js +0 -112
  113. package/dist/components/ProgressBar/ProgressBar.js +0 -70
  114. package/dist/components/Select/Select.js +0 -1005
  115. package/dist/components/SelectSearch/SelectSearch.js +0 -101
  116. package/dist/components/Shared/Chip.js +0 -55
  117. package/dist/components/Shared/HelperComponent.js +0 -24
  118. package/dist/components/Sidebar/SecondaryBar/SecondaryBar.js +0 -62
  119. package/dist/components/Sidebar/SecondaryBar/hooks/useSecondaryBarAnimation.js +0 -59
  120. package/dist/components/Sidebar/SidebarComposable.js +0 -84
  121. package/dist/components/Sidebar/components/NavigationLink.js +0 -34
  122. package/dist/components/Sidebar/components/badge.js +0 -33
  123. package/dist/components/Sidebar/components/changue-account.js +0 -31
  124. package/dist/components/Sidebar/components/collapse-button.js +0 -18
  125. package/dist/components/Sidebar/components/company-logo.js +0 -12
  126. package/dist/components/Sidebar/components/nav-actions.js +0 -98
  127. package/dist/components/Sidebar/components/nav-links.js +0 -100
  128. package/dist/components/Sidebar/context/SidebarContext.js +0 -19
  129. package/dist/components/Sidebar/hooks/SidebarProvider.js +0 -33
  130. package/dist/components/Sidebar/hooks/useNavBarActions.js +0 -9
  131. package/dist/components/Sidebar/hooks/useNavBarCollapse.js +0 -11
  132. package/dist/components/Sidebar/hooks/useSidebarHook.js +0 -13
  133. package/dist/components/Sidebar/ui/useNavbarAnimation.js +0 -326
  134. package/dist/components/Spinner/Spinner.js +0 -52
  135. package/dist/components/TabSwitch/TabSwitch.js +0 -57
  136. package/dist/components/Toaster/ToastProvider.js +0 -6
  137. package/dist/components/Tooltip/Tootip.js +0 -62
  138. package/dist/hooks/useClickOutside.js +0 -24
  139. package/dist/hooks/useLabelBackground.js +0 -25
  140. package/dist/index.js +0 -127
  141. package/dist/lib/utils.js +0 -54
  142. package/dist/node_modules/@date-fns/tz/date/index.js +0 -61
  143. package/dist/node_modules/@date-fns/tz/date/mini.js +0 -69
  144. package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -11
  145. package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -22
  146. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -7
  147. package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
  148. package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -583
  149. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -59
  150. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -52
  151. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -18
  152. package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
  153. package/dist/node_modules/date-fns/_lib/normalizeInterval.js +0 -8
  154. package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -20
  155. package/dist/node_modules/date-fns/addDays.js +0 -10
  156. package/dist/node_modules/date-fns/addMonths.js +0 -20
  157. package/dist/node_modules/date-fns/addWeeks.js +0 -8
  158. package/dist/node_modules/date-fns/addYears.js +0 -8
  159. package/dist/node_modules/date-fns/constants.js +0 -6
  160. package/dist/node_modules/date-fns/constructFrom.js +0 -8
  161. package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -16
  162. package/dist/node_modules/date-fns/differenceInCalendarMonths.js +0 -13
  163. package/dist/node_modules/date-fns/eachMonthOfInterval.js +0 -17
  164. package/dist/node_modules/date-fns/eachYearOfInterval.js +0 -17
  165. package/dist/node_modules/date-fns/endOfISOWeek.js +0 -8
  166. package/dist/node_modules/date-fns/endOfMonth.js +0 -9
  167. package/dist/node_modules/date-fns/endOfWeek.js +0 -10
  168. package/dist/node_modules/date-fns/endOfYear.js +0 -9
  169. package/dist/node_modules/date-fns/format.js +0 -58
  170. package/dist/node_modules/date-fns/getDayOfYear.js +0 -11
  171. package/dist/node_modules/date-fns/getDaysInMonth.js +0 -10
  172. package/dist/node_modules/date-fns/getISOWeek.js +0 -12
  173. package/dist/node_modules/date-fns/getISOWeekYear.js +0 -15
  174. package/dist/node_modules/date-fns/getMonth.js +0 -8
  175. package/dist/node_modules/date-fns/getWeek.js +0 -12
  176. package/dist/node_modules/date-fns/getWeekYear.js +0 -16
  177. package/dist/node_modules/date-fns/getYear.js +0 -8
  178. package/dist/node_modules/date-fns/isAfter.js +0 -8
  179. package/dist/node_modules/date-fns/isBefore.js +0 -8
  180. package/dist/node_modules/date-fns/isDate.js +0 -7
  181. package/dist/node_modules/date-fns/isSameDay.js +0 -14
  182. package/dist/node_modules/date-fns/isSameMonth.js +0 -13
  183. package/dist/node_modules/date-fns/isSameYear.js +0 -13
  184. package/dist/node_modules/date-fns/isValid.js +0 -9
  185. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -9
  186. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -18
  187. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -31
  188. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -15
  189. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -70
  190. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -33
  191. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
  192. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -155
  193. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -110
  194. package/dist/node_modules/date-fns/locale/en-US.js +0 -21
  195. package/dist/node_modules/date-fns/locale/es/_lib/formatDistance.js +0 -70
  196. package/dist/node_modules/date-fns/locale/es/_lib/formatLong.js +0 -33
  197. package/dist/node_modules/date-fns/locale/es/_lib/formatRelative.js +0 -18
  198. package/dist/node_modules/date-fns/locale/es/_lib/localize.js +0 -143
  199. package/dist/node_modules/date-fns/locale/es/_lib/match.js +0 -116
  200. package/dist/node_modules/date-fns/locale/es.js +0 -21
  201. package/dist/node_modules/date-fns/max.js +0 -14
  202. package/dist/node_modules/date-fns/min.js +0 -14
  203. package/dist/node_modules/date-fns/setMonth.js +0 -13
  204. package/dist/node_modules/date-fns/setYear.js +0 -10
  205. package/dist/node_modules/date-fns/startOfDay.js +0 -9
  206. package/dist/node_modules/date-fns/startOfISOWeek.js +0 -8
  207. package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -11
  208. package/dist/node_modules/date-fns/startOfMonth.js +0 -9
  209. package/dist/node_modules/date-fns/startOfWeek.js +0 -10
  210. package/dist/node_modules/date-fns/startOfWeekYear.js +0 -12
  211. package/dist/node_modules/date-fns/startOfYear.js +0 -9
  212. package/dist/node_modules/date-fns/toDate.js +0 -8
  213. package/dist/node_modules/input-otp/dist/index.js +0 -194
  214. package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -227
  215. package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -22
  216. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -19
  217. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -8
  218. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -8
  219. package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -147
  220. package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -7
  221. package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -7
  222. package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
  223. package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -8
  224. package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -10
  225. package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -19
  226. package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -7
  227. package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -7
  228. package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -8
  229. package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -8
  230. package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -7
  231. package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -7
  232. package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -9
  233. package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -27
  234. package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -9
  235. package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -7
  236. package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -9
  237. package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -8
  238. package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -7
  239. package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -8
  240. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -8
  241. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -7
  242. package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -7
  243. package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -11
  244. package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -7
  245. package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -9
  246. package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -54
  247. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -9
  248. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -7
  249. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -7
  250. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -7
  251. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -6
  252. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -7
  253. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -9
  254. package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -18
  255. package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -19
  256. package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -42
  257. package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -9
  258. package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -7
  259. package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -7
  260. package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -10
  261. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -16
  262. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -21
  263. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -10
  264. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -16
  265. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -13
  266. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -15
  267. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -10
  268. package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -13
  269. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -13
  270. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -24
  271. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -13
  272. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -12
  273. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -12
  274. package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -12
  275. package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -13
  276. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -11
  277. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -7
  278. package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -16
  279. package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -7
  280. package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -8
  281. package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -26
  282. package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -10
  283. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -9
  284. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -8
  285. package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -6
  286. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -6
  287. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -6
  288. package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -6
  289. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -6
  290. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -6
  291. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -7
  292. package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -6
  293. package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -21
  294. package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -18
  295. package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -15
  296. package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -56
  297. package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -44
  298. package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -12
  299. package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -23
  300. package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -19
  301. package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -32
  302. package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -26
  303. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -15
  304. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -28
  305. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -9
  306. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -8
  307. package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -26
  308. package/dist/useDevice.js +0 -4
  309. /package/dist/{hooks/useDevice.js → useDevice.es.js} +0 -0
@@ -1,100 +0,0 @@
1
- import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
- import { cn as d } from "../../../lib/cn.js";
3
- import { motion as a, AnimatePresence as y } from "framer-motion";
4
- import { Badge as g } from "./badge.js";
5
- const O = ({
6
- links: m,
7
- isLinkActive: s,
8
- onLinkClick: f
9
- }) => /* @__PURE__ */ e("nav", { className: "flex flex-col gap-1", children: m?.map((p, r) => {
10
- const { isView: i = !1, viewAccess: o, path: c, title: v, icon: u, count: n, relatedPaths: x } = p, h = (typeof i == "function" ? i() : i !== !1) && (!o || o()), t = s(c) || (x?.some(
11
- (w) => s(w)
12
- ) ?? !1);
13
- return h && /* @__PURE__ */ e(
14
- a.div,
15
- {
16
- initial: { opacity: 0 },
17
- animate: { opacity: 1 },
18
- transition: {
19
- duration: 0.4,
20
- delay: r * 0.03,
21
- ease: "easeOut"
22
- },
23
- className: "relative flex justify-center w-full items-center px-3",
24
- children: /* @__PURE__ */ l(
25
- "button",
26
- {
27
- onClick: () => {
28
- f?.(c);
29
- },
30
- className: d(
31
- "nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ",
32
- "transition-all duration-300 ease-out w-full",
33
- "group hover:bg-neutral-medium-selected",
34
- t ? "text-primary-default-default bg-neutral-medium-selected" : "text-neutral-default-default"
35
- ),
36
- children: [
37
- /* @__PURE__ */ e(y, { mode: "wait", children: t && /* @__PURE__ */ e(
38
- a.div,
39
- {
40
- layoutId: "nav-active-bg",
41
- className: "absolute inset-0 bg-neutral-medium-selected rounded-lg",
42
- initial: !1,
43
- animate: { opacity: 1 },
44
- exit: { opacity: 0 },
45
- transition: {
46
- type: "tween",
47
- duration: 0.25,
48
- ease: "easeInOut"
49
- }
50
- }
51
- ) }),
52
- /* @__PURE__ */ l(
53
- a.div,
54
- {
55
- className: "nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",
56
- animate: {
57
- x: 0
58
- },
59
- transition: {
60
- duration: 0.25,
61
- ease: "easeOut"
62
- },
63
- children: [
64
- /* @__PURE__ */ l("div", { className: "flex items-center gap-3", children: [
65
- /* @__PURE__ */ e(
66
- a.div,
67
- {
68
- className: "nav-icon-wrapper flex items-center justify-center shrink-0",
69
- animate: {
70
- scale: t ? 1.05 : 1
71
- },
72
- transition: {
73
- duration: 0.25,
74
- ease: "easeOut"
75
- },
76
- children: typeof u == "function" ? u({
77
- size: 24,
78
- className: d(
79
- "nav-icon transition-colors duration-250 ease-out",
80
- t ? "text-primary-default-default" : "text-neutral-default-default group-hover:text-white-prometeo"
81
- )
82
- }) : null
83
- }
84
- ),
85
- /* @__PURE__ */ e("span", { className: "nav-label whitespace-nowrap text-sm font-semibold ", children: v })
86
- ] }),
87
- /* @__PURE__ */ e("div", { className: "badge-in-link", children: n && n ? /* @__PURE__ */ e(g, { count: n, maxCount: 9, className: "" }) : "" })
88
- ]
89
- }
90
- )
91
- ]
92
- }
93
- )
94
- },
95
- r
96
- );
97
- }) });
98
- export {
99
- O as NavbarLinks
100
- };
@@ -1,19 +0,0 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import { useRef as o, createContext as c, useContext as d } from "react";
3
- const i = c(null), l = ({ children: e }) => {
4
- const t = o(null), n = o(null), u = (r) => {
5
- r.current && t && (t.current = r.current);
6
- }, s = (r) => {
7
- r.current && n && (n.current = r.current);
8
- };
9
- return /* @__PURE__ */ a(i.Provider, { value: { primarySidebarRef: t, registerPrimarySidebar: u, tabBarRef: n, registerTabBar: s }, children: e });
10
- }, m = () => {
11
- const e = d(i);
12
- if (!e)
13
- throw new Error("useSidebarContext must be used within a SidebarProvider");
14
- return e;
15
- };
16
- export {
17
- l as SidebarProvider,
18
- m as useSidebarContext
19
- };
@@ -1,33 +0,0 @@
1
- import { jsx as S } from "react/jsx-runtime";
2
- import { useState as r, useRef as f } from "react";
3
- import { SidebarContext as p } from "./useSidebarHook.js";
4
- const x = ({
5
- children: t
6
- }) => {
7
- const [a, o] = r(!1), [s, e] = r(!1), n = f(null), l = () => {
8
- o(!1), e(!1);
9
- }, c = () => {
10
- o(!0), e(!1);
11
- }, d = {
12
- isCollapsed: a,
13
- setIsCollapsed: o,
14
- navbarRef: n,
15
- toggleCollapse: () => {
16
- a ? l() : c();
17
- },
18
- activeSecondaryBar: s ? "notifications" : null,
19
- openSecondaryBar: () => {
20
- e(!0);
21
- },
22
- closeSecondaryBar: () => {
23
- e(!1);
24
- },
25
- toggleSecondaryBar: () => {
26
- e((i) => !i);
27
- }
28
- };
29
- return /* @__PURE__ */ S(p.Provider, { value: d, children: t });
30
- };
31
- export {
32
- x as SidebarProvider
33
- };
@@ -1,9 +0,0 @@
1
- const o = ({
2
- isActiveModalNotification: t,
3
- setIsActiveModalNotification: i
4
- }) => ({ handleNotificationClick: () => {
5
- i(!0);
6
- }, isActiveModalNotification: t });
7
- export {
8
- o as useActionsNavbar
9
- };
@@ -1,11 +0,0 @@
1
- import { useRef as o } from "react";
2
- const n = (e) => {
3
- const r = o(null);
4
- return {
5
- isCollapsed: e,
6
- navbarRef: r
7
- };
8
- };
9
- export {
10
- n as useNavbarCollapse
11
- };
@@ -1,13 +0,0 @@
1
- import { createContext as e, useContext as o } from "react";
2
- const r = e(
3
- void 0
4
- ), i = () => {
5
- const t = o(r);
6
- if (!t)
7
- throw new Error("useSidebar must be used within a Sidebar.Root");
8
- return t;
9
- };
10
- export {
11
- r as SidebarContext,
12
- i as useSidebar
13
- };
@@ -1,326 +0,0 @@
1
- import { useGSAP as c } from "@gsap/react";
2
- import e from "gsap";
3
- const n = (t, o, i, r) => o && (Array.isArray(o) ? o.length > 0 : o) ? t.to(o, i, r) : t, y = (t, o, i) => {
4
- c(
5
- () => {
6
- if (!t.current) return;
7
- const r = e.timeline({
8
- defaults: { duration: 0.7, ease: "power1.out" }
9
- }), a = {
10
- navbar: t.current,
11
- navLabels: e.utils.toArray(".nav-label"),
12
- navIconWrappers: e.utils.toArray(".nav-icon-wrapper"),
13
- navIcons: e.utils.toArray(".nav-icon"),
14
- navLinkItems: e.utils.toArray(".nav-link-item"),
15
- logoutButton: document.querySelector(".logout-button"),
16
- logoutLabel: document.querySelector(".logout-label"),
17
- logoutIcon: document.querySelector(".logout-icon"),
18
- profileContainer: document.querySelector(".profile-container"),
19
- profileName: document.querySelector(".profile-name"),
20
- profileOptions: document.querySelector(".profile-options"),
21
- profileImageWrapper: document.querySelector(".profile-image-wrapper"),
22
- coverImageProfile: document.querySelector(".cover-image-profile"),
23
- navContentWrapper: document.querySelector(
24
- ".nav-content-wrapper-active"
25
- ),
26
- buttonCrevron: document.querySelector(".button-select-crevron"),
27
- separatorProfile: document.querySelector(".border-separator-profile"),
28
- buttonProfile: document.querySelector(".button-profile"),
29
- profileUserInfo: document.querySelector(".profile-user-info"),
30
- buttonContentChevron: document.querySelector(".button-content-chevron"),
31
- logo: {
32
- contenedor: document.querySelector(".container-logo"),
33
- icon: document.querySelector(".icon-logo"),
34
- text: document.querySelector(".text-logo")
35
- },
36
- sidebarHeader: document.querySelector(".sidebar-header"),
37
- containerIconcollapsade: document.querySelector(
38
- ".container-icon-collapsade"
39
- ),
40
- // Secondary bar elements
41
- secondaryBar: document.querySelector(".secondary-bar"),
42
- secondaryBarContent: e.utils.toArray(".secondary-bar *"),
43
- badgeInLink: e.utils.toArray(".badge-in-link")
44
- };
45
- o ? u(r, a) : d(r, a), a.secondaryBar && l(a.secondaryBar);
46
- },
47
- { scope: t, dependencies: [o, i] }
48
- );
49
- }, u = (t, o) => {
50
- t.to(o.navbar, {
51
- width: "5rem",
52
- duration: 0.2,
53
- ease: "bounce.out"
54
- }).to(
55
- o.logo.contenedor,
56
- {
57
- height: 48,
58
- width: 48,
59
- minWidth: 48,
60
- ease: "bounce.out"
61
- },
62
- -1
63
- ).to(
64
- o.logo.text,
65
- {
66
- opacity: 0,
67
- scale: 0.8,
68
- duration: 0.5,
69
- ease: "back.in(1.2)"
70
- },
71
- -1
72
- ).set(o.logo.text, {
73
- display: "none"
74
- }).to(
75
- o.sidebarHeader,
76
- {
77
- justifyContent: "center",
78
- display: "flex"
79
- },
80
- -1
81
- ).to(o.logo.icon, {
82
- keyframes: {
83
- "0%": { scale: 1 },
84
- "33%": { scale: 1.5 },
85
- "66%": { scale: 0.5 },
86
- "100%": { scale: 1 }
87
- },
88
- duration: 0.6,
89
- ease: "power1.inOut"
90
- }).to(
91
- o.navLinkItems,
92
- {
93
- justifyContent: "center",
94
- alignItems: "center",
95
- width: "3rem",
96
- height: "3rem",
97
- display: "flex"
98
- },
99
- -1
100
- ).to(
101
- o.navLabels,
102
- {
103
- opacity: 0,
104
- width: 30,
105
- marginLeft: 0
106
- },
107
- 0
108
- ).to(o.navIcons, { scale: 0.95, ease: "elastic.out(1, 0.3)" }, 0), n(
109
- t,
110
- o.buttonCrevron,
111
- {
112
- width: 0,
113
- opacity: 0,
114
- duration: 0.7,
115
- ease: "power1.out",
116
- onComplete: () => {
117
- o.buttonCrevron.style.display = "none";
118
- }
119
- },
120
- 0
121
- ), n(
122
- t,
123
- o.buttonContentChevron,
124
- {
125
- display: "none"
126
- },
127
- -1
128
- ).to(
129
- o.separatorProfile,
130
- {
131
- display: "none"
132
- },
133
- -1
134
- ).to(
135
- o.profileUserInfo,
136
- {
137
- display: "none"
138
- },
139
- -1
140
- ).to(
141
- o.navLinkItems,
142
- {
143
- borderRadius: "8px",
144
- duration: 0.7,
145
- ease: "power1.out"
146
- },
147
- 0.8
148
- ).to(
149
- o.profileImageWrapper,
150
- {
151
- width: 52,
152
- height: 52,
153
- marginLeft: 0,
154
- marginRight: 0
155
- },
156
- -1
157
- ).to(
158
- o.buttonProfile,
159
- {
160
- height: 44,
161
- width: 58,
162
- margin: 0,
163
- padding: 0,
164
- borderRadius: "60px",
165
- duration: 0.3,
166
- ease: "power2.out",
167
- display: "flex",
168
- justifyContent: "center",
169
- alignItems: "center"
170
- },
171
- -1
172
- ).to(
173
- o.containerIconcollapsade,
174
- {
175
- justifyContent: "center",
176
- marginRight: 0
177
- },
178
- "=-1"
179
- ).to(
180
- o.badgeInLink,
181
- {
182
- position: "absolute",
183
- right: 1,
184
- top: -7
185
- },
186
- -1
187
- );
188
- }, d = (t, o) => {
189
- t.to(o.navbar, { width: "20rem" }, -1).to(
190
- o.navLinkItems,
191
- {
192
- borderRadius: "10px",
193
- duration: 0.3,
194
- width: "100%",
195
- justifyContent: "flex-start"
196
- },
197
- -1
198
- ), n(
199
- t,
200
- o.buttonCrevron,
201
- {
202
- width: "auto",
203
- opacity: 1,
204
- duration: 0,
205
- ease: "power1.out",
206
- onComplete: () => {
207
- o.buttonCrevron.style.display = "flex";
208
- }
209
- },
210
- 0
211
- ), n(
212
- t,
213
- o.buttonContentChevron,
214
- {
215
- display: "flex"
216
- },
217
- 0
218
- ).to(
219
- o.logo.contenedor,
220
- {
221
- width: 185,
222
- height: 48,
223
- minWidth: 185
224
- },
225
- -1
226
- ).set(
227
- o.logo.text,
228
- {
229
- display: "flex"
230
- },
231
- -1
232
- ).to(o.logo.text, {
233
- opacity: 1,
234
- duration: 0,
235
- ease: "back.in(1)"
236
- }).to(o.logo.icon, {
237
- keyframes: {
238
- "0%": { scale: 1 },
239
- "33%": { scale: 1.5 },
240
- "66%": { scale: 0.5 },
241
- "100%": { scale: 1 }
242
- },
243
- duration: 0.3,
244
- ease: "power1.inOut"
245
- }).to(
246
- o.sidebarHeader,
247
- {
248
- justifyContent: "start",
249
- display: "flex"
250
- },
251
- -1
252
- ).to(
253
- o.profileImageWrapper,
254
- {
255
- marginRight: 0,
256
- duration: 0.2,
257
- ease: "bounce.out"
258
- },
259
- -1
260
- ).to(
261
- o.containerIconcollapsade,
262
- {
263
- justifyContent: "end",
264
- marginRight: 20
265
- },
266
- -1
267
- ).to(
268
- o.separatorProfile,
269
- {
270
- display: "flex"
271
- },
272
- 0
273
- ).to(
274
- o.badgeInLink,
275
- {
276
- position: "static",
277
- right: "auto",
278
- top: "auto",
279
- display: "flex",
280
- justifyContent: "end",
281
- alignItems: "center"
282
- },
283
- -1
284
- ).to(
285
- o.buttonProfile,
286
- {
287
- borderTopLeftRadius: "0.375rem",
288
- borderBottomLeftRadius: "0.375rem",
289
- borderTopRightRadius: "0",
290
- borderBottomRightRadius: "0",
291
- duration: 0
292
- },
293
- -1
294
- ).to(
295
- o.separatorProfile,
296
- {
297
- display: "flex"
298
- },
299
- 0
300
- ).to(
301
- o.navLabels,
302
- {
303
- opacity: 1,
304
- width: "auto",
305
- scaleX: 1
306
- },
307
- 0
308
- ).to(
309
- o.profileUserInfo,
310
- {
311
- display: "flex",
312
- ease: "fade.in"
313
- },
314
- 0
315
- ).to(o.navIcons, { scale: 1 }, 0.3);
316
- }, l = (t, o) => {
317
- e.to(t, {
318
- x: "-100%",
319
- opacity: 0,
320
- duration: 0.3,
321
- ease: "power2.in"
322
- });
323
- };
324
- export {
325
- y as useNavbarAnimations
326
- };
@@ -1,52 +0,0 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { ClipLoader as d, SyncLoader as l, HashLoader as m, GridLoader as p, DotLoader as f, BounceLoader as L } from "react-spinners";
3
- import { cn as S } from "../../lib/cn.js";
4
- const w = ({
5
- variant: t = "sync",
6
- color: s = "#3B82F6",
7
- loading: o = !0,
8
- size: n = "medium",
9
- className: c = "",
10
- speedMultiplier: i = 1
11
- }) => {
12
- const a = (() => {
13
- if (typeof n == "number") return n;
14
- switch (n) {
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: s,
26
- loading: o,
27
- size: a,
28
- speedMultiplier: i,
29
- "aria-label": "Loading Spinner",
30
- "data-testid": "spinner"
31
- }, u = S("inline-block", c);
32
- return /* @__PURE__ */ e("div", { className: u, children: (() => {
33
- switch (t) {
34
- case "bounce":
35
- return /* @__PURE__ */ e(L, { ...r });
36
- case "dot":
37
- return /* @__PURE__ */ e(f, { ...r });
38
- case "grid":
39
- return /* @__PURE__ */ e(p, { ...r, size: a * 0.4 });
40
- case "hash":
41
- return /* @__PURE__ */ e(m, { ...r });
42
- case "sync":
43
- return /* @__PURE__ */ e(l, { ...r, size: a * 0.4 });
44
- case "clip":
45
- default:
46
- return /* @__PURE__ */ e(d, { ...r });
47
- }
48
- })() });
49
- };
50
- export {
51
- w as default
52
- };
@@ -1,57 +0,0 @@
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,6 +0,0 @@
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,62 +0,0 @@
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
- };