prometeo-design-system 3.1.4 → 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 (440) hide show
  1. package/package.json +17 -1
  2. package/dist/Avatar.d.ts +0 -4
  3. package/dist/Avatar.es.js +0 -94
  4. package/dist/Button.d.ts +0 -6
  5. package/dist/Button.es.js +0 -400
  6. package/dist/CardProfile-y9Knsg26.js +0 -280
  7. package/dist/CardProfile.d.ts +0 -6
  8. package/dist/CardProfile.es.js +0 -5
  9. package/dist/CheckBox.d.ts +0 -6
  10. package/dist/CheckBox.es.js +0 -112
  11. package/dist/DatePicker-CehTiXGa.js +0 -3631
  12. package/dist/DatePicker.d.ts +0 -6
  13. package/dist/DatePicker.es.js +0 -5
  14. package/dist/DialogModal.d.ts +0 -6
  15. package/dist/DialogModal.es.js +0 -75
  16. package/dist/DrawerDesktop.d.ts +0 -6
  17. package/dist/DrawerDesktop.es.js +0 -217
  18. package/dist/DrawerMobile.d.ts +0 -6
  19. package/dist/DrawerMobile.es.js +0 -243
  20. package/dist/DropZone.d.ts +0 -6
  21. package/dist/DropZone.es.js +0 -88
  22. package/dist/FAButton.d.ts +0 -4
  23. package/dist/FAButton.es.js +0 -111
  24. package/dist/Header.d.ts +0 -6
  25. package/dist/Header.es.js +0 -32
  26. package/dist/HelperComponent-ljsn0xD6.js +0 -26
  27. package/dist/Icons/AccountCircle.d.ts +0 -6
  28. package/dist/Icons/AccountCircle.es.js +0 -21
  29. package/dist/Icons/Add.d.ts +0 -6
  30. package/dist/Icons/Add.es.js +0 -19
  31. package/dist/Icons/ArrowLeft.d.ts +0 -6
  32. package/dist/Icons/ArrowLeft.es.js +0 -19
  33. package/dist/Icons/ArrowUpDown.d.ts +0 -6
  34. package/dist/Icons/ArrowUpDown.es.js +0 -21
  35. package/dist/Icons/AttachFile.d.ts +0 -6
  36. package/dist/Icons/AttachFile.es.js +0 -19
  37. package/dist/Icons/Boards.d.ts +0 -6
  38. package/dist/Icons/Boards.es.js +0 -19
  39. package/dist/Icons/Calendar.d.ts +0 -6
  40. package/dist/Icons/Calendar.es.js +0 -19
  41. package/dist/Icons/Cancel.d.ts +0 -6
  42. package/dist/Icons/Cancel.es.js +0 -19
  43. package/dist/Icons/Check.d.ts +0 -6
  44. package/dist/Icons/Check.es.js +0 -19
  45. package/dist/Icons/CheckCircle.d.ts +0 -6
  46. package/dist/Icons/CheckCircle.es.js +0 -21
  47. package/dist/Icons/CheckList.d.ts +0 -6
  48. package/dist/Icons/CheckList.es.js +0 -25
  49. package/dist/Icons/ChevronDown.d.ts +0 -6
  50. package/dist/Icons/ChevronDown.es.js +0 -21
  51. package/dist/Icons/Clock.d.ts +0 -6
  52. package/dist/Icons/Clock.es.js +0 -19
  53. package/dist/Icons/Close.d.ts +0 -6
  54. package/dist/Icons/Close.es.js +0 -19
  55. package/dist/Icons/CloseNavBarDesktop.d.ts +0 -6
  56. package/dist/Icons/CloseNavBarDesktop.es.js +0 -36
  57. package/dist/Icons/Collapse.d.ts +0 -6
  58. package/dist/Icons/Collapse.es.js +0 -19
  59. package/dist/Icons/Company.d.ts +0 -6
  60. package/dist/Icons/Company.es.js +0 -25
  61. package/dist/Icons/Copy.d.ts +0 -6
  62. package/dist/Icons/Copy.es.js +0 -19
  63. package/dist/Icons/CrevronLeft.d.ts +0 -6
  64. package/dist/Icons/CrevronLeft.es.js +0 -21
  65. package/dist/Icons/CrevronRight.d.ts +0 -6
  66. package/dist/Icons/CrevronRight.es.js +0 -21
  67. package/dist/Icons/DocumentFill.d.ts +0 -6
  68. package/dist/Icons/DocumentFill.es.js +0 -27
  69. package/dist/Icons/Download.d.ts +0 -6
  70. package/dist/Icons/Download.es.js +0 -25
  71. package/dist/Icons/Edit.d.ts +0 -6
  72. package/dist/Icons/Edit.es.js +0 -19
  73. package/dist/Icons/EditFill.d.ts +0 -6
  74. package/dist/Icons/EditFill.es.js +0 -25
  75. package/dist/Icons/Email.d.ts +0 -6
  76. package/dist/Icons/Email.es.js +0 -25
  77. package/dist/Icons/Error.d.ts +0 -6
  78. package/dist/Icons/Error.es.js +0 -19
  79. package/dist/Icons/EyeVisibility.d.ts +0 -6
  80. package/dist/Icons/EyeVisibility.es.js +0 -21
  81. package/dist/Icons/EyeVisibilityOff.d.ts +0 -6
  82. package/dist/Icons/EyeVisibilityOff.es.js +0 -21
  83. package/dist/Icons/FaLock.d.ts +0 -6
  84. package/dist/Icons/FaLock.es.js +0 -19
  85. package/dist/Icons/FastForward.d.ts +0 -6
  86. package/dist/Icons/FastForward.es.js +0 -27
  87. package/dist/Icons/File.d.ts +0 -6
  88. package/dist/Icons/File.es.js +0 -25
  89. package/dist/Icons/Filter.d.ts +0 -6
  90. package/dist/Icons/Filter.es.js +0 -19
  91. package/dist/Icons/FormatColorText.d.ts +0 -6
  92. package/dist/Icons/FormatColorText.es.js +0 -26
  93. package/dist/Icons/Help.d.ts +0 -6
  94. package/dist/Icons/Help.es.js +0 -19
  95. package/dist/Icons/HistoryActivity.d.ts +0 -6
  96. package/dist/Icons/HistoryActivity.es.js +0 -21
  97. package/dist/Icons/Home.d.ts +0 -6
  98. package/dist/Icons/Home.es.js +0 -19
  99. package/dist/Icons/Image.d.ts +0 -6
  100. package/dist/Icons/Image.es.js +0 -25
  101. package/dist/Icons/Info.d.ts +0 -6
  102. package/dist/Icons/Info.es.js +0 -19
  103. package/dist/Icons/Logout.d.ts +0 -6
  104. package/dist/Icons/Logout.es.js +0 -19
  105. package/dist/Icons/MessageSquare.d.ts +0 -6
  106. package/dist/Icons/MessageSquare.es.js +0 -21
  107. package/dist/Icons/MessageSquareFill.d.ts +0 -6
  108. package/dist/Icons/MessageSquareFill.es.js +0 -27
  109. package/dist/Icons/MoreVert.d.ts +0 -6
  110. package/dist/Icons/MoreVert.es.js +0 -19
  111. package/dist/Icons/Notifications.d.ts +0 -6
  112. package/dist/Icons/Notifications.es.js +0 -21
  113. package/dist/Icons/Pause.d.ts +0 -6
  114. package/dist/Icons/Pause.es.js +0 -19
  115. package/dist/Icons/Reload.d.ts +0 -6
  116. package/dist/Icons/Reload.es.js +0 -25
  117. package/dist/Icons/Search.d.ts +0 -6
  118. package/dist/Icons/Search.es.js +0 -19
  119. package/dist/Icons/Settings.d.ts +0 -6
  120. package/dist/Icons/Settings.es.js +0 -19
  121. package/dist/Icons/Shared.d.ts +0 -6
  122. package/dist/Icons/Shared.es.js +0 -19
  123. package/dist/Icons/Sort.d.ts +0 -6
  124. package/dist/Icons/Sort.es.js +0 -19
  125. package/dist/Icons/Stars.d.ts +0 -6
  126. package/dist/Icons/Stars.es.js +0 -19
  127. package/dist/Icons/Ticket.d.ts +0 -6
  128. package/dist/Icons/Ticket.es.js +0 -19
  129. package/dist/Icons/TicketFilled.d.ts +0 -6
  130. package/dist/Icons/TicketFilled.es.js +0 -21
  131. package/dist/Icons/Trash.d.ts +0 -6
  132. package/dist/Icons/Trash.es.js +0 -19
  133. package/dist/Icons/TrashFill.d.ts +0 -6
  134. package/dist/Icons/TrashFill.es.js +0 -25
  135. package/dist/Icons/Upload.d.ts +0 -6
  136. package/dist/Icons/Upload.es.js +0 -19
  137. package/dist/Icons/UploadCloud.d.ts +0 -6
  138. package/dist/Icons/UploadCloud.es.js +0 -21
  139. package/dist/Icons/UserAdd.d.ts +0 -6
  140. package/dist/Icons/UserAdd.es.js +0 -19
  141. package/dist/Icons/UserAddFill.d.ts +0 -6
  142. package/dist/Icons/UserAddFill.es.js +0 -27
  143. package/dist/Icons/UserPerson.d.ts +0 -6
  144. package/dist/Icons/UserPerson.es.js +0 -19
  145. package/dist/Icons/WhatsApp.d.ts +0 -6
  146. package/dist/Icons/WhatsApp.es.js +0 -76
  147. package/dist/Icons/components/AccountCircle.d.ts +0 -4
  148. package/dist/Icons/components/Add.d.ts +0 -4
  149. package/dist/Icons/components/ArrowLeft.d.ts +0 -4
  150. package/dist/Icons/components/ArrowUpDown.d.ts +0 -4
  151. package/dist/Icons/components/AttachFile.d.ts +0 -4
  152. package/dist/Icons/components/Boards.d.ts +0 -4
  153. package/dist/Icons/components/Calendar.d.ts +0 -4
  154. package/dist/Icons/components/Cancel.d.ts +0 -4
  155. package/dist/Icons/components/Check.d.ts +0 -4
  156. package/dist/Icons/components/CheckCircle.d.ts +0 -4
  157. package/dist/Icons/components/CheckList.d.ts +0 -4
  158. package/dist/Icons/components/ChevronDown.d.ts +0 -4
  159. package/dist/Icons/components/Clock.d.ts +0 -4
  160. package/dist/Icons/components/Close.d.ts +0 -4
  161. package/dist/Icons/components/CloseNavBarDesktop.d.ts +0 -4
  162. package/dist/Icons/components/Collapse.d.ts +0 -4
  163. package/dist/Icons/components/Company.d.ts +0 -4
  164. package/dist/Icons/components/Copy.d.ts +0 -4
  165. package/dist/Icons/components/CrevronLeft.d.ts +0 -4
  166. package/dist/Icons/components/CrevronRight.d.ts +0 -4
  167. package/dist/Icons/components/DocumentFill.d.ts +0 -4
  168. package/dist/Icons/components/Download.d.ts +0 -4
  169. package/dist/Icons/components/Edit.d.ts +0 -4
  170. package/dist/Icons/components/EditFill.d.ts +0 -4
  171. package/dist/Icons/components/Email.d.ts +0 -4
  172. package/dist/Icons/components/Error.d.ts +0 -4
  173. package/dist/Icons/components/EyeVisibility.d.ts +0 -4
  174. package/dist/Icons/components/EyeVisibilityOff.d.ts +0 -4
  175. package/dist/Icons/components/FaLock.d.ts +0 -4
  176. package/dist/Icons/components/FastForward.d.ts +0 -4
  177. package/dist/Icons/components/File.d.ts +0 -4
  178. package/dist/Icons/components/Filter.d.ts +0 -4
  179. package/dist/Icons/components/FormatColorText.d.ts +0 -4
  180. package/dist/Icons/components/Help.d.ts +0 -4
  181. package/dist/Icons/components/HistoryActivity.d.ts +0 -4
  182. package/dist/Icons/components/Home.d.ts +0 -4
  183. package/dist/Icons/components/Image.d.ts +0 -4
  184. package/dist/Icons/components/Info.d.ts +0 -4
  185. package/dist/Icons/components/Logout.d.ts +0 -4
  186. package/dist/Icons/components/MessageSquare.d.ts +0 -4
  187. package/dist/Icons/components/MessageSquareFill.d.ts +0 -4
  188. package/dist/Icons/components/MoreVert.d.ts +0 -4
  189. package/dist/Icons/components/Notifications.d.ts +0 -4
  190. package/dist/Icons/components/Pause.d.ts +0 -4
  191. package/dist/Icons/components/Reload.d.ts +0 -4
  192. package/dist/Icons/components/Search.d.ts +0 -4
  193. package/dist/Icons/components/Settings.d.ts +0 -4
  194. package/dist/Icons/components/Shared.d.ts +0 -4
  195. package/dist/Icons/components/Sort.d.ts +0 -4
  196. package/dist/Icons/components/Stars.d.ts +0 -4
  197. package/dist/Icons/components/Ticket.d.ts +0 -4
  198. package/dist/Icons/components/TicketFilled.d.ts +0 -4
  199. package/dist/Icons/components/Trash.d.ts +0 -4
  200. package/dist/Icons/components/TrashFill.d.ts +0 -4
  201. package/dist/Icons/components/Upload.d.ts +0 -4
  202. package/dist/Icons/components/UploadCloud.d.ts +0 -4
  203. package/dist/Icons/components/UserAdd.d.ts +0 -4
  204. package/dist/Icons/components/UserAddFill.d.ts +0 -4
  205. package/dist/Icons/components/UserPerson.d.ts +0 -4
  206. package/dist/Icons/components/WhatsApp.d.ts +0 -4
  207. package/dist/Icons/iconUtils.d.ts +0 -7
  208. package/dist/Icons/index.d.ts +0 -62
  209. package/dist/Icons/types.d.ts +0 -124
  210. package/dist/Icons.d.ts +0 -2
  211. package/dist/Icons.es.js +0 -122
  212. package/dist/Image.d.ts +0 -4
  213. package/dist/Image.es.js +0 -91
  214. package/dist/ImageGallery-DG9ovlQ-.js +0 -319
  215. package/dist/ImageGallery.d.ts +0 -6
  216. package/dist/ImageGallery.es.js +0 -23
  217. package/dist/Input.d.ts +0 -6
  218. package/dist/Input.es.js +0 -220
  219. package/dist/InputMultiple.d.ts +0 -6
  220. package/dist/InputMultiple.es.js +0 -265
  221. package/dist/LayoutGeneric-CfWhV1ov.js +0 -26
  222. package/dist/LayoutGeneric.d.ts +0 -6
  223. package/dist/LayoutGeneric.es.js +0 -4
  224. package/dist/Logo.d.ts +0 -4
  225. package/dist/Logo.es.js +0 -9
  226. package/dist/Menu.d.ts +0 -6
  227. package/dist/Menu.es.js +0 -77
  228. package/dist/OtpInput.d.ts +0 -6
  229. package/dist/OtpInput.es.js +0 -302
  230. package/dist/Pagination.d.ts +0 -6
  231. package/dist/Pagination.es.js +0 -97
  232. package/dist/ProfilePictureUpload.d.ts +0 -6
  233. package/dist/ProfilePictureUpload.es.js +0 -189
  234. package/dist/ProgressBar.d.ts +0 -6
  235. package/dist/ProgressBar.es.js +0 -70
  236. package/dist/RadioButton.d.ts +0 -6
  237. package/dist/RadioButton.es.js +0 -78
  238. package/dist/RecurrentDatePicker.d.ts +0 -2
  239. package/dist/RecurrentDatePicker.es.js +0 -694
  240. package/dist/RecurrentDatePickerRRule.d.ts +0 -2
  241. package/dist/RecurrentDatePickerRRule.es.js +0 -1682
  242. package/dist/Scrollable.d.ts +0 -2
  243. package/dist/Scrollable.es.js +0 -260
  244. package/dist/SegmentedButton.d.ts +0 -6
  245. package/dist/SegmentedButton.es.js +0 -185
  246. package/dist/Select-BdxmkrjB.js +0 -1111
  247. package/dist/Select.d.ts +0 -6
  248. package/dist/Select.es.js +0 -4
  249. package/dist/SelectSearch.d.ts +0 -6
  250. package/dist/SelectSearch.es.js +0 -283
  251. package/dist/Skeleton.d.ts +0 -6
  252. package/dist/Skeleton.es.js +0 -74
  253. package/dist/Spinner.d.ts +0 -6
  254. package/dist/Spinner.es.js +0 -178
  255. package/dist/Steps.d.ts +0 -6
  256. package/dist/Steps.es.js +0 -214
  257. package/dist/SwipeContainer.d.ts +0 -4
  258. package/dist/SwipeContainer.es.js +0 -185
  259. package/dist/Switch.d.ts +0 -6
  260. package/dist/Switch.es.js +0 -97
  261. package/dist/TabLinks.d.ts +0 -4
  262. package/dist/TabLinks.es.js +0 -94
  263. package/dist/Table.d.ts +0 -2
  264. package/dist/Table.es.js +0 -121
  265. package/dist/TextArea.d.ts +0 -4
  266. package/dist/TextArea.es.js +0 -66
  267. package/dist/Toast.d.ts +0 -6
  268. package/dist/Toast.es.js +0 -150
  269. package/dist/ToastProvider.d.ts +0 -6
  270. package/dist/ToastProvider.es.js +0 -6
  271. package/dist/Tooltip.d.ts +0 -6
  272. package/dist/Tooltip.es.js +0 -62
  273. package/dist/assets/psmlogo.png +0 -0
  274. package/dist/cn-B6yFEsav.js +0 -8
  275. package/dist/components/Autocomplete/Autocomplete.d.ts +0 -20
  276. package/dist/components/Autocomplete/useAutocomplete.d.ts +0 -43
  277. package/dist/components/Avatar/Avatar.d.ts +0 -11
  278. package/dist/components/Avatar/index.d.ts +0 -1
  279. package/dist/components/Button/Button.d.ts +0 -23
  280. package/dist/components/Button/index.d.ts +0 -2
  281. package/dist/components/Card/Card.d.ts +0 -12
  282. package/dist/components/CardProfile/CardProfile.d.ts +0 -55
  283. package/dist/components/CheckBox/CheckBox.d.ts +0 -11
  284. package/dist/components/DatePicker/DatePicker.d.ts +0 -82
  285. package/dist/components/Dialog/Dialog.d.ts +0 -35
  286. package/dist/components/Dialog/DialogV2.d.ts +0 -35
  287. package/dist/components/Dialog/useDialogControl.d.ts +0 -8
  288. package/dist/components/Drawer/DrawerDesktop.d.ts +0 -21
  289. package/dist/components/Drawer/DrawerMobile.d.ts +0 -24
  290. package/dist/components/Drawer/useDrawerDesktop.d.ts +0 -8
  291. package/dist/components/Drawer/useDrawerMobile.d.ts +0 -8
  292. package/dist/components/DropZone/DropZone.d.ts +0 -16
  293. package/dist/components/DropZone/DropzoneCompossable.d.ts +0 -54
  294. package/dist/components/DropZone/useFileDropzone.d.ts +0 -21
  295. package/dist/components/FAB/FAButton.d.ts +0 -21
  296. package/dist/components/FileCard/FileCard.d.ts +0 -52
  297. package/dist/components/Header/Header.d.ts +0 -11
  298. package/dist/components/Image/GalleryPreview.d.ts +0 -8
  299. package/dist/components/Image/Image.d.ts +0 -23
  300. package/dist/components/Image/ImageGallery.d.ts +0 -18
  301. package/dist/components/Image/LightBox.d.ts +0 -14
  302. package/dist/components/Image/index.d.ts +0 -5
  303. package/dist/components/Image/useImageGallery.d.ts +0 -10
  304. package/dist/components/Input/Input.d.ts +0 -34
  305. package/dist/components/InputMultiple/InputMultiple.d.ts +0 -25
  306. package/dist/components/Layout/LayoutGeneric.d.ts +0 -6
  307. package/dist/components/Logo/Logo.d.ts +0 -2
  308. package/dist/components/Menu/MenuComposable.d.ts +0 -15
  309. package/dist/components/NavigationDrawer/NavItemSecondary.d.ts +0 -10
  310. package/dist/components/NavigationDrawer/NavigationDrawer.d.ts +0 -49
  311. package/dist/components/NavigationDrawer/NavigationDrawerActionItem.d.ts +0 -16
  312. package/dist/components/NavigationDrawer/NavigationDrawerActions.d.ts +0 -9
  313. package/dist/components/NavigationDrawer/NavigationDrawerItemBase.d.ts +0 -18
  314. package/dist/components/NavigationDrawer/NavigationDrawerLinkItem.d.ts +0 -30
  315. package/dist/components/NavigationDrawer/NavigationDrawerNavlinks.d.ts +0 -11
  316. package/dist/components/NavigationDrawer/index.d.ts +0 -2
  317. package/dist/components/NotificationCard/NotificationCard.d.ts +0 -25
  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/PyrionHelpSection.d.ts +0 -8
  323. package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawer.d.ts +0 -130
  324. package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawerMobileAppSwitcher.d.ts +0 -10
  325. package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawerSystemLogo.d.ts +0 -7
  326. package/dist/components/PyrionNavigationDrawer/PyrionNotificationsList.d.ts +0 -8
  327. package/dist/components/PyrionNavigationDrawer/SidebarContent.d.ts +0 -13
  328. package/dist/components/PyrionNavigationDrawer/SystemSessions.d.ts +0 -12
  329. package/dist/components/RadioButton/RadioButton.d.ts +0 -14
  330. package/dist/components/RecurrentDatePicker/CustomFrequencySettings.d.ts +0 -40
  331. package/dist/components/RecurrentDatePicker/FrequencySettings.d.ts +0 -13
  332. package/dist/components/RecurrentDatePicker/MonthlyFrequencySettings.d.ts +0 -35
  333. package/dist/components/RecurrentDatePicker/PreviewCalendar.d.ts +0 -5
  334. package/dist/components/RecurrentDatePicker/RecurrentDatePicker.d.ts +0 -39
  335. package/dist/components/RecurrentDatePicker/RecurrentDatePickerRRule.d.ts +0 -13
  336. package/dist/components/RecurrentDatePicker/WeekdaysSelector.d.ts +0 -13
  337. package/dist/components/RecurrentDatePicker/WeeklyFrequencySetting.d.ts +0 -9
  338. package/dist/components/RecurrentDatePicker/YearlyFrequencySettings.d.ts +0 -21
  339. package/dist/components/RecurrentDatePicker/recurrentDatePicker.validations.d.ts +0 -69
  340. package/dist/components/Scrollable/Scrollable.d.ts +0 -31
  341. package/dist/components/SegmentedButton/SegmentedButton.d.ts +0 -20
  342. package/dist/components/Select/Select.d.ts +0 -123
  343. package/dist/components/SelectSearch/SelectSearch.d.ts +0 -40
  344. package/dist/components/Shared/Chip.d.ts +0 -15
  345. package/dist/components/Shared/HelperComponent.d.ts +0 -13
  346. package/dist/components/Sidebar/SecondaryBar/SecondaryBar.d.ts +0 -32
  347. package/dist/components/Sidebar/SecondaryBar/hooks/useSecondaryBarAnimation.d.ts +0 -2
  348. package/dist/components/Sidebar/SecondaryBar/index.d.ts +0 -1
  349. package/dist/components/Sidebar/SidebarComposable.d.ts +0 -43
  350. package/dist/components/Sidebar/components/NavigationLink.d.ts +0 -11
  351. package/dist/components/Sidebar/components/badge.d.ts +0 -10
  352. package/dist/components/Sidebar/components/changue-account.d.ts +0 -5
  353. package/dist/components/Sidebar/components/collapse-button.d.ts +0 -5
  354. package/dist/components/Sidebar/components/company-logo.d.ts +0 -5
  355. package/dist/components/Sidebar/components/nav-actions.d.ts +0 -7
  356. package/dist/components/Sidebar/components/nav-links.d.ts +0 -7
  357. package/dist/components/Sidebar/context/SidebarContext.d.ts +0 -13
  358. package/dist/components/Sidebar/hooks/SidebarProvider.d.ts +0 -3
  359. package/dist/components/Sidebar/hooks/useNavBarActions.d.ts +0 -9
  360. package/dist/components/Sidebar/hooks/useNavBarCollapse.d.ts +0 -4
  361. package/dist/components/Sidebar/hooks/useNavLinks.d.ts +0 -32
  362. package/dist/components/Sidebar/hooks/useSidebarHook.d.ts +0 -13
  363. package/dist/components/Sidebar/index.d.ts +0 -12
  364. package/dist/components/Sidebar/ui/useNavbarAnimation.d.ts +0 -2
  365. package/dist/components/Skeleton/Skeleton.d.ts +0 -13
  366. package/dist/components/Spinner/Spinner.d.ts +0 -12
  367. package/dist/components/Steps/Steps.d.ts +0 -21
  368. package/dist/components/SwipeContainer/SwipeContainer.d.ts +0 -19
  369. package/dist/components/Switch/Switch.d.ts +0 -11
  370. package/dist/components/TabLinks/TabLinks.d.ts +0 -23
  371. package/dist/components/TabSwitch/TabSwitch.d.ts +0 -16
  372. package/dist/components/Table/Table.d.ts +0 -14
  373. package/dist/components/Table/TableWithPagination.d.ts +0 -11
  374. package/dist/components/TextArea/TextArea.d.ts +0 -15
  375. package/dist/components/TicketCard/TicketCard.d.ts +0 -32
  376. package/dist/components/Toaster/ToastProvider.d.ts +0 -5
  377. package/dist/components/Toaster/Toaster.d.ts +0 -36
  378. package/dist/components/Tooltip/Tootip.d.ts +0 -10
  379. package/dist/components/UserCard/UserCard.d.ts +0 -12
  380. package/dist/exports/Autocomplete.d.ts +0 -1
  381. package/dist/exports/Avatar.d.ts +0 -1
  382. package/dist/exports/Button.d.ts +0 -2
  383. package/dist/exports/CardProfile.d.ts +0 -3
  384. package/dist/exports/CheckBox.d.ts +0 -2
  385. package/dist/exports/DatePicker.d.ts +0 -3
  386. package/dist/exports/DialogModal.d.ts +0 -2
  387. package/dist/exports/DrawerDesktop.d.ts +0 -4
  388. package/dist/exports/DrawerMobile.d.ts +0 -4
  389. package/dist/exports/DropZone.d.ts +0 -3
  390. package/dist/exports/FAButton.d.ts +0 -1
  391. package/dist/exports/Header.d.ts +0 -2
  392. package/dist/exports/Icons.d.ts +0 -1
  393. package/dist/exports/Image.d.ts +0 -1
  394. package/dist/exports/ImageGallery.d.ts +0 -2
  395. package/dist/exports/Input.d.ts +0 -2
  396. package/dist/exports/InputMultiple.d.ts +0 -3
  397. package/dist/exports/LayoutGeneric.d.ts +0 -2
  398. package/dist/exports/Logo.d.ts +0 -1
  399. package/dist/exports/Menu.d.ts +0 -3
  400. package/dist/exports/OtpInput.d.ts +0 -2
  401. package/dist/exports/Pagination.d.ts +0 -2
  402. package/dist/exports/ProfilePictureUpload.d.ts +0 -3
  403. package/dist/exports/ProgressBar.d.ts +0 -2
  404. package/dist/exports/RadioButton.d.ts +0 -3
  405. package/dist/exports/RecurrentDatePicker.d.ts +0 -5
  406. package/dist/exports/RecurrentDatePickerRRule.d.ts +0 -2
  407. package/dist/exports/Scrollable.d.ts +0 -2
  408. package/dist/exports/SegmentedButton.d.ts +0 -3
  409. package/dist/exports/Select.d.ts +0 -5
  410. package/dist/exports/SelectSearch.d.ts +0 -3
  411. package/dist/exports/Skeleton.d.ts +0 -3
  412. package/dist/exports/Spinner.d.ts +0 -3
  413. package/dist/exports/Steps.d.ts +0 -3
  414. package/dist/exports/SwipeContainer.d.ts +0 -1
  415. package/dist/exports/Switch.d.ts +0 -3
  416. package/dist/exports/TabLinks.d.ts +0 -1
  417. package/dist/exports/Table.d.ts +0 -1
  418. package/dist/exports/TextArea.d.ts +0 -1
  419. package/dist/exports/Toast.d.ts +0 -3
  420. package/dist/exports/ToastProvider.d.ts +0 -2
  421. package/dist/exports/Tooltip.d.ts +0 -2
  422. package/dist/exports/useDevice.d.ts +0 -1
  423. package/dist/hooks/useClickOutside.d.ts +0 -8
  424. package/dist/hooks/useDevice.d.ts +0 -1
  425. package/dist/hooks/useDragScroll.d.ts +0 -29
  426. package/dist/hooks/useLabelBackground.d.ts +0 -6
  427. package/dist/iconUtils-D0lVAgGT.js +0 -5
  428. package/dist/index-BOQuZ0gG.js +0 -34
  429. package/dist/index.d.ts +0 -104
  430. package/dist/jsx-runtime-GkKLlHH4.js +0 -263
  431. package/dist/lib/cn.d.ts +0 -2
  432. package/dist/lib/utils.d.ts +0 -3
  433. package/dist/prometeo-design-system.es.js +0 -996
  434. package/dist/styles.css +0 -1
  435. package/dist/styles.d.ts +0 -1
  436. package/dist/useDevice.d.ts +0 -2
  437. package/dist/useDevice.es.js +0 -13
  438. package/dist/useDragScroll-CHN9OMwn.js +0 -165
  439. package/dist/useLabelBackground-BDIHUdND.js +0 -26
  440. package/dist/vite.svg +0 -1
@@ -1,2 +0,0 @@
1
- export * from './exports/Scrollable'
2
- export {}
@@ -1,260 +0,0 @@
1
- import { j as h } from "./jsx-runtime-GkKLlHH4.js";
2
- import { useIsMobile as et } from "./useDevice.es.js";
3
- import { g as rt } from "./useLabelBackground-BDIHUdND.js";
4
- import { c as m } from "./cn-B6yFEsav.js";
5
- import { c as C } from "./index-BOQuZ0gG.js";
6
- import U, { useRef as i, useEffect as V } from "react";
7
- import { CrevronLeft as ot } from "./Icons/CrevronLeft.es.js";
8
- const _ = C(
9
- "",
10
- {
11
- variants: {
12
- axis: {
13
- x: " overflow-x-auto overflow-y-hidden",
14
- y: " overflow-y-auto overflow-x-hidden",
15
- both: " overflow-auto"
16
- }
17
- }
18
- }
19
- ), $ = C("", {
20
- variants: {
21
- position: {
22
- top: "",
23
- bottom: "",
24
- left: "",
25
- right: ""
26
- },
27
- type: {
28
- icon: " absolute z-100 rounded-full hover:scale-125 transition-all duration-300 ease-in-out shadow-xs rounded-full shadow-white/10 text-neutral-default-pressed",
29
- shadow: "absolute z-100 transition-all duration-400 ease-in-out"
30
- }
31
- },
32
- compoundVariants: [
33
- { type: "icon", position: "top", className: "rotate-90 top-0 left-1/2 -translate-x-1/2 -translate-y-1/2" },
34
- { type: "icon", position: "bottom", className: "rotate-270 bottom-0 left-1/2 -translate-x-1/2 translate-y-1/2" },
35
- { type: "icon", position: "left", className: "top-1/2 -translate-y-1/2 -translate-x-1/2" },
36
- { type: "icon", position: "right", className: "rotate-180 right-0 top-1/2 -translate-y-1/2 translate-x-1/2" },
37
- { type: "shadow", position: "top", className: "top-0 left-0 w-full h-14" },
38
- { type: "shadow", position: "bottom", className: "bottom-0 left-0 w-full h-14 rotate-180" },
39
- { type: "shadow", position: "left", className: "left-0 top-0 h-full w-5" },
40
- { type: "shadow", position: "right", className: "right-0 top-0 h-full w-5 rotate-180" }
41
- ]
42
- }), st = C("", {
43
- variants: {
44
- hide: {
45
- true: " prometeo-scrollbar-none",
46
- false: ""
47
- },
48
- size: {
49
- small: "prometeo-scrollbar-thin",
50
- medium: ""
51
- }
52
- }
53
- }), ht = (I) => {
54
- const { defaultBehavior: y = "scroll-on-click" } = I, F = et(), P = {
55
- top: { show: !0, type: "shadow", behavior: y },
56
- bottom: { show: !0, type: "shadow", behavior: y },
57
- left: { show: !0, type: "icon", behavior: y },
58
- right: { show: !0, type: "icon", behavior: y }
59
- }, G = {
60
- hide: !1,
61
- size: "medium"
62
- }, {
63
- debugMode: J = !1,
64
- className: j,
65
- axis: k = "both",
66
- children: K,
67
- indicators: v = P,
68
- scrollbarProps: R = G,
69
- disableMouseScroll: z = !1
70
- } = I, s = i({}), l = i(null), d = i(null), b = i(null), a = i(null), u = i(5), f = i({}), w = i(null), p = i(!1), Q = (e) => {
71
- if (!l.current) return 0;
72
- const { scrollTop: t, scrollLeft: r, scrollHeight: o, clientHeight: n, scrollWidth: c, clientWidth: g } = l.current;
73
- switch (e) {
74
- case "top":
75
- return Math.max(0, t);
76
- case "bottom":
77
- return Math.max(0, o - (t + n));
78
- case "left":
79
- return Math.max(0, r);
80
- case "right":
81
- return Math.max(0, c - (r + g));
82
- default:
83
- return 0;
84
- }
85
- }, x = (e, t = 100, r = !0) => {
86
- if (!l.current) return;
87
- const o = Q(e), n = Math.min(Math.abs(t), o);
88
- if (n === 0) return;
89
- const c = e === "top" || e === "left" ? -n : n, g = {
90
- top: { top: c, left: 0 },
91
- bottom: { top: c, left: 0 },
92
- left: { top: 0, left: c },
93
- right: { top: 0, left: c }
94
- };
95
- l.current.scrollBy({ ...g[e], behavior: r ? "smooth" : "auto" });
96
- }, X = (e) => {
97
- if (!l.current) return;
98
- const t = l.current, r = {
99
- top: { top: 0, left: t.scrollLeft },
100
- bottom: { top: t.scrollHeight, left: t.scrollLeft },
101
- left: { top: t.scrollTop, left: 0 },
102
- right: { top: t.scrollTop, left: t.scrollWidth }
103
- };
104
- t.scrollTo({ ...r[e], behavior: "smooth" });
105
- }, Y = (e, t) => {
106
- const r = s.current[e];
107
- if (r) {
108
- if (r.style.cursor = "pointer", t === "icon") {
109
- const o = r.querySelector("svg");
110
- o && (o.style.transition = "all 0.3s ease-in-out", o.style.transform = "scale(1.3)", o.style.backgroundColor = "rgba(255, 255, 255, 0.2)", o.style.borderRadius = "100%");
111
- } else if (t === "shadow") {
112
- const o = r.querySelector("span");
113
- o && (e === "top" || e === "bottom" ? o.style.height = "90px" : o.style.width = "40px");
114
- }
115
- }
116
- }, L = (e) => {
117
- const t = s.current[e];
118
- if (!t) return;
119
- t.style.cursor = "";
120
- const r = t.querySelector("svg");
121
- r && (r.style.transform = "", r.style.backgroundColor = "", r.style.borderRadius = "");
122
- const o = t.querySelector("span");
123
- o && (o.style.height = "", o.style.width = "");
124
- }, A = (e, t) => {
125
- if (t === "scroll-on-click" && p.current) {
126
- p.current = !1;
127
- return;
128
- }
129
- if (f.current[e]) {
130
- a.current && (clearTimeout(a.current), a.current = null), d.current && (clearInterval(d.current), d.current = null), L(e), f.current[e] = !1, X(e);
131
- return;
132
- }
133
- if (t === "scroll-on-click") {
134
- if (!l.current) return;
135
- const { clientHeight: r, clientWidth: o } = l.current, n = e === "top" || e === "bottom" ? r * 0.8 : o * 0.8;
136
- x(e, n);
137
- }
138
- }, D = (e, t) => {
139
- a.current && (clearTimeout(a.current), a.current = null), p.current = !0, u.current = 3;
140
- let r = 0;
141
- w.current = e, f.current[e] = !1, x(e, u.current, !1), d.current = setInterval(() => {
142
- r += 16;
143
- const o = r / 1e3;
144
- if (o >= 2 && !f.current[e] && (f.current[e] = !0, Y(e, t)), o <= 2)
145
- u.current = 5 + o * 0.4;
146
- else {
147
- const n = o - 2;
148
- u.current += Math.pow(n, 1.1) * 2;
149
- }
150
- u.current = Math.min(u.current, 100), x(e, u.current, !1);
151
- }, 16);
152
- }, B = (e) => {
153
- b.current && (clearTimeout(b.current), b.current = null), d.current && (clearInterval(d.current), d.current = null), u.current = 5;
154
- const t = e || w.current;
155
- t ? f.current[t] ? (a.current && clearTimeout(a.current), a.current = setTimeout(() => {
156
- L(t), f.current[t] = !1, p.current = !1;
157
- }, 1e3)) : (L(t), f.current[t] = !1, p.current = !1) : p.current = !1, w.current = null;
158
- }, W = (e, t, r) => {
159
- F || t === "scroll-on-hover" && (b.current = setTimeout(() => {
160
- D(e, r);
161
- }, 200));
162
- }, H = (e, t) => {
163
- t === "scroll-on-hover" && B(e);
164
- }, O = (e, t, r) => {
165
- t === "scroll-on-click" && (p.current = !1, b.current = setTimeout(() => {
166
- D(e, r);
167
- }, 200));
168
- }, q = (e, t) => {
169
- t === "scroll-on-click" && B(e);
170
- }, M = () => {
171
- if (!l.current) return;
172
- const e = l.current, { scrollTop: t, scrollLeft: r, scrollHeight: o, scrollWidth: n, clientHeight: c, clientWidth: g } = e, E = t <= 10, T = t + c >= o - 10, N = r <= 10, S = r + g >= n - 10;
173
- s.current.top?.classList.toggle("opacity-0", E), s.current.top?.classList.toggle("pointer-events-none", E), s.current.top?.classList.toggle("pointer-events-auto", !E), s.current.bottom?.classList.toggle("opacity-0", T), s.current.bottom?.classList.toggle("pointer-events-none", T), s.current.bottom?.classList.toggle("pointer-events-auto", !T), s.current.left?.classList.toggle("opacity-0", N), s.current.left?.classList.toggle("pointer-events-none", N), s.current.left?.classList.toggle("pointer-events-auto", !N), s.current.right?.classList.toggle("opacity-0", S), s.current.right?.classList.toggle("pointer-events-none", S), s.current.right?.classList.toggle("pointer-events-auto", !S);
174
- };
175
- V(() => {
176
- if (!l.current) return;
177
- const e = l.current;
178
- M(), e.addEventListener("scroll", M);
179
- const t = (r) => {
180
- z && r.preventDefault();
181
- };
182
- return e.addEventListener("wheel", t, { passive: !1 }), () => {
183
- e.removeEventListener("scroll", M), e.removeEventListener("wheel", t);
184
- };
185
- }, [z]), V(() => {
186
- if (!l.current) return;
187
- const e = rt(l.current);
188
- Object.entries(v).forEach(([t, r]) => {
189
- if (r?.show && r.type === "shadow") {
190
- const n = s.current[t]?.querySelector("span");
191
- if (n) {
192
- n.dataset.bgColor = e;
193
- const c = t === "left" || t === "right" ? "to right" : "to bottom";
194
- n.style.background = `linear-gradient(${c}, ${e} 40%, transparent)`, n.style.background = `linear-gradient(${c}, ${e} 40%, transparent)`;
195
- }
196
- }
197
- });
198
- }, [v]);
199
- const Z = U.Children.toArray(K), tt = Object.values(v).some((e) => e?.show && e?.type === "icon");
200
- return /* @__PURE__ */ h.jsxs("div", { className: m("relative p-0", j, _({ axis: k }), "scrolleable", tt ? "overflow-visible" : "overflow-hidden!"), children: [
201
- /* @__PURE__ */ h.jsx(
202
- "div",
203
- {
204
- ref: l,
205
- className: m(
206
- J && "border border-red-900 border-dashed",
207
- j,
208
- "py-2 relative w-full h-full min-h-full",
209
- _({ axis: k }),
210
- st({ hide: R?.hide, size: R?.size }),
211
- ""
212
- ),
213
- children: Z?.map((e) => U.cloneElement(e, { className: m(e?.props?.className, "shrink-0! pointer-events-auto") }))
214
- }
215
- ),
216
- /* @__PURE__ */ h.jsx("div", { className: "h-full w-full z-10 absolute inset-0 pointer-events-none overflow-hidden rounded-[inherit]", children: Object.entries(v).map(([e, t]) => {
217
- if (!t?.show || t.type !== "shadow") return null;
218
- const r = e;
219
- return /* @__PURE__ */ h.jsx(
220
- "span",
221
- {
222
- ref: (o) => {
223
- s.current[e] = o;
224
- },
225
- className: m("cursor-default transition-all duration-500 ease-in-out z-100"),
226
- onClick: () => A(r, t.behavior),
227
- onMouseEnter: () => W(r, t.behavior, t.type),
228
- onMouseLeave: () => H(r, t.behavior),
229
- onMouseDown: () => O(r, t.behavior, t.type),
230
- onMouseUp: () => q(r, t.behavior),
231
- children: /* @__PURE__ */ h.jsx("span", { className: m($({ position: r, type: "shadow" }), t.className) })
232
- },
233
- e
234
- );
235
- }) }),
236
- /* @__PURE__ */ h.jsx("div", { className: "h-full w-full z-20 absolute inset-0 pointer-events-none", children: Object.entries(v).map(([e, t]) => {
237
- if (!t?.show || t.type !== "icon") return null;
238
- const r = e;
239
- return /* @__PURE__ */ h.jsx(
240
- "span",
241
- {
242
- ref: (o) => {
243
- s.current[e] = o;
244
- },
245
- className: "pointer-events-auto cursor-default transition-all duration-300 opacity-0",
246
- onClick: () => A(r, t.behavior),
247
- onMouseEnter: () => W(r, t.behavior, t.type),
248
- onMouseLeave: () => H(r, t.behavior),
249
- onMouseDown: () => O(r, t.behavior, t.type),
250
- onMouseUp: () => q(r, t.behavior),
251
- children: /* @__PURE__ */ h.jsx(ot, { size: 20, className: m($({ position: r, type: "icon" }), t.className) })
252
- },
253
- e
254
- );
255
- }) })
256
- ] });
257
- };
258
- export {
259
- ht as Scrollable
260
- };
@@ -1,6 +0,0 @@
1
- export * from './exports/SegmentedButton'
2
- export {}
3
- import PrometeoDesignSystem from './exports/SegmentedButton'
4
- export default PrometeoDesignSystem
5
- export * from './exports/SegmentedButton'
6
- export {}
@@ -1,185 +0,0 @@
1
- import { j as u } from "./jsx-runtime-GkKLlHH4.js";
2
- import { c as s } from "./cn-B6yFEsav.js";
3
- import z, { useState as M, useMemo as C, useEffect as L } from "react";
4
- import { motion as E } from "framer-motion";
5
- const X = (T) => {
6
- const [c, _] = M({}), { size: t = "medium", color: R = "default", options: l, value: h, name: x, onChange: j, icon: y, allowExpand: n = !1, disabled: d = !1 } = T, m = Math.max(l.findIndex((e) => e.value === h), 0), w = l.length, N = 9, b = 26, o = {
7
- small: 120,
8
- medium: 120,
9
- large: 120
10
- }, a = {
11
- small: 94,
12
- medium: 94,
13
- large: 94
14
- }, k = 16, S = {
15
- small: { container: "p-2" },
16
- medium: { container: "p-4 h-[48px] rounded-lg" },
17
- large: { container: "p-6" }
18
- }, f = {
19
- default: {
20
- switch: "bg-primary-medium-default text-neutral-weak-default",
21
- container: "border-neutral-default-default",
22
- icon: "text-neutral-weak-default",
23
- option: "text-neutral-medium-pressed"
24
- },
25
- success: {
26
- switch: "bg-success-medium-default text-neutral-weak-default",
27
- container: "border-neutral-default-default",
28
- icon: "text-neutral-weak-default",
29
- option: "text-neutral-medium-pressed"
30
- },
31
- danger: {
32
- switch: "bg-error-medium-default text-neutral-weak-default",
33
- container: "border-neutral-default-default",
34
- icon: "text-neutral-weak-default",
35
- option: "text-neutral-medium-pressed"
36
- },
37
- warning: {
38
- switch: "bg-warning-medium-default text-neutral-weak-default",
39
- container: "border-neutral-default-default",
40
- icon: "text-neutral-weak-default",
41
- option: "text-neutral-medium-pressed"
42
- },
43
- disabled: {
44
- switch: "bg-primary-medium-disabled text-neutral-strong-disabled",
45
- container: "border-neutral-default-disabled",
46
- icon: "text-neutral-strong-disabled",
47
- option: "text-neutral-medium-pressed"
48
- }
49
- }, I = l.find((e) => e.value === h) ?? l[0], g = I.label.length * N + k * 2 + b, W = () => C(() => Object.values(c).reduce((i, r) => i + r, 0) + b, [c]), v = {
50
- small: n ? W() : (w - 1) * a.small + o.small,
51
- medium: n ? W() : (w - 1) * a.medium + o.medium,
52
- large: n ? W() : (w - 1) * a.large + o.large
53
- };
54
- L(() => {
55
- if (!n) return;
56
- let e = {};
57
- l.forEach((i, r) => {
58
- e[r] = i.label.length * N + k * 2;
59
- }), _(e);
60
- }, []);
61
- const H = C(() => n ? Object.values(c).reduce((e, i, r) => r < m ? e + i : e, 0) : Math.max(m * a[t] - 2, 0), [m]), D = () => {
62
- if (d) return;
63
- const e = m === l.length - 1 ? l[0] : l[m + 1];
64
- j?.(x, e.value);
65
- }, p = d ? "disabled" : R;
66
- return /* @__PURE__ */ u.jsxs(
67
- "button",
68
- {
69
- name: x,
70
- type: "button",
71
- style: {
72
- width: v[t],
73
- minWidth: v[t],
74
- maxWidth: v[t]
75
- },
76
- className: s(
77
- S[t].container,
78
- f[p].container,
79
- "border",
80
- !d && "cursor-pointer",
81
- "relative"
82
- ),
83
- children: [
84
- /* @__PURE__ */ u.jsxs(
85
- E.div,
86
- {
87
- animate: {
88
- left: `${H}px`,
89
- width: n ? g : o[t],
90
- minWidth: n ? g : o[t],
91
- maxWidth: n ? g : o[t]
92
- },
93
- transition: {
94
- type: "spring",
95
- stiffness: 260,
96
- damping: 30
97
- },
98
- className: s(
99
- "absolute top-0 left-0 h-full rounded-[6px] z-30",
100
- "flex items-center justify-center gap-[2px] p-4",
101
- f[p].switch
102
- ),
103
- onClick: () => {
104
- !d && D();
105
- },
106
- children: [
107
- y && z.cloneElement(y, { className: s(
108
- "w-6 h-6 text-neutral-weak-default min-w-6 min-h-6",
109
- f[p].icon
110
- ) }),
111
- /* @__PURE__ */ u.jsx(
112
- "p",
113
- {
114
- className: s(
115
- "prometeo-fonts-label-large ",
116
- " overflow-hidden overflow-ellipsis text-nowrap select-none ",
117
- f[p].switch
118
- ),
119
- children: I.label
120
- }
121
- )
122
- ]
123
- }
124
- ),
125
- /* @__PURE__ */ u.jsx(
126
- "div",
127
- {
128
- className: s(
129
- "absolute top-0 left-0 w-full h-full overflow-hidden",
130
- "flex justify-center"
131
- ),
132
- children: l?.map((e, i) => {
133
- const r = e.value === (h || l[0].value), A = n ? c[i] + b : o[t], P = n ? c[i] : a[t], O = r ? A : P;
134
- return /* @__PURE__ */ u.jsx(
135
- E.span,
136
- {
137
- onClick: () => {
138
- !d && j?.(x, e.value);
139
- },
140
- animate: {
141
- width: O,
142
- minWidth: O,
143
- maxWidth: O
144
- },
145
- transition: {
146
- duration: 0.3,
147
- delay: 0
148
- },
149
- className: s(
150
- "z-20 h-full ",
151
- "flex items-center justify-center px-3 py-[6px]",
152
- "prometeo-fonts-label-large text-neutral-medium-default",
153
- " overflow-hidden select-none ",
154
- !d && "cursor-pointer"
155
- ),
156
- "aria-label": e.label,
157
- children: /* @__PURE__ */ u.jsx(
158
- "p",
159
- {
160
- style: {
161
- width: n ? "max-content" : a[t],
162
- minWidth: n ? "max-content" : a[t],
163
- maxWidth: n ? "max-content" : a[t]
164
- },
165
- className: s(
166
- "px-3 place-content-center overflow-hidden text-ellipsis text-wrap prometeo-fonts-label-large h-full select-none",
167
- f[p].option
168
- ),
169
- children: e.label
170
- }
171
- )
172
- },
173
- e.value
174
- );
175
- })
176
- }
177
- )
178
- ]
179
- }
180
- );
181
- };
182
- export {
183
- X as SegmentedButton,
184
- X as default
185
- };