prometeo-design-system 3.1.5 → 3.1.6
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/dist/Avatar.d.ts +4 -0
- package/dist/Avatar.es.js +94 -0
- package/dist/Button.d.ts +6 -0
- package/dist/Button.es.js +400 -0
- package/dist/CardProfile-y9Knsg26.js +280 -0
- package/dist/CardProfile.d.ts +6 -0
- package/dist/CardProfile.es.js +5 -0
- package/dist/CheckBox.d.ts +6 -0
- package/dist/CheckBox.es.js +112 -0
- package/dist/DatePicker-6eb-0Ns5.js +3733 -0
- package/dist/DatePicker.d.ts +6 -0
- package/dist/DatePicker.es.js +5 -0
- package/dist/DialogModal.d.ts +6 -0
- package/dist/DialogModal.es.js +75 -0
- package/dist/DrawerDesktop.d.ts +6 -0
- package/dist/DrawerDesktop.es.js +217 -0
- package/dist/DrawerMobile.d.ts +6 -0
- package/dist/DrawerMobile.es.js +243 -0
- package/dist/DropZone.d.ts +6 -0
- package/dist/DropZone.es.js +88 -0
- package/dist/FAButton.d.ts +4 -0
- package/dist/FAButton.es.js +111 -0
- package/dist/Header.d.ts +6 -0
- package/dist/Header.es.js +32 -0
- package/dist/HelperComponent-ljsn0xD6.js +26 -0
- package/dist/Icons/AccountCircle.d.ts +6 -0
- package/dist/Icons/AccountCircle.es.js +21 -0
- package/dist/Icons/Add.d.ts +6 -0
- package/dist/Icons/Add.es.js +19 -0
- package/dist/Icons/ArrowLeft.d.ts +6 -0
- package/dist/Icons/ArrowLeft.es.js +19 -0
- package/dist/Icons/ArrowUpDown.d.ts +6 -0
- package/dist/Icons/ArrowUpDown.es.js +21 -0
- package/dist/Icons/AttachFile.d.ts +6 -0
- package/dist/Icons/AttachFile.es.js +19 -0
- package/dist/Icons/Boards.d.ts +6 -0
- package/dist/Icons/Boards.es.js +19 -0
- package/dist/Icons/Calendar.d.ts +6 -0
- package/dist/Icons/Calendar.es.js +19 -0
- package/dist/Icons/Cancel.d.ts +6 -0
- package/dist/Icons/Cancel.es.js +19 -0
- package/dist/Icons/Check.d.ts +6 -0
- package/dist/Icons/Check.es.js +19 -0
- package/dist/Icons/CheckCircle.d.ts +6 -0
- package/dist/Icons/CheckCircle.es.js +21 -0
- package/dist/Icons/CheckList.d.ts +6 -0
- package/dist/Icons/CheckList.es.js +25 -0
- package/dist/Icons/ChevronDown.d.ts +6 -0
- package/dist/Icons/ChevronDown.es.js +21 -0
- package/dist/Icons/Clock.d.ts +6 -0
- package/dist/Icons/Clock.es.js +19 -0
- package/dist/Icons/Close.d.ts +6 -0
- package/dist/Icons/Close.es.js +19 -0
- package/dist/Icons/CloseNavBarDesktop.d.ts +6 -0
- package/dist/Icons/CloseNavBarDesktop.es.js +36 -0
- package/dist/Icons/Collapse.d.ts +6 -0
- package/dist/Icons/Collapse.es.js +19 -0
- package/dist/Icons/Company.d.ts +6 -0
- package/dist/Icons/Company.es.js +25 -0
- package/dist/Icons/Copy.d.ts +6 -0
- package/dist/Icons/Copy.es.js +19 -0
- package/dist/Icons/CrevronLeft.d.ts +6 -0
- package/dist/Icons/CrevronLeft.es.js +21 -0
- package/dist/Icons/CrevronRight.d.ts +6 -0
- package/dist/Icons/CrevronRight.es.js +21 -0
- package/dist/Icons/DocumentFill.d.ts +6 -0
- package/dist/Icons/DocumentFill.es.js +27 -0
- package/dist/Icons/Download.d.ts +6 -0
- package/dist/Icons/Download.es.js +25 -0
- package/dist/Icons/Edit.d.ts +6 -0
- package/dist/Icons/Edit.es.js +19 -0
- package/dist/Icons/EditFill.d.ts +6 -0
- package/dist/Icons/EditFill.es.js +25 -0
- package/dist/Icons/Email.d.ts +6 -0
- package/dist/Icons/Email.es.js +25 -0
- package/dist/Icons/Error.d.ts +6 -0
- package/dist/Icons/Error.es.js +19 -0
- package/dist/Icons/EyeVisibility.d.ts +6 -0
- package/dist/Icons/EyeVisibility.es.js +21 -0
- package/dist/Icons/EyeVisibilityOff.d.ts +6 -0
- package/dist/Icons/EyeVisibilityOff.es.js +21 -0
- package/dist/Icons/FaLock.d.ts +6 -0
- package/dist/Icons/FaLock.es.js +19 -0
- package/dist/Icons/FastForward.d.ts +6 -0
- package/dist/Icons/FastForward.es.js +27 -0
- package/dist/Icons/File.d.ts +6 -0
- package/dist/Icons/File.es.js +25 -0
- package/dist/Icons/Filter.d.ts +6 -0
- package/dist/Icons/Filter.es.js +19 -0
- package/dist/Icons/FormatColorText.d.ts +6 -0
- package/dist/Icons/FormatColorText.es.js +26 -0
- package/dist/Icons/Help.d.ts +6 -0
- package/dist/Icons/Help.es.js +19 -0
- package/dist/Icons/HistoryActivity.d.ts +6 -0
- package/dist/Icons/HistoryActivity.es.js +21 -0
- package/dist/Icons/Home.d.ts +6 -0
- package/dist/Icons/Home.es.js +19 -0
- package/dist/Icons/Image.d.ts +6 -0
- package/dist/Icons/Image.es.js +25 -0
- package/dist/Icons/Info.d.ts +6 -0
- package/dist/Icons/Info.es.js +19 -0
- package/dist/Icons/Logout.d.ts +6 -0
- package/dist/Icons/Logout.es.js +19 -0
- package/dist/Icons/MessageSquare.d.ts +6 -0
- package/dist/Icons/MessageSquare.es.js +21 -0
- package/dist/Icons/MessageSquareFill.d.ts +6 -0
- package/dist/Icons/MessageSquareFill.es.js +27 -0
- package/dist/Icons/MoreVert.d.ts +6 -0
- package/dist/Icons/MoreVert.es.js +19 -0
- package/dist/Icons/Notifications.d.ts +6 -0
- package/dist/Icons/Notifications.es.js +21 -0
- package/dist/Icons/Pause.d.ts +6 -0
- package/dist/Icons/Pause.es.js +19 -0
- package/dist/Icons/Reassignment.d.ts +6 -0
- package/dist/Icons/Reassignment.es.js +22 -0
- package/dist/Icons/ReassignmentFill.d.ts +6 -0
- package/dist/Icons/ReassignmentFill.es.js +52 -0
- package/dist/Icons/Reload.d.ts +6 -0
- package/dist/Icons/Reload.es.js +25 -0
- package/dist/Icons/Search.d.ts +6 -0
- package/dist/Icons/Search.es.js +19 -0
- package/dist/Icons/Send.d.ts +6 -0
- package/dist/Icons/Send.es.js +24 -0
- package/dist/Icons/Settings.d.ts +6 -0
- package/dist/Icons/Settings.es.js +19 -0
- package/dist/Icons/Shared.d.ts +6 -0
- package/dist/Icons/Shared.es.js +19 -0
- package/dist/Icons/Sort.d.ts +6 -0
- package/dist/Icons/Sort.es.js +19 -0
- package/dist/Icons/Stars.d.ts +6 -0
- package/dist/Icons/Stars.es.js +19 -0
- package/dist/Icons/Ticket.d.ts +6 -0
- package/dist/Icons/Ticket.es.js +19 -0
- package/dist/Icons/TicketFilled.d.ts +6 -0
- package/dist/Icons/TicketFilled.es.js +21 -0
- package/dist/Icons/Trash.d.ts +6 -0
- package/dist/Icons/Trash.es.js +19 -0
- package/dist/Icons/TrashFill.d.ts +6 -0
- package/dist/Icons/TrashFill.es.js +25 -0
- package/dist/Icons/Upload.d.ts +6 -0
- package/dist/Icons/Upload.es.js +19 -0
- package/dist/Icons/UploadCloud.d.ts +6 -0
- package/dist/Icons/UploadCloud.es.js +21 -0
- package/dist/Icons/UserAdd.d.ts +6 -0
- package/dist/Icons/UserAdd.es.js +19 -0
- package/dist/Icons/UserAddFill.d.ts +6 -0
- package/dist/Icons/UserAddFill.es.js +27 -0
- package/dist/Icons/UserPerson.d.ts +6 -0
- package/dist/Icons/UserPerson.es.js +19 -0
- package/dist/Icons/WhatsApp.d.ts +6 -0
- package/dist/Icons/WhatsApp.es.js +76 -0
- package/dist/Icons/components/AccountCircle.d.ts +4 -0
- package/dist/Icons/components/Add.d.ts +4 -0
- package/dist/Icons/components/ArrowLeft.d.ts +4 -0
- package/dist/Icons/components/ArrowUpDown.d.ts +4 -0
- package/dist/Icons/components/AttachFile.d.ts +4 -0
- package/dist/Icons/components/Boards.d.ts +4 -0
- package/dist/Icons/components/Calendar.d.ts +4 -0
- package/dist/Icons/components/Cancel.d.ts +4 -0
- package/dist/Icons/components/Check.d.ts +4 -0
- package/dist/Icons/components/CheckCircle.d.ts +4 -0
- package/dist/Icons/components/CheckList.d.ts +4 -0
- package/dist/Icons/components/ChevronDown.d.ts +4 -0
- package/dist/Icons/components/Clock.d.ts +4 -0
- package/dist/Icons/components/Close.d.ts +4 -0
- package/dist/Icons/components/CloseNavBarDesktop.d.ts +4 -0
- package/dist/Icons/components/Collapse.d.ts +4 -0
- package/dist/Icons/components/Company.d.ts +4 -0
- package/dist/Icons/components/Copy.d.ts +4 -0
- package/dist/Icons/components/CrevronLeft.d.ts +4 -0
- package/dist/Icons/components/CrevronRight.d.ts +4 -0
- package/dist/Icons/components/DocumentFill.d.ts +4 -0
- package/dist/Icons/components/Download.d.ts +4 -0
- package/dist/Icons/components/Edit.d.ts +4 -0
- package/dist/Icons/components/EditFill.d.ts +4 -0
- package/dist/Icons/components/Email.d.ts +4 -0
- package/dist/Icons/components/Error.d.ts +4 -0
- package/dist/Icons/components/EyeVisibility.d.ts +4 -0
- package/dist/Icons/components/EyeVisibilityOff.d.ts +4 -0
- package/dist/Icons/components/FaLock.d.ts +4 -0
- package/dist/Icons/components/FastForward.d.ts +4 -0
- package/dist/Icons/components/File.d.ts +4 -0
- package/dist/Icons/components/Filter.d.ts +4 -0
- package/dist/Icons/components/FormatColorText.d.ts +4 -0
- package/dist/Icons/components/Help.d.ts +4 -0
- package/dist/Icons/components/HistoryActivity.d.ts +4 -0
- package/dist/Icons/components/Home.d.ts +4 -0
- package/dist/Icons/components/Image.d.ts +4 -0
- package/dist/Icons/components/Info.d.ts +4 -0
- package/dist/Icons/components/Logout.d.ts +4 -0
- package/dist/Icons/components/MessageSquare.d.ts +4 -0
- package/dist/Icons/components/MessageSquareFill.d.ts +4 -0
- package/dist/Icons/components/MoreVert.d.ts +4 -0
- package/dist/Icons/components/Notifications.d.ts +4 -0
- package/dist/Icons/components/Pause.d.ts +4 -0
- package/dist/Icons/components/Reassignment.d.ts +4 -0
- package/dist/Icons/components/ReassignmentFill.d.ts +4 -0
- package/dist/Icons/components/Reload.d.ts +4 -0
- package/dist/Icons/components/Search.d.ts +4 -0
- package/dist/Icons/components/Send.d.ts +4 -0
- package/dist/Icons/components/Settings.d.ts +4 -0
- package/dist/Icons/components/Shared.d.ts +4 -0
- package/dist/Icons/components/Sort.d.ts +4 -0
- package/dist/Icons/components/Stars.d.ts +4 -0
- package/dist/Icons/components/Ticket.d.ts +4 -0
- package/dist/Icons/components/TicketFilled.d.ts +4 -0
- package/dist/Icons/components/Trash.d.ts +4 -0
- package/dist/Icons/components/TrashFill.d.ts +4 -0
- package/dist/Icons/components/Upload.d.ts +4 -0
- package/dist/Icons/components/UploadCloud.d.ts +4 -0
- package/dist/Icons/components/UserAdd.d.ts +4 -0
- package/dist/Icons/components/UserAddFill.d.ts +4 -0
- package/dist/Icons/components/UserPerson.d.ts +4 -0
- package/dist/Icons/components/WhatsApp.d.ts +4 -0
- package/dist/Icons/iconUtils.d.ts +7 -0
- package/dist/Icons/index.d.ts +65 -0
- package/dist/Icons/types.d.ts +130 -0
- package/dist/Icons.d.ts +2 -0
- package/dist/Icons.es.js +128 -0
- package/dist/Image.d.ts +4 -0
- package/dist/Image.es.js +91 -0
- package/dist/ImageGallery-DG9ovlQ-.js +319 -0
- package/dist/ImageGallery.d.ts +6 -0
- package/dist/ImageGallery.es.js +23 -0
- package/dist/Input.d.ts +6 -0
- package/dist/Input.es.js +220 -0
- package/dist/InputMultiple.d.ts +6 -0
- package/dist/InputMultiple.es.js +265 -0
- package/dist/LayoutGeneric-CfWhV1ov.js +26 -0
- package/dist/LayoutGeneric.d.ts +6 -0
- package/dist/LayoutGeneric.es.js +4 -0
- package/dist/Logo.d.ts +4 -0
- package/dist/Logo.es.js +9 -0
- package/dist/Menu.d.ts +6 -0
- package/dist/Menu.es.js +77 -0
- package/dist/NotificationCard.d.ts +6 -0
- package/dist/NotificationCard.es.js +50 -0
- package/dist/OtpInput.d.ts +6 -0
- package/dist/OtpInput.es.js +302 -0
- package/dist/Pagination.d.ts +6 -0
- package/dist/Pagination.es.js +97 -0
- package/dist/ProfilePictureUpload.d.ts +6 -0
- package/dist/ProfilePictureUpload.es.js +189 -0
- package/dist/ProgressBar.d.ts +6 -0
- package/dist/ProgressBar.es.js +70 -0
- package/dist/PyrionNavigationDrawer.d.ts +6 -0
- package/dist/PyrionNavigationDrawer.es.js +962 -0
- package/dist/RadioButton.d.ts +6 -0
- package/dist/RadioButton.es.js +78 -0
- package/dist/RecurrentDatePicker.d.ts +2 -0
- package/dist/RecurrentDatePicker.es.js +694 -0
- package/dist/RecurrentDatePickerRRule.d.ts +2 -0
- package/dist/RecurrentDatePickerRRule.es.js +1682 -0
- package/dist/Scrollable.d.ts +2 -0
- package/dist/Scrollable.es.js +260 -0
- package/dist/SegmentedButton.d.ts +6 -0
- package/dist/SegmentedButton.es.js +185 -0
- package/dist/Select.d.ts +6 -0
- package/dist/Select.es.js +1061 -0
- package/dist/SelectSearch.d.ts +6 -0
- package/dist/SelectSearch.es.js +284 -0
- package/dist/Skeleton.d.ts +6 -0
- package/dist/Skeleton.es.js +74 -0
- package/dist/Spinner.d.ts +6 -0
- package/dist/Spinner.es.js +178 -0
- package/dist/Steps.d.ts +6 -0
- package/dist/Steps.es.js +214 -0
- package/dist/SwipeContainer.d.ts +4 -0
- package/dist/SwipeContainer.es.js +185 -0
- package/dist/Switch.d.ts +6 -0
- package/dist/Switch.es.js +97 -0
- package/dist/TabLinks.d.ts +4 -0
- package/dist/TabLinks.es.js +94 -0
- package/dist/Table.d.ts +2 -0
- package/dist/Table.es.js +121 -0
- package/dist/TextArea.d.ts +4 -0
- package/dist/TextArea.es.js +66 -0
- package/dist/TicketCard.d.ts +6 -0
- package/dist/TicketCard.es.js +130 -0
- package/dist/Toast.d.ts +6 -0
- package/dist/Toast.es.js +150 -0
- package/dist/ToastProvider.d.ts +6 -0
- package/dist/ToastProvider.es.js +6 -0
- package/dist/Tooltip.d.ts +6 -0
- package/dist/Tooltip.es.js +62 -0
- package/dist/assets/psmlogo.png +0 -0
- package/dist/badge-B1IK_-i5.js +87 -0
- package/dist/cn-B6yFEsav.js +8 -0
- package/dist/components/Autocomplete/Autocomplete.d.ts +20 -0
- package/dist/components/Autocomplete/useAutocomplete.d.ts +43 -0
- package/dist/components/Avatar/Avatar.d.ts +11 -0
- package/dist/components/Avatar/index.d.ts +1 -0
- package/dist/components/Button/Button.d.ts +23 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Card/Card.d.ts +12 -0
- package/dist/components/CardProfile/CardProfile.d.ts +55 -0
- package/dist/components/CheckBox/CheckBox.d.ts +11 -0
- package/dist/components/DatePicker/DatePicker.d.ts +82 -0
- package/dist/components/Dialog/Dialog.d.ts +35 -0
- package/dist/components/Dialog/DialogV2.d.ts +35 -0
- package/dist/components/Dialog/useDialogControl.d.ts +8 -0
- package/dist/components/Drawer/DrawerDesktop.d.ts +21 -0
- package/dist/components/Drawer/DrawerMobile.d.ts +24 -0
- package/dist/components/Drawer/useDrawerDesktop.d.ts +8 -0
- package/dist/components/Drawer/useDrawerMobile.d.ts +8 -0
- package/dist/components/DropZone/DropZone.d.ts +16 -0
- package/dist/components/DropZone/DropzoneCompossable.d.ts +54 -0
- package/dist/components/DropZone/useFileDropzone.d.ts +21 -0
- package/dist/components/FAB/FAButton.d.ts +21 -0
- package/dist/components/FileCard/FileCard.d.ts +52 -0
- package/dist/components/Header/Header.d.ts +11 -0
- package/dist/components/Image/GalleryPreview.d.ts +8 -0
- package/dist/components/Image/Image.d.ts +23 -0
- package/dist/components/Image/ImageGallery.d.ts +18 -0
- package/dist/components/Image/LightBox.d.ts +14 -0
- package/dist/components/Image/index.d.ts +5 -0
- package/dist/components/Image/useImageGallery.d.ts +10 -0
- package/dist/components/Input/Input.d.ts +34 -0
- package/dist/components/InputMultiple/InputMultiple.d.ts +25 -0
- package/dist/components/Layout/LayoutGeneric.d.ts +6 -0
- package/dist/components/Logo/Logo.d.ts +2 -0
- package/dist/components/Menu/MenuComposable.d.ts +15 -0
- package/dist/components/NavigationDrawer/NavItemSecondary.d.ts +10 -0
- package/dist/components/NavigationDrawer/NavigationDrawer.d.ts +49 -0
- package/dist/components/NavigationDrawer/NavigationDrawerActionItem.d.ts +16 -0
- package/dist/components/NavigationDrawer/NavigationDrawerActions.d.ts +9 -0
- package/dist/components/NavigationDrawer/NavigationDrawerItemBase.d.ts +18 -0
- package/dist/components/NavigationDrawer/NavigationDrawerLinkItem.d.ts +30 -0
- package/dist/components/NavigationDrawer/NavigationDrawerNavlinks.d.ts +11 -0
- package/dist/components/NavigationDrawer/index.d.ts +2 -0
- package/dist/components/NotificationCard/NotificationCard.d.ts +25 -0
- package/dist/components/NotificationCard/index.d.ts +3 -0
- package/dist/components/OtpInput/OtpInput.d.ts +30 -0
- package/dist/components/Pagination/Pagination.d.ts +6 -0
- package/dist/components/ProfilePictureUpload/ProfilePictureUpload.d.ts +19 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +18 -0
- package/dist/components/PyrionNavigationDrawer/PyrionHelpSection.d.ts +8 -0
- package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawer.d.ts +130 -0
- package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawerMobileAppSwitcher.d.ts +10 -0
- package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawerSystemLogo.d.ts +7 -0
- package/dist/components/PyrionNavigationDrawer/PyrionNotificationsList.d.ts +8 -0
- package/dist/components/PyrionNavigationDrawer/SidebarContent.d.ts +13 -0
- package/dist/components/PyrionNavigationDrawer/SystemSessions.d.ts +12 -0
- package/dist/components/PyrionNavigationDrawer/index.d.ts +3 -0
- package/dist/components/RadioButton/RadioButton.d.ts +14 -0
- package/dist/components/RecurrentDatePicker/CustomFrequencySettings.d.ts +40 -0
- package/dist/components/RecurrentDatePicker/FrequencySettings.d.ts +13 -0
- package/dist/components/RecurrentDatePicker/MonthlyFrequencySettings.d.ts +35 -0
- package/dist/components/RecurrentDatePicker/PreviewCalendar.d.ts +5 -0
- package/dist/components/RecurrentDatePicker/RecurrentDatePicker.d.ts +39 -0
- package/dist/components/RecurrentDatePicker/RecurrentDatePickerRRule.d.ts +13 -0
- package/dist/components/RecurrentDatePicker/WeekdaysSelector.d.ts +13 -0
- package/dist/components/RecurrentDatePicker/WeeklyFrequencySetting.d.ts +9 -0
- package/dist/components/RecurrentDatePicker/YearlyFrequencySettings.d.ts +21 -0
- package/dist/components/RecurrentDatePicker/recurrentDatePicker.validations.d.ts +69 -0
- package/dist/components/Scrollable/Scrollable.d.ts +31 -0
- package/dist/components/SegmentedButton/SegmentedButton.d.ts +20 -0
- package/dist/components/Select/Select.d.ts +123 -0
- package/dist/components/SelectSearch/SelectSearch.d.ts +40 -0
- package/dist/components/Shared/Chip.d.ts +15 -0
- package/dist/components/Shared/HelperComponent.d.ts +13 -0
- package/dist/components/Sidebar/SecondaryBar/SecondaryBar.d.ts +32 -0
- package/dist/components/Sidebar/SecondaryBar/hooks/useSecondaryBarAnimation.d.ts +2 -0
- package/dist/components/Sidebar/SecondaryBar/index.d.ts +1 -0
- package/dist/components/Sidebar/SidebarComposable.d.ts +43 -0
- package/dist/components/Sidebar/components/NavigationLink.d.ts +11 -0
- package/dist/components/Sidebar/components/badge.d.ts +10 -0
- package/dist/components/Sidebar/components/changue-account.d.ts +5 -0
- package/dist/components/Sidebar/components/collapse-button.d.ts +5 -0
- package/dist/components/Sidebar/components/company-logo.d.ts +5 -0
- package/dist/components/Sidebar/components/nav-actions.d.ts +7 -0
- package/dist/components/Sidebar/components/nav-links.d.ts +7 -0
- package/dist/components/Sidebar/context/SidebarContext.d.ts +13 -0
- package/dist/components/Sidebar/hooks/SidebarProvider.d.ts +3 -0
- package/dist/components/Sidebar/hooks/useNavBarActions.d.ts +9 -0
- package/dist/components/Sidebar/hooks/useNavBarCollapse.d.ts +4 -0
- package/dist/components/Sidebar/hooks/useNavLinks.d.ts +32 -0
- package/dist/components/Sidebar/hooks/useSidebarHook.d.ts +13 -0
- package/dist/components/Sidebar/index.d.ts +12 -0
- package/dist/components/Sidebar/ui/useNavbarAnimation.d.ts +2 -0
- package/dist/components/Skeleton/Skeleton.d.ts +13 -0
- package/dist/components/Spinner/Spinner.d.ts +12 -0
- package/dist/components/Steps/Steps.d.ts +21 -0
- package/dist/components/SwipeContainer/SwipeContainer.d.ts +19 -0
- package/dist/components/Switch/Switch.d.ts +11 -0
- package/dist/components/TabLinks/TabLinks.d.ts +23 -0
- package/dist/components/TabSwitch/TabSwitch.d.ts +16 -0
- package/dist/components/Table/Table.d.ts +14 -0
- package/dist/components/Table/TableWithPagination.d.ts +11 -0
- package/dist/components/TextArea/TextArea.d.ts +15 -0
- package/dist/components/TicketCard/TicketCard.d.ts +32 -0
- package/dist/components/TicketCard/index.d.ts +3 -0
- package/dist/components/Toaster/ToastProvider.d.ts +5 -0
- package/dist/components/Toaster/Toaster.d.ts +36 -0
- package/dist/components/Tooltip/Tootip.d.ts +10 -0
- package/dist/components/UserCard/UserCard.d.ts +12 -0
- package/dist/exports/Autocomplete.d.ts +1 -0
- package/dist/exports/Avatar.d.ts +1 -0
- package/dist/exports/Button.d.ts +2 -0
- package/dist/exports/CardProfile.d.ts +3 -0
- package/dist/exports/CheckBox.d.ts +2 -0
- package/dist/exports/DatePicker.d.ts +3 -0
- package/dist/exports/DialogModal.d.ts +2 -0
- package/dist/exports/DrawerDesktop.d.ts +4 -0
- package/dist/exports/DrawerMobile.d.ts +4 -0
- package/dist/exports/DropZone.d.ts +3 -0
- package/dist/exports/FAButton.d.ts +1 -0
- package/dist/exports/Header.d.ts +2 -0
- package/dist/exports/Icons.d.ts +1 -0
- package/dist/exports/Image.d.ts +1 -0
- package/dist/exports/ImageGallery.d.ts +2 -0
- package/dist/exports/Input.d.ts +2 -0
- package/dist/exports/InputMultiple.d.ts +3 -0
- package/dist/exports/LayoutGeneric.d.ts +2 -0
- package/dist/exports/Logo.d.ts +1 -0
- package/dist/exports/Menu.d.ts +3 -0
- package/dist/exports/NotificationCard.d.ts +2 -0
- package/dist/exports/OtpInput.d.ts +2 -0
- package/dist/exports/Pagination.d.ts +2 -0
- package/dist/exports/ProfilePictureUpload.d.ts +3 -0
- package/dist/exports/ProgressBar.d.ts +2 -0
- package/dist/exports/PyrionNavigationDrawer.d.ts +2 -0
- package/dist/exports/RadioButton.d.ts +3 -0
- package/dist/exports/RecurrentDatePicker.d.ts +5 -0
- package/dist/exports/RecurrentDatePickerRRule.d.ts +2 -0
- package/dist/exports/Scrollable.d.ts +2 -0
- package/dist/exports/SegmentedButton.d.ts +3 -0
- package/dist/exports/Select.d.ts +5 -0
- package/dist/exports/SelectSearch.d.ts +3 -0
- package/dist/exports/Skeleton.d.ts +3 -0
- package/dist/exports/Spinner.d.ts +3 -0
- package/dist/exports/Steps.d.ts +3 -0
- package/dist/exports/SwipeContainer.d.ts +1 -0
- package/dist/exports/Switch.d.ts +3 -0
- package/dist/exports/TabLinks.d.ts +1 -0
- package/dist/exports/Table.d.ts +1 -0
- package/dist/exports/TextArea.d.ts +1 -0
- package/dist/exports/TicketCard.d.ts +2 -0
- package/dist/exports/Toast.d.ts +3 -0
- package/dist/exports/ToastProvider.d.ts +2 -0
- package/dist/exports/Tooltip.d.ts +2 -0
- package/dist/exports/useDevice.d.ts +1 -0
- package/dist/exports/usePyrionNavigation.d.ts +1 -0
- package/dist/hooks/useClickOutside.d.ts +8 -0
- package/dist/hooks/useDevice.d.ts +1 -0
- package/dist/hooks/useDragScroll.d.ts +29 -0
- package/dist/hooks/useLabelBackground.d.ts +6 -0
- package/dist/iconUtils-D0lVAgGT.js +5 -0
- package/dist/index-BOQuZ0gG.js +34 -0
- package/dist/index.d.ts +104 -0
- package/dist/jsx-runtime-GkKLlHH4.js +263 -0
- package/dist/lib/cn.d.ts +2 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/prometeo-design-system.es.js +918 -0
- package/dist/styles.css +1 -0
- package/dist/styles.d.ts +1 -0
- package/dist/useDevice.d.ts +2 -0
- package/dist/useDevice.es.js +13 -0
- package/dist/useDragScroll-CHN9OMwn.js +165 -0
- package/dist/useLabelBackground-BDIHUdND.js +26 -0
- package/dist/usePyrionNavigation.d.ts +4 -0
- package/dist/usePyrionNavigation.es.js +4 -0
- package/dist/utils-X4-h3cum.js +54 -0
- package/dist/vite.svg +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { INavLink } from '../hooks/useNavLinks';
|
|
2
|
+
export interface NavbarLinksProps {
|
|
3
|
+
links: INavLink[];
|
|
4
|
+
isLinkActive: (path: string) => boolean;
|
|
5
|
+
onLinkClick?: (path: string) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const NavbarLinks: ({ links, isLinkActive, onLinkClick, }: NavbarLinksProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
|
+
interface SidebarContextType {
|
|
3
|
+
primarySidebarRef: RefObject<HTMLDivElement | null>;
|
|
4
|
+
registerPrimarySidebar: (ref: RefObject<HTMLDivElement | null>) => void;
|
|
5
|
+
tabBarRef: RefObject<HTMLDivElement | null>;
|
|
6
|
+
registerTabBar: (ref: RefObject<HTMLDivElement | null>) => void;
|
|
7
|
+
}
|
|
8
|
+
interface SidebarProviderProps {
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export declare const SidebarProvider: ({ children }: SidebarProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const useSidebarContext: () => SidebarContextType;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface IRootState {
|
|
2
|
+
isActiveModalNotification: boolean;
|
|
3
|
+
setIsActiveModalNotification: (isActiveModalNotification: boolean) => void;
|
|
4
|
+
}
|
|
5
|
+
export declare const useActionsNavbar: ({ isActiveModalNotification, setIsActiveModalNotification, }: IRootState) => {
|
|
6
|
+
handleNotificationClick: () => void;
|
|
7
|
+
isActiveModalNotification: boolean;
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export type Role = "Developer" | "SuperAdmin" | "Admin" | "Regular";
|
|
2
|
+
export declare const Roles: {
|
|
3
|
+
levelOne: readonly ["Developer"];
|
|
4
|
+
levelTwo: Role[];
|
|
5
|
+
levelThree: Role[];
|
|
6
|
+
levelFour: Role[];
|
|
7
|
+
};
|
|
8
|
+
export type RoleLevels = typeof Roles;
|
|
9
|
+
export interface INavLink {
|
|
10
|
+
path: string;
|
|
11
|
+
title: string;
|
|
12
|
+
icon?: (props: {
|
|
13
|
+
size: number;
|
|
14
|
+
className: string;
|
|
15
|
+
}) => React.ReactNode;
|
|
16
|
+
viewAccess?: () => boolean;
|
|
17
|
+
discover?: "render" | "none";
|
|
18
|
+
isView?: boolean | (() => boolean);
|
|
19
|
+
relatedPaths?: string[];
|
|
20
|
+
count?: number;
|
|
21
|
+
}
|
|
22
|
+
export interface INavAction {
|
|
23
|
+
actionName: string;
|
|
24
|
+
title: string;
|
|
25
|
+
icon: (props: {
|
|
26
|
+
size: number;
|
|
27
|
+
className: string;
|
|
28
|
+
}) => React.ReactNode;
|
|
29
|
+
viewAccess: () => boolean;
|
|
30
|
+
isView?: boolean | (() => boolean);
|
|
31
|
+
count?: number;
|
|
32
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
export interface SidebarContextValue {
|
|
3
|
+
isCollapsed: boolean;
|
|
4
|
+
setIsCollapsed: (collapsed: boolean) => void;
|
|
5
|
+
navbarRef: RefObject<HTMLDivElement | null>;
|
|
6
|
+
toggleCollapse: () => void;
|
|
7
|
+
activeSecondaryBar: string | null;
|
|
8
|
+
openSecondaryBar: (action: string) => void;
|
|
9
|
+
closeSecondaryBar: () => void;
|
|
10
|
+
toggleSecondaryBar: (action: string) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const SidebarContext: import('react').Context<SidebarContextValue | undefined>;
|
|
13
|
+
export declare const useSidebar: () => SidebarContextValue;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { SecondaryBar } from './SecondaryBar/SecondaryBar';
|
|
2
|
+
export { Sidebar } from './SidebarComposable';
|
|
3
|
+
export { SidebarProvider } from './hooks/SidebarProvider';
|
|
4
|
+
export { useSidebar } from './hooks/useSidebarHook';
|
|
5
|
+
export { NavigationLink } from './components/NavigationLink';
|
|
6
|
+
export { Badge } from './components/badge';
|
|
7
|
+
export { NavBarActions } from './components/nav-actions';
|
|
8
|
+
export { NavbarLinks } from './components/nav-links';
|
|
9
|
+
export { useActionsNavbar } from './hooks/useNavBarActions';
|
|
10
|
+
export { useNavbarCollapse } from './hooks/useNavBarCollapse';
|
|
11
|
+
export type { BadgeProps } from './components/badge';
|
|
12
|
+
export type { NavbarLinksProps } from './components/nav-links';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface SkeletonProps {
|
|
2
|
+
debugMode?: boolean;
|
|
3
|
+
className?: string;
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
shape?: "circle" | "square" | "rounded";
|
|
6
|
+
animation?: 'shimmer' | 'none' | 'border';
|
|
7
|
+
onlyContainer?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('react').MemoExoticComponent<{
|
|
10
|
+
(props: SkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SizeVariant } from '../Shared/types';
|
|
2
|
+
export type SpinnerVariant = 'sync' | 'clip' | 'bounce' | 'dot' | 'grid' | 'hash' | 'linear';
|
|
3
|
+
export interface SpinnerProps {
|
|
4
|
+
color?: string;
|
|
5
|
+
secondaryColor?: string;
|
|
6
|
+
size?: SizeVariant;
|
|
7
|
+
className?: string;
|
|
8
|
+
speedMultiplier?: number;
|
|
9
|
+
variant?: SpinnerVariant;
|
|
10
|
+
}
|
|
11
|
+
declare const Spinner: import('react').MemoExoticComponent<(props: SpinnerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
12
|
+
export default Spinner;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface Step {
|
|
3
|
+
id: string | number;
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
icon?: React.ReactElement<{
|
|
7
|
+
size: number;
|
|
8
|
+
}>;
|
|
9
|
+
}
|
|
10
|
+
export interface StepsProps {
|
|
11
|
+
steps: Step[];
|
|
12
|
+
currentStep: number;
|
|
13
|
+
orientation?: "horizontal" | "vertical";
|
|
14
|
+
variant?: "default" | "minimal" | "numbered" | "numbered-minimal";
|
|
15
|
+
size?: "sm" | "md" | "lg";
|
|
16
|
+
className?: string;
|
|
17
|
+
onStepClick?: (stepIndex: number) => void;
|
|
18
|
+
allowClickableSteps?: boolean;
|
|
19
|
+
}
|
|
20
|
+
declare const Steps: React.FC<StepsProps>;
|
|
21
|
+
export default Steps;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
interface SwipeContainerProps {
|
|
3
|
+
children: ReactNode[];
|
|
4
|
+
className?: string;
|
|
5
|
+
showIndicators?: boolean;
|
|
6
|
+
showControls?: boolean;
|
|
7
|
+
autoPlay?: boolean;
|
|
8
|
+
autoPlayInterval?: number;
|
|
9
|
+
onSwipe?: (index: number) => void;
|
|
10
|
+
threshold?: number;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
cardWidth?: number | string;
|
|
13
|
+
visibleCards?: number;
|
|
14
|
+
width?: number | string;
|
|
15
|
+
height?: number | string;
|
|
16
|
+
gap?: number;
|
|
17
|
+
}
|
|
18
|
+
declare const SwipeContainer: React.FC<SwipeContainerProps>;
|
|
19
|
+
export default SwipeContainer;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface SwitchProps {
|
|
2
|
+
name: string;
|
|
3
|
+
value: boolean;
|
|
4
|
+
onChange: (name: string, value: boolean) => void;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('react').MemoExoticComponent<{
|
|
8
|
+
({ name, value, onChange, disabled }: SwitchProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
}>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface TabItem {
|
|
2
|
+
id: string | number;
|
|
3
|
+
title: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
description?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface TabLinksProps {
|
|
8
|
+
readonly items: TabItem[];
|
|
9
|
+
readonly activeTab?: string | number;
|
|
10
|
+
readonly onTabChange?: (tabId: string | number, item: TabItem) => void;
|
|
11
|
+
readonly className?: string;
|
|
12
|
+
readonly tabClassName?: string;
|
|
13
|
+
readonly activeTabClassName?: string;
|
|
14
|
+
readonly indicatorClassName?: string;
|
|
15
|
+
readonly animated?: boolean;
|
|
16
|
+
readonly renderTab?: (item: TabItem, isActive: boolean, onClick: () => void) => React.ReactNode;
|
|
17
|
+
}
|
|
18
|
+
declare function TabLinks({ items, activeTab, onTabChange, className, tabClassName, activeTabClassName, indicatorClassName, animated, renderTab, }: TabLinksProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare namespace TabLinks {
|
|
20
|
+
var displayName: string;
|
|
21
|
+
}
|
|
22
|
+
declare const _default: import('react').MemoExoticComponent<typeof TabLinks>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface TabSwitchElement {
|
|
2
|
+
name: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
thumbnail: React.ReactNode | string;
|
|
5
|
+
className?: string;
|
|
6
|
+
onClick?: (name: string) => void;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface TabsSwitchProps {
|
|
10
|
+
tabs: TabSwitchElement[];
|
|
11
|
+
className?: string;
|
|
12
|
+
currentTabName?: string;
|
|
13
|
+
activeColor?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const TabsSwitch: import('react').ForwardRefExoticComponent<TabsSwitchProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
16
|
+
export default TabsSwitch;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
|
|
3
|
+
declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
4
|
+
declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
5
|
+
declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
6
|
+
type TableRowPropsExtended = {
|
|
7
|
+
isSelected?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & TableRowPropsExtended & React.RefAttributes<HTMLTableRowElement & TableRowPropsExtended>>;
|
|
10
|
+
declare const TableHead: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
11
|
+
declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
12
|
+
declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
13
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
14
|
+
export { TableWithPagination } from './TableWithPagination';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ColumnDef } from '@tanstack/react-table';
|
|
2
|
+
interface TableWithPaginationProps<T> {
|
|
3
|
+
data: T[];
|
|
4
|
+
columns: ColumnDef<T>[];
|
|
5
|
+
itemsPerPage?: number;
|
|
6
|
+
onRowClick?: (row: T) => void;
|
|
7
|
+
className?: string;
|
|
8
|
+
emptyStateMessage?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function TableWithPagination<T>({ data, columns, itemsPerPage, onRowClick, className, emptyStateMessage }: TableWithPaginationProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface TextAreaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange"> {
|
|
3
|
+
autoResize?: boolean;
|
|
4
|
+
userResize?: boolean;
|
|
5
|
+
minRows?: number;
|
|
6
|
+
maxRows?: number;
|
|
7
|
+
className?: string;
|
|
8
|
+
onChange?: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
9
|
+
value?: string;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
rows?: number;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
15
|
+
export default TextArea;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
|
+
type TicketCardSlotChildren = ReactNode | ((context: TicketCardRenderContext) => ReactNode);
|
|
3
|
+
type SlotBaseProps = {
|
|
4
|
+
children?: TicketCardSlotChildren;
|
|
5
|
+
className?: string;
|
|
6
|
+
context?: TicketCardRenderContext;
|
|
7
|
+
};
|
|
8
|
+
export type TicketCardHandlerProps = {
|
|
9
|
+
open: () => void;
|
|
10
|
+
close: () => void;
|
|
11
|
+
toggle: () => void;
|
|
12
|
+
};
|
|
13
|
+
type TicketCardRenderContext = {
|
|
14
|
+
isCollapsed: boolean;
|
|
15
|
+
toggle: () => void;
|
|
16
|
+
};
|
|
17
|
+
export interface TicketCardProps {
|
|
18
|
+
children?: TicketCardSlotChildren;
|
|
19
|
+
className?: string;
|
|
20
|
+
controls?: RefObject<TicketCardHandlerProps | null>;
|
|
21
|
+
}
|
|
22
|
+
type ContentSlotProps = SlotBaseProps & {
|
|
23
|
+
onClick?: () => void;
|
|
24
|
+
};
|
|
25
|
+
declare const TicketCard: import('react').NamedExoticComponent<TicketCardProps> & {
|
|
26
|
+
readonly type: (props: TicketCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
} & {
|
|
28
|
+
Root: import('react').MemoExoticComponent<(props: TicketCardProps) => import("react/jsx-runtime").JSX.Element>;
|
|
29
|
+
Content: (props: ContentSlotProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
Options: (props: SlotBaseProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
};
|
|
32
|
+
export default TicketCard;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ColorMode } from '../Shared/types';
|
|
2
|
+
import { IconComponent } from '../../Icons/types';
|
|
3
|
+
type ToastElementsProps = {
|
|
4
|
+
container: string;
|
|
5
|
+
iconClass: string;
|
|
6
|
+
icon: IconComponent;
|
|
7
|
+
};
|
|
8
|
+
type ToastVarians = 'success' | 'error' | 'warning' | 'info';
|
|
9
|
+
type ToastVariantClassnames = {
|
|
10
|
+
dark: {
|
|
11
|
+
[key in ToastVarians]: ToastElementsProps;
|
|
12
|
+
};
|
|
13
|
+
light: {
|
|
14
|
+
[key in ToastVarians]: ToastElementsProps;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
declare const toastVariants: ToastVariantClassnames;
|
|
18
|
+
type ToastPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center';
|
|
19
|
+
export interface PyrionToastProps {
|
|
20
|
+
id: string | number;
|
|
21
|
+
variant?: keyof typeof toastVariants['dark'];
|
|
22
|
+
title?: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
icon?: IconComponent;
|
|
25
|
+
duration?: number;
|
|
26
|
+
button?: {
|
|
27
|
+
label?: string;
|
|
28
|
+
onClick: () => void;
|
|
29
|
+
};
|
|
30
|
+
colorMode?: ColorMode;
|
|
31
|
+
showClose?: boolean;
|
|
32
|
+
position?: ToastPosition;
|
|
33
|
+
}
|
|
34
|
+
declare const PyrionToast: (props: PyrionToastProps) => import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export default PyrionToast;
|
|
36
|
+
export declare function toastpyrion(title: string, options?: Omit<PyrionToastProps, 'id'>): string | number;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
export interface IToolTipProps {
|
|
3
|
+
title: string;
|
|
4
|
+
trigger: 'hover' | 'click';
|
|
5
|
+
children: ReactElement;
|
|
6
|
+
position?: 'top' | 'bottom' | 'left' | 'right';
|
|
7
|
+
component?: ReactElement;
|
|
8
|
+
}
|
|
9
|
+
declare const Tooltip: ({ title, trigger, children, position, component }: IToolTipProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default Tooltip;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SizeVariant } from '../Avatar/Avatar';
|
|
2
|
+
export interface UserCardProps {
|
|
3
|
+
name: string;
|
|
4
|
+
mainSlot?: string | React.ReactNode | (() => React.ReactNode);
|
|
5
|
+
secondarySlot?: string | React.ReactNode | (() => React.ReactNode) | null;
|
|
6
|
+
imageUrl?: string;
|
|
7
|
+
subImageUrl?: string;
|
|
8
|
+
avatarSize?: SizeVariant;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const UserCard: import('react').MemoExoticComponent<({ name, imageUrl, avatarSize, subImageUrl, className, mainSlot, secondarySlot }: UserCardProps) => import("react/jsx-runtime").JSX.Element>;
|
|
12
|
+
export default UserCard;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../components/Autocomplete/Autocomplete';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../components/Avatar/Avatar';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default } from '../components/Drawer/DrawerDesktop';
|
|
2
|
+
export { useDrawerDesktop } from '../components/Drawer/useDrawerDesktop';
|
|
3
|
+
export type { DrawerDesktopProps } from '../components/Drawer/DrawerDesktop';
|
|
4
|
+
export type { DrawerDesktopHandle } from '../components/Drawer/DrawerDesktop';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default } from '../components/Drawer/DrawerMobile';
|
|
2
|
+
export { useDrawerMobile } from '../components/Drawer/useDrawerMobile';
|
|
3
|
+
export type { DrawerMobileProps } from '../components/Drawer/DrawerMobile';
|
|
4
|
+
export type { DrawerMobileHandle } from '../components/Drawer/DrawerMobile';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../components/FAB/FAButton';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../Icons/index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../components/Image/Image';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../components/Logo/Logo';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { ProfilePictureUpload as default } from '../components/ProfilePictureUpload/ProfilePictureUpload';
|
|
2
|
+
export { ProfilePictureUpload } from '../components/ProfilePictureUpload/ProfilePictureUpload';
|
|
3
|
+
export type { ProfilePictureUploadProps } from '../components/ProfilePictureUpload/ProfilePictureUpload';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as RecurrentDatePicker } from '../components/RecurrentDatePicker/RecurrentDatePicker';
|
|
2
|
+
export type { RecurrenceConfig } from '../components/RecurrentDatePicker/RecurrentDatePicker';
|
|
3
|
+
export type { FrequencySettingsValue } from '../components/RecurrentDatePicker/RecurrentDatePicker';
|
|
4
|
+
export type { FrequencySettingsErrors } from '../components/RecurrentDatePicker/RecurrentDatePicker';
|
|
5
|
+
export type { RecurrentDatePickerErrors } from '../components/RecurrentDatePicker/RecurrentDatePicker';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default } from '../components/Select/Select';
|
|
2
|
+
export type { SelectProps } from '../components/Select/Select';
|
|
3
|
+
export type { CustomSelectionDisplayProps } from '../components/Select/Select';
|
|
4
|
+
export type { CustomSelectOptionRendererProps } from '../components/Select/Select';
|
|
5
|
+
export type { SelectOptionType } from '../components/Select/Select';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../components/SwipeContainer/SwipeContainer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../components/TabLinks/TabLinks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, } from '../components/Table/Table';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../components/TextArea/TextArea';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useIsMobile } from '../hooks/useDevice';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { usePyrionNavigation as default } from '../components/PyrionNavigationDrawer/PyrionNavigationDrawer';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Hook for detecting clicks outside of a specified element
|
|
4
|
+
* @param handler - Function to call when click outside is detected
|
|
5
|
+
* @param active - Whether the hook should be active (default: true)
|
|
6
|
+
* @returns ref - Ref to attach to the element you want to detect clicks outside of
|
|
7
|
+
*/
|
|
8
|
+
export declare const useClickOutside: <T extends HTMLElement = HTMLElement>(handler: () => void, active?: boolean) => RefObject<T | null>;
|