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
package/dist/exports/Menu.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { ProfilePictureUpload as default } from '../components/ProfilePictureUpload/ProfilePictureUpload';
|
|
2
|
-
export { ProfilePictureUpload } from '../components/ProfilePictureUpload/ProfilePictureUpload';
|
|
3
|
-
export type { ProfilePictureUploadProps } from '../components/ProfilePictureUpload/ProfilePictureUpload';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { default as RecurrentDatePicker } from '../components/RecurrentDatePicker/RecurrentDatePicker';
|
|
2
|
-
export type { RecurrenceConfig } from '../components/RecurrentDatePicker/RecurrentDatePicker';
|
|
3
|
-
export type { FrequencySettingsValue } from '../components/RecurrentDatePicker/RecurrentDatePicker';
|
|
4
|
-
export type { FrequencySettingsErrors } from '../components/RecurrentDatePicker/RecurrentDatePicker';
|
|
5
|
-
export type { RecurrentDatePickerErrors } from '../components/RecurrentDatePicker/RecurrentDatePicker';
|
package/dist/exports/Select.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { default } from '../components/Select/Select';
|
|
2
|
-
export type { SelectProps } from '../components/Select/Select';
|
|
3
|
-
export type { CustomSelectionDisplayProps } from '../components/Select/Select';
|
|
4
|
-
export type { CustomSelectOptionRendererProps } from '../components/Select/Select';
|
|
5
|
-
export type { SelectOptionType } from '../components/Select/Select';
|
package/dist/exports/Steps.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../components/SwipeContainer/SwipeContainer';
|
package/dist/exports/Switch.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../components/TabLinks/TabLinks';
|
package/dist/exports/Table.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, } from '../components/Table/Table';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../components/TextArea/TextArea';
|
package/dist/exports/Toast.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useIsMobile } from '../hooks/useDevice';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Hook for detecting clicks outside of a specified element
|
|
4
|
-
* @param handler - Function to call when click outside is detected
|
|
5
|
-
* @param active - Whether the hook should be active (default: true)
|
|
6
|
-
* @returns ref - Ref to attach to the element you want to detect clicks outside of
|
|
7
|
-
*/
|
|
8
|
-
export declare const useClickOutside: <T extends HTMLElement = HTMLElement>(handler: () => void, active?: boolean) => RefObject<T | null>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useIsMobile: () => boolean;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export type DragAxis = "x" | "y" | "both";
|
|
2
|
-
export interface UseDragScrollOptions {
|
|
3
|
-
axis?: DragAxis;
|
|
4
|
-
friction?: number;
|
|
5
|
-
minVelocity?: number;
|
|
6
|
-
startMomentumThreshold?: number;
|
|
7
|
-
momentum?: boolean;
|
|
8
|
-
clickThreshold?: number;
|
|
9
|
-
cursor?: {
|
|
10
|
-
idle?: 'pointer' | 'default' | 'grab';
|
|
11
|
-
dragging?: 'grabbing' | 'default' | 'pointer';
|
|
12
|
-
};
|
|
13
|
-
preventTextSelection?: boolean;
|
|
14
|
-
normalizeFrameMs?: number;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface UseDragScrollResult<T extends HTMLElement> {
|
|
18
|
-
ref: React.RefObject<T | null>;
|
|
19
|
-
bind: {
|
|
20
|
-
onPointerDown: (e: React.PointerEvent<T>) => void;
|
|
21
|
-
onPointerMove: (e: React.PointerEvent<T>) => void;
|
|
22
|
-
onPointerUp: (e: React.PointerEvent<T>) => void;
|
|
23
|
-
onPointerLeave: (e: React.PointerEvent<T>) => void;
|
|
24
|
-
onPointerCancel: (e: React.PointerEvent<T>) => void;
|
|
25
|
-
onClickCapture: (e: React.MouseEvent<T>) => void;
|
|
26
|
-
};
|
|
27
|
-
isDraggingRef: React.MutableRefObject<boolean>;
|
|
28
|
-
}
|
|
29
|
-
export declare function useDragScroll<T extends HTMLElement = HTMLElement>(options?: UseDragScrollOptions): UseDragScrollResult<T>;
|
package/dist/index-BOQuZ0gG.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { clsx as O } from "clsx";
|
|
2
|
-
const m = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = O, j = (e, l) => (n) => {
|
|
3
|
-
var u;
|
|
4
|
-
if (l?.variants == null) return y(e, n?.class, n?.className);
|
|
5
|
-
const { variants: r, defaultVariants: d } = l, V = Object.keys(r).map((t) => {
|
|
6
|
-
const a = n?.[t], s = d?.[t];
|
|
7
|
-
if (a === null) return null;
|
|
8
|
-
const i = m(a) || m(s);
|
|
9
|
-
return r[t][i];
|
|
10
|
-
}), v = n && Object.entries(n).reduce((t, a) => {
|
|
11
|
-
let [s, i] = a;
|
|
12
|
-
return i === void 0 || (t[s] = i), t;
|
|
13
|
-
}, {}), N = l == null || (u = l.compoundVariants) === null || u === void 0 ? void 0 : u.reduce((t, a) => {
|
|
14
|
-
let { class: s, className: i, ...f } = a;
|
|
15
|
-
return Object.entries(f).every((C) => {
|
|
16
|
-
let [c, o] = C;
|
|
17
|
-
return Array.isArray(o) ? o.includes({
|
|
18
|
-
...d,
|
|
19
|
-
...v
|
|
20
|
-
}[c]) : {
|
|
21
|
-
...d,
|
|
22
|
-
...v
|
|
23
|
-
}[c] === o;
|
|
24
|
-
}) ? [
|
|
25
|
-
...t,
|
|
26
|
-
s,
|
|
27
|
-
i
|
|
28
|
-
] : t;
|
|
29
|
-
}, []);
|
|
30
|
-
return y(e, V, N, n?.class, n?.className);
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
j as c
|
|
34
|
-
};
|
package/dist/index.d.ts
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
export { default as Avatar } from './components/Avatar/Avatar';
|
|
2
|
-
export { default as Button } from './components/Button/Button';
|
|
3
|
-
export { CardProfile } from './components/CardProfile/CardProfile';
|
|
4
|
-
export { default as CheckBox } from './components/CheckBox/CheckBox';
|
|
5
|
-
export { default as DialogModal } from './components/Dialog/Dialog';
|
|
6
|
-
export { default as DrawerDesktop } from './components/Drawer/DrawerDesktop';
|
|
7
|
-
export { useDrawerDesktop } from './components/Drawer/useDrawerDesktop';
|
|
8
|
-
export { default as DrawerMobile } from './components/Drawer/DrawerMobile';
|
|
9
|
-
export { useDrawerMobile } from './components/Drawer/useDrawerMobile';
|
|
10
|
-
export { default as Header } from './components/Header/Header';
|
|
11
|
-
export { default as Input } from './components/Input/Input';
|
|
12
|
-
export { default as InputMultiple } from './components/InputMultiple/InputMultiple';
|
|
13
|
-
export { default as Logo } from './components/Logo/Logo';
|
|
14
|
-
export { Menu } from './components/Menu/MenuComposable';
|
|
15
|
-
export { default as Pagination } from './components/Pagination/Pagination';
|
|
16
|
-
export { ProfilePictureUpload } from './components/ProfilePictureUpload/ProfilePictureUpload';
|
|
17
|
-
export { default as ProgressBar } from './components/ProgressBar/ProgressBar';
|
|
18
|
-
export { default as Select } from './components/Select/Select';
|
|
19
|
-
export { default as ChangueAccount } from './components/Sidebar/components/changue-account';
|
|
20
|
-
export { default as Spinner } from './components/Spinner/Spinner';
|
|
21
|
-
export { default as Steps } from './components/Steps/Steps';
|
|
22
|
-
export { default as SwipeContainer } from './components/SwipeContainer/SwipeContainer';
|
|
23
|
-
export { default as Switch } from './components/Switch/Switch';
|
|
24
|
-
export { default as DatePicker } from './components/DatePicker/DatePicker';
|
|
25
|
-
export { default as RecurrentDatePicker } from './components/RecurrentDatePicker/RecurrentDatePicker';
|
|
26
|
-
export { default as RecurrentDatePickerRRule } from './components/RecurrentDatePicker/RecurrentDatePickerRRule';
|
|
27
|
-
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, } from './components/Table/Table';
|
|
28
|
-
export { default as TabLinks } from './components/TabLinks/TabLinks';
|
|
29
|
-
export { default as TextArea } from './components/TextArea/TextArea';
|
|
30
|
-
export { default as Tooltip } from './components/Tooltip/Tootip';
|
|
31
|
-
export { default as Skeleton } from './components/Skeleton/Skeleton';
|
|
32
|
-
export { default as SegmentedButton } from './components/SegmentedButton/SegmentedButton';
|
|
33
|
-
export { default as LayoutGeneric } from './components/Layout/LayoutGeneric';
|
|
34
|
-
export { default as ImageGallery } from './components/Image/ImageGallery';
|
|
35
|
-
export { default as Image } from './components/Image/Image';
|
|
36
|
-
export { default as Toast } from './components/Toaster/Toaster';
|
|
37
|
-
export { default as ToastProvider } from './components/Toaster/ToastProvider';
|
|
38
|
-
export { toastpyrion } from './components/Toaster/Toaster';
|
|
39
|
-
export { default as SelectSearch } from './components/SelectSearch/SelectSearch';
|
|
40
|
-
export { default as FAButton } from './components/FAB/FAButton';
|
|
41
|
-
export { default as RadioButton } from './components/RadioButton/RadioButton';
|
|
42
|
-
export * from './components/Sidebar';
|
|
43
|
-
export { SecondaryBar } from './components/Sidebar/SecondaryBar/SecondaryBar';
|
|
44
|
-
export { Badge } from './components/Sidebar/components/badge';
|
|
45
|
-
export { NavbarCollapseButton } from './components/Sidebar/components/collapse-button';
|
|
46
|
-
export { CompanyLogo } from './components/Sidebar/components/company-logo';
|
|
47
|
-
export { NavbarLinks } from './components/Sidebar/components/nav-links';
|
|
48
|
-
export { default as OtpInput } from './components/OtpInput/OtpInput';
|
|
49
|
-
export { useDialogControl } from './components/Dialog/useDialogControl';
|
|
50
|
-
export { useFileDropzone } from './components/DropZone/useFileDropzone';
|
|
51
|
-
export { SidebarProvider as SidebarRefProvider, useSidebarContext, } from './components/Sidebar/context/SidebarContext';
|
|
52
|
-
export { SidebarProvider } from './components/Sidebar/hooks/SidebarProvider';
|
|
53
|
-
export { useSidebar } from './components/Sidebar/hooks/useSidebarHook';
|
|
54
|
-
export { useClickOutside } from './hooks/useClickOutside';
|
|
55
|
-
export { useIsMobile } from './hooks/useDevice';
|
|
56
|
-
export type { ButtonProps } from './components/Button/Button';
|
|
57
|
-
export type { ISessionLocalStorage } from './components/CardProfile/CardProfile';
|
|
58
|
-
export type { CheckBoxProps } from './components/CheckBox/CheckBox';
|
|
59
|
-
export type { DropZoneProps } from './components/DropZone/DropZone';
|
|
60
|
-
export type { IHeader } from './components/Header/Header';
|
|
61
|
-
export type { InputProps, InputSize, InputVariant, } from './components/Input/Input';
|
|
62
|
-
export type { IMenuItems, IMenuRoot } from './components/Menu/MenuComposable';
|
|
63
|
-
export type { OtpInputProps } from './components/OtpInput/OtpInput';
|
|
64
|
-
export type { BadgeProps } from './components/Sidebar/components/badge';
|
|
65
|
-
export type { NavbarCollapseButtonProps } from './components/Sidebar/components/collapse-button';
|
|
66
|
-
export type { CompanyLogoProps } from './components/Sidebar/components/company-logo';
|
|
67
|
-
export type { INavbarActionsProps } from './components/Sidebar/components/nav-actions';
|
|
68
|
-
export type { NavbarLinksProps } from './components/Sidebar/components/nav-links';
|
|
69
|
-
export type { INavAction, INavLink, Role, RoleLevels, } from './components/Sidebar/hooks/useNavLinks';
|
|
70
|
-
export type { ContentProps as SecondaryBarContentProps, FooterProps as SecondaryBarFooterProps, HeaderProps as SecondaryBarHeaderProps, SecondaryBarRootProps, SpacerProps as SecondaryBarSpacerProps, } from './components/Sidebar/SecondaryBar/SecondaryBar';
|
|
71
|
-
export type { SidebarContextValue } from './components/Sidebar/hooks/useSidebarHook';
|
|
72
|
-
export type { SpinnerProps } from './components/Spinner/Spinner';
|
|
73
|
-
export type { PaginationProps } from './components/Pagination/Pagination';
|
|
74
|
-
export type { ProfilePictureUploadProps } from './components/ProfilePictureUpload/ProfilePictureUpload';
|
|
75
|
-
export type { Step, StepsProps } from './components/Steps/Steps';
|
|
76
|
-
export type { SelectProps } from './components/Select/Select';
|
|
77
|
-
export type { DialogHandle } from './components/Dialog/Dialog';
|
|
78
|
-
export { DropZone } from './components/DropZone/DropZone';
|
|
79
|
-
export type { PyrionToastProps as ToasterPrometeo } from './components/Toaster/Toaster';
|
|
80
|
-
export type { LayoutGenericProps } from './components/Layout/LayoutGeneric';
|
|
81
|
-
export type { ProgressBarProps } from './components/ProgressBar/ProgressBar';
|
|
82
|
-
export type { IToolTipProps } from './components/Tooltip/Tootip';
|
|
83
|
-
export type { InputMultipleProps } from './components/InputMultiple/InputMultiple';
|
|
84
|
-
export type { SwitchProps } from './components/Switch/Switch';
|
|
85
|
-
export type { SkeletonProps } from './components/Skeleton/Skeleton';
|
|
86
|
-
export type { SegmentedButtonProps } from './components/SegmentedButton/SegmentedButton';
|
|
87
|
-
export type { DatePickerProps } from './components/DatePicker/DatePicker';
|
|
88
|
-
export type { ImageProps } from './components/Image/Image';
|
|
89
|
-
export type { ImageGalleryProps } from './components/Image/ImageGallery';
|
|
90
|
-
export type { ImageGalleryHandle } from './components/Image/ImageGallery';
|
|
91
|
-
export type { DrawerMobileProps } from './components/Drawer/DrawerMobile';
|
|
92
|
-
export type { DrawerDesktopProps } from './components/Drawer/DrawerDesktop';
|
|
93
|
-
export type { DrawerMobileHandle } from './components/Drawer/DrawerMobile';
|
|
94
|
-
export type { DrawerDesktopHandle } from './components/Drawer/DrawerDesktop';
|
|
95
|
-
export type { CustomSelectionDisplayProps } from './components/Select/Select';
|
|
96
|
-
export type { CustomSelectOptionRendererProps } from './components/Select/Select';
|
|
97
|
-
export type { SelectControlsHandler } from './components/Select/Select';
|
|
98
|
-
export type { SelectOptionType } from './components/Select/Select';
|
|
99
|
-
export type { BaseSelectSearchProps as SelectSearchProps } from './components/SelectSearch/SelectSearch';
|
|
100
|
-
export type { FAButtonProps } from './components/FAB/FAButton';
|
|
101
|
-
export type { RadioButtonProps } from './components/RadioButton/RadioButton';
|
|
102
|
-
export type { RecurrentDatePickerProps } from './components/RecurrentDatePicker/RecurrentDatePicker';
|
|
103
|
-
export type { RecurrentDatePickerRRuleProps } from './components/RecurrentDatePicker/RecurrentDatePickerRRule';
|
|
104
|
-
export type { RecurrenceConfig } from './components/RecurrentDatePicker/RecurrentDatePicker';
|
|
@@ -1,281 +0,0 @@
|
|
|
1
|
-
import K from "react";
|
|
2
|
-
var v = { exports: {} }, m = {};
|
|
3
|
-
/**
|
|
4
|
-
* @license React
|
|
5
|
-
* react-jsx-runtime.production.js
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the MIT license found in the
|
|
10
|
-
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/
|
|
12
|
-
var I;
|
|
13
|
-
function ee() {
|
|
14
|
-
if (I) return m;
|
|
15
|
-
I = 1;
|
|
16
|
-
var l = Symbol.for("react.transitional.element"), b = Symbol.for("react.fragment");
|
|
17
|
-
function c(i, o, s) {
|
|
18
|
-
var f = null;
|
|
19
|
-
if (s !== void 0 && (f = "" + s), o.key !== void 0 && (f = "" + o.key), "key" in o) {
|
|
20
|
-
s = {};
|
|
21
|
-
for (var d in o)
|
|
22
|
-
d !== "key" && (s[d] = o[d]);
|
|
23
|
-
} else s = o;
|
|
24
|
-
return o = s.ref, {
|
|
25
|
-
$$typeof: l,
|
|
26
|
-
type: i,
|
|
27
|
-
key: f,
|
|
28
|
-
ref: o !== void 0 ? o : null,
|
|
29
|
-
props: s
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
return m.Fragment = b, m.jsx = c, m.jsxs = c, m;
|
|
33
|
-
}
|
|
34
|
-
var _ = {};
|
|
35
|
-
/**
|
|
36
|
-
* @license React
|
|
37
|
-
* react-jsx-runtime.development.js
|
|
38
|
-
*
|
|
39
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
40
|
-
*
|
|
41
|
-
* This source code is licensed under the MIT license found in the
|
|
42
|
-
* LICENSE file in the root directory of this source tree.
|
|
43
|
-
*/
|
|
44
|
-
var $;
|
|
45
|
-
function re() {
|
|
46
|
-
return $ || ($ = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
47
|
-
function l(e) {
|
|
48
|
-
if (e == null) return null;
|
|
49
|
-
if (typeof e == "function")
|
|
50
|
-
return e.$$typeof === H ? null : e.displayName || e.name || null;
|
|
51
|
-
if (typeof e == "string") return e;
|
|
52
|
-
switch (e) {
|
|
53
|
-
case p:
|
|
54
|
-
return "Fragment";
|
|
55
|
-
case U:
|
|
56
|
-
return "Profiler";
|
|
57
|
-
case W:
|
|
58
|
-
return "StrictMode";
|
|
59
|
-
case z:
|
|
60
|
-
return "Suspense";
|
|
61
|
-
case G:
|
|
62
|
-
return "SuspenseList";
|
|
63
|
-
case B:
|
|
64
|
-
return "Activity";
|
|
65
|
-
}
|
|
66
|
-
if (typeof e == "object")
|
|
67
|
-
switch (typeof e.tag == "number" && console.error(
|
|
68
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
69
|
-
), e.$$typeof) {
|
|
70
|
-
case M:
|
|
71
|
-
return "Portal";
|
|
72
|
-
case V:
|
|
73
|
-
return e.displayName || "Context";
|
|
74
|
-
case J:
|
|
75
|
-
return (e._context.displayName || "Context") + ".Consumer";
|
|
76
|
-
case q:
|
|
77
|
-
var r = e.render;
|
|
78
|
-
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
79
|
-
case X:
|
|
80
|
-
return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
|
|
81
|
-
case T:
|
|
82
|
-
r = e._payload, e = e._init;
|
|
83
|
-
try {
|
|
84
|
-
return l(e(r));
|
|
85
|
-
} catch {
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
return null;
|
|
89
|
-
}
|
|
90
|
-
function b(e) {
|
|
91
|
-
return "" + e;
|
|
92
|
-
}
|
|
93
|
-
function c(e) {
|
|
94
|
-
try {
|
|
95
|
-
var r = !1;
|
|
96
|
-
} catch {
|
|
97
|
-
r = !0;
|
|
98
|
-
}
|
|
99
|
-
if (r) {
|
|
100
|
-
r = console;
|
|
101
|
-
var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
102
|
-
return t.call(
|
|
103
|
-
r,
|
|
104
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
105
|
-
n
|
|
106
|
-
), b(e);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
function i(e) {
|
|
110
|
-
if (e === p) return "<>";
|
|
111
|
-
if (typeof e == "object" && e !== null && e.$$typeof === T)
|
|
112
|
-
return "<...>";
|
|
113
|
-
try {
|
|
114
|
-
var r = l(e);
|
|
115
|
-
return r ? "<" + r + ">" : "<...>";
|
|
116
|
-
} catch {
|
|
117
|
-
return "<...>";
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
function o() {
|
|
121
|
-
var e = k.A;
|
|
122
|
-
return e === null ? null : e.getOwner();
|
|
123
|
-
}
|
|
124
|
-
function s() {
|
|
125
|
-
return Error("react-stack-top-frame");
|
|
126
|
-
}
|
|
127
|
-
function f(e) {
|
|
128
|
-
if (x.call(e, "key")) {
|
|
129
|
-
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
130
|
-
if (r && r.isReactWarning) return !1;
|
|
131
|
-
}
|
|
132
|
-
return e.key !== void 0;
|
|
133
|
-
}
|
|
134
|
-
function d(e, r) {
|
|
135
|
-
function t() {
|
|
136
|
-
g || (g = !0, console.error(
|
|
137
|
-
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
138
|
-
r
|
|
139
|
-
));
|
|
140
|
-
}
|
|
141
|
-
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
142
|
-
get: t,
|
|
143
|
-
configurable: !0
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
function D() {
|
|
147
|
-
var e = l(this.type);
|
|
148
|
-
return h[e] || (h[e] = !0, console.error(
|
|
149
|
-
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
150
|
-
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
151
|
-
}
|
|
152
|
-
function L(e, r, t, n, R, A) {
|
|
153
|
-
var a = t.ref;
|
|
154
|
-
return e = {
|
|
155
|
-
$$typeof: j,
|
|
156
|
-
type: e,
|
|
157
|
-
key: r,
|
|
158
|
-
props: t,
|
|
159
|
-
_owner: n
|
|
160
|
-
}, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
|
|
161
|
-
enumerable: !1,
|
|
162
|
-
get: D
|
|
163
|
-
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
164
|
-
configurable: !1,
|
|
165
|
-
enumerable: !1,
|
|
166
|
-
writable: !0,
|
|
167
|
-
value: 0
|
|
168
|
-
}), Object.defineProperty(e, "_debugInfo", {
|
|
169
|
-
configurable: !1,
|
|
170
|
-
enumerable: !1,
|
|
171
|
-
writable: !0,
|
|
172
|
-
value: null
|
|
173
|
-
}), Object.defineProperty(e, "_debugStack", {
|
|
174
|
-
configurable: !1,
|
|
175
|
-
enumerable: !1,
|
|
176
|
-
writable: !0,
|
|
177
|
-
value: R
|
|
178
|
-
}), Object.defineProperty(e, "_debugTask", {
|
|
179
|
-
configurable: !1,
|
|
180
|
-
enumerable: !1,
|
|
181
|
-
writable: !0,
|
|
182
|
-
value: A
|
|
183
|
-
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
184
|
-
}
|
|
185
|
-
function P(e, r, t, n, R, A) {
|
|
186
|
-
var a = r.children;
|
|
187
|
-
if (a !== void 0)
|
|
188
|
-
if (n)
|
|
189
|
-
if (Z(a)) {
|
|
190
|
-
for (n = 0; n < a.length; n++)
|
|
191
|
-
w(a[n]);
|
|
192
|
-
Object.freeze && Object.freeze(a);
|
|
193
|
-
} else
|
|
194
|
-
console.error(
|
|
195
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
196
|
-
);
|
|
197
|
-
else w(a);
|
|
198
|
-
if (x.call(r, "key")) {
|
|
199
|
-
a = l(e);
|
|
200
|
-
var u = Object.keys(r).filter(function(Q) {
|
|
201
|
-
return Q !== "key";
|
|
202
|
-
});
|
|
203
|
-
n = 0 < u.length ? "{key: someKey, " + u.join(": ..., ") + ": ...}" : "{key: someKey}", Y[a + n] || (u = 0 < u.length ? "{" + u.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
204
|
-
`A props object containing a "key" prop is being spread into JSX:
|
|
205
|
-
let props = %s;
|
|
206
|
-
<%s {...props} />
|
|
207
|
-
React keys must be passed directly to JSX without using spread:
|
|
208
|
-
let props = %s;
|
|
209
|
-
<%s key={someKey} {...props} />`,
|
|
210
|
-
n,
|
|
211
|
-
a,
|
|
212
|
-
u,
|
|
213
|
-
a
|
|
214
|
-
), Y[a + n] = !0);
|
|
215
|
-
}
|
|
216
|
-
if (a = null, t !== void 0 && (c(t), a = "" + t), f(r) && (c(r.key), a = "" + r.key), "key" in r) {
|
|
217
|
-
t = {};
|
|
218
|
-
for (var S in r)
|
|
219
|
-
S !== "key" && (t[S] = r[S]);
|
|
220
|
-
} else t = r;
|
|
221
|
-
return a && d(
|
|
222
|
-
t,
|
|
223
|
-
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
224
|
-
), L(
|
|
225
|
-
e,
|
|
226
|
-
a,
|
|
227
|
-
t,
|
|
228
|
-
o(),
|
|
229
|
-
R,
|
|
230
|
-
A
|
|
231
|
-
);
|
|
232
|
-
}
|
|
233
|
-
function w(e) {
|
|
234
|
-
y(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (e._payload.status === "fulfilled" ? y(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
235
|
-
}
|
|
236
|
-
function y(e) {
|
|
237
|
-
return typeof e == "object" && e !== null && e.$$typeof === j;
|
|
238
|
-
}
|
|
239
|
-
var E = K, j = Symbol.for("react.transitional.element"), M = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), W = Symbol.for("react.strict_mode"), U = Symbol.for("react.profiler"), J = Symbol.for("react.consumer"), V = Symbol.for("react.context"), q = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), G = Symbol.for("react.suspense_list"), X = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), B = Symbol.for("react.activity"), H = Symbol.for("react.client.reference"), k = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, x = Object.prototype.hasOwnProperty, Z = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
240
|
-
return null;
|
|
241
|
-
};
|
|
242
|
-
E = {
|
|
243
|
-
react_stack_bottom_frame: function(e) {
|
|
244
|
-
return e();
|
|
245
|
-
}
|
|
246
|
-
};
|
|
247
|
-
var g, h = {}, N = E.react_stack_bottom_frame.bind(
|
|
248
|
-
E,
|
|
249
|
-
s
|
|
250
|
-
)(), C = O(i(s)), Y = {};
|
|
251
|
-
_.Fragment = p, _.jsx = function(e, r, t) {
|
|
252
|
-
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
253
|
-
return P(
|
|
254
|
-
e,
|
|
255
|
-
r,
|
|
256
|
-
t,
|
|
257
|
-
!1,
|
|
258
|
-
n ? Error("react-stack-top-frame") : N,
|
|
259
|
-
n ? O(i(e)) : C
|
|
260
|
-
);
|
|
261
|
-
}, _.jsxs = function(e, r, t) {
|
|
262
|
-
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
263
|
-
return P(
|
|
264
|
-
e,
|
|
265
|
-
r,
|
|
266
|
-
t,
|
|
267
|
-
!0,
|
|
268
|
-
n ? Error("react-stack-top-frame") : N,
|
|
269
|
-
n ? O(i(e)) : C
|
|
270
|
-
);
|
|
271
|
-
};
|
|
272
|
-
})()), _;
|
|
273
|
-
}
|
|
274
|
-
var F;
|
|
275
|
-
function te() {
|
|
276
|
-
return F || (F = 1, process.env.NODE_ENV === "production" ? v.exports = /* @__PURE__ */ ee() : v.exports = /* @__PURE__ */ re()), v.exports;
|
|
277
|
-
}
|
|
278
|
-
var ae = /* @__PURE__ */ te();
|
|
279
|
-
export {
|
|
280
|
-
ae as j
|
|
281
|
-
};
|
package/dist/lib/cn.d.ts
DELETED
package/dist/lib/utils.d.ts
DELETED