@solostylist/ui-kit 2.0.0 → 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-COc9VdNg.js → Add-CEnTWsXs.js} +1 -1
- package/dist/{ArrowUpward-D88i2k4q.js → ArrowUpward-udL1ltj2.js} +1 -1
- package/dist/{Button-DgIFcM44.js → Button-DaLr1m20.js} +5 -5
- package/dist/{ButtonBase-DxKtpFYs.js → ButtonBase-DovDC6-1.js} +224 -271
- package/dist/{Checkbox-BoZu9z2l.js → Checkbox-C-Xjbzzh.js} +7 -7
- package/dist/{ChevronRight-BxsM4W78.js → ChevronRight-DsPfsFKB.js} +1 -1
- package/dist/{Close-o4HFfK0I.js → Close-CIYOM-Sc.js} +1 -1
- package/dist/{Collapse-zgIFP5Sj.js → Collapse-DPUr1cbP.js} +46 -46
- package/dist/{ContentCopy-5unyTYXy.js → ContentCopy-Hlh3azVb.js} +1 -1
- package/dist/{DialogContent-CAry6lVf.js → DialogContent-b3xbJVC6.js} +5 -5
- package/dist/{Download-DtvoRwpl.js → Download-D9PkFi7a.js} +1 -1
- package/dist/{ExpandMore-Ba5bg6s-.js → ExpandMore-sOgvEha9.js} +1 -1
- package/dist/{Favorite-B_GsElm0.js → Favorite-BP343hjM.js} +1 -1
- package/dist/FavoriteBorder-D15j9xEL.js +6 -0
- package/dist/{FormControl-BxmM9UP6.js → FormControl-DwMfZCiz.js} +46 -52
- package/dist/{FormControlLabel-DzgppcC_.js → FormControlLabel-Ihga1FTB.js} +5 -5
- package/dist/{Grow-zRRuwUl-.js → Grow-BQR7x52V.js} +20 -20
- package/dist/{elementAcceptingRef-DhkNAkFH.js → IconButton-CE-4GamO.js} +87 -111
- package/dist/{InfoOutlined-VC7X46pc.js → InfoOutlined-lpvhO6P8.js} +1 -1
- package/dist/{List-CnGIAXAS.js → List-RNcZhRdr.js} +26 -24
- package/dist/Menu-CnyB4SDS.js +180 -0
- package/dist/{MenuItem-rXJfQzDC.js → MenuItem-Ck30dBOR.js} +15 -14
- package/dist/MenuList-Cc98uWXq.js +160 -0
- package/dist/{Modal-jAiibALV.js → Modal-CD2EBfU8.js} +116 -121
- package/dist/{Paper-ixxCeml9.js → Paper-_3qggtBp.js} +2 -2
- package/dist/Popover-BFdKSYI5.js +340 -0
- package/dist/{Popper-CVYyMS3c.js → Popper-DYNAMSDd.js} +62 -61
- package/dist/{Portal-AnyvFRC4.js → Portal-i_wgIe9-.js} +13 -17
- package/dist/Remove-DDEn8ek8.js +6 -0
- package/dist/{Stack-UMc4dV4G.js → Stack-C0LGzM4c.js} +1 -1
- package/dist/{SwitchBase-D7zqrstO.js → SwitchBase-CjWtDdmE.js} +5 -5
- package/dist/{Tooltip-DbCd6rgF.js → Tooltip-B1sn94L0.js} +161 -160
- package/dist/{Typography-yXjc7kVP.js → Typography-_P0svrkO.js} +3 -3
- package/dist/{UnfoldMoreRounded-DsN0HVDV.js → UnfoldMoreRounded-CuCrdxoy.js} +1 -1
- package/dist/{autocomplete-B_4y84Ba.js → autocomplete-BgARERpp.js} +1 -1
- package/dist/{avatar-BHuZu3DN.js → avatar-XNOdbbRz.js} +1 -1
- package/dist/chainPropTypes-CkMRtDjQ.js +8 -0
- package/dist/{checkbox-BKMZEVU5.js → checkbox-D1U_JKqs.js} +3 -3
- package/dist/{createSvgIcon-B0SZlJF1.js → createSvgIcon-3y-gS0r1.js} +3 -3
- package/dist/elementAcceptingRef-pKEY6jPR.js +25 -0
- package/dist/elementTypeAcceptingRef-xl_04Y5-.js +19 -0
- package/dist/{objectWithoutPropertiesLoose-Cpds-4w8.js → extends-DXMyyJCW.js} +1 -12
- package/dist/{field-label-styles-BOyhp6gw.js → field-label-styles-4praXMaE.js} +1 -1
- package/dist/getActiveElement-BfBkhgy6.js +8 -0
- package/dist/{gradients-90SYkAC0.js → gradients-mQAYCK0_.js} +1 -1
- 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/{mergeSlotProps-xl1-PgWL.js → mergeSlotProps-DC8r4QzS.js} +1 -1
- package/dist/objectWithoutPropertiesLoose-q4Zwd1RV.js +12 -0
- package/dist/{outlinedInputClasses-DECY98u0.js → outlinedInputClasses-ci1zDasn.js} +1 -1
- 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-Dw3PEYF5.js → palettes-B1FcGUYs.js} +2 -2
- package/dist/refType-j5S9pc_e.js +6 -0
- package/dist/s-accordion/index.js +1 -1
- package/dist/s-accordion/s-accordion.js +1 -1
- package/dist/{s-accordion-B8nlrdFc.js → s-accordion-1oLxQhod.js} +23 -23
- package/dist/s-action-overlay/s-action-overlay.js +1 -1
- 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 +1 -1
- package/dist/s-blur-text/s-blur-text.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/{s-carousel-Dnjke4JQ.js → s-carousel-CAyAl3ka.js} +7 -5
- package/dist/s-category-card/s-category-card.js +1 -1
- package/dist/s-chat-input/index.js +1 -1
- package/dist/s-chat-input/s-chat-input.js +1 -1
- package/dist/{s-chat-input-DCS0mJE4.js → s-chat-input-T3gyan60.js} +8 -8
- package/dist/s-chat-message/index.js +1 -1
- package/dist/s-chat-message/s-chat-message.js +1 -1
- package/dist/{s-chat-message-9oollJJq.js → s-chat-message-NFTpNgt5.js} +4 -4
- package/dist/s-checkbox/s-checkbox.js +5 -5
- package/dist/s-chips/index.js +1 -1
- package/dist/s-chips/s-chips.js +1 -1
- package/dist/{s-chips-WqGdqHW9.js → s-chips-Dqq1fgz-.js} +5 -5
- package/dist/s-code-block/index.js +1 -1
- package/dist/s-code-block/s-code-block.js +1 -1
- package/dist/{s-code-block-DzGoGg5e.js → s-code-block-DyDtctGG.js} +2 -2
- package/dist/s-comment-message/index.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +1 -1
- package/dist/{s-comment-message-C6kfgRjv.js → s-comment-message-DpCVBKiE.js} +53 -52
- package/dist/s-copyable-text/s-copyable-text.js +2 -2
- package/dist/s-countdown/s-count-box.js +1 -1
- package/dist/s-data-table/index.js +1 -1
- package/dist/s-data-table/s-data-table.js +1 -1
- package/dist/{s-data-table-B1TGVupB.js → s-data-table-D4V58HFR.js} +16 -16
- package/dist/s-date-picker/index.js +1 -1
- package/dist/s-date-picker/s-date-picker.js +1 -1
- 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 +1 -1
- package/dist/{s-datetime-picker-ByzW44E0.js → s-datetime-picker-zfg7BEOW.js} +623 -615
- package/dist/s-dialog/index.js +1 -1
- package/dist/s-dialog/s-dialog.js +1 -1
- package/dist/{s-dialog-BLiyjLkx.js → s-dialog-BNlXsVVP.js} +10 -10
- package/dist/s-dialog-confirm/s-dialog-confirm.js +4 -4
- package/dist/s-dialog-message/s-dialog-message.js +4 -4
- 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 +2 -2
- package/dist/s-file-dropzone/index.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
- package/dist/{s-file-dropzone-CVQpYRdY.js → s-file-dropzone-Cfzv1Cm8.js} +16 -16
- package/dist/s-file-icon/s-file-icon.js +1 -1
- package/dist/s-flex-box/s-flex-box.js +1 -1
- package/dist/s-form/s-form.js +2 -2
- package/dist/s-gallery/s-gallery.js +1 -1
- package/dist/s-glow-button/s-glow-button.js +1 -1
- 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 +8 -8
- package/dist/s-image-comparison/s-image-comparison.js +3 -3
- package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
- package/dist/s-image-viewer/index.js +1 -1
- package/dist/s-image-viewer/s-image-viewer.js +1 -1
- package/dist/s-image-viewer/use-image-viewer-navigation.js +1 -1
- package/dist/{s-image-viewer-DNIEYdtL.js → s-image-viewer-CjK67-rs.js} +5 -5
- 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 +9 -9
- package/dist/s-language-switcher/index.js +1 -1
- package/dist/s-language-switcher/s-language-switcher.js +1 -1
- package/dist/s-language-switcher-PaMgHWc2.js +246 -0
- package/dist/s-lazy-image/s-lazy-image.js +2 -2
- package/dist/s-link/index.js +1 -1
- package/dist/s-link/s-link.js +1 -1
- package/dist/{s-link-CAMTGfd9.js → s-link-Db1aabHh.js} +5 -4
- 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 +1 -1
- package/dist/{s-localization-provider-Xw3NO2uP.js → s-localization-provider-CeyB_SGz.js} +2 -2
- 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/index.js +2 -2
- package/dist/s-nav-items/s-nav-items.js +124 -2
- package/dist/s-no-ssr/index.js +1 -1
- package/dist/s-no-ssr/s-no-ssr.js +1 -1
- 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 +1 -1
- package/dist/{s-pagination-Dt8Pk5Tp.js → s-pagination-s46hBifh.js} +33 -33
- package/dist/s-pixel-reveal/s-pixel-reveal.js +1 -1
- 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/index.js +1 -1
- package/dist/s-quantity-input/s-quantity-input.js +246 -2
- package/dist/s-review/index.js +1 -1
- package/dist/s-review/s-review.js +1 -1
- package/dist/{s-review-DSXXtWlL.js → s-review--Q2C0ngO.js} +4 -4
- package/dist/s-scroll-reveal/s-scroll-reveal.js +1 -1
- 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 +2 -2
- package/dist/s-scroll-velocity/scroll-velocity-row.js +1 -1
- 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 +1 -1
- package/dist/{s-select-dwY2DYa9.js → s-select-CtVKEOZ5.js} +3 -3
- package/dist/s-select-list/s-select-list.js +5 -5
- package/dist/s-skeleton/s-skeleton.js +10 -10
- package/dist/s-snackbar-message/index.js +1 -1
- package/dist/s-snackbar-message/s-snackbar-message.js +1 -1
- package/dist/{s-snackbar-message-3Z6VySlB.js → s-snackbar-message-DsfJlDYd.js} +98 -96
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +1 -1
- package/dist/s-status-illustration/s-status-illustration.js +1 -1
- 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 +2 -2
- package/dist/s-stripe/stripe-input.js +1 -1
- 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 +1 -1
- package/dist/{s-switch-B8bZAzLh.js → s-switch-BCeBoxWf.js} +18 -18
- package/dist/s-tabs/s-tabs.js +4 -4
- package/dist/s-text-editor/index.js +1 -1
- package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
- package/dist/s-text-editor/s-text-editor.js +2 -2
- package/dist/{s-text-editor-toolbar-D-XgFQix.js → s-text-editor-toolbar-D5eQ-jCs.js} +708 -705
- package/dist/s-text-field/index.js +1 -1
- package/dist/s-text-field/s-text-field.js +1 -1
- package/dist/{s-text-field-BM4qk0mf.js → s-text-field-HYyDf1Jo.js} +4 -4
- package/dist/s-text-shimmer/s-text-shimmer.js +1 -1
- package/dist/s-text-truncation/s-text-truncation.js +1 -1
- package/dist/s-theme-demo/s-theme-demo.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 +1 -1
- 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 +1 -1
- package/dist/{s-theme-switch-BLMz1_m2.js → s-theme-switch-BFWpADh3.js} +2 -2
- package/dist/s-tip/index.js +1 -1
- package/dist/s-tip/s-tip.js +1 -1
- package/dist/{s-tip-ty41ePQm.js → s-tip-jbL7vtoU.js} +5 -5
- package/dist/s-tool-bar/s-tool-bar.js +3 -3
- package/dist/s-tool-bar/tool-bar-action-buttons.js +1 -1
- package/dist/s-tool-bar/tool-bar-image-input.js +1 -1
- package/dist/s-tool-bar/tool-bar-inputs.js +3 -3
- package/dist/s-tool-item/s-tool-item.d.ts +10 -6
- package/dist/s-tool-item/s-tool-item.js +13 -13
- package/dist/s-two-pane-layout/s-two-pane-layout.js +1 -1
- package/dist/s-zoom-image/s-zoom-image.js +2 -2
- package/dist/setRef-BWPyWnrr.js +6 -0
- package/dist/theme/component-augmentation.d.ts +65 -1
- package/dist/theme/components/autocomplete.js +1 -1
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/components/card.js +1 -1
- package/dist/theme/components/checkbox.js +1 -1
- package/dist/theme/components/chip.js +1 -1
- package/dist/theme/components/components.js +4 -4
- 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 +1 -1
- 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 +3 -3
- package/dist/theme/components/month-calendar.js +2 -2
- package/dist/theme/components/outlined-input.js +2 -2
- package/dist/theme/components/pickers-calendar-header.js +2 -2
- package/dist/theme/components/select.js +2 -2
- 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 +1 -1
- package/dist/theme/components/year-calendar.js +2 -2
- package/dist/theme/theme-primitives.js +2 -2
- package/dist/{theme-demo-components-section-gtIYRngY.js → theme-demo-components-section-C7l_2KAo.js} +4 -4
- package/dist/{theme-primitives-Dt_DT9b5.js → theme-primitives-CXtaMdVj.js} +2 -2
- package/dist/{toggle-button-Cxi5CfXC.js → toggle-button-BsGb-tOr.js} +1 -1
- package/dist/{tool-bar-action-buttons-Dt-pV3GA.js → tool-bar-action-buttons-v1koaasr.js} +3 -3
- package/dist/{tool-bar-image-input-BXlll_hV.js → tool-bar-image-input-DtXTyEe1.js} +2 -2
- package/dist/unsupportedProp-whMV_uOi.js +11 -0
- package/dist/{useControlled-BeB0W_Ui.js → useControlled-DqNPBJNp.js} +1 -1
- package/dist/useEventCallback-DGCsaRIu.js +5 -0
- package/dist/{useEventCallback-CVqMfiG_.js → useEventCallback-DhCPBxRG.js} +1 -4
- package/dist/{useMobilePicker-C4UQFvkj.js → useMobilePicker-CdrT935R.js} +2176 -2172
- package/dist/useRovingTabIndex-DPlW997R.js +242 -0
- package/dist/{useSlot-iIu8ek6E.js → useSlot-BG8ReOxN.js} +3 -3
- package/dist/{isLayoutSupported-Ceir7nyK.js → useSlotProps-BOO3qaI9.js} +4 -9
- package/dist/useThemeProps-Dw9dmKyT.js +29 -0
- package/dist/useTimeout-CoK-Khfm.js +49 -0
- package/dist/{utils-oJyTAkZY.js → utils-Bfqbev5I.js} +45 -11
- package/dist/{warning-CNkSZkq6.js → warning-D5YhCbje.js} +3 -2
- package/package.json +1 -1
- package/dist/ListContext-B1HQt3OD.js +0 -6
- package/dist/Menu-C4Zabc9U.js +0 -504
- package/dist/MenuList-DDV8J-yd.js +0 -407
- package/dist/isFocusVisible-Y7157FQS.js +0 -35
- package/dist/listItemButtonClasses-DbL-aTVf.js +0 -18
- package/dist/s-date-picker-BpX4HmBp.js +0 -656
- package/dist/s-language-switcher-D-1nywT3.js +0 -251
- package/dist/s-nav-items-BUp7DddG.js +0 -327
- package/dist/s-quantity-input-mYCixlJc.js +0 -246
- package/dist/theme/components/components.d.ts +0 -2
- package/dist/theme/components/slider.d.ts +0 -34
- package/dist/useThemeProps-BI9yq95N.js +0 -19
- package/dist/useThemeProps-Cr28OQu3.js +0 -13
- /package/dist/{appendOwnerState-CELpvdMz.js → appendOwnerState-CFQTq3pb.js} +0 -0
- /package/dist/{buttonBaseClasses-BvBqFLb_.js → buttonBaseClasses-B90LjsNK.js} +0 -0
- /package/dist/{capitalize-CccCFNpQ.js → capitalize-C0baBJCm.js} +0 -0
- /package/dist/{checkboxClasses-CEsqS4sc.js → checkboxClasses-B1up2lUn.js} +0 -0
- /package/dist/{colors-DKqWMRgW.js → colors-Bik9qOU9.js} +0 -0
- /package/dist/{contains-WOhYaq1E.js → contains-DnqPQsQU.js} +0 -0
- /package/dist/{createSimplePaletteValueFilter-C1gWywW_.js → createSimplePaletteValueFilter-DFvyXHoZ.js} +0 -0
- /package/dist/{formLabelClasses-B0Fa-86T.js → formLabelClasses-AuZHWfTs.js} +0 -0
- /package/dist/{iconButtonClasses-CkciZuIe.js → iconButtonClasses-CVVRFXRo.js} +0 -0
- /package/dist/{inputAdornmentClasses-D5yYK5bM.js → inputAdornmentClasses-BbB8s-Z4.js} +0 -0
- /package/dist/{inputBaseClasses-DuWQGq8Z.js → inputBaseClasses-Ce_jjdp9.js} +0 -0
- /package/dist/{integerPropType-Disnft4a.js → integerPropType-CCkQD1JY.js} +0 -0
- /package/dist/{isEventHandler-8dPdzK9U.js → isEventHandler-QShLXBxE.js} +0 -0
- /package/dist/{monthCalendarClasses-BYVHyEfI.js → monthCalendarClasses-b964KRbc.js} +0 -0
- /package/dist/{pickersCalendarHeaderClasses-CIj0gBye.js → pickersCalendarHeaderClasses-BAiPN_oY.js} +0 -0
- /package/dist/{s-brand-logo-jtAJZQIv.js → s-brand-logo-D7Jovf5K.js} +0 -0
- /package/dist/{s-no-ssr-D8tPdDfh.js → s-no-ssr-DH57_uP_.js} +0 -0
- /package/dist/{selectClasses-DoUlWfzV.js → selectClasses-CPxME5jE.js} +0 -0
- /package/dist/{svgIconClasses-C8D4AsMj.js → svgIconClasses-1kWGzgux.js} +0 -0
- /package/dist/{switchClasses-eiq1bkQN.js → switchClasses-BtweO7PC.js} +0 -0
- /package/dist/{typographyClasses-BLM3NmYd.js → typographyClasses-BH_-zLwg.js} +0 -0
- /package/dist/{useControlled-C4QJnpiR.js → useControlled-uxVKygk1.js} +0 -0
- /package/dist/{useEnhancedEffect-Bc3gBClC.js → useEnhancedEffect-dBFfkm1e.js} +0 -0
- /package/dist/{useForkRef-CKneCEtr.js → useForkRef-BuNFTXxE.js} +0 -0
- /package/dist/{useFormControl-iWLrn7Ek.js → useFormControl-gXwNeUM1.js} +0 -0
- /package/dist/{utils-DaSrTYUS.js → utils-DOY6v6ln.js} +0 -0
- /package/dist/{yearCalendarClasses-CuAQumpz.js → yearCalendarClasses-D9k_KT38.js} +0 -0
|
@@ -6,28 +6,30 @@ import { t as a } from "./generateUtilityClass-PAIOm1jC.js";
|
|
|
6
6
|
import { t as o } from "./clsx-DGZSe4Nt.js";
|
|
7
7
|
import { t as s } from "./generateUtilityClasses-DvX505Gy.js";
|
|
8
8
|
import { t as c } from "./styled-Bog8QCl3.js";
|
|
9
|
-
import { t as l } from "./
|
|
10
|
-
import {
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { toSxArray as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { n as
|
|
18
|
-
import { t as
|
|
19
|
-
import { i as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
9
|
+
import { t as l } from "./useThemeProps-Dw9dmKyT.js";
|
|
10
|
+
import { t as u } from "./exactProp-C_IsucXf.js";
|
|
11
|
+
import { t as d } from "./IconButton-CE-4GamO.js";
|
|
12
|
+
import { t as f } from "./memoTheme-qFyKAk7y.js";
|
|
13
|
+
import { t as p } from "./useTheme-BIWMbX3i.js";
|
|
14
|
+
import { toSxArray as m } from "./utils/sx.js";
|
|
15
|
+
import { n as h } from "./useForkRef-BuNFTXxE.js";
|
|
16
|
+
import { t as g } from "./useEventCallback-DhCPBxRG.js";
|
|
17
|
+
import { n as _ } from "./useTimeout-CoK-Khfm.js";
|
|
18
|
+
import { t as v } from "./appendOwnerState-CFQTq3pb.js";
|
|
19
|
+
import { i as y, t as b } from "./useSlot-BG8ReOxN.js";
|
|
20
|
+
import { t as x } from "./capitalize-C0baBJCm.js";
|
|
21
|
+
import { t as S } from "./createSimplePaletteValueFilter-DFvyXHoZ.js";
|
|
22
|
+
import { t as C } from "./createSvgIcon-3y-gS0r1.js";
|
|
23
|
+
import { t as w } from "./ownerDocument-CJjQZweZ.js";
|
|
24
|
+
import { n as T, t as E } from "./elementAcceptingRef-pKEY6jPR.js";
|
|
25
|
+
import { t as D } from "./contains-DnqPQsQU.js";
|
|
26
|
+
import { t as O } from "./Grow-BQR7x52V.js";
|
|
27
|
+
import { t as k } from "./Paper-_3qggtBp.js";
|
|
26
28
|
import * as A from "react";
|
|
27
29
|
import { createElement as j } from "react";
|
|
28
30
|
import { jsx as M, jsxs as N } from "react/jsx-runtime";
|
|
29
31
|
//#region ../../node_modules/@mui/material/internal/svg-icons/Close.mjs
|
|
30
|
-
var P = /* @__PURE__ */ e(n(), 1), F =
|
|
32
|
+
var P = /* @__PURE__ */ e(n(), 1), F = C(/* @__PURE__ */ M("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }), "Close");
|
|
31
33
|
//#endregion
|
|
32
34
|
//#region ../../node_modules/@mui/material/Alert/alertClasses.mjs
|
|
33
35
|
function I(e) {
|
|
@@ -45,12 +47,12 @@ var L = s("MuiAlert", [
|
|
|
45
47
|
"colorError",
|
|
46
48
|
"outlined",
|
|
47
49
|
"standard"
|
|
48
|
-
]), R =
|
|
50
|
+
]), R = C(/* @__PURE__ */ M("path", { d: "M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z" }), "SuccessOutlined"), z = C(/* @__PURE__ */ M("path", { d: "M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z" }), "ReportProblemOutlined"), B = C(/* @__PURE__ */ M("path", { d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" }), "ErrorOutline"), V = C(/* @__PURE__ */ M("path", { d: "M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z" }), "InfoOutlined"), H = (e) => {
|
|
49
51
|
let { variant: t, color: n, severity: i, classes: a } = e;
|
|
50
52
|
return r({
|
|
51
53
|
root: [
|
|
52
54
|
"root",
|
|
53
|
-
`color${
|
|
55
|
+
`color${x(n || i)}`,
|
|
54
56
|
`${t}`
|
|
55
57
|
],
|
|
56
58
|
icon: ["icon"],
|
|
@@ -64,7 +66,7 @@ var L = s("MuiAlert", [
|
|
|
64
66
|
let { ownerState: n } = e;
|
|
65
67
|
return [t.root, t[n.variant]];
|
|
66
68
|
}
|
|
67
|
-
})(
|
|
69
|
+
})(f(({ theme: e }) => {
|
|
68
70
|
let t = e.palette.mode === "light" ? e.darken : e.lighten, n = e.palette.mode === "light" ? e.lighten : e.darken;
|
|
69
71
|
return {
|
|
70
72
|
...e.typography.body2,
|
|
@@ -72,7 +74,7 @@ var L = s("MuiAlert", [
|
|
|
72
74
|
display: "flex",
|
|
73
75
|
padding: "6px 16px",
|
|
74
76
|
variants: [
|
|
75
|
-
...Object.entries(e.palette).filter(
|
|
77
|
+
...Object.entries(e.palette).filter(S(["light"])).map(([r]) => ({
|
|
76
78
|
props: {
|
|
77
79
|
colorSeverity: r,
|
|
78
80
|
variant: "standard"
|
|
@@ -83,7 +85,7 @@ var L = s("MuiAlert", [
|
|
|
83
85
|
[`& .${L.icon}`]: e.vars ? { color: e.vars.palette.Alert[`${r}IconColor`] } : { color: e.palette[r].main }
|
|
84
86
|
}
|
|
85
87
|
})),
|
|
86
|
-
...Object.entries(e.palette).filter(
|
|
88
|
+
...Object.entries(e.palette).filter(S(["light"])).map(([n]) => ({
|
|
87
89
|
props: {
|
|
88
90
|
colorSeverity: n,
|
|
89
91
|
variant: "outlined"
|
|
@@ -94,7 +96,7 @@ var L = s("MuiAlert", [
|
|
|
94
96
|
[`& .${L.icon}`]: e.vars ? { color: e.vars.palette.Alert[`${n}IconColor`] } : { color: e.palette[n].main }
|
|
95
97
|
}
|
|
96
98
|
})),
|
|
97
|
-
...Object.entries(e.palette).filter(
|
|
99
|
+
...Object.entries(e.palette).filter(S(["dark"])).map(([t]) => ({
|
|
98
100
|
props: {
|
|
99
101
|
colorSeverity: t,
|
|
100
102
|
variant: "filled"
|
|
@@ -146,59 +148,59 @@ var L = s("MuiAlert", [
|
|
|
146
148
|
let n = i({
|
|
147
149
|
props: e,
|
|
148
150
|
name: "MuiAlert"
|
|
149
|
-
}), { action: r, children: a, className: s, closeText: c = "Close", color: l, icon: u, iconMapping:
|
|
151
|
+
}), { action: r, children: a, className: s, closeText: c = "Close", color: l, icon: u, iconMapping: f = K, onClose: p, role: m = "alert", severity: h = "success", slotProps: g = {}, slots: _ = {}, variant: v = "standard", ...y } = n, x = {
|
|
150
152
|
...n,
|
|
151
153
|
color: l,
|
|
152
154
|
severity: h,
|
|
153
155
|
variant: v,
|
|
154
156
|
colorSeverity: l || h
|
|
155
|
-
},
|
|
157
|
+
}, S = H(x), C = {
|
|
156
158
|
slots: _,
|
|
157
159
|
slotProps: g
|
|
158
|
-
}, [w, T] =
|
|
160
|
+
}, [w, T] = b("root", {
|
|
159
161
|
ref: t,
|
|
160
162
|
shouldForwardComponentProp: !0,
|
|
161
|
-
className: o(
|
|
163
|
+
className: o(S.root, s),
|
|
162
164
|
elementType: U,
|
|
163
165
|
externalForwardedProps: {
|
|
164
|
-
...
|
|
166
|
+
...C,
|
|
165
167
|
...y
|
|
166
168
|
},
|
|
167
|
-
ownerState:
|
|
169
|
+
ownerState: x,
|
|
168
170
|
additionalProps: {
|
|
169
171
|
role: m,
|
|
170
172
|
elevation: 0
|
|
171
173
|
}
|
|
172
|
-
}), [E, D] =
|
|
173
|
-
className:
|
|
174
|
+
}), [E, D] = b("icon", {
|
|
175
|
+
className: S.icon,
|
|
174
176
|
elementType: W,
|
|
175
|
-
externalForwardedProps:
|
|
176
|
-
ownerState:
|
|
177
|
-
}), [O, k] =
|
|
178
|
-
className:
|
|
177
|
+
externalForwardedProps: C,
|
|
178
|
+
ownerState: x
|
|
179
|
+
}), [O, k] = b("message", {
|
|
180
|
+
className: S.message,
|
|
179
181
|
elementType: G,
|
|
180
|
-
externalForwardedProps:
|
|
181
|
-
ownerState:
|
|
182
|
-
}), [A, j] =
|
|
183
|
-
className:
|
|
182
|
+
externalForwardedProps: C,
|
|
183
|
+
ownerState: x
|
|
184
|
+
}), [A, j] = b("action", {
|
|
185
|
+
className: S.action,
|
|
184
186
|
elementType: ee,
|
|
185
|
-
externalForwardedProps:
|
|
186
|
-
ownerState:
|
|
187
|
-
}), [P, I] =
|
|
188
|
-
elementType:
|
|
189
|
-
externalForwardedProps:
|
|
190
|
-
ownerState:
|
|
191
|
-
}), [L, R] =
|
|
187
|
+
externalForwardedProps: C,
|
|
188
|
+
ownerState: x
|
|
189
|
+
}), [P, I] = b("closeButton", {
|
|
190
|
+
elementType: d,
|
|
191
|
+
externalForwardedProps: C,
|
|
192
|
+
ownerState: x
|
|
193
|
+
}), [L, R] = b("closeIcon", {
|
|
192
194
|
elementType: F,
|
|
193
|
-
externalForwardedProps:
|
|
194
|
-
ownerState:
|
|
195
|
+
externalForwardedProps: C,
|
|
196
|
+
ownerState: x
|
|
195
197
|
});
|
|
196
198
|
return /* @__PURE__ */ N(w, {
|
|
197
199
|
...T,
|
|
198
200
|
children: [
|
|
199
201
|
u === !1 ? null : /* @__PURE__ */ M(E, {
|
|
200
202
|
...D,
|
|
201
|
-
children: u ||
|
|
203
|
+
children: u || f[h] || K[h]
|
|
202
204
|
}),
|
|
203
205
|
/* @__PURE__ */ M(O, {
|
|
204
206
|
...k,
|
|
@@ -287,7 +289,7 @@ process.env.NODE_ENV !== "production" && (q.propTypes = {
|
|
|
287
289
|
//#endregion
|
|
288
290
|
//#region ../../node_modules/@mui/material/Snackbar/useSnackbar.mjs
|
|
289
291
|
function te(e = {}) {
|
|
290
|
-
let { autoHideDuration: t = null, disableWindowBlurListener: n = !1, onClose: r, open: i, resumeHideDuration: a } = e, o =
|
|
292
|
+
let { autoHideDuration: t = null, disableWindowBlurListener: n = !1, onClose: r, open: i, resumeHideDuration: a } = e, o = _();
|
|
291
293
|
A.useEffect(() => {
|
|
292
294
|
if (!i) return;
|
|
293
295
|
function e(e) {
|
|
@@ -297,9 +299,9 @@ function te(e = {}) {
|
|
|
297
299
|
document.removeEventListener("keydown", e);
|
|
298
300
|
};
|
|
299
301
|
}, [i, r]);
|
|
300
|
-
let s =
|
|
302
|
+
let s = g((e, t) => {
|
|
301
303
|
r?.(e, t);
|
|
302
|
-
}), c =
|
|
304
|
+
}), c = g((e) => {
|
|
303
305
|
!r || e == null || o.start(e, () => {
|
|
304
306
|
s(null, "timeout");
|
|
305
307
|
});
|
|
@@ -343,8 +345,8 @@ function te(e = {}) {
|
|
|
343
345
|
]), {
|
|
344
346
|
getRootProps: (t = {}) => {
|
|
345
347
|
let n = {
|
|
346
|
-
...
|
|
347
|
-
...
|
|
348
|
+
...y(e),
|
|
349
|
+
...y(t)
|
|
348
350
|
};
|
|
349
351
|
return {
|
|
350
352
|
role: "presentation",
|
|
@@ -374,10 +376,10 @@ function Y(e) {
|
|
|
374
376
|
}, 0), () => {
|
|
375
377
|
c.current = !1;
|
|
376
378
|
}), []);
|
|
377
|
-
let
|
|
379
|
+
let u = h(T(t), s), d = g((e) => {
|
|
378
380
|
let t = l.current;
|
|
379
381
|
l.current = !1;
|
|
380
|
-
let r =
|
|
382
|
+
let r = w(s.current);
|
|
381
383
|
if (!c.current || !s.current || "clientX" in e && ne(e, r)) return;
|
|
382
384
|
if (o.current) {
|
|
383
385
|
o.current = !1;
|
|
@@ -385,31 +387,31 @@ function Y(e) {
|
|
|
385
387
|
}
|
|
386
388
|
let a;
|
|
387
389
|
a = e.composedPath ? e.composedPath().includes(s.current) : !D(r.documentElement, e.target) || D(s.current, e.target), !a && (n || !t) && i(e);
|
|
388
|
-
}),
|
|
390
|
+
}), f = (e) => (n) => {
|
|
389
391
|
l.current = !0;
|
|
390
392
|
let r = t.props[e];
|
|
391
393
|
r && r(n);
|
|
392
|
-
},
|
|
393
|
-
return a !== !1 && (
|
|
394
|
+
}, p = { ref: u };
|
|
395
|
+
return a !== !1 && (p[a] = f(a)), A.useEffect(() => {
|
|
394
396
|
if (a !== !1) {
|
|
395
|
-
let e = J(a), t =
|
|
397
|
+
let e = J(a), t = w(s.current), n = () => {
|
|
396
398
|
o.current = !0;
|
|
397
399
|
};
|
|
398
|
-
return t.addEventListener(e,
|
|
399
|
-
t.removeEventListener(e,
|
|
400
|
+
return t.addEventListener(e, d), t.addEventListener("touchmove", n), () => {
|
|
401
|
+
t.removeEventListener(e, d), t.removeEventListener("touchmove", n);
|
|
400
402
|
};
|
|
401
403
|
}
|
|
402
|
-
}, [
|
|
404
|
+
}, [d, a]), r !== !1 && (p[r] = f(r)), A.useEffect(() => {
|
|
403
405
|
if (r !== !1) {
|
|
404
|
-
let e = J(r), t =
|
|
405
|
-
return t.addEventListener(e,
|
|
406
|
-
t.removeEventListener(e,
|
|
406
|
+
let e = J(r), t = w(s.current);
|
|
407
|
+
return t.addEventListener(e, d), () => {
|
|
408
|
+
t.removeEventListener(e, d);
|
|
407
409
|
};
|
|
408
410
|
}
|
|
409
|
-
}, [
|
|
411
|
+
}, [d, r]), /* @__PURE__ */ A.cloneElement(t, p);
|
|
410
412
|
}
|
|
411
413
|
process.env.NODE_ENV !== "production" && (Y.propTypes = {
|
|
412
|
-
children:
|
|
414
|
+
children: E.isRequired,
|
|
413
415
|
disableReactTree: P.default.bool,
|
|
414
416
|
mouseEvent: P.default.oneOf([
|
|
415
417
|
"onClick",
|
|
@@ -425,7 +427,7 @@ process.env.NODE_ENV !== "production" && (Y.propTypes = {
|
|
|
425
427
|
"onTouchStart",
|
|
426
428
|
!1
|
|
427
429
|
])
|
|
428
|
-
}), process.env.NODE_ENV !== "production" && (Y.propTypes =
|
|
430
|
+
}), process.env.NODE_ENV !== "production" && (Y.propTypes = u(Y.propTypes));
|
|
429
431
|
//#endregion
|
|
430
432
|
//#region ../../node_modules/@mui/material/SnackbarContent/snackbarContentClasses.mjs
|
|
431
433
|
function re(e) {
|
|
@@ -448,7 +450,7 @@ var ie = (e) => {
|
|
|
448
450
|
}, ae = c(k, {
|
|
449
451
|
name: "MuiSnackbarContent",
|
|
450
452
|
slot: "Root"
|
|
451
|
-
})(
|
|
453
|
+
})(f(({ theme: e }) => {
|
|
452
454
|
let n = e.palette.mode === "light" ? .8 : .98;
|
|
453
455
|
return {
|
|
454
456
|
...e.typography.body2,
|
|
@@ -533,15 +535,15 @@ s("MuiSnackbar", [
|
|
|
533
535
|
//#region ../../node_modules/@mui/material/Snackbar/Snackbar.mjs
|
|
534
536
|
var le = (e) => {
|
|
535
537
|
let { classes: t, anchorOrigin: n } = e;
|
|
536
|
-
return r({ root: ["root", `anchorOrigin${
|
|
538
|
+
return r({ root: ["root", `anchorOrigin${x(n.vertical)}${x(n.horizontal)}`] }, ce, t);
|
|
537
539
|
}, ue = c("div", {
|
|
538
540
|
name: "MuiSnackbar",
|
|
539
541
|
slot: "Root",
|
|
540
542
|
overridesResolver: (e, t) => {
|
|
541
543
|
let { ownerState: n } = e;
|
|
542
|
-
return [t.root, t[`anchorOrigin${
|
|
544
|
+
return [t.root, t[`anchorOrigin${x(n.anchorOrigin.vertical)}${x(n.anchorOrigin.horizontal)}`]];
|
|
543
545
|
}
|
|
544
|
-
})(
|
|
546
|
+
})(f(({ theme: e }) => ({
|
|
545
547
|
zIndex: (e.vars || e).zIndex.snackbar,
|
|
546
548
|
position: "fixed",
|
|
547
549
|
display: "flex",
|
|
@@ -597,13 +599,13 @@ var le = (e) => {
|
|
|
597
599
|
let n = i({
|
|
598
600
|
props: e,
|
|
599
601
|
name: "MuiSnackbar"
|
|
600
|
-
}), r =
|
|
602
|
+
}), r = p(), a = {
|
|
601
603
|
enter: r.transitions.duration.enteringScreen,
|
|
602
604
|
exit: r.transitions.duration.leavingScreen
|
|
603
605
|
}, { action: o, anchorOrigin: { vertical: s, horizontal: c } = {
|
|
604
606
|
vertical: "bottom",
|
|
605
607
|
horizontal: "left"
|
|
606
|
-
}, autoHideDuration: l = null, children: u, className: d, disableWindowBlurListener: f = !1, message:
|
|
608
|
+
}, autoHideDuration: l = null, children: u, className: d, disableWindowBlurListener: f = !1, message: m, onBlur: h, onClose: g, onFocus: _, onMouseEnter: v, onMouseLeave: y, open: x, resumeHideDuration: S, slots: C = {}, slotProps: w = {}, transitionDuration: T = a, ...E } = n, D = {
|
|
607
609
|
...n,
|
|
608
610
|
anchorOrigin: {
|
|
609
611
|
vertical: s,
|
|
@@ -613,9 +615,9 @@ var le = (e) => {
|
|
|
613
615
|
disableWindowBlurListener: f,
|
|
614
616
|
transitionDuration: T
|
|
615
617
|
}, k = le(D), { getRootProps: j, onClickAway: N } = te(D), [P, F] = A.useState(!0), I = {
|
|
616
|
-
slots:
|
|
618
|
+
slots: C,
|
|
617
619
|
slotProps: w
|
|
618
|
-
}, [L, R] =
|
|
620
|
+
}, [L, R] = b("root", {
|
|
619
621
|
ref: t,
|
|
620
622
|
className: [k.root, d],
|
|
621
623
|
elementType: ue,
|
|
@@ -625,7 +627,7 @@ var le = (e) => {
|
|
|
625
627
|
...E
|
|
626
628
|
},
|
|
627
629
|
ownerState: D
|
|
628
|
-
}), [z, { ownerState: B, ...V }] =
|
|
630
|
+
}), [z, { ownerState: B, ...V }] = b("clickAwayListener", {
|
|
629
631
|
elementType: Y,
|
|
630
632
|
externalForwardedProps: I,
|
|
631
633
|
getSlotProps: (e) => ({ onClickAway: (...t) => {
|
|
@@ -633,16 +635,16 @@ var le = (e) => {
|
|
|
633
635
|
e.onClickAway?.(...t), !n?.defaultMuiPrevented && N(...t);
|
|
634
636
|
} }),
|
|
635
637
|
ownerState: D
|
|
636
|
-
}), [H, U] =
|
|
638
|
+
}), [H, U] = b("content", {
|
|
637
639
|
elementType: X,
|
|
638
640
|
shouldForwardComponentProp: !0,
|
|
639
641
|
externalForwardedProps: I,
|
|
640
642
|
additionalProps: {
|
|
641
|
-
message:
|
|
643
|
+
message: m,
|
|
642
644
|
action: o
|
|
643
645
|
},
|
|
644
646
|
ownerState: D
|
|
645
|
-
}), [W, G] =
|
|
647
|
+
}), [W, G] = b("transition", {
|
|
646
648
|
elementType: O,
|
|
647
649
|
externalForwardedProps: I,
|
|
648
650
|
getSlotProps: (e) => ({
|
|
@@ -655,15 +657,15 @@ var le = (e) => {
|
|
|
655
657
|
}),
|
|
656
658
|
additionalProps: {
|
|
657
659
|
appear: !0,
|
|
658
|
-
in:
|
|
660
|
+
in: x,
|
|
659
661
|
timeout: T,
|
|
660
662
|
direction: s === "top" ? "down" : "up"
|
|
661
663
|
},
|
|
662
664
|
ownerState: D
|
|
663
665
|
});
|
|
664
|
-
return !
|
|
666
|
+
return !x && P ? null : /* @__PURE__ */ M(z, {
|
|
665
667
|
...V,
|
|
666
|
-
...
|
|
668
|
+
...C.clickAwayListener && { ownerState: B },
|
|
667
669
|
children: /* @__PURE__ */ M(L, {
|
|
668
670
|
...R,
|
|
669
671
|
children: /* @__PURE__ */ M(W, {
|
|
@@ -735,37 +737,37 @@ function fe(e, t) {
|
|
|
735
737
|
return typeof e == "function" ? e(t) : e;
|
|
736
738
|
}
|
|
737
739
|
var Q = A.forwardRef(function(e, t) {
|
|
738
|
-
let n =
|
|
740
|
+
let n = l({
|
|
739
741
|
props: e,
|
|
740
742
|
name: "SSnackbarMessage"
|
|
741
743
|
}), { anchorOrigin: r = {
|
|
742
744
|
vertical: "top",
|
|
743
745
|
horizontal: "center"
|
|
744
|
-
}, autoHideDuration: i = 1e4, message: a, onClose: o, onCloseButtonClick: s, open: c = !1, severity:
|
|
746
|
+
}, autoHideDuration: i = 1e4, message: a, onClose: o, onCloseButtonClick: s, open: c = !1, severity: u = "info", slotProps: d, slots: f, ...p } = n, h = {
|
|
745
747
|
...n,
|
|
746
748
|
open: c,
|
|
747
|
-
severity:
|
|
748
|
-
}, { alert:
|
|
749
|
+
severity: u
|
|
750
|
+
}, { alert: g, ..._ } = f ?? {}, { alert: y, ...b } = d ?? {}, x = g ?? q, { onClose: S, sx: C, ...w } = fe(y, h) ?? {}, T = v(g, w, h), E = (e) => {
|
|
749
751
|
s?.(e), !e.defaultPrevented && S?.(e);
|
|
750
752
|
};
|
|
751
753
|
return /* @__PURE__ */ M(de, {
|
|
752
|
-
...
|
|
754
|
+
...p,
|
|
753
755
|
anchorOrigin: r,
|
|
754
756
|
autoHideDuration: i,
|
|
755
757
|
onClose: o,
|
|
756
758
|
open: c,
|
|
757
|
-
ownerState:
|
|
759
|
+
ownerState: h,
|
|
758
760
|
ref: t,
|
|
759
|
-
slots:
|
|
760
|
-
slotProps:
|
|
761
|
-
children: /* @__PURE__ */ M(
|
|
761
|
+
slots: _,
|
|
762
|
+
slotProps: b,
|
|
763
|
+
children: /* @__PURE__ */ M(x, {
|
|
762
764
|
...T,
|
|
763
765
|
onClose: s || S ? E : void 0,
|
|
764
|
-
severity:
|
|
766
|
+
severity: u,
|
|
765
767
|
sx: [{
|
|
766
768
|
width: "100%",
|
|
767
769
|
"& .MuiAlert-action": { justifyContent: "center" }
|
|
768
|
-
}, ...
|
|
770
|
+
}, ...m(C)],
|
|
769
771
|
children: a
|
|
770
772
|
})
|
|
771
773
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isValidCanvasColor as e, resolveCanvasColor as t } from "../utils/canvas-color.js";
|
|
2
|
-
import { t as n } from "../useForkRef-
|
|
2
|
+
import { t as n } from "../useForkRef-BuNFTXxE.js";
|
|
3
3
|
import * as r from "react";
|
|
4
4
|
import { jsx as i } from "react/jsx-runtime";
|
|
5
5
|
import { styled as a, useColorScheme as o, useMediaQuery as s, useTheme as c, useThemeProps as l } from "@mui/material";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toSxArray as e } from "../utils/sx.js";
|
|
2
|
-
import { t } from "../appendOwnerState-
|
|
2
|
+
import { t } from "../appendOwnerState-CFQTq3pb.js";
|
|
3
3
|
import { SLazyImage as n } from "../s-lazy-image/s-lazy-image.js";
|
|
4
4
|
import * as r from "react";
|
|
5
5
|
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { default, default as SStepper } from './s-stepper';
|
|
2
|
+
export type { SStepperOwnProps, SStepperOwnerState, SStepperProps, SStepperSlotProps, SStepperSlots, SStepperStep, SStepperStepState, SStepperTypeMap, } from './s-stepper';
|
|
3
|
+
export type {} from '../theme/component-augmentation';
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { OverridableComponent, OverrideProps } from '@mui/material/OverridableComponent';
|
|
2
|
+
import { StepProps } from '@mui/material/Step';
|
|
3
|
+
import { StepConnectorProps } from '@mui/material/StepConnector';
|
|
4
|
+
import { StepIconProps } from '@mui/material/StepIcon';
|
|
5
|
+
import { StepLabelProps } from '@mui/material/StepLabel';
|
|
6
|
+
import { StepperOwnProps, StepperProps } from '@mui/material/Stepper';
|
|
7
|
+
import { OwnerStateSlotProps as MuiOwnerStateSlotProps } from '../utils/slots';
|
|
8
|
+
import * as React from 'react';
|
|
9
|
+
/** A single step in the progress indicator. */
|
|
10
|
+
export interface SStepperStep {
|
|
11
|
+
/** Marks the step as done regardless of its position. Linear steppers complete preceding steps by default. */
|
|
12
|
+
completed?: boolean;
|
|
13
|
+
/** Secondary inline text rendered under the label. */
|
|
14
|
+
description?: number | string;
|
|
15
|
+
/** Passes the disabled state to MUI Step and dims its label and icon. */
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/** Replaces the default step icon. */
|
|
18
|
+
icon?: React.ReactNode;
|
|
19
|
+
/** Unique step key. */
|
|
20
|
+
key: string;
|
|
21
|
+
/** Visible step label. */
|
|
22
|
+
label: React.ReactNode;
|
|
23
|
+
}
|
|
24
|
+
/** Props owned by the reusable step/progress indicator. */
|
|
25
|
+
export interface SStepperOwnProps extends Omit<StepperOwnProps, 'children' | 'connector' | 'elevation' | 'square' | 'variant'> {
|
|
26
|
+
/**
|
|
27
|
+
* Zero-based index of the active step.
|
|
28
|
+
*
|
|
29
|
+
* Use `-1` to disable every step without an explicit override in linear
|
|
30
|
+
* mode. In non-linear mode, `-1` leaves every step inactive and preserves
|
|
31
|
+
* explicit per-step states.
|
|
32
|
+
* @default 0
|
|
33
|
+
*/
|
|
34
|
+
activeStep?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Places labels below their icons in horizontal orientation.
|
|
37
|
+
*
|
|
38
|
+
* MUI does not support alternative labels for vertical steppers, so this
|
|
39
|
+
* prop is ignored when `orientation="vertical"`.
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
alternativeLabel?: boolean;
|
|
43
|
+
/** Steps rendered in order. */
|
|
44
|
+
steps: SStepperStep[];
|
|
45
|
+
/** Components used for internal structural slots. */
|
|
46
|
+
slots?: SStepperSlots;
|
|
47
|
+
/** Props or step-state callbacks for internal structural slots. */
|
|
48
|
+
slotProps?: SStepperSlotProps;
|
|
49
|
+
}
|
|
50
|
+
export interface SStepperTypeMap<AdditionalProps = object, RootComponent extends React.ElementType = 'ol'> {
|
|
51
|
+
props: AdditionalProps & SStepperOwnProps;
|
|
52
|
+
defaultComponent: RootComponent;
|
|
53
|
+
}
|
|
54
|
+
export type SStepperProps<RootComponent extends React.ElementType = SStepperTypeMap['defaultComponent'], AdditionalProps = object> = OverrideProps<SStepperTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
55
|
+
component?: React.ElementType;
|
|
56
|
+
};
|
|
57
|
+
export interface SStepperOwnerState extends Omit<SStepperOwnProps, 'slotProps' | 'slots'> {
|
|
58
|
+
activeStep: number;
|
|
59
|
+
alternativeLabel: boolean;
|
|
60
|
+
component?: React.ElementType;
|
|
61
|
+
nonLinear: boolean;
|
|
62
|
+
orientation: NonNullable<StepperProps['orientation']>;
|
|
63
|
+
}
|
|
64
|
+
export interface SStepperStepState extends SStepperOwnerState {
|
|
65
|
+
active: boolean;
|
|
66
|
+
completed: boolean;
|
|
67
|
+
disabled: boolean;
|
|
68
|
+
index: number;
|
|
69
|
+
step: SStepperStep;
|
|
70
|
+
}
|
|
71
|
+
type RootSlotProps<Props> = MuiOwnerStateSlotProps<Props, SStepperOwnerState>;
|
|
72
|
+
type StepSlotProps<Props> = MuiOwnerStateSlotProps<Props, SStepperStepState>;
|
|
73
|
+
export interface SStepperSlots {
|
|
74
|
+
connector?: React.ElementType;
|
|
75
|
+
icon?: React.ElementType;
|
|
76
|
+
label?: React.ElementType;
|
|
77
|
+
root?: React.ElementType;
|
|
78
|
+
step?: React.ElementType;
|
|
79
|
+
}
|
|
80
|
+
export interface SStepperSlotProps {
|
|
81
|
+
connector?: RootSlotProps<StepConnectorProps>;
|
|
82
|
+
icon?: StepSlotProps<Partial<StepIconProps>>;
|
|
83
|
+
label?: StepSlotProps<Omit<StepLabelProps, 'children' | 'icon' | 'optional'>>;
|
|
84
|
+
root?: RootSlotProps<Omit<StepperProps, 'children' | 'connector' | 'elevation' | 'square' | 'variant'>>;
|
|
85
|
+
step?: StepSlotProps<Omit<StepProps, 'active' | 'children' | 'completed' | 'disabled'>>;
|
|
86
|
+
}
|
|
87
|
+
export declare const SStepper: OverridableComponent<SStepperTypeMap<object, "ol">> & {
|
|
88
|
+
displayName: string;
|
|
89
|
+
};
|
|
90
|
+
export default SStepper;
|