@gem-sdk/components 2.0.0-dev.278 → 2.0.0-dev.288
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/cjs/accordion/components/Accordion.js +60 -179
- package/dist/cjs/accordion/components/Accordion.liquid.js +77 -101
- package/dist/cjs/accordion/components/AccordionItem.js +126 -280
- package/dist/cjs/accordion/components/AccordionItem.liquid.js +77 -215
- package/dist/cjs/accordion/components/common/classes.js +55 -0
- package/dist/cjs/accordion/components/common/index.js +146 -0
- package/dist/cjs/accordion/components/common/styles.js +131 -0
- package/dist/cjs/accordion/hooks/useAccordion.js +145 -0
- package/dist/cjs/accordion/hooks/useAccordionItem.js +119 -0
- package/dist/cjs/article/components/ArticleImage.js +0 -1
- package/dist/cjs/article/components/ArticlePagination.js +1 -1
- package/dist/cjs/article/components/ArticlePagination.liquid.js +3 -3
- package/dist/cjs/article/setting/configs/ArticleImage/settings.js +5 -5
- package/dist/cjs/banner/components/HeroBannerItem.js +0 -6
- package/dist/cjs/banner/components/HeroBannerItem.liquid.js +3 -0
- package/dist/cjs/banner/setting/setting.js +28 -3
- package/dist/cjs/banner/setting/uiV2.js +10 -97
- package/dist/cjs/builder.js +18 -20
- package/dist/cjs/cart/components/CartLineImage.js +0 -2
- package/dist/cjs/code/common/classes.js +11 -0
- package/dist/cjs/code/common/styles.js +15 -0
- package/dist/cjs/code/components/CSSCode.js +9 -99
- package/dist/cjs/code/components/CSSCode.liquid.js +11 -11
- package/dist/cjs/code/hooks/useCSSCode.js +102 -0
- package/dist/cjs/code/setting/CSSCode.js +7 -121
- package/dist/cjs/code/setting/config/setting.js +77 -0
- package/dist/cjs/code/setting/config/uiV1.js +52 -0
- package/dist/cjs/code/setting/config/uiV2.js +58 -0
- package/dist/cjs/estimate-delivery/components/EstimateDate.liquid.js +4 -1
- package/dist/cjs/form/components/contact/Contact.js +6 -2
- package/dist/cjs/form/components/contact/common/composeStyles.js +21 -0
- package/dist/cjs/form/components/form-checkbox/FormCheckbox.js +6 -4
- package/dist/cjs/form/components/form-checkbox/FormCheckbox.liquid.js +2 -4
- package/dist/cjs/form/components/form-checkbox/common/composeClasses.js +2 -2
- package/dist/cjs/form/components/form-checkbox/common/composeStyles.js +23 -10
- package/dist/cjs/form/components/form-dropdown/common/composeClasses.js +1 -1
- package/dist/cjs/form/components/form-email/FormEmail.js +18 -10
- package/dist/cjs/form/components/form-email/common/composeClasses.js +2 -1
- package/dist/cjs/form/components/newsletter/Newsletter.js +7 -2
- package/dist/cjs/form/components/newsletter/Newsletter.liquid.js +1 -1
- package/dist/cjs/form/components/newsletter/common/composeStyles.js +4 -2
- package/dist/cjs/form/components/textarea/TextArea.js +16 -8
- package/dist/cjs/form/components/textarea/common/composeClasses.js +1 -1
- package/dist/cjs/form/components/textfield/TextField.js +17 -9
- package/dist/cjs/form/components/textfield/common/composeClasses.js +2 -2
- package/dist/cjs/form/setting/contact/Contact.js +5 -1
- package/dist/cjs/form/setting/form-checkbox/configs/settings.js +153 -6
- package/dist/cjs/form/setting/form-checkbox/configs/uiV2.js +137 -0
- package/dist/cjs/form/setting/form-dropdown/configs/settings.js +147 -0
- package/dist/cjs/form/setting/form-dropdown/configs/uiV2.js +156 -4
- package/dist/cjs/form/setting/newsletter/configs/settings.js +132 -3
- package/dist/cjs/form/setting/newsletter/configs/uiV2.js +93 -0
- package/dist/cjs/form/setting/submit-button/configs/settings.js +37 -0
- package/dist/cjs/form/setting/submit-button/configs/uiV2.js +13 -0
- package/dist/cjs/grid/row/commons/getInnerRadius.js +11 -10
- package/dist/cjs/grid/row/setting/configs/uiV2.js +1 -1
- package/dist/cjs/header/components/kind/basic/index.js +1 -0
- package/dist/cjs/header/components/kind/modern/index.js +1 -1
- package/dist/cjs/helpers.js +53 -0
- package/dist/cjs/icon-list/setting/configs/uiV2.js +1 -1
- package/dist/cjs/icon-list-v2/setting/configs/settings.js +5 -5
- package/dist/cjs/image/components/AdaptiveImage.js +63 -49
- package/dist/cjs/image/components/AdaptiveImage.liquid.js +56 -44
- package/dist/cjs/image/components/Image.js +65 -154
- package/dist/cjs/image/components/Image.liquid.js +68 -103
- package/dist/cjs/image/components/Modal3d.liquid.js +54 -21
- package/dist/cjs/image/components/NextImage.js +26 -59
- package/dist/cjs/image/components/NextImage.liquid.js +27 -115
- package/dist/cjs/image/components/Video.liquid.js +38 -13
- package/dist/cjs/image/components/common/attributes.js +115 -0
- package/dist/cjs/image/components/common/classes.js +57 -0
- package/dist/cjs/image/components/common/constants.js +15 -0
- package/dist/cjs/image/components/common/data.js +24 -0
- package/dist/cjs/image/components/common/helpers.js +75 -0
- package/dist/cjs/image/components/common/styles.js +88 -0
- package/dist/cjs/image/components/helpers/getNextImageLiquidAttrs.js +80 -0
- package/dist/cjs/image/components/helpers/getNextImageReactAttrs.js +40 -0
- package/dist/cjs/image/components/hooks/useCheckNoImage.js +25 -0
- package/dist/cjs/image/helpers/getSrcSet.js +0 -2
- package/dist/cjs/image/next.js +1 -5
- package/dist/cjs/image/setting/configs/settings.js +14 -8
- package/dist/cjs/image/setting/configs/uiV2.js +61 -15
- package/dist/cjs/image/setting/index.js +1 -3
- package/dist/cjs/image-comparison/components/CompareImage.js +1 -1
- package/dist/cjs/image-comparison/components/CompareImage.liquid.js +1 -1
- package/dist/cjs/index.js +91 -91
- package/dist/cjs/index.liquid.js +8 -8
- package/dist/cjs/post-purchase/callout-banner/components/CalloutText.js +2 -1
- package/dist/cjs/post-purchase/callout-banner/components/common/getClasses.js +5 -2
- package/dist/cjs/post-purchase/callout-banner/components/common/getStyles.js +2 -4
- package/dist/cjs/post-purchase/callout-banner/setting/config/callout-box/setting.js +4 -10
- package/dist/cjs/post-purchase/callout-banner/setting/config/callout-text/setting.js +1 -11
- package/dist/cjs/post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js +9 -23
- package/dist/cjs/post-purchase/countdown-timer/components/TextCountdown.js +12 -26
- package/dist/cjs/post-purchase/countdown-timer/components/common/getClasses.js +24 -0
- package/dist/cjs/post-purchase/countdown-timer/components/common/getStyles.js +21 -0
- package/dist/cjs/post-purchase/countdown-timer/hooks/useCountdownTimer.js +18 -1
- package/dist/cjs/post-purchase/countdown-timer/hooks/useGetTimeExpired.js +18 -0
- package/dist/cjs/post-purchase/countdown-timer/settings/CountdownTimer.js +9 -358
- package/dist/cjs/post-purchase/countdown-timer/settings/config/preset.js +26 -0
- package/dist/cjs/post-purchase/countdown-timer/settings/config/setting.js +243 -0
- package/dist/cjs/post-purchase/countdown-timer/settings/config/uiV1.js +125 -0
- package/dist/cjs/post-purchase/countdown-timer/settings/config/uiV2.js +185 -0
- package/dist/cjs/post-purchase/image/common/getClasses.js +1 -1
- package/dist/cjs/post-purchase/image/setting/setting-v2.js +5 -5
- package/dist/cjs/post-purchase/product/components/product-image/carousel-post-purchase/CarouselWrapperPostPurchase.js +24 -26
- package/dist/cjs/post-purchase/product/settings/product-image/setting-v2.js +5 -5
- package/dist/cjs/post-purchase/product/settings/product-price-breakdown/configs/settings.js +2 -2
- package/dist/cjs/post-purchase/product/settings/product-quantity/configs/settings.js +1 -1
- package/dist/cjs/product/components/FileUpload/components/common/index.js +3 -0
- package/dist/cjs/product/components/ProductBundle/common/classes.js +25 -0
- package/dist/cjs/product/components/ProductBundle/common/index.js +5 -0
- package/dist/cjs/product/components/ProductBundle/common/styles.js +89 -0
- package/dist/cjs/product/components/ProductBundle/components/ProductBundleDiscount.js +82 -0
- package/dist/cjs/product/components/ProductBundle/components/ProductBundleDiscount.liquid.js +74 -0
- package/dist/cjs/product/components/ProductBundle/components/ProductBundleDiscountChildrenItem.js +69 -0
- package/dist/cjs/product/components/ProductBundle/components/ProductBundleDiscountChildrenItem.liquid.js +46 -0
- package/dist/cjs/product/components/ProductBundle/components/ProductBundleDiscountItem.js +23 -0
- package/dist/cjs/product/components/ProductBundle/components/ProductBundleDiscountItem.liquid.js +14 -0
- package/dist/cjs/product/components/{ProductBundleDiscount.js → ProductBundle/hooks/useProductBundleDataState.js} +20 -215
- package/dist/cjs/product/components/ProductBundle/hooks/useProductBundleDiscountState.js +56 -0
- package/dist/cjs/product/{setting → components/ProductBundle/setting}/ProductBundleDiscount.js +7 -7
- package/dist/cjs/product/{setting → components/ProductBundle/setting}/ProductBundleDiscountItem.js +3 -0
- package/dist/cjs/product/components/ProductButton.js +2 -2
- package/dist/cjs/product/components/ProductButton.liquid.js +2 -2
- package/dist/cjs/product/components/ProductPrice/common/getAttr.js +23 -0
- package/dist/cjs/product/components/ProductPrice/common/getClasses.js +19 -0
- package/dist/cjs/product/components/ProductPrice/common/getTextData.js +40 -0
- package/dist/cjs/product/components/ProductPrice/hooks/useGpPrice.js +126 -0
- package/dist/cjs/product/components/ProductPrice/index.js +54 -0
- package/dist/cjs/product/components/ProductPrice/index.liquid.js +43 -0
- package/dist/cjs/product/components/ProductQuickView/ProductQuickView.js +5 -5
- package/dist/cjs/product/next.js +3 -3
- package/dist/cjs/product/setting/index.js +2 -2
- package/dist/cjs/product/setting/product/configs/presets.js +1 -0
- package/dist/cjs/product/setting/product-image-v2/configs/setting-v2/ProductFeatureImage.js +6 -7
- package/dist/cjs/product/setting/product-image-v2/configs/setting-v2/ProductGalleryImage.js +11 -12
- package/dist/cjs/product/setting/product-image-v2/configs/setting-v2/index.js +6 -5
- package/dist/cjs/product/setting/product-list/configs/settingsV2.js +10 -8
- package/dist/cjs/setting.js +5 -2
- package/dist/esm/accordion/components/Accordion.js +61 -180
- package/dist/esm/accordion/components/Accordion.liquid.js +78 -102
- package/dist/esm/accordion/components/AccordionItem.js +129 -281
- package/dist/esm/accordion/components/AccordionItem.liquid.js +76 -214
- package/dist/esm/accordion/components/common/classes.js +44 -0
- package/dist/esm/accordion/components/common/index.js +136 -0
- package/dist/esm/accordion/components/common/styles.js +122 -0
- package/dist/esm/accordion/hooks/useAccordion.js +141 -0
- package/dist/esm/accordion/hooks/useAccordionItem.js +115 -0
- package/dist/esm/article/components/ArticleImage.js +0 -1
- package/dist/esm/article/components/ArticlePagination.js +1 -1
- package/dist/esm/article/components/ArticlePagination.liquid.js +3 -3
- package/dist/esm/article/setting/configs/ArticleImage/settings.js +5 -5
- package/dist/esm/banner/components/HeroBannerItem.js +0 -6
- package/dist/esm/banner/components/HeroBannerItem.liquid.js +3 -0
- package/dist/esm/banner/setting/setting.js +28 -3
- package/dist/esm/banner/setting/uiV2.js +10 -97
- package/dist/esm/builder.js +3 -5
- package/dist/esm/cart/components/CartLineImage.js +0 -2
- package/dist/esm/code/common/classes.js +9 -0
- package/dist/esm/code/common/styles.js +13 -0
- package/dist/esm/code/components/CSSCode.js +9 -99
- package/dist/esm/code/components/CSSCode.liquid.js +12 -12
- package/dist/esm/code/hooks/useCSSCode.js +98 -0
- package/dist/esm/code/setting/CSSCode.js +7 -121
- package/dist/esm/code/setting/config/setting.js +75 -0
- package/dist/esm/code/setting/config/uiV1.js +50 -0
- package/dist/esm/code/setting/config/uiV2.js +56 -0
- package/dist/esm/estimate-delivery/components/EstimateDate.liquid.js +4 -1
- package/dist/esm/form/components/contact/Contact.js +7 -3
- package/dist/esm/form/components/contact/common/composeStyles.js +19 -0
- package/dist/esm/form/components/form-checkbox/FormCheckbox.js +7 -5
- package/dist/esm/form/components/form-checkbox/FormCheckbox.liquid.js +3 -5
- package/dist/esm/form/components/form-checkbox/common/composeClasses.js +2 -2
- package/dist/esm/form/components/form-checkbox/common/composeStyles.js +25 -11
- package/dist/esm/form/components/form-dropdown/common/composeClasses.js +1 -1
- package/dist/esm/form/components/form-email/FormEmail.js +18 -10
- package/dist/esm/form/components/form-email/common/composeClasses.js +2 -1
- package/dist/esm/form/components/newsletter/Newsletter.js +8 -3
- package/dist/esm/form/components/newsletter/Newsletter.liquid.js +1 -1
- package/dist/esm/form/components/newsletter/common/composeStyles.js +4 -2
- package/dist/esm/form/components/textarea/TextArea.js +16 -8
- package/dist/esm/form/components/textarea/common/composeClasses.js +1 -1
- package/dist/esm/form/components/textfield/TextField.js +17 -9
- package/dist/esm/form/components/textfield/common/composeClasses.js +2 -2
- package/dist/esm/form/setting/contact/Contact.js +5 -1
- package/dist/esm/form/setting/form-checkbox/configs/settings.js +153 -6
- package/dist/esm/form/setting/form-checkbox/configs/uiV2.js +137 -0
- package/dist/esm/form/setting/form-dropdown/configs/settings.js +147 -0
- package/dist/esm/form/setting/form-dropdown/configs/uiV2.js +156 -4
- package/dist/esm/form/setting/newsletter/configs/settings.js +132 -3
- package/dist/esm/form/setting/newsletter/configs/uiV2.js +93 -0
- package/dist/esm/form/setting/submit-button/configs/settings.js +37 -0
- package/dist/esm/form/setting/submit-button/configs/uiV2.js +13 -0
- package/dist/esm/grid/row/commons/getInnerRadius.js +11 -10
- package/dist/esm/grid/row/setting/configs/uiV2.js +1 -1
- package/dist/esm/header/components/kind/basic/index.js +1 -0
- package/dist/esm/header/components/kind/modern/index.js +1 -1
- package/dist/esm/helpers.js +52 -1
- package/dist/esm/icon-list/setting/configs/uiV2.js +1 -1
- package/dist/esm/icon-list-v2/setting/configs/settings.js +5 -5
- package/dist/esm/image/components/AdaptiveImage.js +64 -50
- package/dist/esm/image/components/AdaptiveImage.liquid.js +57 -45
- package/dist/esm/image/components/Image.js +66 -155
- package/dist/esm/image/components/Image.liquid.js +69 -104
- package/dist/esm/image/components/Modal3d.liquid.js +55 -22
- package/dist/esm/image/components/NextImage.js +26 -59
- package/dist/esm/image/components/NextImage.liquid.js +28 -116
- package/dist/esm/image/components/Video.liquid.js +38 -13
- package/dist/esm/image/components/common/attributes.js +108 -0
- package/dist/esm/image/components/common/classes.js +51 -0
- package/dist/esm/image/components/common/constants.js +11 -0
- package/dist/esm/image/components/common/data.js +22 -0
- package/dist/esm/image/components/common/helpers.js +69 -0
- package/dist/esm/image/components/common/styles.js +80 -0
- package/dist/esm/image/components/helpers/getNextImageLiquidAttrs.js +78 -0
- package/dist/esm/image/components/helpers/getNextImageReactAttrs.js +38 -0
- package/dist/esm/image/components/hooks/useCheckNoImage.js +23 -0
- package/dist/esm/image/helpers/getSrcSet.js +1 -2
- package/dist/esm/image/next.js +1 -5
- package/dist/esm/image/setting/configs/settings.js +14 -8
- package/dist/esm/image/setting/configs/uiV2.js +61 -15
- package/dist/esm/image/setting/index.js +1 -3
- package/dist/esm/image-comparison/components/CompareImage.js +1 -1
- package/dist/esm/image-comparison/components/CompareImage.liquid.js +1 -1
- package/dist/esm/index.js +4 -5
- package/dist/esm/index.liquid.js +3 -3
- package/dist/esm/post-purchase/callout-banner/components/CalloutText.js +2 -1
- package/dist/esm/post-purchase/callout-banner/components/common/getClasses.js +5 -2
- package/dist/esm/post-purchase/callout-banner/components/common/getStyles.js +2 -4
- package/dist/esm/post-purchase/callout-banner/setting/config/callout-box/setting.js +4 -10
- package/dist/esm/post-purchase/callout-banner/setting/config/callout-text/setting.js +1 -11
- package/dist/esm/post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js +9 -23
- package/dist/esm/post-purchase/countdown-timer/components/TextCountdown.js +13 -27
- package/dist/esm/post-purchase/countdown-timer/components/common/getClasses.js +21 -0
- package/dist/esm/post-purchase/countdown-timer/components/common/getStyles.js +19 -0
- package/dist/esm/post-purchase/countdown-timer/hooks/useCountdownTimer.js +19 -3
- package/dist/esm/post-purchase/countdown-timer/hooks/useGetTimeExpired.js +16 -0
- package/dist/esm/post-purchase/countdown-timer/settings/CountdownTimer.js +9 -358
- package/dist/esm/post-purchase/countdown-timer/settings/config/preset.js +24 -0
- package/dist/esm/post-purchase/countdown-timer/settings/config/setting.js +241 -0
- package/dist/esm/post-purchase/countdown-timer/settings/config/uiV1.js +123 -0
- package/dist/esm/post-purchase/countdown-timer/settings/config/uiV2.js +183 -0
- package/dist/esm/post-purchase/image/common/getClasses.js +1 -1
- package/dist/esm/post-purchase/image/setting/setting-v2.js +5 -5
- package/dist/esm/post-purchase/product/components/product-image/carousel-post-purchase/CarouselWrapperPostPurchase.js +25 -27
- package/dist/esm/post-purchase/product/settings/product-image/setting-v2.js +5 -5
- package/dist/esm/post-purchase/product/settings/product-price-breakdown/configs/settings.js +2 -2
- package/dist/esm/post-purchase/product/settings/product-quantity/configs/settings.js +1 -1
- package/dist/esm/product/components/FileUpload/components/common/index.js +3 -0
- package/dist/esm/product/components/ProductBundle/common/classes.js +19 -0
- package/dist/esm/product/components/ProductBundle/common/index.js +3 -0
- package/dist/esm/product/components/ProductBundle/common/styles.js +80 -0
- package/dist/esm/product/components/ProductBundle/components/ProductBundleDiscount.js +78 -0
- package/dist/esm/product/components/ProductBundle/components/ProductBundleDiscount.liquid.js +70 -0
- package/dist/esm/product/components/ProductBundle/components/ProductBundleDiscountChildrenItem.js +65 -0
- package/dist/esm/product/components/ProductBundle/components/ProductBundleDiscountChildrenItem.liquid.js +42 -0
- package/dist/esm/product/components/ProductBundle/components/ProductBundleDiscountItem.js +19 -0
- package/dist/esm/product/components/ProductBundle/components/ProductBundleDiscountItem.liquid.js +10 -0
- package/dist/esm/product/components/{ProductBundleDiscount.js → ProductBundle/hooks/useProductBundleDataState.js} +21 -216
- package/dist/esm/product/components/ProductBundle/hooks/useProductBundleDiscountState.js +52 -0
- package/dist/esm/product/{setting → components/ProductBundle/setting}/ProductBundleDiscount.js +7 -7
- package/dist/esm/product/{setting → components/ProductBundle/setting}/ProductBundleDiscountItem.js +3 -0
- package/dist/esm/product/components/ProductButton.js +1 -1
- package/dist/esm/product/components/ProductButton.liquid.js +1 -1
- package/dist/esm/product/components/ProductPrice/common/getAttr.js +21 -0
- package/dist/esm/product/components/ProductPrice/common/getClasses.js +17 -0
- package/dist/esm/product/components/ProductPrice/common/getTextData.js +38 -0
- package/dist/esm/product/components/ProductPrice/hooks/useGpPrice.js +124 -0
- package/dist/esm/product/components/ProductPrice/index.js +50 -0
- package/dist/esm/product/components/ProductPrice/index.liquid.js +38 -0
- package/dist/esm/product/components/ProductQuickView/ProductQuickView.js +1 -1
- package/dist/esm/product/next.js +3 -3
- package/dist/esm/product/setting/index.js +2 -2
- package/dist/esm/product/setting/product/configs/presets.js +1 -0
- package/dist/esm/product/setting/product-image-v2/configs/setting-v2/ProductFeatureImage.js +6 -7
- package/dist/esm/product/setting/product-image-v2/configs/setting-v2/ProductGalleryImage.js +11 -12
- package/dist/esm/product/setting/product-image-v2/configs/setting-v2/index.js +6 -5
- package/dist/esm/product/setting/product-list/configs/settingsV2.js +10 -8
- package/dist/esm/setting.js +5 -2
- package/dist/types/index.d.ts +174 -257
- package/package.json +2 -2
- package/dist/cjs/image/components/BackgroundImage.js +0 -102
- package/dist/cjs/image/components/Img.js +0 -28
- package/dist/cjs/image/components/helpers.js +0 -12
- package/dist/cjs/image/setting/BackgroundImage.js +0 -364
- package/dist/cjs/product/components/ProductBundleDiscount.liquid.js +0 -81
- package/dist/cjs/product/components/ProductBundleDiscountItem.js +0 -42
- package/dist/cjs/product/components/ProductBundleDiscountItem.liquid.js +0 -103
- package/dist/cjs/product/components/ProductPrice.js +0 -209
- package/dist/cjs/product/components/ProductPrice.liquid.js +0 -88
- package/dist/esm/image/components/BackgroundImage.js +0 -98
- package/dist/esm/image/components/Img.js +0 -24
- package/dist/esm/image/components/helpers.js +0 -9
- package/dist/esm/image/setting/BackgroundImage.js +0 -360
- package/dist/esm/product/components/ProductBundleDiscount.liquid.js +0 -77
- package/dist/esm/product/components/ProductBundleDiscountItem.js +0 -36
- package/dist/esm/product/components/ProductBundleDiscountItem.liquid.js +0 -99
- package/dist/esm/product/components/ProductPrice.js +0 -205
- package/dist/esm/product/components/ProductPrice.liquid.js +0 -83
|
@@ -7,7 +7,7 @@ import '../../../modal/components/confirm.js';
|
|
|
7
7
|
import Modal from '../../../modal/components/Modal.js';
|
|
8
8
|
import { usePluginEnable, useProduct, useProductQuery, ProductProvider } from '@gem-sdk/core';
|
|
9
9
|
import ProductButton from '../ProductButton.js';
|
|
10
|
-
import ProductPrice from '../ProductPrice.js';
|
|
10
|
+
import ProductPrice from '../ProductPrice/index.js';
|
|
11
11
|
import ProductQuantity from '../ProductQuantity.js';
|
|
12
12
|
import ProductVariants from '../ProductVariants/index.js';
|
|
13
13
|
import ProductImages from '../ProductImages.js';
|
package/dist/esm/product/next.js
CHANGED
|
@@ -16,7 +16,7 @@ const ProductQuantity = dynamic(()=>import('./components/ProductQuantity.js'), {
|
|
|
16
16
|
const ProductDescription = dynamic(()=>import('./components/ProductDescription/index.js'), {
|
|
17
17
|
loading: Loading
|
|
18
18
|
});
|
|
19
|
-
const ProductPrice = dynamic(()=>import('./components/ProductPrice.js'), {
|
|
19
|
+
const ProductPrice = dynamic(()=>import('./components/ProductPrice/index.js'), {
|
|
20
20
|
loading: Loading
|
|
21
21
|
});
|
|
22
22
|
const ProductButton = dynamic(()=>import('./components/ProductButton.js'), {
|
|
@@ -58,10 +58,10 @@ const ProductViewMore = dynamic(()=>import('./components/ProductViewMore.js'), {
|
|
|
58
58
|
const ProductBadge = dynamic(()=>import('./components/ProductBadge/index.js'), {
|
|
59
59
|
loading: Loading
|
|
60
60
|
});
|
|
61
|
-
const ProductBundleDiscount = dynamic(()=>import('./components/ProductBundleDiscount.js'), {
|
|
61
|
+
const ProductBundleDiscount = dynamic(()=>import('./components/ProductBundle/components/ProductBundleDiscount.js'), {
|
|
62
62
|
loading: Loading
|
|
63
63
|
});
|
|
64
|
-
const ProductBundleDiscountItem = dynamic(()=>import('./components/ProductBundleDiscountItem.js'), {
|
|
64
|
+
const ProductBundleDiscountItem = dynamic(()=>import('./components/ProductBundle/components/ProductBundleDiscountItem.js'), {
|
|
65
65
|
loading: Loading
|
|
66
66
|
});
|
|
67
67
|
const FileUpload = dynamic(()=>import('./components/FileUpload/components/UploadFile.js'), {
|
|
@@ -13,8 +13,8 @@ import config$b from './ProductList.js';
|
|
|
13
13
|
import config$c from './DynamicCheckout.js';
|
|
14
14
|
import config$d from './Vendor.js';
|
|
15
15
|
import config$i from './Sku.js';
|
|
16
|
-
import config$f from '
|
|
17
|
-
import config$e from '
|
|
16
|
+
import config$f from '../components/ProductBundle/setting/ProductBundleDiscountItem.js';
|
|
17
|
+
import config$e from '../components/ProductBundle/setting/ProductBundleDiscount.js';
|
|
18
18
|
import config$g from './ProductViewMore.js';
|
|
19
19
|
import config$h from './ProductBadge.js';
|
|
20
20
|
import config$j from '../components/FileUpload/components/setting/index.js';
|
|
@@ -129,26 +129,25 @@ const productFeatureImageSetting = [
|
|
|
129
129
|
{
|
|
130
130
|
id: 'ftNavigationPosition',
|
|
131
131
|
label: 'Navigation',
|
|
132
|
-
type: '
|
|
133
|
-
iconViewBox: '0 0 78 48',
|
|
134
|
-
enableItemBackground: true,
|
|
132
|
+
type: 'option:illustration',
|
|
135
133
|
enableTooltip: true,
|
|
136
134
|
options: [
|
|
137
135
|
{
|
|
138
136
|
label: 'No navigation',
|
|
139
137
|
value: 'none',
|
|
140
|
-
type: 'slide-control'
|
|
141
|
-
isTextIcon: true
|
|
138
|
+
type: 'slide-control'
|
|
142
139
|
},
|
|
143
140
|
{
|
|
144
141
|
label: 'Display inside navigation',
|
|
145
142
|
value: 'inside',
|
|
146
|
-
type: 'slide-control'
|
|
143
|
+
type: 'slide-control',
|
|
144
|
+
svgName: 'gp-slide-control-inside'
|
|
147
145
|
},
|
|
148
146
|
{
|
|
149
147
|
label: 'Display outside navigation',
|
|
150
148
|
value: 'outside',
|
|
151
|
-
type: 'slide-control'
|
|
149
|
+
type: 'slide-control',
|
|
150
|
+
svgName: 'gp-slide-control-inside'
|
|
152
151
|
}
|
|
153
152
|
],
|
|
154
153
|
devices: getDefaultResponsive('none')
|
|
@@ -122,26 +122,25 @@ const productGalleryImageSetting = [
|
|
|
122
122
|
{
|
|
123
123
|
id: 'navigationPosition',
|
|
124
124
|
label: 'Navigation',
|
|
125
|
-
type: '
|
|
126
|
-
iconViewBox: '0 0 78 48',
|
|
127
|
-
enableItemBackground: true,
|
|
125
|
+
type: 'option:illustration',
|
|
128
126
|
enableTooltip: true,
|
|
129
127
|
options: [
|
|
130
128
|
{
|
|
131
129
|
label: 'No navigation',
|
|
132
130
|
value: 'none',
|
|
133
|
-
type: 'slide-control'
|
|
134
|
-
isTextIcon: true
|
|
131
|
+
type: 'slide-control'
|
|
135
132
|
},
|
|
136
133
|
{
|
|
137
134
|
label: 'Display inside navigation',
|
|
138
135
|
value: 'inside',
|
|
139
|
-
type: 'slide-control'
|
|
136
|
+
type: 'slide-control',
|
|
137
|
+
svgName: 'gp-slide-control-inside'
|
|
140
138
|
},
|
|
141
139
|
{
|
|
142
140
|
label: 'Display outside navigation',
|
|
143
141
|
value: 'outside',
|
|
144
|
-
type: 'slide-control'
|
|
142
|
+
type: 'slide-control',
|
|
143
|
+
svgName: 'gp-slide-control-inside'
|
|
145
144
|
}
|
|
146
145
|
],
|
|
147
146
|
devices: getDefaultResponsive('inside')
|
|
@@ -469,21 +468,21 @@ const productGalleryImageStyle = [
|
|
|
469
468
|
},
|
|
470
469
|
{
|
|
471
470
|
id: 'layout',
|
|
472
|
-
type: '
|
|
473
|
-
iconViewBox: '0 0 66 48',
|
|
474
|
-
enableItemBackground: true,
|
|
471
|
+
type: 'option:illustration',
|
|
475
472
|
enableTooltip: true,
|
|
476
473
|
label: 'Image scale',
|
|
477
474
|
options: [
|
|
478
475
|
{
|
|
479
476
|
label: 'Fill image',
|
|
480
477
|
value: 'cover',
|
|
481
|
-
type: 'image'
|
|
478
|
+
type: 'image',
|
|
479
|
+
svgName: 'gp-image-cover'
|
|
482
480
|
},
|
|
483
481
|
{
|
|
484
482
|
label: 'Fit image',
|
|
485
483
|
value: 'contain',
|
|
486
|
-
type: 'image'
|
|
484
|
+
type: 'image',
|
|
485
|
+
svgName: 'gp-image-contain'
|
|
487
486
|
}
|
|
488
487
|
],
|
|
489
488
|
devices: getDefaultResponsive('cover')
|
|
@@ -95,7 +95,7 @@ const ProductImageSettingsV2 = [
|
|
|
95
95
|
{
|
|
96
96
|
id: 'ftDotStyle',
|
|
97
97
|
label: 'Dot style',
|
|
98
|
-
type: '
|
|
98
|
+
type: 'option:illustration',
|
|
99
99
|
iconViewBox: '0 0 77 48',
|
|
100
100
|
enableItemBackground: true,
|
|
101
101
|
enableTooltip: true,
|
|
@@ -103,18 +103,19 @@ const ProductImageSettingsV2 = [
|
|
|
103
103
|
{
|
|
104
104
|
label: 'None',
|
|
105
105
|
value: 'none',
|
|
106
|
-
type: 'carousel-dot'
|
|
107
|
-
isTextIcon: true
|
|
106
|
+
type: 'carousel-dot'
|
|
108
107
|
},
|
|
109
108
|
{
|
|
110
109
|
label: 'Inside',
|
|
111
110
|
value: 'inside',
|
|
112
|
-
type: 'carousel-dot'
|
|
111
|
+
type: 'carousel-dot',
|
|
112
|
+
svgName: 'gp-carousel-dot-inside'
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
label: 'Outside',
|
|
116
116
|
value: 'outside',
|
|
117
|
-
type: 'carousel-dot'
|
|
117
|
+
type: 'carousel-dot',
|
|
118
|
+
svgName: 'gp-carousel-dot-outside'
|
|
118
119
|
}
|
|
119
120
|
],
|
|
120
121
|
devices: {
|
|
@@ -62,7 +62,7 @@ const ProductListSettingsV2 = [
|
|
|
62
62
|
{
|
|
63
63
|
id: 'dotStyle',
|
|
64
64
|
label: 'Dot style',
|
|
65
|
-
type: '
|
|
65
|
+
type: 'option:illustration',
|
|
66
66
|
iconViewBox: '0 0 77 48',
|
|
67
67
|
enableItemBackground: true,
|
|
68
68
|
enableTooltip: true,
|
|
@@ -70,12 +70,14 @@ const ProductListSettingsV2 = [
|
|
|
70
70
|
{
|
|
71
71
|
label: 'Inside',
|
|
72
72
|
value: 'inside',
|
|
73
|
-
type: 'carousel-dot'
|
|
73
|
+
type: 'carousel-dot',
|
|
74
|
+
svgName: 'gp-carousel-dot-inside'
|
|
74
75
|
},
|
|
75
76
|
{
|
|
76
77
|
label: 'Outside',
|
|
77
78
|
value: 'outside',
|
|
78
|
-
type: 'carousel-dot'
|
|
79
|
+
type: 'carousel-dot',
|
|
80
|
+
svgName: 'gp-carousel-dot-outside'
|
|
79
81
|
}
|
|
80
82
|
],
|
|
81
83
|
devices: {
|
|
@@ -160,20 +162,20 @@ const ProductListSettingsV2 = [
|
|
|
160
162
|
default: false
|
|
161
163
|
}
|
|
162
164
|
},
|
|
163
|
-
type: '
|
|
164
|
-
iconViewBox: '0 0 78 48',
|
|
165
|
-
enableItemBackground: true,
|
|
165
|
+
type: 'option:illustration',
|
|
166
166
|
enableTooltip: true,
|
|
167
167
|
options: [
|
|
168
168
|
{
|
|
169
169
|
label: 'Display inside navigation',
|
|
170
170
|
value: true,
|
|
171
|
-
iconName: 'slide-control-inside'
|
|
171
|
+
iconName: 'slide-control-inside',
|
|
172
|
+
svgName: 'gp-slide-control-inside'
|
|
172
173
|
},
|
|
173
174
|
{
|
|
174
175
|
label: 'Display outside navigation',
|
|
175
176
|
value: false,
|
|
176
|
-
iconName: 'slide-control-outside'
|
|
177
|
+
iconName: 'slide-control-outside',
|
|
178
|
+
svgName: 'gp-slide-control-outside'
|
|
177
179
|
}
|
|
178
180
|
]
|
|
179
181
|
},
|
package/dist/esm/setting.js
CHANGED
|
@@ -2,11 +2,12 @@ import accordionSetting from './accordion/setting/index.js';
|
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@gem-sdk/core';
|
|
5
|
-
import textSetting from './text/setting/index.js';
|
|
6
5
|
import '@gem-sdk/system';
|
|
7
|
-
import
|
|
6
|
+
import './accordion/components/common/classes.js';
|
|
7
|
+
import textSetting from './text/setting/index.js';
|
|
8
8
|
import linkSetting from './link/setting/index.js';
|
|
9
9
|
import 'next/link';
|
|
10
|
+
import breadcrumbSetting from './breadcrumb/setting/index.js';
|
|
10
11
|
import buttonSetting from './button/setting/index.js';
|
|
11
12
|
import couponSetting from './coupon/setting/index.js';
|
|
12
13
|
import carouselSetting from './carousel/setting/index.js';
|
|
@@ -41,6 +42,8 @@ import './notification/components/Notice.js';
|
|
|
41
42
|
import './product/components/ProductQuickView/index.js';
|
|
42
43
|
import './product/components/constants/product-bundle.js';
|
|
43
44
|
import './product/components/ProductList.js';
|
|
45
|
+
import './product/components/ProductBundle/common/styles.js';
|
|
46
|
+
import './product/components/ProductBundle/common/classes.js';
|
|
44
47
|
import './product/components/ProductBadge/constants.js';
|
|
45
48
|
import './product/components/ProductBadge/utils/shape.js';
|
|
46
49
|
import './product/components/ProductBadge/types.js';
|