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,82 +0,0 @@
|
|
|
1
|
-
import { DateAfter, DateBefore, DateInterval, DateRange, DayOfWeek, Matcher } from 'react-day-picker';
|
|
2
|
-
import { InputProps } from '../Input/Input';
|
|
3
|
-
interface DatePickerBaseProps {
|
|
4
|
-
variant?: 'input' | 'only-calendar' | 'input-and-calendar';
|
|
5
|
-
required?: boolean;
|
|
6
|
-
disabledDates?: boolean | Matcher[] | Date | Date[] | DateRange | DateBefore | DateAfter | DateInterval | DayOfWeek | ((date: Date) => boolean);
|
|
7
|
-
className?: string;
|
|
8
|
-
header?: string | React.ReactNode;
|
|
9
|
-
footer?: string | React.ReactNode;
|
|
10
|
-
hideOutsideDays?: boolean;
|
|
11
|
-
numberOfMonths?: number;
|
|
12
|
-
startMonth?: Date;
|
|
13
|
-
endMonth?: Date;
|
|
14
|
-
showActionButtons?: boolean;
|
|
15
|
-
applyLabel?: string;
|
|
16
|
-
cancelLabel?: string;
|
|
17
|
-
onApply?: (value: Date | DateRange | Date[] | undefined) => void;
|
|
18
|
-
onCancel?: () => void;
|
|
19
|
-
hideFooter?: boolean;
|
|
20
|
-
inputProps?: Partial<InputProps>;
|
|
21
|
-
label?: string;
|
|
22
|
-
name?: string;
|
|
23
|
-
min?: number;
|
|
24
|
-
max?: number;
|
|
25
|
-
}
|
|
26
|
-
interface DatePickerSingleProps extends DatePickerBaseProps {
|
|
27
|
-
mode?: "single";
|
|
28
|
-
selected: Date | undefined;
|
|
29
|
-
onSelect: (date: Date) => void;
|
|
30
|
-
}
|
|
31
|
-
interface DatePickerRangeProps extends DatePickerBaseProps {
|
|
32
|
-
mode: "range";
|
|
33
|
-
selected: DateRange | undefined;
|
|
34
|
-
onSelect: (range: DateRange) => void;
|
|
35
|
-
min?: number;
|
|
36
|
-
max?: number;
|
|
37
|
-
excludeDisabled?: boolean;
|
|
38
|
-
}
|
|
39
|
-
interface DatePickerMultipleProps extends DatePickerBaseProps {
|
|
40
|
-
mode: "multiple";
|
|
41
|
-
selected: Date[] | undefined;
|
|
42
|
-
onSelect: (dates: Date[]) => void;
|
|
43
|
-
min?: number;
|
|
44
|
-
max?: number;
|
|
45
|
-
}
|
|
46
|
-
export type DatePickerProps = DatePickerSingleProps | DatePickerRangeProps | DatePickerMultipleProps;
|
|
47
|
-
declare const DatePicker: (props: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
48
|
-
export default DatePicker;
|
|
49
|
-
interface CalendarProps {
|
|
50
|
-
min?: number;
|
|
51
|
-
max?: number;
|
|
52
|
-
excludeDisabled?: boolean;
|
|
53
|
-
endMonth?: Date;
|
|
54
|
-
startMonth?: Date;
|
|
55
|
-
readonly?: boolean;
|
|
56
|
-
className?: string;
|
|
57
|
-
required?: boolean;
|
|
58
|
-
hideFooter?: boolean;
|
|
59
|
-
applyLabel?: string;
|
|
60
|
-
cancelLabel?: string;
|
|
61
|
-
onApply?: () => void;
|
|
62
|
-
onCancel?: () => void;
|
|
63
|
-
numberOfMonths?: number;
|
|
64
|
-
hideOutsideDays?: boolean;
|
|
65
|
-
style?: React.CSSProperties;
|
|
66
|
-
showActionButtons?: boolean;
|
|
67
|
-
header?: string | React.ReactNode;
|
|
68
|
-
footer?: string | React.ReactNode;
|
|
69
|
-
mode: "single" | "range" | "multiple";
|
|
70
|
-
ref?: React.RefObject<HTMLDivElement | null>;
|
|
71
|
-
selected: Date | DateRange | Date[] | undefined;
|
|
72
|
-
displayValue: Date | DateRange | Date[] | undefined;
|
|
73
|
-
onSelect?: (value: Date | DateRange | Date[]) => void;
|
|
74
|
-
calendarPosition?: {
|
|
75
|
-
top: number;
|
|
76
|
-
bottom: number;
|
|
77
|
-
left: number;
|
|
78
|
-
right: number;
|
|
79
|
-
};
|
|
80
|
-
disabledDates?: boolean | Matcher[] | Date | Date[] | DateRange | DateBefore | DateAfter | DateInterval | DayOfWeek | ((date: Date) => boolean);
|
|
81
|
-
}
|
|
82
|
-
export declare const Calendar: import('react').MemoExoticComponent<(props: CalendarProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
interface DialogProps<TContext = unknown> {
|
|
2
|
-
title?: string;
|
|
3
|
-
children: React.ReactNode | ((context: TContext | null) => React.ReactNode);
|
|
4
|
-
onClose?: (context: TContext | null) => void;
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface DialogHandle<TContext = unknown> {
|
|
8
|
-
open: (context?: TContext) => void;
|
|
9
|
-
close: () => void;
|
|
10
|
-
isOpen: boolean;
|
|
11
|
-
getContext: () => TContext | null;
|
|
12
|
-
}
|
|
13
|
-
interface DialogContentProps {
|
|
14
|
-
children?: React.ReactNode;
|
|
15
|
-
className?: string;
|
|
16
|
-
}
|
|
17
|
-
interface DialogTitleProps {
|
|
18
|
-
children?: React.ReactNode;
|
|
19
|
-
className?: string;
|
|
20
|
-
}
|
|
21
|
-
interface DialogHeaderProps {
|
|
22
|
-
children?: React.ReactNode;
|
|
23
|
-
className?: string;
|
|
24
|
-
}
|
|
25
|
-
interface DialogFooterProps {
|
|
26
|
-
children?: React.ReactNode;
|
|
27
|
-
className?: string;
|
|
28
|
-
}
|
|
29
|
-
declare const DialogModal: import('react').ForwardRefExoticComponent<DialogProps<any> & import('react').RefAttributes<DialogHandle<any>>> & {
|
|
30
|
-
Content: import('react').MemoExoticComponent<({ children, className }: DialogContentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
31
|
-
Header: import('react').MemoExoticComponent<({ children, className }: DialogHeaderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
32
|
-
Footer: import('react').MemoExoticComponent<({ children, className }: DialogFooterProps) => import("react/jsx-runtime").JSX.Element>;
|
|
33
|
-
Title: import('react').MemoExoticComponent<({ children, className }: DialogTitleProps) => import("react/jsx-runtime").JSX.Element>;
|
|
34
|
-
};
|
|
35
|
-
export default DialogModal;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
interface DialogProps<TContext = unknown> {
|
|
2
|
-
title?: string;
|
|
3
|
-
children: React.ReactNode | ((context: TContext | null) => React.ReactNode);
|
|
4
|
-
onClose?: (context: TContext | null) => void;
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface DialogHandle<TContext = unknown> {
|
|
8
|
-
open: (context?: TContext) => void;
|
|
9
|
-
close: () => void;
|
|
10
|
-
isOpen: boolean;
|
|
11
|
-
getContext: () => TContext | null;
|
|
12
|
-
}
|
|
13
|
-
interface DialogContentProps {
|
|
14
|
-
children?: React.ReactNode;
|
|
15
|
-
className?: string;
|
|
16
|
-
}
|
|
17
|
-
interface DialogTitleProps {
|
|
18
|
-
children?: React.ReactNode;
|
|
19
|
-
className?: string;
|
|
20
|
-
}
|
|
21
|
-
interface DialogHeaderProps {
|
|
22
|
-
children?: React.ReactNode;
|
|
23
|
-
className?: string;
|
|
24
|
-
}
|
|
25
|
-
interface DialogFooterProps {
|
|
26
|
-
children?: React.ReactNode;
|
|
27
|
-
className?: string;
|
|
28
|
-
}
|
|
29
|
-
declare const DialogModal: import('react').ForwardRefExoticComponent<DialogProps<any> & import('react').RefAttributes<DialogHandle<any>>> & {
|
|
30
|
-
Content: import('react').MemoExoticComponent<({ children, className }: DialogContentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
31
|
-
Header: import('react').MemoExoticComponent<({ children, className }: DialogHeaderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
32
|
-
Footer: import('react').MemoExoticComponent<({ children, className }: DialogFooterProps) => import("react/jsx-runtime").JSX.Element>;
|
|
33
|
-
Title: import('react').MemoExoticComponent<({ children, className }: DialogTitleProps) => import("react/jsx-runtime").JSX.Element>;
|
|
34
|
-
};
|
|
35
|
-
export default DialogModal;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DialogHandle } from './Dialog';
|
|
2
|
-
export declare const useDialogControl: <TContext = unknown>() => {
|
|
3
|
-
ref: import('react').RefObject<DialogHandle<TContext> | null>;
|
|
4
|
-
open: (context?: TContext) => void;
|
|
5
|
-
close: () => void;
|
|
6
|
-
isOpen: () => boolean;
|
|
7
|
-
getContext: () => NonNullable<TContext> | null;
|
|
8
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export interface DrawerDesktopHandle<TContext = unknown> {
|
|
2
|
-
open: (context?: TContext) => void;
|
|
3
|
-
close: () => void;
|
|
4
|
-
isOpen: boolean;
|
|
5
|
-
getContext: () => TContext | null;
|
|
6
|
-
subscribeOpenChange: (cb: (open: boolean) => void) => () => void;
|
|
7
|
-
}
|
|
8
|
-
export interface DrawerDesktopProps<TContext = unknown> {
|
|
9
|
-
children?: React.ReactNode | ((context: TContext | null) => React.ReactNode);
|
|
10
|
-
direction?: "left" | "right";
|
|
11
|
-
modal?: boolean;
|
|
12
|
-
className?: string;
|
|
13
|
-
onClose?: (context?: TContext) => void;
|
|
14
|
-
defaultOpen?: boolean;
|
|
15
|
-
attachToParent?: boolean;
|
|
16
|
-
closeOnOverlayClick?: boolean;
|
|
17
|
-
hideCloseButton?: boolean;
|
|
18
|
-
}
|
|
19
|
-
declare const DrawerDesktop: import('react').ForwardRefExoticComponent<DrawerDesktopProps<any> & import('react').RefAttributes<DrawerDesktopHandle<any>>>;
|
|
20
|
-
export default DrawerDesktop;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface DrawerMobileProps<TContext = unknown> {
|
|
3
|
-
children?: React.ReactNode | ((context: TContext | null) => React.ReactNode);
|
|
4
|
-
defaultOpen?: boolean;
|
|
5
|
-
onClose?: (context: TContext | null) => void;
|
|
6
|
-
snap?: string | number | null;
|
|
7
|
-
snapPoints?: (string | number)[];
|
|
8
|
-
setSnap?: (snap: string | number) => void;
|
|
9
|
-
attachToParent?: boolean;
|
|
10
|
-
hideOnClose?: boolean;
|
|
11
|
-
unmountChildrenOnClose?: boolean;
|
|
12
|
-
header?: React.ReactNode | string;
|
|
13
|
-
modal?: boolean;
|
|
14
|
-
closeOnOverlayClick?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export interface DrawerMobileHandle<TContext = unknown> {
|
|
17
|
-
open: (snap?: string | number, context?: TContext) => void;
|
|
18
|
-
close: () => void;
|
|
19
|
-
isOpen: boolean;
|
|
20
|
-
getContext: () => TContext | null;
|
|
21
|
-
subscribeOpenChange: (cb: (open: boolean) => void) => () => void;
|
|
22
|
-
}
|
|
23
|
-
declare const DrawerMobile: React.ForwardRefExoticComponent<DrawerMobileProps<any> & React.RefAttributes<DrawerMobileHandle<any>>>;
|
|
24
|
-
export default DrawerMobile;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DrawerDesktopHandle } from './DrawerDesktop';
|
|
2
|
-
export declare const useDrawerDesktop: <TContext = unknown>() => {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
open: (context?: TContext) => void;
|
|
5
|
-
close: () => void;
|
|
6
|
-
drawerRef: import('react').RefObject<DrawerDesktopHandle<TContext> | null>;
|
|
7
|
-
getContext: () => NonNullable<TContext> | null;
|
|
8
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DrawerMobileHandle } from './DrawerMobile';
|
|
2
|
-
export declare const useDrawerMobile: <TContext = unknown>() => {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
open: (snap?: string | number, context?: TContext) => void;
|
|
5
|
-
close: () => void;
|
|
6
|
-
drawerRef: import('react').RefObject<DrawerMobileHandle<TContext> | null>;
|
|
7
|
-
getContext: () => NonNullable<TContext> | null;
|
|
8
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { DropzoneOptions } from 'react-dropzone';
|
|
3
|
-
interface DropZoneProps extends Omit<DropzoneOptions, 'onDrop'> {
|
|
4
|
-
onFilesAccepted?: (files: File[]) => void;
|
|
5
|
-
onFilesRejected?: (rejectedFiles: unknown[]) => void;
|
|
6
|
-
className?: string;
|
|
7
|
-
subtitle?: string;
|
|
8
|
-
acceptedFormats?: string;
|
|
9
|
-
maxSize: number;
|
|
10
|
-
variant?: 'default' | 'compact';
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
showIcon?: boolean;
|
|
13
|
-
}
|
|
14
|
-
declare const DropZone: React.ForwardRefExoticComponent<DropZoneProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
-
export { DropZone };
|
|
16
|
-
export type { DropZoneProps };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { useFileDropzone, UseFileDropzoneOptions } from './useFileDropzone';
|
|
3
|
-
interface DropZoneAreaProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
variant?: 'default' | 'compact';
|
|
5
|
-
isDragActive?: boolean;
|
|
6
|
-
isDragReject?: boolean;
|
|
7
|
-
hasErrors?: boolean;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
getRootProps?: () => unknown;
|
|
10
|
-
getInputProps?: () => unknown;
|
|
11
|
-
}
|
|
12
|
-
interface DropZoneHeaderProps {
|
|
13
|
-
title?: string;
|
|
14
|
-
variant?: 'default' | 'compact';
|
|
15
|
-
className?: string;
|
|
16
|
-
}
|
|
17
|
-
interface DropZoneIconProps {
|
|
18
|
-
size?: number;
|
|
19
|
-
className?: string;
|
|
20
|
-
showIcon?: boolean;
|
|
21
|
-
isDragActive?: boolean;
|
|
22
|
-
isDragReject?: boolean;
|
|
23
|
-
hasErrors?: boolean;
|
|
24
|
-
}
|
|
25
|
-
interface DropZoneMessageProps {
|
|
26
|
-
subtitle?: string;
|
|
27
|
-
acceptedFormats?: string;
|
|
28
|
-
className?: string;
|
|
29
|
-
isDragActive?: boolean;
|
|
30
|
-
isDragReject?: boolean;
|
|
31
|
-
hasErrors?: boolean;
|
|
32
|
-
}
|
|
33
|
-
interface DropZoneErrorsProps {
|
|
34
|
-
className?: string;
|
|
35
|
-
fileRejections?: unknown[];
|
|
36
|
-
}
|
|
37
|
-
interface DropZoneWrapperProps extends UseFileDropzoneOptions {
|
|
38
|
-
className?: string;
|
|
39
|
-
title?: string;
|
|
40
|
-
subtitle?: string;
|
|
41
|
-
acceptedFormats?: string;
|
|
42
|
-
variant?: 'default' | 'compact';
|
|
43
|
-
disabled?: boolean;
|
|
44
|
-
showIcon?: boolean;
|
|
45
|
-
}
|
|
46
|
-
export declare const DropZone: (({ children, className }: DropZoneWrapperProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
47
|
-
Header: ({ title, variant, className }: DropZoneHeaderProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
48
|
-
Area: ({ children, className, variant, isDragActive, isDragReject, hasErrors, disabled, getRootProps, getInputProps, ...props }: DropZoneAreaProps) => import("react/jsx-runtime").JSX.Element;
|
|
49
|
-
Icon: ({ size, className, showIcon, isDragActive, isDragReject, hasErrors }: DropZoneIconProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
50
|
-
Message: ({ subtitle, acceptedFormats, className, isDragActive, isDragReject, hasErrors }: DropZoneMessageProps) => import("react/jsx-runtime").JSX.Element;
|
|
51
|
-
Errors: ({ className, fileRejections }: DropZoneErrorsProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
52
|
-
useDropzone: typeof useFileDropzone;
|
|
53
|
-
};
|
|
54
|
-
export type { DropZoneAreaProps, DropZoneErrorsProps, DropZoneHeaderProps, DropZoneIconProps, DropZoneMessageProps, DropZoneWrapperProps };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { DropzoneOptions } from 'react-dropzone';
|
|
3
|
-
export interface UseFileDropzoneOptions extends Omit<DropzoneOptions, "onDrop"> {
|
|
4
|
-
onFilesAccepted?: (files: File[]) => void;
|
|
5
|
-
onFilesRejected?: (rejectedFiles: unknown[]) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function useFileDropzone({ onFilesAccepted, onFilesRejected, ...options }: UseFileDropzoneOptions): {
|
|
8
|
-
hasErrors: boolean;
|
|
9
|
-
open: () => void;
|
|
10
|
-
isFocused: boolean;
|
|
11
|
-
isDragActive: boolean;
|
|
12
|
-
isDragAccept: boolean;
|
|
13
|
-
isDragReject: boolean;
|
|
14
|
-
isFileDialogActive: boolean;
|
|
15
|
-
acceptedFiles: readonly import('file-selector').FileWithPath[];
|
|
16
|
-
fileRejections: readonly import('react-dropzone').FileRejection[];
|
|
17
|
-
rootRef: React.RefObject<HTMLElement>;
|
|
18
|
-
inputRef: React.RefObject<HTMLInputElement>;
|
|
19
|
-
getRootProps: <T extends import('react-dropzone').DropzoneRootProps>(props?: T) => T;
|
|
20
|
-
getInputProps: <T extends import('react-dropzone').DropzoneInputProps>(props?: T) => T;
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ColorVariant, ButtonVariant } from '../Shared/types';
|
|
3
|
-
import { IconComponent } from '../../Icons/types';
|
|
4
|
-
export interface FAButtonProps {
|
|
5
|
-
icon?: IconComponent;
|
|
6
|
-
label?: string;
|
|
7
|
-
attachToParent?: boolean;
|
|
8
|
-
position?: {
|
|
9
|
-
left?: number | string;
|
|
10
|
-
top?: number | string;
|
|
11
|
-
right?: number | string;
|
|
12
|
-
bottom?: number | string;
|
|
13
|
-
};
|
|
14
|
-
color?: ColorVariant;
|
|
15
|
-
variant?: ButtonVariant;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
className?: string;
|
|
18
|
-
onClick: () => void;
|
|
19
|
-
}
|
|
20
|
-
declare const FAButton: React.MemoExoticComponent<(props: FAButtonProps) => import("react/jsx-runtime").JSX.Element>;
|
|
21
|
-
export default FAButton;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
export interface FileWithPreview {
|
|
2
|
-
file: File;
|
|
3
|
-
preview?: string;
|
|
4
|
-
progress?: number;
|
|
5
|
-
status?: 'pending' | 'uploading' | 'uploaded' | 'error';
|
|
6
|
-
error?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface FileCardProps {
|
|
9
|
-
files: FileWithPreview[];
|
|
10
|
-
onRemoveFile: (index: number) => void;
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface FileCardItemProps {
|
|
14
|
-
file: File;
|
|
15
|
-
preview?: string;
|
|
16
|
-
index: number;
|
|
17
|
-
progress?: number;
|
|
18
|
-
status?: 'pending' | 'uploading' | 'uploaded' | 'error';
|
|
19
|
-
error?: string;
|
|
20
|
-
onRemove: (index: number) => void;
|
|
21
|
-
className?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface FilePreviewProps {
|
|
24
|
-
file: File;
|
|
25
|
-
preview?: string;
|
|
26
|
-
className?: string;
|
|
27
|
-
}
|
|
28
|
-
export interface FileInfoProps {
|
|
29
|
-
file: File;
|
|
30
|
-
progress?: number;
|
|
31
|
-
status?: 'pending' | 'uploading' | 'uploaded' | 'error';
|
|
32
|
-
error?: string;
|
|
33
|
-
className?: string;
|
|
34
|
-
}
|
|
35
|
-
export interface FileActionsProps {
|
|
36
|
-
index: number;
|
|
37
|
-
onRemove: (index: number) => void;
|
|
38
|
-
status?: 'pending' | 'uploading' | 'uploaded' | 'error';
|
|
39
|
-
className?: string;
|
|
40
|
-
}
|
|
41
|
-
export declare const FilePreview: ({ file, preview, className }: FilePreviewProps) => import("react/jsx-runtime").JSX.Element;
|
|
42
|
-
export declare const FileInfo: ({ file, progress, status, error, className }: FileInfoProps) => import("react/jsx-runtime").JSX.Element;
|
|
43
|
-
export declare const FileActions: ({ index, onRemove, status, className }: FileActionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
44
|
-
export declare const FileCardItem: ({ file, preview, index, progress, status, error, onRemove, className }: FileCardItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
45
|
-
export declare const FileCard: ({ files, onRemoveFile, className }: FileCardProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
46
|
-
declare const FileCardCompound: (({ files, onRemoveFile, className }: FileCardProps) => import("react/jsx-runtime").JSX.Element | null) & {
|
|
47
|
-
Item: ({ file, preview, index, progress, status, error, onRemove, className }: FileCardItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
48
|
-
Preview: ({ file, preview, className }: FilePreviewProps) => import("react/jsx-runtime").JSX.Element;
|
|
49
|
-
Info: ({ file, progress, status, error, className }: FileInfoProps) => import("react/jsx-runtime").JSX.Element;
|
|
50
|
-
Actions: ({ index, onRemove, status, className }: FileActionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
51
|
-
};
|
|
52
|
-
export default FileCardCompound;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface IHeader {
|
|
3
|
-
title?: string;
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
subtitle?: string;
|
|
7
|
-
subtitleClassName?: string;
|
|
8
|
-
titleClassName?: string;
|
|
9
|
-
}
|
|
10
|
-
declare const _default: import('react').MemoExoticComponent<({ title, subtitle, children, className, subtitleClassName, titleClassName }: IHeader) => import("react/jsx-runtime").JSX.Element>;
|
|
11
|
-
export default _default;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactElement, default as React } from 'react';
|
|
2
|
-
import { ImageProps } from './Image';
|
|
3
|
-
interface GalleryPreviewProps {
|
|
4
|
-
images?: ReactElement<ImageProps>[];
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
declare const GalleryPreview: React.NamedExoticComponent<GalleryPreviewProps & React.RefAttributes<unknown>>;
|
|
8
|
-
export default GalleryPreview;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { SpinnerProps } from '../Spinner/Spinner';
|
|
2
|
-
import { ImageGalleryHandle } from './ImageGallery';
|
|
3
|
-
export interface ImageProps {
|
|
4
|
-
src: string;
|
|
5
|
-
alt: string;
|
|
6
|
-
width?: number | string;
|
|
7
|
-
height?: number | string;
|
|
8
|
-
className?: string;
|
|
9
|
-
lazy?: boolean;
|
|
10
|
-
showLoader?: boolean;
|
|
11
|
-
loaderProps?: {
|
|
12
|
-
loaderType?: 'skeleton' | 'clasic';
|
|
13
|
-
variant?: SpinnerProps['variant'];
|
|
14
|
-
speedMultiplier?: SpinnerProps['speedMultiplier'];
|
|
15
|
-
className?: string;
|
|
16
|
-
size?: SpinnerProps['size'];
|
|
17
|
-
backdropClassName?: string;
|
|
18
|
-
};
|
|
19
|
-
allowPreview?: boolean;
|
|
20
|
-
galleryRef?: React.RefObject<ImageGalleryHandle | null>;
|
|
21
|
-
}
|
|
22
|
-
declare const CustomImage: import('react').MemoExoticComponent<(props: ImageProps) => import("react/jsx-runtime").JSX.Element>;
|
|
23
|
-
export default CustomImage;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ImageProps } from './Image';
|
|
3
|
-
export interface ImageGalleryProps {
|
|
4
|
-
children?: ReactElement<ImageProps> | ReactElement<ImageProps>[];
|
|
5
|
-
className?: string;
|
|
6
|
-
lightboxClassName?: string;
|
|
7
|
-
showThumbnails?: boolean;
|
|
8
|
-
thumbnailsClassName?: string;
|
|
9
|
-
}
|
|
10
|
-
export interface ImageGalleryHandle {
|
|
11
|
-
openLightbox: (index?: number) => void;
|
|
12
|
-
closeLightbox: () => void;
|
|
13
|
-
isOpen: boolean;
|
|
14
|
-
addImage: (image: ImageProps) => void;
|
|
15
|
-
images: ImageProps[];
|
|
16
|
-
}
|
|
17
|
-
declare const ImageGallery: import('react').ForwardRefExoticComponent<ImageGalleryProps & import('react').RefAttributes<ImageGalleryHandle>>;
|
|
18
|
-
export default ImageGallery;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ImageProps } from './Image';
|
|
2
|
-
interface LightBoxProps {
|
|
3
|
-
images: ImageProps[];
|
|
4
|
-
lightboxClassName?: string;
|
|
5
|
-
closeLightbox: () => void;
|
|
6
|
-
showThumbnails?: boolean;
|
|
7
|
-
thumbnailsClassName?: string;
|
|
8
|
-
currentIndex: number;
|
|
9
|
-
goToNext: () => void;
|
|
10
|
-
goToPrevious: () => void;
|
|
11
|
-
goToIndex: (index: number) => void;
|
|
12
|
-
}
|
|
13
|
-
declare const LightBox: import('react').MemoExoticComponent<({ images, lightboxClassName, closeLightbox, showThumbnails, thumbnailsClassName, currentIndex, goToNext, goToPrevious, goToIndex }: LightBoxProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
14
|
-
export default LightBox;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ImageGalleryHandle } from './ImageGallery';
|
|
2
|
-
import { ImageProps } from './Image';
|
|
3
|
-
export declare const useImageGallery: () => {
|
|
4
|
-
isOpen: () => boolean;
|
|
5
|
-
openLightbox: () => void;
|
|
6
|
-
closeLightbox: () => void;
|
|
7
|
-
galleryRef: import('react').RefObject<ImageGalleryHandle | null>;
|
|
8
|
-
addImage: (image: ImageProps) => void;
|
|
9
|
-
images: () => ImageProps[];
|
|
10
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export type InputVariant = "default" | "error" | "success";
|
|
2
|
-
export type InputSize = "small" | "medium" | "large";
|
|
3
|
-
export type LabelVariant = "default" | "static";
|
|
4
|
-
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange"> {
|
|
5
|
-
label: string;
|
|
6
|
-
icon?: React.ReactNode;
|
|
7
|
-
iconPosition?: "left" | "right";
|
|
8
|
-
isFetching?: boolean;
|
|
9
|
-
id?: string;
|
|
10
|
-
value?: string;
|
|
11
|
-
width?: string;
|
|
12
|
-
height?: string;
|
|
13
|
-
name?: string;
|
|
14
|
-
variant?: InputVariant;
|
|
15
|
-
labelVariant?: LabelVariant;
|
|
16
|
-
size?: InputSize;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
type?: "text" | "email" | "password" | "number" | "tel" | "url";
|
|
19
|
-
errorComponent?: React.ReactNode | string;
|
|
20
|
-
helperComponent?: React.ReactNode | string;
|
|
21
|
-
placeholder?: string;
|
|
22
|
-
required?: boolean;
|
|
23
|
-
className?: string;
|
|
24
|
-
style?: React.CSSProperties;
|
|
25
|
-
readOnly?: boolean;
|
|
26
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
27
|
-
onClear?: () => void;
|
|
28
|
-
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
29
|
-
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
30
|
-
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
31
|
-
onKeyUp?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
32
|
-
}
|
|
33
|
-
declare const _default: import('react').NamedExoticComponent<InputProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
34
|
-
export default _default;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface InputMultipleProps {
|
|
3
|
-
label: string;
|
|
4
|
-
name: string;
|
|
5
|
-
onChange: (value: string[]) => void;
|
|
6
|
-
value: string[];
|
|
7
|
-
icon?: React.ReactNode;
|
|
8
|
-
valueSeparator?: ',' | ';';
|
|
9
|
-
variant?: 'default' | 'error' | 'success' | 'warning';
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
itemClassName?: string;
|
|
12
|
-
itemIcon?: React.ComponentType<{
|
|
13
|
-
size: number;
|
|
14
|
-
className: string;
|
|
15
|
-
}>;
|
|
16
|
-
helperText?: string | React.ReactNode;
|
|
17
|
-
errorText?: string | React.ReactNode;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
20
|
-
className?: string;
|
|
21
|
-
readonly?: boolean;
|
|
22
|
-
onValueDelete?: (value: string) => void;
|
|
23
|
-
}
|
|
24
|
-
declare const _default: React.MemoExoticComponent<({ label, name, onChange, value, icon, valueSeparator, variant, placeholder, itemClassName, itemIcon, helperText, errorText, disabled, onClick, className, readonly, onValueDelete, ...rest }: InputMultipleProps) => import("react/jsx-runtime").JSX.Element>;
|
|
25
|
-
export default _default;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export interface LayoutGenericProps {
|
|
2
|
-
children: React.ReactNode;
|
|
3
|
-
sidebar?: React.ReactNode;
|
|
4
|
-
}
|
|
5
|
-
declare const _default: import('react').MemoExoticComponent<({ children, sidebar }: LayoutGenericProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface IMenuRoot {
|
|
3
|
-
menuRef: React.RefObject<HTMLDivElement | null>;
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface IMenuItems {
|
|
8
|
-
onClick?: () => void;
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const Menu: (({ menuRef, children, className }: IMenuRoot) => import("react/jsx-runtime").JSX.Element) & {
|
|
13
|
-
Divider: () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
Items: ({ onClick, children, className }: IMenuItems) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface NavItemSecondaryProps {
|
|
2
|
-
title: string;
|
|
3
|
-
path: string;
|
|
4
|
-
parentPath?: string;
|
|
5
|
-
className?: string;
|
|
6
|
-
isSelected?: boolean;
|
|
7
|
-
onClick?: (path: string) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const NavItemSecondary: import('react').MemoExoticComponent<(props: NavItemSecondaryProps) => import("react/jsx-runtime").JSX.Element>;
|
|
10
|
-
export default NavItemSecondary;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { default as React, ReactNode } from 'react';
|
|
2
|
-
type NavigationDrawerRenderContext = {
|
|
3
|
-
toggleCollapse: () => void;
|
|
4
|
-
getIsCollapsed: () => boolean;
|
|
5
|
-
subscribeToCollapse: (listener: (collapsed: boolean) => void) => () => void;
|
|
6
|
-
};
|
|
7
|
-
type NavigationDrawerSlotChildren = ReactNode | ((context: NavigationDrawerRenderContext) => ReactNode);
|
|
8
|
-
export interface NavigationDrawerProps {
|
|
9
|
-
children?: NavigationDrawerSlotChildren;
|
|
10
|
-
}
|
|
11
|
-
type SlotBaseProps = {
|
|
12
|
-
children?: NavigationDrawerSlotChildren;
|
|
13
|
-
className?: string;
|
|
14
|
-
context?: NavigationDrawerRenderContext;
|
|
15
|
-
};
|
|
16
|
-
type ContentProps = SlotBaseProps & Omit<React.AllHTMLAttributes<HTMLDivElement>, "children">;
|
|
17
|
-
declare const NavigationDrawer: React.NamedExoticComponent<NavigationDrawerProps> & {
|
|
18
|
-
readonly type: (props: NavigationDrawerProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
} & {
|
|
20
|
-
Root: React.MemoExoticComponent<(props: NavigationDrawerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
21
|
-
Header: React.MemoExoticComponent<({ children, className, context }: SlotBaseProps) => import("react/jsx-runtime").JSX.Element>;
|
|
22
|
-
Content: React.MemoExoticComponent<({ children, className, context, ...props }: ContentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
23
|
-
Footer: React.MemoExoticComponent<({ children, className, context }: SlotBaseProps) => import("react/jsx-runtime").JSX.Element>;
|
|
24
|
-
Spacer: React.MemoExoticComponent<({ className }: {
|
|
25
|
-
className?: string;
|
|
26
|
-
}) => import("react/jsx-runtime").JSX.Element>;
|
|
27
|
-
Outlet: React.MemoExoticComponent<({ children, className, context }: {
|
|
28
|
-
children?: NavigationDrawerSlotChildren;
|
|
29
|
-
className?: string;
|
|
30
|
-
context?: NavigationDrawerRenderContext;
|
|
31
|
-
}) => import("react/jsx-runtime").JSX.Element>;
|
|
32
|
-
};
|
|
33
|
-
export default NavigationDrawer;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IconComponent } from '../../Icons/types';
|
|
2
|
-
export interface NavigationDrawerActionItemProps {
|
|
3
|
-
id: string;
|
|
4
|
-
title: string;
|
|
5
|
-
icon?: IconComponent;
|
|
6
|
-
count?: number;
|
|
7
|
-
className?: string;
|
|
8
|
-
isActive?: boolean;
|
|
9
|
-
onClick?: () => void;
|
|
10
|
-
isView?: boolean | (() => boolean);
|
|
11
|
-
}
|
|
12
|
-
declare const NavigationDrawerActionItem: import('react').MemoExoticComponent<(props: NavigationDrawerActionItemProps) => import("react/jsx-runtime").JSX.Element>;
|
|
13
|
-
export default NavigationDrawerActionItem;
|
|
14
|
-
export type { NavigationDrawerActionItemProps as NavigationDrawerActionItemPropsType };
|