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,9 +0,0 @@
|
|
|
1
|
-
import { NavigationDrawerActionItemProps } from './NavigationDrawerActionItem';
|
|
2
|
-
export interface NavigationDrawerActionsProps {
|
|
3
|
-
actions?: NavigationDrawerActionItemProps[];
|
|
4
|
-
activeActionId?: string;
|
|
5
|
-
onActionClick?: (id: string) => void;
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
declare const NavigationDrawerActions: import('react').MemoExoticComponent<({ actions, activeActionId, onActionClick, className }: NavigationDrawerActionsProps) => import("react/jsx-runtime").JSX.Element>;
|
|
9
|
-
export default NavigationDrawerActions;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IconComponent } from '../../Icons/types';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
export interface NavigationDrawerItemBaseProps {
|
|
4
|
-
title: string;
|
|
5
|
-
icon?: IconComponent;
|
|
6
|
-
count?: number;
|
|
7
|
-
className?: string;
|
|
8
|
-
isSelected?: boolean;
|
|
9
|
-
hasSublinks?: boolean;
|
|
10
|
-
subLinksCollapsed?: boolean;
|
|
11
|
-
onToggleSublinks?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
12
|
-
as?: "a" | "button" | "div";
|
|
13
|
-
onClick?: React.MouseEventHandler;
|
|
14
|
-
onAuxClick?: React.MouseEventHandler;
|
|
15
|
-
}
|
|
16
|
-
declare const NavigationDrawerItemBase: React.MemoExoticComponent<(props: NavigationDrawerItemBaseProps) => import("react/jsx-runtime").JSX.Element>;
|
|
17
|
-
export default NavigationDrawerItemBase;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { IconComponent } from '../../Icons/types';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
import { NavItemSecondaryProps } from './NavItemSecondary';
|
|
4
|
-
export interface NavigationDrawerLinkItemProps {
|
|
5
|
-
path: string;
|
|
6
|
-
title: string;
|
|
7
|
-
icon?: IconComponent;
|
|
8
|
-
isView?: boolean | (() => boolean);
|
|
9
|
-
relatedPaths?: string[];
|
|
10
|
-
count?: number;
|
|
11
|
-
className?: string;
|
|
12
|
-
isSelected?: boolean;
|
|
13
|
-
toggleCollapse?: () => void;
|
|
14
|
-
getIsCollapsed?: () => boolean;
|
|
15
|
-
subscribeToCollapse?: (listener: (collapsed: boolean) => void) => () => void;
|
|
16
|
-
onClick?: (path: string) => void;
|
|
17
|
-
sublinks?: NavItemSecondaryProps[];
|
|
18
|
-
subLinksRender?: (sublinks: NavItemSecondaryProps[], controls: NavItemHandler) => ReactNode;
|
|
19
|
-
}
|
|
20
|
-
interface NavItemHandler {
|
|
21
|
-
toggle: () => void;
|
|
22
|
-
setIsCollapsed: (collapsed: boolean) => void;
|
|
23
|
-
isCollapsed: boolean;
|
|
24
|
-
isDrawerCollapsed: boolean;
|
|
25
|
-
toggleDrawerCollapse?: () => void;
|
|
26
|
-
subscribeToCollapse?: (listener: (collapsed: boolean) => void) => () => void;
|
|
27
|
-
}
|
|
28
|
-
declare const NavigationDrawerLinkItem: import('react').NamedExoticComponent<NavigationDrawerLinkItemProps & import('react').RefAttributes<NavItemHandler>>;
|
|
29
|
-
export default NavigationDrawerLinkItem;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { NavigationDrawerLinkItemProps } from './NavigationDrawerLinkItem';
|
|
2
|
-
export interface NavigationDrawerNavlinksProps {
|
|
3
|
-
navlinks?: NavigationDrawerLinkItemProps[];
|
|
4
|
-
handleNavigation: (path: string) => void;
|
|
5
|
-
className?: string;
|
|
6
|
-
getIsCollapsed?: () => boolean;
|
|
7
|
-
toggleCollapse?: () => void;
|
|
8
|
-
subscribeToCollapse?: (listener: (collapsed: boolean) => void) => () => void;
|
|
9
|
-
}
|
|
10
|
-
declare const NavigationDrawerNavlinks: import('react').MemoExoticComponent<({ navlinks, handleNavigation, className, getIsCollapsed, toggleCollapse, subscribeToCollapse }: NavigationDrawerNavlinksProps) => import("react/jsx-runtime").JSX.Element>;
|
|
11
|
-
export default NavigationDrawerNavlinks;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface OtpInputProps {
|
|
3
|
-
value?: string;
|
|
4
|
-
onChange?: (value: string, name?: string) => void;
|
|
5
|
-
onComplete?: (value: string) => void;
|
|
6
|
-
onBlur?: () => void;
|
|
7
|
-
maxLength?: number;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
className?: string;
|
|
11
|
-
autoFocus?: boolean;
|
|
12
|
-
pasteTransformer?: (pasted: string) => string;
|
|
13
|
-
errorComponent?: React.ReactElement<{
|
|
14
|
-
className?: string;
|
|
15
|
-
}> | string;
|
|
16
|
-
hasError?: boolean;
|
|
17
|
-
helperComponent?: React.ReactElement<{
|
|
18
|
-
className?: string;
|
|
19
|
-
}> | string;
|
|
20
|
-
helperAlignment?: 'left' | 'center' | 'right';
|
|
21
|
-
slotClassName?: string;
|
|
22
|
-
hideSlotsMiddleSeparator?: boolean;
|
|
23
|
-
name?: string;
|
|
24
|
-
variant?: 'default' | 'error' | 'success';
|
|
25
|
-
}
|
|
26
|
-
declare const OtpInputComponent: {
|
|
27
|
-
({ value, name, onChange, onComplete, onBlur, maxLength, placeholder, disabled, className, autoFocus, pasteTransformer, errorComponent, hasError, helperComponent, helperAlignment, slotClassName, variant, hideSlotsMiddleSeparator }: OtpInputProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
displayName: string;
|
|
29
|
-
};
|
|
30
|
-
export default OtpInputComponent;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface ProfilePictureUploadProps {
|
|
3
|
-
imageUrl?: string;
|
|
4
|
-
fallbackText?: string;
|
|
5
|
-
onFileSelect?: (file: File) => void;
|
|
6
|
-
onEditClick?: () => void;
|
|
7
|
-
onRemoveClick?: () => void;
|
|
8
|
-
size?: "sm" | "md" | "lg" | "xl";
|
|
9
|
-
className?: string;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
showRemoveButton?: boolean;
|
|
12
|
-
acceptedTypes?: string;
|
|
13
|
-
maxFileSize?: number;
|
|
14
|
-
onError?: (error: string) => void;
|
|
15
|
-
disableEntryAnimation?: boolean;
|
|
16
|
-
}
|
|
17
|
-
declare function ProfilePictureUploadComponent({ imageUrl, fallbackText, onFileSelect, onEditClick, onRemoveClick, size, className, disabled, showRemoveButton, acceptedTypes, maxFileSize, onError, }: ProfilePictureUploadProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export declare const ProfilePictureUpload: React.MemoExoticComponent<typeof ProfilePictureUploadComponent>;
|
|
19
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
interface BaseProgressProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
label?: string;
|
|
4
|
-
}
|
|
5
|
-
interface DateProgressProps extends BaseProgressProps {
|
|
6
|
-
variant: 'date';
|
|
7
|
-
startDate: string | Date;
|
|
8
|
-
endDate: string | Date;
|
|
9
|
-
}
|
|
10
|
-
interface QuantityProgressProps extends BaseProgressProps {
|
|
11
|
-
variant: 'quantity';
|
|
12
|
-
current: number;
|
|
13
|
-
total: number;
|
|
14
|
-
unit?: string;
|
|
15
|
-
}
|
|
16
|
-
export type ProgressBarProps = DateProgressProps | QuantityProgressProps;
|
|
17
|
-
declare const ProgressBar: React.ForwardRefExoticComponent<ProgressBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
export default ProgressBar;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { NavigationDrawerLinkItemProps } from '../NavigationDrawer/NavigationDrawerLinkItem';
|
|
3
|
-
import { NavigationDrawerActionItemProps } from '../NavigationDrawer/NavigationDrawerActionItem';
|
|
4
|
-
import { TabSwitchElement } from '../TabSwitch/TabSwitch';
|
|
5
|
-
type TProduct = {
|
|
6
|
-
name: string;
|
|
7
|
-
domain: string;
|
|
8
|
-
active: boolean;
|
|
9
|
-
coverImage?: string;
|
|
10
|
-
thumbnail?: string;
|
|
11
|
-
};
|
|
12
|
-
type TCompany = {
|
|
13
|
-
name: string;
|
|
14
|
-
products?: TProduct[];
|
|
15
|
-
icon?: string;
|
|
16
|
-
};
|
|
17
|
-
type TSystem = {
|
|
18
|
-
name: string;
|
|
19
|
-
url: string;
|
|
20
|
-
coverImage?: string;
|
|
21
|
-
thumbnail?: string;
|
|
22
|
-
};
|
|
23
|
-
type TUser = {
|
|
24
|
-
name: string;
|
|
25
|
-
surname?: string;
|
|
26
|
-
email?: string;
|
|
27
|
-
profile_picture?: string;
|
|
28
|
-
area?: string;
|
|
29
|
-
};
|
|
30
|
-
export interface NavigationDrawerTabsProps {
|
|
31
|
-
currentTabName?: string;
|
|
32
|
-
customTabs?: TabSwitchElement[];
|
|
33
|
-
onTabClick?: (name: string) => void;
|
|
34
|
-
}
|
|
35
|
-
export interface PyrionNavigationDrawerProps {
|
|
36
|
-
links?: NavigationDrawerLinkItemProps[];
|
|
37
|
-
actions?: NavigationDrawerActionItemProps[];
|
|
38
|
-
tabsProps?: NavigationDrawerTabsProps;
|
|
39
|
-
activeActionId?: string;
|
|
40
|
-
onActionClick?: (id: string) => void;
|
|
41
|
-
children?: ReactNode;
|
|
42
|
-
state: {
|
|
43
|
-
company: TCompany;
|
|
44
|
-
enabled_systems: TSystem[];
|
|
45
|
-
user: TUser;
|
|
46
|
-
};
|
|
47
|
-
onLinkClick?: (path: string) => void;
|
|
48
|
-
onNavigate?: (from: string, to: string) => void;
|
|
49
|
-
}
|
|
50
|
-
declare const PyrionNavigationDrawer: ({ children, state, links: navlinks, onLinkClick, onNavigate, actions, activeActionId, onActionClick, tabsProps }: PyrionNavigationDrawerProps) => import("react/jsx-runtime").JSX.Element;
|
|
51
|
-
export default PyrionNavigationDrawer;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ComponentVariant } from '../Shared/types';
|
|
3
|
-
export interface RadioButtonProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
4
|
-
label?: string;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
errorComponent?: React.ReactNode | string;
|
|
7
|
-
helperComponent?: React.ReactNode | string;
|
|
8
|
-
required?: boolean;
|
|
9
|
-
variant?: ComponentVariant;
|
|
10
|
-
className?: string;
|
|
11
|
-
labelClassName?: string;
|
|
12
|
-
}
|
|
13
|
-
declare const RadioButton: React.NamedExoticComponent<RadioButtonProps & React.RefAttributes<HTMLInputElement>>;
|
|
14
|
-
export default RadioButton;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { weekDay } from './WeekdaysSelector';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
type CustomFrequency = "weekly" | "monthly";
|
|
4
|
-
export type CustomFrequencySettingsValue = {
|
|
5
|
-
interval: number;
|
|
6
|
-
frequency: CustomFrequency;
|
|
7
|
-
weekdays?: weekDay[];
|
|
8
|
-
dayOfMonth?: string;
|
|
9
|
-
};
|
|
10
|
-
type CustomFrequencySettingsValueDeltaBase = {
|
|
11
|
-
kind: "setInterval" | "setFrequency" | "setWeekdays" | "setDayOfMonth";
|
|
12
|
-
};
|
|
13
|
-
type CustomFrequencySettingsValueDeltaInterval = CustomFrequencySettingsValueDeltaBase & {
|
|
14
|
-
kind: "setInterval";
|
|
15
|
-
interval: number;
|
|
16
|
-
};
|
|
17
|
-
type CustomFrequencySettingsValueDeltaFrequency = CustomFrequencySettingsValueDeltaBase & {
|
|
18
|
-
kind: "setFrequency";
|
|
19
|
-
frequency: CustomFrequency;
|
|
20
|
-
};
|
|
21
|
-
type CustomFrequencySettingsValueDeltaWeekdays = CustomFrequencySettingsValueDeltaBase & {
|
|
22
|
-
kind: "setWeekdays";
|
|
23
|
-
weekdays: weekDay[];
|
|
24
|
-
};
|
|
25
|
-
type CustomFrequencySettingsValueDeltaDayOfMonth = CustomFrequencySettingsValueDeltaBase & {
|
|
26
|
-
kind: "setDayOfMonth";
|
|
27
|
-
dayOfMonth: string;
|
|
28
|
-
};
|
|
29
|
-
export type CustomFrequencySettingsValueDelta = CustomFrequencySettingsValueDeltaInterval | CustomFrequencySettingsValueDeltaFrequency | CustomFrequencySettingsValueDeltaWeekdays | CustomFrequencySettingsValueDeltaDayOfMonth;
|
|
30
|
-
interface CustomSettingsProps {
|
|
31
|
-
value?: CustomFrequencySettingsValue;
|
|
32
|
-
onChange: (delta: CustomFrequencySettingsValueDelta) => void;
|
|
33
|
-
errors?: {
|
|
34
|
-
interval?: string;
|
|
35
|
-
weekdays?: string;
|
|
36
|
-
dayOfMonth?: string;
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
declare const CustomFrequencySettings: React.MemoExoticComponent<({ value, onChange, errors }: CustomSettingsProps) => import("react/jsx-runtime").JSX.Element>;
|
|
40
|
-
export default CustomFrequencySettings;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CustomFrequencySettingsValue } from './CustomFrequencySettings';
|
|
2
|
-
import { MonthlySettingsValue } from './MonthlyFrequencySettings';
|
|
3
|
-
import { FrequencySettingsErrors, FrequencySettingsValue, RecurrenceFrequencyType } from './RecurrentDatePicker';
|
|
4
|
-
import { WeeklyFrequencySettingsValue } from './WeeklyFrequencySetting';
|
|
5
|
-
import { YearlyFrequencySettingsValue } from './YearlyFrequencySettings';
|
|
6
|
-
export interface IFrequencySettingsProps {
|
|
7
|
-
frequency: RecurrenceFrequencyType;
|
|
8
|
-
frequencySettings?: MonthlySettingsValue | WeeklyFrequencySettingsValue | YearlyFrequencySettingsValue | CustomFrequencySettingsValue;
|
|
9
|
-
onChange: (cb: ((pv: FrequencySettingsValue) => FrequencySettingsValue) | FrequencySettingsValue) => void;
|
|
10
|
-
errors?: FrequencySettingsErrors;
|
|
11
|
-
}
|
|
12
|
-
declare const FrequencySettings: import('react').MemoExoticComponent<(props: IFrequencySettingsProps) => import("react/jsx-runtime").JSX.Element>;
|
|
13
|
-
export default FrequencySettings;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
type dayOrderType = 'first' | 'second' | 'third' | 'fourth' | 'last';
|
|
2
|
-
type weekDay = 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
|
|
3
|
-
export type MonthlySettingsValue = {
|
|
4
|
-
type: 'relative';
|
|
5
|
-
dayOrder: dayOrderType;
|
|
6
|
-
weekDay: weekDay;
|
|
7
|
-
} | {
|
|
8
|
-
type: 'absolute';
|
|
9
|
-
dayOfMonth: string;
|
|
10
|
-
};
|
|
11
|
-
export type MonthlySettingsDelta = {
|
|
12
|
-
kind: 'setType';
|
|
13
|
-
newType: 'relative' | 'absolute';
|
|
14
|
-
} | {
|
|
15
|
-
kind: 'setRelativeDayOrder';
|
|
16
|
-
newDayOrder: dayOrderType;
|
|
17
|
-
} | {
|
|
18
|
-
kind: 'setRelativeWeekDay';
|
|
19
|
-
newWeekDay: weekDay;
|
|
20
|
-
} | {
|
|
21
|
-
kind: 'setAbsoluteDayOfMonth';
|
|
22
|
-
newDayOfMonth: string;
|
|
23
|
-
};
|
|
24
|
-
export type MonthlySettingsErrors = {
|
|
25
|
-
dayOrder?: string;
|
|
26
|
-
weekDay?: string;
|
|
27
|
-
dayOfMonth?: string;
|
|
28
|
-
};
|
|
29
|
-
interface MonthlySettingsProps {
|
|
30
|
-
value?: MonthlySettingsValue;
|
|
31
|
-
onChange: (delta: MonthlySettingsDelta) => void;
|
|
32
|
-
errors?: MonthlySettingsErrors;
|
|
33
|
-
}
|
|
34
|
-
declare const MonthlyFrequencySettings: import('react').MemoExoticComponent<({ value, onChange, errors }: MonthlySettingsProps) => import("react/jsx-runtime").JSX.Element>;
|
|
35
|
-
export default MonthlyFrequencySettings;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { WeeklyFrequencySettingsValue } from './WeeklyFrequencySetting';
|
|
2
|
-
import { MonthlySettingsValue } from './MonthlyFrequencySettings';
|
|
3
|
-
import { YearlyFrequencySettingsValue } from './YearlyFrequencySettings';
|
|
4
|
-
import { CustomFrequencySettingsValue } from './CustomFrequencySettings';
|
|
5
|
-
export type RecurrenceFrequencyType = "custom" | "weekly" | "monthly" | "yearly";
|
|
6
|
-
export declare const RecurrenceFrecuencyOptions: {
|
|
7
|
-
label: string;
|
|
8
|
-
value: string;
|
|
9
|
-
}[];
|
|
10
|
-
export interface RecurrenceConfig {
|
|
11
|
-
frequency: RecurrenceFrequencyType;
|
|
12
|
-
startDate: Date;
|
|
13
|
-
frequencySettings: FrequencySettingsValue;
|
|
14
|
-
}
|
|
15
|
-
export type FrequencySettingsValue = WeeklyFrequencySettingsValue | MonthlySettingsValue | YearlyFrequencySettingsValue | CustomFrequencySettingsValue;
|
|
16
|
-
export interface FrequencyFieldErrors {
|
|
17
|
-
weeklyWeekdays?: string;
|
|
18
|
-
monthlyDayOrder?: string;
|
|
19
|
-
monthlyWeekDay?: string;
|
|
20
|
-
monthlyDayOfMonth?: string;
|
|
21
|
-
yearlyMonth?: string;
|
|
22
|
-
yearlyDay?: string;
|
|
23
|
-
customInterval?: string;
|
|
24
|
-
customWeekdays?: string;
|
|
25
|
-
customDayOfMonth?: string;
|
|
26
|
-
}
|
|
27
|
-
export type FrequencySettingsErrors = FrequencyFieldErrors;
|
|
28
|
-
export interface RecurrentDatePickerErrors {
|
|
29
|
-
startDate?: string;
|
|
30
|
-
frequencySettings?: FrequencySettingsErrors;
|
|
31
|
-
}
|
|
32
|
-
export type RecurrentDatePickerProps = {
|
|
33
|
-
value?: RecurrenceConfig;
|
|
34
|
-
defaultValue?: RecurrenceConfig;
|
|
35
|
-
onChange?: (value: RecurrenceConfig) => void;
|
|
36
|
-
errors?: RecurrentDatePickerErrors;
|
|
37
|
-
};
|
|
38
|
-
declare const RecurrentDatePicker: import('react').MemoExoticComponent<(props: RecurrentDatePickerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
39
|
-
export default RecurrentDatePicker;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { RecurrenceConfig, RecurrentDatePickerErrors } from './RecurrentDatePicker';
|
|
2
|
-
export type RecurrentDatePickerRRuleProps = {
|
|
3
|
-
value?: RecurrenceConfig;
|
|
4
|
-
defaultValue?: RecurrenceConfig;
|
|
5
|
-
onChange?: (value: RecurrenceConfig) => void;
|
|
6
|
-
errors?: RecurrentDatePickerErrors;
|
|
7
|
-
onRRuleChange?: (rrule: string) => void;
|
|
8
|
-
showPreview?: boolean;
|
|
9
|
-
previewCount?: number;
|
|
10
|
-
previewUntil?: Date;
|
|
11
|
-
};
|
|
12
|
-
declare const RecurrentDatePickerRRule: import('react').MemoExoticComponent<(props: RecurrentDatePickerRRuleProps) => import("react/jsx-runtime").JSX.Element>;
|
|
13
|
-
export default RecurrentDatePickerRRule;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export type weekDay = 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
|
|
3
|
-
type WeekdaySelectorProps = {
|
|
4
|
-
options?: weekDay[];
|
|
5
|
-
labelVariant?: 'short' | 'large';
|
|
6
|
-
value?: weekDay[];
|
|
7
|
-
onChange: (newValue: weekDay[]) => void;
|
|
8
|
-
label?: string;
|
|
9
|
-
required?: boolean;
|
|
10
|
-
error?: string;
|
|
11
|
-
};
|
|
12
|
-
declare const WeekdaysSelector: React.MemoExoticComponent<(props: WeekdaySelectorProps) => import("react/jsx-runtime").JSX.Element>;
|
|
13
|
-
export default WeekdaysSelector;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { weekDay } from './WeekdaysSelector';
|
|
2
|
-
export type WeeklyFrequencySettingsValue = weekDay[];
|
|
3
|
-
interface WeeklyFrequencySettingsProps {
|
|
4
|
-
value?: WeeklyFrequencySettingsValue;
|
|
5
|
-
onChange: (value: WeeklyFrequencySettingsValue) => void;
|
|
6
|
-
error?: string;
|
|
7
|
-
}
|
|
8
|
-
declare const WeeklyFrequencySettings: import('react').MemoExoticComponent<({ value, onChange, error }: WeeklyFrequencySettingsProps) => import("react/jsx-runtime").JSX.Element>;
|
|
9
|
-
export default WeeklyFrequencySettings;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
type monthValue = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
2
|
-
export interface YearlyFrequencySettingsValue {
|
|
3
|
-
month: number;
|
|
4
|
-
day?: number;
|
|
5
|
-
}
|
|
6
|
-
export interface YearlyFrequencySettingsErrors {
|
|
7
|
-
month?: string;
|
|
8
|
-
day?: string;
|
|
9
|
-
}
|
|
10
|
-
interface YearlyFrequencySettingsProps {
|
|
11
|
-
value?: YearlyFrequencySettingsValue;
|
|
12
|
-
onChange: (delta: YearlyFequencyValueDelta) => void;
|
|
13
|
-
errors?: YearlyFrequencySettingsErrors;
|
|
14
|
-
}
|
|
15
|
-
export interface YearlyFequencyValueDelta {
|
|
16
|
-
kind: 'setMonth' | 'setDay';
|
|
17
|
-
newMonth?: monthValue;
|
|
18
|
-
newDay?: number;
|
|
19
|
-
}
|
|
20
|
-
declare const YearlyFrequencySettings: import('react').MemoExoticComponent<({ value, onChange, errors }: YearlyFrequencySettingsProps) => import("react/jsx-runtime").JSX.Element>;
|
|
21
|
-
export default YearlyFrequencySettings;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { RecurrenceConfig, RecurrentDatePickerErrors } from './RecurrentDatePicker';
|
|
2
|
-
export declare const dataValidations: {
|
|
3
|
-
weekly: {
|
|
4
|
-
weekDay: {
|
|
5
|
-
required: boolean;
|
|
6
|
-
type: string;
|
|
7
|
-
enum: string[];
|
|
8
|
-
minLength: number;
|
|
9
|
-
maxLength: number;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
monthly: {
|
|
13
|
-
type: {
|
|
14
|
-
relative: {
|
|
15
|
-
dayOrder: {
|
|
16
|
-
required: boolean;
|
|
17
|
-
type: string;
|
|
18
|
-
enum: string[];
|
|
19
|
-
};
|
|
20
|
-
weekDay: {
|
|
21
|
-
required: boolean;
|
|
22
|
-
type: string;
|
|
23
|
-
enum: string[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
absolute: {
|
|
27
|
-
day: {
|
|
28
|
-
required: boolean;
|
|
29
|
-
type: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
yearly: {
|
|
35
|
-
month: {
|
|
36
|
-
required: boolean;
|
|
37
|
-
type: string;
|
|
38
|
-
min: number;
|
|
39
|
-
max: number;
|
|
40
|
-
};
|
|
41
|
-
day: {
|
|
42
|
-
required: boolean;
|
|
43
|
-
type: string;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
custom: {
|
|
47
|
-
frequency: {
|
|
48
|
-
monthly: {
|
|
49
|
-
dayOfMonth: {
|
|
50
|
-
required: boolean;
|
|
51
|
-
type: string;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
weekly: {
|
|
55
|
-
weekDays: {
|
|
56
|
-
required: boolean;
|
|
57
|
-
type: string;
|
|
58
|
-
enum: string[];
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
interval: {
|
|
63
|
-
required: boolean;
|
|
64
|
-
type: string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
export declare const validateRecurrentDatePickerValue: (value: RecurrenceConfig) => RecurrentDatePickerErrors;
|
|
69
|
-
export declare const isRecurrentDatePickerValid: (value: RecurrenceConfig) => boolean;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { IconComponent } from '../../Icons';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
type IndicatorType = 'icon' | 'shadow';
|
|
4
|
-
type IndicatorProps = {
|
|
5
|
-
show?: boolean;
|
|
6
|
-
icon?: IconComponent;
|
|
7
|
-
className?: string;
|
|
8
|
-
type?: IndicatorType;
|
|
9
|
-
};
|
|
10
|
-
interface IndicatorsProps {
|
|
11
|
-
top?: IndicatorProps;
|
|
12
|
-
bottom?: IndicatorProps;
|
|
13
|
-
left?: IndicatorProps;
|
|
14
|
-
right?: IndicatorProps;
|
|
15
|
-
}
|
|
16
|
-
type scrollableAxis = "x" | "y" | "both";
|
|
17
|
-
interface ScrollableProps {
|
|
18
|
-
debugMode?: boolean;
|
|
19
|
-
className?: string;
|
|
20
|
-
indicators?: IndicatorsProps;
|
|
21
|
-
axis?: scrollableAxis;
|
|
22
|
-
children?: React.ReactNode;
|
|
23
|
-
}
|
|
24
|
-
declare const Scrollable: (props: ScrollableProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
export default Scrollable;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
type SegmentedButtonOption = {
|
|
3
|
-
label: string;
|
|
4
|
-
value: string | number;
|
|
5
|
-
};
|
|
6
|
-
export interface SegmentedButtonProps {
|
|
7
|
-
name: string;
|
|
8
|
-
size?: 'small' | 'medium' | 'large';
|
|
9
|
-
color?: 'default' | 'success' | 'danger' | 'warning';
|
|
10
|
-
options: SegmentedButtonOption[];
|
|
11
|
-
value: string | number;
|
|
12
|
-
onChange?: (name: string, value: string | number) => void;
|
|
13
|
-
icon?: React.ReactElement<{
|
|
14
|
-
className: string;
|
|
15
|
-
}>;
|
|
16
|
-
allowExpand?: boolean;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
}
|
|
19
|
-
declare const SegmentedButton: (props: SegmentedButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export default SegmentedButton;
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { ComponentType, JSX, default as React } from 'react';
|
|
2
|
-
import { ComponentVariant, LabelVariant, OptionAccessor } from '../Shared/types';
|
|
3
|
-
import { InputProps } from '../Input/Input';
|
|
4
|
-
export type SelectDisplayMode = "compact" | "chips";
|
|
5
|
-
export type SelectOptionType = {
|
|
6
|
-
label: string;
|
|
7
|
-
value: string | number;
|
|
8
|
-
id: string | number;
|
|
9
|
-
isGroupHeader?: boolean;
|
|
10
|
-
groupLabelNode?: React.ReactNode;
|
|
11
|
-
groupData?: unknown;
|
|
12
|
-
originalOption?: unknown;
|
|
13
|
-
};
|
|
14
|
-
export type CustomSelectionDisplayProps<T> = {
|
|
15
|
-
selectedOptions: T[];
|
|
16
|
-
placeholder?: string;
|
|
17
|
-
multiple: boolean;
|
|
18
|
-
onRemoveOption: (optionId: string | number) => void;
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
};
|
|
21
|
-
interface SelectOptionRendererProps<T = unknown> {
|
|
22
|
-
option: SelectOptionType | T;
|
|
23
|
-
isSelected: boolean;
|
|
24
|
-
onSelect: (option: SelectOptionType) => void;
|
|
25
|
-
multiple: boolean;
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
isLoading?: boolean;
|
|
28
|
-
}
|
|
29
|
-
export interface CustomSelectOptionRendererProps<T, TContext = unknown> extends Omit<SelectOptionRendererProps<T>, "onSelect"> {
|
|
30
|
-
option: T;
|
|
31
|
-
onSelect: (closeOnSelect?: boolean) => void;
|
|
32
|
-
disabled?: boolean;
|
|
33
|
-
isLoading?: boolean;
|
|
34
|
-
renderContext?: TContext;
|
|
35
|
-
}
|
|
36
|
-
export interface CustomSelectOptionGroupHeaderProps<T, TContext = unknown> {
|
|
37
|
-
group: T;
|
|
38
|
-
label: React.ReactNode | string;
|
|
39
|
-
groupOptions: T[];
|
|
40
|
-
groupSelectedIds: string[];
|
|
41
|
-
multiple: boolean;
|
|
42
|
-
disabled?: boolean;
|
|
43
|
-
expanded: boolean;
|
|
44
|
-
toggleGroup: (nextExpanded?: boolean) => void;
|
|
45
|
-
selectGroup: (mode?: "toggle" | "select" | "deselect") => void;
|
|
46
|
-
renderContext?: TContext;
|
|
47
|
-
}
|
|
48
|
-
export type SelectVariant = "default" | "error" | "success";
|
|
49
|
-
export type SelectControlsHandler = {
|
|
50
|
-
open: () => void;
|
|
51
|
-
close: () => void;
|
|
52
|
-
toggle: () => void;
|
|
53
|
-
handleOptionSelect: (option: SelectOptionType, closeOnSelect: boolean) => void;
|
|
54
|
-
subscribeOpenChange: (cb: (open: boolean) => void) => () => void;
|
|
55
|
-
searchInputRef: React.RefObject<HTMLInputElement | null>;
|
|
56
|
-
};
|
|
57
|
-
export type SelectControlsRef = React.RefObject<SelectControlsHandler | null>;
|
|
58
|
-
export interface DropdownOptionsProps {
|
|
59
|
-
hideSearchBar?: boolean;
|
|
60
|
-
inputProps?: Partial<InputProps>;
|
|
61
|
-
dropdownHeight?: string;
|
|
62
|
-
controledSearchValue?: string;
|
|
63
|
-
onSearchValueChange?: (value: string) => void;
|
|
64
|
-
onSearchClear?: () => void;
|
|
65
|
-
inputSearchPlaceholder?: string;
|
|
66
|
-
isLoading?: boolean;
|
|
67
|
-
footer?: React.ReactNode;
|
|
68
|
-
loadingComponent?: React.ReactNode;
|
|
69
|
-
enableGroupToggle?: boolean;
|
|
70
|
-
}
|
|
71
|
-
export interface BaseSelectProps<T, TContext = unknown> {
|
|
72
|
-
id?: string;
|
|
73
|
-
name?: string;
|
|
74
|
-
label: string;
|
|
75
|
-
options: T[];
|
|
76
|
-
optionLabel: OptionAccessor<T, string>;
|
|
77
|
-
optionValue: OptionAccessor<T, string | number>;
|
|
78
|
-
renderOption?: ComponentType<CustomSelectOptionRendererProps<T, TContext>>;
|
|
79
|
-
renderOptionGroupHeader?: ComponentType<CustomSelectOptionGroupHeaderProps<T, TContext>>;
|
|
80
|
-
renderSelection?: ComponentType<CustomSelectionDisplayProps<T>>;
|
|
81
|
-
renderOptionContext?: TContext;
|
|
82
|
-
disabled?: boolean;
|
|
83
|
-
className?: string;
|
|
84
|
-
isLoading?: boolean;
|
|
85
|
-
emptyMessage?: string;
|
|
86
|
-
placeholder?: string;
|
|
87
|
-
errorComponent?: React.ReactNode;
|
|
88
|
-
helperComponent?: React.ReactNode;
|
|
89
|
-
variant?: ComponentVariant;
|
|
90
|
-
overflow?: "wrap" | "scroll";
|
|
91
|
-
containerClassName?: string;
|
|
92
|
-
buttonClassName?: string;
|
|
93
|
-
dropdownClassName?: string;
|
|
94
|
-
width?: string;
|
|
95
|
-
height?: string;
|
|
96
|
-
controls?: SelectControlsRef;
|
|
97
|
-
labelVariant?: LabelVariant;
|
|
98
|
-
attachToParent?: boolean;
|
|
99
|
-
disableOpenOnFocus?: boolean;
|
|
100
|
-
onClose?: () => void;
|
|
101
|
-
onClear?: () => void;
|
|
102
|
-
onRemoveOption?: (option: T) => void;
|
|
103
|
-
onOptionClick?: (option: SelectOptionType, name?: string) => void;
|
|
104
|
-
dropdownOptions?: DropdownOptionsProps;
|
|
105
|
-
}
|
|
106
|
-
export interface MultipleSelectProps<T, TContext = unknown> extends BaseSelectProps<T, TContext> {
|
|
107
|
-
multiple: true;
|
|
108
|
-
value: (string | number)[];
|
|
109
|
-
onChange?: (newValue: SelectOptionType[], name?: string) => void;
|
|
110
|
-
displayMode?: "compact" | "chips";
|
|
111
|
-
}
|
|
112
|
-
export interface SingleSelectProps<T, TContext = unknown> extends BaseSelectProps<T, TContext> {
|
|
113
|
-
multiple?: false;
|
|
114
|
-
value: string | number | undefined;
|
|
115
|
-
onChange?: (newValue: SelectOptionType | undefined, name?: string) => void;
|
|
116
|
-
displayMode?: "compact";
|
|
117
|
-
}
|
|
118
|
-
export type SelectProps<T = unknown, TContext = unknown> = MultipleSelectProps<T, TContext> | SingleSelectProps<T, TContext>;
|
|
119
|
-
declare const SelectWithOverloads: {
|
|
120
|
-
<T, TContext = unknown>(props: MultipleSelectProps<T, TContext>): JSX.Element;
|
|
121
|
-
<T, TContext = unknown>(props: SingleSelectProps<T, TContext>): JSX.Element;
|
|
122
|
-
};
|
|
123
|
-
export default SelectWithOverloads;
|