@solostylist/ui-kit 2.0.1 → 2.0.2
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/Add-CEnTWsXs.js +6 -0
- package/dist/ArrowUpward-udL1ltj2.js +6 -0
- package/dist/Box-9oeZgA1U.js +46 -0
- package/dist/Button-DaLr1m20.js +534 -0
- package/dist/ButtonBase-DovDC6-1.js +700 -0
- package/dist/Checkbox-C-Xjbzzh.js +152 -0
- package/dist/ChevronRight-DsPfsFKB.js +6 -0
- package/dist/Close-CIYOM-Sc.js +6 -0
- package/dist/Collapse-DPUr1cbP.js +266 -0
- package/dist/ContentCopy-Hlh3azVb.js +6 -0
- package/dist/DefaultPropsProvider-ebWx4_5E.js +128 -0
- package/dist/DialogContent-b3xbJVC6.js +450 -0
- package/dist/Download-D9PkFi7a.js +6 -0
- package/dist/ExpandMore-sOgvEha9.js +6 -0
- package/dist/Favorite-BP343hjM.js +6 -0
- package/dist/FavoriteBorder-D15j9xEL.js +6 -0
- package/dist/FormControl-DwMfZCiz.js +215 -0
- package/dist/FormControlLabel-Ihga1FTB.js +173 -0
- package/dist/Grow-BQR7x52V.js +121 -0
- package/dist/IconButton-CE-4GamO.js +448 -0
- package/dist/InfoOutlined-lpvhO6P8.js +6 -0
- package/dist/List-RNcZhRdr.js +105 -0
- package/dist/Menu-CnyB4SDS.js +180 -0
- package/dist/MenuItem-Ck30dBOR.js +224 -0
- package/dist/MenuList-Cc98uWXq.js +160 -0
- package/dist/Modal-CD2EBfU8.js +702 -0
- package/dist/Paper-_3qggtBp.js +115 -0
- package/dist/Popover-BFdKSYI5.js +340 -0
- package/dist/Popper-DYNAMSDd.js +1351 -0
- package/dist/Portal-i_wgIe9-.js +49 -0
- package/dist/Remove-DDEn8ek8.js +6 -0
- package/dist/RtlProvider-B7uVJXUY.js +19 -0
- package/dist/Skeleton-iZFynl7z.js +220 -0
- package/dist/Stack-C0LGzM4c.js +158 -0
- package/dist/SwitchBase-CjWtDdmE.js +198 -0
- package/dist/Tooltip-B1sn94L0.js +448 -0
- package/dist/Typography-_P0svrkO.js +168 -0
- package/dist/UnfoldMoreRounded-CuCrdxoy.js +6 -0
- package/dist/appendOwnerState-CFQTq3pb.js +17 -0
- package/dist/assets/stripe-input.css +1 -0
- package/dist/autocomplete-BgARERpp.js +43 -0
- package/dist/avatar-XNOdbbRz.js +10 -0
- package/dist/buttonBaseClasses-B90LjsNK.js +13 -0
- package/dist/capitalize-C0baBJCm.js +5 -0
- package/dist/chainPropTypes-CkMRtDjQ.js +8 -0
- package/dist/checkbox-D1U_JKqs.js +88 -0
- package/dist/checkboxClasses-B1up2lUn.js +18 -0
- package/dist/chunk-C_CI6nMA.js +13 -0
- package/dist/clsx-DGZSe4Nt.js +16 -0
- package/dist/colorManipulator-DmUjcif3.js +129 -0
- package/dist/contains-DnqPQsQU.js +16 -0
- package/dist/createSimplePaletteValueFilter-DFvyXHoZ.js +14 -0
- package/dist/createSvgIcon-3y-gS0r1.js +155 -0
- package/dist/createTheme-xB2Em0Na.js +1869 -0
- package/dist/defaultTheme-BaGcIzCh.js +210 -0
- package/dist/elementAcceptingRef-pKEY6jPR.js +25 -0
- package/dist/elementTypeAcceptingRef-xl_04Y5-.js +19 -0
- package/dist/exactProp-C_IsucXf.js +13 -0
- package/dist/extends-DXMyyJCW.js +12 -0
- package/dist/field-label-styles-4praXMaE.js +50 -0
- package/dist/formLabelClasses-AuZHWfTs.js +18 -0
- package/dist/generateUtilityClass-PAIOm1jC.js +34 -0
- package/dist/generateUtilityClasses-DvX505Gy.js +10 -0
- package/dist/getActiveElement-BfBkhgy6.js +8 -0
- package/dist/{gradients-DSnBONEQ.js → gradients-mQAYCK0_.js} +1 -1
- package/dist/iconButtonClasses-CVVRFXRo.js +27 -0
- package/dist/inputAdornmentClasses-BbB8s-Z4.js +19 -0
- package/dist/inputBaseClasses-Ce_jjdp9.js +25 -0
- package/dist/integerPropType-CCkQD1JY.js +27 -0
- package/dist/isEventHandler-QShLXBxE.js +7 -0
- package/dist/isFocusVisible-4OIE8TST.js +11 -0
- package/dist/isLayoutSupported-Btg2X3QE.js +6 -0
- package/dist/isMuiElement-CPjhi284.js +10 -0
- package/dist/main.js +1 -1
- package/dist/mega-menu-trigger-BcOo8I5_.js +53 -0
- package/dist/memoTheme-qFyKAk7y.js +15 -0
- package/dist/mergeSlotProps-DC8r4QzS.js +45 -0
- package/dist/monthCalendarClasses-b964KRbc.js +14 -0
- package/dist/objectWithoutPropertiesLoose-q4Zwd1RV.js +12 -0
- package/dist/outlinedInputClasses-ci1zDasn.js +17 -0
- package/dist/ownerDocument-CJjQZweZ.js +6 -0
- package/dist/ownerDocument-pYjJiXem.js +5 -0
- package/dist/ownerWindow-SSeeoqPT.js +18 -0
- package/dist/palettes/index.js +1 -1
- package/dist/{palettes-CJLuEy1m.js → palettes-B1FcGUYs.js} +163 -163
- package/dist/pickersCalendarHeaderClasses-BAiPN_oY.js +12 -0
- package/dist/prop-types-BzYPyWN7.js +516 -0
- package/dist/refType-j5S9pc_e.js +6 -0
- package/dist/resolveProps-7jIA45vn.js +30 -0
- package/dist/s-accordion/index.js +1 -1
- package/dist/s-accordion/s-accordion.js +2 -70
- package/dist/s-accordion-1oLxQhod.js +487 -0
- package/dist/s-action-overlay/s-action-overlay.js +21 -21
- package/dist/s-animated-gradient-text/index.d.ts +2 -0
- package/dist/s-animated-gradient-text/index.js +2 -0
- package/dist/s-animated-gradient-text/s-animated-gradient-text.d.ts +64 -0
- package/dist/s-animated-gradient-text/s-animated-gradient-text.js +93 -0
- package/dist/s-announcement-bar/index.d.ts +2 -0
- package/dist/s-announcement-bar/index.js +2 -0
- package/dist/s-announcement-bar/s-announcement-bar.d.ts +113 -0
- package/dist/s-announcement-bar/s-announcement-bar.js +275 -0
- package/dist/s-autocomplete/s-autocomplete.js +1 -1
- package/dist/s-avatar/s-avatar.js +17 -17
- package/dist/s-blur-text/s-blur-text.js +16 -16
- package/dist/s-brand-logo/index.js +1 -1
- package/dist/s-brand-logo/s-brand-logo.js +1 -1
- package/dist/s-breadcrumbs/s-breadcrumbs.js +19 -19
- package/dist/s-carousel/index.js +1 -1
- package/dist/s-carousel/s-carousel.d.ts +2 -0
- package/dist/s-carousel/s-carousel.js +2 -184
- package/dist/s-carousel-CAyAl3ka.js +1355 -0
- package/dist/s-category-card/s-category-card.js +22 -22
- package/dist/s-chat-input/index.js +1 -1
- package/dist/s-chat-input/s-chat-input.js +2 -398
- package/dist/s-chat-input-T3gyan60.js +419 -0
- package/dist/s-chat-message/index.js +1 -1
- package/dist/s-chat-message/s-chat-message.js +2 -314
- package/dist/s-chat-message-NFTpNgt5.js +315 -0
- package/dist/s-checkbox/s-checkbox.js +19 -18
- package/dist/s-chips/index.js +1 -1
- package/dist/s-chips/s-chips.js +2 -174
- package/dist/s-chips-Dqq1fgz-.js +176 -0
- package/dist/s-code-block/index.js +1 -1
- package/dist/s-code-block/s-code-block.js +2 -103
- package/dist/s-code-block-DyDtctGG.js +658 -0
- package/dist/s-comment-message/index.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +2 -189
- package/dist/s-comment-message-DpCVBKiE.js +192 -0
- package/dist/s-copyable-text/s-copyable-text.js +18 -18
- package/dist/s-countdown/s-count-box.js +18 -18
- package/dist/s-data-table/index.js +1 -1
- package/dist/s-data-table/s-data-table.js +2 -213
- package/dist/s-data-table-D4V58HFR.js +805 -0
- package/dist/s-date-picker/index.js +1 -1
- package/dist/s-date-picker/s-date-picker.js +2 -106
- package/dist/s-date-picker-BFIQOA8C.js +657 -0
- package/dist/s-datetime-picker/index.js +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.js +2 -108
- package/dist/s-datetime-picker-zfg7BEOW.js +3886 -0
- package/dist/s-dialog/index.js +1 -1
- package/dist/s-dialog/s-dialog.js +2 -80
- package/dist/s-dialog-BNlXsVVP.js +123 -0
- package/dist/s-dialog-confirm/s-dialog-confirm.js +33 -32
- package/dist/s-dialog-message/s-dialog-message.js +32 -31
- package/dist/s-drawer/index.d.ts +3 -0
- package/dist/s-drawer/index.js +2 -0
- package/dist/s-drawer/s-drawer.d.ts +70 -0
- package/dist/s-drawer/s-drawer.js +2 -0
- package/dist/s-drawer-4h5ZyoM8.js +562 -0
- package/dist/s-empty/s-empty.js +14 -13
- package/dist/s-file-dropzone/index.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +2 -219
- package/dist/s-file-dropzone-Cfzv1Cm8.js +422 -0
- package/dist/s-file-icon/s-file-icon.js +88 -87
- package/dist/s-flex-box/s-flex-box.js +12 -11
- package/dist/s-form/s-form.js +15 -15
- package/dist/s-gallery/s-gallery.js +1 -1
- package/dist/s-glow-button/s-glow-button.js +10 -9
- package/dist/s-gradient-blob-pulse/index.d.ts +2 -0
- package/dist/s-gradient-blob-pulse/index.js +2 -0
- package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.d.ts +62 -0
- package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.js +237 -0
- package/dist/s-gradient-icon/index.d.ts +1 -1
- package/dist/s-gradient-icon/s-gradient-icon.d.ts +4 -4
- package/dist/s-gradient-icon/s-gradient-icon.js +2 -2
- package/dist/s-icon-button/s-icon-button.d.ts +6 -2
- package/dist/s-icon-button/s-icon-button.js +14 -13
- package/dist/s-image-comparison/s-image-comparison.js +31 -29
- package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
- package/dist/s-image-viewer/index.js +3 -3
- package/dist/s-image-viewer/s-image-viewer.js +2 -266
- package/dist/s-image-viewer/use-image-viewer-navigation.js +7 -7
- package/dist/s-image-viewer-CjK67-rs.js +269 -0
- package/dist/s-interactive-card/index.d.ts +3 -0
- package/dist/s-interactive-card/index.js +2 -0
- package/dist/s-interactive-card/s-interactive-card.d.ts +57 -0
- package/dist/s-interactive-card/s-interactive-card.js +152 -0
- package/dist/s-label/s-label.js +26 -25
- package/dist/s-language-switcher/index.js +2 -2
- package/dist/s-language-switcher/s-language-switcher.js +2 -150
- package/dist/s-language-switcher-PaMgHWc2.js +246 -0
- package/dist/s-lazy-image/s-lazy-image.js +18 -17
- package/dist/s-link/index.js +1 -1
- package/dist/s-link/s-link.js +2 -5
- package/dist/s-link-Db1aabHh.js +235 -0
- package/dist/s-list-action-item/index.d.ts +2 -0
- package/dist/s-list-action-item/index.js +2 -0
- package/dist/s-list-action-item/s-list-action-item.d.ts +89 -0
- package/dist/s-list-action-item/s-list-action-item.js +150 -0
- package/dist/s-localization-provider/index.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +2 -12
- package/dist/s-localization-provider-CeyB_SGz.js +519 -0
- package/dist/s-mega-menu/index.d.ts +3 -0
- package/dist/s-mega-menu/index.js +2 -0
- package/dist/s-mega-menu/mega-menu-panel.d.ts +38 -0
- package/dist/s-mega-menu/mega-menu-panel.js +253 -0
- package/dist/s-mega-menu/mega-menu-slots.d.ts +65 -0
- package/dist/s-mega-menu/mega-menu-slots.js +232 -0
- package/dist/s-mega-menu/mega-menu-trigger.d.ts +35 -0
- package/dist/s-mega-menu/mega-menu-trigger.js +2 -0
- package/dist/s-mega-menu/s-mega-menu.d.ts +23 -0
- package/dist/s-mega-menu/s-mega-menu.js +228 -0
- package/dist/s-mega-menu/types.d.ts +188 -0
- package/dist/s-mega-menu/types.js +0 -0
- package/dist/s-mega-menu/utils.d.ts +51 -0
- package/dist/s-mega-menu/utils.js +51 -0
- package/dist/s-mobile-dock/index.d.ts +3 -0
- package/dist/s-mobile-dock/index.js +2 -0
- package/dist/s-mobile-dock/s-mobile-dock.d.ts +96 -0
- package/dist/s-mobile-dock/s-mobile-dock.js +2 -0
- package/dist/s-mobile-dock-8F3UWAb8.js +615 -0
- package/dist/s-nav-item/index.d.ts +1 -1
- package/dist/s-nav-item/s-nav-item.d.ts +35 -16
- package/dist/s-nav-item/s-nav-item.js +56 -77
- package/dist/s-nav-items/s-nav-items.js +78 -121
- package/dist/s-no-ssr/index.js +1 -1
- package/dist/s-no-ssr/s-no-ssr.js +2 -5
- package/dist/s-no-ssr-DH57_uP_.js +25 -0
- package/dist/s-number-range/index.d.ts +3 -0
- package/dist/s-number-range/index.js +2 -0
- package/dist/s-number-range/s-number-range.d.ts +109 -0
- package/dist/s-number-range/s-number-range.js +2 -0
- package/dist/s-number-range-Low5QjuD.js +253 -0
- package/dist/s-pagination/index.js +1 -1
- package/dist/s-pagination/s-pagination.js +2 -85
- package/dist/s-pagination-s46hBifh.js +606 -0
- package/dist/s-pixel-reveal/s-pixel-reveal.js +20 -20
- package/dist/s-popover/index.d.ts +5 -0
- package/dist/s-popover/index.js +3 -0
- package/dist/s-popover/placement.d.ts +14 -0
- package/dist/s-popover/placement.js +65 -0
- package/dist/s-popover/s-popover-content.d.ts +22 -0
- package/dist/s-popover/s-popover-content.js +22 -0
- package/dist/s-popover/s-popover.d.ts +59 -0
- package/dist/s-popover/s-popover.js +68 -0
- package/dist/s-product-card/index.d.ts +3 -0
- package/dist/s-product-card/index.js +2 -0
- package/dist/s-product-card/s-product-card.d.ts +216 -0
- package/dist/s-product-card/s-product-card.js +502 -0
- package/dist/s-product-gallery/index.d.ts +3 -0
- package/dist/s-product-gallery/index.js +2 -0
- package/dist/s-product-gallery/s-product-gallery.d.ts +116 -0
- package/dist/s-product-gallery/s-product-gallery.js +2 -0
- package/dist/s-product-gallery-Dj9eGg5i.js +430 -0
- package/dist/s-quantity-input/s-quantity-input.js +24 -24
- package/dist/s-review/index.js +1 -1
- package/dist/s-review/s-review.js +2 -272
- package/dist/s-review--Q2C0ngO.js +272 -0
- package/dist/s-scroll-reveal/s-scroll-reveal.js +8 -7
- package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +1 -1
- package/dist/s-scroll-to-top/s-scroll-to-top.js +28 -27
- package/dist/s-scroll-velocity/scroll-velocity-row.js +29 -29
- package/dist/s-segmented-control/index.d.ts +3 -0
- package/dist/s-segmented-control/index.js +2 -0
- package/dist/s-segmented-control/s-segmented-control.d.ts +94 -0
- package/dist/s-segmented-control/s-segmented-control.js +302 -0
- package/dist/s-select/index.js +1 -1
- package/dist/s-select/s-select.js +2 -201
- package/dist/s-select-CtVKEOZ5.js +204 -0
- package/dist/s-select-list/s-select-list.js +50 -47
- package/dist/s-skeleton/s-skeleton.js +13 -12
- package/dist/s-snackbar-message/index.js +2 -2
- package/dist/s-snackbar-message/s-snackbar-message.js +2 -89
- package/dist/s-snackbar-message-DsfJlDYd.js +810 -0
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +27 -27
- package/dist/s-status-illustration/s-status-illustration.js +74 -74
- package/dist/s-stepper/index.d.ts +3 -0
- package/dist/s-stepper/index.js +2 -0
- package/dist/s-stepper/s-stepper.d.ts +90 -0
- package/dist/s-stepper/s-stepper.js +2 -0
- package/dist/s-stepper-BtODHVro.js +892 -0
- package/dist/s-stripe/s-stripe.js +12 -11
- package/dist/s-stripe/stripe-input.js +2 -3
- package/dist/s-swatch/index.d.ts +3 -0
- package/dist/s-swatch/index.js +2 -0
- package/dist/s-swatch/s-swatch.d.ts +235 -0
- package/dist/s-swatch/s-swatch.js +219 -0
- package/dist/s-switch/index.js +1 -1
- package/dist/s-switch/s-switch.js +2 -48
- package/dist/s-switch-BCeBoxWf.js +307 -0
- package/dist/s-tabs/s-tabs.js +50 -48
- package/dist/s-text-editor/index.js +1 -1
- package/dist/s-text-editor/s-text-editor-toolbar.js +2 -216
- package/dist/s-text-editor/s-text-editor.js +26 -25
- package/dist/s-text-editor-toolbar-D5eQ-jCs.js +2124 -0
- package/dist/s-text-field/index.js +1 -1
- package/dist/s-text-field/s-text-field.js +2 -52
- package/dist/s-text-field-HYyDf1Jo.js +51 -0
- package/dist/s-text-shimmer/s-text-shimmer.js +3 -1
- package/dist/s-text-truncation/s-text-truncation.js +20 -20
- package/dist/s-theme-demo/s-theme-demo.js +8 -8
- package/dist/s-theme-demo/theme-demo-color-palette-section.js +1 -1
- package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
- package/dist/s-theme-demo/theme-demo-components-section.js +2 -265
- package/dist/s-theme-demo/theme-demo-typography-section.js +10 -10
- package/dist/s-theme-provider/s-theme-provider.js +1 -1
- package/dist/s-theme-switch/index.js +1 -1
- package/dist/s-theme-switch/s-theme-switch.js +2 -60
- package/dist/s-theme-switch-BFWpADh3.js +60 -0
- package/dist/s-tip/index.js +1 -1
- package/dist/s-tip/s-tip.js +2 -61
- package/dist/s-tip-jbL7vtoU.js +62 -0
- package/dist/s-tool-bar/s-tool-bar.js +28 -28
- package/dist/s-tool-bar/tool-bar-action-buttons.js +2 -55
- package/dist/s-tool-bar/tool-bar-image-input.js +2 -148
- package/dist/s-tool-bar/tool-bar-inputs.js +55 -55
- package/dist/s-tool-item/s-tool-item.d.ts +10 -6
- package/dist/s-tool-item/s-tool-item.js +29 -29
- package/dist/s-two-pane-layout/s-two-pane-layout.js +32 -32
- package/dist/s-zoom-image/s-zoom-image.js +19 -18
- package/dist/selectClasses-CPxME5jE.js +22 -0
- package/dist/setRef-BWPyWnrr.js +6 -0
- package/dist/styled-Bog8QCl3.js +163 -0
- package/dist/svgIconClasses-1kWGzgux.js +20 -0
- package/dist/switchClasses-BtweO7PC.js +23 -0
- package/dist/theme/component-augmentation.d.ts +65 -1
- package/dist/theme/components/autocomplete.js +2 -43
- package/dist/theme/components/avatar.js +2 -9
- package/dist/theme/components/card.js +3 -3
- package/dist/theme/components/checkbox.js +2 -90
- package/dist/theme/components/chip.js +3 -3
- package/dist/theme/components/components.js +20 -20
- package/dist/theme/components/date-calendar.js +0 -1
- package/dist/theme/components/day-calendar.js +0 -1
- package/dist/theme/components/drawer.d.ts +1 -0
- package/dist/theme/components/drawer.js +4 -1
- package/dist/theme/components/field-label-styles.js +2 -19
- package/dist/theme/components/form-label.js +1 -1
- package/dist/theme/components/list-item-button.js +1 -1
- package/dist/theme/components/list-item.js +7 -7
- package/dist/theme/components/month-calendar.js +13 -14
- package/dist/theme/components/multi-section-digital-clock-section.js +0 -1
- package/dist/theme/components/outlined-input.js +6 -6
- package/dist/theme/components/picker-day.js +0 -1
- package/dist/theme/components/pickers-arrow-switcher.js +0 -1
- package/dist/theme/components/pickers-calendar-header.js +2 -3
- package/dist/theme/components/select.js +6 -6
- package/dist/theme/components/slider.js +18 -1
- package/dist/theme/components/step-connector.d.ts +0 -3
- package/dist/theme/components/step-connector.js +1 -6
- package/dist/theme/components/step-icon.d.ts +3 -12
- package/dist/theme/components/step-icon.js +3 -14
- package/dist/theme/components/switch.js +1 -1
- package/dist/theme/components/table-pagination.js +1 -1
- package/dist/theme/components/toggle-button.js +2 -93
- package/dist/theme/components/year-calendar.js +13 -14
- package/dist/theme/theme-primitives.js +2 -2
- package/dist/theme-demo-components-section-C7l_2KAo.js +267 -0
- package/dist/{theme-primitives-CRfnMsNy.js → theme-primitives-CXtaMdVj.js} +109 -108
- package/dist/toggle-button-BsGb-tOr.js +104 -0
- package/dist/tool-bar-action-buttons-v1koaasr.js +54 -0
- package/dist/tool-bar-image-input-DtXTyEe1.js +148 -0
- package/dist/typographyClasses-BH_-zLwg.js +31 -0
- package/dist/unsupportedProp-whMV_uOi.js +11 -0
- package/dist/useControlled-DqNPBJNp.js +5 -0
- package/dist/useControlled-uxVKygk1.js +29 -0
- package/dist/useEnhancedEffect-DFq_FMGX.js +5 -0
- package/dist/useEnhancedEffect-dBFfkm1e.js +5 -0
- package/dist/useEventCallback-DGCsaRIu.js +5 -0
- package/dist/useEventCallback-DhCPBxRG.js +11 -0
- package/dist/useForkRef-BuNFTXxE.js +29 -0
- package/dist/useFormControl-gXwNeUM1.js +18 -0
- package/dist/useMobilePicker-CdrT935R.js +7584 -0
- package/dist/useRovingTabIndex-DPlW997R.js +242 -0
- package/dist/useSlot-BG8ReOxN.js +83 -0
- package/dist/useSlotProps-BOO3qaI9.js +16 -0
- package/dist/useTheme-BIWMbX3i.js +9 -0
- package/dist/useThemeProps-Dw9dmKyT.js +29 -0
- package/dist/useTimeout-CoK-Khfm.js +49 -0
- package/dist/utils/dayjs.js +146 -9
- package/dist/utils-Bfqbev5I.js +248 -0
- package/dist/warning-D5YhCbje.js +99 -0
- package/dist/yearCalendarClasses-D9k_KT38.js +14 -0
- package/package.json +1 -1
- package/dist/theme/components/components.d.ts +0 -2
- package/dist/theme/components/slider.d.ts +0 -34
- /package/dist/{colors-CNjL5fhq.js → colors-Bik9qOU9.js} +0 -0
- /package/dist/{s-brand-logo-CErW9Slg.js → s-brand-logo-D7Jovf5K.js} +0 -0
- /package/dist/{utils-CMeAWSRO.js → utils-DOY6v6ln.js} +0 -0
|
@@ -0,0 +1,562 @@
|
|
|
1
|
+
import { n as e } from "./chunk-C_CI6nMA.js";
|
|
2
|
+
import { t } from "./prop-types-BzYPyWN7.js";
|
|
3
|
+
import { r as n, t as r } from "./DefaultPropsProvider-ebWx4_5E.js";
|
|
4
|
+
import { t as i } from "./generateUtilityClass-PAIOm1jC.js";
|
|
5
|
+
import { t as a } from "./clsx-DGZSe4Nt.js";
|
|
6
|
+
import { t as o } from "./Box-9oeZgA1U.js";
|
|
7
|
+
import { t as s } from "./generateUtilityClasses-DvX505Gy.js";
|
|
8
|
+
import { n as c, t as l } from "./styled-Bog8QCl3.js";
|
|
9
|
+
import { t as u } from "./useThemeProps-Dw9dmKyT.js";
|
|
10
|
+
import { t as d } from "./RtlProvider-B7uVJXUY.js";
|
|
11
|
+
import { t as f } from "./memoTheme-qFyKAk7y.js";
|
|
12
|
+
import { t as p } from "./useTheme-BIWMbX3i.js";
|
|
13
|
+
import { toSxArray as m } from "./utils/sx.js";
|
|
14
|
+
import { resolveOwnerStateSlotProps as h } from "./utils/slots.js";
|
|
15
|
+
import { t as g } from "./chainPropTypes-CkMRtDjQ.js";
|
|
16
|
+
import { t as _ } from "./useForkRef-BuNFTXxE.js";
|
|
17
|
+
import { t as v } from "./useEventCallback-DGCsaRIu.js";
|
|
18
|
+
import { a as y, i as b, n as x, o as S, r as C } from "./utils-Bfqbev5I.js";
|
|
19
|
+
import { t as w } from "./appendOwnerState-CFQTq3pb.js";
|
|
20
|
+
import { t as T } from "./useSlot-BG8ReOxN.js";
|
|
21
|
+
import { t as E } from "./capitalize-C0baBJCm.js";
|
|
22
|
+
import { t as D } from "./Modal-CD2EBfU8.js";
|
|
23
|
+
import { n as O, t as k } from "./ownerWindow-SSeeoqPT.js";
|
|
24
|
+
import { t as A } from "./mergeSlotProps-DC8r4QzS.js";
|
|
25
|
+
import { n as j, t as M } from "./elementAcceptingRef-pKEY6jPR.js";
|
|
26
|
+
import { n as N } from "./Portal-i_wgIe9-.js";
|
|
27
|
+
import { t as P } from "./integerPropType-CCkQD1JY.js";
|
|
28
|
+
import { t as F } from "./isLayoutSupported-Btg2X3QE.js";
|
|
29
|
+
import { t as I } from "./Paper-_3qggtBp.js";
|
|
30
|
+
import { t as L } from "./Typography-_P0svrkO.js";
|
|
31
|
+
import { t as R } from "./Close-CIYOM-Sc.js";
|
|
32
|
+
import { SOverlayScrollbar as z } from "./s-overlay-scrollbar/s-overlay-scrollbar.js";
|
|
33
|
+
import { SIconButton as B } from "./s-icon-button/s-icon-button.js";
|
|
34
|
+
import * as V from "react";
|
|
35
|
+
import { jsx as H, jsxs as U } from "react/jsx-runtime";
|
|
36
|
+
//#region ../../node_modules/@mui/material/Slide/Slide.mjs
|
|
37
|
+
var W = /* @__PURE__ */ e(t(), 1), G = { visibility: "hidden" };
|
|
38
|
+
function K(e) {
|
|
39
|
+
return typeof e == "string" && /^translate\(.+,\s*.+\)$/.test(e);
|
|
40
|
+
}
|
|
41
|
+
function ee(e, t, n, r = {}) {
|
|
42
|
+
let { resetInlineTransform: i = !0 } = r, a = n && n.getBoundingClientRect(), o = k(t), s, c;
|
|
43
|
+
if (i) {
|
|
44
|
+
let e = t.style.transform, n = t.style.transition;
|
|
45
|
+
t.style.transition = "", t.style.transform = "", s = t.getBoundingClientRect(), c = o.getComputedStyle(t).getPropertyValue("transform"), t.style.transform = e, t.style.transition = n;
|
|
46
|
+
} else s = t.getBoundingClientRect(), c = o.getComputedStyle(t).getPropertyValue("transform");
|
|
47
|
+
let { offsetX: l, offsetY: u } = C(c);
|
|
48
|
+
return e === "left" ? a ? `translateX(${a.right + l - s.left}px)` : `translateX(${o.innerWidth + l - s.left}px)` : e === "right" ? a ? `translateX(-${s.right - a.left - l}px)` : `translateX(-${s.left + s.width - l}px)` : e === "up" ? a ? `translateY(${a.bottom + u - s.top}px)` : `translateY(${o.innerHeight + u - s.top}px)` : a ? `translateY(-${s.top - a.top + s.height - u}px)` : `translateY(-${s.top + s.height - u}px)`;
|
|
49
|
+
}
|
|
50
|
+
function q(e) {
|
|
51
|
+
return typeof e == "function" ? e() : e;
|
|
52
|
+
}
|
|
53
|
+
function J(e, t, n, r) {
|
|
54
|
+
let i = ee(e, t, q(n), r);
|
|
55
|
+
i && (t.style.transform = i);
|
|
56
|
+
}
|
|
57
|
+
var Y = /* @__PURE__ */ V.forwardRef(function(e, t) {
|
|
58
|
+
let n = p(), r = {
|
|
59
|
+
enter: n.transitions.easing.easeOut,
|
|
60
|
+
exit: n.transitions.easing.sharp
|
|
61
|
+
}, i = {
|
|
62
|
+
enter: n.transitions.duration.enteringScreen,
|
|
63
|
+
exit: n.transitions.duration.leavingScreen
|
|
64
|
+
}, { addEndListener: a, appear: o = !0, children: s, container: c, direction: l = "down", easing: u = r, in: d, onEnter: f, onEntered: m, onEntering: h, onExit: g, onExited: v, onExiting: C, style: w, timeout: T = i, ...E } = e, D = V.useRef(null), A = V.useRef(!1), M = _(j(s), D, t), N = b(D, (e, t) => {
|
|
65
|
+
J(l, e, c), y(e), f && f(e, t);
|
|
66
|
+
}), P = b(D, (e, t) => {
|
|
67
|
+
let r = x({
|
|
68
|
+
timeout: T,
|
|
69
|
+
style: w,
|
|
70
|
+
easing: u
|
|
71
|
+
}, { mode: "enter" });
|
|
72
|
+
e.style.transition = n.transitions.create("transform", r), e.style.transform = "none", h && h(e, t);
|
|
73
|
+
}), F = b(D, m), I = b(D, C), L = b(D, (e) => {
|
|
74
|
+
let t = x({
|
|
75
|
+
timeout: T,
|
|
76
|
+
style: w,
|
|
77
|
+
easing: u
|
|
78
|
+
}, { mode: "exit" });
|
|
79
|
+
e.style.transition = n.transitions.create("transform", t);
|
|
80
|
+
let r = K(e.style.transform);
|
|
81
|
+
A.current = r, J(l, e, c, { resetInlineTransform: !r }), g && g(e);
|
|
82
|
+
}), R = b(D, (e) => {
|
|
83
|
+
A.current = !1, e.style.transition = "", v && v(e);
|
|
84
|
+
}), z = (e) => {
|
|
85
|
+
a && a(D.current, e);
|
|
86
|
+
}, B = V.useCallback(() => {
|
|
87
|
+
D.current && J(l, D.current, c);
|
|
88
|
+
}, [l, c]);
|
|
89
|
+
return V.useEffect(() => {
|
|
90
|
+
if (d || l === "down" || l === "right") return;
|
|
91
|
+
let e = O(() => {
|
|
92
|
+
D.current && J(l, D.current, c);
|
|
93
|
+
}), t = k(D.current);
|
|
94
|
+
return t.addEventListener("resize", e), () => {
|
|
95
|
+
e.clear(), t.removeEventListener("resize", e);
|
|
96
|
+
};
|
|
97
|
+
}, [
|
|
98
|
+
l,
|
|
99
|
+
d,
|
|
100
|
+
c
|
|
101
|
+
]), V.useEffect(() => {
|
|
102
|
+
!d && !A.current && B();
|
|
103
|
+
}, [d, B]), /* @__PURE__ */ H(S, {
|
|
104
|
+
nodeRef: D,
|
|
105
|
+
onEnter: N,
|
|
106
|
+
onEntered: F,
|
|
107
|
+
onEntering: P,
|
|
108
|
+
onExit: L,
|
|
109
|
+
onExited: R,
|
|
110
|
+
onExiting: I,
|
|
111
|
+
addEndListener: z,
|
|
112
|
+
appear: o,
|
|
113
|
+
in: d,
|
|
114
|
+
timeout: T,
|
|
115
|
+
...E,
|
|
116
|
+
children: (e, { ownerState: t, ...n }) => {
|
|
117
|
+
let r;
|
|
118
|
+
return r = e === "exited" && !d ? w || s.props.style ? {
|
|
119
|
+
visibility: "hidden",
|
|
120
|
+
...w,
|
|
121
|
+
...s.props.style
|
|
122
|
+
} : G : w && s.props.style ? {
|
|
123
|
+
...w,
|
|
124
|
+
...s.props.style
|
|
125
|
+
} : w || s.props.style, /* @__PURE__ */ V.cloneElement(s, {
|
|
126
|
+
ref: M,
|
|
127
|
+
style: r,
|
|
128
|
+
...n
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
});
|
|
133
|
+
process.env.NODE_ENV !== "production" && (Y.propTypes = {
|
|
134
|
+
addEndListener: W.default.func,
|
|
135
|
+
appear: W.default.bool,
|
|
136
|
+
children: M.isRequired,
|
|
137
|
+
container: g(W.default.oneOfType([N, W.default.func]), (e) => {
|
|
138
|
+
if (e.open) {
|
|
139
|
+
let t = q(e.container);
|
|
140
|
+
if (t && t.nodeType === 1) {
|
|
141
|
+
let e = t.getBoundingClientRect();
|
|
142
|
+
if (process.env.NODE_ENV !== "production" && F() && e.top === 0 && e.left === 0 && e.right === 0 && e.bottom === 0) return Error([
|
|
143
|
+
"MUI: The `container` prop provided to the component is invalid.",
|
|
144
|
+
"The anchor element should be part of the document layout.",
|
|
145
|
+
"Make sure the element is present in the document or that it's not display none."
|
|
146
|
+
].join("\n"));
|
|
147
|
+
} else if (!t || typeof t.getBoundingClientRect != "function" || t.contextElement != null && t.contextElement.nodeType !== 1) return Error(["MUI: The `container` prop provided to the component is invalid.", "It should be an HTML element instance."].join("\n"));
|
|
148
|
+
}
|
|
149
|
+
return null;
|
|
150
|
+
}),
|
|
151
|
+
direction: W.default.oneOf([
|
|
152
|
+
"down",
|
|
153
|
+
"left",
|
|
154
|
+
"right",
|
|
155
|
+
"up"
|
|
156
|
+
]),
|
|
157
|
+
easing: W.default.oneOfType([W.default.shape({
|
|
158
|
+
enter: W.default.string,
|
|
159
|
+
exit: W.default.string
|
|
160
|
+
}), W.default.string]),
|
|
161
|
+
in: W.default.bool,
|
|
162
|
+
onEnter: W.default.func,
|
|
163
|
+
onEntered: W.default.func,
|
|
164
|
+
onEntering: W.default.func,
|
|
165
|
+
onExit: W.default.func,
|
|
166
|
+
onExited: W.default.func,
|
|
167
|
+
onExiting: W.default.func,
|
|
168
|
+
style: W.default.object,
|
|
169
|
+
timeout: W.default.oneOfType([W.default.number, W.default.shape({
|
|
170
|
+
appear: W.default.number,
|
|
171
|
+
enter: W.default.number,
|
|
172
|
+
exit: W.default.number
|
|
173
|
+
})])
|
|
174
|
+
});
|
|
175
|
+
//#endregion
|
|
176
|
+
//#region ../../node_modules/@mui/material/Drawer/drawerClasses.mjs
|
|
177
|
+
function te(e) {
|
|
178
|
+
return i("MuiDrawer", e);
|
|
179
|
+
}
|
|
180
|
+
s("MuiDrawer", [
|
|
181
|
+
"root",
|
|
182
|
+
"docked",
|
|
183
|
+
"paper",
|
|
184
|
+
"anchorLeft",
|
|
185
|
+
"anchorRight",
|
|
186
|
+
"anchorTop",
|
|
187
|
+
"anchorBottom",
|
|
188
|
+
"modal"
|
|
189
|
+
]);
|
|
190
|
+
//#endregion
|
|
191
|
+
//#region ../../node_modules/@mui/material/Drawer/Drawer.mjs
|
|
192
|
+
var X = (e, t) => {
|
|
193
|
+
let { ownerState: n } = e;
|
|
194
|
+
return [
|
|
195
|
+
t.root,
|
|
196
|
+
(n.variant === "permanent" || n.variant === "persistent") && t.docked,
|
|
197
|
+
n.variant === "temporary" && t.modal
|
|
198
|
+
];
|
|
199
|
+
}, ne = (e) => {
|
|
200
|
+
let { classes: t, anchor: r, variant: i } = e;
|
|
201
|
+
return n({
|
|
202
|
+
root: ["root", `anchor${E(r)}`],
|
|
203
|
+
docked: [(i === "permanent" || i === "persistent") && "docked"],
|
|
204
|
+
modal: ["modal"],
|
|
205
|
+
paper: ["paper"]
|
|
206
|
+
}, te, t);
|
|
207
|
+
}, re = l(D, {
|
|
208
|
+
name: "MuiDrawer",
|
|
209
|
+
slot: "Root",
|
|
210
|
+
overridesResolver: X
|
|
211
|
+
})(f(({ theme: e }) => ({ zIndex: (e.vars || e).zIndex.drawer }))), ie = l("div", {
|
|
212
|
+
shouldForwardProp: c,
|
|
213
|
+
name: "MuiDrawer",
|
|
214
|
+
slot: "Docked",
|
|
215
|
+
skipVariantsResolver: !1,
|
|
216
|
+
overridesResolver: X
|
|
217
|
+
})({ flex: "0 0 auto" }), Z = l(I, {
|
|
218
|
+
name: "MuiDrawer",
|
|
219
|
+
slot: "Paper"
|
|
220
|
+
})(f(({ theme: e }) => ({
|
|
221
|
+
overflowY: "auto",
|
|
222
|
+
display: "flex",
|
|
223
|
+
flexDirection: "column",
|
|
224
|
+
height: "100%",
|
|
225
|
+
flex: "1 0 auto",
|
|
226
|
+
zIndex: (e.vars || e).zIndex.drawer,
|
|
227
|
+
WebkitOverflowScrolling: "touch",
|
|
228
|
+
position: "fixed",
|
|
229
|
+
top: 0,
|
|
230
|
+
outline: 0,
|
|
231
|
+
variants: [
|
|
232
|
+
{
|
|
233
|
+
props: { anchor: "left" },
|
|
234
|
+
style: { left: 0 }
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
props: { anchor: "top" },
|
|
238
|
+
style: {
|
|
239
|
+
top: 0,
|
|
240
|
+
left: 0,
|
|
241
|
+
right: 0,
|
|
242
|
+
height: "auto",
|
|
243
|
+
maxHeight: "100%"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
props: { anchor: "right" },
|
|
248
|
+
style: { right: 0 }
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
props: { anchor: "bottom" },
|
|
252
|
+
style: {
|
|
253
|
+
top: "auto",
|
|
254
|
+
left: 0,
|
|
255
|
+
bottom: 0,
|
|
256
|
+
right: 0,
|
|
257
|
+
height: "auto",
|
|
258
|
+
maxHeight: "100%"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
props: ({ ownerState: e }) => e.anchor === "left" && e.variant !== "temporary",
|
|
263
|
+
style: { borderRight: `1px solid ${(e.vars || e).palette.divider}` }
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
props: ({ ownerState: e }) => e.anchor === "top" && e.variant !== "temporary",
|
|
267
|
+
style: { borderBottom: `1px solid ${(e.vars || e).palette.divider}` }
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
props: ({ ownerState: e }) => e.anchor === "right" && e.variant !== "temporary",
|
|
271
|
+
style: { borderLeft: `1px solid ${(e.vars || e).palette.divider}` }
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
props: ({ ownerState: e }) => e.anchor === "bottom" && e.variant !== "temporary",
|
|
275
|
+
style: { borderTop: `1px solid ${(e.vars || e).palette.divider}` }
|
|
276
|
+
}
|
|
277
|
+
]
|
|
278
|
+
}))), Q = {
|
|
279
|
+
left: "right",
|
|
280
|
+
right: "left",
|
|
281
|
+
top: "down",
|
|
282
|
+
bottom: "up"
|
|
283
|
+
};
|
|
284
|
+
function ae(e) {
|
|
285
|
+
return ["left", "right"].includes(e);
|
|
286
|
+
}
|
|
287
|
+
function oe({ direction: e }, t) {
|
|
288
|
+
return e === "rtl" && ae(t) ? Q[t] : t;
|
|
289
|
+
}
|
|
290
|
+
var se = /* @__PURE__ */ V.forwardRef(function(e, t) {
|
|
291
|
+
let n = r({
|
|
292
|
+
props: e,
|
|
293
|
+
name: "MuiDrawer"
|
|
294
|
+
}), i = p(), o = d(), s = {
|
|
295
|
+
enter: i.transitions.duration.enteringScreen,
|
|
296
|
+
exit: i.transitions.duration.leavingScreen
|
|
297
|
+
}, { anchor: c = "left", children: l, className: u, elevation: f = 16, hideBackdrop: m = !1, ModalProps: h = {}, onClose: g, open: v = !1, transitionDuration: y = s, variant: b = "temporary", slots: x = {}, slotProps: S = {}, ...C } = n, w = V.useRef(!1), E = V.useRef(null), D = _(t, E);
|
|
298
|
+
V.useEffect(() => {
|
|
299
|
+
w.current = !0;
|
|
300
|
+
}, []);
|
|
301
|
+
let O = V.useCallback(() => E.current, []), k = oe({ direction: o ? "rtl" : "ltr" }, c), j = c, M = {
|
|
302
|
+
...n,
|
|
303
|
+
anchor: j,
|
|
304
|
+
elevation: f,
|
|
305
|
+
open: v,
|
|
306
|
+
variant: b,
|
|
307
|
+
...C
|
|
308
|
+
}, N = ne(M), P = {
|
|
309
|
+
slots: x,
|
|
310
|
+
slotProps: {
|
|
311
|
+
...S,
|
|
312
|
+
backdrop: A(S.backdrop, { transitionDuration: y })
|
|
313
|
+
}
|
|
314
|
+
}, [F, I] = T("root", {
|
|
315
|
+
ref: D,
|
|
316
|
+
elementType: re,
|
|
317
|
+
className: a(N.root, N.modal, u),
|
|
318
|
+
shouldForwardComponentProp: !0,
|
|
319
|
+
ownerState: M,
|
|
320
|
+
externalForwardedProps: {
|
|
321
|
+
...P,
|
|
322
|
+
...C,
|
|
323
|
+
...h
|
|
324
|
+
},
|
|
325
|
+
additionalProps: {
|
|
326
|
+
closeAfterTransition: !0,
|
|
327
|
+
open: v,
|
|
328
|
+
onClose: g,
|
|
329
|
+
hideBackdrop: m,
|
|
330
|
+
slots: { backdrop: P.slots.backdrop },
|
|
331
|
+
slotProps: { backdrop: P.slotProps.backdrop }
|
|
332
|
+
}
|
|
333
|
+
}), [L, R] = T("paper", {
|
|
334
|
+
elementType: Z,
|
|
335
|
+
shouldForwardComponentProp: !0,
|
|
336
|
+
className: N.paper,
|
|
337
|
+
ownerState: M,
|
|
338
|
+
externalForwardedProps: P,
|
|
339
|
+
additionalProps: {
|
|
340
|
+
elevation: b === "temporary" ? f : 0,
|
|
341
|
+
square: !0,
|
|
342
|
+
...b === "temporary" && {
|
|
343
|
+
role: "dialog",
|
|
344
|
+
"aria-modal": "true",
|
|
345
|
+
"data-mui-focusable": "",
|
|
346
|
+
tabIndex: -1
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}), [z, B] = T("docked", {
|
|
350
|
+
elementType: ie,
|
|
351
|
+
ref: D,
|
|
352
|
+
className: a(N.root, N.docked, u),
|
|
353
|
+
ownerState: M,
|
|
354
|
+
externalForwardedProps: P,
|
|
355
|
+
additionalProps: C
|
|
356
|
+
}), [U, W] = T("transition", {
|
|
357
|
+
elementType: Y,
|
|
358
|
+
ownerState: M,
|
|
359
|
+
externalForwardedProps: P,
|
|
360
|
+
additionalProps: {
|
|
361
|
+
in: v,
|
|
362
|
+
direction: Q[k],
|
|
363
|
+
timeout: y,
|
|
364
|
+
appear: w.current,
|
|
365
|
+
...b === "temporary" && (x.transition == null || x.transition === Y) && { container: O }
|
|
366
|
+
}
|
|
367
|
+
}), G = /* @__PURE__ */ H(L, {
|
|
368
|
+
...R,
|
|
369
|
+
children: l
|
|
370
|
+
});
|
|
371
|
+
if (b === "permanent") return /* @__PURE__ */ H(z, {
|
|
372
|
+
...B,
|
|
373
|
+
children: G
|
|
374
|
+
});
|
|
375
|
+
let K = /* @__PURE__ */ H(U, {
|
|
376
|
+
...W,
|
|
377
|
+
children: G
|
|
378
|
+
});
|
|
379
|
+
return b === "persistent" ? /* @__PURE__ */ H(z, {
|
|
380
|
+
...B,
|
|
381
|
+
children: K
|
|
382
|
+
}) : /* @__PURE__ */ H(F, {
|
|
383
|
+
...I,
|
|
384
|
+
children: K
|
|
385
|
+
});
|
|
386
|
+
});
|
|
387
|
+
process.env.NODE_ENV !== "production" && (se.propTypes = {
|
|
388
|
+
anchor: W.default.oneOf([
|
|
389
|
+
"bottom",
|
|
390
|
+
"left",
|
|
391
|
+
"right",
|
|
392
|
+
"top"
|
|
393
|
+
]),
|
|
394
|
+
children: W.default.node,
|
|
395
|
+
classes: W.default.object,
|
|
396
|
+
className: W.default.string,
|
|
397
|
+
elevation: P,
|
|
398
|
+
hideBackdrop: W.default.bool,
|
|
399
|
+
ModalProps: W.default.object,
|
|
400
|
+
onClose: W.default.func,
|
|
401
|
+
open: W.default.bool,
|
|
402
|
+
slotProps: W.default.shape({
|
|
403
|
+
backdrop: W.default.oneOfType([W.default.func, W.default.object]),
|
|
404
|
+
docked: W.default.oneOfType([W.default.func, W.default.object]),
|
|
405
|
+
paper: W.default.oneOfType([W.default.func, W.default.object]),
|
|
406
|
+
root: W.default.oneOfType([W.default.func, W.default.object]),
|
|
407
|
+
transition: W.default.oneOfType([W.default.func, W.default.object])
|
|
408
|
+
}),
|
|
409
|
+
slots: W.default.shape({
|
|
410
|
+
backdrop: W.default.elementType,
|
|
411
|
+
docked: W.default.elementType,
|
|
412
|
+
paper: W.default.elementType,
|
|
413
|
+
root: W.default.elementType,
|
|
414
|
+
transition: W.default.elementType
|
|
415
|
+
}),
|
|
416
|
+
sx: W.default.oneOfType([
|
|
417
|
+
W.default.arrayOf(W.default.oneOfType([
|
|
418
|
+
W.default.func,
|
|
419
|
+
W.default.object,
|
|
420
|
+
W.default.bool
|
|
421
|
+
])),
|
|
422
|
+
W.default.func,
|
|
423
|
+
W.default.object
|
|
424
|
+
]),
|
|
425
|
+
transitionDuration: W.default.oneOfType([W.default.number, W.default.shape({
|
|
426
|
+
appear: W.default.number,
|
|
427
|
+
enter: W.default.number,
|
|
428
|
+
exit: W.default.number
|
|
429
|
+
})]),
|
|
430
|
+
variant: W.default.oneOf([
|
|
431
|
+
"permanent",
|
|
432
|
+
"persistent",
|
|
433
|
+
"temporary"
|
|
434
|
+
])
|
|
435
|
+
});
|
|
436
|
+
//#endregion
|
|
437
|
+
//#region lib/s-drawer/s-drawer.tsx
|
|
438
|
+
var ce = {
|
|
439
|
+
xs: "100vw",
|
|
440
|
+
sm: 360
|
|
441
|
+
};
|
|
442
|
+
function $(e) {
|
|
443
|
+
return e == null || typeof e == "boolean" || typeof e == "string" && e.trim() === "" ? !1 : V.isValidElement(e) && e.type === V.Fragment ? $(e.props.children) : Array.isArray(e) ? e.some($) : !0;
|
|
444
|
+
}
|
|
445
|
+
var le = l(se, {
|
|
446
|
+
name: "SDrawer",
|
|
447
|
+
slot: "Root",
|
|
448
|
+
shouldForwardProp: (e) => e !== "ownerState"
|
|
449
|
+
})({}), ue = l(o, {
|
|
450
|
+
name: "SDrawer",
|
|
451
|
+
slot: "Header",
|
|
452
|
+
shouldForwardProp: (e) => e !== "ownerState"
|
|
453
|
+
})(({ theme: e }) => ({
|
|
454
|
+
alignItems: "center",
|
|
455
|
+
boxShadow: `inset 0 -1px 0 ${(e.vars ?? e).palette.divider}`,
|
|
456
|
+
display: "flex",
|
|
457
|
+
flexShrink: 0,
|
|
458
|
+
gap: e.spacing(2),
|
|
459
|
+
justifyContent: "space-between",
|
|
460
|
+
minHeight: e.spacing(7),
|
|
461
|
+
padding: e.spacing(1.5, 2),
|
|
462
|
+
variants: [{
|
|
463
|
+
props: ({ ownerState: e }) => !e.hasTitle,
|
|
464
|
+
style: { justifyContent: "flex-end" }
|
|
465
|
+
}]
|
|
466
|
+
})), de = l(L, {
|
|
467
|
+
name: "SDrawer",
|
|
468
|
+
slot: "Title",
|
|
469
|
+
shouldForwardProp: (e) => e !== "ownerState"
|
|
470
|
+
})({
|
|
471
|
+
flex: "1 1 auto",
|
|
472
|
+
minWidth: 0
|
|
473
|
+
}), fe = l(o, {
|
|
474
|
+
name: "SDrawer",
|
|
475
|
+
slot: "HeaderActions",
|
|
476
|
+
shouldForwardProp: (e) => e !== "ownerState"
|
|
477
|
+
})(({ theme: e }) => ({
|
|
478
|
+
alignItems: "center",
|
|
479
|
+
display: "flex",
|
|
480
|
+
flexShrink: 0,
|
|
481
|
+
gap: e.spacing(1)
|
|
482
|
+
})), pe = l(B, {
|
|
483
|
+
name: "SDrawer",
|
|
484
|
+
slot: "CloseButton",
|
|
485
|
+
shouldForwardProp: (e) => e !== "ownerState"
|
|
486
|
+
})({ flexShrink: 0 }), me = l(z, {
|
|
487
|
+
name: "SDrawer",
|
|
488
|
+
slot: "Body",
|
|
489
|
+
shouldForwardProp: (e) => e !== "ownerState"
|
|
490
|
+
})(({ theme: e }) => ({
|
|
491
|
+
flex: "1 1 auto",
|
|
492
|
+
minHeight: 0,
|
|
493
|
+
padding: e.spacing(2)
|
|
494
|
+
})), he = V.forwardRef(function(e, t) {
|
|
495
|
+
let n = u({
|
|
496
|
+
props: e,
|
|
497
|
+
name: "SDrawer"
|
|
498
|
+
}), { anchor: r = "right", "aria-describedby": i, "aria-label": a, "aria-labelledby": o, children: s, closeLabel: c = "Close drawer", headerActions: l, onClose: d, open: f = !1, showCloseButton: p, slotProps: g, slots: y, sx: b, title: x, variant: S = "temporary", width: C, ...T } = n, E = V.useId(), D = r === "top" || r === "bottom", O = C ?? (D ? "100%" : ce), k = $(x), j = $(l), M = p ?? d != null, N = k || j || M, P = {
|
|
499
|
+
...n,
|
|
500
|
+
anchor: r,
|
|
501
|
+
closeLabel: c,
|
|
502
|
+
hasHeader: N,
|
|
503
|
+
hasHeaderActions: j,
|
|
504
|
+
hasTitle: k,
|
|
505
|
+
open: f,
|
|
506
|
+
showCloseButton: M,
|
|
507
|
+
variant: S,
|
|
508
|
+
width: O
|
|
509
|
+
}, { body: F = me, closeButton: I = pe, header: L = ue, headerActions: z = fe, root: B = le, title: W = de, ...G } = y ?? {}, { body: K, closeButton: ee, header: q, headerActions: J, paper: Y, root: te, title: X, ...ne } = g ?? {}, re = v((e) => {
|
|
510
|
+
d?.(e, "closeButtonClick");
|
|
511
|
+
}), ie = w(L, h(q, P) ?? {}, P), Z = w(W, h(X, P) ?? {}, P), Q = w(z, h(J, P) ?? {}, P), ae = w(I, A(h(ee, P), {
|
|
512
|
+
"aria-label": c,
|
|
513
|
+
onClick: re
|
|
514
|
+
}), P), oe = w(F, h(K, P) ?? {}, P), { ref: se, sx: he, ...ge } = w(B, A(h(te, P), T), P), _e = _(se, t), ve = Z.id ?? (k ? E : void 0), ye = h(Y, P), be = a != null || o != null || ye?.["aria-label"] != null || ye?.["aria-labelledby"] != null, xe = A(ye, {
|
|
515
|
+
"aria-describedby": i,
|
|
516
|
+
"aria-label": a,
|
|
517
|
+
"aria-labelledby": o ?? (be ? void 0 : ve),
|
|
518
|
+
sx: [{
|
|
519
|
+
boxSizing: "border-box",
|
|
520
|
+
display: "flex",
|
|
521
|
+
flexDirection: "column",
|
|
522
|
+
width: O,
|
|
523
|
+
...D ? { maxHeight: "100%" } : { height: "100%" }
|
|
524
|
+
}]
|
|
525
|
+
});
|
|
526
|
+
return /* @__PURE__ */ U(B, {
|
|
527
|
+
...ge,
|
|
528
|
+
ref: _e,
|
|
529
|
+
anchor: r,
|
|
530
|
+
onClose: d,
|
|
531
|
+
open: f,
|
|
532
|
+
slotProps: {
|
|
533
|
+
...ne,
|
|
534
|
+
paper: xe
|
|
535
|
+
},
|
|
536
|
+
slots: G,
|
|
537
|
+
sx: [...m(b), ...m(he)],
|
|
538
|
+
variant: S,
|
|
539
|
+
children: [N ? /* @__PURE__ */ U(L, {
|
|
540
|
+
...ie,
|
|
541
|
+
children: [k ? /* @__PURE__ */ H(W, {
|
|
542
|
+
noWrap: !0,
|
|
543
|
+
variant: "h6",
|
|
544
|
+
...Z,
|
|
545
|
+
id: ve,
|
|
546
|
+
children: x
|
|
547
|
+
}) : null, j || M ? /* @__PURE__ */ U(z, {
|
|
548
|
+
...Q,
|
|
549
|
+
children: [l, M ? /* @__PURE__ */ H(I, {
|
|
550
|
+
...ae,
|
|
551
|
+
children: /* @__PURE__ */ H(R, {})
|
|
552
|
+
}) : null]
|
|
553
|
+
}) : null]
|
|
554
|
+
}) : null, /* @__PURE__ */ H(F, {
|
|
555
|
+
...oe,
|
|
556
|
+
children: s
|
|
557
|
+
})]
|
|
558
|
+
});
|
|
559
|
+
});
|
|
560
|
+
he.displayName = "SDrawer";
|
|
561
|
+
//#endregion
|
|
562
|
+
export { he as t };
|
package/dist/s-empty/s-empty.js
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
1
|
+
import { t as e } from "../styled-Bog8QCl3.js";
|
|
2
|
+
import { t } from "../useThemeProps-Dw9dmKyT.js";
|
|
3
|
+
import { toSxArray as n } from "../utils/sx.js";
|
|
4
|
+
import { t as r } from "../Typography-_P0svrkO.js";
|
|
5
|
+
import * as i from "react";
|
|
6
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
6
7
|
//#region lib/s-empty/s-empty.tsx
|
|
7
|
-
var o =
|
|
8
|
+
var o = e(r, {
|
|
8
9
|
name: "SEmpty",
|
|
9
10
|
slot: "Root"
|
|
10
|
-
})({}), s =
|
|
11
|
-
let
|
|
12
|
-
props:
|
|
11
|
+
})({}), s = i.forwardRef(function(e, r) {
|
|
12
|
+
let i = t({
|
|
13
|
+
props: e,
|
|
13
14
|
name: "SEmpty"
|
|
14
|
-
}), { children: s = "No data available.", sx: c, variant: l = "body1", ...u } =
|
|
15
|
-
...
|
|
15
|
+
}), { children: s = "No data available.", sx: c, variant: l = "body1", ...u } = i, d = {
|
|
16
|
+
...i,
|
|
16
17
|
children: s,
|
|
17
18
|
variant: l
|
|
18
19
|
};
|
|
19
|
-
return /* @__PURE__ */
|
|
20
|
+
return /* @__PURE__ */ a(o, {
|
|
20
21
|
...u,
|
|
21
22
|
ownerState: d,
|
|
22
23
|
ref: r,
|
|
23
24
|
variant: l,
|
|
24
|
-
sx: [{ my: 3 }, ...
|
|
25
|
+
sx: [{ my: 3 }, ...n(c)],
|
|
25
26
|
children: s
|
|
26
27
|
});
|
|
27
28
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as e } from "../s-file-dropzone-Cfzv1Cm8.js";
|
|
2
2
|
export { e as SFileDropzone, e as default };
|