@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
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { n as e } from "./chunk-C_CI6nMA.js";
|
|
2
|
+
import { t } from "./prop-types-BzYPyWN7.js";
|
|
3
|
+
import { t as n } from "./chainPropTypes-CkMRtDjQ.js";
|
|
4
|
+
import * as r from "react";
|
|
5
|
+
//#region ../../node_modules/@mui/utils/getReactElementRef/getReactElementRef.mjs
|
|
6
|
+
function i(e) {
|
|
7
|
+
return parseInt(r.version, 10) >= 19 ? e?.props?.ref || null : e?.ref || null;
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region ../../node_modules/@mui/utils/elementAcceptingRef/elementAcceptingRef.mjs
|
|
11
|
+
var a = /* @__PURE__ */ e(t(), 1);
|
|
12
|
+
function o(e) {
|
|
13
|
+
let { prototype: t = {} } = e;
|
|
14
|
+
return !!t.isReactComponent;
|
|
15
|
+
}
|
|
16
|
+
function s(e, t, n, r, i) {
|
|
17
|
+
let a = e[t], s = i || t;
|
|
18
|
+
if (a == null || typeof window > "u") return null;
|
|
19
|
+
let c, l = a.type;
|
|
20
|
+
return typeof l == "function" && !o(l) && (c = "Did you accidentally use a plain function component for an element instead?"), c === void 0 ? null : /* @__PURE__ */ Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`);
|
|
21
|
+
}
|
|
22
|
+
var c = n(a.default.element, s);
|
|
23
|
+
c.isRequired = n(a.default.element.isRequired, s);
|
|
24
|
+
//#endregion
|
|
25
|
+
export { i as n, c as t };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { n as e } from "./chunk-C_CI6nMA.js";
|
|
2
|
+
import { t } from "./prop-types-BzYPyWN7.js";
|
|
3
|
+
import { t as n } from "./chainPropTypes-CkMRtDjQ.js";
|
|
4
|
+
import * as r from "react";
|
|
5
|
+
//#region ../../node_modules/@mui/utils/elementTypeAcceptingRef/elementTypeAcceptingRef.mjs
|
|
6
|
+
var i = /* @__PURE__ */ e(t(), 1);
|
|
7
|
+
function a(e) {
|
|
8
|
+
let { prototype: t = {} } = e;
|
|
9
|
+
return !!t.isReactComponent;
|
|
10
|
+
}
|
|
11
|
+
function o(e, t, n, i, o) {
|
|
12
|
+
let s = e[t], c = o || t;
|
|
13
|
+
if (s == null || typeof window > "u") return null;
|
|
14
|
+
let l;
|
|
15
|
+
return typeof s == "function" && !a(s) && (l = "Did you accidentally provide a plain function component instead?"), s === r.Fragment && (l = "Did you accidentally provide a React.Fragment instead?"), l === void 0 ? null : /* @__PURE__ */ Error(`Invalid ${i} \`${c}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`);
|
|
16
|
+
}
|
|
17
|
+
var s = n(i.default.elementType, o);
|
|
18
|
+
//#endregion
|
|
19
|
+
export { s as t };
|
|
@@ -9,15 +9,4 @@ function e() {
|
|
|
9
9
|
}, e.apply(null, arguments);
|
|
10
10
|
}
|
|
11
11
|
//#endregion
|
|
12
|
-
|
|
13
|
-
function t(e, t) {
|
|
14
|
-
if (e == null) return {};
|
|
15
|
-
var n = {};
|
|
16
|
-
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
17
|
-
if (t.indexOf(r) !== -1) continue;
|
|
18
|
-
n[r] = e[r];
|
|
19
|
-
}
|
|
20
|
-
return n;
|
|
21
|
-
}
|
|
22
|
-
//#endregion
|
|
23
|
-
export { e as n, t };
|
|
12
|
+
export { e as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./generateUtilityClass-PAIOm1jC.js";
|
|
2
2
|
import { t } from "./generateUtilityClasses-DvX505Gy.js";
|
|
3
|
-
import { n } from "./inputBaseClasses-
|
|
3
|
+
import { n } from "./inputBaseClasses-Ce_jjdp9.js";
|
|
4
4
|
//#region ../../node_modules/@mui/material/InputLabel/inputLabelClasses.mjs
|
|
5
5
|
function r(t) {
|
|
6
6
|
return e("MuiInputLabel", t);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region ../../node_modules/@mui/utils/isFocusVisible/isFocusVisible.mjs
|
|
2
|
+
function e(e) {
|
|
3
|
+
try {
|
|
4
|
+
return e.matches(":focus-visible");
|
|
5
|
+
} catch {
|
|
6
|
+
process.env.NODE_ENV !== "production" && !window.navigator.userAgent.includes("jsdom") && console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.", "Some components rely on this feature to work properly."].join("\n"));
|
|
7
|
+
}
|
|
8
|
+
return !1;
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { e as t };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
//#region ../../node_modules/@mui/utils/isMuiElement/isMuiElement.mjs
|
|
3
|
+
function t(t, n) {
|
|
4
|
+
return /* @__PURE__ */ e.isValidElement(t) && n.indexOf(t.type.muiName ?? t.type?._payload?.value?.muiName) !== -1;
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region ../../node_modules/@mui/material/utils/isMuiElement.mjs
|
|
8
|
+
var n = t;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { n as t };
|
package/dist/main.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./palettes-
|
|
1
|
+
import { n as e, r as t, t as n } from "./palettes-B1FcGUYs.js";
|
|
2
2
|
export { e as PALETTE_OPTIONS, t as VARIANTS, n as paletteThemeOptions };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { resolveOwnerStateSlotProps as e } from "./utils/slots.js";
|
|
2
|
+
import { t } from "./useForkRef-BuNFTXxE.js";
|
|
3
|
+
import { t as n } from "./appendOwnerState-CFQTq3pb.js";
|
|
4
|
+
import { t as r } from "./createSvgIcon-3y-gS0r1.js";
|
|
5
|
+
import { t as i } from "./mergeSlotProps-DC8r4QzS.js";
|
|
6
|
+
import { TRIGGER_ATTRIBUTE as a } from "./s-mega-menu/utils.js";
|
|
7
|
+
import { SMegaMenuTrigger as o, SMegaMenuTriggerArrow as s } from "./s-mega-menu/mega-menu-slots.js";
|
|
8
|
+
import * as c from "react";
|
|
9
|
+
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
10
|
+
//#region ../../node_modules/@mui/icons-material/KeyboardArrowDown.mjs
|
|
11
|
+
var d = r(/* @__PURE__ */ l("path", { d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z" }), "KeyboardArrowDown");
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region lib/s-mega-menu/mega-menu-trigger.tsx
|
|
14
|
+
function f({ active: r, hasPanel: f, item: p, linkComponent: m, onClick: h, onFocus: g, onKeyDown: _, onPointerEnter: v, onPointerLeave: y, open: b, ownerState: x, panelId: S, registerRef: C, renderTrigger: w, slotProps: T, slots: E, triggerId: D }) {
|
|
15
|
+
let O = {
|
|
16
|
+
...x,
|
|
17
|
+
active: r,
|
|
18
|
+
hasPanel: f,
|
|
19
|
+
item: p,
|
|
20
|
+
open: b
|
|
21
|
+
}, k = E?.trigger ?? o, A = E?.triggerArrow ?? s, j = f || !p.href ? "button" : p.component ?? m ?? "a", { ref: M, ...N } = n(k, i(e(T?.trigger, O), {
|
|
22
|
+
[a]: "",
|
|
23
|
+
"aria-controls": b ? S : void 0,
|
|
24
|
+
"aria-current": r && !f ? "page" : void 0,
|
|
25
|
+
"aria-expanded": f ? b : void 0,
|
|
26
|
+
component: j,
|
|
27
|
+
disabled: p.disabled,
|
|
28
|
+
href: f ? void 0 : p.href,
|
|
29
|
+
id: D,
|
|
30
|
+
nativeButton: j === "button",
|
|
31
|
+
onClick: h,
|
|
32
|
+
onFocus: g,
|
|
33
|
+
onKeyDown: _,
|
|
34
|
+
onPointerEnter: v,
|
|
35
|
+
onPointerLeave: y,
|
|
36
|
+
rel: p.rel,
|
|
37
|
+
target: p.target
|
|
38
|
+
}), O), P = n(A, e(T?.triggerArrow, O) ?? {}, O), F = t(M, c.useCallback((e) => C(p.id, e), [p.id, C]));
|
|
39
|
+
return /* @__PURE__ */ l(k, {
|
|
40
|
+
...N,
|
|
41
|
+
ref: F,
|
|
42
|
+
children: w ? w(p, O) : /* @__PURE__ */ u(c.Fragment, { children: [
|
|
43
|
+
p.icon,
|
|
44
|
+
/* @__PURE__ */ l("span", { children: p.label }),
|
|
45
|
+
f ? /* @__PURE__ */ l(A, {
|
|
46
|
+
...P,
|
|
47
|
+
children: /* @__PURE__ */ l(d, { fontSize: "small" })
|
|
48
|
+
}) : null
|
|
49
|
+
] })
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
//#endregion
|
|
53
|
+
export { f as t };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
if (e == null) return {};
|
|
4
|
+
var n = {};
|
|
5
|
+
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
6
|
+
if (t.indexOf(r) !== -1) continue;
|
|
7
|
+
n[r] = e[r];
|
|
8
|
+
}
|
|
9
|
+
return n;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { e as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./generateUtilityClass-PAIOm1jC.js";
|
|
2
2
|
import { t } from "./generateUtilityClasses-DvX505Gy.js";
|
|
3
|
-
import { n } from "./inputBaseClasses-
|
|
3
|
+
import { n } from "./inputBaseClasses-Ce_jjdp9.js";
|
|
4
4
|
//#region ../../node_modules/@mui/material/OutlinedInput/outlinedInputClasses.mjs
|
|
5
5
|
function r(t) {
|
|
6
6
|
return e("MuiOutlinedInput", t);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { c as e } from "./Modal-CD2EBfU8.js";
|
|
2
|
+
//#region ../../node_modules/@mui/utils/debounce/debounce.mjs
|
|
3
|
+
function t(e, t = 166) {
|
|
4
|
+
let n;
|
|
5
|
+
function r(...r) {
|
|
6
|
+
clearTimeout(n), n = setTimeout(() => {
|
|
7
|
+
e.apply(this, r);
|
|
8
|
+
}, t);
|
|
9
|
+
}
|
|
10
|
+
return r.clear = () => {
|
|
11
|
+
clearTimeout(n);
|
|
12
|
+
}, r;
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region ../../node_modules/@mui/material/utils/debounce.mjs
|
|
16
|
+
var n = t, r = e;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { n, t as r, r as t };
|
package/dist/palettes/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../palettes-
|
|
1
|
+
import { n as e, r as t, t as n } from "../palettes-B1FcGUYs.js";
|
|
2
2
|
export { e as PALETTE_OPTIONS, t as VARIANTS, n as paletteThemeOptions };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./colorManipulator-DmUjcif3.js";
|
|
2
|
-
import { g as t, h as n } from "./colors-
|
|
3
|
-
import { t as r } from "./gradients-
|
|
2
|
+
import { g as t, h as n } from "./colors-Bik9qOU9.js";
|
|
3
|
+
import { t as r } from "./gradients-mQAYCK0_.js";
|
|
4
4
|
//#region ../core/dist/palettes/aurora.js
|
|
5
5
|
var i = {
|
|
6
6
|
label: "Aurora",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { n as e } from "./chunk-C_CI6nMA.js";
|
|
2
|
+
import { t } from "./prop-types-BzYPyWN7.js";
|
|
3
|
+
//#region ../../node_modules/@mui/utils/refType/refType.mjs
|
|
4
|
+
var n = /* @__PURE__ */ e(t(), 1), r = n.default.oneOfType([n.default.func, n.default.object]);
|
|
5
|
+
//#endregion
|
|
6
|
+
export { r as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-accordion-
|
|
1
|
+
import { t as e } from "../s-accordion-1oLxQhod.js";
|
|
2
2
|
export { e as SAccordion, e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-accordion-
|
|
1
|
+
import { t as e } from "../s-accordion-1oLxQhod.js";
|
|
2
2
|
export { e as SAccordion, e as default };
|
|
@@ -6,19 +6,19 @@ 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 "./Stack-
|
|
10
|
-
import { t as u } from "./
|
|
11
|
-
import { t as d } from "./
|
|
9
|
+
import { t as l } from "./Stack-C0LGzM4c.js";
|
|
10
|
+
import { t as u } from "./useThemeProps-Dw9dmKyT.js";
|
|
11
|
+
import { t as d } from "./memoTheme-qFyKAk7y.js";
|
|
12
12
|
import { toSxArray as f } from "./utils/sx.js";
|
|
13
|
-
import { t as p } from "./
|
|
14
|
-
import {
|
|
15
|
-
import { t as h } from "./appendOwnerState-
|
|
16
|
-
import { t as g } from "./useSlot-
|
|
17
|
-
import { t as _ } from "./useControlled-
|
|
18
|
-
import { t as v } from "./Paper-
|
|
19
|
-
import { t as y } from "./ExpandMore-
|
|
20
|
-
import { t as b } from "./Typography-
|
|
21
|
-
import { t as x } from "./Collapse-
|
|
13
|
+
import { t as p } from "./chainPropTypes-CkMRtDjQ.js";
|
|
14
|
+
import { t as m } from "./ButtonBase-DovDC6-1.js";
|
|
15
|
+
import { t as h } from "./appendOwnerState-CFQTq3pb.js";
|
|
16
|
+
import { t as g } from "./useSlot-BG8ReOxN.js";
|
|
17
|
+
import { t as _ } from "./useControlled-DqNPBJNp.js";
|
|
18
|
+
import { t as v } from "./Paper-_3qggtBp.js";
|
|
19
|
+
import { t as y } from "./ExpandMore-sOgvEha9.js";
|
|
20
|
+
import { t as b } from "./Typography-_P0svrkO.js";
|
|
21
|
+
import { t as x } from "./Collapse-DPUr1cbP.js";
|
|
22
22
|
import * as S from "react";
|
|
23
23
|
import { jsx as C, jsxs as w } from "react/jsx-runtime";
|
|
24
24
|
//#region ../../node_modules/@mui/material/Accordion/AccordionContext.mjs
|
|
@@ -62,7 +62,7 @@ var k = s("MuiAccordion", [
|
|
|
62
62
|
!n.disableGutters && t.gutters
|
|
63
63
|
];
|
|
64
64
|
}
|
|
65
|
-
})(
|
|
65
|
+
})(d(({ theme: e }) => {
|
|
66
66
|
let t = { duration: e.transitions.duration.shortest };
|
|
67
67
|
return {
|
|
68
68
|
position: "relative",
|
|
@@ -88,7 +88,7 @@ var k = s("MuiAccordion", [
|
|
|
88
88
|
},
|
|
89
89
|
[`&.${k.disabled}`]: { backgroundColor: (e.vars || e).palette.action.disabledBackground }
|
|
90
90
|
};
|
|
91
|
-
}),
|
|
91
|
+
}), d(({ theme: e }) => ({ variants: [{
|
|
92
92
|
props: (e) => !e.square,
|
|
93
93
|
style: {
|
|
94
94
|
borderRadius: 0,
|
|
@@ -197,7 +197,7 @@ var k = s("MuiAccordion", [
|
|
|
197
197
|
});
|
|
198
198
|
});
|
|
199
199
|
process.env.NODE_ENV !== "production" && (P.propTypes = {
|
|
200
|
-
children:
|
|
200
|
+
children: p(T.default.node.isRequired, (e) => {
|
|
201
201
|
let t = S.Children.toArray(e.children)[0];
|
|
202
202
|
return (0, E.isFragment)(t) ? /* @__PURE__ */ Error("MUI: The Accordion doesn't accept a Fragment as a child. Consider providing an array instead.") : /* @__PURE__ */ S.isValidElement(t) ? null : /* @__PURE__ */ Error("MUI: Expected the first child of Accordion to be a valid element.");
|
|
203
203
|
}),
|
|
@@ -244,7 +244,7 @@ var I = (e) => {
|
|
|
244
244
|
}, L = c("div", {
|
|
245
245
|
name: "MuiAccordionDetails",
|
|
246
246
|
slot: "Root"
|
|
247
|
-
})(
|
|
247
|
+
})(d(({ theme: e }) => ({ padding: e.spacing(1, 2, 2) }))), R = /* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
248
248
|
let n = r({
|
|
249
249
|
props: e,
|
|
250
250
|
name: "MuiAccordionDetails"
|
|
@@ -296,10 +296,10 @@ var B = s("MuiAccordionSummary", [
|
|
|
296
296
|
content: ["content", r && "expanded"],
|
|
297
297
|
expandIconWrapper: ["expandIconWrapper", r && "expanded"]
|
|
298
298
|
}, z, t);
|
|
299
|
-
}, H = c(
|
|
299
|
+
}, H = c(m, {
|
|
300
300
|
name: "MuiAccordionSummary",
|
|
301
301
|
slot: "Root"
|
|
302
|
-
})(
|
|
302
|
+
})(d(({ theme: e }) => {
|
|
303
303
|
let t = { duration: e.transitions.duration.shortest };
|
|
304
304
|
return {
|
|
305
305
|
display: "flex",
|
|
@@ -318,7 +318,7 @@ var B = s("MuiAccordionSummary", [
|
|
|
318
318
|
})), U = c("span", {
|
|
319
319
|
name: "MuiAccordionSummary",
|
|
320
320
|
slot: "Content"
|
|
321
|
-
})(
|
|
321
|
+
})(d(({ theme: e }) => ({
|
|
322
322
|
display: "flex",
|
|
323
323
|
textAlign: "start",
|
|
324
324
|
flexGrow: 1,
|
|
@@ -333,7 +333,7 @@ var B = s("MuiAccordionSummary", [
|
|
|
333
333
|
}))), W = c("span", {
|
|
334
334
|
name: "MuiAccordionSummary",
|
|
335
335
|
slot: "ExpandIconWrapper"
|
|
336
|
-
})(
|
|
336
|
+
})(d(({ theme: e }) => ({
|
|
337
337
|
display: "flex",
|
|
338
338
|
color: (e.vars || e).palette.action.active,
|
|
339
339
|
transform: "rotate(0deg)",
|
|
@@ -436,10 +436,10 @@ function q(e, t) {
|
|
|
436
436
|
return typeof e == "function" ? e(t) : e;
|
|
437
437
|
}
|
|
438
438
|
var J = S.forwardRef(function(e, t) {
|
|
439
|
-
let n =
|
|
439
|
+
let n = u({
|
|
440
440
|
props: e,
|
|
441
441
|
name: "SAccordion"
|
|
442
|
-
}), { children: r, defaultExpanded: i = !1, disabled: a = !1, expandIcon: o = /* @__PURE__ */ C(y, {}), expanded: s, onChange: c, slotProps:
|
|
442
|
+
}), { children: r, defaultExpanded: i = !1, disabled: a = !1, expandIcon: o = /* @__PURE__ */ C(y, {}), expanded: s, onChange: c, slotProps: d, slots: p, startIcon: m, title: g, ...v } = n, [x, S] = _({
|
|
443
443
|
controlled: s,
|
|
444
444
|
default: i,
|
|
445
445
|
name: "SAccordion",
|
|
@@ -448,7 +448,7 @@ var J = S.forwardRef(function(e, t) {
|
|
|
448
448
|
...n,
|
|
449
449
|
disabled: a,
|
|
450
450
|
expanded: x
|
|
451
|
-
}, { details: E = R, summary: D = G, summaryContent: O = l, title: k = b, ...A } = p ?? {}, { details: j, summary: M, summaryContent: N, title: P, ...F } =
|
|
451
|
+
}, { details: E = R, summary: D = G, summaryContent: O = l, title: k = b, ...A } = p ?? {}, { details: j, summary: M, summaryContent: N, title: P, ...F } = d ?? {}, I = h(p?.summary, q(M, T) ?? {}, T), L = h(p?.summaryContent, q(N, T) ?? {}, T), z = h(p?.title, q(P, T) ?? {}, T), B = h(p?.details, q(j, T) ?? {}, T), { sx: V, ...H } = L, { sx: U, ...W } = z;
|
|
452
452
|
return /* @__PURE__ */ w(K, {
|
|
453
453
|
elevation: 0,
|
|
454
454
|
...v,
|
|
@@ -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 { SIconButton as n } from "../s-icon-button/s-icon-button.js";
|
|
4
4
|
import * as r from "react";
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { default, default as SAnimatedGradientText } from './s-animated-gradient-text';
|
|
2
|
+
export type { SAnimatedGradientTextDirection, SAnimatedGradientTextComponent, SAnimatedGradientTextOwnProps, SAnimatedGradientTextOwnerState, SAnimatedGradientTextProps, SAnimatedGradientTextSlotProps, SAnimatedGradientTextSlots, } from './s-animated-gradient-text';
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { TypographyOwnProps, TypographyProps } from '@mui/material';
|
|
2
|
+
import { OwnerStateSlotProps } from '../utils/slots';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
/** Axis the gradient sweeps along. */
|
|
5
|
+
export type SAnimatedGradientTextDirection = 'diagonal' | 'horizontal' | 'vertical';
|
|
6
|
+
interface SAnimatedGradientTextBaseProps extends Omit<TypographyOwnProps, 'children' | 'color'> {
|
|
7
|
+
/** Reverses the sweep on alternate cycles instead of restarting it. */
|
|
8
|
+
alternate?: boolean;
|
|
9
|
+
/** Duration of one gradient sweep, in milliseconds. */
|
|
10
|
+
animationDuration?: number;
|
|
11
|
+
/** Text content painted with the animated gradient. */
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* At least two gradient stop colors, in order. The first stop is repeated at
|
|
15
|
+
* the end so a non-alternating loop wraps without a seam. Defaults to the theme
|
|
16
|
+
* primary and secondary semantic colors, so palette switches follow along.
|
|
17
|
+
*/
|
|
18
|
+
colors?: readonly [string, string, ...string[]];
|
|
19
|
+
/** Axis the gradient sweeps along. */
|
|
20
|
+
direction?: SAnimatedGradientTextDirection;
|
|
21
|
+
/** Freezes the sweep while a fine pointer is over the text. */
|
|
22
|
+
pauseOnHover?: boolean;
|
|
23
|
+
/** Freezes the sweep. */
|
|
24
|
+
paused?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface SAnimatedGradientTextOwnProps extends SAnimatedGradientTextBaseProps {
|
|
27
|
+
/** Components used for internal structural slots. */
|
|
28
|
+
slots?: SAnimatedGradientTextSlots;
|
|
29
|
+
/** Props or owner-state callbacks for internal structural slots. */
|
|
30
|
+
slotProps?: SAnimatedGradientTextSlotProps;
|
|
31
|
+
}
|
|
32
|
+
/** Props for <SAnimatedGradientText>. */
|
|
33
|
+
export type SAnimatedGradientTextProps = SAnimatedGradientTextOwnProps & Omit<TypographyProps, keyof SAnimatedGradientTextOwnProps | 'children' | 'color'> & {
|
|
34
|
+
/**
|
|
35
|
+
* The root element or component rendered by MUI Typography.
|
|
36
|
+
*
|
|
37
|
+
* The public component overload narrows its native props when this is set.
|
|
38
|
+
*/
|
|
39
|
+
component?: React.ElementType;
|
|
40
|
+
};
|
|
41
|
+
export interface SAnimatedGradientTextOwnerState extends SAnimatedGradientTextBaseProps {
|
|
42
|
+
alternate: boolean;
|
|
43
|
+
animationDuration: number;
|
|
44
|
+
direction: SAnimatedGradientTextDirection;
|
|
45
|
+
pauseOnHover: boolean;
|
|
46
|
+
paused: boolean;
|
|
47
|
+
}
|
|
48
|
+
export interface SAnimatedGradientTextSlots {
|
|
49
|
+
/** Component used for the root slot. */
|
|
50
|
+
root?: React.ElementType;
|
|
51
|
+
}
|
|
52
|
+
export interface SAnimatedGradientTextSlotProps {
|
|
53
|
+
/** Props or owner-state callback applied to the root slot. */
|
|
54
|
+
root?: OwnerStateSlotProps<Omit<TypographyProps, 'children' | 'color'>, SAnimatedGradientTextOwnerState>;
|
|
55
|
+
}
|
|
56
|
+
export interface SAnimatedGradientTextComponent {
|
|
57
|
+
<RootComponent extends React.ElementType = 'span'>(props: {
|
|
58
|
+
/** The root element or component rendered by MUI Typography. */
|
|
59
|
+
component?: RootComponent;
|
|
60
|
+
} & SAnimatedGradientTextOwnProps & Omit<React.ComponentPropsWithRef<NoInfer<RootComponent>>, keyof SAnimatedGradientTextOwnProps | 'children' | 'color' | 'component'>): React.JSX.Element | null;
|
|
61
|
+
displayName?: string;
|
|
62
|
+
}
|
|
63
|
+
export declare const SAnimatedGradientText: SAnimatedGradientTextComponent;
|
|
64
|
+
export default SAnimatedGradientText;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { resolveOwnerStateSlotProps as e } from "../utils/slots.js";
|
|
2
|
+
import { t } from "../useForkRef-BuNFTXxE.js";
|
|
3
|
+
import { t as n } from "../appendOwnerState-CFQTq3pb.js";
|
|
4
|
+
import { t as r } from "../mergeSlotProps-DC8r4QzS.js";
|
|
5
|
+
import * as i from "react";
|
|
6
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
7
|
+
import { Typography as o, keyframes as s, styled as c, useThemeProps as l } from "@mui/material";
|
|
8
|
+
//#region lib/s-animated-gradient-text/s-animated-gradient-text.tsx
|
|
9
|
+
var u = s`
|
|
10
|
+
from { background-position: 0% 50%; }
|
|
11
|
+
to { background-position: 100% 50%; }
|
|
12
|
+
`, d = s`
|
|
13
|
+
from { background-position: 50% 0%; }
|
|
14
|
+
to { background-position: 50% 100%; }
|
|
15
|
+
`, f = {
|
|
16
|
+
diagonal: {
|
|
17
|
+
angle: "to bottom right",
|
|
18
|
+
backgroundSize: "300% 300%",
|
|
19
|
+
keyframe: s`
|
|
20
|
+
from { background-position: 0% 0%; }
|
|
21
|
+
to { background-position: 100% 100%; }
|
|
22
|
+
`
|
|
23
|
+
},
|
|
24
|
+
horizontal: {
|
|
25
|
+
angle: "to right",
|
|
26
|
+
backgroundSize: "300% 100%",
|
|
27
|
+
keyframe: u
|
|
28
|
+
},
|
|
29
|
+
vertical: {
|
|
30
|
+
angle: "to bottom",
|
|
31
|
+
backgroundSize: "100% 300%",
|
|
32
|
+
keyframe: d
|
|
33
|
+
}
|
|
34
|
+
}, p = 200 / 3, m = (e, t) => {
|
|
35
|
+
let n = (e.vars ?? e).palette, { angle: r, backgroundSize: i, keyframe: a } = f[t.direction], o = t.colors?.length ? t.colors : [n.primary.main, n.secondary.main], s = [...o, o[0]].map((e, t) => `${e} ${t / o.length * p}%`).join(", ");
|
|
36
|
+
return {
|
|
37
|
+
animation: `${a} ${t.animationDuration}ms linear infinite`,
|
|
38
|
+
animationDirection: t.alternate ? "alternate" : "normal",
|
|
39
|
+
backgroundImage: `repeating-linear-gradient(${r}, ${s})`,
|
|
40
|
+
backgroundRepeat: "no-repeat",
|
|
41
|
+
backgroundSize: i,
|
|
42
|
+
"@media (prefers-reduced-motion: reduce)": {
|
|
43
|
+
animation: "none",
|
|
44
|
+
backgroundPosition: "center"
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
}, h = c(o, {
|
|
48
|
+
name: "SAnimatedGradientText",
|
|
49
|
+
slot: "Root",
|
|
50
|
+
shouldForwardProp: (e) => e !== "ownerState"
|
|
51
|
+
})(({ ownerState: e, theme: t }) => ({
|
|
52
|
+
...m(t, e),
|
|
53
|
+
backgroundClip: "text",
|
|
54
|
+
color: "transparent",
|
|
55
|
+
display: "inline-block",
|
|
56
|
+
WebkitBackgroundClip: "text",
|
|
57
|
+
WebkitTextFillColor: "transparent",
|
|
58
|
+
"@media (forced-colors: active)": {
|
|
59
|
+
backgroundImage: "none",
|
|
60
|
+
color: "CanvasText",
|
|
61
|
+
WebkitTextFillColor: "revert"
|
|
62
|
+
},
|
|
63
|
+
variants: [{
|
|
64
|
+
props: ({ ownerState: e }) => e.paused,
|
|
65
|
+
style: { animationPlayState: "paused" }
|
|
66
|
+
}, {
|
|
67
|
+
props: ({ ownerState: e }) => e.pauseOnHover,
|
|
68
|
+
style: { "@media (hover: hover) and (pointer: fine)": { "&:hover": { animationPlayState: "paused" } } }
|
|
69
|
+
}]
|
|
70
|
+
}));
|
|
71
|
+
function g(i, o) {
|
|
72
|
+
let s = l({
|
|
73
|
+
props: i,
|
|
74
|
+
name: "SAnimatedGradientText"
|
|
75
|
+
}), { alternate: c = !0, animationDuration: u = 8e3, children: d, colors: f, direction: p = "horizontal", pauseOnHover: m = !1, paused: g = !1, slotProps: _, slots: v, ...y } = s, b = {
|
|
76
|
+
...s,
|
|
77
|
+
alternate: c,
|
|
78
|
+
animationDuration: u,
|
|
79
|
+
colors: f,
|
|
80
|
+
direction: p,
|
|
81
|
+
pauseOnHover: m,
|
|
82
|
+
paused: g
|
|
83
|
+
}, x = v?.root ?? h, { ref: S, ...C } = n(x, r(e(_?.root, b), y), b), w = t(S, o);
|
|
84
|
+
return /* @__PURE__ */ a(x, {
|
|
85
|
+
...C,
|
|
86
|
+
ref: w,
|
|
87
|
+
children: d
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
var _ = i.forwardRef(g);
|
|
91
|
+
_.displayName = "SAnimatedGradientText";
|
|
92
|
+
//#endregion
|
|
93
|
+
export { _ as SAnimatedGradientText, _ as default };
|