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
package/dist/Table.es.js
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { j as r } from "./jsx-runtime-GkKLlHH4.js";
|
|
2
|
-
import { c as l } from "./cn-B6yFEsav.js";
|
|
3
|
-
import * as o from "react";
|
|
4
|
-
const n = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx("div", { className: "w-full", children: /* @__PURE__ */ r.jsx(
|
|
5
|
-
"table",
|
|
6
|
-
{
|
|
7
|
-
ref: a,
|
|
8
|
-
className: l(
|
|
9
|
-
"w-full caption-bottom text-sm border-b rounded-lg border-neutral-default-default",
|
|
10
|
-
e
|
|
11
|
-
),
|
|
12
|
-
...t
|
|
13
|
-
}
|
|
14
|
-
) }));
|
|
15
|
-
n.displayName = "Table";
|
|
16
|
-
const f = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
|
|
17
|
-
"thead",
|
|
18
|
-
{
|
|
19
|
-
ref: a,
|
|
20
|
-
className: l("[&_tr]:border-b-0 [&_tr]:text-center", e),
|
|
21
|
-
...t
|
|
22
|
-
}
|
|
23
|
-
));
|
|
24
|
-
f.displayName = "TableHeader";
|
|
25
|
-
const i = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
|
|
26
|
-
"tbody",
|
|
27
|
-
{
|
|
28
|
-
ref: a,
|
|
29
|
-
className: l("[&_tr:last-child]:border-b [&_tr]:cursor-pointer ", e),
|
|
30
|
-
...t
|
|
31
|
-
}
|
|
32
|
-
));
|
|
33
|
-
i.displayName = "TableBody";
|
|
34
|
-
const b = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
|
|
35
|
-
"tfoot",
|
|
36
|
-
{
|
|
37
|
-
ref: a,
|
|
38
|
-
className: l(
|
|
39
|
-
"border-t bg-muted/50 font-medium [&>tr]:last:border-b-0!",
|
|
40
|
-
e
|
|
41
|
-
),
|
|
42
|
-
...t
|
|
43
|
-
}
|
|
44
|
-
));
|
|
45
|
-
b.displayName = "TableFooter";
|
|
46
|
-
const c = o.forwardRef(({ className: e, isSelected: t, ...a }, d) => {
|
|
47
|
-
const s = `
|
|
48
|
-
after:content-["<span id='selected-span'></span>"]
|
|
49
|
-
after:absolute
|
|
50
|
-
after:top-1/2
|
|
51
|
-
after:left-1/2
|
|
52
|
-
after:w-[calc(100%)]
|
|
53
|
-
after:h-[calc(100%-12px)]
|
|
54
|
-
after:-translate-x-1/2
|
|
55
|
-
after:-translate-y-1/2
|
|
56
|
-
after:bg-primary-default-default
|
|
57
|
-
after:rounded-lg
|
|
58
|
-
${t ? "after:opacity-10" : "after:opacity-0"}
|
|
59
|
-
after:z-10
|
|
60
|
-
after:pointer-events-none
|
|
61
|
-
transition-all
|
|
62
|
-
duration-300
|
|
63
|
-
ease-in-out
|
|
64
|
-
`;
|
|
65
|
-
return /* @__PURE__ */ r.jsx(
|
|
66
|
-
"tr",
|
|
67
|
-
{
|
|
68
|
-
ref: d,
|
|
69
|
-
className: l(
|
|
70
|
-
"border-b border-neutral-default-default relative text-center text-md text-semibold transition-colors hover:bg-neutral-medium-default/50 text-neutral-default-default",
|
|
71
|
-
s,
|
|
72
|
-
e
|
|
73
|
-
),
|
|
74
|
-
...a
|
|
75
|
-
}
|
|
76
|
-
);
|
|
77
|
-
});
|
|
78
|
-
c.displayName = "TableRow";
|
|
79
|
-
const m = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
|
|
80
|
-
"th",
|
|
81
|
-
{
|
|
82
|
-
ref: a,
|
|
83
|
-
className: l(
|
|
84
|
-
"h-14 px-4 text-center align-middle font-semibold text-neutral-default-default bg-neutral-medium-default first:rounded-tl-lg first:rounded-bl-lg last:rounded-br-lg last:rounded-tr-lg",
|
|
85
|
-
e
|
|
86
|
-
),
|
|
87
|
-
...t
|
|
88
|
-
}
|
|
89
|
-
));
|
|
90
|
-
m.displayName = "TableHead";
|
|
91
|
-
const u = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
|
|
92
|
-
"td",
|
|
93
|
-
{
|
|
94
|
-
ref: a,
|
|
95
|
-
className: l(
|
|
96
|
-
"py-4 px-4 align-middle text-center [&:has([role=checkbox])]:pr-0",
|
|
97
|
-
e
|
|
98
|
-
),
|
|
99
|
-
...t
|
|
100
|
-
}
|
|
101
|
-
));
|
|
102
|
-
u.displayName = "TableCell";
|
|
103
|
-
const p = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
|
|
104
|
-
"caption",
|
|
105
|
-
{
|
|
106
|
-
ref: a,
|
|
107
|
-
className: l("mt-4 text-sm text-muted-foreground", e),
|
|
108
|
-
...t
|
|
109
|
-
}
|
|
110
|
-
));
|
|
111
|
-
p.displayName = "TableCaption";
|
|
112
|
-
export {
|
|
113
|
-
n as Table,
|
|
114
|
-
i as TableBody,
|
|
115
|
-
p as TableCaption,
|
|
116
|
-
u as TableCell,
|
|
117
|
-
b as TableFooter,
|
|
118
|
-
m as TableHead,
|
|
119
|
-
f as TableHeader,
|
|
120
|
-
c as TableRow
|
|
121
|
-
};
|
package/dist/TextArea.d.ts
DELETED
package/dist/TextArea.es.js
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { j as k } from "./jsx-runtime-GkKLlHH4.js";
|
|
2
|
-
import { c as A } from "./cn-B6yFEsav.js";
|
|
3
|
-
import * as a from "react";
|
|
4
|
-
import { forwardRef as E } from "react";
|
|
5
|
-
const M = E(
|
|
6
|
-
({
|
|
7
|
-
className: f,
|
|
8
|
-
autoResize: r = !1,
|
|
9
|
-
userResize: c = !0,
|
|
10
|
-
minRows: l = 3,
|
|
11
|
-
maxRows: n,
|
|
12
|
-
placeholder: d,
|
|
13
|
-
onChange: m,
|
|
14
|
-
value: h,
|
|
15
|
-
rows: p,
|
|
16
|
-
disabled: x = !1,
|
|
17
|
-
...g
|
|
18
|
-
// ← Para pasar las props nativas
|
|
19
|
-
}, t) => {
|
|
20
|
-
const o = a.useRef(null), b = a.useCallback(
|
|
21
|
-
(e) => {
|
|
22
|
-
o.current = e, typeof t == "function" ? t(e) : t && (t.current = e);
|
|
23
|
-
},
|
|
24
|
-
[t]
|
|
25
|
-
), s = a.useCallback(() => {
|
|
26
|
-
const e = o.current;
|
|
27
|
-
if (!e || !r) return;
|
|
28
|
-
e.style.height = "auto";
|
|
29
|
-
const C = e.scrollHeight, i = Number.parseInt(getComputedStyle(e).lineHeight) || 20, j = l * i + 16;
|
|
30
|
-
let u = Math.max(C, j);
|
|
31
|
-
if (n) {
|
|
32
|
-
const N = n * i + 16;
|
|
33
|
-
u = Math.min(u, N);
|
|
34
|
-
}
|
|
35
|
-
e.style.height = `${u}px`;
|
|
36
|
-
}, [r, l, n]), y = (e) => {
|
|
37
|
-
m?.(e), s();
|
|
38
|
-
};
|
|
39
|
-
a.useEffect(() => {
|
|
40
|
-
s();
|
|
41
|
-
}, [s]);
|
|
42
|
-
const H = () => c ? r ? "resize-x" : "resize" : "resize-none";
|
|
43
|
-
return /* @__PURE__ */ k.jsx(
|
|
44
|
-
"textarea",
|
|
45
|
-
{
|
|
46
|
-
ref: b,
|
|
47
|
-
"data-slot": "textarea",
|
|
48
|
-
className: A(
|
|
49
|
-
"placeholder:text-neutral-medium-default text-neutral-default-default appearance-none border border-neutral-default-default focus:border-primary-default-default flex w-full rounded-md px-3 py-2 outline-none disabled:cursor-default disabled:opacity-50 md:text-sm",
|
|
50
|
-
H(),
|
|
51
|
-
f
|
|
52
|
-
),
|
|
53
|
-
onChange: y,
|
|
54
|
-
rows: r ? l : p,
|
|
55
|
-
value: h,
|
|
56
|
-
placeholder: d,
|
|
57
|
-
disabled: x,
|
|
58
|
-
...g
|
|
59
|
-
}
|
|
60
|
-
);
|
|
61
|
-
}
|
|
62
|
-
);
|
|
63
|
-
M.displayName = "TextArea";
|
|
64
|
-
export {
|
|
65
|
-
M as default
|
|
66
|
-
};
|
package/dist/Toast.d.ts
DELETED
package/dist/Toast.es.js
DELETED
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-GkKLlHH4.js";
|
|
2
|
-
import w from "react";
|
|
3
|
-
import { toast as p } from "sonner";
|
|
4
|
-
import { c as s } from "./cn-B6yFEsav.js";
|
|
5
|
-
import { Info as m } from "./Icons/Info.es.js";
|
|
6
|
-
import { Error as u } from "./Icons/Error.es.js";
|
|
7
|
-
import { Cancel as f } from "./Icons/Cancel.es.js";
|
|
8
|
-
import { CheckCircle as b } from "./Icons/CheckCircle.es.js";
|
|
9
|
-
import h from "./Button.es.js";
|
|
10
|
-
import { Close as C } from "./Icons/Close.es.js";
|
|
11
|
-
const x = {
|
|
12
|
-
dark: {
|
|
13
|
-
success: {
|
|
14
|
-
container: "border-b-[2px] border-success-default-default",
|
|
15
|
-
iconClass: "text-success-medium-default",
|
|
16
|
-
icon: b
|
|
17
|
-
},
|
|
18
|
-
error: {
|
|
19
|
-
container: "border-b-[2px] border-error-default-default",
|
|
20
|
-
iconClass: "text-error-medium-default",
|
|
21
|
-
icon: f
|
|
22
|
-
},
|
|
23
|
-
warning: {
|
|
24
|
-
container: "border-b-[2px] border-warning-default-default",
|
|
25
|
-
iconClass: "text-warning-medium-default",
|
|
26
|
-
icon: u
|
|
27
|
-
},
|
|
28
|
-
info: {
|
|
29
|
-
container: " border-b-[2px] border-primary-default-default",
|
|
30
|
-
iconClass: "text-primary-default-default",
|
|
31
|
-
icon: m
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
light: {
|
|
35
|
-
success: {
|
|
36
|
-
container: "",
|
|
37
|
-
iconClass: "text-success-default-pressed",
|
|
38
|
-
icon: b
|
|
39
|
-
},
|
|
40
|
-
error: {
|
|
41
|
-
container: "",
|
|
42
|
-
iconClass: "text-error-medium-pressed",
|
|
43
|
-
icon: f
|
|
44
|
-
},
|
|
45
|
-
warning: {
|
|
46
|
-
container: "",
|
|
47
|
-
iconClass: "text-warning-medium-pressed",
|
|
48
|
-
icon: u
|
|
49
|
-
},
|
|
50
|
-
info: {
|
|
51
|
-
container: "",
|
|
52
|
-
iconClass: "text-primary-default-pressed",
|
|
53
|
-
icon: m
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}, l = {
|
|
57
|
-
dark: {
|
|
58
|
-
container: "bg-neutral-default-default",
|
|
59
|
-
title: "text-neutral-strong-default",
|
|
60
|
-
description: "text-neutral-default-default",
|
|
61
|
-
shadow: "0px 0px 2px 0px rgba(0, 0, 0, 0.35),0px 15px 20px 0px rgba(0, 0, 0, 0.25),0px 0px 10px 0px rgba(0, 0, 0, 0.4),0px 6px 20px 0px rgba(229, 229, 235, 0.03) inset"
|
|
62
|
-
},
|
|
63
|
-
light: {
|
|
64
|
-
container: "bg-neutral-default-default-light",
|
|
65
|
-
title: "text-neutral-weak-default",
|
|
66
|
-
description: "text-neutral-medium-focused",
|
|
67
|
-
shadow: "0px 0px 2px 0px rgba(0, 0, 0, 0.35),8px 8px 20px 0px rgba(0, 0, 0, 0.3),0px 0px 15px 0px rgba(0, 0, 0, 0.2),0px 0px 20px 0px rgba(21, 21, 21, 0.3) inset,6px 0px 100px 0px rgba(0, 0, 0, 0.05) inset"
|
|
68
|
-
}
|
|
69
|
-
}, v = (c) => {
|
|
70
|
-
const { title: r, description: i, button: a, id: n, icon: d, variant: o = "info", colorMode: t = "dark", showClose: g = !1 } = c;
|
|
71
|
-
return /* @__PURE__ */ e.jsxs(
|
|
72
|
-
"div",
|
|
73
|
-
{
|
|
74
|
-
style: {
|
|
75
|
-
boxShadow: l[t].shadow
|
|
76
|
-
},
|
|
77
|
-
className: s(
|
|
78
|
-
"flex p-3 pb-4 md:w-[485px] md:max-w-[485px] md:min-w-[485px] md:h-[68px] md:max-h-[68px] rounded-lg gap-2",
|
|
79
|
-
"w-[345px] max-w-[345px] min-w-[345px] h-[68px] max-h-[68px]",
|
|
80
|
-
l[t].container,
|
|
81
|
-
x[t][o].container
|
|
82
|
-
),
|
|
83
|
-
children: [
|
|
84
|
-
/* @__PURE__ */ e.jsxs(
|
|
85
|
-
"div",
|
|
86
|
-
{
|
|
87
|
-
className: "flex items-center justify-start gap-2 max-h-[38px] h-[38px] overflow-hidden flex-1 ",
|
|
88
|
-
children: [
|
|
89
|
-
/* @__PURE__ */ e.jsx("div", { className: "f", style: { color: "inherit" }, children: w.createElement(d || x[t][o].icon, { size: 24, className: x[t][o].iconClass }) }),
|
|
90
|
-
/* @__PURE__ */ e.jsxs("div", { className: "flex-1 flex flex-col gap-1", children: [
|
|
91
|
-
/* @__PURE__ */ e.jsx("p", { className: s("select-none prometeo-fonts-label-medium md:prometeo-fonts-label-xlarge", l[t].title), children: r }),
|
|
92
|
-
i && /* @__PURE__ */ e.jsx("p", { className: s("select-none prometeo-fonts-body-xsmall md:prometeo-fonts-body-small text-nowrap overflow-ellipsis ", l[t].description), children: i })
|
|
93
|
-
] })
|
|
94
|
-
]
|
|
95
|
-
}
|
|
96
|
-
),
|
|
97
|
-
a?.label && /* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: /* @__PURE__ */ e.jsx(
|
|
98
|
-
h,
|
|
99
|
-
{
|
|
100
|
-
label: a?.label,
|
|
101
|
-
onClick: () => {
|
|
102
|
-
a?.onClick(), p.dismiss(n);
|
|
103
|
-
},
|
|
104
|
-
size: "small",
|
|
105
|
-
color: "secondary"
|
|
106
|
-
}
|
|
107
|
-
) }),
|
|
108
|
-
g && /* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: /* @__PURE__ */ e.jsx(
|
|
109
|
-
h,
|
|
110
|
-
{
|
|
111
|
-
onClick: () => {
|
|
112
|
-
p.dismiss(n);
|
|
113
|
-
},
|
|
114
|
-
label: "",
|
|
115
|
-
size: "small",
|
|
116
|
-
color: "secondary",
|
|
117
|
-
icon: /* @__PURE__ */ e.jsx(C, { className: s(t === "light" ? "text-neutral-medium-focused " : "") }),
|
|
118
|
-
variant: "text",
|
|
119
|
-
animate: !1,
|
|
120
|
-
className: s(t === "light" ? "hover:bg-neutral-default-hover-light focus:bg-inherit active:bg-neutral-weak-hover " : "")
|
|
121
|
-
}
|
|
122
|
-
) })
|
|
123
|
-
]
|
|
124
|
-
}
|
|
125
|
-
);
|
|
126
|
-
};
|
|
127
|
-
function _(c, r) {
|
|
128
|
-
const { duration: i = 2500, showClose: a = !1, colorMode: n = "dark", position: d } = r || {};
|
|
129
|
-
return p.custom((o) => /* @__PURE__ */ e.jsx(
|
|
130
|
-
v,
|
|
131
|
-
{
|
|
132
|
-
id: o,
|
|
133
|
-
variant: r?.variant || "success",
|
|
134
|
-
title: c,
|
|
135
|
-
description: r?.description,
|
|
136
|
-
icon: r?.icon,
|
|
137
|
-
button: r?.button,
|
|
138
|
-
showClose: a,
|
|
139
|
-
colorMode: n
|
|
140
|
-
}
|
|
141
|
-
), {
|
|
142
|
-
duration: i,
|
|
143
|
-
position: d,
|
|
144
|
-
unstyled: !0
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
export {
|
|
148
|
-
v as default,
|
|
149
|
-
_ as toastpyrion
|
|
150
|
-
};
|
package/dist/ToastProvider.d.ts
DELETED
package/dist/ToastProvider.es.js
DELETED
package/dist/Tooltip.d.ts
DELETED
package/dist/Tooltip.es.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-GkKLlHH4.js";
|
|
2
|
-
import { AnimatePresence as f, motion as n } from "framer-motion";
|
|
3
|
-
import { useState as p, cloneElement as x } from "react";
|
|
4
|
-
import { Close as b } from "./Icons/Close.es.js";
|
|
5
|
-
const N = ({
|
|
6
|
-
title: i,
|
|
7
|
-
trigger: o,
|
|
8
|
-
children: r,
|
|
9
|
-
position: t = "top",
|
|
10
|
-
component: c
|
|
11
|
-
}) => {
|
|
12
|
-
const [s, l] = p(!1), m = () => l(!0), a = () => l(!1), u = o === "hover" ? {
|
|
13
|
-
onMouseEnter: m,
|
|
14
|
-
onMouseLeave: a
|
|
15
|
-
} : {
|
|
16
|
-
onClick: () => l(!s)
|
|
17
|
-
}, d = {
|
|
18
|
-
top: "bottom-full left-1/2 -translate-x-1/2 mb-2",
|
|
19
|
-
bottom: "top-full left-1/2 -translate-x-1/2 mt-2",
|
|
20
|
-
left: "right-full top-1/2 -translate-y-1/2 mr-2",
|
|
21
|
-
right: "left-full top-1/2 -translate-y-1/2 ml-2"
|
|
22
|
-
};
|
|
23
|
-
return /* @__PURE__ */ e.jsxs("div", { className: "relative inline-block", children: [
|
|
24
|
-
x(r, u),
|
|
25
|
-
/* @__PURE__ */ e.jsx(f, { children: s && /* @__PURE__ */ e.jsx(
|
|
26
|
-
n.div,
|
|
27
|
-
{
|
|
28
|
-
initial: { opacity: 0, scale: 0.8, y: t === "top" ? 10 : -10 },
|
|
29
|
-
animate: {
|
|
30
|
-
opacity: 1,
|
|
31
|
-
scale: 1,
|
|
32
|
-
y: 0
|
|
33
|
-
},
|
|
34
|
-
exit: { opacity: 0, scale: 0.8, y: t === "top" ? 10 : -10 },
|
|
35
|
-
transition: {
|
|
36
|
-
duration: 0.15,
|
|
37
|
-
ease: "easeOut"
|
|
38
|
-
},
|
|
39
|
-
className: `absolute z-50 ${d[t]}`,
|
|
40
|
-
children: /* @__PURE__ */ e.jsxs("div", { className: "min-w-80 max-w-80 min-h-36 h-fit text-white rounded-lg shadow-lg p-3 bg-neutral-medium-default", children: [
|
|
41
|
-
/* @__PURE__ */ e.jsx("h3", { className: "font-bold text-sm mb-1 text-neutral-strong-default", children: i }),
|
|
42
|
-
c,
|
|
43
|
-
o === "click" && /* @__PURE__ */ e.jsx(
|
|
44
|
-
n.button,
|
|
45
|
-
{
|
|
46
|
-
onClick: (h) => {
|
|
47
|
-
h.stopPropagation(), a();
|
|
48
|
-
},
|
|
49
|
-
className: "absolute cursor-pointer -top-2 -right-2 w-6 h-6 bg-neutral-strong-default hover:bg-neutral-medium-default rounded-full flex items-center justify-center transition-colors z-10",
|
|
50
|
-
whileHover: { scale: 1.1 },
|
|
51
|
-
whileTap: { scale: 0.95 },
|
|
52
|
-
children: /* @__PURE__ */ e.jsx(b, { size: 14, className: "text-white" })
|
|
53
|
-
}
|
|
54
|
-
)
|
|
55
|
-
] })
|
|
56
|
-
}
|
|
57
|
-
) })
|
|
58
|
-
] });
|
|
59
|
-
};
|
|
60
|
-
export {
|
|
61
|
-
N as default
|
|
62
|
-
};
|
package/dist/assets/psmlogo.png
DELETED
|
Binary file
|
package/dist/cn-B6yFEsav.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ComponentType } from 'react';
|
|
2
|
-
import { CustomSelectOptionRendererProps } from '../Select/Select';
|
|
3
|
-
import { OptionAccessor } from '../Shared/types';
|
|
4
|
-
export interface AutocompleteProps<T> {
|
|
5
|
-
label?: string;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
name?: string;
|
|
8
|
-
multiple?: boolean;
|
|
9
|
-
options?: T[];
|
|
10
|
-
optionValue: OptionAccessor<T, string | number>;
|
|
11
|
-
optionLabel: OptionAccessor<T, string>;
|
|
12
|
-
fetcher?: (input?: string) => Promise<T[]>;
|
|
13
|
-
asyncMode?: 'fetch_in_open' | 'fetch_on_type';
|
|
14
|
-
debounceDelay?: number;
|
|
15
|
-
labelVariant?: 'static' | 'default';
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
renderOption?: ComponentType<CustomSelectOptionRendererProps<T>>;
|
|
18
|
-
}
|
|
19
|
-
declare const Autocomplete: <T extends object>(props: AutocompleteProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export default Autocomplete;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { OptionAccessor } from '../Shared/types';
|
|
2
|
-
export interface UseAutocompleteOptionsMultiple<T extends object> extends UseAutocompleteBaseOptions<T> {
|
|
3
|
-
multiple: true;
|
|
4
|
-
controlledValue?: T[];
|
|
5
|
-
onChange?: (newValue: T[], name?: string) => void;
|
|
6
|
-
}
|
|
7
|
-
export interface UseAutocompleteOptionsSingle<T extends object> extends UseAutocompleteBaseOptions<T> {
|
|
8
|
-
multiple?: false;
|
|
9
|
-
controlledValue?: T;
|
|
10
|
-
onChange?: (newValue: T, name?: string) => void;
|
|
11
|
-
}
|
|
12
|
-
export interface UseAutocompleteBaseOptions<T extends object> {
|
|
13
|
-
options?: (T | undefined | null)[];
|
|
14
|
-
fetcher?: (input?: string) => Promise<T[]>;
|
|
15
|
-
asyncMode?: 'fetch_in_open' | 'fetch_on_type';
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
debounceDelay?: number;
|
|
18
|
-
minCharacters?: number;
|
|
19
|
-
optionLabel?: OptionAccessor<T, string>;
|
|
20
|
-
optionValue?: OptionAccessor<T, string | number>;
|
|
21
|
-
inputRef?: React.RefObject<HTMLInputElement | null> | (() => React.RefObject<HTMLInputElement | null> | undefined);
|
|
22
|
-
onFetchingStart?: () => void;
|
|
23
|
-
onFetchingEnd?: () => void;
|
|
24
|
-
onTypeStart?: () => void;
|
|
25
|
-
onOpen?: () => void;
|
|
26
|
-
onClose?: () => void;
|
|
27
|
-
isOpen?: boolean;
|
|
28
|
-
subscribeOpenChange?: (cb: (open: boolean) => void) => (() => void) | undefined;
|
|
29
|
-
name?: string;
|
|
30
|
-
}
|
|
31
|
-
export type UseAutocompleteOptions<T extends object> = UseAutocompleteOptionsMultiple<T> | UseAutocompleteOptionsSingle<T>;
|
|
32
|
-
export declare function useAutocomplete<T extends object>(options?: UseAutocompleteOptions<T>): {
|
|
33
|
-
inputValue: string;
|
|
34
|
-
setInputValue: import('react').Dispatch<import('react').SetStateAction<string>>;
|
|
35
|
-
cleanInputValue: () => void;
|
|
36
|
-
cleanOptions: () => void;
|
|
37
|
-
clearValue: () => void;
|
|
38
|
-
filteredOptions: T[];
|
|
39
|
-
isLoading: boolean;
|
|
40
|
-
value: T | T[] | undefined;
|
|
41
|
-
setValue: import('react').Dispatch<import('react').SetStateAction<T | T[] | undefined>>;
|
|
42
|
-
onOptionClick: (option: T) => void;
|
|
43
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export type SizeVariant = "xxxs" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
2
|
-
interface IAvatar {
|
|
3
|
-
imageUrl?: string;
|
|
4
|
-
sizeImage?: SizeVariant;
|
|
5
|
-
sizeFallback?: SizeVariant;
|
|
6
|
-
fallbackText?: string;
|
|
7
|
-
subImageUrl?: string;
|
|
8
|
-
borderColor?: string;
|
|
9
|
-
}
|
|
10
|
-
export default function Avatar({ imageUrl, sizeImage, sizeFallback, fallbackText, subImageUrl, }: IAvatar): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Avatar';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ButtonVariant, ColorVariant, SizeVariant } from '../Shared/types';
|
|
2
|
-
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
-
label?: string;
|
|
4
|
-
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
5
|
-
icon?: React.ReactNode;
|
|
6
|
-
contentClassName?: string;
|
|
7
|
-
loadingText?: string;
|
|
8
|
-
animate?: boolean;
|
|
9
|
-
animateIcon?: boolean;
|
|
10
|
-
isLoading?: boolean;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
spinner?: React.ReactNode;
|
|
13
|
-
type?: 'button' | "submit" | "reset";
|
|
14
|
-
className?: string;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
variant?: ButtonVariant;
|
|
17
|
-
form?: string;
|
|
18
|
-
size?: SizeVariant;
|
|
19
|
-
color?: ColorVariant;
|
|
20
|
-
hideSpinner?: boolean;
|
|
21
|
-
}
|
|
22
|
-
declare const _default: import('react').MemoExoticComponent<({ label, onClick, icon, contentClassName, loadingText, animate, animateIcon, isLoading, children, hideSpinner, spinner, type, className, disabled, variant, form, size, color }: ButtonProps) => import("react/jsx-runtime").JSX.Element>;
|
|
23
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
interface ICard {
|
|
2
|
-
onClickClose: () => void;
|
|
3
|
-
userName: string;
|
|
4
|
-
urlImage: string;
|
|
5
|
-
companyName: string;
|
|
6
|
-
areaName: string;
|
|
7
|
-
expiresAt: string;
|
|
8
|
-
onClickLogin: () => void;
|
|
9
|
-
loading?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const Card: ({ onClickClose, userName, urlImage, companyName, areaName, expiresAt, onClickLogin, loading }: ICard) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default Card;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
interface ICardProfile {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
dropMenu?: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export interface IArea {
|
|
7
|
-
_id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
}
|
|
10
|
-
export interface ICompany {
|
|
11
|
-
_id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
}
|
|
14
|
-
export interface ISessionLocalStorage {
|
|
15
|
-
_id: string;
|
|
16
|
-
name: string;
|
|
17
|
-
email: string;
|
|
18
|
-
username: string;
|
|
19
|
-
areaId: IArea;
|
|
20
|
-
companyId: ICompany;
|
|
21
|
-
expires_at: string;
|
|
22
|
-
logoutDate: string;
|
|
23
|
-
token: string;
|
|
24
|
-
}
|
|
25
|
-
interface IDropMenu {
|
|
26
|
-
isExpanded: boolean;
|
|
27
|
-
sessions: ISessionLocalStorage[];
|
|
28
|
-
onClickLogout: () => void;
|
|
29
|
-
handleTokenLogin: () => void;
|
|
30
|
-
}
|
|
31
|
-
interface ICardProfileImage {
|
|
32
|
-
isExpanded: boolean;
|
|
33
|
-
imageUrl?: string;
|
|
34
|
-
fallbackText?: string;
|
|
35
|
-
}
|
|
36
|
-
interface ICardProfileContent {
|
|
37
|
-
isExpanded: boolean;
|
|
38
|
-
nameUser: string;
|
|
39
|
-
nameCompany: string;
|
|
40
|
-
nameArea: string;
|
|
41
|
-
cardProfile: ReactNode;
|
|
42
|
-
onClick: () => void;
|
|
43
|
-
}
|
|
44
|
-
interface ICardProfileOptions {
|
|
45
|
-
onClick: () => void;
|
|
46
|
-
isExpanded: boolean;
|
|
47
|
-
}
|
|
48
|
-
export declare const CardProfile: (({ children }: ICardProfile) => import("react/jsx-runtime").JSX.Element) & {
|
|
49
|
-
Menu: ({ isExpanded, sessions, onClickLogout, handleTokenLogin, }: IDropMenu) => import("react/jsx-runtime").JSX.Element;
|
|
50
|
-
Image: ({ imageUrl, fallbackText }: ICardProfileImage) => import("react/jsx-runtime").JSX.Element;
|
|
51
|
-
Content: ({ isExpanded, nameUser, nameCompany, nameArea, cardProfile, onClick, }: ICardProfileContent) => import("react/jsx-runtime").JSX.Element;
|
|
52
|
-
Separator: () => import("react/jsx-runtime").JSX.Element;
|
|
53
|
-
Options: ({ isExpanded, onClick }: ICardProfileOptions) => import("react/jsx-runtime").JSX.Element;
|
|
54
|
-
};
|
|
55
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { HTMLProps } from 'react';
|
|
2
|
-
export type CheckBoxProps = {
|
|
3
|
-
className?: string;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
} & HTMLProps<HTMLInputElement>;
|
|
6
|
-
interface ICheckBox extends CheckBoxProps {
|
|
7
|
-
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8
|
-
value?: string;
|
|
9
|
-
}
|
|
10
|
-
declare const _default: import('react').NamedExoticComponent<Omit<ICheckBox, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
11
|
-
export default _default;
|