@solostylist/ui-kit 2.0.2 → 2.0.4
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/{gradients-mQAYCK0_.js → gradients-DSnBONEQ.js} +1 -1
- package/dist/main.js +1 -1
- package/dist/palettes/index.js +1 -1
- package/dist/{palettes-B1FcGUYs.js → palettes-CJLuEy1m.js} +163 -163
- package/dist/s-accordion/index.js +1 -1
- package/dist/s-accordion/s-accordion.js +70 -2
- package/dist/s-action-overlay/s-action-overlay.js +21 -21
- package/dist/s-animated-gradient-text/s-animated-gradient-text.js +18 -19
- package/dist/s-announcement-bar/s-announcement-bar.js +50 -53
- package/dist/s-autocomplete/s-autocomplete.js +1 -1
- package/dist/s-avatar/s-avatar.js +17 -17
- package/dist/s-blur-text/s-blur-text.js +16 -16
- package/dist/s-brand-logo/index.js +1 -1
- package/dist/s-brand-logo/s-brand-logo.js +1 -1
- package/dist/s-breadcrumbs/s-breadcrumbs.js +19 -19
- package/dist/s-carousel/index.js +1 -1
- package/dist/s-carousel/s-carousel.js +186 -2
- package/dist/s-category-card/s-category-card.js +22 -22
- package/dist/s-chat-input/index.js +1 -1
- package/dist/s-chat-input/s-chat-input.js +398 -2
- package/dist/s-chat-message/index.js +1 -1
- package/dist/s-chat-message/s-chat-message.js +314 -2
- package/dist/s-checkbox/s-checkbox.js +18 -19
- package/dist/s-chips/index.js +1 -1
- package/dist/s-chips/s-chips.js +174 -2
- package/dist/s-code-block/index.js +1 -1
- package/dist/s-code-block/s-code-block.js +103 -2
- package/dist/s-comment-message/index.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +189 -2
- package/dist/s-copyable-text/s-copyable-text.js +18 -18
- package/dist/s-countdown/s-count-box.js +18 -18
- package/dist/s-data-table/index.js +1 -1
- package/dist/s-data-table/s-data-table.js +213 -2
- package/dist/s-date-picker/index.js +1 -1
- package/dist/s-date-picker/s-date-picker.js +106 -2
- package/dist/s-datetime-picker/index.js +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.js +108 -2
- package/dist/s-dialog/index.js +1 -1
- package/dist/s-dialog/s-dialog.js +80 -2
- package/dist/s-dialog-confirm/s-dialog-confirm.js +32 -33
- package/dist/s-dialog-message/s-dialog-message.js +31 -32
- package/dist/s-drawer/index.js +1 -1
- package/dist/s-drawer/s-drawer.js +139 -2
- package/dist/s-empty/s-empty.js +13 -14
- package/dist/s-file-dropzone/index.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +219 -2
- package/dist/s-file-icon/s-file-icon.js +87 -88
- package/dist/s-flex-box/s-flex-box.js +11 -12
- package/dist/s-form/s-form.js +15 -15
- package/dist/s-gallery/s-gallery.js +1 -1
- package/dist/s-glow-button/s-glow-button.js +9 -10
- package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.js +23 -24
- package/dist/s-icon-button/s-icon-button.js +13 -14
- package/dist/s-image-comparison/s-image-comparison.js +29 -31
- package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
- package/dist/s-image-viewer/index.js +3 -3
- package/dist/s-image-viewer/s-image-viewer.js +266 -2
- package/dist/s-image-viewer/use-image-viewer-navigation.js +7 -7
- package/dist/s-interactive-card/s-interactive-card.js +39 -41
- package/dist/s-label/s-label.js +25 -26
- package/dist/s-language-switcher/index.js +2 -2
- package/dist/s-language-switcher/s-language-switcher.js +145 -2
- package/dist/s-lazy-image/s-lazy-image.js +17 -18
- package/dist/s-link/index.js +1 -1
- package/dist/s-link/s-link.js +5 -2
- package/dist/s-list-action-item/s-list-action-item.js +38 -39
- package/dist/s-localization-provider/index.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +12 -2
- package/dist/s-mega-menu/mega-menu-panel.js +132 -134
- package/dist/s-mega-menu/mega-menu-trigger.js +49 -2
- package/dist/s-mega-menu/s-mega-menu.js +80 -83
- package/dist/s-mobile-dock/index.js +1 -1
- package/dist/s-mobile-dock/s-mobile-dock.js +145 -2
- package/dist/s-nav-item/s-nav-item.js +19 -20
- package/dist/s-nav-items/s-nav-items.js +51 -52
- package/dist/s-no-ssr/index.js +1 -1
- package/dist/s-no-ssr/s-no-ssr.js +5 -2
- package/dist/s-number-range/index.js +1 -1
- package/dist/s-number-range/s-number-range.js +250 -2
- package/dist/s-pagination/index.js +1 -1
- package/dist/s-pagination/s-pagination.js +85 -2
- package/dist/s-pixel-reveal/s-pixel-reveal.js +20 -20
- package/dist/s-popover/s-popover-content.js +11 -12
- package/dist/s-popover/s-popover.js +22 -24
- package/dist/s-product-card/s-product-card.js +177 -180
- package/dist/s-product-gallery/index.js +1 -1
- package/dist/s-product-gallery/s-product-gallery.js +427 -2
- package/dist/s-quantity-input/s-quantity-input.js +24 -24
- package/dist/s-review/index.js +1 -1
- package/dist/s-review/s-review.js +272 -2
- package/dist/s-scroll-reveal/s-scroll-reveal.js +7 -8
- package/dist/s-scroll-to-top/s-scroll-to-top.js +27 -28
- package/dist/s-scroll-velocity/scroll-velocity-row.js +29 -29
- package/dist/s-segmented-control/s-segmented-control.js +64 -68
- package/dist/s-select/index.js +1 -1
- package/dist/s-select/s-select.js +201 -2
- package/dist/s-select-list/s-select-list.js +47 -50
- package/dist/s-skeleton/s-skeleton.js +12 -13
- package/dist/s-snackbar-message/index.js +2 -2
- package/dist/s-snackbar-message/s-snackbar-message.js +89 -2
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +27 -27
- package/dist/s-status-illustration/s-status-illustration.js +74 -74
- package/dist/s-stepper/index.js +1 -1
- package/dist/s-stepper/s-stepper.js +102 -2
- package/dist/s-stripe/s-stripe.js +11 -12
- package/dist/s-stripe/stripe-input.js +3 -2
- package/dist/s-swatch/s-swatch.js +34 -35
- package/dist/s-switch/index.js +1 -1
- package/dist/s-switch/s-switch.js +48 -2
- package/dist/s-tabs/s-tabs.js +48 -50
- package/dist/s-text-editor/index.js +1 -1
- package/dist/s-text-editor/s-text-editor-toolbar.js +213 -2
- package/dist/s-text-editor/s-text-editor.js +25 -26
- package/dist/s-text-field/index.js +1 -1
- package/dist/s-text-field/s-text-field.js +52 -2
- package/dist/s-text-shimmer/s-text-shimmer.js +1 -3
- package/dist/s-text-truncation/s-text-truncation.js +20 -20
- package/dist/s-theme-demo/s-theme-demo.js +8 -8
- package/dist/s-theme-demo/theme-demo-color-palette-section.js +1 -1
- package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
- package/dist/s-theme-demo/theme-demo-components-section.js +265 -2
- package/dist/s-theme-demo/theme-demo-typography-section.js +10 -10
- package/dist/s-theme-provider/s-theme-provider.js +1 -1
- package/dist/s-theme-switch/index.js +1 -1
- package/dist/s-theme-switch/s-theme-switch.js +60 -2
- package/dist/s-tip/index.js +1 -1
- package/dist/s-tip/s-tip.js +61 -2
- package/dist/s-tool-bar/s-tool-bar.js +28 -28
- package/dist/s-tool-bar/tool-bar-action-buttons.js +55 -2
- package/dist/s-tool-bar/tool-bar-image-input.js +148 -2
- package/dist/s-tool-bar/tool-bar-inputs.js +55 -55
- package/dist/s-tool-item/s-tool-item.js +22 -22
- package/dist/s-two-pane-layout/s-two-pane-layout.js +32 -32
- package/dist/s-zoom-image/s-zoom-image.js +18 -19
- package/dist/theme/components/autocomplete.js +43 -2
- package/dist/theme/components/avatar.js +9 -2
- package/dist/theme/components/card.js +3 -3
- package/dist/theme/components/checkbox.js +90 -2
- package/dist/theme/components/chip.js +3 -3
- package/dist/theme/components/components.js +20 -20
- package/dist/theme/components/date-calendar.js +1 -0
- package/dist/theme/components/day-calendar.js +1 -0
- package/dist/theme/components/drawer.js +1 -1
- package/dist/theme/components/field-label-styles.js +19 -2
- package/dist/theme/components/form-label.js +1 -1
- package/dist/theme/components/list-item-button.js +1 -1
- package/dist/theme/components/list-item.js +7 -7
- package/dist/theme/components/month-calendar.js +14 -13
- package/dist/theme/components/multi-section-digital-clock-section.js +1 -0
- package/dist/theme/components/outlined-input.js +6 -6
- package/dist/theme/components/picker-day.js +1 -0
- package/dist/theme/components/pickers-arrow-switcher.js +1 -0
- package/dist/theme/components/pickers-calendar-header.js +3 -2
- package/dist/theme/components/select.js +6 -6
- package/dist/theme/components/switch.js +1 -1
- package/dist/theme/components/table-pagination.js +1 -1
- package/dist/theme/components/toggle-button.js +93 -2
- package/dist/theme/components/year-calendar.js +14 -13
- package/dist/theme/theme-primitives.js +2 -2
- package/dist/{theme-primitives-CXtaMdVj.js → theme-primitives-CRfnMsNy.js} +108 -109
- package/dist/utils/dayjs.js +9 -146
- package/package.json +8 -3
- package/dist/Add-CEnTWsXs.js +0 -6
- package/dist/ArrowUpward-udL1ltj2.js +0 -6
- package/dist/Box-9oeZgA1U.js +0 -46
- package/dist/Button-DaLr1m20.js +0 -534
- package/dist/ButtonBase-DovDC6-1.js +0 -700
- package/dist/Checkbox-C-Xjbzzh.js +0 -152
- package/dist/ChevronRight-DsPfsFKB.js +0 -6
- package/dist/Close-CIYOM-Sc.js +0 -6
- package/dist/Collapse-DPUr1cbP.js +0 -266
- package/dist/ContentCopy-Hlh3azVb.js +0 -6
- package/dist/DefaultPropsProvider-ebWx4_5E.js +0 -128
- package/dist/DialogContent-b3xbJVC6.js +0 -450
- package/dist/Download-D9PkFi7a.js +0 -6
- package/dist/ExpandMore-sOgvEha9.js +0 -6
- package/dist/Favorite-BP343hjM.js +0 -6
- package/dist/FavoriteBorder-D15j9xEL.js +0 -6
- package/dist/FormControl-DwMfZCiz.js +0 -215
- package/dist/FormControlLabel-Ihga1FTB.js +0 -173
- package/dist/Grow-BQR7x52V.js +0 -121
- package/dist/IconButton-CE-4GamO.js +0 -448
- package/dist/InfoOutlined-lpvhO6P8.js +0 -6
- package/dist/List-RNcZhRdr.js +0 -105
- package/dist/Menu-CnyB4SDS.js +0 -180
- package/dist/MenuItem-Ck30dBOR.js +0 -224
- package/dist/MenuList-Cc98uWXq.js +0 -160
- package/dist/Modal-CD2EBfU8.js +0 -702
- package/dist/Paper-_3qggtBp.js +0 -115
- package/dist/Popover-BFdKSYI5.js +0 -340
- package/dist/Popper-DYNAMSDd.js +0 -1351
- package/dist/Portal-i_wgIe9-.js +0 -49
- package/dist/Remove-DDEn8ek8.js +0 -6
- package/dist/RtlProvider-B7uVJXUY.js +0 -19
- package/dist/Skeleton-iZFynl7z.js +0 -220
- package/dist/Stack-C0LGzM4c.js +0 -158
- package/dist/SwitchBase-CjWtDdmE.js +0 -198
- package/dist/Tooltip-B1sn94L0.js +0 -448
- package/dist/Typography-_P0svrkO.js +0 -168
- package/dist/UnfoldMoreRounded-CuCrdxoy.js +0 -6
- package/dist/appendOwnerState-CFQTq3pb.js +0 -17
- package/dist/assets/stripe-input.css +0 -1
- package/dist/autocomplete-BgARERpp.js +0 -43
- package/dist/avatar-XNOdbbRz.js +0 -10
- package/dist/buttonBaseClasses-B90LjsNK.js +0 -13
- package/dist/capitalize-C0baBJCm.js +0 -5
- package/dist/chainPropTypes-CkMRtDjQ.js +0 -8
- package/dist/checkbox-D1U_JKqs.js +0 -88
- package/dist/checkboxClasses-B1up2lUn.js +0 -18
- package/dist/chunk-C_CI6nMA.js +0 -13
- package/dist/clsx-DGZSe4Nt.js +0 -16
- package/dist/colorManipulator-DmUjcif3.js +0 -129
- package/dist/contains-DnqPQsQU.js +0 -16
- package/dist/createSimplePaletteValueFilter-DFvyXHoZ.js +0 -14
- package/dist/createSvgIcon-3y-gS0r1.js +0 -155
- package/dist/createTheme-xB2Em0Na.js +0 -1869
- package/dist/defaultTheme-BaGcIzCh.js +0 -210
- package/dist/elementAcceptingRef-pKEY6jPR.js +0 -25
- package/dist/elementTypeAcceptingRef-xl_04Y5-.js +0 -19
- package/dist/exactProp-C_IsucXf.js +0 -13
- package/dist/extends-DXMyyJCW.js +0 -12
- package/dist/field-label-styles-4praXMaE.js +0 -50
- package/dist/formLabelClasses-AuZHWfTs.js +0 -18
- package/dist/generateUtilityClass-PAIOm1jC.js +0 -34
- package/dist/generateUtilityClasses-DvX505Gy.js +0 -10
- package/dist/getActiveElement-BfBkhgy6.js +0 -8
- package/dist/iconButtonClasses-CVVRFXRo.js +0 -27
- package/dist/inputAdornmentClasses-BbB8s-Z4.js +0 -19
- package/dist/inputBaseClasses-Ce_jjdp9.js +0 -25
- package/dist/integerPropType-CCkQD1JY.js +0 -27
- package/dist/isEventHandler-QShLXBxE.js +0 -7
- package/dist/isFocusVisible-4OIE8TST.js +0 -11
- package/dist/isLayoutSupported-Btg2X3QE.js +0 -6
- package/dist/isMuiElement-CPjhi284.js +0 -10
- package/dist/mega-menu-trigger-BcOo8I5_.js +0 -53
- package/dist/memoTheme-qFyKAk7y.js +0 -15
- package/dist/mergeSlotProps-DC8r4QzS.js +0 -45
- package/dist/monthCalendarClasses-b964KRbc.js +0 -14
- package/dist/objectWithoutPropertiesLoose-q4Zwd1RV.js +0 -12
- package/dist/outlinedInputClasses-ci1zDasn.js +0 -17
- package/dist/ownerDocument-CJjQZweZ.js +0 -6
- package/dist/ownerDocument-pYjJiXem.js +0 -5
- package/dist/ownerWindow-SSeeoqPT.js +0 -18
- package/dist/pickersCalendarHeaderClasses-BAiPN_oY.js +0 -12
- package/dist/prop-types-BzYPyWN7.js +0 -516
- package/dist/refType-j5S9pc_e.js +0 -6
- package/dist/resolveProps-7jIA45vn.js +0 -30
- package/dist/s-accordion-1oLxQhod.js +0 -487
- package/dist/s-carousel-CAyAl3ka.js +0 -1355
- package/dist/s-chat-input-T3gyan60.js +0 -419
- package/dist/s-chat-message-NFTpNgt5.js +0 -315
- package/dist/s-chips-Dqq1fgz-.js +0 -176
- package/dist/s-code-block-DyDtctGG.js +0 -658
- package/dist/s-comment-message-DpCVBKiE.js +0 -192
- package/dist/s-data-table-D4V58HFR.js +0 -805
- package/dist/s-date-picker-BFIQOA8C.js +0 -657
- package/dist/s-datetime-picker-zfg7BEOW.js +0 -3886
- package/dist/s-dialog-BNlXsVVP.js +0 -123
- package/dist/s-drawer-4h5ZyoM8.js +0 -562
- package/dist/s-file-dropzone-Cfzv1Cm8.js +0 -422
- package/dist/s-image-viewer-CjK67-rs.js +0 -269
- package/dist/s-language-switcher-PaMgHWc2.js +0 -246
- package/dist/s-link-Db1aabHh.js +0 -235
- package/dist/s-localization-provider-CeyB_SGz.js +0 -519
- package/dist/s-mobile-dock-8F3UWAb8.js +0 -615
- package/dist/s-no-ssr-DH57_uP_.js +0 -25
- package/dist/s-number-range-Low5QjuD.js +0 -253
- package/dist/s-pagination-s46hBifh.js +0 -606
- package/dist/s-product-gallery-Dj9eGg5i.js +0 -430
- package/dist/s-review--Q2C0ngO.js +0 -272
- package/dist/s-select-CtVKEOZ5.js +0 -204
- package/dist/s-snackbar-message-DsfJlDYd.js +0 -810
- package/dist/s-stepper-BtODHVro.js +0 -892
- package/dist/s-switch-BCeBoxWf.js +0 -307
- package/dist/s-text-editor-toolbar-D5eQ-jCs.js +0 -2124
- package/dist/s-text-field-HYyDf1Jo.js +0 -51
- package/dist/s-theme-switch-BFWpADh3.js +0 -60
- package/dist/s-tip-jbL7vtoU.js +0 -62
- package/dist/selectClasses-CPxME5jE.js +0 -22
- package/dist/setRef-BWPyWnrr.js +0 -6
- package/dist/styled-Bog8QCl3.js +0 -163
- package/dist/svgIconClasses-1kWGzgux.js +0 -20
- package/dist/switchClasses-BtweO7PC.js +0 -23
- package/dist/theme-demo-components-section-C7l_2KAo.js +0 -267
- package/dist/toggle-button-BsGb-tOr.js +0 -104
- package/dist/tool-bar-action-buttons-v1koaasr.js +0 -54
- package/dist/tool-bar-image-input-DtXTyEe1.js +0 -148
- package/dist/typographyClasses-BH_-zLwg.js +0 -31
- package/dist/unsupportedProp-whMV_uOi.js +0 -11
- package/dist/useControlled-DqNPBJNp.js +0 -5
- package/dist/useControlled-uxVKygk1.js +0 -29
- package/dist/useEnhancedEffect-DFq_FMGX.js +0 -5
- package/dist/useEnhancedEffect-dBFfkm1e.js +0 -5
- package/dist/useEventCallback-DGCsaRIu.js +0 -5
- package/dist/useEventCallback-DhCPBxRG.js +0 -11
- package/dist/useForkRef-BuNFTXxE.js +0 -29
- package/dist/useFormControl-gXwNeUM1.js +0 -18
- package/dist/useMobilePicker-CdrT935R.js +0 -7584
- package/dist/useRovingTabIndex-DPlW997R.js +0 -242
- package/dist/useSlot-BG8ReOxN.js +0 -83
- package/dist/useSlotProps-BOO3qaI9.js +0 -16
- package/dist/useTheme-BIWMbX3i.js +0 -9
- package/dist/useThemeProps-Dw9dmKyT.js +0 -29
- package/dist/useTimeout-CoK-Khfm.js +0 -49
- package/dist/utils-Bfqbev5I.js +0 -248
- package/dist/warning-D5YhCbje.js +0 -99
- package/dist/yearCalendarClasses-D9k_KT38.js +0 -14
- /package/dist/{colors-Bik9qOU9.js → colors-CNjL5fhq.js} +0 -0
- /package/dist/{s-brand-logo-D7Jovf5K.js → s-brand-logo-CErW9Slg.js} +0 -0
- /package/dist/{utils-DOY6v6ln.js → utils-CMeAWSRO.js} +0 -0
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
import { toSxArray as e } from "../utils/sx.js";
|
|
2
2
|
import { resolveOwnerStateSlotProps as t } from "../utils/slots.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { createElement as oe } from "react";
|
|
18
|
-
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
19
|
-
import { Box as m, CardActionArea as h, CardContent as g, CardMedia as _, Typography as v, styled as y, useThemeProps as se } from "@mui/material";
|
|
3
|
+
import { actionHoverMedia as n, getFocusVisibleStyle as r, reducedMotionMedia as i } from "../theme/components/action-styles.js";
|
|
4
|
+
import { SLazyImage as a } from "../s-lazy-image/s-lazy-image.js";
|
|
5
|
+
import { SIconButton as o } from "../s-icon-button/s-icon-button.js";
|
|
6
|
+
import { SSwatch as ee } from "../s-swatch/s-swatch.js";
|
|
7
|
+
import { SRating as te } from "../s-rating/s-rating.js";
|
|
8
|
+
import { SInteractiveCard as s } from "../s-interactive-card/s-interactive-card.js";
|
|
9
|
+
import * as c from "react";
|
|
10
|
+
import { createElement as ne } from "react";
|
|
11
|
+
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
12
|
+
import { Box as d, CardActionArea as re, CardContent as f, CardMedia as p, Typography as m, styled as h, useThemeProps as ie } from "@mui/material";
|
|
13
|
+
import { mergeSlotProps as g, useControlled as ae, useEventCallback as oe, useForkRef as se } from "@mui/material/utils";
|
|
14
|
+
import _ from "@mui/utils/appendOwnerState";
|
|
15
|
+
import ce from "@mui/icons-material/Favorite";
|
|
16
|
+
import le from "@mui/icons-material/FavoriteBorder";
|
|
20
17
|
//#region lib/s-product-card/s-product-card.tsx
|
|
21
|
-
var
|
|
18
|
+
var v = "clamp(180px, 38%, 240px)", ue = 220, de = 18, fe = 2, y = (e) => ({ [n]: { "&:hover": e } }), b = (...e) => ({ ownerState: t }) => e.includes(t.variant), pe = h(s, {
|
|
22
19
|
name: "SProductCard",
|
|
23
20
|
slot: "Root",
|
|
24
21
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -42,14 +39,14 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
42
39
|
} },
|
|
43
40
|
variants: [
|
|
44
41
|
{
|
|
45
|
-
props:
|
|
42
|
+
props: b("list"),
|
|
46
43
|
style: {
|
|
47
44
|
flexDirection: "row",
|
|
48
45
|
[t.breakpoints.down("sm")]: { flexDirection: "column" }
|
|
49
46
|
}
|
|
50
47
|
},
|
|
51
48
|
{
|
|
52
|
-
props:
|
|
49
|
+
props: b("overlay"),
|
|
53
50
|
style: {
|
|
54
51
|
backgroundColor: "transparent",
|
|
55
52
|
backgroundImage: "none",
|
|
@@ -59,11 +56,11 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
59
56
|
},
|
|
60
57
|
{
|
|
61
58
|
props: ({ ownerState: e }) => e.interactive && !e.disabled && e.mediaZoom,
|
|
62
|
-
style:
|
|
59
|
+
style: y({ "--SProductCard-imageScale": String(e.mediaZoomScale) })
|
|
63
60
|
},
|
|
64
61
|
{
|
|
65
62
|
props: ({ ownerState: e }) => e.interactive && !e.disabled && !!e.hoverImage,
|
|
66
|
-
style:
|
|
63
|
+
style: y({ "--SProductCard-hoverImageOpacity": "1" })
|
|
67
64
|
},
|
|
68
65
|
{
|
|
69
66
|
props: ({ ownerState: e }) => e.disabled,
|
|
@@ -76,7 +73,7 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
76
73
|
}
|
|
77
74
|
}
|
|
78
75
|
]
|
|
79
|
-
})),
|
|
76
|
+
})), me = h(re, {
|
|
80
77
|
name: "SProductCard",
|
|
81
78
|
slot: "Link",
|
|
82
79
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -86,10 +83,10 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
86
83
|
position: "absolute",
|
|
87
84
|
zIndex: 1,
|
|
88
85
|
"&.Mui-focusVisible": {
|
|
89
|
-
...
|
|
86
|
+
...r(e),
|
|
90
87
|
outlineOffset: -2
|
|
91
88
|
}
|
|
92
|
-
})),
|
|
89
|
+
})), he = h(p, {
|
|
93
90
|
name: "SProductCard",
|
|
94
91
|
slot: "Media",
|
|
95
92
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -108,18 +105,18 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
108
105
|
minWidth: 0
|
|
109
106
|
},
|
|
110
107
|
variants: [{
|
|
111
|
-
props:
|
|
108
|
+
props: b("list"),
|
|
112
109
|
style: {
|
|
113
110
|
aspectRatio: "auto",
|
|
114
111
|
height: e.mediaHeight ?? "auto",
|
|
115
|
-
width: e.mediaWidth ??
|
|
112
|
+
width: e.mediaWidth ?? v,
|
|
116
113
|
[t.breakpoints.down("sm")]: {
|
|
117
|
-
height: e.mediaHeight ??
|
|
114
|
+
height: e.mediaHeight ?? ue,
|
|
118
115
|
width: "100%"
|
|
119
116
|
}
|
|
120
117
|
}
|
|
121
118
|
}, {
|
|
122
|
-
props:
|
|
119
|
+
props: b("overlay"),
|
|
123
120
|
style: {
|
|
124
121
|
borderEndEndRadius: 0,
|
|
125
122
|
borderEndStartRadius: 0,
|
|
@@ -127,7 +124,7 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
127
124
|
borderStartStartRadius: t.radius.md
|
|
128
125
|
}
|
|
129
126
|
}]
|
|
130
|
-
})),
|
|
127
|
+
})), x = h(a, {
|
|
131
128
|
name: "SProductCard",
|
|
132
129
|
slot: "Image",
|
|
133
130
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -142,20 +139,20 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
142
139
|
duration: e.transitions.duration.complex,
|
|
143
140
|
easing: e.transitions.easing.easeOut
|
|
144
141
|
}),
|
|
145
|
-
[
|
|
142
|
+
[i]: {
|
|
146
143
|
transform: "none",
|
|
147
144
|
transition: "none"
|
|
148
145
|
}
|
|
149
146
|
}
|
|
150
|
-
})),
|
|
147
|
+
})), ge = h(x, {
|
|
151
148
|
name: "SProductCard",
|
|
152
149
|
slot: "HoverImage",
|
|
153
150
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
154
151
|
})(({ theme: e }) => ({
|
|
155
152
|
opacity: "var(--SProductCard-hoverImageOpacity)",
|
|
156
153
|
transition: e.transitions.create("opacity", { duration: e.transitions.duration.shorter }),
|
|
157
|
-
[
|
|
158
|
-
})),
|
|
154
|
+
[i]: { transition: "none" }
|
|
155
|
+
})), _e = h(d, {
|
|
159
156
|
name: "SProductCard",
|
|
160
157
|
slot: "Badge",
|
|
161
158
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -182,7 +179,7 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
182
179
|
style: { insetInlineEnd: e.spacing(2) }
|
|
183
180
|
}
|
|
184
181
|
]
|
|
185
|
-
})),
|
|
182
|
+
})), ve = h(d, {
|
|
186
183
|
name: "SProductCard",
|
|
187
184
|
slot: "HoverActions",
|
|
188
185
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -199,11 +196,11 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
199
196
|
transform: "translateY(var(--SProductCard-hoverActionsShift))",
|
|
200
197
|
transition: e.transitions.create(["opacity", "transform"], { duration: e.transitions.duration.shorter }),
|
|
201
198
|
zIndex: 2,
|
|
202
|
-
[
|
|
199
|
+
[i]: {
|
|
203
200
|
transform: "none",
|
|
204
201
|
transition: "none"
|
|
205
202
|
}
|
|
206
|
-
})),
|
|
203
|
+
})), ye = h(f, {
|
|
207
204
|
name: "SProductCard",
|
|
208
205
|
slot: "Content",
|
|
209
206
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -218,11 +215,11 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
218
215
|
"&:last-child": { paddingBottom: e.spacing(2) },
|
|
219
216
|
variants: [
|
|
220
217
|
{
|
|
221
|
-
props:
|
|
218
|
+
props: b("grid"),
|
|
222
219
|
style: { borderTop: `1px solid ${(e.vars ?? e).palette.divider}` }
|
|
223
220
|
},
|
|
224
221
|
{
|
|
225
|
-
props:
|
|
222
|
+
props: b("mini"),
|
|
226
223
|
style: {
|
|
227
224
|
backgroundColor: (e.vars ?? e).palette.background.paper,
|
|
228
225
|
borderTopLeftRadius: e.radius.xl,
|
|
@@ -232,11 +229,11 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
232
229
|
}
|
|
233
230
|
},
|
|
234
231
|
{
|
|
235
|
-
props:
|
|
232
|
+
props: b("overlay"),
|
|
236
233
|
style: { textAlign: "center" }
|
|
237
234
|
}
|
|
238
235
|
]
|
|
239
|
-
})),
|
|
236
|
+
})), be = h(m, {
|
|
240
237
|
name: "SProductCard",
|
|
241
238
|
slot: "Title",
|
|
242
239
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -244,8 +241,8 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
244
241
|
display: "-webkit-box",
|
|
245
242
|
overflow: "hidden",
|
|
246
243
|
WebkitBoxOrient: "vertical",
|
|
247
|
-
WebkitLineClamp:
|
|
248
|
-
}),
|
|
244
|
+
WebkitLineClamp: fe
|
|
245
|
+
}), xe = h(d, {
|
|
249
246
|
name: "SProductCard",
|
|
250
247
|
slot: "Rating",
|
|
251
248
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -254,10 +251,10 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
254
251
|
display: "flex",
|
|
255
252
|
gap: e.spacing(.5),
|
|
256
253
|
variants: [{
|
|
257
|
-
props:
|
|
254
|
+
props: b("overlay"),
|
|
258
255
|
style: { justifyContent: "center" }
|
|
259
256
|
}]
|
|
260
|
-
})),
|
|
257
|
+
})), Se = h(d, {
|
|
261
258
|
name: "SProductCard",
|
|
262
259
|
slot: "Meta",
|
|
263
260
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -265,7 +262,7 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
265
262
|
color: (e.vars ?? e).palette.text.secondary,
|
|
266
263
|
minWidth: 0,
|
|
267
264
|
...e.typography.body2
|
|
268
|
-
})),
|
|
265
|
+
})), Ce = h(d, {
|
|
269
266
|
name: "SProductCard",
|
|
270
267
|
slot: "Swatches",
|
|
271
268
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -278,10 +275,10 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
278
275
|
position: "relative",
|
|
279
276
|
zIndex: 2,
|
|
280
277
|
variants: [{
|
|
281
|
-
props:
|
|
278
|
+
props: b("overlay"),
|
|
282
279
|
style: { justifyContent: "center" }
|
|
283
280
|
}]
|
|
284
|
-
})),
|
|
281
|
+
})), we = h(d, {
|
|
285
282
|
name: "SProductCard",
|
|
286
283
|
slot: "Footer",
|
|
287
284
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -292,10 +289,10 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
292
289
|
justifyContent: "space-between",
|
|
293
290
|
marginTop: "auto",
|
|
294
291
|
variants: [{
|
|
295
|
-
props:
|
|
292
|
+
props: b("overlay"),
|
|
296
293
|
style: { justifyContent: "center" }
|
|
297
294
|
}]
|
|
298
|
-
})),
|
|
295
|
+
})), Te = h(m, {
|
|
299
296
|
name: "SProductCard",
|
|
300
297
|
slot: "Price",
|
|
301
298
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -305,7 +302,7 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
305
302
|
display: "flex",
|
|
306
303
|
gap: e.spacing(1),
|
|
307
304
|
minWidth: 0
|
|
308
|
-
})),
|
|
305
|
+
})), Ee = h(d, {
|
|
309
306
|
name: "SProductCard",
|
|
310
307
|
slot: "OriginalPrice",
|
|
311
308
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -313,7 +310,7 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
313
310
|
color: (e.vars ?? e).palette.text.secondary,
|
|
314
311
|
textDecoration: "line-through",
|
|
315
312
|
...e.typography.body2
|
|
316
|
-
})),
|
|
313
|
+
})), De = h(d, {
|
|
317
314
|
name: "SProductCard",
|
|
318
315
|
slot: "Actions",
|
|
319
316
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -324,171 +321,171 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
324
321
|
gap: e.spacing(.5),
|
|
325
322
|
position: "relative",
|
|
326
323
|
zIndex: 2
|
|
327
|
-
})),
|
|
324
|
+
})), Oe = h(o, {
|
|
328
325
|
name: "SProductCard",
|
|
329
326
|
slot: "FavoriteButton",
|
|
330
327
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
331
328
|
})(({ theme: e }) => ({ variants: [{
|
|
332
329
|
props: ({ ownerState: e }) => e.favorite,
|
|
333
330
|
style: { color: (e.vars ?? e).palette.error.main }
|
|
334
|
-
}] })),
|
|
335
|
-
let
|
|
336
|
-
props:
|
|
331
|
+
}] })), S = c.forwardRef(function(n, r) {
|
|
332
|
+
let i = ie({
|
|
333
|
+
props: n,
|
|
337
334
|
name: "SProductCard"
|
|
338
|
-
}), { actions:
|
|
339
|
-
controlled:
|
|
340
|
-
default:
|
|
335
|
+
}), { actions: a, alt: o = "", aspectRatio: s = 1, badge: d, badgePlacement: re = "top-start", defaultFavorite: f = !1, disableLift: p = !1, disabled: h = !1, favorite: v, favoriteActiveIcon: ue = /* @__PURE__ */ l(ce, { fontSize: "inherit" }), favoriteActiveLabel: fe = "Remove from wishlist", favoriteIcon: y = /* @__PURE__ */ l(le, { fontSize: "inherit" }), favoriteLabel: b = "Add to wishlist", footerContent: S, hoverActions: C, hoverImage: w, href: T, image: E, interactive: D = !0, linkLabel: O, maxSwatches: k = 5, media: A, mediaHeight: ke, mediaWidth: Ae, mediaZoom: je = !0, mediaZoomScale: Me = 1.08, meta: j, onClick: M, onFavoriteChange: Ne, originalPrice: N, price: P, rating: F, sheen: I = !1, showFavorite: L = !1, slotProps: R, slots: z, swatches: B, swatchesLabel: V, sx: Pe, title: H, variant: U = "grid", ...Fe } = i, [W, Ie] = ae({
|
|
336
|
+
controlled: v,
|
|
337
|
+
default: f,
|
|
341
338
|
name: "SProductCard",
|
|
342
339
|
state: "favorite"
|
|
343
|
-
}),
|
|
344
|
-
...
|
|
345
|
-
alt:
|
|
346
|
-
aspectRatio:
|
|
347
|
-
badgePlacement:
|
|
348
|
-
clickable:
|
|
349
|
-
disableLift:
|
|
350
|
-
disabled:
|
|
351
|
-
favorite:
|
|
352
|
-
interactive:
|
|
353
|
-
maxSwatches:
|
|
354
|
-
mediaHeight:
|
|
355
|
-
mediaWidth:
|
|
356
|
-
mediaZoom:
|
|
357
|
-
mediaZoomScale:
|
|
358
|
-
sheen:
|
|
359
|
-
showFavorite:
|
|
360
|
-
variant:
|
|
361
|
-
},
|
|
362
|
-
if (
|
|
363
|
-
let t = !
|
|
364
|
-
|
|
365
|
-
}), { ref:
|
|
366
|
-
...
|
|
367
|
-
"aria-disabled":
|
|
368
|
-
disableLift:
|
|
369
|
-
disabled:
|
|
370
|
-
interactive:
|
|
371
|
-
sheen:
|
|
372
|
-
},
|
|
373
|
-
...
|
|
374
|
-
alt:
|
|
375
|
-
src:
|
|
376
|
-
},
|
|
377
|
-
...
|
|
340
|
+
}), G = Number.isFinite(k) ? Math.max(1, Math.floor(k)) : 5, K = !h && (T !== void 0 || M !== void 0), q = {
|
|
341
|
+
...i,
|
|
342
|
+
alt: o,
|
|
343
|
+
aspectRatio: s,
|
|
344
|
+
badgePlacement: re,
|
|
345
|
+
clickable: K,
|
|
346
|
+
disableLift: p,
|
|
347
|
+
disabled: h,
|
|
348
|
+
favorite: W,
|
|
349
|
+
interactive: D,
|
|
350
|
+
maxSwatches: G,
|
|
351
|
+
mediaHeight: ke,
|
|
352
|
+
mediaWidth: Ae,
|
|
353
|
+
mediaZoom: je,
|
|
354
|
+
mediaZoomScale: Me,
|
|
355
|
+
sheen: I,
|
|
356
|
+
showFavorite: L,
|
|
357
|
+
variant: U
|
|
358
|
+
}, J = z?.root ?? pe, Le = z?.link ?? me, Re = z?.media ?? he, ze = z?.image ?? x, Be = z?.hoverImage ?? ge, Ve = z?.badge ?? _e, He = z?.hoverActions ?? ve, Ue = z?.content ?? ye, We = z?.title ?? be, Ge = z?.rating ?? xe, Ke = z?.meta ?? Se, qe = z?.swatches ?? Ce, Je = z?.footer ?? we, Ye = z?.price ?? Te, Xe = z?.originalPrice ?? Ee, Ze = z?.actions ?? De, Qe = z?.favoriteButton ?? Oe, $e = `${c.useId()}-title`, et = oe((e) => {
|
|
359
|
+
if (h) return;
|
|
360
|
+
let t = !W;
|
|
361
|
+
Ie(t), Ne?.(e, t);
|
|
362
|
+
}), { ref: tt, sx: nt, ...rt } = _(J, {
|
|
363
|
+
...g(t(R?.root, q), Fe),
|
|
364
|
+
"aria-disabled": h || void 0,
|
|
365
|
+
disableLift: p,
|
|
366
|
+
disabled: h,
|
|
367
|
+
interactive: D,
|
|
368
|
+
sheen: I
|
|
369
|
+
}, q), it = se(tt, r), Y = (e, n) => _(n, t(e, q) ?? {}, q), at = Y(R?.media, Re), ot = _(ze, {
|
|
370
|
+
...g(t(R?.image, q), { variant: "rectangular" }),
|
|
371
|
+
alt: o,
|
|
372
|
+
src: E
|
|
373
|
+
}, q), st = _(Be, {
|
|
374
|
+
...g(t(R?.hoverImage, q), { variant: "rectangular" }),
|
|
378
375
|
alt: "",
|
|
379
|
-
src:
|
|
380
|
-
},
|
|
381
|
-
...
|
|
382
|
-
inert:
|
|
383
|
-
},
|
|
384
|
-
...
|
|
385
|
-
inert:
|
|
386
|
-
},
|
|
387
|
-
"aria-label":
|
|
388
|
-
role:
|
|
389
|
-
}),
|
|
390
|
-
...
|
|
391
|
-
inert:
|
|
392
|
-
},
|
|
376
|
+
src: w
|
|
377
|
+
}, q), ct = t(R?.badge, q) ?? {}, lt = _(Ve, {
|
|
378
|
+
...ct,
|
|
379
|
+
inert: h || ct.inert
|
|
380
|
+
}, q), ut = g(t(R?.hoverActions, q), { inert: h || void 0 }), dt = _(He, {
|
|
381
|
+
...ut,
|
|
382
|
+
inert: h || ut.inert
|
|
383
|
+
}, q), ft = Y(R?.content, Ue), pt = Y(R?.rating, Ge), mt = Y(R?.meta, Ke), ht = _(qe, g(t(R?.swatches, q), {
|
|
384
|
+
"aria-label": V,
|
|
385
|
+
role: V ? "group" : void 0
|
|
386
|
+
}), q), gt = Y(R?.footer, Je), _t = Y(R?.originalPrice, Xe), vt = g(t(R?.actions, q), { inert: h || void 0 }), yt = _(Ze, {
|
|
387
|
+
...vt,
|
|
388
|
+
inert: h || vt.inert
|
|
389
|
+
}, q), bt = _(We, g(t(R?.title, q), {
|
|
393
390
|
component: "h3",
|
|
394
|
-
id:
|
|
395
|
-
variant:
|
|
396
|
-
}),
|
|
397
|
-
...
|
|
398
|
-
"aria-label":
|
|
399
|
-
"aria-labelledby": !(
|
|
391
|
+
id: $e,
|
|
392
|
+
variant: U === "list" ? "subtitle1" : "body1"
|
|
393
|
+
}), q), xt = bt.id ?? $e, X = t(R?.link, q), St = _(Le, {
|
|
394
|
+
...g(X, {
|
|
395
|
+
"aria-label": O,
|
|
396
|
+
"aria-labelledby": !(X?.["aria-label"] != null || X?.["aria-labelledby"] != null) && O == null && H != null ? xt : void 0
|
|
400
397
|
}),
|
|
401
|
-
component:
|
|
402
|
-
href:
|
|
403
|
-
nativeButton:
|
|
404
|
-
onClick:
|
|
405
|
-
type:
|
|
406
|
-
},
|
|
398
|
+
component: T === void 0 ? "button" : "a",
|
|
399
|
+
href: T,
|
|
400
|
+
nativeButton: T === void 0,
|
|
401
|
+
onClick: M,
|
|
402
|
+
type: T === void 0 ? "button" : void 0
|
|
403
|
+
}, q), Ct = _(Ye, g(t(R?.price, q), {
|
|
407
404
|
component: "p",
|
|
408
405
|
variant: "subtitle1"
|
|
409
|
-
}),
|
|
410
|
-
"aria-label":
|
|
411
|
-
"aria-pressed":
|
|
412
|
-
onClick:
|
|
413
|
-
}),
|
|
414
|
-
...
|
|
415
|
-
disabled:
|
|
416
|
-
size:
|
|
417
|
-
},
|
|
418
|
-
return /* @__PURE__ */
|
|
419
|
-
...
|
|
420
|
-
ref:
|
|
421
|
-
sx: [...e(
|
|
406
|
+
}), q), Z = g(t(R?.favoriteButton, q), {
|
|
407
|
+
"aria-label": W ? fe : b,
|
|
408
|
+
"aria-pressed": W,
|
|
409
|
+
onClick: et
|
|
410
|
+
}), wt = _(Qe, {
|
|
411
|
+
...Z,
|
|
412
|
+
disabled: h || Z.disabled,
|
|
413
|
+
size: Z.size ?? "medium"
|
|
414
|
+
}, q), Q = B?.slice(0, G) ?? [], Tt = (B?.length ?? 0) - Q.length, Et = P != null || N != null, $ = L || a != null, Dt = Et || $ || S != null;
|
|
415
|
+
return /* @__PURE__ */ u(J, {
|
|
416
|
+
...rt,
|
|
417
|
+
ref: it,
|
|
418
|
+
sx: [...e(Pe), ...e(nt)],
|
|
422
419
|
children: [
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
...
|
|
420
|
+
K ? /* @__PURE__ */ l(Le, { ...St }) : null,
|
|
421
|
+
A != null || E != null ? /* @__PURE__ */ u(Re, {
|
|
422
|
+
...at,
|
|
426
423
|
children: [
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
...
|
|
432
|
-
children:
|
|
424
|
+
A,
|
|
425
|
+
A == null && E != null ? /* @__PURE__ */ l(ze, { ...ot }) : null,
|
|
426
|
+
A == null && w != null ? /* @__PURE__ */ l(Be, { ...st }) : null,
|
|
427
|
+
d == null ? null : /* @__PURE__ */ l(Ve, {
|
|
428
|
+
...lt,
|
|
429
|
+
children: d
|
|
433
430
|
}),
|
|
434
|
-
|
|
435
|
-
...
|
|
436
|
-
children:
|
|
431
|
+
C == null ? null : /* @__PURE__ */ l(He, {
|
|
432
|
+
...dt,
|
|
433
|
+
children: C
|
|
437
434
|
})
|
|
438
435
|
]
|
|
439
436
|
}) : null,
|
|
440
|
-
/* @__PURE__ */
|
|
441
|
-
...
|
|
437
|
+
/* @__PURE__ */ u(Ue, {
|
|
438
|
+
...ft,
|
|
442
439
|
children: [
|
|
443
|
-
|
|
444
|
-
...
|
|
445
|
-
children:
|
|
440
|
+
H == null ? null : /* @__PURE__ */ l(We, {
|
|
441
|
+
...bt,
|
|
442
|
+
children: H
|
|
446
443
|
}),
|
|
447
|
-
|
|
448
|
-
...
|
|
449
|
-
children: typeof
|
|
444
|
+
F == null ? null : /* @__PURE__ */ l(Ge, {
|
|
445
|
+
...pt,
|
|
446
|
+
children: typeof F == "number" ? /* @__PURE__ */ l(te, {
|
|
450
447
|
precision: .5,
|
|
451
448
|
readOnly: !0,
|
|
452
449
|
size: "small",
|
|
453
|
-
value:
|
|
454
|
-
}) :
|
|
455
|
-
}),
|
|
456
|
-
k == null ? null : /* @__PURE__ */ f(Ge, {
|
|
457
|
-
...pt,
|
|
458
|
-
children: k
|
|
450
|
+
value: F
|
|
451
|
+
}) : F
|
|
459
452
|
}),
|
|
460
|
-
|
|
453
|
+
j == null ? null : /* @__PURE__ */ l(Ke, {
|
|
461
454
|
...mt,
|
|
462
|
-
children:
|
|
455
|
+
children: j
|
|
456
|
+
}),
|
|
457
|
+
Q.length > 0 ? /* @__PURE__ */ u(qe, {
|
|
458
|
+
...ht,
|
|
459
|
+
children: [Q.map((e) => /* @__PURE__ */ ne(ee, {
|
|
463
460
|
...e,
|
|
464
461
|
interactive: !1,
|
|
465
462
|
key: e.value,
|
|
466
463
|
shape: "square",
|
|
467
|
-
size:
|
|
468
|
-
})),
|
|
464
|
+
size: de
|
|
465
|
+
})), Tt > 0 ? /* @__PURE__ */ u(m, {
|
|
469
466
|
component: "span",
|
|
470
467
|
variant: "caption",
|
|
471
|
-
children: ["+",
|
|
468
|
+
children: ["+", Tt]
|
|
472
469
|
}) : null]
|
|
473
470
|
}) : null,
|
|
474
|
-
Dt ? /* @__PURE__ */
|
|
475
|
-
...
|
|
471
|
+
Dt ? /* @__PURE__ */ u(Je, {
|
|
472
|
+
...gt,
|
|
476
473
|
children: [
|
|
477
|
-
|
|
478
|
-
...
|
|
479
|
-
children: [
|
|
474
|
+
Et ? /* @__PURE__ */ u(Ye, {
|
|
475
|
+
...Ct,
|
|
476
|
+
children: [P, N == null ? null : /* @__PURE__ */ l(Xe, {
|
|
480
477
|
component: "del",
|
|
481
|
-
...
|
|
482
|
-
children:
|
|
478
|
+
..._t,
|
|
479
|
+
children: N
|
|
483
480
|
})]
|
|
484
481
|
}) : null,
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
...
|
|
488
|
-
children: [
|
|
489
|
-
...
|
|
490
|
-
children:
|
|
491
|
-
}) : null,
|
|
482
|
+
S,
|
|
483
|
+
$ ? /* @__PURE__ */ u(Ze, {
|
|
484
|
+
...yt,
|
|
485
|
+
children: [L ? /* @__PURE__ */ l(Qe, {
|
|
486
|
+
...wt,
|
|
487
|
+
children: W ? ue : y
|
|
488
|
+
}) : null, a]
|
|
492
489
|
}) : null
|
|
493
490
|
]
|
|
494
491
|
}) : null
|
|
@@ -497,6 +494,6 @@ var ce = "clamp(180px, 38%, 240px)", le = 220, ue = 18, de = 2, b = (e) => ({ [i
|
|
|
497
494
|
]
|
|
498
495
|
});
|
|
499
496
|
});
|
|
500
|
-
|
|
497
|
+
S.displayName = "SProductCard";
|
|
501
498
|
//#endregion
|
|
502
|
-
export {
|
|
499
|
+
export { S as SProductCard, S as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SProductGallery as e } from "./s-product-gallery.js";
|
|
2
2
|
export { e as SProductGallery, e as default };
|