prometeo-design-system 3.1.3 → 3.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +25 -5
- package/src/styles/base.css +25 -0
- package/src/styles/palette.css +3 -0
- package/dist/Avatar.d.ts +0 -4
- package/dist/Avatar.es.js +0 -88
- package/dist/Button.d.ts +0 -6
- package/dist/Button.es.js +0 -400
- package/dist/CardProfile-BVO6fKr9.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-D1EwMGIN.js +0 -3568
- 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 -211
- 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-DhGU_ug-.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-4DdXqwRy.js +0 -319
- package/dist/ImageGallery.d.ts +0 -6
- package/dist/ImageGallery.es.js +0 -23
- package/dist/Input-EkMrxcNX.js +0 -241
- package/dist/Input.d.ts +0 -6
- package/dist/Input.es.js +0 -4
- package/dist/InputMultiple.d.ts +0 -6
- package/dist/InputMultiple.es.js +0 -265
- package/dist/LayoutGeneric-CbaoatQB.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 -1684
- package/dist/SegmentedButton.d.ts +0 -6
- package/dist/SegmentedButton.es.js +0 -185
- package/dist/Select-Bq1fVlwM.js +0 -1110
- 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 -20
- 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 -33
- package/dist/components/NavigationDrawer/NavigationDrawerActionItem.d.ts +0 -14
- package/dist/components/NavigationDrawer/NavigationDrawerActions.d.ts +0 -9
- package/dist/components/NavigationDrawer/NavigationDrawerItemBase.d.ts +0 -17
- package/dist/components/NavigationDrawer/NavigationDrawerLinkItem.d.ts +0 -29
- package/dist/components/NavigationDrawer/NavigationDrawerNavlinks.d.ts +0 -11
- package/dist/components/NavigationDrawer/index.d.ts +0 -2
- 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/PyrionNavigationDrawer.d.ts +0 -51
- 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 -25
- 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 -9
- 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/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/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/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 -5
- 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-DKDX3adD.js +0 -281
- package/dist/lib/cn.d.ts +0 -2
- package/dist/lib/utils.d.ts +0 -3
- package/dist/prometeo-design-system.es.js +0 -993
- 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/vite.svg +0 -1
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ComponentType, RefObject } from 'react';
|
|
2
|
-
import { CustomSelectionDisplayProps, CustomSelectOptionRendererProps, SelectControlsHandler, SelectProps } from '../Select/Select';
|
|
3
|
-
import { OptionAccessor } from '../Shared/types';
|
|
4
|
-
export interface SelectSearchControlsHandler extends SelectControlsHandler {
|
|
5
|
-
cleanOptions: () => void;
|
|
6
|
-
}
|
|
7
|
-
export type SelectSearchControlsRef = RefObject<SelectSearchControlsHandler | SelectControlsHandler | null>;
|
|
8
|
-
interface SimpleSelectSearchProps<T extends object> extends BaseSelectSearchProps<T> {
|
|
9
|
-
multiple?: false;
|
|
10
|
-
value?: T | undefined;
|
|
11
|
-
onChange?: (newValue: T, name?: string) => void;
|
|
12
|
-
}
|
|
13
|
-
interface MultipleSelectSearchProps<T extends object> extends BaseSelectSearchProps<T> {
|
|
14
|
-
multiple: true;
|
|
15
|
-
value?: T[];
|
|
16
|
-
onChange?: (newValue: T[], name?: string) => void;
|
|
17
|
-
}
|
|
18
|
-
export interface BaseSelectSearchProps<T extends object> {
|
|
19
|
-
label?: string;
|
|
20
|
-
placeholder?: string;
|
|
21
|
-
name?: string;
|
|
22
|
-
options?: T[];
|
|
23
|
-
optionValue: OptionAccessor<T, string | number>;
|
|
24
|
-
optionLabel: OptionAccessor<T, string>;
|
|
25
|
-
fetcher?: (input?: string) => Promise<T[]>;
|
|
26
|
-
asyncMode?: 'fetch_in_open' | 'fetch_on_type';
|
|
27
|
-
debounceDelay?: number;
|
|
28
|
-
minCharacters?: number;
|
|
29
|
-
inputSearchPlaceholder?: string;
|
|
30
|
-
labelVariant?: 'static' | 'default';
|
|
31
|
-
disabled?: boolean;
|
|
32
|
-
className?: string;
|
|
33
|
-
renderOption?: ComponentType<CustomSelectOptionRendererProps<T>>;
|
|
34
|
-
renderSelection?: ComponentType<CustomSelectionDisplayProps<T>>;
|
|
35
|
-
controls?: SelectSearchControlsRef;
|
|
36
|
-
selectComponentProps?: Partial<Omit<SelectProps<T>, 'controls'>>;
|
|
37
|
-
}
|
|
38
|
-
export type SelectSearchProps<T extends object> = SimpleSelectSearchProps<T> | MultipleSelectSearchProps<T>;
|
|
39
|
-
declare const SelectSearch: <T extends object>(props: SelectSearchProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
export default SelectSearch;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ComponentVariant } from './types';
|
|
2
|
-
type ChipProps = {
|
|
3
|
-
id: string | number;
|
|
4
|
-
label: string;
|
|
5
|
-
onRemove?: (optionId: string | number) => void;
|
|
6
|
-
className?: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
variant?: ComponentVariant;
|
|
9
|
-
tabIndex?: number;
|
|
10
|
-
};
|
|
11
|
-
declare const _default: import('react').MemoExoticComponent<{
|
|
12
|
-
({ id, label, onRemove, className, disabled, variant, tabIndex }: ChipProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
}>;
|
|
15
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ComponentVariant } from './types';
|
|
3
|
-
export interface HelperTextProps {
|
|
4
|
-
ref?: React.RefObject<HTMLDivElement | null>;
|
|
5
|
-
children: React.ReactNode | string;
|
|
6
|
-
variant: ComponentVariant;
|
|
7
|
-
className?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: React.MemoExoticComponent<{
|
|
10
|
-
(props: HelperTextProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
}>;
|
|
13
|
-
export default _default;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface SecondaryBarRootProps {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
isOpen?: boolean;
|
|
5
|
-
className?: string;
|
|
6
|
-
width?: string;
|
|
7
|
-
action?: string;
|
|
8
|
-
primarySidebarCollapsed?: boolean;
|
|
9
|
-
onClose?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export interface HeaderProps {
|
|
12
|
-
children: ReactNode;
|
|
13
|
-
className?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface ContentProps {
|
|
16
|
-
children: ReactNode;
|
|
17
|
-
className?: string;
|
|
18
|
-
}
|
|
19
|
-
export interface FooterProps {
|
|
20
|
-
children: ReactNode;
|
|
21
|
-
className?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface SpacerProps {
|
|
24
|
-
className?: string;
|
|
25
|
-
}
|
|
26
|
-
export declare const SecondaryBar: (({ children, isOpen, className, width, action, primarySidebarCollapsed, onClose, }: SecondaryBarRootProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
27
|
-
Root: ({ children, isOpen, className, width, action, primarySidebarCollapsed, onClose, }: SecondaryBarRootProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
Header: ({ children, className }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
Content: ({ children, className }: ContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
Footer: ({ children, className }: FooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
Spacer: ({ className }: SpacerProps) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SecondaryBar } from './SecondaryBar';
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { TabSwitchElement } from '../TabSwitch/TabSwitch';
|
|
3
|
-
interface SidebarRootProps {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
isCollapsed?: boolean;
|
|
6
|
-
className?: string;
|
|
7
|
-
tabs?: TabSwitchElement[];
|
|
8
|
-
currentTabName?: string;
|
|
9
|
-
}
|
|
10
|
-
interface CollapseButtonProps {
|
|
11
|
-
isCollapsed: boolean;
|
|
12
|
-
onToggleCollapse: () => void;
|
|
13
|
-
}
|
|
14
|
-
export declare const CollapseButton: ({ isCollapsed, onToggleCollapse }: CollapseButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
interface HeaderProps {
|
|
16
|
-
children: ReactNode;
|
|
17
|
-
className: string;
|
|
18
|
-
}
|
|
19
|
-
interface DividerProps {
|
|
20
|
-
className?: string;
|
|
21
|
-
}
|
|
22
|
-
interface ContentProps {
|
|
23
|
-
children: ReactNode;
|
|
24
|
-
className: string;
|
|
25
|
-
}
|
|
26
|
-
interface SpacerProps {
|
|
27
|
-
size?: 'auto' | 'small' | 'medium' | 'large' | string;
|
|
28
|
-
className?: string;
|
|
29
|
-
}
|
|
30
|
-
interface FooterProps {
|
|
31
|
-
children: ReactNode;
|
|
32
|
-
className?: string;
|
|
33
|
-
}
|
|
34
|
-
export declare const Sidebar: import('react').ForwardRefExoticComponent<SidebarRootProps & import('react').RefAttributes<HTMLDivElement>> & {
|
|
35
|
-
Root: import('react').ForwardRefExoticComponent<SidebarRootProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
36
|
-
CollapseButton: ({ isCollapsed, onToggleCollapse }: CollapseButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
Header: ({ children, className }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
Divider: ({ className }: DividerProps) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
Content: ({ children, className }: ContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
Spacer: ({ className, size }: SpacerProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
Footer: ({ children, className }: FooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
42
|
-
};
|
|
43
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface NavigationLinkProps {
|
|
2
|
-
children: React.ReactNode;
|
|
3
|
-
icon?: React.ReactNode;
|
|
4
|
-
label?: string;
|
|
5
|
-
href?: string;
|
|
6
|
-
onClick?: () => void;
|
|
7
|
-
isActive?: boolean;
|
|
8
|
-
className?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const NavigationLink: ({ children, icon, label, href, onClick, isActive, className }: NavigationLinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default NavigationLink;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export type BadgeProps = {
|
|
2
|
-
count: number;
|
|
3
|
-
maxCount?: number;
|
|
4
|
-
className?: string;
|
|
5
|
-
size?: 'small' | 'medium' | 'large';
|
|
6
|
-
variant?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
|
|
7
|
-
showZero?: boolean;
|
|
8
|
-
};
|
|
9
|
-
export declare const Badge: ({ count, maxCount, className, size, variant, showZero }: BadgeProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ISessionLocalStorage } from '../../CardProfile/CardProfile';
|
|
2
|
-
export default function ChangeAccount({ sessions, handleTokenLogin, }: {
|
|
3
|
-
readonly sessions?: ISessionLocalStorage[];
|
|
4
|
-
readonly handleTokenLogin?: (token: string) => void;
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { INavAction } from '../hooks/useNavLinks';
|
|
2
|
-
export interface INavbarActionsProps {
|
|
3
|
-
linkActions: INavAction[];
|
|
4
|
-
onClick?: (actionName: string) => void;
|
|
5
|
-
activeAction?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const NavBarActions: ({ linkActions, onClick, activeAction, }: INavbarActionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
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;
|
|
@@ -1,13 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,9 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,32 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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;
|
|
@@ -1,12 +0,0 @@
|
|
|
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';
|
|
@@ -1,13 +0,0 @@
|
|
|
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;
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1,21 +0,0 @@
|
|
|
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;
|
|
@@ -1,19 +0,0 @@
|
|
|
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;
|
|
@@ -1,11 +0,0 @@
|
|
|
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;
|
|
@@ -1,23 +0,0 @@
|
|
|
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;
|
|
@@ -1,16 +0,0 @@
|
|
|
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;
|
|
@@ -1,14 +0,0 @@
|
|
|
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';
|
|
@@ -1,11 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,15 +0,0 @@
|
|
|
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;
|
|
@@ -1,36 +0,0 @@
|
|
|
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;
|
|
@@ -1,10 +0,0 @@
|
|
|
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;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../components/Autocomplete/Autocomplete';
|
package/dist/exports/Avatar.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../components/Avatar/Avatar';
|
package/dist/exports/Button.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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';
|
|
@@ -1,4 +0,0 @@
|
|
|
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';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../components/FAB/FAButton';
|
package/dist/exports/Header.d.ts
DELETED
package/dist/exports/Icons.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '../Icons/index';
|
package/dist/exports/Image.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../components/Image/Image';
|
package/dist/exports/Input.d.ts
DELETED
package/dist/exports/Logo.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../components/Logo/Logo';
|