@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
|
@@ -1,949 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import { c as L } from "../clsx-OuTLNxxd.js";
|
|
6
|
-
import { u as Q, c as X, m as z } from "../DefaultPropsProvider-DPuuPIbS.js";
|
|
7
|
-
import { a as Ao, u as Ro, b as x, e as Po, c as jo, B as No } from "../ButtonBase-D73M0QY5.js";
|
|
8
|
-
import { g as Y } from "../generateUtilityClasses-E9gROIFd.js";
|
|
9
|
-
import { g as Z } from "../generateUtilityClass-BhfUaMgk.js";
|
|
10
|
-
import { u as Oo } from "../useControlled-D1L5tREc.js";
|
|
11
|
-
import { s as b } from "../styled-8Y5KoVix.js";
|
|
12
|
-
import { T as Io, u as Mo, g as io, P as Do } from "../Paper-CR019bki.js";
|
|
13
|
-
import { S as Wo } from "../Stack-Dfjnuorw.js";
|
|
14
|
-
import { T as zo } from "../Typography-PcmlIqm1.js";
|
|
15
|
-
function $o(e) {
|
|
16
|
-
return Z("MuiCollapse", e);
|
|
17
|
-
}
|
|
18
|
-
Y("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]);
|
|
19
|
-
const ko = (e) => {
|
|
20
|
-
const {
|
|
21
|
-
orientation: t,
|
|
22
|
-
classes: n
|
|
23
|
-
} = e;
|
|
24
|
-
return X({
|
|
25
|
-
root: ["root", t],
|
|
26
|
-
entered: ["entered"],
|
|
27
|
-
hidden: ["hidden"],
|
|
28
|
-
wrapper: ["wrapper", t],
|
|
29
|
-
wrapperInner: ["wrapperInner", t]
|
|
30
|
-
}, $o, n);
|
|
31
|
-
}, Vo = b("div", {
|
|
32
|
-
name: "MuiCollapse",
|
|
33
|
-
slot: "Root",
|
|
34
|
-
overridesResolver: (e, t) => {
|
|
35
|
-
const {
|
|
36
|
-
ownerState: n
|
|
37
|
-
} = e;
|
|
38
|
-
return [t.root, t[n.orientation], n.state === "entered" && t.entered, n.state === "exited" && !n.in && n.collapsedSize === "0px" && t.hidden];
|
|
39
|
-
}
|
|
40
|
-
})(z(({
|
|
41
|
-
theme: e
|
|
42
|
-
}) => ({
|
|
43
|
-
height: 0,
|
|
44
|
-
overflow: "hidden",
|
|
45
|
-
transition: e.transitions.create("height"),
|
|
46
|
-
variants: [{
|
|
47
|
-
props: {
|
|
48
|
-
orientation: "horizontal"
|
|
49
|
-
},
|
|
50
|
-
style: {
|
|
51
|
-
height: "auto",
|
|
52
|
-
width: 0,
|
|
53
|
-
transition: e.transitions.create("width")
|
|
54
|
-
}
|
|
55
|
-
}, {
|
|
56
|
-
props: {
|
|
57
|
-
state: "entered"
|
|
58
|
-
},
|
|
59
|
-
style: {
|
|
60
|
-
height: "auto",
|
|
61
|
-
overflow: "visible"
|
|
62
|
-
}
|
|
63
|
-
}, {
|
|
64
|
-
props: {
|
|
65
|
-
state: "entered",
|
|
66
|
-
orientation: "horizontal"
|
|
67
|
-
},
|
|
68
|
-
style: {
|
|
69
|
-
width: "auto"
|
|
70
|
-
}
|
|
71
|
-
}, {
|
|
72
|
-
props: ({
|
|
73
|
-
ownerState: t
|
|
74
|
-
}) => t.state === "exited" && !t.in && t.collapsedSize === "0px",
|
|
75
|
-
style: {
|
|
76
|
-
visibility: "hidden"
|
|
77
|
-
}
|
|
78
|
-
}]
|
|
79
|
-
}))), Fo = b("div", {
|
|
80
|
-
name: "MuiCollapse",
|
|
81
|
-
slot: "Wrapper"
|
|
82
|
-
})({
|
|
83
|
-
// Hack to get children with a negative margin to not falsify the height computation.
|
|
84
|
-
display: "flex",
|
|
85
|
-
width: "100%",
|
|
86
|
-
variants: [{
|
|
87
|
-
props: {
|
|
88
|
-
orientation: "horizontal"
|
|
89
|
-
},
|
|
90
|
-
style: {
|
|
91
|
-
width: "auto",
|
|
92
|
-
height: "100%"
|
|
93
|
-
}
|
|
94
|
-
}]
|
|
95
|
-
}), Go = b("div", {
|
|
96
|
-
name: "MuiCollapse",
|
|
97
|
-
slot: "WrapperInner"
|
|
98
|
-
})({
|
|
99
|
-
width: "100%",
|
|
100
|
-
variants: [{
|
|
101
|
-
props: {
|
|
102
|
-
orientation: "horizontal"
|
|
103
|
-
},
|
|
104
|
-
style: {
|
|
105
|
-
width: "auto",
|
|
106
|
-
height: "100%"
|
|
107
|
-
}
|
|
108
|
-
}]
|
|
109
|
-
}), K = /* @__PURE__ */ c.forwardRef(function(t, n) {
|
|
110
|
-
const i = Q({
|
|
111
|
-
props: t,
|
|
112
|
-
name: "MuiCollapse"
|
|
113
|
-
}), {
|
|
114
|
-
addEndListener: a,
|
|
115
|
-
children: p,
|
|
116
|
-
className: d,
|
|
117
|
-
collapsedSize: u = "0px",
|
|
118
|
-
component: R,
|
|
119
|
-
easing: $,
|
|
120
|
-
in: P,
|
|
121
|
-
onEnter: k,
|
|
122
|
-
onEntered: N,
|
|
123
|
-
onEntering: V,
|
|
124
|
-
onExit: O,
|
|
125
|
-
onExited: F,
|
|
126
|
-
onExiting: f,
|
|
127
|
-
orientation: h = "vertical",
|
|
128
|
-
slots: T = {},
|
|
129
|
-
slotProps: C = {},
|
|
130
|
-
style: I,
|
|
131
|
-
timeout: m = Eo.standard,
|
|
132
|
-
// eslint-disable-next-line react/prop-types
|
|
133
|
-
TransitionComponent: S = Io,
|
|
134
|
-
...M
|
|
135
|
-
} = i, w = {
|
|
136
|
-
...i,
|
|
137
|
-
orientation: h,
|
|
138
|
-
collapsedSize: u
|
|
139
|
-
}, E = ko(w), l = Mo(), G = Ao(), v = c.useRef(null), _ = c.useRef(), U = typeof u == "number" ? `${u}px` : u, D = h === "horizontal", W = D ? "width" : "height", H = c.useRef(null), oo = Ro(n, H), j = (r) => (g) => {
|
|
140
|
-
if (r) {
|
|
141
|
-
const y = H.current;
|
|
142
|
-
g === void 0 ? r(y) : r(y, g);
|
|
143
|
-
}
|
|
144
|
-
}, eo = () => v.current ? v.current[D ? "clientWidth" : "clientHeight"] : 0, po = j((r, g) => {
|
|
145
|
-
v.current && D && (v.current.style.position = "absolute"), r.style[W] = U, k && k(r, g);
|
|
146
|
-
}), uo = j((r, g) => {
|
|
147
|
-
const y = eo();
|
|
148
|
-
v.current && D && (v.current.style.position = "");
|
|
149
|
-
const {
|
|
150
|
-
duration: A,
|
|
151
|
-
easing: q
|
|
152
|
-
} = io({
|
|
153
|
-
style: I,
|
|
154
|
-
timeout: m,
|
|
155
|
-
easing: $
|
|
156
|
-
}, {
|
|
157
|
-
mode: "enter"
|
|
158
|
-
});
|
|
159
|
-
if (m === "auto") {
|
|
160
|
-
const so = l.transitions.getAutoHeightDuration(y);
|
|
161
|
-
r.style.transitionDuration = `${so}ms`, _.current = so;
|
|
162
|
-
} else
|
|
163
|
-
r.style.transitionDuration = typeof A == "string" ? A : `${A}ms`;
|
|
164
|
-
r.style[W] = `${y}px`, r.style.transitionTimingFunction = q, V && V(r, g);
|
|
165
|
-
}), fo = j((r, g) => {
|
|
166
|
-
r.style[W] = "auto", N && N(r, g);
|
|
167
|
-
}), mo = j((r) => {
|
|
168
|
-
r.style[W] = `${eo()}px`, O && O(r);
|
|
169
|
-
}), go = j(F), yo = j((r) => {
|
|
170
|
-
const g = eo(), {
|
|
171
|
-
duration: y,
|
|
172
|
-
easing: A
|
|
173
|
-
} = io({
|
|
174
|
-
style: I,
|
|
175
|
-
timeout: m,
|
|
176
|
-
easing: $
|
|
177
|
-
}, {
|
|
178
|
-
mode: "exit"
|
|
179
|
-
});
|
|
180
|
-
if (m === "auto") {
|
|
181
|
-
const q = l.transitions.getAutoHeightDuration(g);
|
|
182
|
-
r.style.transitionDuration = `${q}ms`, _.current = q;
|
|
183
|
-
} else
|
|
184
|
-
r.style.transitionDuration = typeof y == "string" ? y : `${y}ms`;
|
|
185
|
-
r.style[W] = U, r.style.transitionTimingFunction = A, f && f(r);
|
|
186
|
-
}), ho = (r) => {
|
|
187
|
-
m === "auto" && G.start(_.current || 0, r), a && a(H.current, r);
|
|
188
|
-
}, to = {
|
|
189
|
-
slots: T,
|
|
190
|
-
slotProps: C,
|
|
191
|
-
component: R
|
|
192
|
-
}, [xo, ro] = x("root", {
|
|
193
|
-
ref: oo,
|
|
194
|
-
className: L(E.root, d),
|
|
195
|
-
elementType: Vo,
|
|
196
|
-
externalForwardedProps: to,
|
|
197
|
-
ownerState: w,
|
|
198
|
-
additionalProps: {
|
|
199
|
-
style: {
|
|
200
|
-
[D ? "minWidth" : "minHeight"]: U,
|
|
201
|
-
...I
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}), [bo, To] = x("wrapper", {
|
|
205
|
-
ref: v,
|
|
206
|
-
className: E.wrapper,
|
|
207
|
-
elementType: Fo,
|
|
208
|
-
externalForwardedProps: to,
|
|
209
|
-
ownerState: w
|
|
210
|
-
}), [Co, So] = x("wrapperInner", {
|
|
211
|
-
className: E.wrapperInner,
|
|
212
|
-
elementType: Go,
|
|
213
|
-
externalForwardedProps: to,
|
|
214
|
-
ownerState: w
|
|
215
|
-
});
|
|
216
|
-
return /* @__PURE__ */ s.jsx(S, {
|
|
217
|
-
in: P,
|
|
218
|
-
onEnter: po,
|
|
219
|
-
onEntered: fo,
|
|
220
|
-
onEntering: uo,
|
|
221
|
-
onExit: mo,
|
|
222
|
-
onExited: go,
|
|
223
|
-
onExiting: yo,
|
|
224
|
-
addEndListener: ho,
|
|
225
|
-
nodeRef: H,
|
|
226
|
-
timeout: m === "auto" ? null : m,
|
|
227
|
-
...M,
|
|
228
|
-
children: (r, {
|
|
229
|
-
ownerState: g,
|
|
230
|
-
...y
|
|
231
|
-
}) => {
|
|
232
|
-
const A = {
|
|
233
|
-
...w,
|
|
234
|
-
state: r
|
|
235
|
-
};
|
|
236
|
-
return /* @__PURE__ */ s.jsx(xo, {
|
|
237
|
-
...ro,
|
|
238
|
-
className: L(ro.className, {
|
|
239
|
-
entered: E.entered,
|
|
240
|
-
exited: !P && U === "0px" && E.hidden
|
|
241
|
-
}[r]),
|
|
242
|
-
ownerState: A,
|
|
243
|
-
...y,
|
|
244
|
-
children: /* @__PURE__ */ s.jsx(bo, {
|
|
245
|
-
...To,
|
|
246
|
-
ownerState: A,
|
|
247
|
-
children: /* @__PURE__ */ s.jsx(Co, {
|
|
248
|
-
...So,
|
|
249
|
-
ownerState: A,
|
|
250
|
-
children: p
|
|
251
|
-
})
|
|
252
|
-
})
|
|
253
|
-
});
|
|
254
|
-
}
|
|
255
|
-
});
|
|
256
|
-
});
|
|
257
|
-
process.env.NODE_ENV !== "production" && (K.propTypes = {
|
|
258
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
259
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
260
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
261
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
262
|
-
/**
|
|
263
|
-
* Add a custom transition end trigger. Called with the transitioning DOM
|
|
264
|
-
* node and a done callback. Allows for more fine grained transition end
|
|
265
|
-
* logic. Note: Timeouts are still used as a fallback if provided.
|
|
266
|
-
*/
|
|
267
|
-
addEndListener: o.func,
|
|
268
|
-
/**
|
|
269
|
-
* The content node to be collapsed.
|
|
270
|
-
*/
|
|
271
|
-
children: o.node,
|
|
272
|
-
/**
|
|
273
|
-
* Override or extend the styles applied to the component.
|
|
274
|
-
*/
|
|
275
|
-
classes: o.object,
|
|
276
|
-
/**
|
|
277
|
-
* @ignore
|
|
278
|
-
*/
|
|
279
|
-
className: o.string,
|
|
280
|
-
/**
|
|
281
|
-
* The width (horizontal) or height (vertical) of the container when collapsed.
|
|
282
|
-
* @default '0px'
|
|
283
|
-
*/
|
|
284
|
-
collapsedSize: o.oneOfType([o.number, o.string]),
|
|
285
|
-
/**
|
|
286
|
-
* The component used for the root node.
|
|
287
|
-
* Either a string to use a HTML element or a component.
|
|
288
|
-
*/
|
|
289
|
-
component: Po,
|
|
290
|
-
/**
|
|
291
|
-
* The transition timing function.
|
|
292
|
-
* You may specify a single easing or a object containing enter and exit values.
|
|
293
|
-
*/
|
|
294
|
-
easing: o.oneOfType([o.shape({
|
|
295
|
-
enter: o.string,
|
|
296
|
-
exit: o.string
|
|
297
|
-
}), o.string]),
|
|
298
|
-
/**
|
|
299
|
-
* If `true`, the component will transition in.
|
|
300
|
-
*/
|
|
301
|
-
in: o.bool,
|
|
302
|
-
/**
|
|
303
|
-
* @ignore
|
|
304
|
-
*/
|
|
305
|
-
onEnter: o.func,
|
|
306
|
-
/**
|
|
307
|
-
* @ignore
|
|
308
|
-
*/
|
|
309
|
-
onEntered: o.func,
|
|
310
|
-
/**
|
|
311
|
-
* @ignore
|
|
312
|
-
*/
|
|
313
|
-
onEntering: o.func,
|
|
314
|
-
/**
|
|
315
|
-
* @ignore
|
|
316
|
-
*/
|
|
317
|
-
onExit: o.func,
|
|
318
|
-
/**
|
|
319
|
-
* @ignore
|
|
320
|
-
*/
|
|
321
|
-
onExited: o.func,
|
|
322
|
-
/**
|
|
323
|
-
* @ignore
|
|
324
|
-
*/
|
|
325
|
-
onExiting: o.func,
|
|
326
|
-
/**
|
|
327
|
-
* The transition orientation.
|
|
328
|
-
* @default 'vertical'
|
|
329
|
-
*/
|
|
330
|
-
orientation: o.oneOf(["horizontal", "vertical"]),
|
|
331
|
-
/**
|
|
332
|
-
* The props used for each slot inside.
|
|
333
|
-
* @default {}
|
|
334
|
-
*/
|
|
335
|
-
slotProps: o.shape({
|
|
336
|
-
root: o.oneOfType([o.func, o.object]),
|
|
337
|
-
wrapper: o.oneOfType([o.func, o.object]),
|
|
338
|
-
wrapperInner: o.oneOfType([o.func, o.object])
|
|
339
|
-
}),
|
|
340
|
-
/**
|
|
341
|
-
* The components used for each slot inside.
|
|
342
|
-
* @default {}
|
|
343
|
-
*/
|
|
344
|
-
slots: o.shape({
|
|
345
|
-
root: o.elementType,
|
|
346
|
-
wrapper: o.elementType,
|
|
347
|
-
wrapperInner: o.elementType
|
|
348
|
-
}),
|
|
349
|
-
/**
|
|
350
|
-
* @ignore
|
|
351
|
-
*/
|
|
352
|
-
style: o.object,
|
|
353
|
-
/**
|
|
354
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
355
|
-
*/
|
|
356
|
-
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
357
|
-
/**
|
|
358
|
-
* The duration for the transition, in milliseconds.
|
|
359
|
-
* You may specify a single timeout for all transitions, or individually with an object.
|
|
360
|
-
*
|
|
361
|
-
* Set to 'auto' to automatically calculate transition time based on height.
|
|
362
|
-
* @default duration.standard
|
|
363
|
-
*/
|
|
364
|
-
timeout: o.oneOfType([o.oneOf(["auto"]), o.number, o.shape({
|
|
365
|
-
appear: o.number,
|
|
366
|
-
enter: o.number,
|
|
367
|
-
exit: o.number
|
|
368
|
-
})])
|
|
369
|
-
});
|
|
370
|
-
K && (K.muiSupportAuto = !0);
|
|
371
|
-
const no = /* @__PURE__ */ c.createContext({});
|
|
372
|
-
process.env.NODE_ENV !== "production" && (no.displayName = "AccordionContext");
|
|
373
|
-
function Uo(e) {
|
|
374
|
-
return Z("MuiAccordion", e);
|
|
375
|
-
}
|
|
376
|
-
const J = Y("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled", "gutters", "region"]), Ho = (e) => {
|
|
377
|
-
const {
|
|
378
|
-
classes: t,
|
|
379
|
-
square: n,
|
|
380
|
-
expanded: i,
|
|
381
|
-
disabled: a,
|
|
382
|
-
disableGutters: p
|
|
383
|
-
} = e;
|
|
384
|
-
return X({
|
|
385
|
-
root: ["root", !n && "rounded", i && "expanded", a && "disabled", !p && "gutters"],
|
|
386
|
-
heading: ["heading"],
|
|
387
|
-
region: ["region"]
|
|
388
|
-
}, Uo, t);
|
|
389
|
-
}, Bo = b(Do, {
|
|
390
|
-
name: "MuiAccordion",
|
|
391
|
-
slot: "Root",
|
|
392
|
-
overridesResolver: (e, t) => {
|
|
393
|
-
const {
|
|
394
|
-
ownerState: n
|
|
395
|
-
} = e;
|
|
396
|
-
return [{
|
|
397
|
-
[`& .${J.region}`]: t.region
|
|
398
|
-
}, t.root, !n.square && t.rounded, !n.disableGutters && t.gutters];
|
|
399
|
-
}
|
|
400
|
-
})(z(({
|
|
401
|
-
theme: e
|
|
402
|
-
}) => {
|
|
403
|
-
const t = {
|
|
404
|
-
duration: e.transitions.duration.shortest
|
|
405
|
-
};
|
|
406
|
-
return {
|
|
407
|
-
position: "relative",
|
|
408
|
-
transition: e.transitions.create(["margin"], t),
|
|
409
|
-
overflowAnchor: "none",
|
|
410
|
-
// Keep the same scrolling position
|
|
411
|
-
"&::before": {
|
|
412
|
-
position: "absolute",
|
|
413
|
-
left: 0,
|
|
414
|
-
top: -1,
|
|
415
|
-
right: 0,
|
|
416
|
-
height: 1,
|
|
417
|
-
content: '""',
|
|
418
|
-
opacity: 1,
|
|
419
|
-
backgroundColor: (e.vars || e).palette.divider,
|
|
420
|
-
transition: e.transitions.create(["opacity", "background-color"], t)
|
|
421
|
-
},
|
|
422
|
-
"&:first-of-type": {
|
|
423
|
-
"&::before": {
|
|
424
|
-
display: "none"
|
|
425
|
-
}
|
|
426
|
-
},
|
|
427
|
-
[`&.${J.expanded}`]: {
|
|
428
|
-
"&::before": {
|
|
429
|
-
opacity: 0
|
|
430
|
-
},
|
|
431
|
-
"&:first-of-type": {
|
|
432
|
-
marginTop: 0
|
|
433
|
-
},
|
|
434
|
-
"&:last-of-type": {
|
|
435
|
-
marginBottom: 0
|
|
436
|
-
},
|
|
437
|
-
"& + &": {
|
|
438
|
-
"&::before": {
|
|
439
|
-
display: "none"
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
},
|
|
443
|
-
[`&.${J.disabled}`]: {
|
|
444
|
-
backgroundColor: (e.vars || e).palette.action.disabledBackground
|
|
445
|
-
}
|
|
446
|
-
};
|
|
447
|
-
}), z(({
|
|
448
|
-
theme: e
|
|
449
|
-
}) => ({
|
|
450
|
-
variants: [{
|
|
451
|
-
props: (t) => !t.square,
|
|
452
|
-
style: {
|
|
453
|
-
borderRadius: 0,
|
|
454
|
-
"&:first-of-type": {
|
|
455
|
-
borderTopLeftRadius: (e.vars || e).shape.borderRadius,
|
|
456
|
-
borderTopRightRadius: (e.vars || e).shape.borderRadius
|
|
457
|
-
},
|
|
458
|
-
"&:last-of-type": {
|
|
459
|
-
borderBottomLeftRadius: (e.vars || e).shape.borderRadius,
|
|
460
|
-
borderBottomRightRadius: (e.vars || e).shape.borderRadius,
|
|
461
|
-
// Fix a rendering issue on Edge
|
|
462
|
-
"@supports (-ms-ime-align: auto)": {
|
|
463
|
-
borderBottomLeftRadius: 0,
|
|
464
|
-
borderBottomRightRadius: 0
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
}, {
|
|
469
|
-
props: (t) => !t.disableGutters,
|
|
470
|
-
style: {
|
|
471
|
-
[`&.${J.expanded}`]: {
|
|
472
|
-
margin: "16px 0"
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
}]
|
|
476
|
-
}))), Lo = b("h3", {
|
|
477
|
-
name: "MuiAccordion",
|
|
478
|
-
slot: "Heading"
|
|
479
|
-
})({
|
|
480
|
-
all: "unset"
|
|
481
|
-
}), _o = b("div", {
|
|
482
|
-
name: "MuiAccordion",
|
|
483
|
-
slot: "Region"
|
|
484
|
-
})({}), ao = /* @__PURE__ */ c.forwardRef(function(t, n) {
|
|
485
|
-
const i = Q({
|
|
486
|
-
props: t,
|
|
487
|
-
name: "MuiAccordion"
|
|
488
|
-
}), {
|
|
489
|
-
children: a,
|
|
490
|
-
className: p,
|
|
491
|
-
defaultExpanded: d = !1,
|
|
492
|
-
disabled: u = !1,
|
|
493
|
-
disableGutters: R = !1,
|
|
494
|
-
expanded: $,
|
|
495
|
-
onChange: P,
|
|
496
|
-
slots: k = {},
|
|
497
|
-
slotProps: N = {},
|
|
498
|
-
TransitionComponent: V,
|
|
499
|
-
TransitionProps: O,
|
|
500
|
-
...F
|
|
501
|
-
} = i, [f, h] = Oo({
|
|
502
|
-
controlled: $,
|
|
503
|
-
default: d,
|
|
504
|
-
name: "Accordion",
|
|
505
|
-
state: "expanded"
|
|
506
|
-
}), T = c.useCallback((j) => {
|
|
507
|
-
h(!f), P && P(j, !f);
|
|
508
|
-
}, [f, P, h]), [C, ...I] = c.Children.toArray(a), m = c.useMemo(() => ({
|
|
509
|
-
expanded: f,
|
|
510
|
-
disabled: u,
|
|
511
|
-
disableGutters: R,
|
|
512
|
-
toggle: T
|
|
513
|
-
}), [f, u, R, T]), S = {
|
|
514
|
-
...i,
|
|
515
|
-
disabled: u,
|
|
516
|
-
disableGutters: R,
|
|
517
|
-
expanded: f
|
|
518
|
-
}, M = Ho(S), w = {
|
|
519
|
-
transition: V,
|
|
520
|
-
...k
|
|
521
|
-
}, E = {
|
|
522
|
-
transition: O,
|
|
523
|
-
...N
|
|
524
|
-
}, l = {
|
|
525
|
-
slots: w,
|
|
526
|
-
slotProps: E
|
|
527
|
-
}, [G, v] = x("root", {
|
|
528
|
-
elementType: Bo,
|
|
529
|
-
externalForwardedProps: {
|
|
530
|
-
...l,
|
|
531
|
-
...F
|
|
532
|
-
},
|
|
533
|
-
className: L(M.root, p),
|
|
534
|
-
shouldForwardComponentProp: !0,
|
|
535
|
-
ownerState: S,
|
|
536
|
-
ref: n
|
|
537
|
-
}), [_, U] = x("heading", {
|
|
538
|
-
elementType: Lo,
|
|
539
|
-
externalForwardedProps: l,
|
|
540
|
-
className: M.heading,
|
|
541
|
-
ownerState: S
|
|
542
|
-
}), [D, W] = x("transition", {
|
|
543
|
-
elementType: K,
|
|
544
|
-
externalForwardedProps: l,
|
|
545
|
-
ownerState: S
|
|
546
|
-
}), [H, oo] = x("region", {
|
|
547
|
-
elementType: _o,
|
|
548
|
-
externalForwardedProps: l,
|
|
549
|
-
ownerState: S,
|
|
550
|
-
className: M.region,
|
|
551
|
-
additionalProps: {
|
|
552
|
-
"aria-labelledby": C.props.id,
|
|
553
|
-
id: C.props["aria-controls"],
|
|
554
|
-
role: "region"
|
|
555
|
-
}
|
|
556
|
-
});
|
|
557
|
-
return /* @__PURE__ */ s.jsxs(G, {
|
|
558
|
-
...v,
|
|
559
|
-
children: [/* @__PURE__ */ s.jsx(_, {
|
|
560
|
-
...U,
|
|
561
|
-
children: /* @__PURE__ */ s.jsx(no.Provider, {
|
|
562
|
-
value: m,
|
|
563
|
-
children: C
|
|
564
|
-
})
|
|
565
|
-
}), /* @__PURE__ */ s.jsx(D, {
|
|
566
|
-
in: f,
|
|
567
|
-
timeout: "auto",
|
|
568
|
-
...W,
|
|
569
|
-
children: /* @__PURE__ */ s.jsx(H, {
|
|
570
|
-
...oo,
|
|
571
|
-
children: I
|
|
572
|
-
})
|
|
573
|
-
})]
|
|
574
|
-
});
|
|
575
|
-
});
|
|
576
|
-
process.env.NODE_ENV !== "production" && (ao.propTypes = {
|
|
577
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
578
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
579
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
580
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
581
|
-
/**
|
|
582
|
-
* The content of the component.
|
|
583
|
-
*/
|
|
584
|
-
children: jo(o.node.isRequired, (e) => {
|
|
585
|
-
const t = c.Children.toArray(e.children)[0];
|
|
586
|
-
return vo.isFragment(t) ? new Error("MUI: The Accordion doesn't accept a Fragment as a child. Consider providing an array instead.") : /* @__PURE__ */ c.isValidElement(t) ? null : new Error("MUI: Expected the first child of Accordion to be a valid element.");
|
|
587
|
-
}),
|
|
588
|
-
/**
|
|
589
|
-
* Override or extend the styles applied to the component.
|
|
590
|
-
*/
|
|
591
|
-
classes: o.object,
|
|
592
|
-
/**
|
|
593
|
-
* @ignore
|
|
594
|
-
*/
|
|
595
|
-
className: o.string,
|
|
596
|
-
/**
|
|
597
|
-
* If `true`, expands the accordion by default.
|
|
598
|
-
* @default false
|
|
599
|
-
*/
|
|
600
|
-
defaultExpanded: o.bool,
|
|
601
|
-
/**
|
|
602
|
-
* If `true`, the component is disabled.
|
|
603
|
-
* @default false
|
|
604
|
-
*/
|
|
605
|
-
disabled: o.bool,
|
|
606
|
-
/**
|
|
607
|
-
* If `true`, it removes the margin between two expanded accordion items and prevents the increased height when expanded.
|
|
608
|
-
* @default false
|
|
609
|
-
*/
|
|
610
|
-
disableGutters: o.bool,
|
|
611
|
-
/**
|
|
612
|
-
* If `true`, expands the accordion, otherwise collapses it.
|
|
613
|
-
* Setting this prop enables control over the accordion.
|
|
614
|
-
*/
|
|
615
|
-
expanded: o.bool,
|
|
616
|
-
/**
|
|
617
|
-
* Callback fired when the expand/collapse state is changed.
|
|
618
|
-
*
|
|
619
|
-
* @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.
|
|
620
|
-
* @param {boolean} expanded The `expanded` state of the accordion.
|
|
621
|
-
*/
|
|
622
|
-
onChange: o.func,
|
|
623
|
-
/**
|
|
624
|
-
* The props used for each slot inside.
|
|
625
|
-
* @default {}
|
|
626
|
-
*/
|
|
627
|
-
slotProps: o.shape({
|
|
628
|
-
heading: o.oneOfType([o.func, o.object]),
|
|
629
|
-
region: o.oneOfType([o.func, o.object]),
|
|
630
|
-
root: o.oneOfType([o.func, o.object]),
|
|
631
|
-
transition: o.oneOfType([o.func, o.object])
|
|
632
|
-
}),
|
|
633
|
-
/**
|
|
634
|
-
* The components used for each slot inside.
|
|
635
|
-
* @default {}
|
|
636
|
-
*/
|
|
637
|
-
slots: o.shape({
|
|
638
|
-
heading: o.elementType,
|
|
639
|
-
region: o.elementType,
|
|
640
|
-
root: o.elementType,
|
|
641
|
-
transition: o.elementType
|
|
642
|
-
}),
|
|
643
|
-
/**
|
|
644
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
645
|
-
*/
|
|
646
|
-
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
647
|
-
/**
|
|
648
|
-
* The component used for the transition.
|
|
649
|
-
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
650
|
-
* @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
651
|
-
*/
|
|
652
|
-
TransitionComponent: o.elementType,
|
|
653
|
-
/**
|
|
654
|
-
* Props applied to the transition element.
|
|
655
|
-
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
656
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
657
|
-
*/
|
|
658
|
-
TransitionProps: o.object
|
|
659
|
-
});
|
|
660
|
-
function qo(e) {
|
|
661
|
-
return Z("MuiAccordionDetails", e);
|
|
662
|
-
}
|
|
663
|
-
Y("MuiAccordionDetails", ["root"]);
|
|
664
|
-
const Jo = (e) => {
|
|
665
|
-
const {
|
|
666
|
-
classes: t
|
|
667
|
-
} = e;
|
|
668
|
-
return X({
|
|
669
|
-
root: ["root"]
|
|
670
|
-
}, qo, t);
|
|
671
|
-
}, Ko = b("div", {
|
|
672
|
-
name: "MuiAccordionDetails",
|
|
673
|
-
slot: "Root"
|
|
674
|
-
})(z(({
|
|
675
|
-
theme: e
|
|
676
|
-
}) => ({
|
|
677
|
-
padding: e.spacing(1, 2, 2)
|
|
678
|
-
}))), co = /* @__PURE__ */ c.forwardRef(function(t, n) {
|
|
679
|
-
const i = Q({
|
|
680
|
-
props: t,
|
|
681
|
-
name: "MuiAccordionDetails"
|
|
682
|
-
}), {
|
|
683
|
-
className: a,
|
|
684
|
-
...p
|
|
685
|
-
} = i, d = i, u = Jo(d);
|
|
686
|
-
return /* @__PURE__ */ s.jsx(Ko, {
|
|
687
|
-
className: L(u.root, a),
|
|
688
|
-
ref: n,
|
|
689
|
-
ownerState: d,
|
|
690
|
-
...p
|
|
691
|
-
});
|
|
692
|
-
});
|
|
693
|
-
process.env.NODE_ENV !== "production" && (co.propTypes = {
|
|
694
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
695
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
696
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
697
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
698
|
-
/**
|
|
699
|
-
* The content of the component.
|
|
700
|
-
*/
|
|
701
|
-
children: o.node,
|
|
702
|
-
/**
|
|
703
|
-
* Override or extend the styles applied to the component.
|
|
704
|
-
*/
|
|
705
|
-
classes: o.object,
|
|
706
|
-
/**
|
|
707
|
-
* @ignore
|
|
708
|
-
*/
|
|
709
|
-
className: o.string,
|
|
710
|
-
/**
|
|
711
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
712
|
-
*/
|
|
713
|
-
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
714
|
-
});
|
|
715
|
-
function Qo(e) {
|
|
716
|
-
return Z("MuiAccordionSummary", e);
|
|
717
|
-
}
|
|
718
|
-
const B = Y("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disabled", "gutters", "contentGutters", "content", "expandIconWrapper"]), Xo = (e) => {
|
|
719
|
-
const {
|
|
720
|
-
classes: t,
|
|
721
|
-
expanded: n,
|
|
722
|
-
disabled: i,
|
|
723
|
-
disableGutters: a
|
|
724
|
-
} = e;
|
|
725
|
-
return X({
|
|
726
|
-
root: ["root", n && "expanded", i && "disabled", !a && "gutters"],
|
|
727
|
-
focusVisible: ["focusVisible"],
|
|
728
|
-
content: ["content", n && "expanded", !a && "contentGutters"],
|
|
729
|
-
expandIconWrapper: ["expandIconWrapper", n && "expanded"]
|
|
730
|
-
}, Qo, t);
|
|
731
|
-
}, Yo = b(No, {
|
|
732
|
-
name: "MuiAccordionSummary",
|
|
733
|
-
slot: "Root"
|
|
734
|
-
})(z(({
|
|
735
|
-
theme: e
|
|
736
|
-
}) => {
|
|
737
|
-
const t = {
|
|
738
|
-
duration: e.transitions.duration.shortest
|
|
739
|
-
};
|
|
740
|
-
return {
|
|
741
|
-
display: "flex",
|
|
742
|
-
width: "100%",
|
|
743
|
-
minHeight: 48,
|
|
744
|
-
padding: e.spacing(0, 2),
|
|
745
|
-
transition: e.transitions.create(["min-height", "background-color"], t),
|
|
746
|
-
[`&.${B.focusVisible}`]: {
|
|
747
|
-
backgroundColor: (e.vars || e).palette.action.focus
|
|
748
|
-
},
|
|
749
|
-
[`&.${B.disabled}`]: {
|
|
750
|
-
opacity: (e.vars || e).palette.action.disabledOpacity
|
|
751
|
-
},
|
|
752
|
-
[`&:hover:not(.${B.disabled})`]: {
|
|
753
|
-
cursor: "pointer"
|
|
754
|
-
},
|
|
755
|
-
variants: [{
|
|
756
|
-
props: (n) => !n.disableGutters,
|
|
757
|
-
style: {
|
|
758
|
-
[`&.${B.expanded}`]: {
|
|
759
|
-
minHeight: 64
|
|
760
|
-
}
|
|
761
|
-
}
|
|
762
|
-
}]
|
|
763
|
-
};
|
|
764
|
-
})), Zo = b("span", {
|
|
765
|
-
name: "MuiAccordionSummary",
|
|
766
|
-
slot: "Content"
|
|
767
|
-
})(z(({
|
|
768
|
-
theme: e
|
|
769
|
-
}) => ({
|
|
770
|
-
display: "flex",
|
|
771
|
-
textAlign: "start",
|
|
772
|
-
flexGrow: 1,
|
|
773
|
-
margin: "12px 0",
|
|
774
|
-
variants: [{
|
|
775
|
-
props: (t) => !t.disableGutters,
|
|
776
|
-
style: {
|
|
777
|
-
transition: e.transitions.create(["margin"], {
|
|
778
|
-
duration: e.transitions.duration.shortest
|
|
779
|
-
}),
|
|
780
|
-
[`&.${B.expanded}`]: {
|
|
781
|
-
margin: "20px 0"
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
}]
|
|
785
|
-
}))), oe = b("span", {
|
|
786
|
-
name: "MuiAccordionSummary",
|
|
787
|
-
slot: "ExpandIconWrapper"
|
|
788
|
-
})(z(({
|
|
789
|
-
theme: e
|
|
790
|
-
}) => ({
|
|
791
|
-
display: "flex",
|
|
792
|
-
color: (e.vars || e).palette.action.active,
|
|
793
|
-
transform: "rotate(0deg)",
|
|
794
|
-
transition: e.transitions.create("transform", {
|
|
795
|
-
duration: e.transitions.duration.shortest
|
|
796
|
-
}),
|
|
797
|
-
[`&.${B.expanded}`]: {
|
|
798
|
-
transform: "rotate(180deg)"
|
|
799
|
-
}
|
|
800
|
-
}))), lo = /* @__PURE__ */ c.forwardRef(function(t, n) {
|
|
801
|
-
const i = Q({
|
|
802
|
-
props: t,
|
|
803
|
-
name: "MuiAccordionSummary"
|
|
804
|
-
}), {
|
|
805
|
-
children: a,
|
|
806
|
-
className: p,
|
|
807
|
-
expandIcon: d,
|
|
808
|
-
focusVisibleClassName: u,
|
|
809
|
-
onClick: R,
|
|
810
|
-
slots: $,
|
|
811
|
-
slotProps: P,
|
|
812
|
-
...k
|
|
813
|
-
} = i, {
|
|
814
|
-
disabled: N = !1,
|
|
815
|
-
disableGutters: V,
|
|
816
|
-
expanded: O,
|
|
817
|
-
toggle: F
|
|
818
|
-
} = c.useContext(no), f = (l) => {
|
|
819
|
-
F && F(l), R && R(l);
|
|
820
|
-
}, h = {
|
|
821
|
-
...i,
|
|
822
|
-
expanded: O,
|
|
823
|
-
disabled: N,
|
|
824
|
-
disableGutters: V
|
|
825
|
-
}, T = Xo(h), C = {
|
|
826
|
-
slots: $,
|
|
827
|
-
slotProps: P
|
|
828
|
-
}, [I, m] = x("root", {
|
|
829
|
-
ref: n,
|
|
830
|
-
shouldForwardComponentProp: !0,
|
|
831
|
-
className: L(T.root, p),
|
|
832
|
-
elementType: Yo,
|
|
833
|
-
externalForwardedProps: {
|
|
834
|
-
...C,
|
|
835
|
-
...k
|
|
836
|
-
},
|
|
837
|
-
ownerState: h,
|
|
838
|
-
additionalProps: {
|
|
839
|
-
focusRipple: !1,
|
|
840
|
-
disableRipple: !0,
|
|
841
|
-
disabled: N,
|
|
842
|
-
"aria-expanded": O,
|
|
843
|
-
focusVisibleClassName: L(T.focusVisible, u)
|
|
844
|
-
},
|
|
845
|
-
getSlotProps: (l) => ({
|
|
846
|
-
...l,
|
|
847
|
-
onClick: (G) => {
|
|
848
|
-
l.onClick?.(G), f(G);
|
|
849
|
-
}
|
|
850
|
-
})
|
|
851
|
-
}), [S, M] = x("content", {
|
|
852
|
-
className: T.content,
|
|
853
|
-
elementType: Zo,
|
|
854
|
-
externalForwardedProps: C,
|
|
855
|
-
ownerState: h
|
|
856
|
-
}), [w, E] = x("expandIconWrapper", {
|
|
857
|
-
className: T.expandIconWrapper,
|
|
858
|
-
elementType: oe,
|
|
859
|
-
externalForwardedProps: C,
|
|
860
|
-
ownerState: h
|
|
861
|
-
});
|
|
862
|
-
return /* @__PURE__ */ s.jsxs(I, {
|
|
863
|
-
...m,
|
|
864
|
-
children: [/* @__PURE__ */ s.jsx(S, {
|
|
865
|
-
...M,
|
|
866
|
-
children: a
|
|
867
|
-
}), d && /* @__PURE__ */ s.jsx(w, {
|
|
868
|
-
...E,
|
|
869
|
-
children: d
|
|
870
|
-
})]
|
|
871
|
-
});
|
|
872
|
-
});
|
|
873
|
-
process.env.NODE_ENV !== "production" && (lo.propTypes = {
|
|
874
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
875
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
876
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
877
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
878
|
-
/**
|
|
879
|
-
* The content of the component.
|
|
880
|
-
*/
|
|
881
|
-
children: o.node,
|
|
882
|
-
/**
|
|
883
|
-
* Override or extend the styles applied to the component.
|
|
884
|
-
*/
|
|
885
|
-
classes: o.object,
|
|
886
|
-
/**
|
|
887
|
-
* @ignore
|
|
888
|
-
*/
|
|
889
|
-
className: o.string,
|
|
890
|
-
/**
|
|
891
|
-
* The icon to display as the expand indicator.
|
|
892
|
-
*/
|
|
893
|
-
expandIcon: o.node,
|
|
894
|
-
/**
|
|
895
|
-
* This prop can help identify which element has keyboard focus.
|
|
896
|
-
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
897
|
-
* It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
|
|
898
|
-
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
|
|
899
|
-
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
900
|
-
* if needed.
|
|
901
|
-
*/
|
|
902
|
-
focusVisibleClassName: o.string,
|
|
903
|
-
/**
|
|
904
|
-
* @ignore
|
|
905
|
-
*/
|
|
906
|
-
onClick: o.func,
|
|
907
|
-
/**
|
|
908
|
-
* The props used for each slot inside.
|
|
909
|
-
* @default {}
|
|
910
|
-
*/
|
|
911
|
-
slotProps: o.shape({
|
|
912
|
-
content: o.oneOfType([o.func, o.object]),
|
|
913
|
-
expandIconWrapper: o.oneOfType([o.func, o.object]),
|
|
914
|
-
root: o.oneOfType([o.func, o.object])
|
|
915
|
-
}),
|
|
916
|
-
/**
|
|
917
|
-
* The components used for each slot inside.
|
|
918
|
-
* @default {}
|
|
919
|
-
*/
|
|
920
|
-
slots: o.shape({
|
|
921
|
-
content: o.elementType,
|
|
922
|
-
expandIconWrapper: o.elementType,
|
|
923
|
-
root: o.elementType
|
|
924
|
-
}),
|
|
925
|
-
/**
|
|
926
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
927
|
-
*/
|
|
928
|
-
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
929
|
-
});
|
|
930
|
-
const ee = ({
|
|
931
|
-
title: e,
|
|
932
|
-
children: t,
|
|
933
|
-
startIcon: n,
|
|
934
|
-
titleTypographyProps: i,
|
|
935
|
-
accordionSummaryProps: a,
|
|
936
|
-
accordionDetailsProps: p,
|
|
937
|
-
...d
|
|
938
|
-
}) => /* @__PURE__ */ s.jsxs(ao, { elevation: 0, ...d, children: [
|
|
939
|
-
e || n ? /* @__PURE__ */ s.jsx(lo, { expandIcon: /* @__PURE__ */ s.jsx(wo, {}), ...a, children: /* @__PURE__ */ s.jsxs(Wo, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
940
|
-
n,
|
|
941
|
-
/* @__PURE__ */ s.jsx(zo, { variant: "subtitle1", fontWeight: 600, ...i, children: e })
|
|
942
|
-
] }) }) : null,
|
|
943
|
-
/* @__PURE__ */ s.jsx(co, { ...p, children: t })
|
|
944
|
-
] });
|
|
945
|
-
ee.displayName = "SAccordion";
|
|
946
|
-
export {
|
|
947
|
-
ee as SAccordion,
|
|
948
|
-
ee as default
|
|
949
|
-
};
|
|
1
|
+
import "../createTheme-CMuiGmV-.js";
|
|
2
|
+
import "../jsx-runtime-V-UOMaX1.js";
|
|
3
|
+
import { t as e } from "../s-accordion-Dt3fbZNh.js";
|
|
4
|
+
export { e as SAccordion, e as default };
|