prometeo-design-system 3.1.3 → 3.1.5

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 (430) hide show
  1. package/package.json +25 -5
  2. package/src/styles/base.css +25 -0
  3. package/src/styles/palette.css +3 -0
  4. package/dist/Avatar.d.ts +0 -4
  5. package/dist/Avatar.es.js +0 -88
  6. package/dist/Button.d.ts +0 -6
  7. package/dist/Button.es.js +0 -400
  8. package/dist/CardProfile-BVO6fKr9.js +0 -280
  9. package/dist/CardProfile.d.ts +0 -6
  10. package/dist/CardProfile.es.js +0 -5
  11. package/dist/CheckBox.d.ts +0 -6
  12. package/dist/CheckBox.es.js +0 -112
  13. package/dist/DatePicker-D1EwMGIN.js +0 -3568
  14. package/dist/DatePicker.d.ts +0 -6
  15. package/dist/DatePicker.es.js +0 -5
  16. package/dist/DialogModal.d.ts +0 -6
  17. package/dist/DialogModal.es.js +0 -75
  18. package/dist/DrawerDesktop.d.ts +0 -6
  19. package/dist/DrawerDesktop.es.js +0 -211
  20. package/dist/DrawerMobile.d.ts +0 -6
  21. package/dist/DrawerMobile.es.js +0 -243
  22. package/dist/DropZone.d.ts +0 -6
  23. package/dist/DropZone.es.js +0 -88
  24. package/dist/FAButton.d.ts +0 -4
  25. package/dist/FAButton.es.js +0 -111
  26. package/dist/Header.d.ts +0 -6
  27. package/dist/Header.es.js +0 -32
  28. package/dist/HelperComponent-DhGU_ug-.js +0 -26
  29. package/dist/Icons/AccountCircle.d.ts +0 -6
  30. package/dist/Icons/AccountCircle.es.js +0 -21
  31. package/dist/Icons/Add.d.ts +0 -6
  32. package/dist/Icons/Add.es.js +0 -19
  33. package/dist/Icons/ArrowLeft.d.ts +0 -6
  34. package/dist/Icons/ArrowLeft.es.js +0 -19
  35. package/dist/Icons/ArrowUpDown.d.ts +0 -6
  36. package/dist/Icons/ArrowUpDown.es.js +0 -21
  37. package/dist/Icons/AttachFile.d.ts +0 -6
  38. package/dist/Icons/AttachFile.es.js +0 -19
  39. package/dist/Icons/Boards.d.ts +0 -6
  40. package/dist/Icons/Boards.es.js +0 -19
  41. package/dist/Icons/Calendar.d.ts +0 -6
  42. package/dist/Icons/Calendar.es.js +0 -19
  43. package/dist/Icons/Cancel.d.ts +0 -6
  44. package/dist/Icons/Cancel.es.js +0 -19
  45. package/dist/Icons/Check.d.ts +0 -6
  46. package/dist/Icons/Check.es.js +0 -19
  47. package/dist/Icons/CheckCircle.d.ts +0 -6
  48. package/dist/Icons/CheckCircle.es.js +0 -21
  49. package/dist/Icons/CheckList.d.ts +0 -6
  50. package/dist/Icons/CheckList.es.js +0 -25
  51. package/dist/Icons/ChevronDown.d.ts +0 -6
  52. package/dist/Icons/ChevronDown.es.js +0 -21
  53. package/dist/Icons/Clock.d.ts +0 -6
  54. package/dist/Icons/Clock.es.js +0 -19
  55. package/dist/Icons/Close.d.ts +0 -6
  56. package/dist/Icons/Close.es.js +0 -19
  57. package/dist/Icons/CloseNavBarDesktop.d.ts +0 -6
  58. package/dist/Icons/CloseNavBarDesktop.es.js +0 -36
  59. package/dist/Icons/Collapse.d.ts +0 -6
  60. package/dist/Icons/Collapse.es.js +0 -19
  61. package/dist/Icons/Company.d.ts +0 -6
  62. package/dist/Icons/Company.es.js +0 -25
  63. package/dist/Icons/Copy.d.ts +0 -6
  64. package/dist/Icons/Copy.es.js +0 -19
  65. package/dist/Icons/CrevronLeft.d.ts +0 -6
  66. package/dist/Icons/CrevronLeft.es.js +0 -21
  67. package/dist/Icons/CrevronRight.d.ts +0 -6
  68. package/dist/Icons/CrevronRight.es.js +0 -21
  69. package/dist/Icons/DocumentFill.d.ts +0 -6
  70. package/dist/Icons/DocumentFill.es.js +0 -27
  71. package/dist/Icons/Download.d.ts +0 -6
  72. package/dist/Icons/Download.es.js +0 -25
  73. package/dist/Icons/Edit.d.ts +0 -6
  74. package/dist/Icons/Edit.es.js +0 -19
  75. package/dist/Icons/EditFill.d.ts +0 -6
  76. package/dist/Icons/EditFill.es.js +0 -25
  77. package/dist/Icons/Email.d.ts +0 -6
  78. package/dist/Icons/Email.es.js +0 -25
  79. package/dist/Icons/Error.d.ts +0 -6
  80. package/dist/Icons/Error.es.js +0 -19
  81. package/dist/Icons/EyeVisibility.d.ts +0 -6
  82. package/dist/Icons/EyeVisibility.es.js +0 -21
  83. package/dist/Icons/EyeVisibilityOff.d.ts +0 -6
  84. package/dist/Icons/EyeVisibilityOff.es.js +0 -21
  85. package/dist/Icons/FaLock.d.ts +0 -6
  86. package/dist/Icons/FaLock.es.js +0 -19
  87. package/dist/Icons/FastForward.d.ts +0 -6
  88. package/dist/Icons/FastForward.es.js +0 -27
  89. package/dist/Icons/File.d.ts +0 -6
  90. package/dist/Icons/File.es.js +0 -25
  91. package/dist/Icons/Filter.d.ts +0 -6
  92. package/dist/Icons/Filter.es.js +0 -19
  93. package/dist/Icons/FormatColorText.d.ts +0 -6
  94. package/dist/Icons/FormatColorText.es.js +0 -26
  95. package/dist/Icons/Help.d.ts +0 -6
  96. package/dist/Icons/Help.es.js +0 -19
  97. package/dist/Icons/HistoryActivity.d.ts +0 -6
  98. package/dist/Icons/HistoryActivity.es.js +0 -21
  99. package/dist/Icons/Home.d.ts +0 -6
  100. package/dist/Icons/Home.es.js +0 -19
  101. package/dist/Icons/Image.d.ts +0 -6
  102. package/dist/Icons/Image.es.js +0 -25
  103. package/dist/Icons/Info.d.ts +0 -6
  104. package/dist/Icons/Info.es.js +0 -19
  105. package/dist/Icons/Logout.d.ts +0 -6
  106. package/dist/Icons/Logout.es.js +0 -19
  107. package/dist/Icons/MessageSquare.d.ts +0 -6
  108. package/dist/Icons/MessageSquare.es.js +0 -21
  109. package/dist/Icons/MessageSquareFill.d.ts +0 -6
  110. package/dist/Icons/MessageSquareFill.es.js +0 -27
  111. package/dist/Icons/MoreVert.d.ts +0 -6
  112. package/dist/Icons/MoreVert.es.js +0 -19
  113. package/dist/Icons/Notifications.d.ts +0 -6
  114. package/dist/Icons/Notifications.es.js +0 -21
  115. package/dist/Icons/Pause.d.ts +0 -6
  116. package/dist/Icons/Pause.es.js +0 -19
  117. package/dist/Icons/Reload.d.ts +0 -6
  118. package/dist/Icons/Reload.es.js +0 -25
  119. package/dist/Icons/Search.d.ts +0 -6
  120. package/dist/Icons/Search.es.js +0 -19
  121. package/dist/Icons/Settings.d.ts +0 -6
  122. package/dist/Icons/Settings.es.js +0 -19
  123. package/dist/Icons/Shared.d.ts +0 -6
  124. package/dist/Icons/Shared.es.js +0 -19
  125. package/dist/Icons/Sort.d.ts +0 -6
  126. package/dist/Icons/Sort.es.js +0 -19
  127. package/dist/Icons/Stars.d.ts +0 -6
  128. package/dist/Icons/Stars.es.js +0 -19
  129. package/dist/Icons/Ticket.d.ts +0 -6
  130. package/dist/Icons/Ticket.es.js +0 -19
  131. package/dist/Icons/TicketFilled.d.ts +0 -6
  132. package/dist/Icons/TicketFilled.es.js +0 -21
  133. package/dist/Icons/Trash.d.ts +0 -6
  134. package/dist/Icons/Trash.es.js +0 -19
  135. package/dist/Icons/TrashFill.d.ts +0 -6
  136. package/dist/Icons/TrashFill.es.js +0 -25
  137. package/dist/Icons/Upload.d.ts +0 -6
  138. package/dist/Icons/Upload.es.js +0 -19
  139. package/dist/Icons/UploadCloud.d.ts +0 -6
  140. package/dist/Icons/UploadCloud.es.js +0 -21
  141. package/dist/Icons/UserAdd.d.ts +0 -6
  142. package/dist/Icons/UserAdd.es.js +0 -19
  143. package/dist/Icons/UserAddFill.d.ts +0 -6
  144. package/dist/Icons/UserAddFill.es.js +0 -27
  145. package/dist/Icons/UserPerson.d.ts +0 -6
  146. package/dist/Icons/UserPerson.es.js +0 -19
  147. package/dist/Icons/WhatsApp.d.ts +0 -6
  148. package/dist/Icons/WhatsApp.es.js +0 -76
  149. package/dist/Icons/components/AccountCircle.d.ts +0 -4
  150. package/dist/Icons/components/Add.d.ts +0 -4
  151. package/dist/Icons/components/ArrowLeft.d.ts +0 -4
  152. package/dist/Icons/components/ArrowUpDown.d.ts +0 -4
  153. package/dist/Icons/components/AttachFile.d.ts +0 -4
  154. package/dist/Icons/components/Boards.d.ts +0 -4
  155. package/dist/Icons/components/Calendar.d.ts +0 -4
  156. package/dist/Icons/components/Cancel.d.ts +0 -4
  157. package/dist/Icons/components/Check.d.ts +0 -4
  158. package/dist/Icons/components/CheckCircle.d.ts +0 -4
  159. package/dist/Icons/components/CheckList.d.ts +0 -4
  160. package/dist/Icons/components/ChevronDown.d.ts +0 -4
  161. package/dist/Icons/components/Clock.d.ts +0 -4
  162. package/dist/Icons/components/Close.d.ts +0 -4
  163. package/dist/Icons/components/CloseNavBarDesktop.d.ts +0 -4
  164. package/dist/Icons/components/Collapse.d.ts +0 -4
  165. package/dist/Icons/components/Company.d.ts +0 -4
  166. package/dist/Icons/components/Copy.d.ts +0 -4
  167. package/dist/Icons/components/CrevronLeft.d.ts +0 -4
  168. package/dist/Icons/components/CrevronRight.d.ts +0 -4
  169. package/dist/Icons/components/DocumentFill.d.ts +0 -4
  170. package/dist/Icons/components/Download.d.ts +0 -4
  171. package/dist/Icons/components/Edit.d.ts +0 -4
  172. package/dist/Icons/components/EditFill.d.ts +0 -4
  173. package/dist/Icons/components/Email.d.ts +0 -4
  174. package/dist/Icons/components/Error.d.ts +0 -4
  175. package/dist/Icons/components/EyeVisibility.d.ts +0 -4
  176. package/dist/Icons/components/EyeVisibilityOff.d.ts +0 -4
  177. package/dist/Icons/components/FaLock.d.ts +0 -4
  178. package/dist/Icons/components/FastForward.d.ts +0 -4
  179. package/dist/Icons/components/File.d.ts +0 -4
  180. package/dist/Icons/components/Filter.d.ts +0 -4
  181. package/dist/Icons/components/FormatColorText.d.ts +0 -4
  182. package/dist/Icons/components/Help.d.ts +0 -4
  183. package/dist/Icons/components/HistoryActivity.d.ts +0 -4
  184. package/dist/Icons/components/Home.d.ts +0 -4
  185. package/dist/Icons/components/Image.d.ts +0 -4
  186. package/dist/Icons/components/Info.d.ts +0 -4
  187. package/dist/Icons/components/Logout.d.ts +0 -4
  188. package/dist/Icons/components/MessageSquare.d.ts +0 -4
  189. package/dist/Icons/components/MessageSquareFill.d.ts +0 -4
  190. package/dist/Icons/components/MoreVert.d.ts +0 -4
  191. package/dist/Icons/components/Notifications.d.ts +0 -4
  192. package/dist/Icons/components/Pause.d.ts +0 -4
  193. package/dist/Icons/components/Reload.d.ts +0 -4
  194. package/dist/Icons/components/Search.d.ts +0 -4
  195. package/dist/Icons/components/Settings.d.ts +0 -4
  196. package/dist/Icons/components/Shared.d.ts +0 -4
  197. package/dist/Icons/components/Sort.d.ts +0 -4
  198. package/dist/Icons/components/Stars.d.ts +0 -4
  199. package/dist/Icons/components/Ticket.d.ts +0 -4
  200. package/dist/Icons/components/TicketFilled.d.ts +0 -4
  201. package/dist/Icons/components/Trash.d.ts +0 -4
  202. package/dist/Icons/components/TrashFill.d.ts +0 -4
  203. package/dist/Icons/components/Upload.d.ts +0 -4
  204. package/dist/Icons/components/UploadCloud.d.ts +0 -4
  205. package/dist/Icons/components/UserAdd.d.ts +0 -4
  206. package/dist/Icons/components/UserAddFill.d.ts +0 -4
  207. package/dist/Icons/components/UserPerson.d.ts +0 -4
  208. package/dist/Icons/components/WhatsApp.d.ts +0 -4
  209. package/dist/Icons/iconUtils.d.ts +0 -7
  210. package/dist/Icons/index.d.ts +0 -62
  211. package/dist/Icons/types.d.ts +0 -124
  212. package/dist/Icons.d.ts +0 -2
  213. package/dist/Icons.es.js +0 -122
  214. package/dist/Image.d.ts +0 -4
  215. package/dist/Image.es.js +0 -91
  216. package/dist/ImageGallery-4DdXqwRy.js +0 -319
  217. package/dist/ImageGallery.d.ts +0 -6
  218. package/dist/ImageGallery.es.js +0 -23
  219. package/dist/Input-EkMrxcNX.js +0 -241
  220. package/dist/Input.d.ts +0 -6
  221. package/dist/Input.es.js +0 -4
  222. package/dist/InputMultiple.d.ts +0 -6
  223. package/dist/InputMultiple.es.js +0 -265
  224. package/dist/LayoutGeneric-CbaoatQB.js +0 -26
  225. package/dist/LayoutGeneric.d.ts +0 -6
  226. package/dist/LayoutGeneric.es.js +0 -4
  227. package/dist/Logo.d.ts +0 -4
  228. package/dist/Logo.es.js +0 -9
  229. package/dist/Menu.d.ts +0 -6
  230. package/dist/Menu.es.js +0 -77
  231. package/dist/OtpInput.d.ts +0 -6
  232. package/dist/OtpInput.es.js +0 -302
  233. package/dist/Pagination.d.ts +0 -6
  234. package/dist/Pagination.es.js +0 -97
  235. package/dist/ProfilePictureUpload.d.ts +0 -6
  236. package/dist/ProfilePictureUpload.es.js +0 -189
  237. package/dist/ProgressBar.d.ts +0 -6
  238. package/dist/ProgressBar.es.js +0 -70
  239. package/dist/RadioButton.d.ts +0 -6
  240. package/dist/RadioButton.es.js +0 -78
  241. package/dist/RecurrentDatePicker.d.ts +0 -2
  242. package/dist/RecurrentDatePicker.es.js +0 -694
  243. package/dist/RecurrentDatePickerRRule.d.ts +0 -2
  244. package/dist/RecurrentDatePickerRRule.es.js +0 -1684
  245. package/dist/SegmentedButton.d.ts +0 -6
  246. package/dist/SegmentedButton.es.js +0 -185
  247. package/dist/Select-Bq1fVlwM.js +0 -1110
  248. package/dist/Select.d.ts +0 -6
  249. package/dist/Select.es.js +0 -4
  250. package/dist/SelectSearch.d.ts +0 -6
  251. package/dist/SelectSearch.es.js +0 -283
  252. package/dist/Skeleton.d.ts +0 -6
  253. package/dist/Skeleton.es.js +0 -74
  254. package/dist/Spinner.d.ts +0 -6
  255. package/dist/Spinner.es.js +0 -178
  256. package/dist/Steps.d.ts +0 -6
  257. package/dist/Steps.es.js +0 -214
  258. package/dist/SwipeContainer.d.ts +0 -4
  259. package/dist/SwipeContainer.es.js +0 -185
  260. package/dist/Switch.d.ts +0 -6
  261. package/dist/Switch.es.js +0 -97
  262. package/dist/TabLinks.d.ts +0 -4
  263. package/dist/TabLinks.es.js +0 -94
  264. package/dist/Table.d.ts +0 -2
  265. package/dist/Table.es.js +0 -121
  266. package/dist/TextArea.d.ts +0 -4
  267. package/dist/TextArea.es.js +0 -66
  268. package/dist/Toast.d.ts +0 -6
  269. package/dist/Toast.es.js +0 -150
  270. package/dist/ToastProvider.d.ts +0 -6
  271. package/dist/ToastProvider.es.js +0 -6
  272. package/dist/Tooltip.d.ts +0 -6
  273. package/dist/Tooltip.es.js +0 -62
  274. package/dist/assets/psmlogo.png +0 -0
  275. package/dist/cn-B6yFEsav.js +0 -8
  276. package/dist/components/Autocomplete/Autocomplete.d.ts +0 -20
  277. package/dist/components/Autocomplete/useAutocomplete.d.ts +0 -43
  278. package/dist/components/Avatar/Avatar.d.ts +0 -11
  279. package/dist/components/Avatar/index.d.ts +0 -1
  280. package/dist/components/Button/Button.d.ts +0 -23
  281. package/dist/components/Button/index.d.ts +0 -2
  282. package/dist/components/Card/Card.d.ts +0 -12
  283. package/dist/components/CardProfile/CardProfile.d.ts +0 -55
  284. package/dist/components/CheckBox/CheckBox.d.ts +0 -11
  285. package/dist/components/DatePicker/DatePicker.d.ts +0 -82
  286. package/dist/components/Dialog/Dialog.d.ts +0 -35
  287. package/dist/components/Dialog/DialogV2.d.ts +0 -35
  288. package/dist/components/Dialog/useDialogControl.d.ts +0 -8
  289. package/dist/components/Drawer/DrawerDesktop.d.ts +0 -20
  290. package/dist/components/Drawer/DrawerMobile.d.ts +0 -24
  291. package/dist/components/Drawer/useDrawerDesktop.d.ts +0 -8
  292. package/dist/components/Drawer/useDrawerMobile.d.ts +0 -8
  293. package/dist/components/DropZone/DropZone.d.ts +0 -16
  294. package/dist/components/DropZone/DropzoneCompossable.d.ts +0 -54
  295. package/dist/components/DropZone/useFileDropzone.d.ts +0 -21
  296. package/dist/components/FAB/FAButton.d.ts +0 -21
  297. package/dist/components/FileCard/FileCard.d.ts +0 -52
  298. package/dist/components/Header/Header.d.ts +0 -11
  299. package/dist/components/Image/GalleryPreview.d.ts +0 -8
  300. package/dist/components/Image/Image.d.ts +0 -23
  301. package/dist/components/Image/ImageGallery.d.ts +0 -18
  302. package/dist/components/Image/LightBox.d.ts +0 -14
  303. package/dist/components/Image/index.d.ts +0 -5
  304. package/dist/components/Image/useImageGallery.d.ts +0 -10
  305. package/dist/components/Input/Input.d.ts +0 -34
  306. package/dist/components/InputMultiple/InputMultiple.d.ts +0 -25
  307. package/dist/components/Layout/LayoutGeneric.d.ts +0 -6
  308. package/dist/components/Logo/Logo.d.ts +0 -2
  309. package/dist/components/Menu/MenuComposable.d.ts +0 -15
  310. package/dist/components/NavigationDrawer/NavItemSecondary.d.ts +0 -10
  311. package/dist/components/NavigationDrawer/NavigationDrawer.d.ts +0 -33
  312. package/dist/components/NavigationDrawer/NavigationDrawerActionItem.d.ts +0 -14
  313. package/dist/components/NavigationDrawer/NavigationDrawerActions.d.ts +0 -9
  314. package/dist/components/NavigationDrawer/NavigationDrawerItemBase.d.ts +0 -17
  315. package/dist/components/NavigationDrawer/NavigationDrawerLinkItem.d.ts +0 -29
  316. package/dist/components/NavigationDrawer/NavigationDrawerNavlinks.d.ts +0 -11
  317. package/dist/components/NavigationDrawer/index.d.ts +0 -2
  318. package/dist/components/OtpInput/OtpInput.d.ts +0 -30
  319. package/dist/components/Pagination/Pagination.d.ts +0 -6
  320. package/dist/components/ProfilePictureUpload/ProfilePictureUpload.d.ts +0 -19
  321. package/dist/components/ProgressBar/ProgressBar.d.ts +0 -18
  322. package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawer.d.ts +0 -51
  323. package/dist/components/RadioButton/RadioButton.d.ts +0 -14
  324. package/dist/components/RecurrentDatePicker/CustomFrequencySettings.d.ts +0 -40
  325. package/dist/components/RecurrentDatePicker/FrequencySettings.d.ts +0 -13
  326. package/dist/components/RecurrentDatePicker/MonthlyFrequencySettings.d.ts +0 -35
  327. package/dist/components/RecurrentDatePicker/PreviewCalendar.d.ts +0 -5
  328. package/dist/components/RecurrentDatePicker/RecurrentDatePicker.d.ts +0 -39
  329. package/dist/components/RecurrentDatePicker/RecurrentDatePickerRRule.d.ts +0 -13
  330. package/dist/components/RecurrentDatePicker/WeekdaysSelector.d.ts +0 -13
  331. package/dist/components/RecurrentDatePicker/WeeklyFrequencySetting.d.ts +0 -9
  332. package/dist/components/RecurrentDatePicker/YearlyFrequencySettings.d.ts +0 -21
  333. package/dist/components/RecurrentDatePicker/recurrentDatePicker.validations.d.ts +0 -69
  334. package/dist/components/Scrollable/Scrollable.d.ts +0 -25
  335. package/dist/components/SegmentedButton/SegmentedButton.d.ts +0 -20
  336. package/dist/components/Select/Select.d.ts +0 -123
  337. package/dist/components/SelectSearch/SelectSearch.d.ts +0 -40
  338. package/dist/components/Shared/Chip.d.ts +0 -15
  339. package/dist/components/Shared/HelperComponent.d.ts +0 -13
  340. package/dist/components/Sidebar/SecondaryBar/SecondaryBar.d.ts +0 -32
  341. package/dist/components/Sidebar/SecondaryBar/hooks/useSecondaryBarAnimation.d.ts +0 -2
  342. package/dist/components/Sidebar/SecondaryBar/index.d.ts +0 -1
  343. package/dist/components/Sidebar/SidebarComposable.d.ts +0 -43
  344. package/dist/components/Sidebar/components/NavigationLink.d.ts +0 -11
  345. package/dist/components/Sidebar/components/badge.d.ts +0 -9
  346. package/dist/components/Sidebar/components/changue-account.d.ts +0 -5
  347. package/dist/components/Sidebar/components/collapse-button.d.ts +0 -5
  348. package/dist/components/Sidebar/components/company-logo.d.ts +0 -5
  349. package/dist/components/Sidebar/components/nav-actions.d.ts +0 -7
  350. package/dist/components/Sidebar/components/nav-links.d.ts +0 -7
  351. package/dist/components/Sidebar/context/SidebarContext.d.ts +0 -13
  352. package/dist/components/Sidebar/hooks/SidebarProvider.d.ts +0 -3
  353. package/dist/components/Sidebar/hooks/useNavBarActions.d.ts +0 -9
  354. package/dist/components/Sidebar/hooks/useNavBarCollapse.d.ts +0 -4
  355. package/dist/components/Sidebar/hooks/useNavLinks.d.ts +0 -32
  356. package/dist/components/Sidebar/hooks/useSidebarHook.d.ts +0 -13
  357. package/dist/components/Sidebar/index.d.ts +0 -12
  358. package/dist/components/Sidebar/ui/useNavbarAnimation.d.ts +0 -2
  359. package/dist/components/Skeleton/Skeleton.d.ts +0 -13
  360. package/dist/components/Spinner/Spinner.d.ts +0 -12
  361. package/dist/components/Steps/Steps.d.ts +0 -21
  362. package/dist/components/SwipeContainer/SwipeContainer.d.ts +0 -19
  363. package/dist/components/Switch/Switch.d.ts +0 -11
  364. package/dist/components/TabLinks/TabLinks.d.ts +0 -23
  365. package/dist/components/TabSwitch/TabSwitch.d.ts +0 -16
  366. package/dist/components/Table/Table.d.ts +0 -14
  367. package/dist/components/Table/TableWithPagination.d.ts +0 -11
  368. package/dist/components/TextArea/TextArea.d.ts +0 -15
  369. package/dist/components/Toaster/ToastProvider.d.ts +0 -5
  370. package/dist/components/Toaster/Toaster.d.ts +0 -36
  371. package/dist/components/Tooltip/Tootip.d.ts +0 -10
  372. package/dist/exports/Autocomplete.d.ts +0 -1
  373. package/dist/exports/Avatar.d.ts +0 -1
  374. package/dist/exports/Button.d.ts +0 -2
  375. package/dist/exports/CardProfile.d.ts +0 -3
  376. package/dist/exports/CheckBox.d.ts +0 -2
  377. package/dist/exports/DatePicker.d.ts +0 -3
  378. package/dist/exports/DialogModal.d.ts +0 -2
  379. package/dist/exports/DrawerDesktop.d.ts +0 -4
  380. package/dist/exports/DrawerMobile.d.ts +0 -4
  381. package/dist/exports/DropZone.d.ts +0 -3
  382. package/dist/exports/FAButton.d.ts +0 -1
  383. package/dist/exports/Header.d.ts +0 -2
  384. package/dist/exports/Icons.d.ts +0 -1
  385. package/dist/exports/Image.d.ts +0 -1
  386. package/dist/exports/ImageGallery.d.ts +0 -2
  387. package/dist/exports/Input.d.ts +0 -2
  388. package/dist/exports/InputMultiple.d.ts +0 -3
  389. package/dist/exports/LayoutGeneric.d.ts +0 -2
  390. package/dist/exports/Logo.d.ts +0 -1
  391. package/dist/exports/Menu.d.ts +0 -3
  392. package/dist/exports/OtpInput.d.ts +0 -2
  393. package/dist/exports/Pagination.d.ts +0 -2
  394. package/dist/exports/ProfilePictureUpload.d.ts +0 -3
  395. package/dist/exports/ProgressBar.d.ts +0 -2
  396. package/dist/exports/RadioButton.d.ts +0 -3
  397. package/dist/exports/RecurrentDatePicker.d.ts +0 -5
  398. package/dist/exports/RecurrentDatePickerRRule.d.ts +0 -2
  399. package/dist/exports/SegmentedButton.d.ts +0 -3
  400. package/dist/exports/Select.d.ts +0 -5
  401. package/dist/exports/SelectSearch.d.ts +0 -3
  402. package/dist/exports/Skeleton.d.ts +0 -3
  403. package/dist/exports/Spinner.d.ts +0 -3
  404. package/dist/exports/Steps.d.ts +0 -3
  405. package/dist/exports/SwipeContainer.d.ts +0 -1
  406. package/dist/exports/Switch.d.ts +0 -3
  407. package/dist/exports/TabLinks.d.ts +0 -1
  408. package/dist/exports/Table.d.ts +0 -1
  409. package/dist/exports/TextArea.d.ts +0 -1
  410. package/dist/exports/Toast.d.ts +0 -3
  411. package/dist/exports/ToastProvider.d.ts +0 -2
  412. package/dist/exports/Tooltip.d.ts +0 -2
  413. package/dist/exports/useDevice.d.ts +0 -1
  414. package/dist/hooks/useClickOutside.d.ts +0 -8
  415. package/dist/hooks/useDevice.d.ts +0 -1
  416. package/dist/hooks/useDragScroll.d.ts +0 -29
  417. package/dist/hooks/useLabelBackground.d.ts +0 -5
  418. package/dist/iconUtils-D0lVAgGT.js +0 -5
  419. package/dist/index-BOQuZ0gG.js +0 -34
  420. package/dist/index.d.ts +0 -104
  421. package/dist/jsx-runtime-DKDX3adD.js +0 -281
  422. package/dist/lib/cn.d.ts +0 -2
  423. package/dist/lib/utils.d.ts +0 -3
  424. package/dist/prometeo-design-system.es.js +0 -993
  425. package/dist/styles.css +0 -1
  426. package/dist/styles.d.ts +0 -1
  427. package/dist/useDevice.d.ts +0 -2
  428. package/dist/useDevice.es.js +0 -13
  429. package/dist/useDragScroll-CHN9OMwn.js +0 -165
  430. package/dist/vite.svg +0 -1
@@ -1,189 +0,0 @@
1
- import { j as o } from "./jsx-runtime-DKDX3adD.js";
2
- import { memo as L, useRef as w, useLayoutEffect as N } from "react";
3
- import R from "./Avatar.es.js";
4
- import { c as i } from "./cn-B6yFEsav.js";
5
- const F = {
6
- sm: "w-16 h-16",
7
- md: "w-24 h-24",
8
- lg: "w-32 h-32",
9
- xl: "w-40 h-40"
10
- }, A = {
11
- sm: "w-4 h-4",
12
- md: "w-5 h-5",
13
- lg: "w-6 h-6",
14
- xl: "w-8 h-8"
15
- }, M = {
16
- sm: "w-6 h-6",
17
- md: "w-7 h-7",
18
- lg: "w-8 h-8",
19
- xl: "w-10 h-10"
20
- }, T = {
21
- sm: "-bottom-1 -right-0.5",
22
- md: "-bottom-0.5 -right-0.5",
23
- lg: "bottom-1 right-1",
24
- xl: "bottom-3 right-2"
25
- }, b = {
26
- sm: "w-4 h-4",
27
- md: "w-5 h-5",
28
- lg: "w-6 h-6",
29
- xl: "w-7 h-7"
30
- }, U = {
31
- sm: "-top-0.5 -right-0.5",
32
- md: "-top-1 -right-1",
33
- lg: "-top-1 -right-0",
34
- xl: "top-1 right-1"
35
- };
36
- function z({
37
- imageUrl: t,
38
- fallbackText: e = "S L",
39
- onFileSelect: y,
40
- onEditClick: m,
41
- onRemoveClick: k,
42
- size: r = "lg",
43
- className: C,
44
- disabled: n = !1,
45
- showRemoveButton: j = !0,
46
- acceptedTypes: p = "image/*",
47
- maxFileSize: h = 5 * 1024 * 1024,
48
- onError: g
49
- }) {
50
- const f = w(null), u = w(null), x = (l) => l.type.startsWith("image/") ? l.size > h ? (g?.(
51
- `La imagen debe ser menor a ${Math.round(h / 1024 / 1024)}MB`
52
- ), !1) : !0 : (g?.("Por favor selecciona un archivo de imagen válido"), !1), v = (l) => {
53
- const a = l.target.files?.[0];
54
- a && (x(a) && y?.(a), l.target.value = "");
55
- }, B = () => {
56
- n || (m ? m() : f.current?.click());
57
- }, S = (l) => {
58
- l.stopPropagation(), !n && k?.();
59
- };
60
- return N(() => {
61
- if (u.current) {
62
- const a = ((E) => {
63
- let c = E;
64
- for (; c && c !== document.body; ) {
65
- const d = window.getComputedStyle(c).backgroundColor;
66
- if (d && d !== "transparent" && d !== "rgba(0, 0, 0, 0)")
67
- return d;
68
- c = c.parentElement;
69
- }
70
- const s = window.getComputedStyle(document.body).backgroundColor;
71
- return s && s !== "transparent" && s !== "rgba(0, 0, 0, 0)" ? s : "rgb(255, 255, 255)";
72
- })(
73
- u.current.parentElement
74
- );
75
- u.current.style.borderColor = a;
76
- }
77
- }, []), /* @__PURE__ */ o.jsxs(
78
- "div",
79
- {
80
- className: i("relative inline-block border-inherit group", C),
81
- children: [
82
- /* @__PURE__ */ o.jsx(
83
- "input",
84
- {
85
- ref: f,
86
- type: "file",
87
- accept: p,
88
- onChange: v,
89
- className: "hidden",
90
- disabled: n
91
- }
92
- ),
93
- /* @__PURE__ */ o.jsx(
94
- "div",
95
- {
96
- className: i(
97
- F[r],
98
- "rounded-full overflow-hidden flex items-center justify-center relative",
99
- n && "opacity-50 cursor-not-default"
100
- ),
101
- children: /* @__PURE__ */ o.jsx(
102
- R,
103
- {
104
- imageUrl: t,
105
- fallbackText: e,
106
- sizeImage: r,
107
- sizeFallback: r
108
- }
109
- )
110
- }
111
- ),
112
- /* @__PURE__ */ o.jsx(
113
- "button",
114
- {
115
- ref: u,
116
- className: i(
117
- "absolute bg-primary-default-default rounded-lg border-2 hover:bg-primary-default-hover cursor-pointer grid place-content-center",
118
- T[r],
119
- M[r],
120
- n && "opacity-50 cursor-not-default"
121
- ),
122
- onClick: B,
123
- disabled: n,
124
- children: /* @__PURE__ */ o.jsx(
125
- "svg",
126
- {
127
- className: i(A[r], "text-white"),
128
- fill: "none",
129
- stroke: "currentColor",
130
- viewBox: "0 0 24 24",
131
- children: /* @__PURE__ */ o.jsx(
132
- "path",
133
- {
134
- strokeLinecap: "round",
135
- strokeLinejoin: "round",
136
- strokeWidth: 2,
137
- d: "M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"
138
- }
139
- )
140
- }
141
- )
142
- }
143
- ),
144
- t && j && !n && /* @__PURE__ */ o.jsx(
145
- "button",
146
- {
147
- className: i(
148
- "absolute rounded-full shadow-lg bg-error-light flex cursor-pointer items-center justify-center",
149
- "opacity-0 scale-80 group-hover:opacity-100 group-hover:scale-100",
150
- "transition-all duration-200 ease-out",
151
- U[r],
152
- b[r],
153
- n && "opacity-50 cursor-default"
154
- ),
155
- disabled: n,
156
- onClick: S,
157
- children: /* @__PURE__ */ o.jsx(
158
- "svg",
159
- {
160
- className: i(b[r], "text-white p-1"),
161
- fill: "none",
162
- stroke: "currentColor",
163
- viewBox: "0 0 24 24",
164
- children: /* @__PURE__ */ o.jsx(
165
- "path",
166
- {
167
- strokeLinecap: "round",
168
- strokeLinejoin: "round",
169
- strokeWidth: 2,
170
- d: "M6 18L18 6M6 6l12 12"
171
- }
172
- )
173
- }
174
- )
175
- }
176
- )
177
- ]
178
- }
179
- );
180
- }
181
- const W = L(
182
- z,
183
- (t, e) => t.imageUrl === e.imageUrl && t.fallbackText === e.fallbackText && t.size === e.size && t.className === e.className && t.disabled === e.disabled && t.showRemoveButton === e.showRemoveButton && t.acceptedTypes === e.acceptedTypes && t.maxFileSize === e.maxFileSize && t.disableEntryAnimation === e.disableEntryAnimation && t.onFileSelect === e.onFileSelect && t.onEditClick === e.onEditClick && t.onRemoveClick === e.onRemoveClick && t.onError === e.onError
184
- );
185
- W.displayName = "ProfilePictureUpload";
186
- export {
187
- W as ProfilePictureUpload,
188
- W as default
189
- };
@@ -1,6 +0,0 @@
1
- export * from './exports/ProgressBar'
2
- export {}
3
- import PrometeoDesignSystem from './exports/ProgressBar'
4
- export default PrometeoDesignSystem
5
- export * from './exports/ProgressBar'
6
- export {}
@@ -1,70 +0,0 @@
1
- import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
- import { c as j } from "./cn-B6yFEsav.js";
3
- import T from "react";
4
- const M = T.forwardRef(
5
- (o, g) => {
6
- const { className: p, label: m, ...b } = o;
7
- if (o.variant === "date") {
8
- const { startDate: l, endDate: n } = o, r = new Date(l), t = new Date(n), a = /* @__PURE__ */ new Date(), i = t.getTime() - r.getTime(), c = a.getTime() - r.getTime(), d = Math.min(100, Math.max(0, c / i * 100)), u = 1440 * 60 * 1e3, f = Math.max(0, Math.ceil((t.getTime() - a.getTime()) / u)), x = Math.floor((a.getTime() - t.getTime()) / u), y = Math.ceil(i / u), w = Math.min(y, Math.max(0, Math.floor(c / u))), h = a > t, v = f === 0 && !h, N = h && x === 0;
9
- let s = m;
10
- return m || (h ? x === 0 ? s = "Vence hoy" : x === 1 ? s = "Vencido hace 1 día" : s = `Vencido hace ${x} días` : f === 0 ? s = "Vence hoy" : f === 1 ? s = "Falta 1 día" : s = `Faltan ${f} días`), /* @__PURE__ */ e.jsxs("div", { ref: g, className: p, ...b, children: [
11
- /* @__PURE__ */ e.jsxs("div", { className: "flex justify-between items-end mb-2 gap-4 px-2", children: [
12
- /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-1", children: [
13
- /* @__PURE__ */ e.jsx("span", { className: "text-sm text-neutral-medium-default", children: "Tiempo restante de resolución" }),
14
- /* @__PURE__ */ e.jsx("span", { className: "font-semibold text-base text-neutral-default-default", children: s })
15
- ] }),
16
- /* @__PURE__ */ e.jsxs("span", { className: "text-sm text-neutral-medium-default whitespace-nowrap", children: [
17
- w,
18
- " / ",
19
- y,
20
- " días"
21
- ] })
22
- ] }),
23
- /* @__PURE__ */ e.jsx("div", { className: "w-full bg-neutral-800 dark:bg-neutral-900 border border-neutral-600 dark:border-neutral-700 rounded-sm h-4 overflow-hidden", children: /* @__PURE__ */ e.jsx(
24
- "div",
25
- {
26
- className: j(
27
- "h-full transition-all duration-300",
28
- v || N ? "bg-yellow-500" : h ? "bg-red-500" : "bg-primary-default-default"
29
- ),
30
- style: { width: `${d}%` }
31
- }
32
- ) })
33
- ] });
34
- }
35
- if (o.variant === "quantity") {
36
- const { current: l, total: n, unit: r = "items" } = o, t = Math.min(100, Math.max(0, l / n * 100)), a = Math.max(0, n - l), i = l >= n, c = t >= 80 && !i;
37
- let d = m;
38
- return m || (i ? d = "Completado" : a === 1 ? d = `Falta 1 ${r}` : d = `Faltan ${a} ${r}`), /* @__PURE__ */ e.jsxs("div", { ref: g, className: p, ...b, children: [
39
- /* @__PURE__ */ e.jsxs("div", { className: "flex justify-between items-end mb-2 gap-4 px-2", children: [
40
- /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-1", children: [
41
- /* @__PURE__ */ e.jsx("span", { className: "text-sm text-neutral-medium-default", children: "Progreso" }),
42
- /* @__PURE__ */ e.jsx("span", { className: "font-semibold text-base text-neutral-default-default", children: d })
43
- ] }),
44
- /* @__PURE__ */ e.jsxs("span", { className: "text-sm text-neutral-medium-default whitespace-nowrap", children: [
45
- l,
46
- " / ",
47
- n,
48
- " ",
49
- r
50
- ] })
51
- ] }),
52
- /* @__PURE__ */ e.jsx("div", { className: "w-full bg-neutral-800 dark:bg-neutral-900 border border-neutral-600 dark:border-neutral-700 rounded-sm h-4 overflow-hidden", children: /* @__PURE__ */ e.jsx(
53
- "div",
54
- {
55
- className: j(
56
- "h-full transition-all duration-300",
57
- i ? "bg-green-500" : c ? "bg-yellow-500" : "bg-primary-default-default"
58
- ),
59
- style: { width: `${t}%` }
60
- }
61
- ) })
62
- ] });
63
- }
64
- return null;
65
- }
66
- );
67
- M.displayName = "ProgressBar";
68
- export {
69
- M as default
70
- };
@@ -1,6 +0,0 @@
1
- export * from './exports/RadioButton'
2
- export {}
3
- import PrometeoDesignSystem from './exports/RadioButton'
4
- export default PrometeoDesignSystem
5
- export * from './exports/RadioButton'
6
- export {}
@@ -1,78 +0,0 @@
1
- import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
- import { c as t } from "./cn-B6yFEsav.js";
3
- import { memo as x, forwardRef as k, useRef as g, useEffect as y } from "react";
4
- import { H as j } from "./HelperComponent-DhGU_ug-.js";
5
- const s = k((n, a) => {
6
- const r = g(null);
7
- y(() => {
8
- a && (typeof a == "function" ? a(r.current) : a.current = r.current);
9
- }, [a]);
10
- const c = (v) => {
11
- r.current && (v.stopPropagation(), r.current.click());
12
- }, { disabled: o = !1, label: l, required: u = !1, errorComponent: d, helperComponent: i, variant: f = "default", className: p, labelClassName: m, ...b } = n, h = d !== void 0 || i !== void 0;
13
- return /* @__PURE__ */ e.jsxs("div", { className: t("flex flex-col gap-1 min-h-10 min-w-max items-center", p), children: [
14
- /* @__PURE__ */ e.jsxs("label", { className: t("flex items-center justify-start gap-3"), children: [
15
- /* @__PURE__ */ e.jsxs("div", { className: "relative z-10 min-w-10 h-10 flex items-center justify-center ", children: [
16
- /* @__PURE__ */ e.jsx(
17
- "input",
18
- {
19
- hidden: !0,
20
- type: "radio",
21
- ref: r,
22
- className: "peer",
23
- disabled: o,
24
- ...b
25
- }
26
- ),
27
- /* @__PURE__ */ e.jsx(
28
- "div",
29
- {
30
- role: "radio",
31
- "aria-checked": r.current?.checked,
32
- "aria-disabled": o,
33
- onClick: o ? () => {
34
- } : c,
35
- className: t(
36
- "size-5 rounded-full border-neutral-default-hover hover:border-neutral-default-default border-2 p-[3px]",
37
- "transition-all duration-300 cursor-pointer relative ",
38
- "grid place-items-center",
39
- " before:bg-neutral-default-pressed before:size-10 before:absolute before:rounded-full before:-z-10! before:opacity-0 active:before:opacity-100 before:transition-all before:duration-300 ",
40
- "hover:before:opacity-0 hover:before:bg-neutral-default-hover",
41
- "peer-checked:border-primary-default-default peer-checked:hover:before:opacity-100 peer-checked:hover:before:bg-neutral-default-pressed peer-checked:active:before:bg-neutral-default-hover peer-checked:hover:border-primary-default-focused peer-checked:hover:*:bg-primary-default-hover active:before:bg-neutral-default-hover peer-checked:active:border-primary-strong-pressed peer-checked:active:*:bg-primary-default-pressed",
42
- "peer-checked:*:bg-primary-light",
43
- //disabled
44
- "peer-disabled:pointer-events-none",
45
- "peer-disabled:border-neutral-default-disabled peer-disabled:peer-checked:border-neutral-default-default",
46
- "peer-disabled:peer-checked:*:bg-neutral-weak-hover"
47
- ),
48
- children: /* @__PURE__ */ e.jsx(
49
- "div",
50
- {
51
- className: t(
52
- "size-full rounded-full transition-all duration-300"
53
- )
54
- }
55
- )
56
- }
57
- )
58
- ] }),
59
- l && /* @__PURE__ */ e.jsxs("span", { className: t("prometeo-fonts-label-large w-max min-w-max", m), children: [
60
- l,
61
- u && " *"
62
- ] })
63
- ] }),
64
- h && /* @__PURE__ */ e.jsx("div", { className: "min-h-5", children: /* @__PURE__ */ e.jsx(
65
- j,
66
- {
67
- variant: f,
68
- children: d || i
69
- }
70
- ) })
71
- ] });
72
- });
73
- s.displayName = "RadioButton";
74
- const z = x(s);
75
- export {
76
- z as RadioButton,
77
- z as default
78
- };
@@ -1,2 +0,0 @@
1
- export * from './exports/RecurrentDatePicker'
2
- export {}