@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "../styled-Bog8QCl3.js";
|
|
2
|
-
import { t } from "../useThemeProps-
|
|
2
|
+
import { t } from "../useThemeProps-Dw9dmKyT.js";
|
|
3
3
|
import { toSxArray as n } from "../utils/sx.js";
|
|
4
4
|
import { SMovingBorder as r } from "../s-moving-border/s-moving-border.js";
|
|
5
5
|
import i from "react";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { default, default as SGradientBlobPulse } from './s-gradient-blob-pulse';
|
|
2
|
+
export type { SGradientBlobPulseBlobOwnerState, SGradientBlobPulseOwnerState, SGradientBlobPulseProps, SGradientBlobPulseSize, SGradientBlobPulseSlotProps, SGradientBlobPulseSlots, SGradientBlobPulseVariant, } from './s-gradient-blob-pulse';
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { BoxProps } from '@mui/material';
|
|
2
|
+
import { OwnerStateSlotProps } from '../utils/slots';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
/** Overall footprint of the blob field: blob diameters, blur and minimum size. */
|
|
5
|
+
export type SGradientBlobPulseSize = 'large' | 'medium' | 'small';
|
|
6
|
+
/** Intensity of the blob fill, from a faint wash to a saturated glow. */
|
|
7
|
+
export type SGradientBlobPulseVariant = 'balanced' | 'soft' | 'vivid';
|
|
8
|
+
/** Props for <SGradientBlobPulse>. */
|
|
9
|
+
export interface SGradientBlobPulseProps extends Omit<BoxProps, 'children' | 'component'> {
|
|
10
|
+
/** Duration of one blob pulse, in milliseconds. The color cycle scales with it. */
|
|
11
|
+
animationDuration?: number;
|
|
12
|
+
/** Content rendered above the animated backdrop. */
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* Up to four colors the blobs cycle through. Shorter arrays are padded by
|
|
16
|
+
* repeating the first color. Defaults to the theme brand and secondary ramps,
|
|
17
|
+
* so palette switches follow along.
|
|
18
|
+
*/
|
|
19
|
+
colors?: string[];
|
|
20
|
+
/** Freezes the pulse and the color cycle. */
|
|
21
|
+
paused?: boolean;
|
|
22
|
+
/** Overall footprint of the blob field: blob diameters, blur and minimum size. */
|
|
23
|
+
size?: SGradientBlobPulseSize;
|
|
24
|
+
/** Props or owner-state callbacks for internal structural slots. */
|
|
25
|
+
slotProps?: SGradientBlobPulseSlotProps;
|
|
26
|
+
/** Components used for internal structural slots. */
|
|
27
|
+
slots?: SGradientBlobPulseSlots;
|
|
28
|
+
/** Intensity of the blob fill, from a faint wash to a saturated glow. */
|
|
29
|
+
variant?: SGradientBlobPulseVariant;
|
|
30
|
+
}
|
|
31
|
+
export interface SGradientBlobPulseOwnerState extends SGradientBlobPulseProps {
|
|
32
|
+
animationDuration: number;
|
|
33
|
+
paused: boolean;
|
|
34
|
+
size: SGradientBlobPulseSize;
|
|
35
|
+
variant: SGradientBlobPulseVariant;
|
|
36
|
+
}
|
|
37
|
+
/** Owner state handed to the `blob` slot, identifying which of the three blobs it is. */
|
|
38
|
+
export interface SGradientBlobPulseBlobOwnerState extends SGradientBlobPulseOwnerState {
|
|
39
|
+
index: 0 | 1 | 2;
|
|
40
|
+
}
|
|
41
|
+
export interface SGradientBlobPulseSlots {
|
|
42
|
+
/** One of the three animated blobs. */
|
|
43
|
+
blob?: React.ElementType;
|
|
44
|
+
/** Wraps `children` above the blob field. */
|
|
45
|
+
content?: React.ElementType;
|
|
46
|
+
root?: React.ElementType;
|
|
47
|
+
}
|
|
48
|
+
export interface SGradientBlobPulseSlotProps {
|
|
49
|
+
blob?: OwnerStateSlotProps<Omit<BoxProps, 'children'>, SGradientBlobPulseBlobOwnerState>;
|
|
50
|
+
content?: OwnerStateSlotProps<Omit<BoxProps, 'children'>, SGradientBlobPulseOwnerState>;
|
|
51
|
+
root?: OwnerStateSlotProps<Omit<BoxProps, 'children'>, SGradientBlobPulseOwnerState>;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Three drifting, color-cycling gradient blobs behind arbitrary content —
|
|
55
|
+
* an ambient backdrop for hero panels, cards and empty states.
|
|
56
|
+
*
|
|
57
|
+
* The field keeps a minimum footprint from `size` so the blobs stay inside it,
|
|
58
|
+
* while their blur halo bleeds past the edge; contain it with `overflow` from
|
|
59
|
+
* `sx`, and retune the radius with the `--SGradientBlobPulse-blur` variable.
|
|
60
|
+
*/
|
|
61
|
+
export declare const SGradientBlobPulse: React.ForwardRefExoticComponent<Omit<SGradientBlobPulseProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
62
|
+
export default SGradientBlobPulse;
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { toSxArray as e } from "../utils/sx.js";
|
|
2
|
+
import { resolveOwnerStateSlotProps as t } from "../utils/slots.js";
|
|
3
|
+
import { t as n } from "../useForkRef-BuNFTXxE.js";
|
|
4
|
+
import { t as r } from "../appendOwnerState-CFQTq3pb.js";
|
|
5
|
+
import { t as i } from "../mergeSlotProps-DC8r4QzS.js";
|
|
6
|
+
import * as a from "react";
|
|
7
|
+
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
8
|
+
import { Box as c, keyframes as l, styled as u, useThemeProps as d } from "@mui/material";
|
|
9
|
+
//#region lib/s-gradient-blob-pulse/s-gradient-blob-pulse.tsx
|
|
10
|
+
var f = "--SGradientBlobPulse-blur", p = {
|
|
11
|
+
large: {
|
|
12
|
+
blobSizes: [
|
|
13
|
+
260,
|
|
14
|
+
200,
|
|
15
|
+
140
|
|
16
|
+
],
|
|
17
|
+
blur: 40
|
|
18
|
+
},
|
|
19
|
+
medium: {
|
|
20
|
+
blobSizes: [
|
|
21
|
+
180,
|
|
22
|
+
140,
|
|
23
|
+
100
|
|
24
|
+
],
|
|
25
|
+
blur: 28
|
|
26
|
+
},
|
|
27
|
+
small: {
|
|
28
|
+
blobSizes: [
|
|
29
|
+
80,
|
|
30
|
+
60,
|
|
31
|
+
40
|
|
32
|
+
],
|
|
33
|
+
blur: 14
|
|
34
|
+
}
|
|
35
|
+
}, m = 1.3, h = {
|
|
36
|
+
balanced: {
|
|
37
|
+
colorCore: "50%",
|
|
38
|
+
colorMid: "18%",
|
|
39
|
+
fadeEnd: "64%",
|
|
40
|
+
fadeMid: "34%",
|
|
41
|
+
opacities: [
|
|
42
|
+
.48,
|
|
43
|
+
.38,
|
|
44
|
+
.32
|
|
45
|
+
],
|
|
46
|
+
sizeScale: 1
|
|
47
|
+
},
|
|
48
|
+
soft: {
|
|
49
|
+
colorCore: "34%",
|
|
50
|
+
colorMid: "10%",
|
|
51
|
+
fadeEnd: "52%",
|
|
52
|
+
fadeMid: "26%",
|
|
53
|
+
opacities: [
|
|
54
|
+
.28,
|
|
55
|
+
.22,
|
|
56
|
+
.18
|
|
57
|
+
],
|
|
58
|
+
sizeScale: 1
|
|
59
|
+
},
|
|
60
|
+
vivid: {
|
|
61
|
+
colorCore: "68%",
|
|
62
|
+
colorMid: "30%",
|
|
63
|
+
fadeEnd: "74%",
|
|
64
|
+
fadeMid: "40%",
|
|
65
|
+
opacities: [
|
|
66
|
+
.62,
|
|
67
|
+
.52,
|
|
68
|
+
.44
|
|
69
|
+
],
|
|
70
|
+
sizeScale: 1.08
|
|
71
|
+
}
|
|
72
|
+
}, g = [
|
|
73
|
+
{
|
|
74
|
+
colorDelay: 0,
|
|
75
|
+
pulseDelay: 0,
|
|
76
|
+
pulseDuration: 1
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
colorDelay: .625,
|
|
80
|
+
pulseDelay: -.1875,
|
|
81
|
+
pulseDuration: .875
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
colorDelay: 1.25,
|
|
85
|
+
pulseDelay: -.34375,
|
|
86
|
+
pulseDuration: 1.125
|
|
87
|
+
}
|
|
88
|
+
], _ = 2.5, v = [
|
|
89
|
+
l`
|
|
90
|
+
0%, 100% { transform: translate(-54%, -50%) scale(1); }
|
|
91
|
+
50% { transform: translate(-47%, -55%) scale(1.22); }
|
|
92
|
+
`,
|
|
93
|
+
l`
|
|
94
|
+
0%, 100% { transform: translate(-46%, -48%) scale(1); }
|
|
95
|
+
50% { transform: translate(-53%, -43%) scale(1.16); }
|
|
96
|
+
`,
|
|
97
|
+
l`
|
|
98
|
+
0%, 100% { transform: translate(-50%, -56%) scale(1); }
|
|
99
|
+
50% { transform: translate(-43%, -49%) scale(1.25); }
|
|
100
|
+
`
|
|
101
|
+
], y = l`
|
|
102
|
+
0%, 100% { background-image: var(--SGradientBlobPulse-gradient-1); }
|
|
103
|
+
25% { background-image: var(--SGradientBlobPulse-gradient-2); }
|
|
104
|
+
50% { background-image: var(--SGradientBlobPulse-gradient-3); }
|
|
105
|
+
75% { background-image: var(--SGradientBlobPulse-gradient-4); }
|
|
106
|
+
`, b = (e, t) => {
|
|
107
|
+
let n = (e.vars ?? e).palette, r = t.colors?.length ? t.colors : [
|
|
108
|
+
n.primary[300],
|
|
109
|
+
n.primary[600],
|
|
110
|
+
n.secondary[400],
|
|
111
|
+
n.secondary[600]
|
|
112
|
+
];
|
|
113
|
+
return [
|
|
114
|
+
r[0],
|
|
115
|
+
r[1] ?? r[0],
|
|
116
|
+
r[2] ?? r[0],
|
|
117
|
+
r[3] ?? r[0]
|
|
118
|
+
];
|
|
119
|
+
}, x = u(c, {
|
|
120
|
+
name: "SGradientBlobPulse",
|
|
121
|
+
slot: "Root",
|
|
122
|
+
shouldForwardProp: (e) => e !== "ownerState"
|
|
123
|
+
})(({ ownerState: e, theme: t }) => {
|
|
124
|
+
let n = p[e.size], r = h[e.variant], i = b(t, e), a = `${Math.round(n.blobSizes[0] * m)}px`, o = i.reduce((e, t, n) => ({
|
|
125
|
+
...e,
|
|
126
|
+
[`--SGradientBlobPulse-gradient-${n + 1}`]: [
|
|
127
|
+
"radial-gradient(circle,",
|
|
128
|
+
`color-mix(in srgb, ${t} ${r.colorCore}, transparent) 0%,`,
|
|
129
|
+
`color-mix(in srgb, ${t} ${r.colorMid}, transparent) ${r.fadeMid},`,
|
|
130
|
+
`transparent ${r.fadeEnd})`
|
|
131
|
+
].join(" ")
|
|
132
|
+
}), {}), s = i.reduce((e, t, n) => ({
|
|
133
|
+
...e,
|
|
134
|
+
[`--SGradientBlobPulse-gradient-${n + 1}`]: `radial-gradient(circle, ${t} 0%, transparent ${r.fadeEnd})`
|
|
135
|
+
}), {}), c = n.blobSizes.reduce((e, t, n) => ({
|
|
136
|
+
...e,
|
|
137
|
+
[`--SGradientBlobPulse-blobSize-${n + 1}`]: `${Math.round(t * r.sizeScale)}px`
|
|
138
|
+
}), {}), l = r.opacities.reduce((e, t, n) => ({
|
|
139
|
+
...e,
|
|
140
|
+
[`--SGradientBlobPulse-opacity-${n + 1}`]: String(t)
|
|
141
|
+
}), {}), u = g.reduce((t, n, r) => ({
|
|
142
|
+
...t,
|
|
143
|
+
[`--SGradientBlobPulse-colorDelay-${r + 1}`]: `${Math.round(e.animationDuration * n.colorDelay)}ms`,
|
|
144
|
+
[`--SGradientBlobPulse-pulseDelay-${r + 1}`]: `${Math.round(e.animationDuration * n.pulseDelay)}ms`,
|
|
145
|
+
[`--SGradientBlobPulse-pulseDuration-${r + 1}`]: `${Math.round(e.animationDuration * n.pulseDuration)}ms`
|
|
146
|
+
}), {});
|
|
147
|
+
return {
|
|
148
|
+
[f]: `${n.blur}px`,
|
|
149
|
+
"--SGradientBlobPulse-colorDuration": `${Math.round(e.animationDuration * _)}ms`,
|
|
150
|
+
...o,
|
|
151
|
+
...c,
|
|
152
|
+
...l,
|
|
153
|
+
...u,
|
|
154
|
+
alignItems: "center",
|
|
155
|
+
display: "inline-flex",
|
|
156
|
+
isolation: "isolate",
|
|
157
|
+
justifyContent: "center",
|
|
158
|
+
minHeight: a,
|
|
159
|
+
minWidth: a,
|
|
160
|
+
position: "relative",
|
|
161
|
+
"@supports not (color: color-mix(in srgb, red, blue))": s
|
|
162
|
+
};
|
|
163
|
+
}), S = u(c, {
|
|
164
|
+
name: "SGradientBlobPulse",
|
|
165
|
+
slot: "Blob",
|
|
166
|
+
shouldForwardProp: (e) => e !== "ownerState"
|
|
167
|
+
})(({ theme: e }) => ({
|
|
168
|
+
borderRadius: e.radius.full,
|
|
169
|
+
filter: `blur(var(${f}))`,
|
|
170
|
+
left: "50%",
|
|
171
|
+
mixBlendMode: "normal",
|
|
172
|
+
pointerEvents: "none",
|
|
173
|
+
position: "absolute",
|
|
174
|
+
top: "50%",
|
|
175
|
+
willChange: "transform",
|
|
176
|
+
zIndex: 0,
|
|
177
|
+
"@media (prefers-reduced-motion: reduce)": { animation: "none !important" },
|
|
178
|
+
...e.applyStyles("dark", { mixBlendMode: "screen" }),
|
|
179
|
+
variants: [...v.map((t, n) => ({
|
|
180
|
+
props: ({ ownerState: e }) => e.index === n,
|
|
181
|
+
style: {
|
|
182
|
+
animation: [`${t} var(--SGradientBlobPulse-pulseDuration-${n + 1}) ${e.transitions.easing.easeInOut} infinite`, `${y} var(--SGradientBlobPulse-colorDuration) linear infinite`].join(", "),
|
|
183
|
+
animationDelay: `var(--SGradientBlobPulse-pulseDelay-${n + 1}), var(--SGradientBlobPulse-colorDelay-${n + 1})`,
|
|
184
|
+
backgroundImage: `var(--SGradientBlobPulse-gradient-${n + 1})`,
|
|
185
|
+
height: `var(--SGradientBlobPulse-blobSize-${n + 1})`,
|
|
186
|
+
opacity: `var(--SGradientBlobPulse-opacity-${n + 1})`,
|
|
187
|
+
width: `var(--SGradientBlobPulse-blobSize-${n + 1})`
|
|
188
|
+
}
|
|
189
|
+
})), {
|
|
190
|
+
props: ({ ownerState: e }) => e.paused,
|
|
191
|
+
style: { animationPlayState: "paused" }
|
|
192
|
+
}]
|
|
193
|
+
})), C = u(c, {
|
|
194
|
+
name: "SGradientBlobPulse",
|
|
195
|
+
slot: "Content",
|
|
196
|
+
shouldForwardProp: (e) => e !== "ownerState"
|
|
197
|
+
})({
|
|
198
|
+
position: "relative",
|
|
199
|
+
zIndex: 1
|
|
200
|
+
}), w = [
|
|
201
|
+
0,
|
|
202
|
+
1,
|
|
203
|
+
2
|
|
204
|
+
], T = a.forwardRef(function(a, c) {
|
|
205
|
+
let l = d({
|
|
206
|
+
props: a,
|
|
207
|
+
name: "SGradientBlobPulse"
|
|
208
|
+
}), { animationDuration: u = 3200, children: f, colors: p, paused: m = !1, size: h = "medium", slotProps: g, slots: _, sx: v, variant: y = "balanced", ...b } = l, T = {
|
|
209
|
+
...l,
|
|
210
|
+
animationDuration: u,
|
|
211
|
+
colors: p,
|
|
212
|
+
paused: m,
|
|
213
|
+
size: h,
|
|
214
|
+
variant: y
|
|
215
|
+
}, E = _?.root ?? x, D = _?.blob ?? S, O = _?.content ?? C, { ref: k, sx: A, ...j } = r(E, i(t(g?.root, T), b), T), M = n(k, c), N = r(O, t(g?.content, T) ?? {}, T);
|
|
216
|
+
return /* @__PURE__ */ s(E, {
|
|
217
|
+
...j,
|
|
218
|
+
ref: M,
|
|
219
|
+
sx: [...e(A), ...e(v)],
|
|
220
|
+
children: [w.map((e) => {
|
|
221
|
+
let n = {
|
|
222
|
+
...T,
|
|
223
|
+
index: e
|
|
224
|
+
};
|
|
225
|
+
return /* @__PURE__ */ o(D, {
|
|
226
|
+
...r(D, t(g?.blob, n) ?? {}, n),
|
|
227
|
+
"aria-hidden": !0
|
|
228
|
+
}, e);
|
|
229
|
+
}), /* @__PURE__ */ o(O, {
|
|
230
|
+
...N,
|
|
231
|
+
children: f
|
|
232
|
+
})]
|
|
233
|
+
});
|
|
234
|
+
});
|
|
235
|
+
T.displayName = "SGradientBlobPulse";
|
|
236
|
+
//#endregion
|
|
237
|
+
export { T as SGradientBlobPulse, T as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { default, default as SGradientIcon } from './s-gradient-icon';
|
|
2
|
-
export type { AnimationEasing, CustomGradient,
|
|
2
|
+
export type { AnimationEasing, CustomGradient, GradientRole, SGradientIconDirection, SGradientIconOwnerState, SGradientIconProps, } from './s-gradient-icon';
|
|
3
3
|
export type {} from '../theme/component-augmentation';
|
|
@@ -6,7 +6,7 @@ type IconComponent = OverridableComponent<SvgIconTypeMap<object, 'svg'>> & {
|
|
|
6
6
|
muiName: string;
|
|
7
7
|
};
|
|
8
8
|
/** Gradient direction options */
|
|
9
|
-
export type
|
|
9
|
+
export type SGradientIconDirection = 'horizontal' | 'vertical' | 'diagonal' | 'radial';
|
|
10
10
|
/** Semantic gradient roles */
|
|
11
11
|
export type GradientRole = 'brand-primary' | 'brand-subtle' | 'custom';
|
|
12
12
|
/** Animation easing options */
|
|
@@ -23,7 +23,7 @@ export interface CustomGradient {
|
|
|
23
23
|
middlePosition?: number;
|
|
24
24
|
}
|
|
25
25
|
/** Props interface for SGradientIcon component */
|
|
26
|
-
export interface SGradientIconProps extends Omit<SvgIconProps, 'component'> {
|
|
26
|
+
export interface SGradientIconProps extends Omit<SvgIconProps, 'component' | 'direction'> {
|
|
27
27
|
/** Whether the icon should show the gradient fill (hover state) */
|
|
28
28
|
hovered?: boolean;
|
|
29
29
|
/** The Material-UI icon component to render with gradient effect */
|
|
@@ -37,7 +37,7 @@ export interface SGradientIconProps extends Omit<SvgIconProps, 'component'> {
|
|
|
37
37
|
/** Custom gradient colors when role is 'custom' */
|
|
38
38
|
customGradient?: CustomGradient;
|
|
39
39
|
/** Direction of the gradient (default: 'diagonal') */
|
|
40
|
-
|
|
40
|
+
direction?: SGradientIconDirection;
|
|
41
41
|
/** Animation duration in milliseconds (default: 300) */
|
|
42
42
|
animationDuration?: number;
|
|
43
43
|
/** Animation easing function (default: 'ease') */
|
|
@@ -56,7 +56,7 @@ export type SGradientIconOwnerState = SGradientIconProps & {
|
|
|
56
56
|
animationDuration: number;
|
|
57
57
|
animationEasing: AnimationEasing;
|
|
58
58
|
autoHover: boolean;
|
|
59
|
-
|
|
59
|
+
direction: SGradientIconDirection;
|
|
60
60
|
gradientRole: GradientRole;
|
|
61
61
|
hovered: boolean;
|
|
62
62
|
strokeWidth: number;
|
|
@@ -14,7 +14,7 @@ var l = o(t(({ IconComponent: e, ...t }, n) => /* @__PURE__ */ i(e, {
|
|
|
14
14
|
let u = c({
|
|
15
15
|
props: t,
|
|
16
16
|
name: "SGradientIcon"
|
|
17
|
-
}), { hovered: d = !1, IconComponent: f, sx: p, strokeWidth: m = 0, gradientRole: h = "brand-primary", customGradient: g,
|
|
17
|
+
}), { hovered: d = !1, IconComponent: f, sx: p, strokeWidth: m = 0, gradientRole: h = "brand-primary", customGradient: g, direction: _ = "diagonal", animationDuration: v = 300, animationEasing: y = "ease", autoHover: b = !1, gradientId: x, alwaysGradient: S = !1, fallbackColor: C, ...w } = u, T = s(), E = (T.vars ?? T).palette, D = n(), O = x ?? `gradient-${D}`, k = {
|
|
18
18
|
"brand-primary": {
|
|
19
19
|
start: E.primary[400],
|
|
20
20
|
end: E.primary[700]
|
|
@@ -63,7 +63,7 @@ var l = o(t(({ IconComponent: e, ...t }, n) => /* @__PURE__ */ i(e, {
|
|
|
63
63
|
animationDuration: v,
|
|
64
64
|
animationEasing: y,
|
|
65
65
|
autoHover: b,
|
|
66
|
-
|
|
66
|
+
direction: _,
|
|
67
67
|
gradientRole: h,
|
|
68
68
|
hovered: d,
|
|
69
69
|
strokeWidth: m
|
|
@@ -17,8 +17,12 @@ export interface SIconButtonSlotProps {
|
|
|
17
17
|
/** Props or an owner-state callback for the tooltip slot. */
|
|
18
18
|
tooltip?: OwnerStateSlotProps<Omit<TooltipProps, 'children' | 'title'>>;
|
|
19
19
|
}
|
|
20
|
-
/**
|
|
21
|
-
|
|
20
|
+
/**
|
|
21
|
+
* MUI IconButton with an optional tooltip slot. Setting `href` makes the
|
|
22
|
+
* underlying ButtonBase render an anchor, so icon-only links keep the button
|
|
23
|
+
* hit target and hover state.
|
|
24
|
+
*/
|
|
25
|
+
export interface SIconButtonProps extends Omit<IconButtonProps, 'component'>, Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href' | 'rel' | 'target'> {
|
|
22
26
|
/** Components used for internal slots. */
|
|
23
27
|
slots?: SIconButtonSlots;
|
|
24
28
|
/** Props or owner-state callbacks for internal slots. */
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "../styled-Bog8QCl3.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as n } from "../
|
|
4
|
-
import { t as r } from "../appendOwnerState-
|
|
5
|
-
import { t as i } from "../Tooltip-
|
|
2
|
+
import { t } from "../useThemeProps-Dw9dmKyT.js";
|
|
3
|
+
import { t as n } from "../IconButton-CE-4GamO.js";
|
|
4
|
+
import { t as r } from "../appendOwnerState-CFQTq3pb.js";
|
|
5
|
+
import { t as i } from "../Tooltip-B1sn94L0.js";
|
|
6
6
|
import * as a from "react";
|
|
7
7
|
import { jsx as o } from "react/jsx-runtime";
|
|
8
8
|
//#region lib/s-icon-button/s-icon-button.tsx
|
|
9
|
-
var s = e(
|
|
9
|
+
var s = e(n, {
|
|
10
10
|
name: "SIconButton",
|
|
11
11
|
slot: "Root"
|
|
12
12
|
})(({ theme: e, ownerState: t }) => {
|
|
@@ -23,8 +23,8 @@ var s = e(t, {
|
|
|
23
23
|
function c(e, t) {
|
|
24
24
|
return typeof e == "function" ? e(t) : e;
|
|
25
25
|
}
|
|
26
|
-
var l = a.forwardRef(function(e,
|
|
27
|
-
let a =
|
|
26
|
+
var l = a.forwardRef(function(e, n) {
|
|
27
|
+
let a = t({
|
|
28
28
|
props: e,
|
|
29
29
|
name: "SIconButton"
|
|
30
30
|
}), { disabled: l = !1, slotProps: u, slots: d, tooltip: f, variant: p, ...m } = a, h = {
|
|
@@ -37,7 +37,7 @@ var l = a.forwardRef(function(e, t) {
|
|
|
37
37
|
"aria-label": v,
|
|
38
38
|
disabled: l,
|
|
39
39
|
ownerState: h,
|
|
40
|
-
ref:
|
|
40
|
+
ref: n
|
|
41
41
|
});
|
|
42
42
|
return f == null ? y : /* @__PURE__ */ o(g, {
|
|
43
43
|
..._,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "../styled-Bog8QCl3.js";
|
|
2
|
-
import { t } from "../useThemeProps-
|
|
2
|
+
import { t } from "../useThemeProps-Dw9dmKyT.js";
|
|
3
3
|
import { toSxArray as n } from "../utils/sx.js";
|
|
4
|
-
import { t as r } from "../useForkRef-
|
|
4
|
+
import { t as r } from "../useForkRef-BuNFTXxE.js";
|
|
5
5
|
import "../theme/components/action-styles.js";
|
|
6
|
-
import { t as i } from "../useControlled-
|
|
6
|
+
import { t as i } from "../useControlled-DqNPBJNp.js";
|
|
7
7
|
import { SLazyImage as a } from "../s-lazy-image/s-lazy-image.js";
|
|
8
8
|
import * as o from "react";
|
|
9
9
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-image-viewer-
|
|
1
|
+
import { t as e } from "../s-image-viewer-CjK67-rs.js";
|
|
2
2
|
export { e as SImageViewer, e as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./styled-Bog8QCl3.js";
|
|
2
|
-
import { t } from "./useThemeProps-
|
|
2
|
+
import { t } from "./useThemeProps-Dw9dmKyT.js";
|
|
3
3
|
import { toSxArray as n } from "./utils/sx.js";
|
|
4
|
-
import { t as r } from "./createSvgIcon-
|
|
5
|
-
import { t as i } from "./mergeSlotProps-
|
|
6
|
-
import { t as a } from "./ChevronRight-
|
|
7
|
-
import { t as o } from "./Close-
|
|
4
|
+
import { t as r } from "./createSvgIcon-3y-gS0r1.js";
|
|
5
|
+
import { t as i } from "./mergeSlotProps-DC8r4QzS.js";
|
|
6
|
+
import { t as a } from "./ChevronRight-DsPfsFKB.js";
|
|
7
|
+
import { t as o } from "./Close-CIYOM-Sc.js";
|
|
8
8
|
import { DefaultMediaItem as s } from "./s-image-viewer/default-media-item.js";
|
|
9
9
|
import { ImageViewerThumbnailDock as c } from "./s-image-viewer/image-viewer-thumbnail-dock.js";
|
|
10
10
|
import { useImageViewerNavigation as l } from "./s-image-viewer/use-image-viewer-navigation.js";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { default, default as SInteractiveCard } from './s-interactive-card';
|
|
2
|
+
export type { SInteractiveCardActionAreaProps, SInteractiveCardOwnerState, SInteractiveCardProps, SInteractiveCardSlotProps, SInteractiveCardSlots, } from './s-interactive-card';
|
|
3
|
+
export type {} from '../theme/component-augmentation';
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { BoxProps, CardActionAreaProps, CardProps } from '@mui/material';
|
|
2
|
+
import { OwnerStateSlotProps as MuiOwnerStateSlotProps } from '../utils/slots';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface SInteractiveCardSlots {
|
|
5
|
+
/** Element wrapping the children when the card is clickable. */
|
|
6
|
+
actionArea?: React.ElementType;
|
|
7
|
+
/** Decorative layer rendered above the content. */
|
|
8
|
+
overlay?: React.ElementType;
|
|
9
|
+
/** Card surface element. */
|
|
10
|
+
root?: React.ElementType;
|
|
11
|
+
}
|
|
12
|
+
type OwnerStateSlotProps<Props> = MuiOwnerStateSlotProps<Props, SInteractiveCardOwnerState>;
|
|
13
|
+
/** Action area props, widened with the anchor attributes used when `href` is set. */
|
|
14
|
+
export type SInteractiveCardActionAreaProps = CardActionAreaProps & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href' | 'rel' | 'target'>;
|
|
15
|
+
export interface SInteractiveCardSlotProps {
|
|
16
|
+
/** Props or owner-state callback for the action area slot. */
|
|
17
|
+
actionArea?: OwnerStateSlotProps<SInteractiveCardActionAreaProps>;
|
|
18
|
+
/** Props or owner-state callback for the overlay slot. */
|
|
19
|
+
overlay?: OwnerStateSlotProps<BoxProps>;
|
|
20
|
+
/** Props or owner-state callback for the root slot. */
|
|
21
|
+
root?: OwnerStateSlotProps<Omit<CardProps, 'children'>>;
|
|
22
|
+
}
|
|
23
|
+
/** Props for a card surface with a hover-lift and focus interaction language. */
|
|
24
|
+
export interface SInteractiveCardProps extends Omit<CardProps, 'children' | 'component' | 'onClick'> {
|
|
25
|
+
/**
|
|
26
|
+
* Card content. When `href` or `onClick` is provided, the content is wrapped
|
|
27
|
+
* in one `CardActionArea` and must not contain nested interactive controls.
|
|
28
|
+
*/
|
|
29
|
+
children?: React.ReactNode;
|
|
30
|
+
/** Keeps the hover border feedback but removes the translate and scale. */
|
|
31
|
+
disableLift?: boolean;
|
|
32
|
+
/** Disables the primary action and all built-in interaction effects. */
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
/** Link destination. When set, the card action area renders with anchor semantics. */
|
|
35
|
+
href?: string;
|
|
36
|
+
/** Enables the surface lift, border and sheen effects without changing action semantics. */
|
|
37
|
+
interactive?: boolean;
|
|
38
|
+
/** Called when the card action area is activated. */
|
|
39
|
+
onClick?: React.MouseEventHandler<HTMLElement>;
|
|
40
|
+
/** Decorative content rendered in the overlay layer. Always `aria-hidden`. */
|
|
41
|
+
overlay?: React.ReactNode;
|
|
42
|
+
/** Sweeps a light sheen across the card on hover/focus. Disabled by default. */
|
|
43
|
+
sheen?: boolean;
|
|
44
|
+
/** Components used for internal structural slots. */
|
|
45
|
+
slots?: SInteractiveCardSlots;
|
|
46
|
+
/** Props or owner-state callbacks for internal structural slots. */
|
|
47
|
+
slotProps?: SInteractiveCardSlotProps;
|
|
48
|
+
}
|
|
49
|
+
export interface SInteractiveCardOwnerState extends Omit<SInteractiveCardProps, 'slotProps' | 'slots'> {
|
|
50
|
+
clickable: boolean;
|
|
51
|
+
disableLift: boolean;
|
|
52
|
+
disabled: boolean;
|
|
53
|
+
interactive: boolean;
|
|
54
|
+
sheen: boolean;
|
|
55
|
+
}
|
|
56
|
+
export declare const SInteractiveCard: React.ForwardRefExoticComponent<Omit<SInteractiveCardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
57
|
+
export default SInteractiveCard;
|