@solostylist/ui-kit 1.0.202 → 1.0.204
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ArrowUpward-KYbUu0UZ.js +5 -0
- package/dist/Box-a5uPlxYL.js +47 -0
- package/dist/ButtonBase-CyZX7c8K.js +802 -0
- package/dist/ChevronLeft-Djq7TyZX.js +5 -0
- package/dist/ChevronRight-BgWjUtu8.js +5 -0
- package/dist/Close-DD2G0QfM.js +5 -0
- package/dist/ContentCopy-D1OlBB-D.js +6 -0
- package/dist/DefaultPropsProvider-CFaP_bh_.js +157 -0
- package/dist/Download-DDt8mUQX.js +5 -0
- package/dist/ExpandMore-3GurpYw-.js +5 -0
- package/dist/Favorite-gVQqn0Cm.js +5 -0
- package/dist/Menu-BB3Khkc0.js +1662 -0
- package/dist/MenuItem-CjPW2J-w.js +213 -0
- package/dist/Paper-COr98fp-.js +329 -0
- package/dist/Select-B9880Uge.js +2545 -0
- package/dist/Stack-BJ4hQFAK.js +158 -0
- package/dist/Typography-B_GHPkH2.js +187 -0
- package/dist/assets/s-carousel.css +1 -1
- package/dist/assets/s-overlay-scrollbar.css +10 -1
- package/dist/assets/stripe-input.css +1 -1
- package/dist/avatar-boNnyODN.js +9 -0
- package/dist/buttonBaseClasses-DqKyadLa.js +13 -0
- package/dist/checkbox-CajxsIFH.js +57 -0
- package/dist/chunk-BQCxAhux.js +23 -0
- package/dist/createSimplePaletteValueFilter-1V26n1YK.js +14 -0
- package/dist/createSvgIcon-Bs2KOQvq.js +153 -0
- package/dist/createTheme-CMuiGmV-.js +2430 -0
- package/dist/defaultTheme-C7Su92B_.js +5 -0
- package/dist/entries/carousel.js +4 -4
- package/dist/entries/chat.js +4 -4
- package/dist/entries/code.js +4 -4
- package/dist/entries/core.js +57 -122
- package/dist/entries/dates.js +8 -12
- package/dist/entries/dropzone.js +4 -4
- package/dist/entries/editor.js +3 -4
- package/dist/entries/gallery.js +8 -13
- package/dist/entries/i18n.js +4 -7
- package/dist/entries/motion.js +15 -27
- package/dist/entries/scrollbar.js +3 -4
- package/dist/entries/stripe.js +7 -10
- package/dist/extendSxProp-DC0zdi8T.js +29 -0
- package/dist/generateUtilityClass-DdqZpZoW.js +34 -0
- package/dist/generateUtilityClasses-i3-S3IQr.js +10 -0
- package/dist/hooks/index.js +5 -11
- package/dist/hooks/use-count-down.js +85 -76
- package/dist/hooks/use-dialog.js +21 -18
- package/dist/hooks/use-is-passed-position.js +20 -20
- package/dist/hooks/use-popover.js +18 -18
- package/dist/hooks/use-scroll-animation.js +74 -56
- package/dist/iconButtonClasses-BggbSXxO.js +27 -0
- package/dist/identifier-_S1f0Pg2.js +190 -0
- package/dist/jsx-runtime-V-UOMaX1.js +180 -0
- package/dist/main.js +104 -196
- package/dist/mergeSlotProps-DKt8V_TK.js +48 -0
- package/dist/objectWithoutPropertiesLoose-Dn-p_OIo.js +23 -0
- package/dist/outlinedInputClasses-5cvWh4bu.js +43 -0
- package/dist/resolveProps-BfzHOpig.js +30 -0
- package/dist/s-accordion/index.js +4 -4
- package/dist/s-accordion/s-accordion.d.ts +0 -5
- package/dist/s-accordion/s-accordion.js +4 -949
- package/dist/s-accordion-Dt3fbZNh.js +712 -0
- package/dist/s-action-overlay/index.js +3 -4
- package/dist/s-action-overlay/s-action-overlay.d.ts +0 -4
- package/dist/s-action-overlay/s-action-overlay.js +108 -109
- package/dist/s-autocomplete/index.js +3 -4
- package/dist/s-autocomplete/s-autocomplete.d.ts +0 -5
- package/dist/s-autocomplete/s-autocomplete.js +25 -31
- package/dist/s-avatar/index.js +3 -4
- package/dist/s-avatar/s-avatar.d.ts +0 -4
- package/dist/s-avatar/s-avatar.js +32 -22
- package/dist/s-blur-text/index.js +3 -4
- package/dist/s-blur-text/s-blur-text.d.ts +0 -3
- package/dist/s-blur-text/s-blur-text.js +67 -81
- package/dist/s-breadcrumbs/index.js +3 -3
- package/dist/s-breadcrumbs/s-breadcrumbs.d.ts +0 -3
- package/dist/s-breadcrumbs/s-breadcrumbs.js +49 -44
- package/dist/s-button/index.js +3 -4
- package/dist/s-button/s-button.d.ts +0 -3
- package/dist/s-button/s-button.js +11 -9
- package/dist/s-carousel/index.js +4 -4
- package/dist/s-carousel/s-carousel.d.ts +0 -3
- package/dist/s-carousel/s-carousel.js +4 -2478
- package/dist/s-carousel-B3VUHzx3.js +2294 -0
- package/dist/s-category-card/index.js +2 -3
- package/dist/s-category-card/s-category-card.d.ts +0 -3
- package/dist/s-category-card/s-category-card.js +70 -105
- package/dist/s-chat-input/index.js +4 -4
- package/dist/s-chat-input/s-chat-input.d.ts +0 -3
- package/dist/s-chat-input/s-chat-input.js +4 -319
- package/dist/s-chat-input-j_4JZfmI.js +283 -0
- package/dist/s-chat-message/index.js +4 -4
- package/dist/s-chat-message/s-chat-message.d.ts +0 -3
- package/dist/s-chat-message/s-chat-message.js +4 -283
- package/dist/s-chat-message-DQk5XWSJ.js +281 -0
- package/dist/s-checkbox/index.js +3 -4
- package/dist/s-checkbox/s-checkbox.d.ts +0 -3
- package/dist/s-checkbox/s-checkbox.js +27 -17
- package/dist/s-chip/index.js +3 -4
- package/dist/s-chip/s-chip.d.ts +0 -3
- package/dist/s-chip/s-chip.js +10 -8
- package/dist/s-chips/index.js +3 -4
- package/dist/s-chips/s-chips.d.ts +0 -1
- package/dist/s-chips/s-chips.js +91 -86
- package/dist/s-code-block/index.js +4 -4
- package/dist/s-code-block/s-code-block.d.ts +0 -3
- package/dist/s-code-block/s-code-block.js +4 -1052
- package/dist/s-code-block-BxdWmtRX.js +608 -0
- package/dist/s-comment-message/index.js +4 -4
- package/dist/s-comment-message/s-comment-message.d.ts +0 -3
- package/dist/s-comment-message/s-comment-message.js +4 -123
- package/dist/s-comment-message-D3XTOm1L.js +195 -0
- package/dist/s-copyable-text/index.js +4 -4
- package/dist/s-copyable-text/s-copyable-text.d.ts +0 -3
- package/dist/s-copyable-text/s-copyable-text.js +50 -54
- package/dist/s-countdown/index.js +4 -5
- package/dist/s-countdown/s-count-box.d.ts +0 -3
- package/dist/s-countdown/s-count-box.js +102 -106
- package/dist/s-countdown/s-count-down.d.ts +0 -3
- package/dist/s-countdown/s-count-down.js +101 -109
- package/dist/s-data-table/index.js +4 -4
- package/dist/s-data-table/s-data-table.d.ts +0 -3
- package/dist/s-data-table/s-data-table.js +4 -1291
- package/dist/s-data-table-B9B189jk.js +893 -0
- package/dist/s-date-picker/index.js +4 -4
- package/dist/s-date-picker/s-date-picker.d.ts +0 -3
- package/dist/s-date-picker/s-date-picker.js +4 -1521
- package/dist/s-date-picker-CH4q-Bfx.js +581 -0
- package/dist/s-datetime-picker/index.js +4 -4
- package/dist/s-datetime-picker/s-datetime-picker.d.ts +0 -3
- package/dist/s-datetime-picker/s-datetime-picker.js +4 -5180
- package/dist/s-datetime-picker-dviksz3-.js +3808 -0
- package/dist/s-dialog/index.js +3 -3
- package/dist/s-dialog/s-dialog.d.ts +0 -3
- package/dist/s-dialog/s-dialog.js +44 -36
- package/dist/s-dialog-confirm/index.js +4 -6
- package/dist/s-dialog-confirm/s-dialog-confirm.d.ts +0 -11
- package/dist/s-dialog-confirm/s-dialog-confirm.js +86 -75
- package/dist/s-dialog-message/index.js +4 -6
- package/dist/s-dialog-message/s-dialog-message.d.ts +0 -9
- package/dist/s-dialog-message/s-dialog-message.js +75 -66
- package/dist/s-empty/index.js +2 -3
- package/dist/s-empty/s-empty.d.ts +0 -1
- package/dist/s-empty/s-empty.js +12 -7
- package/dist/s-error/index.js +3 -4
- package/dist/s-error/s-error.d.ts +0 -1
- package/dist/s-error/s-error.js +31 -20
- package/dist/s-error-layout/index.js +3 -4
- package/dist/s-error-layout/s-error-layout.d.ts +0 -1
- package/dist/s-error-layout/s-error-layout.js +78 -56
- package/dist/s-file-dropzone/index.js +4 -4
- package/dist/s-file-dropzone/s-file-dropzone.d.ts +0 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +4 -124
- package/dist/s-file-dropzone-DYiYlcY8.js +134 -0
- package/dist/s-file-icon/index.js +4 -4
- package/dist/s-file-icon/s-file-icon.d.ts +0 -1
- package/dist/s-file-icon/s-file-icon.js +327 -272
- package/dist/s-flex-box/index.js +4 -4
- package/dist/s-flex-box/s-flex-box.d.ts +0 -3
- package/dist/s-flex-box/s-flex-box.js +11 -7
- package/dist/s-form/index.js +3 -4
- package/dist/s-form/s-form.d.ts +0 -1
- package/dist/s-form/s-form.js +23 -15
- package/dist/s-gallery/index.js +4 -5
- package/dist/s-gallery/s-gallery.d.ts +0 -19
- package/dist/s-gallery/s-gallery.js +310 -346
- package/dist/s-glow-button/index.js +4 -4
- package/dist/s-glow-button/s-glow-button.js +30 -43
- package/dist/s-gradient-icon/index.js +3 -4
- package/dist/s-gradient-icon/s-gradient-icon.d.ts +0 -1
- package/dist/s-gradient-icon/s-gradient-icon.js +124 -79
- package/dist/s-i18n-provider/index.js +3 -4
- package/dist/s-i18n-provider/s-i18n-provider.d.ts +0 -1
- package/dist/s-i18n-provider/s-i18n-provider.js +23 -26
- package/dist/s-icon-button/index.js +3 -4
- package/dist/s-icon-button/s-icon-button.d.ts +0 -3
- package/dist/s-icon-button/s-icon-button.js +11 -8
- package/dist/s-image-comparison/index.js +4 -4
- package/dist/s-image-comparison/s-image-comparison.js +169 -206
- package/dist/s-image-modal/index.js +4 -5
- package/dist/s-image-modal/s-image-modal.d.ts +0 -4
- package/dist/s-image-modal/s-image-modal.js +396 -387
- package/dist/s-item-not-found/index.js +2 -3
- package/dist/s-item-not-found/s-item-not-found.d.ts +0 -3
- package/dist/s-item-not-found/s-item-not-found.js +240 -262
- package/dist/s-label/index.js +4 -4
- package/dist/s-label/s-label.d.ts +0 -3
- package/dist/s-label/s-label.js +4 -17
- package/dist/s-label-g_Qac9jO.js +30 -0
- package/dist/s-language-switcher/index.js +4 -6
- package/dist/s-language-switcher/s-language-switcher.d.ts +0 -3
- package/dist/s-language-switcher/s-language-switcher.js +4 -252
- package/dist/s-language-switcher-DhcrqHJt.js +198 -0
- package/dist/s-lazy-image/index.js +3 -4
- package/dist/s-lazy-image/s-lazy-image.js +41 -56
- package/dist/s-link/index.js +3 -4
- package/dist/s-link/s-link.d.ts +0 -3
- package/dist/s-link/s-link.js +30 -37
- package/dist/s-localization-provider/index.js +4 -4
- package/dist/s-localization-provider/s-localization-provider.d.ts +0 -1
- package/dist/s-localization-provider/s-localization-provider.js +4 -562
- package/dist/s-localization-provider-BpoHpRVl.js +537 -0
- package/dist/s-moving-border/index.js +2 -3
- package/dist/s-moving-border/s-moving-border.d.ts +0 -3
- package/dist/s-moving-border/s-moving-border.js +117 -131
- package/dist/s-multi-select/index.js +4 -4
- package/dist/s-multi-select/s-multi-select.d.ts +0 -1
- package/dist/s-multi-select/s-multi-select.js +4 -82
- package/dist/s-multi-select-CUsIS9dm.js +64 -0
- package/dist/s-no-ssr/index.js +3 -4
- package/dist/s-no-ssr/s-no-ssr.d.ts +0 -1
- package/dist/s-no-ssr/s-no-ssr.js +14 -15
- package/dist/s-overlay-scrollbar/index.js +3 -4
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.d.ts +0 -3
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +34 -37
- package/dist/s-pagination/index.js +3 -4
- package/dist/s-pagination/s-pagination.d.ts +0 -3
- package/dist/s-pagination/s-pagination.js +31 -14
- package/dist/s-pixel-reveal/index.js +4 -4
- package/dist/s-pixel-reveal/s-pixel-reveal.d.ts +0 -3
- package/dist/s-pixel-reveal/s-pixel-reveal.js +138 -156
- package/dist/s-radial-pulse-animate/index.js +4 -4
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.d.ts +0 -3
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +80 -122
- package/dist/s-rating/index.js +2 -3
- package/dist/s-rating/s-rating.d.ts +0 -3
- package/dist/s-rating/s-rating.js +11 -9
- package/dist/s-review/index.js +4 -4
- package/dist/s-review/s-review.d.ts +0 -3
- package/dist/s-review/s-review.js +4 -160
- package/dist/s-review-C1E6ASin.js +241 -0
- package/dist/s-scroll-reveal/index.js +3 -4
- package/dist/s-scroll-reveal/s-scroll-reveal.d.ts +0 -3
- package/dist/s-scroll-reveal/s-scroll-reveal.js +68 -64
- package/dist/s-scroll-to-top/index.js +4 -4
- package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +0 -3
- package/dist/s-scroll-to-top/s-scroll-to-top.js +45 -44
- package/dist/s-scroll-velocity/index.js +5 -8
- package/dist/s-scroll-velocity/s-scroll-velocity.d.ts +0 -6
- package/dist/s-scroll-velocity/s-scroll-velocity.js +14 -8
- package/dist/s-scroll-velocity/scroll-velocity-container.d.ts +0 -7
- package/dist/s-scroll-velocity/scroll-velocity-container.js +25 -30
- package/dist/s-scroll-velocity/scroll-velocity-row.d.ts +0 -4
- package/dist/s-scroll-velocity/scroll-velocity-row.js +97 -118
- package/dist/s-select/index.js +4 -4
- package/dist/s-select/s-select.d.ts +0 -3
- package/dist/s-select/s-select.js +4 -112
- package/dist/s-select-CmsTrYmx.js +110 -0
- package/dist/s-select-list/index.js +3 -4
- package/dist/s-select-list/s-select-list.d.ts +0 -3
- package/dist/s-select-list/s-select-list.js +44 -49
- package/dist/s-skeleton/index.js +3 -4
- package/dist/s-skeleton/s-skeleton.d.ts +0 -3
- package/dist/s-skeleton/s-skeleton.js +69 -35
- package/dist/s-snackbar-message/index.js +3 -6
- package/dist/s-snackbar-message/s-snackbar-message.d.ts +0 -6
- package/dist/s-snackbar-message/s-snackbar-message.js +48 -61
- package/dist/s-spotlight-cursor/index.js +3 -4
- package/dist/s-spotlight-cursor/s-spotlight-cursor.d.ts +0 -3
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +58 -61
- package/dist/s-stripe/index.js +7 -10
- package/dist/s-stripe/s-stripe-cvc.d.ts +0 -1
- package/dist/s-stripe/s-stripe-cvc.js +15 -10
- package/dist/s-stripe/s-stripe-expiry.d.ts +0 -1
- package/dist/s-stripe/s-stripe-expiry.js +15 -10
- package/dist/s-stripe/s-stripe-number.d.ts +0 -1
- package/dist/s-stripe/s-stripe-number.js +13 -8
- package/dist/s-stripe/s-stripe.d.ts +0 -1
- package/dist/s-stripe/s-stripe.js +31 -37
- package/dist/s-stripe/stripe-input.js +57 -81
- package/dist/s-switch/index.js +2 -3
- package/dist/s-switch/s-switch.d.ts +0 -4
- package/dist/s-switch/s-switch.js +27 -17
- package/dist/s-tabs/index.js +5 -8
- package/dist/s-tabs/s-tab-panel.d.ts +0 -3
- package/dist/s-tabs/s-tab-panel.js +23 -29
- package/dist/s-tabs/s-tab.js +10 -7
- package/dist/s-tabs/s-tabs.d.ts +0 -3
- package/dist/s-tabs/s-tabs.js +39 -35
- package/dist/s-text-editor/index.js +4 -5
- package/dist/s-text-editor/s-text-editor-toolbar.d.ts +0 -29
- package/dist/s-text-editor/s-text-editor-toolbar.js +4 -207
- package/dist/s-text-editor/s-text-editor.d.ts +0 -3
- package/dist/s-text-editor/s-text-editor.js +74 -80
- package/dist/s-text-editor-toolbar-DC-dnSBG.js +177 -0
- package/dist/s-text-field/index.js +4 -4
- package/dist/s-text-field/s-text-field.d.ts +0 -3
- package/dist/s-text-field/s-text-field.js +4 -49
- package/dist/s-text-field-C2WdBxNO.js +41 -0
- package/dist/s-text-shimmer/index.js +4 -4
- package/dist/s-text-shimmer/s-text-shimmer.d.ts +0 -3
- package/dist/s-text-shimmer/s-text-shimmer.js +31 -32
- package/dist/s-text-truncation/index.js +2 -3
- package/dist/s-text-truncation/s-text-truncation.d.ts +0 -4
- package/dist/s-text-truncation/s-text-truncation.js +79 -81
- package/dist/s-theme-demo/index.js +4 -4
- package/dist/s-theme-demo/s-theme-demo.js +4 -380
- package/dist/s-theme-demo-ChEG6wog.js +828 -0
- package/dist/s-theme-provider/index.js +4 -4
- package/dist/s-theme-provider/s-theme-provider.d.ts +0 -1
- package/dist/s-theme-provider/s-theme-provider.js +35 -50
- package/dist/s-theme-switch/index.js +4 -4
- package/dist/s-theme-switch/s-theme-switch.js +4 -41
- package/dist/s-theme-switch-uXRVJIf_.js +37 -0
- package/dist/s-tip/index.js +4 -4
- package/dist/s-tip/s-tip.d.ts +0 -3
- package/dist/s-tip/s-tip.js +4 -34
- package/dist/s-tip-oiH-79gR.js +34 -0
- package/dist/s-tool-bar/index.js +4 -4
- package/dist/s-tool-bar/s-tool-bar.d.ts +0 -4
- package/dist/s-tool-bar/s-tool-bar.js +4 -478
- package/dist/s-tool-bar-CM-cxOkI.js +404 -0
- package/dist/s-two-pane-layout/index.js +3 -3
- package/dist/s-two-pane-layout/s-two-pane-layout.d.ts +0 -3
- package/dist/s-two-pane-layout/s-two-pane-layout.js +101 -100
- package/dist/s-typewriter-text/index.js +3 -4
- package/dist/s-typewriter-text/s-typewriter-text.d.ts +0 -3
- package/dist/s-typewriter-text/s-typewriter-text.js +39 -45
- package/dist/s-zoom-image/index.js +2 -3
- package/dist/s-zoom-image/s-zoom-image.d.ts +0 -3
- package/dist/s-zoom-image/s-zoom-image.js +62 -88
- package/dist/select-CjaxyZK_.js +11 -0
- package/dist/styled-CjUxhIJh.js +168 -0
- package/dist/svgIconClasses-DOmb6RsS.js +20 -0
- package/dist/tabClasses-DoD3-n6K.js +21 -0
- package/dist/theme/components/accordion-details.js +7 -8
- package/dist/theme/components/accordion-summary.js +12 -17
- package/dist/theme/components/accordion.js +24 -32
- package/dist/theme/components/alert.js +45 -72
- package/dist/theme/components/app-bar.js +12 -18
- package/dist/theme/components/autocomplete.js +19 -30
- package/dist/theme/components/avatar.js +4 -13
- package/dist/theme/components/backdrop.js +13 -12
- package/dist/theme/components/button-base.js +12 -14
- package/dist/theme/components/button.js +92 -138
- package/dist/theme/components/card-actions.js +4 -10
- package/dist/theme/components/card-content.js +4 -11
- package/dist/theme/components/card-header.js +4 -10
- package/dist/theme/components/card.js +23 -35
- package/dist/theme/components/checkbox.js +4 -65
- package/dist/theme/components/chip.js +67 -106
- package/dist/theme/components/components.js +113 -111
- package/dist/theme/components/container.js +4 -6
- package/dist/theme/components/dialog-actions.js +4 -10
- package/dist/theme/components/dialog.js +11 -17
- package/dist/theme/components/drawer.js +4 -10
- package/dist/theme/components/form-control.js +4 -10
- package/dist/theme/components/form-label.js +7 -11
- package/dist/theme/components/icon-button.js +82 -132
- package/dist/theme/components/icon.js +9 -21
- package/dist/theme/components/input-adornment.js +7 -13
- package/dist/theme/components/input-base.js +10 -16
- package/dist/theme/components/linear-progress.js +11 -16
- package/dist/theme/components/link.js +31 -37
- package/dist/theme/components/list-item-button.js +27 -44
- package/dist/theme/components/list-item-icon.js +4 -10
- package/dist/theme/components/list-item-text.js +14 -16
- package/dist/theme/components/list-item.js +12 -20
- package/dist/theme/components/list-subheader.js +10 -14
- package/dist/theme/components/list.js +9 -13
- package/dist/theme/components/menu-item.js +7 -8
- package/dist/theme/components/menu.js +20 -22
- package/dist/theme/components/outlined-input.js +41 -64
- package/dist/theme/components/pagination-item.js +8 -18
- package/dist/theme/components/paper.js +4 -8
- package/dist/theme/components/popover.js +11 -13
- package/dist/theme/components/rating.js +4 -8
- package/dist/theme/components/select.js +4 -13
- package/dist/theme/components/skeleton.js +4 -10
- package/dist/theme/components/slider.js +4 -8
- package/dist/theme/components/step-connector.js +9 -13
- package/dist/theme/components/step-icon.js +39 -46
- package/dist/theme/components/step-label.js +7 -13
- package/dist/theme/components/svg-icon.js +20 -37
- package/dist/theme/components/tab.js +20 -34
- package/dist/theme/components/table-cell.js +4 -10
- package/dist/theme/components/table-pagination.js +14 -18
- package/dist/theme/components/tabs.js +20 -24
- package/dist/theme/components/toggle-button-group.js +3 -23
- package/dist/theme/components/toggle-button.js +3 -21
- package/dist/theme/components/tooltip.js +23 -23
- package/dist/theme/theme-primitives.js +3 -410
- package/dist/theme-primitives-Csxbv-2Y.js +398 -0
- package/dist/toggle-button-CAcYep44.js +26 -0
- package/dist/toggle-button-group-BCHnFS_B.js +28 -0
- package/dist/typographyClasses-YJ-sLvHS.js +32 -0
- package/dist/useControlled-DZKvfhNx.js +32 -0
- package/dist/useEnhancedEffect-C_B_y6Db.js +5 -0
- package/dist/useFormControl-y5Pput5X.js +11 -0
- package/dist/useMobilePicker-CVsWEjX5.js +10635 -0
- package/dist/useTheme-B8aCSYJ4.js +34 -0
- package/dist/useThemeProps-CeO0wKq2.js +19 -0
- package/dist/utils/dayjs.js +161 -113
- package/dist/utils/index.js +3 -11
- package/dist/utils/logger.js +45 -46
- package/dist/utils-Cj6R-BZe.js +72 -0
- package/dist/warning-Bc_24lbr.js +110 -0
- package/package.json +29 -29
- package/dist/ArrowUpward-D8eqD-si.js +0 -8
- package/dist/Box-BkXoTbe8.js +0 -62
- package/dist/ButtonBase-D73M0QY5.js +0 -1099
- package/dist/ChevronLeft-BmgmPHp9.js +0 -8
- package/dist/ChevronRight-DbWSr8yz.js +0 -8
- package/dist/Close-lHCUMitI.js +0 -8
- package/dist/ContentCopy-D4SuJd86.js +0 -11
- package/dist/DefaultPropsProvider-DPuuPIbS.js +0 -64
- package/dist/Download-BoRQUwCf.js +0 -8
- package/dist/ExpandMore-C7yRQv1-.js +0 -8
- package/dist/Favorite-Bz_HcMgN.js +0 -8
- package/dist/Menu-GVFDMHCN.js +0 -2441
- package/dist/MenuItem-2wG8I2HO.js +0 -269
- package/dist/Paper-CR019bki.js +0 -553
- package/dist/Select-D2l9rDWL.js +0 -3966
- package/dist/Stack-Dfjnuorw.js +0 -174
- package/dist/Typography-PcmlIqm1.js +0 -253
- package/dist/_commonjsHelpers-ByX85dGu.js +0 -33
- package/dist/buttonBaseClasses-jtnoTmPn.js +0 -10
- package/dist/clsx-OuTLNxxd.js +0 -16
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
- package/dist/createSvgIcon-BkbeLOhM.js +0 -242
- package/dist/createTheme-DgoJyWM-.js +0 -2929
- package/dist/defaultTheme-CulFxfLR.js +0 -5
- package/dist/extendSxProp-BJEIxcAx.js +0 -36
- package/dist/generateUtilityClass-BhfUaMgk.js +0 -35
- package/dist/generateUtilityClasses-E9gROIFd.js +0 -10
- package/dist/iconButtonClasses-BMfIhNTh.js +0 -10
- package/dist/identifier-BKLqN993.js +0 -4
- package/dist/index-D3G5Rwl-.js +0 -211
- package/dist/index-DtGYsHSv.js +0 -94
- package/dist/jsx-runtime-tc70JA_2.js +0 -264
- package/dist/mergeSlotProps-CuzBQdlp.js +0 -62
- package/dist/objectWithoutPropertiesLoose-DiWPeE4c.js +0 -22
- package/dist/outlinedInputClasses-DnwW3ujt.js +0 -19
- package/dist/resolveProps-BDH0VJjn.js +0 -39
- package/dist/styled-8Y5KoVix.js +0 -203
- package/dist/svgIconClasses-C6auqaBA.js +0 -10
- package/dist/tabClasses-DFvXsFrN.js +0 -10
- package/dist/typographyClasses-jmoWZuXc.js +0 -10
- package/dist/useControlled-D1L5tREc.js +0 -31
- package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useMobilePicker-B-bNHHXB.js +0 -13498
- package/dist/useTheme-CWPkv7g3.js +0 -18
- package/dist/useThemeProps-XYgXGzjS.js +0 -27
- package/dist/utils-D1UMIV0b.js +0 -40
- package/dist/warning-Ba-7BBAN.js +0 -135
package/dist/Paper-CR019bki.js
DELETED
|
@@ -1,553 +0,0 @@
|
|
|
1
|
-
import { _ as k } from "./objectWithoutPropertiesLoose-DiWPeE4c.js";
|
|
2
|
-
import { _ as M, T as R, c as I } from "./ButtonBase-D73M0QY5.js";
|
|
3
|
-
import { P as n, a as O, l as S } from "./createTheme-DgoJyWM-.js";
|
|
4
|
-
import * as C from "react";
|
|
5
|
-
import b from "react";
|
|
6
|
-
import g from "react-dom";
|
|
7
|
-
import { c as _ } from "./clsx-OuTLNxxd.js";
|
|
8
|
-
import { d as U } from "./defaultTheme-CulFxfLR.js";
|
|
9
|
-
import { T as $ } from "./identifier-BKLqN993.js";
|
|
10
|
-
import { u as q } from "./useTheme-CWPkv7g3.js";
|
|
11
|
-
import { j as V } from "./jsx-runtime-tc70JA_2.js";
|
|
12
|
-
import { s as j } from "./styled-8Y5KoVix.js";
|
|
13
|
-
import { u as L, c as G, m as A } from "./DefaultPropsProvider-DPuuPIbS.js";
|
|
14
|
-
import { g as F } from "./generateUtilityClass-BhfUaMgk.js";
|
|
15
|
-
import { g as X } from "./generateUtilityClasses-E9gROIFd.js";
|
|
16
|
-
function W() {
|
|
17
|
-
const o = q(U);
|
|
18
|
-
return process.env.NODE_ENV !== "production" && C.useDebugValue(o), o[$] || o;
|
|
19
|
-
}
|
|
20
|
-
const D = {
|
|
21
|
-
disabled: !1
|
|
22
|
-
};
|
|
23
|
-
var H = process.env.NODE_ENV !== "production" ? n.oneOfType([n.number, n.shape({
|
|
24
|
-
enter: n.number,
|
|
25
|
-
exit: n.number,
|
|
26
|
-
appear: n.number
|
|
27
|
-
}).isRequired]) : null, ve = process.env.NODE_ENV !== "production" ? n.oneOfType([n.string, n.shape({
|
|
28
|
-
enter: n.string,
|
|
29
|
-
exit: n.string,
|
|
30
|
-
active: n.string
|
|
31
|
-
}), n.shape({
|
|
32
|
-
enter: n.string,
|
|
33
|
-
enterDone: n.string,
|
|
34
|
-
enterActive: n.string,
|
|
35
|
-
exit: n.string,
|
|
36
|
-
exitDone: n.string,
|
|
37
|
-
exitActive: n.string
|
|
38
|
-
})]) : null, B = function(a) {
|
|
39
|
-
return a.scrollTop;
|
|
40
|
-
}, x = "unmounted", d = "exited", v = "entering", E = "entered", N = "exiting", c = /* @__PURE__ */ (function(o) {
|
|
41
|
-
M(a, o);
|
|
42
|
-
function a(r, t) {
|
|
43
|
-
var e;
|
|
44
|
-
e = o.call(this, r, t) || this;
|
|
45
|
-
var i = t, u = i && !i.isMounting ? r.enter : r.appear, l;
|
|
46
|
-
return e.appearStatus = null, r.in ? u ? (l = d, e.appearStatus = v) : l = E : r.unmountOnExit || r.mountOnEnter ? l = x : l = d, e.state = {
|
|
47
|
-
status: l
|
|
48
|
-
}, e.nextCallback = null, e;
|
|
49
|
-
}
|
|
50
|
-
a.getDerivedStateFromProps = function(t, e) {
|
|
51
|
-
var i = t.in;
|
|
52
|
-
return i && e.status === x ? {
|
|
53
|
-
status: d
|
|
54
|
-
} : null;
|
|
55
|
-
};
|
|
56
|
-
var s = a.prototype;
|
|
57
|
-
return s.componentDidMount = function() {
|
|
58
|
-
this.updateStatus(!0, this.appearStatus);
|
|
59
|
-
}, s.componentDidUpdate = function(t) {
|
|
60
|
-
var e = null;
|
|
61
|
-
if (t !== this.props) {
|
|
62
|
-
var i = this.state.status;
|
|
63
|
-
this.props.in ? i !== v && i !== E && (e = v) : (i === v || i === E) && (e = N);
|
|
64
|
-
}
|
|
65
|
-
this.updateStatus(!1, e);
|
|
66
|
-
}, s.componentWillUnmount = function() {
|
|
67
|
-
this.cancelNextCallback();
|
|
68
|
-
}, s.getTimeouts = function() {
|
|
69
|
-
var t = this.props.timeout, e, i, u;
|
|
70
|
-
return e = i = u = t, t != null && typeof t != "number" && (e = t.exit, i = t.enter, u = t.appear !== void 0 ? t.appear : i), {
|
|
71
|
-
exit: e,
|
|
72
|
-
enter: i,
|
|
73
|
-
appear: u
|
|
74
|
-
};
|
|
75
|
-
}, s.updateStatus = function(t, e) {
|
|
76
|
-
if (t === void 0 && (t = !1), e !== null)
|
|
77
|
-
if (this.cancelNextCallback(), e === v) {
|
|
78
|
-
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
79
|
-
var i = this.props.nodeRef ? this.props.nodeRef.current : g.findDOMNode(this);
|
|
80
|
-
i && B(i);
|
|
81
|
-
}
|
|
82
|
-
this.performEnter(t);
|
|
83
|
-
} else
|
|
84
|
-
this.performExit();
|
|
85
|
-
else this.props.unmountOnExit && this.state.status === d && this.setState({
|
|
86
|
-
status: x
|
|
87
|
-
});
|
|
88
|
-
}, s.performEnter = function(t) {
|
|
89
|
-
var e = this, i = this.props.enter, u = this.context ? this.context.isMounting : t, l = this.props.nodeRef ? [u] : [g.findDOMNode(this), u], p = l[0], f = l[1], h = this.getTimeouts(), T = u ? h.appear : h.enter;
|
|
90
|
-
if (!t && !i || D.disabled) {
|
|
91
|
-
this.safeSetState({
|
|
92
|
-
status: E
|
|
93
|
-
}, function() {
|
|
94
|
-
e.props.onEntered(p);
|
|
95
|
-
});
|
|
96
|
-
return;
|
|
97
|
-
}
|
|
98
|
-
this.props.onEnter(p, f), this.safeSetState({
|
|
99
|
-
status: v
|
|
100
|
-
}, function() {
|
|
101
|
-
e.props.onEntering(p, f), e.onTransitionEnd(T, function() {
|
|
102
|
-
e.safeSetState({
|
|
103
|
-
status: E
|
|
104
|
-
}, function() {
|
|
105
|
-
e.props.onEntered(p, f);
|
|
106
|
-
});
|
|
107
|
-
});
|
|
108
|
-
});
|
|
109
|
-
}, s.performExit = function() {
|
|
110
|
-
var t = this, e = this.props.exit, i = this.getTimeouts(), u = this.props.nodeRef ? void 0 : g.findDOMNode(this);
|
|
111
|
-
if (!e || D.disabled) {
|
|
112
|
-
this.safeSetState({
|
|
113
|
-
status: d
|
|
114
|
-
}, function() {
|
|
115
|
-
t.props.onExited(u);
|
|
116
|
-
});
|
|
117
|
-
return;
|
|
118
|
-
}
|
|
119
|
-
this.props.onExit(u), this.safeSetState({
|
|
120
|
-
status: N
|
|
121
|
-
}, function() {
|
|
122
|
-
t.props.onExiting(u), t.onTransitionEnd(i.exit, function() {
|
|
123
|
-
t.safeSetState({
|
|
124
|
-
status: d
|
|
125
|
-
}, function() {
|
|
126
|
-
t.props.onExited(u);
|
|
127
|
-
});
|
|
128
|
-
});
|
|
129
|
-
});
|
|
130
|
-
}, s.cancelNextCallback = function() {
|
|
131
|
-
this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
|
|
132
|
-
}, s.safeSetState = function(t, e) {
|
|
133
|
-
e = this.setNextCallback(e), this.setState(t, e);
|
|
134
|
-
}, s.setNextCallback = function(t) {
|
|
135
|
-
var e = this, i = !0;
|
|
136
|
-
return this.nextCallback = function(u) {
|
|
137
|
-
i && (i = !1, e.nextCallback = null, t(u));
|
|
138
|
-
}, this.nextCallback.cancel = function() {
|
|
139
|
-
i = !1;
|
|
140
|
-
}, this.nextCallback;
|
|
141
|
-
}, s.onTransitionEnd = function(t, e) {
|
|
142
|
-
this.setNextCallback(e);
|
|
143
|
-
var i = this.props.nodeRef ? this.props.nodeRef.current : g.findDOMNode(this), u = t == null && !this.props.addEndListener;
|
|
144
|
-
if (!i || u) {
|
|
145
|
-
setTimeout(this.nextCallback, 0);
|
|
146
|
-
return;
|
|
147
|
-
}
|
|
148
|
-
if (this.props.addEndListener) {
|
|
149
|
-
var l = this.props.nodeRef ? [this.nextCallback] : [i, this.nextCallback], p = l[0], f = l[1];
|
|
150
|
-
this.props.addEndListener(p, f);
|
|
151
|
-
}
|
|
152
|
-
t != null && setTimeout(this.nextCallback, t);
|
|
153
|
-
}, s.render = function() {
|
|
154
|
-
var t = this.state.status;
|
|
155
|
-
if (t === x)
|
|
156
|
-
return null;
|
|
157
|
-
var e = this.props, i = e.children;
|
|
158
|
-
e.in, e.mountOnEnter, e.unmountOnExit, e.appear, e.enter, e.exit, e.timeout, e.addEndListener, e.onEnter, e.onEntering, e.onEntered, e.onExit, e.onExiting, e.onExited, e.nodeRef;
|
|
159
|
-
var u = k(e, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
160
|
-
return (
|
|
161
|
-
// allows for nested Transitions
|
|
162
|
-
/* @__PURE__ */ b.createElement(R.Provider, {
|
|
163
|
-
value: null
|
|
164
|
-
}, typeof i == "function" ? i(t, u) : b.cloneElement(b.Children.only(i), u))
|
|
165
|
-
);
|
|
166
|
-
}, a;
|
|
167
|
-
})(b.Component);
|
|
168
|
-
c.contextType = R;
|
|
169
|
-
c.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
170
|
-
/**
|
|
171
|
-
* A React reference to DOM element that need to transition:
|
|
172
|
-
* https://stackoverflow.com/a/51127130/4671932
|
|
173
|
-
*
|
|
174
|
-
* - When `nodeRef` prop is used, `node` is not passed to callback functions
|
|
175
|
-
* (e.g. `onEnter`) because user already has direct access to the node.
|
|
176
|
-
* - When changing `key` prop of `Transition` in a `TransitionGroup` a new
|
|
177
|
-
* `nodeRef` need to be provided to `Transition` with changed `key` prop
|
|
178
|
-
* (see
|
|
179
|
-
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
180
|
-
*/
|
|
181
|
-
nodeRef: n.shape({
|
|
182
|
-
current: typeof Element > "u" ? n.any : function(o, a, s, r, t, e) {
|
|
183
|
-
var i = o[a];
|
|
184
|
-
return n.instanceOf(i && "ownerDocument" in i ? i.ownerDocument.defaultView.Element : Element)(o, a, s, r, t, e);
|
|
185
|
-
}
|
|
186
|
-
}),
|
|
187
|
-
/**
|
|
188
|
-
* A `function` child can be used instead of a React element. This function is
|
|
189
|
-
* called with the current transition status (`'entering'`, `'entered'`,
|
|
190
|
-
* `'exiting'`, `'exited'`), which can be used to apply context
|
|
191
|
-
* specific props to a component.
|
|
192
|
-
*
|
|
193
|
-
* ```jsx
|
|
194
|
-
* <Transition in={this.state.in} timeout={150}>
|
|
195
|
-
* {state => (
|
|
196
|
-
* <MyComponent className={`fade fade-${state}`} />
|
|
197
|
-
* )}
|
|
198
|
-
* </Transition>
|
|
199
|
-
* ```
|
|
200
|
-
*/
|
|
201
|
-
children: n.oneOfType([n.func.isRequired, n.element.isRequired]).isRequired,
|
|
202
|
-
/**
|
|
203
|
-
* Show the component; triggers the enter or exit states
|
|
204
|
-
*/
|
|
205
|
-
in: n.bool,
|
|
206
|
-
/**
|
|
207
|
-
* By default the child component is mounted immediately along with
|
|
208
|
-
* the parent `Transition` component. If you want to "lazy mount" the component on the
|
|
209
|
-
* first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
|
|
210
|
-
* mounted, even on "exited", unless you also specify `unmountOnExit`.
|
|
211
|
-
*/
|
|
212
|
-
mountOnEnter: n.bool,
|
|
213
|
-
/**
|
|
214
|
-
* By default the child component stays mounted after it reaches the `'exited'` state.
|
|
215
|
-
* Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
|
|
216
|
-
*/
|
|
217
|
-
unmountOnExit: n.bool,
|
|
218
|
-
/**
|
|
219
|
-
* By default the child component does not perform the enter transition when
|
|
220
|
-
* it first mounts, regardless of the value of `in`. If you want this
|
|
221
|
-
* behavior, set both `appear` and `in` to `true`.
|
|
222
|
-
*
|
|
223
|
-
* > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
|
|
224
|
-
* > only adds an additional enter transition. However, in the
|
|
225
|
-
* > `<CSSTransition>` component that first enter transition does result in
|
|
226
|
-
* > additional `.appear-*` classes, that way you can choose to style it
|
|
227
|
-
* > differently.
|
|
228
|
-
*/
|
|
229
|
-
appear: n.bool,
|
|
230
|
-
/**
|
|
231
|
-
* Enable or disable enter transitions.
|
|
232
|
-
*/
|
|
233
|
-
enter: n.bool,
|
|
234
|
-
/**
|
|
235
|
-
* Enable or disable exit transitions.
|
|
236
|
-
*/
|
|
237
|
-
exit: n.bool,
|
|
238
|
-
/**
|
|
239
|
-
* The duration of the transition, in milliseconds.
|
|
240
|
-
* Required unless `addEndListener` is provided.
|
|
241
|
-
*
|
|
242
|
-
* You may specify a single timeout for all transitions:
|
|
243
|
-
*
|
|
244
|
-
* ```jsx
|
|
245
|
-
* timeout={500}
|
|
246
|
-
* ```
|
|
247
|
-
*
|
|
248
|
-
* or individually:
|
|
249
|
-
*
|
|
250
|
-
* ```jsx
|
|
251
|
-
* timeout={{
|
|
252
|
-
* appear: 500,
|
|
253
|
-
* enter: 300,
|
|
254
|
-
* exit: 500,
|
|
255
|
-
* }}
|
|
256
|
-
* ```
|
|
257
|
-
*
|
|
258
|
-
* - `appear` defaults to the value of `enter`
|
|
259
|
-
* - `enter` defaults to `0`
|
|
260
|
-
* - `exit` defaults to `0`
|
|
261
|
-
*
|
|
262
|
-
* @type {number | { enter?: number, exit?: number, appear?: number }}
|
|
263
|
-
*/
|
|
264
|
-
timeout: function(a) {
|
|
265
|
-
var s = H;
|
|
266
|
-
a.addEndListener || (s = s.isRequired);
|
|
267
|
-
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), e = 1; e < r; e++)
|
|
268
|
-
t[e - 1] = arguments[e];
|
|
269
|
-
return s.apply(void 0, [a].concat(t));
|
|
270
|
-
},
|
|
271
|
-
/**
|
|
272
|
-
* Add a custom transition end trigger. Called with the transitioning
|
|
273
|
-
* DOM node and a `done` callback. Allows for more fine grained transition end
|
|
274
|
-
* logic. Timeouts are still used as a fallback if provided.
|
|
275
|
-
*
|
|
276
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
277
|
-
*
|
|
278
|
-
* ```jsx
|
|
279
|
-
* addEndListener={(node, done) => {
|
|
280
|
-
* // use the css transitionend event to mark the finish of a transition
|
|
281
|
-
* node.addEventListener('transitionend', done, false);
|
|
282
|
-
* }}
|
|
283
|
-
* ```
|
|
284
|
-
*/
|
|
285
|
-
addEndListener: n.func,
|
|
286
|
-
/**
|
|
287
|
-
* Callback fired before the "entering" status is applied. An extra parameter
|
|
288
|
-
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
289
|
-
*
|
|
290
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
291
|
-
*
|
|
292
|
-
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
293
|
-
*/
|
|
294
|
-
onEnter: n.func,
|
|
295
|
-
/**
|
|
296
|
-
* Callback fired after the "entering" status is applied. An extra parameter
|
|
297
|
-
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
298
|
-
*
|
|
299
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
300
|
-
*
|
|
301
|
-
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
302
|
-
*/
|
|
303
|
-
onEntering: n.func,
|
|
304
|
-
/**
|
|
305
|
-
* Callback fired after the "entered" status is applied. An extra parameter
|
|
306
|
-
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
307
|
-
*
|
|
308
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
309
|
-
*
|
|
310
|
-
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
311
|
-
*/
|
|
312
|
-
onEntered: n.func,
|
|
313
|
-
/**
|
|
314
|
-
* Callback fired before the "exiting" status is applied.
|
|
315
|
-
*
|
|
316
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
317
|
-
*
|
|
318
|
-
* @type Function(node: HtmlElement) -> void
|
|
319
|
-
*/
|
|
320
|
-
onExit: n.func,
|
|
321
|
-
/**
|
|
322
|
-
* Callback fired after the "exiting" status is applied.
|
|
323
|
-
*
|
|
324
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
325
|
-
*
|
|
326
|
-
* @type Function(node: HtmlElement) -> void
|
|
327
|
-
*/
|
|
328
|
-
onExiting: n.func,
|
|
329
|
-
/**
|
|
330
|
-
* Callback fired after the "exited" status is applied.
|
|
331
|
-
*
|
|
332
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed
|
|
333
|
-
*
|
|
334
|
-
* @type Function(node: HtmlElement) -> void
|
|
335
|
-
*/
|
|
336
|
-
onExited: n.func
|
|
337
|
-
} : {};
|
|
338
|
-
function m() {
|
|
339
|
-
}
|
|
340
|
-
c.defaultProps = {
|
|
341
|
-
in: !1,
|
|
342
|
-
mountOnEnter: !1,
|
|
343
|
-
unmountOnExit: !1,
|
|
344
|
-
appear: !1,
|
|
345
|
-
enter: !0,
|
|
346
|
-
exit: !0,
|
|
347
|
-
onEnter: m,
|
|
348
|
-
onEntering: m,
|
|
349
|
-
onEntered: m,
|
|
350
|
-
onExit: m,
|
|
351
|
-
onExiting: m,
|
|
352
|
-
onExited: m
|
|
353
|
-
};
|
|
354
|
-
c.UNMOUNTED = x;
|
|
355
|
-
c.EXITED = d;
|
|
356
|
-
c.ENTERING = v;
|
|
357
|
-
c.ENTERED = E;
|
|
358
|
-
c.EXITING = N;
|
|
359
|
-
const me = (o) => o.scrollTop;
|
|
360
|
-
function Ee(o, a) {
|
|
361
|
-
const {
|
|
362
|
-
timeout: s,
|
|
363
|
-
easing: r,
|
|
364
|
-
style: t = {}
|
|
365
|
-
} = o;
|
|
366
|
-
return {
|
|
367
|
-
duration: t.transitionDuration ?? (typeof s == "number" ? s : s[a.mode] || 0),
|
|
368
|
-
easing: t.transitionTimingFunction ?? (typeof r == "object" ? r[a.mode] : r),
|
|
369
|
-
delay: t.transitionDelay
|
|
370
|
-
};
|
|
371
|
-
}
|
|
372
|
-
function z(o) {
|
|
373
|
-
const a = typeof o;
|
|
374
|
-
switch (a) {
|
|
375
|
-
case "number":
|
|
376
|
-
return Number.isNaN(o) ? "NaN" : Number.isFinite(o) ? o !== Math.floor(o) ? "float" : "number" : "Infinity";
|
|
377
|
-
case "object":
|
|
378
|
-
return o === null ? "null" : o.constructor.name;
|
|
379
|
-
default:
|
|
380
|
-
return a;
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
function P(o, a, s, r) {
|
|
384
|
-
const t = o[a];
|
|
385
|
-
if (t == null || !Number.isInteger(t)) {
|
|
386
|
-
const e = z(t);
|
|
387
|
-
return new RangeError(`Invalid ${r} \`${a}\` of type \`${e}\` supplied to \`${s}\`, expected \`integer\`.`);
|
|
388
|
-
}
|
|
389
|
-
return null;
|
|
390
|
-
}
|
|
391
|
-
function w(o, a, s, r) {
|
|
392
|
-
return o[a] === void 0 ? null : P(o, a, s, r);
|
|
393
|
-
}
|
|
394
|
-
function y() {
|
|
395
|
-
return null;
|
|
396
|
-
}
|
|
397
|
-
w.isRequired = P;
|
|
398
|
-
y.isRequired = y;
|
|
399
|
-
const J = process.env.NODE_ENV === "production" ? y : w;
|
|
400
|
-
function K(o) {
|
|
401
|
-
return F("MuiPaper", o);
|
|
402
|
-
}
|
|
403
|
-
X("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
|
|
404
|
-
const Q = (o) => {
|
|
405
|
-
const {
|
|
406
|
-
square: a,
|
|
407
|
-
elevation: s,
|
|
408
|
-
variant: r,
|
|
409
|
-
classes: t
|
|
410
|
-
} = o, e = {
|
|
411
|
-
root: ["root", r, !a && "rounded", r === "elevation" && `elevation${s}`]
|
|
412
|
-
};
|
|
413
|
-
return G(e, K, t);
|
|
414
|
-
}, Y = j("div", {
|
|
415
|
-
name: "MuiPaper",
|
|
416
|
-
slot: "Root",
|
|
417
|
-
overridesResolver: (o, a) => {
|
|
418
|
-
const {
|
|
419
|
-
ownerState: s
|
|
420
|
-
} = o;
|
|
421
|
-
return [a.root, a[s.variant], !s.square && a.rounded, s.variant === "elevation" && a[`elevation${s.elevation}`]];
|
|
422
|
-
}
|
|
423
|
-
})(A(({
|
|
424
|
-
theme: o
|
|
425
|
-
}) => ({
|
|
426
|
-
backgroundColor: (o.vars || o).palette.background.paper,
|
|
427
|
-
color: (o.vars || o).palette.text.primary,
|
|
428
|
-
transition: o.transitions.create("box-shadow"),
|
|
429
|
-
variants: [{
|
|
430
|
-
props: ({
|
|
431
|
-
ownerState: a
|
|
432
|
-
}) => !a.square,
|
|
433
|
-
style: {
|
|
434
|
-
borderRadius: o.shape.borderRadius
|
|
435
|
-
}
|
|
436
|
-
}, {
|
|
437
|
-
props: {
|
|
438
|
-
variant: "outlined"
|
|
439
|
-
},
|
|
440
|
-
style: {
|
|
441
|
-
border: `1px solid ${(o.vars || o).palette.divider}`
|
|
442
|
-
}
|
|
443
|
-
}, {
|
|
444
|
-
props: {
|
|
445
|
-
variant: "elevation"
|
|
446
|
-
},
|
|
447
|
-
style: {
|
|
448
|
-
boxShadow: "var(--Paper-shadow)",
|
|
449
|
-
backgroundImage: "var(--Paper-overlay)"
|
|
450
|
-
}
|
|
451
|
-
}]
|
|
452
|
-
}))), Z = /* @__PURE__ */ C.forwardRef(function(a, s) {
|
|
453
|
-
const r = L({
|
|
454
|
-
props: a,
|
|
455
|
-
name: "MuiPaper"
|
|
456
|
-
}), t = W(), {
|
|
457
|
-
className: e,
|
|
458
|
-
component: i = "div",
|
|
459
|
-
elevation: u = 1,
|
|
460
|
-
square: l = !1,
|
|
461
|
-
variant: p = "elevation",
|
|
462
|
-
...f
|
|
463
|
-
} = r, h = {
|
|
464
|
-
...r,
|
|
465
|
-
component: i,
|
|
466
|
-
elevation: u,
|
|
467
|
-
square: l,
|
|
468
|
-
variant: p
|
|
469
|
-
}, T = Q(h);
|
|
470
|
-
return process.env.NODE_ENV !== "production" && t.shadows[u] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${u}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${u}]\` is defined.`].join(`
|
|
471
|
-
`)), /* @__PURE__ */ V.jsx(Y, {
|
|
472
|
-
as: i,
|
|
473
|
-
ownerState: h,
|
|
474
|
-
className: _(T.root, e),
|
|
475
|
-
ref: s,
|
|
476
|
-
...f,
|
|
477
|
-
style: {
|
|
478
|
-
...p === "elevation" && {
|
|
479
|
-
"--Paper-shadow": (t.vars || t).shadows[u],
|
|
480
|
-
...t.vars && {
|
|
481
|
-
"--Paper-overlay": t.vars.overlays?.[u]
|
|
482
|
-
},
|
|
483
|
-
...!t.vars && t.palette.mode === "dark" && {
|
|
484
|
-
"--Paper-overlay": `linear-gradient(${O("#fff", S(u))}, ${O("#fff", S(u))})`
|
|
485
|
-
}
|
|
486
|
-
},
|
|
487
|
-
...f.style
|
|
488
|
-
}
|
|
489
|
-
});
|
|
490
|
-
});
|
|
491
|
-
process.env.NODE_ENV !== "production" && (Z.propTypes = {
|
|
492
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
493
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
494
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
495
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
496
|
-
/**
|
|
497
|
-
* The content of the component.
|
|
498
|
-
*/
|
|
499
|
-
children: n.node,
|
|
500
|
-
/**
|
|
501
|
-
* Override or extend the styles applied to the component.
|
|
502
|
-
*/
|
|
503
|
-
classes: n.object,
|
|
504
|
-
/**
|
|
505
|
-
* @ignore
|
|
506
|
-
*/
|
|
507
|
-
className: n.string,
|
|
508
|
-
/**
|
|
509
|
-
* The component used for the root node.
|
|
510
|
-
* Either a string to use a HTML element or a component.
|
|
511
|
-
*/
|
|
512
|
-
component: n.elementType,
|
|
513
|
-
/**
|
|
514
|
-
* Shadow depth, corresponds to `dp` in the spec.
|
|
515
|
-
* It accepts values between 0 and 24 inclusive.
|
|
516
|
-
* @default 1
|
|
517
|
-
*/
|
|
518
|
-
elevation: I(J, (o) => {
|
|
519
|
-
const {
|
|
520
|
-
elevation: a,
|
|
521
|
-
variant: s
|
|
522
|
-
} = o;
|
|
523
|
-
return a > 0 && s === "outlined" ? new Error(`MUI: Combining \`elevation={${a}}\` with \`variant="${s}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`) : null;
|
|
524
|
-
}),
|
|
525
|
-
/**
|
|
526
|
-
* If `true`, rounded corners are disabled.
|
|
527
|
-
* @default false
|
|
528
|
-
*/
|
|
529
|
-
square: n.bool,
|
|
530
|
-
/**
|
|
531
|
-
* @ignore
|
|
532
|
-
*/
|
|
533
|
-
style: n.object,
|
|
534
|
-
/**
|
|
535
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
536
|
-
*/
|
|
537
|
-
sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
|
|
538
|
-
/**
|
|
539
|
-
* The variant to use.
|
|
540
|
-
* @default 'elevation'
|
|
541
|
-
*/
|
|
542
|
-
variant: n.oneOfType([n.oneOf(["elevation", "outlined"]), n.string])
|
|
543
|
-
});
|
|
544
|
-
export {
|
|
545
|
-
Z as P,
|
|
546
|
-
c as T,
|
|
547
|
-
ve as c,
|
|
548
|
-
B as f,
|
|
549
|
-
Ee as g,
|
|
550
|
-
J as i,
|
|
551
|
-
me as r,
|
|
552
|
-
W as u
|
|
553
|
-
};
|