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.
- package/package.json +17 -1
- package/dist/Avatar.d.ts +0 -4
- package/dist/Avatar.es.js +0 -94
- package/dist/Button.d.ts +0 -6
- package/dist/Button.es.js +0 -400
- package/dist/CardProfile-y9Knsg26.js +0 -280
- package/dist/CardProfile.d.ts +0 -6
- package/dist/CardProfile.es.js +0 -5
- package/dist/CheckBox.d.ts +0 -6
- package/dist/CheckBox.es.js +0 -112
- package/dist/DatePicker-CehTiXGa.js +0 -3631
- package/dist/DatePicker.d.ts +0 -6
- package/dist/DatePicker.es.js +0 -5
- package/dist/DialogModal.d.ts +0 -6
- package/dist/DialogModal.es.js +0 -75
- package/dist/DrawerDesktop.d.ts +0 -6
- package/dist/DrawerDesktop.es.js +0 -217
- package/dist/DrawerMobile.d.ts +0 -6
- package/dist/DrawerMobile.es.js +0 -243
- package/dist/DropZone.d.ts +0 -6
- package/dist/DropZone.es.js +0 -88
- package/dist/FAButton.d.ts +0 -4
- package/dist/FAButton.es.js +0 -111
- package/dist/Header.d.ts +0 -6
- package/dist/Header.es.js +0 -32
- package/dist/HelperComponent-ljsn0xD6.js +0 -26
- package/dist/Icons/AccountCircle.d.ts +0 -6
- package/dist/Icons/AccountCircle.es.js +0 -21
- package/dist/Icons/Add.d.ts +0 -6
- package/dist/Icons/Add.es.js +0 -19
- package/dist/Icons/ArrowLeft.d.ts +0 -6
- package/dist/Icons/ArrowLeft.es.js +0 -19
- package/dist/Icons/ArrowUpDown.d.ts +0 -6
- package/dist/Icons/ArrowUpDown.es.js +0 -21
- package/dist/Icons/AttachFile.d.ts +0 -6
- package/dist/Icons/AttachFile.es.js +0 -19
- package/dist/Icons/Boards.d.ts +0 -6
- package/dist/Icons/Boards.es.js +0 -19
- package/dist/Icons/Calendar.d.ts +0 -6
- package/dist/Icons/Calendar.es.js +0 -19
- package/dist/Icons/Cancel.d.ts +0 -6
- package/dist/Icons/Cancel.es.js +0 -19
- package/dist/Icons/Check.d.ts +0 -6
- package/dist/Icons/Check.es.js +0 -19
- package/dist/Icons/CheckCircle.d.ts +0 -6
- package/dist/Icons/CheckCircle.es.js +0 -21
- package/dist/Icons/CheckList.d.ts +0 -6
- package/dist/Icons/CheckList.es.js +0 -25
- package/dist/Icons/ChevronDown.d.ts +0 -6
- package/dist/Icons/ChevronDown.es.js +0 -21
- package/dist/Icons/Clock.d.ts +0 -6
- package/dist/Icons/Clock.es.js +0 -19
- package/dist/Icons/Close.d.ts +0 -6
- package/dist/Icons/Close.es.js +0 -19
- package/dist/Icons/CloseNavBarDesktop.d.ts +0 -6
- package/dist/Icons/CloseNavBarDesktop.es.js +0 -36
- package/dist/Icons/Collapse.d.ts +0 -6
- package/dist/Icons/Collapse.es.js +0 -19
- package/dist/Icons/Company.d.ts +0 -6
- package/dist/Icons/Company.es.js +0 -25
- package/dist/Icons/Copy.d.ts +0 -6
- package/dist/Icons/Copy.es.js +0 -19
- package/dist/Icons/CrevronLeft.d.ts +0 -6
- package/dist/Icons/CrevronLeft.es.js +0 -21
- package/dist/Icons/CrevronRight.d.ts +0 -6
- package/dist/Icons/CrevronRight.es.js +0 -21
- package/dist/Icons/DocumentFill.d.ts +0 -6
- package/dist/Icons/DocumentFill.es.js +0 -27
- package/dist/Icons/Download.d.ts +0 -6
- package/dist/Icons/Download.es.js +0 -25
- package/dist/Icons/Edit.d.ts +0 -6
- package/dist/Icons/Edit.es.js +0 -19
- package/dist/Icons/EditFill.d.ts +0 -6
- package/dist/Icons/EditFill.es.js +0 -25
- package/dist/Icons/Email.d.ts +0 -6
- package/dist/Icons/Email.es.js +0 -25
- package/dist/Icons/Error.d.ts +0 -6
- package/dist/Icons/Error.es.js +0 -19
- package/dist/Icons/EyeVisibility.d.ts +0 -6
- package/dist/Icons/EyeVisibility.es.js +0 -21
- package/dist/Icons/EyeVisibilityOff.d.ts +0 -6
- package/dist/Icons/EyeVisibilityOff.es.js +0 -21
- package/dist/Icons/FaLock.d.ts +0 -6
- package/dist/Icons/FaLock.es.js +0 -19
- package/dist/Icons/FastForward.d.ts +0 -6
- package/dist/Icons/FastForward.es.js +0 -27
- package/dist/Icons/File.d.ts +0 -6
- package/dist/Icons/File.es.js +0 -25
- package/dist/Icons/Filter.d.ts +0 -6
- package/dist/Icons/Filter.es.js +0 -19
- package/dist/Icons/FormatColorText.d.ts +0 -6
- package/dist/Icons/FormatColorText.es.js +0 -26
- package/dist/Icons/Help.d.ts +0 -6
- package/dist/Icons/Help.es.js +0 -19
- package/dist/Icons/HistoryActivity.d.ts +0 -6
- package/dist/Icons/HistoryActivity.es.js +0 -21
- package/dist/Icons/Home.d.ts +0 -6
- package/dist/Icons/Home.es.js +0 -19
- package/dist/Icons/Image.d.ts +0 -6
- package/dist/Icons/Image.es.js +0 -25
- package/dist/Icons/Info.d.ts +0 -6
- package/dist/Icons/Info.es.js +0 -19
- package/dist/Icons/Logout.d.ts +0 -6
- package/dist/Icons/Logout.es.js +0 -19
- package/dist/Icons/MessageSquare.d.ts +0 -6
- package/dist/Icons/MessageSquare.es.js +0 -21
- package/dist/Icons/MessageSquareFill.d.ts +0 -6
- package/dist/Icons/MessageSquareFill.es.js +0 -27
- package/dist/Icons/MoreVert.d.ts +0 -6
- package/dist/Icons/MoreVert.es.js +0 -19
- package/dist/Icons/Notifications.d.ts +0 -6
- package/dist/Icons/Notifications.es.js +0 -21
- package/dist/Icons/Pause.d.ts +0 -6
- package/dist/Icons/Pause.es.js +0 -19
- package/dist/Icons/Reload.d.ts +0 -6
- package/dist/Icons/Reload.es.js +0 -25
- package/dist/Icons/Search.d.ts +0 -6
- package/dist/Icons/Search.es.js +0 -19
- package/dist/Icons/Settings.d.ts +0 -6
- package/dist/Icons/Settings.es.js +0 -19
- package/dist/Icons/Shared.d.ts +0 -6
- package/dist/Icons/Shared.es.js +0 -19
- package/dist/Icons/Sort.d.ts +0 -6
- package/dist/Icons/Sort.es.js +0 -19
- package/dist/Icons/Stars.d.ts +0 -6
- package/dist/Icons/Stars.es.js +0 -19
- package/dist/Icons/Ticket.d.ts +0 -6
- package/dist/Icons/Ticket.es.js +0 -19
- package/dist/Icons/TicketFilled.d.ts +0 -6
- package/dist/Icons/TicketFilled.es.js +0 -21
- package/dist/Icons/Trash.d.ts +0 -6
- package/dist/Icons/Trash.es.js +0 -19
- package/dist/Icons/TrashFill.d.ts +0 -6
- package/dist/Icons/TrashFill.es.js +0 -25
- package/dist/Icons/Upload.d.ts +0 -6
- package/dist/Icons/Upload.es.js +0 -19
- package/dist/Icons/UploadCloud.d.ts +0 -6
- package/dist/Icons/UploadCloud.es.js +0 -21
- package/dist/Icons/UserAdd.d.ts +0 -6
- package/dist/Icons/UserAdd.es.js +0 -19
- package/dist/Icons/UserAddFill.d.ts +0 -6
- package/dist/Icons/UserAddFill.es.js +0 -27
- package/dist/Icons/UserPerson.d.ts +0 -6
- package/dist/Icons/UserPerson.es.js +0 -19
- package/dist/Icons/WhatsApp.d.ts +0 -6
- package/dist/Icons/WhatsApp.es.js +0 -76
- package/dist/Icons/components/AccountCircle.d.ts +0 -4
- package/dist/Icons/components/Add.d.ts +0 -4
- package/dist/Icons/components/ArrowLeft.d.ts +0 -4
- package/dist/Icons/components/ArrowUpDown.d.ts +0 -4
- package/dist/Icons/components/AttachFile.d.ts +0 -4
- package/dist/Icons/components/Boards.d.ts +0 -4
- package/dist/Icons/components/Calendar.d.ts +0 -4
- package/dist/Icons/components/Cancel.d.ts +0 -4
- package/dist/Icons/components/Check.d.ts +0 -4
- package/dist/Icons/components/CheckCircle.d.ts +0 -4
- package/dist/Icons/components/CheckList.d.ts +0 -4
- package/dist/Icons/components/ChevronDown.d.ts +0 -4
- package/dist/Icons/components/Clock.d.ts +0 -4
- package/dist/Icons/components/Close.d.ts +0 -4
- package/dist/Icons/components/CloseNavBarDesktop.d.ts +0 -4
- package/dist/Icons/components/Collapse.d.ts +0 -4
- package/dist/Icons/components/Company.d.ts +0 -4
- package/dist/Icons/components/Copy.d.ts +0 -4
- package/dist/Icons/components/CrevronLeft.d.ts +0 -4
- package/dist/Icons/components/CrevronRight.d.ts +0 -4
- package/dist/Icons/components/DocumentFill.d.ts +0 -4
- package/dist/Icons/components/Download.d.ts +0 -4
- package/dist/Icons/components/Edit.d.ts +0 -4
- package/dist/Icons/components/EditFill.d.ts +0 -4
- package/dist/Icons/components/Email.d.ts +0 -4
- package/dist/Icons/components/Error.d.ts +0 -4
- package/dist/Icons/components/EyeVisibility.d.ts +0 -4
- package/dist/Icons/components/EyeVisibilityOff.d.ts +0 -4
- package/dist/Icons/components/FaLock.d.ts +0 -4
- package/dist/Icons/components/FastForward.d.ts +0 -4
- package/dist/Icons/components/File.d.ts +0 -4
- package/dist/Icons/components/Filter.d.ts +0 -4
- package/dist/Icons/components/FormatColorText.d.ts +0 -4
- package/dist/Icons/components/Help.d.ts +0 -4
- package/dist/Icons/components/HistoryActivity.d.ts +0 -4
- package/dist/Icons/components/Home.d.ts +0 -4
- package/dist/Icons/components/Image.d.ts +0 -4
- package/dist/Icons/components/Info.d.ts +0 -4
- package/dist/Icons/components/Logout.d.ts +0 -4
- package/dist/Icons/components/MessageSquare.d.ts +0 -4
- package/dist/Icons/components/MessageSquareFill.d.ts +0 -4
- package/dist/Icons/components/MoreVert.d.ts +0 -4
- package/dist/Icons/components/Notifications.d.ts +0 -4
- package/dist/Icons/components/Pause.d.ts +0 -4
- package/dist/Icons/components/Reload.d.ts +0 -4
- package/dist/Icons/components/Search.d.ts +0 -4
- package/dist/Icons/components/Settings.d.ts +0 -4
- package/dist/Icons/components/Shared.d.ts +0 -4
- package/dist/Icons/components/Sort.d.ts +0 -4
- package/dist/Icons/components/Stars.d.ts +0 -4
- package/dist/Icons/components/Ticket.d.ts +0 -4
- package/dist/Icons/components/TicketFilled.d.ts +0 -4
- package/dist/Icons/components/Trash.d.ts +0 -4
- package/dist/Icons/components/TrashFill.d.ts +0 -4
- package/dist/Icons/components/Upload.d.ts +0 -4
- package/dist/Icons/components/UploadCloud.d.ts +0 -4
- package/dist/Icons/components/UserAdd.d.ts +0 -4
- package/dist/Icons/components/UserAddFill.d.ts +0 -4
- package/dist/Icons/components/UserPerson.d.ts +0 -4
- package/dist/Icons/components/WhatsApp.d.ts +0 -4
- package/dist/Icons/iconUtils.d.ts +0 -7
- package/dist/Icons/index.d.ts +0 -62
- package/dist/Icons/types.d.ts +0 -124
- package/dist/Icons.d.ts +0 -2
- package/dist/Icons.es.js +0 -122
- package/dist/Image.d.ts +0 -4
- package/dist/Image.es.js +0 -91
- package/dist/ImageGallery-DG9ovlQ-.js +0 -319
- package/dist/ImageGallery.d.ts +0 -6
- package/dist/ImageGallery.es.js +0 -23
- package/dist/Input.d.ts +0 -6
- package/dist/Input.es.js +0 -220
- package/dist/InputMultiple.d.ts +0 -6
- package/dist/InputMultiple.es.js +0 -265
- package/dist/LayoutGeneric-CfWhV1ov.js +0 -26
- package/dist/LayoutGeneric.d.ts +0 -6
- package/dist/LayoutGeneric.es.js +0 -4
- package/dist/Logo.d.ts +0 -4
- package/dist/Logo.es.js +0 -9
- package/dist/Menu.d.ts +0 -6
- package/dist/Menu.es.js +0 -77
- package/dist/OtpInput.d.ts +0 -6
- package/dist/OtpInput.es.js +0 -302
- package/dist/Pagination.d.ts +0 -6
- package/dist/Pagination.es.js +0 -97
- package/dist/ProfilePictureUpload.d.ts +0 -6
- package/dist/ProfilePictureUpload.es.js +0 -189
- package/dist/ProgressBar.d.ts +0 -6
- package/dist/ProgressBar.es.js +0 -70
- package/dist/RadioButton.d.ts +0 -6
- package/dist/RadioButton.es.js +0 -78
- package/dist/RecurrentDatePicker.d.ts +0 -2
- package/dist/RecurrentDatePicker.es.js +0 -694
- package/dist/RecurrentDatePickerRRule.d.ts +0 -2
- package/dist/RecurrentDatePickerRRule.es.js +0 -1682
- package/dist/Scrollable.d.ts +0 -2
- package/dist/Scrollable.es.js +0 -260
- package/dist/SegmentedButton.d.ts +0 -6
- package/dist/SegmentedButton.es.js +0 -185
- package/dist/Select-BdxmkrjB.js +0 -1111
- package/dist/Select.d.ts +0 -6
- package/dist/Select.es.js +0 -4
- package/dist/SelectSearch.d.ts +0 -6
- package/dist/SelectSearch.es.js +0 -283
- package/dist/Skeleton.d.ts +0 -6
- package/dist/Skeleton.es.js +0 -74
- package/dist/Spinner.d.ts +0 -6
- package/dist/Spinner.es.js +0 -178
- package/dist/Steps.d.ts +0 -6
- package/dist/Steps.es.js +0 -214
- package/dist/SwipeContainer.d.ts +0 -4
- package/dist/SwipeContainer.es.js +0 -185
- package/dist/Switch.d.ts +0 -6
- package/dist/Switch.es.js +0 -97
- package/dist/TabLinks.d.ts +0 -4
- package/dist/TabLinks.es.js +0 -94
- package/dist/Table.d.ts +0 -2
- package/dist/Table.es.js +0 -121
- package/dist/TextArea.d.ts +0 -4
- package/dist/TextArea.es.js +0 -66
- package/dist/Toast.d.ts +0 -6
- package/dist/Toast.es.js +0 -150
- package/dist/ToastProvider.d.ts +0 -6
- package/dist/ToastProvider.es.js +0 -6
- package/dist/Tooltip.d.ts +0 -6
- package/dist/Tooltip.es.js +0 -62
- package/dist/assets/psmlogo.png +0 -0
- package/dist/cn-B6yFEsav.js +0 -8
- package/dist/components/Autocomplete/Autocomplete.d.ts +0 -20
- package/dist/components/Autocomplete/useAutocomplete.d.ts +0 -43
- package/dist/components/Avatar/Avatar.d.ts +0 -11
- package/dist/components/Avatar/index.d.ts +0 -1
- package/dist/components/Button/Button.d.ts +0 -23
- package/dist/components/Button/index.d.ts +0 -2
- package/dist/components/Card/Card.d.ts +0 -12
- package/dist/components/CardProfile/CardProfile.d.ts +0 -55
- package/dist/components/CheckBox/CheckBox.d.ts +0 -11
- package/dist/components/DatePicker/DatePicker.d.ts +0 -82
- package/dist/components/Dialog/Dialog.d.ts +0 -35
- package/dist/components/Dialog/DialogV2.d.ts +0 -35
- package/dist/components/Dialog/useDialogControl.d.ts +0 -8
- package/dist/components/Drawer/DrawerDesktop.d.ts +0 -21
- package/dist/components/Drawer/DrawerMobile.d.ts +0 -24
- package/dist/components/Drawer/useDrawerDesktop.d.ts +0 -8
- package/dist/components/Drawer/useDrawerMobile.d.ts +0 -8
- package/dist/components/DropZone/DropZone.d.ts +0 -16
- package/dist/components/DropZone/DropzoneCompossable.d.ts +0 -54
- package/dist/components/DropZone/useFileDropzone.d.ts +0 -21
- package/dist/components/FAB/FAButton.d.ts +0 -21
- package/dist/components/FileCard/FileCard.d.ts +0 -52
- package/dist/components/Header/Header.d.ts +0 -11
- package/dist/components/Image/GalleryPreview.d.ts +0 -8
- package/dist/components/Image/Image.d.ts +0 -23
- package/dist/components/Image/ImageGallery.d.ts +0 -18
- package/dist/components/Image/LightBox.d.ts +0 -14
- package/dist/components/Image/index.d.ts +0 -5
- package/dist/components/Image/useImageGallery.d.ts +0 -10
- package/dist/components/Input/Input.d.ts +0 -34
- package/dist/components/InputMultiple/InputMultiple.d.ts +0 -25
- package/dist/components/Layout/LayoutGeneric.d.ts +0 -6
- package/dist/components/Logo/Logo.d.ts +0 -2
- package/dist/components/Menu/MenuComposable.d.ts +0 -15
- package/dist/components/NavigationDrawer/NavItemSecondary.d.ts +0 -10
- package/dist/components/NavigationDrawer/NavigationDrawer.d.ts +0 -49
- package/dist/components/NavigationDrawer/NavigationDrawerActionItem.d.ts +0 -16
- package/dist/components/NavigationDrawer/NavigationDrawerActions.d.ts +0 -9
- package/dist/components/NavigationDrawer/NavigationDrawerItemBase.d.ts +0 -18
- package/dist/components/NavigationDrawer/NavigationDrawerLinkItem.d.ts +0 -30
- package/dist/components/NavigationDrawer/NavigationDrawerNavlinks.d.ts +0 -11
- package/dist/components/NavigationDrawer/index.d.ts +0 -2
- package/dist/components/NotificationCard/NotificationCard.d.ts +0 -25
- package/dist/components/OtpInput/OtpInput.d.ts +0 -30
- package/dist/components/Pagination/Pagination.d.ts +0 -6
- package/dist/components/ProfilePictureUpload/ProfilePictureUpload.d.ts +0 -19
- package/dist/components/ProgressBar/ProgressBar.d.ts +0 -18
- package/dist/components/PyrionNavigationDrawer/PyrionHelpSection.d.ts +0 -8
- package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawer.d.ts +0 -130
- package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawerMobileAppSwitcher.d.ts +0 -10
- package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawerSystemLogo.d.ts +0 -7
- package/dist/components/PyrionNavigationDrawer/PyrionNotificationsList.d.ts +0 -8
- package/dist/components/PyrionNavigationDrawer/SidebarContent.d.ts +0 -13
- package/dist/components/PyrionNavigationDrawer/SystemSessions.d.ts +0 -12
- package/dist/components/RadioButton/RadioButton.d.ts +0 -14
- package/dist/components/RecurrentDatePicker/CustomFrequencySettings.d.ts +0 -40
- package/dist/components/RecurrentDatePicker/FrequencySettings.d.ts +0 -13
- package/dist/components/RecurrentDatePicker/MonthlyFrequencySettings.d.ts +0 -35
- package/dist/components/RecurrentDatePicker/PreviewCalendar.d.ts +0 -5
- package/dist/components/RecurrentDatePicker/RecurrentDatePicker.d.ts +0 -39
- package/dist/components/RecurrentDatePicker/RecurrentDatePickerRRule.d.ts +0 -13
- package/dist/components/RecurrentDatePicker/WeekdaysSelector.d.ts +0 -13
- package/dist/components/RecurrentDatePicker/WeeklyFrequencySetting.d.ts +0 -9
- package/dist/components/RecurrentDatePicker/YearlyFrequencySettings.d.ts +0 -21
- package/dist/components/RecurrentDatePicker/recurrentDatePicker.validations.d.ts +0 -69
- package/dist/components/Scrollable/Scrollable.d.ts +0 -31
- package/dist/components/SegmentedButton/SegmentedButton.d.ts +0 -20
- package/dist/components/Select/Select.d.ts +0 -123
- package/dist/components/SelectSearch/SelectSearch.d.ts +0 -40
- package/dist/components/Shared/Chip.d.ts +0 -15
- package/dist/components/Shared/HelperComponent.d.ts +0 -13
- package/dist/components/Sidebar/SecondaryBar/SecondaryBar.d.ts +0 -32
- package/dist/components/Sidebar/SecondaryBar/hooks/useSecondaryBarAnimation.d.ts +0 -2
- package/dist/components/Sidebar/SecondaryBar/index.d.ts +0 -1
- package/dist/components/Sidebar/SidebarComposable.d.ts +0 -43
- package/dist/components/Sidebar/components/NavigationLink.d.ts +0 -11
- package/dist/components/Sidebar/components/badge.d.ts +0 -10
- package/dist/components/Sidebar/components/changue-account.d.ts +0 -5
- package/dist/components/Sidebar/components/collapse-button.d.ts +0 -5
- package/dist/components/Sidebar/components/company-logo.d.ts +0 -5
- package/dist/components/Sidebar/components/nav-actions.d.ts +0 -7
- package/dist/components/Sidebar/components/nav-links.d.ts +0 -7
- package/dist/components/Sidebar/context/SidebarContext.d.ts +0 -13
- package/dist/components/Sidebar/hooks/SidebarProvider.d.ts +0 -3
- package/dist/components/Sidebar/hooks/useNavBarActions.d.ts +0 -9
- package/dist/components/Sidebar/hooks/useNavBarCollapse.d.ts +0 -4
- package/dist/components/Sidebar/hooks/useNavLinks.d.ts +0 -32
- package/dist/components/Sidebar/hooks/useSidebarHook.d.ts +0 -13
- package/dist/components/Sidebar/index.d.ts +0 -12
- package/dist/components/Sidebar/ui/useNavbarAnimation.d.ts +0 -2
- package/dist/components/Skeleton/Skeleton.d.ts +0 -13
- package/dist/components/Spinner/Spinner.d.ts +0 -12
- package/dist/components/Steps/Steps.d.ts +0 -21
- package/dist/components/SwipeContainer/SwipeContainer.d.ts +0 -19
- package/dist/components/Switch/Switch.d.ts +0 -11
- package/dist/components/TabLinks/TabLinks.d.ts +0 -23
- package/dist/components/TabSwitch/TabSwitch.d.ts +0 -16
- package/dist/components/Table/Table.d.ts +0 -14
- package/dist/components/Table/TableWithPagination.d.ts +0 -11
- package/dist/components/TextArea/TextArea.d.ts +0 -15
- package/dist/components/TicketCard/TicketCard.d.ts +0 -32
- package/dist/components/Toaster/ToastProvider.d.ts +0 -5
- package/dist/components/Toaster/Toaster.d.ts +0 -36
- package/dist/components/Tooltip/Tootip.d.ts +0 -10
- package/dist/components/UserCard/UserCard.d.ts +0 -12
- package/dist/exports/Autocomplete.d.ts +0 -1
- package/dist/exports/Avatar.d.ts +0 -1
- package/dist/exports/Button.d.ts +0 -2
- package/dist/exports/CardProfile.d.ts +0 -3
- package/dist/exports/CheckBox.d.ts +0 -2
- package/dist/exports/DatePicker.d.ts +0 -3
- package/dist/exports/DialogModal.d.ts +0 -2
- package/dist/exports/DrawerDesktop.d.ts +0 -4
- package/dist/exports/DrawerMobile.d.ts +0 -4
- package/dist/exports/DropZone.d.ts +0 -3
- package/dist/exports/FAButton.d.ts +0 -1
- package/dist/exports/Header.d.ts +0 -2
- package/dist/exports/Icons.d.ts +0 -1
- package/dist/exports/Image.d.ts +0 -1
- package/dist/exports/ImageGallery.d.ts +0 -2
- package/dist/exports/Input.d.ts +0 -2
- package/dist/exports/InputMultiple.d.ts +0 -3
- package/dist/exports/LayoutGeneric.d.ts +0 -2
- package/dist/exports/Logo.d.ts +0 -1
- package/dist/exports/Menu.d.ts +0 -3
- package/dist/exports/OtpInput.d.ts +0 -2
- package/dist/exports/Pagination.d.ts +0 -2
- package/dist/exports/ProfilePictureUpload.d.ts +0 -3
- package/dist/exports/ProgressBar.d.ts +0 -2
- package/dist/exports/RadioButton.d.ts +0 -3
- package/dist/exports/RecurrentDatePicker.d.ts +0 -5
- package/dist/exports/RecurrentDatePickerRRule.d.ts +0 -2
- package/dist/exports/Scrollable.d.ts +0 -2
- package/dist/exports/SegmentedButton.d.ts +0 -3
- package/dist/exports/Select.d.ts +0 -5
- package/dist/exports/SelectSearch.d.ts +0 -3
- package/dist/exports/Skeleton.d.ts +0 -3
- package/dist/exports/Spinner.d.ts +0 -3
- package/dist/exports/Steps.d.ts +0 -3
- package/dist/exports/SwipeContainer.d.ts +0 -1
- package/dist/exports/Switch.d.ts +0 -3
- package/dist/exports/TabLinks.d.ts +0 -1
- package/dist/exports/Table.d.ts +0 -1
- package/dist/exports/TextArea.d.ts +0 -1
- package/dist/exports/Toast.d.ts +0 -3
- package/dist/exports/ToastProvider.d.ts +0 -2
- package/dist/exports/Tooltip.d.ts +0 -2
- package/dist/exports/useDevice.d.ts +0 -1
- package/dist/hooks/useClickOutside.d.ts +0 -8
- package/dist/hooks/useDevice.d.ts +0 -1
- package/dist/hooks/useDragScroll.d.ts +0 -29
- package/dist/hooks/useLabelBackground.d.ts +0 -6
- package/dist/iconUtils-D0lVAgGT.js +0 -5
- package/dist/index-BOQuZ0gG.js +0 -34
- package/dist/index.d.ts +0 -104
- package/dist/jsx-runtime-GkKLlHH4.js +0 -263
- package/dist/lib/cn.d.ts +0 -2
- package/dist/lib/utils.d.ts +0 -3
- package/dist/prometeo-design-system.es.js +0 -996
- package/dist/styles.css +0 -1
- package/dist/styles.d.ts +0 -1
- package/dist/useDevice.d.ts +0 -2
- package/dist/useDevice.es.js +0 -13
- package/dist/useDragScroll-CHN9OMwn.js +0 -165
- package/dist/useLabelBackground-BDIHUdND.js +0 -26
- package/dist/vite.svg +0 -1
|
@@ -1,280 +0,0 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-GkKLlHH4.js";
|
|
2
|
-
import { c as i } from "./cn-B6yFEsav.js";
|
|
3
|
-
import { motion as l, AnimatePresence as d } from "framer-motion";
|
|
4
|
-
import u from "./Avatar.es.js";
|
|
5
|
-
import { ChevronDown as f } from "./Icons/ChevronDown.es.js";
|
|
6
|
-
import { Logout as m } from "./Icons/Logout.es.js";
|
|
7
|
-
function x({
|
|
8
|
-
sessions: t,
|
|
9
|
-
handleTokenLogin: a
|
|
10
|
-
}) {
|
|
11
|
-
return /* @__PURE__ */ e.jsx("div", { className: "profile-options-container w-full ", children: t?.map((r) => /* @__PURE__ */ e.jsx(
|
|
12
|
-
"button",
|
|
13
|
-
{
|
|
14
|
-
className: "w-full ",
|
|
15
|
-
onClick: () => a?.(r.token),
|
|
16
|
-
children: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx(
|
|
17
|
-
s.Content,
|
|
18
|
-
{
|
|
19
|
-
onClick: () => {
|
|
20
|
-
console.log("hola");
|
|
21
|
-
},
|
|
22
|
-
isExpanded: !1,
|
|
23
|
-
nameUser: r.name,
|
|
24
|
-
nameArea: r?.areaId?.name,
|
|
25
|
-
nameCompany: r.companyId.name,
|
|
26
|
-
cardProfile: /* @__PURE__ */ e.jsx(s.Image, { isExpanded: !1 })
|
|
27
|
-
}
|
|
28
|
-
) })
|
|
29
|
-
},
|
|
30
|
-
r._id
|
|
31
|
-
)) });
|
|
32
|
-
}
|
|
33
|
-
const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profile-container flex gap-0.5 overflow-hidden w-full min-w-0 ", children: t }), p = ({
|
|
34
|
-
isExpanded: t,
|
|
35
|
-
sessions: a,
|
|
36
|
-
onClickLogout: r,
|
|
37
|
-
handleTokenLogin: n
|
|
38
|
-
}) => /* @__PURE__ */ e.jsx(d, { mode: "wait", children: t && /* @__PURE__ */ e.jsxs(
|
|
39
|
-
l.div,
|
|
40
|
-
{
|
|
41
|
-
initial: { height: 0, opacity: 0 },
|
|
42
|
-
animate: {
|
|
43
|
-
height: "auto",
|
|
44
|
-
opacity: 1,
|
|
45
|
-
transition: {
|
|
46
|
-
height: { duration: 0.6, ease: "easeOut" },
|
|
47
|
-
opacity: { duration: 0.4, delay: 0.2 }
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
exit: {
|
|
51
|
-
height: 0,
|
|
52
|
-
opacity: 0,
|
|
53
|
-
transition: {
|
|
54
|
-
height: {
|
|
55
|
-
duration: 0.8,
|
|
56
|
-
delay: 0.2,
|
|
57
|
-
ease: "easeIn"
|
|
58
|
-
},
|
|
59
|
-
opacity: { duration: 0.3, delay: 0.1 }
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
className: "overflow-hidden",
|
|
63
|
-
children: [
|
|
64
|
-
/* @__PURE__ */ e.jsx(
|
|
65
|
-
l.div,
|
|
66
|
-
{
|
|
67
|
-
className: "flex justify-center items-center w-full mt-4",
|
|
68
|
-
exit: {
|
|
69
|
-
opacity: 0,
|
|
70
|
-
scaleX: 0,
|
|
71
|
-
height: 0,
|
|
72
|
-
transition: {
|
|
73
|
-
duration: 0.4,
|
|
74
|
-
delay: 0.5,
|
|
75
|
-
ease: "easeInOut"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
children: /* @__PURE__ */ e.jsx("div", { className: "border-b border-neutral-strong-default border w-full" })
|
|
79
|
-
}
|
|
80
|
-
),
|
|
81
|
-
a && a.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
82
|
-
/* @__PURE__ */ e.jsx(
|
|
83
|
-
l.div,
|
|
84
|
-
{
|
|
85
|
-
className: "mt-4",
|
|
86
|
-
exit: {
|
|
87
|
-
opacity: 0,
|
|
88
|
-
y: -5,
|
|
89
|
-
height: 0,
|
|
90
|
-
transition: {
|
|
91
|
-
duration: 0.4,
|
|
92
|
-
delay: 0.4,
|
|
93
|
-
ease: "easeInOut"
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
children: /* @__PURE__ */ e.jsx("span", { className: "text-neutral-medium-default font-semibold text-xs", children: "Cambiar cuenta" })
|
|
97
|
-
}
|
|
98
|
-
),
|
|
99
|
-
/* @__PURE__ */ e.jsx(
|
|
100
|
-
l.div,
|
|
101
|
-
{
|
|
102
|
-
className: "mt-4 overflow-hidden w-full ",
|
|
103
|
-
exit: {
|
|
104
|
-
height: 0,
|
|
105
|
-
opacity: 0,
|
|
106
|
-
y: -10,
|
|
107
|
-
scale: 0.98,
|
|
108
|
-
transition: {
|
|
109
|
-
height: { duration: 0.5, delay: 0.2 },
|
|
110
|
-
opacity: { duration: 0.3, delay: 0.3 },
|
|
111
|
-
y: { duration: 0.3, delay: 0.3 },
|
|
112
|
-
scale: { duration: 0.3, delay: 0.3 },
|
|
113
|
-
ease: "easeInOut"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
children: /* @__PURE__ */ e.jsx(
|
|
117
|
-
x,
|
|
118
|
-
{
|
|
119
|
-
sessions: a,
|
|
120
|
-
handleTokenLogin: n
|
|
121
|
-
}
|
|
122
|
-
)
|
|
123
|
-
}
|
|
124
|
-
),
|
|
125
|
-
/* @__PURE__ */ e.jsx(
|
|
126
|
-
l.div,
|
|
127
|
-
{
|
|
128
|
-
className: "flex justify-center items-center w-full mt-4",
|
|
129
|
-
exit: {
|
|
130
|
-
opacity: 0,
|
|
131
|
-
scaleX: 0,
|
|
132
|
-
height: 0,
|
|
133
|
-
transition: {
|
|
134
|
-
duration: 0.4,
|
|
135
|
-
delay: 0.15,
|
|
136
|
-
ease: "easeInOut"
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
children: /* @__PURE__ */ e.jsx("div", { className: "border-b border-neutral-strong-default border w-full" })
|
|
140
|
-
}
|
|
141
|
-
)
|
|
142
|
-
] }),
|
|
143
|
-
/* @__PURE__ */ e.jsxs(
|
|
144
|
-
l.button,
|
|
145
|
-
{
|
|
146
|
-
onClick: r,
|
|
147
|
-
className: "flex flex-1 h-12 w-full gap-1 rounded-md cursor-pointer mt-4 mb-4 px-2 items-center overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",
|
|
148
|
-
exit: {
|
|
149
|
-
opacity: 0,
|
|
150
|
-
y: -8,
|
|
151
|
-
scale: 0.96,
|
|
152
|
-
transition: {
|
|
153
|
-
duration: 0.5,
|
|
154
|
-
delay: 0,
|
|
155
|
-
ease: "easeInOut"
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
whileHover: {
|
|
159
|
-
opacity: 1,
|
|
160
|
-
scale: [1, 1.02, 1],
|
|
161
|
-
transition: { duration: 0.2 }
|
|
162
|
-
},
|
|
163
|
-
whileTap: { scale: 0.98 },
|
|
164
|
-
children: [
|
|
165
|
-
/* @__PURE__ */ e.jsx(m, { size: 24, className: "text-neutral-default-default" }),
|
|
166
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-neutral-default-default font-semibold text-sm", children: "Cerrar sesión" })
|
|
167
|
-
]
|
|
168
|
-
}
|
|
169
|
-
)
|
|
170
|
-
]
|
|
171
|
-
}
|
|
172
|
-
) }), g = ({ imageUrl: t, fallbackText: a }) => /* @__PURE__ */ e.jsx("div", { className: "flex items-center justify-center profile-image-wrapper", children: /* @__PURE__ */ e.jsx(
|
|
173
|
-
u,
|
|
174
|
-
{
|
|
175
|
-
subImageUrl: t,
|
|
176
|
-
imageUrl: t,
|
|
177
|
-
sizeImage: "xxs",
|
|
178
|
-
sizeFallback: "xs",
|
|
179
|
-
fallbackText: a
|
|
180
|
-
}
|
|
181
|
-
) }), j = ({
|
|
182
|
-
isExpanded: t,
|
|
183
|
-
nameUser: a,
|
|
184
|
-
nameCompany: r,
|
|
185
|
-
nameArea: n,
|
|
186
|
-
cardProfile: o,
|
|
187
|
-
onClick: c
|
|
188
|
-
}) => /* @__PURE__ */ e.jsxs(
|
|
189
|
-
l.button,
|
|
190
|
-
{
|
|
191
|
-
onClick: c,
|
|
192
|
-
className: i(
|
|
193
|
-
"flex flex-1 gap-2 rounded-lg cursor-pointer relative overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile h-max p-3",
|
|
194
|
-
t && "bg-neutral-medium-selected"
|
|
195
|
-
),
|
|
196
|
-
whileHover: {
|
|
197
|
-
opacity: 1,
|
|
198
|
-
scale: [1, 1.02, 1]
|
|
199
|
-
},
|
|
200
|
-
whileTap: { scale: 0.98 },
|
|
201
|
-
transition: { duration: 0.2, ease: "easeInOut" },
|
|
202
|
-
children: [
|
|
203
|
-
o,
|
|
204
|
-
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col justify-center overflow-hidden flex-1 relative z-10 profile-user-info mr-2 p-0", children: [
|
|
205
|
-
/* @__PURE__ */ e.jsx(
|
|
206
|
-
"p",
|
|
207
|
-
{
|
|
208
|
-
className: i(
|
|
209
|
-
"profile-name font-semibold leading-tight mb-0 text-left",
|
|
210
|
-
t ? "text-primary-default-default" : "text-neutral-default-default"
|
|
211
|
-
),
|
|
212
|
-
children: a?.length && a?.length > 20 ? a?.slice(0, 10) + ".." : a
|
|
213
|
-
}
|
|
214
|
-
),
|
|
215
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-1 mt-0 ", children: r && r ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
216
|
-
/* @__PURE__ */ e.jsx(
|
|
217
|
-
"p",
|
|
218
|
-
{
|
|
219
|
-
className: i(
|
|
220
|
-
"profile-options truncate text-xs mt-0",
|
|
221
|
-
t ? "text-primary-default-default" : "text-neutral-default-default"
|
|
222
|
-
),
|
|
223
|
-
children: r?.length && r?.length > 20 ? r?.slice(0, 10) + ".." : r
|
|
224
|
-
}
|
|
225
|
-
),
|
|
226
|
-
/* @__PURE__ */ e.jsx(
|
|
227
|
-
"p",
|
|
228
|
-
{
|
|
229
|
-
className: i(
|
|
230
|
-
"profile-options truncate font-bold mt-0",
|
|
231
|
-
t ? "text-primary-default-default" : "text-neutral-default-default"
|
|
232
|
-
),
|
|
233
|
-
children: "·"
|
|
234
|
-
}
|
|
235
|
-
),
|
|
236
|
-
/* @__PURE__ */ e.jsx(
|
|
237
|
-
"p",
|
|
238
|
-
{
|
|
239
|
-
className: i(
|
|
240
|
-
"profile-options truncate text-xs mt-0",
|
|
241
|
-
t ? "text-primary-default-default" : "text-neutral-default-default"
|
|
242
|
-
),
|
|
243
|
-
children: n || "Sin asignar"
|
|
244
|
-
}
|
|
245
|
-
)
|
|
246
|
-
] }) : /* @__PURE__ */ e.jsx("span", { className: "font-semibold leading-tight ml-3 text-xs text-blue-300 text-center", children: "Sin asignar" }) })
|
|
247
|
-
] })
|
|
248
|
-
]
|
|
249
|
-
}
|
|
250
|
-
), v = () => /* @__PURE__ */ e.jsx("div", { className: "w-px bg-gray-500/30 my-1 border-separator-profile" }), y = ({ isExpanded: t, onClick: a }) => /* @__PURE__ */ e.jsx(
|
|
251
|
-
l.button,
|
|
252
|
-
{
|
|
253
|
-
onClick: a,
|
|
254
|
-
className: "flex items-center justify-center p-3 rounded-lg cursor-pointer relative overflow-hidden focus:outline-none w-8 min-w-8 hover:bg-neutral-medium-selected button-content-chevron",
|
|
255
|
-
whileHover: { scale: 1.05 },
|
|
256
|
-
whileTap: { scale: 0.95 },
|
|
257
|
-
transition: { duration: 0.2, ease: "easeOut" },
|
|
258
|
-
title: t ? "Ocultar opciones" : "Mostrar opciones",
|
|
259
|
-
"aria-label": t ? "Ocultar opciones" : "Mostrar opciones",
|
|
260
|
-
children: /* @__PURE__ */ e.jsx(
|
|
261
|
-
l.div,
|
|
262
|
-
{
|
|
263
|
-
animate: { rotate: t ? 180 : 0 },
|
|
264
|
-
transition: { duration: 0.3, ease: "easeOut" },
|
|
265
|
-
className: "relative button-select-crevron",
|
|
266
|
-
children: /* @__PURE__ */ e.jsx(l.div, { transition: { duration: 0.2 }, children: /* @__PURE__ */ e.jsx(f, { size: 24, className: "text-prometeo-neutral " }) })
|
|
267
|
-
}
|
|
268
|
-
)
|
|
269
|
-
}
|
|
270
|
-
), s = Object.assign(h, {
|
|
271
|
-
Menu: p,
|
|
272
|
-
Image: g,
|
|
273
|
-
Content: j,
|
|
274
|
-
Separator: v,
|
|
275
|
-
Options: y
|
|
276
|
-
});
|
|
277
|
-
export {
|
|
278
|
-
s as C,
|
|
279
|
-
x as a
|
|
280
|
-
};
|
package/dist/CardProfile.d.ts
DELETED
package/dist/CardProfile.es.js
DELETED
package/dist/CheckBox.d.ts
DELETED
package/dist/CheckBox.es.js
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { j as a } from "./jsx-runtime-GkKLlHH4.js";
|
|
2
|
-
import { memo as m, forwardRef as k, useId as g, useRef as v, useCallback as C } from "react";
|
|
3
|
-
import { Check as y } from "./Icons/Check.es.js";
|
|
4
|
-
const s = k(
|
|
5
|
-
({ className: l, disabled: e, onChange: i, value: d, ...t }, r) => {
|
|
6
|
-
const u = g(), o = v(null), f = `
|
|
7
|
-
after:content-[""]
|
|
8
|
-
after:absolute
|
|
9
|
-
after:top-1/2
|
|
10
|
-
after:left-1/2
|
|
11
|
-
after:-translate-x-1/2
|
|
12
|
-
after:-translate-y-1/2
|
|
13
|
-
after:w-[40px]
|
|
14
|
-
after:h-[40px]
|
|
15
|
-
after:rounded-full
|
|
16
|
-
after:bg-neutral-700
|
|
17
|
-
after:-z-10
|
|
18
|
-
after:opacity-0
|
|
19
|
-
${!e && "hover:after:opacity-100"}
|
|
20
|
-
after:transition-all
|
|
21
|
-
after:duration-200
|
|
22
|
-
after:ease-in-out
|
|
23
|
-
after:pointer-events-none
|
|
24
|
-
${!e && "aria-checked:hover:bg-primary-default-hover hover:border-primary-default-hover"}
|
|
25
|
-
transition-all
|
|
26
|
-
duration-200
|
|
27
|
-
ease-in-out
|
|
28
|
-
`, h = "hover:#hover-span:opacity-100", p = "bg-primary-light", x = `
|
|
29
|
-
bg-transparent
|
|
30
|
-
border-[2px]
|
|
31
|
-
aria-checked:border-none
|
|
32
|
-
border-neutral-medium-default
|
|
33
|
-
hover:border-neutral-medium-hover
|
|
34
|
-
`, b = {
|
|
35
|
-
selected: "bg-primary-default-disabled!",
|
|
36
|
-
default: "border-neutral-default-disabled "
|
|
37
|
-
}, c = C(() => {
|
|
38
|
-
if (o.current)
|
|
39
|
-
return o.current.click();
|
|
40
|
-
}, []);
|
|
41
|
-
return /* @__PURE__ */ a.jsx(
|
|
42
|
-
"div",
|
|
43
|
-
{
|
|
44
|
-
id: "checkbox-container",
|
|
45
|
-
style: {
|
|
46
|
-
width: "24px",
|
|
47
|
-
height: "24px",
|
|
48
|
-
position: "relative",
|
|
49
|
-
zIndex: 10
|
|
50
|
-
},
|
|
51
|
-
className: "grid place-items-center p-2",
|
|
52
|
-
onClick: c,
|
|
53
|
-
draggable: !1,
|
|
54
|
-
children: /* @__PURE__ */ a.jsxs(
|
|
55
|
-
"div",
|
|
56
|
-
{
|
|
57
|
-
id: "checkbox-box",
|
|
58
|
-
"aria-checked": t.checked,
|
|
59
|
-
className: `grid place-items-center absolute size-[18px] rounded-[2px]
|
|
60
|
-
${f}
|
|
61
|
-
${x}
|
|
62
|
-
${t.checked ? p : ""}
|
|
63
|
-
${e ? b[t.checked ? "selected" : "default"] : ""}
|
|
64
|
-
`,
|
|
65
|
-
onClick: c,
|
|
66
|
-
draggable: !1,
|
|
67
|
-
children: [
|
|
68
|
-
/* @__PURE__ */ a.jsx(
|
|
69
|
-
"input",
|
|
70
|
-
{
|
|
71
|
-
type: "checkbox",
|
|
72
|
-
id: u,
|
|
73
|
-
ref: (n) => {
|
|
74
|
-
o.current = n, typeof r == "function" ? r(n) : r && (r.current = n);
|
|
75
|
-
},
|
|
76
|
-
onChange: i,
|
|
77
|
-
value: d,
|
|
78
|
-
className: `${l} ${h}`,
|
|
79
|
-
disabled: e,
|
|
80
|
-
style: {
|
|
81
|
-
position: "absolute",
|
|
82
|
-
top: "50%",
|
|
83
|
-
left: "50%",
|
|
84
|
-
transform: "translate(-50%, -50%)",
|
|
85
|
-
cursor: e ? "default" : "pointer",
|
|
86
|
-
width: "100%",
|
|
87
|
-
height: "100%",
|
|
88
|
-
opacity: 0,
|
|
89
|
-
zIndex: 150
|
|
90
|
-
},
|
|
91
|
-
...t
|
|
92
|
-
}
|
|
93
|
-
),
|
|
94
|
-
t.checked && /* @__PURE__ */ a.jsx(
|
|
95
|
-
y,
|
|
96
|
-
{
|
|
97
|
-
size: 18,
|
|
98
|
-
className: `absolute ${e ? "icon-neutral-strong-disabled" : ""} pointer-events-none icon-neutral-strong-default`
|
|
99
|
-
}
|
|
100
|
-
)
|
|
101
|
-
]
|
|
102
|
-
}
|
|
103
|
-
)
|
|
104
|
-
}
|
|
105
|
-
);
|
|
106
|
-
}
|
|
107
|
-
);
|
|
108
|
-
s.displayName = "CheckBox";
|
|
109
|
-
const w = m(s);
|
|
110
|
-
export {
|
|
111
|
-
w as default
|
|
112
|
-
};
|