@gem-sdk/components 2.0.0-dev.306 → 2.0.0-dev.329
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/AccordionItem.liquid.js +2 -2
- package/dist/cjs/accordion/hooks/useAccordion.js +8 -1
- package/dist/cjs/accordion/index.js +17 -0
- package/dist/cjs/accordion/setting/configs/settings.js +5 -2
- package/dist/cjs/article/components/ArticleAuthor.js +3 -2
- package/dist/cjs/article/components/ArticleList.liquid.js +7 -7
- package/dist/cjs/article/components/ArticlePagination.js +1 -1
- package/dist/cjs/article/components/ArticleReadMore.js +1 -1
- package/dist/cjs/article/index.js +39 -0
- package/dist/cjs/article/next.js +31 -41
- package/dist/cjs/article/setting/ArticleExcerpt.js +4 -4
- package/dist/cjs/article/setting/ArticleList.js +48 -15
- package/dist/cjs/article/setting/configs/ArticleAuthor/presets.js +28 -1
- package/dist/cjs/article/setting/configs/ArticleAuthor/uiV2.js +3 -12
- package/dist/cjs/article/setting/configs/ArticleCategory/presets.js +19 -1
- package/dist/cjs/article/setting/configs/ArticleCategory/uiV2.js +8 -0
- package/dist/cjs/article/setting/configs/ArticleDate/presets.js +19 -1
- package/dist/cjs/article/setting/configs/ArticleDate/uiV2.js +8 -0
- package/dist/cjs/article/setting/configs/ArticleImage/settings.js +41 -7
- package/dist/cjs/article/setting/configs/ArticleTag/settings.js +1 -4
- package/dist/cjs/article/setting/configs/ArticleTitle/uiV2.js +8 -16
- package/dist/cjs/banner/components/HeroBanner.liquid.js +2 -2
- package/dist/cjs/banner/components/HeroBannerItem.js +6 -6
- package/dist/cjs/banner/components/HeroBannerItem.liquid.js +8 -146
- package/dist/cjs/banner/components/hooks/useHeroBanner.js +1 -1
- package/dist/cjs/banner/index.js +18 -0
- package/dist/cjs/banner/setting/HeroBanner.js +1 -2
- package/dist/cjs/banner/setting/setting.js +24 -1180
- package/dist/cjs/banner/setting/uiV2.js +77 -11
- package/dist/cjs/breadcrumb/index.js +13 -0
- package/dist/cjs/builder.js +227 -226
- package/dist/cjs/button/components/Button.js +2 -2
- package/dist/cjs/button/components/common/classes.js +1 -1
- package/dist/cjs/button/components/common/data.js +3 -2
- package/dist/cjs/button/components/common/styles.js +32 -33
- package/dist/cjs/button/index.js +14 -0
- package/dist/cjs/carousel/components/Arrow.liquid.js +1 -1
- package/dist/cjs/carousel/components/Carousel.js +31 -12
- package/dist/cjs/carousel/components/common/carousel.js +5 -5
- package/dist/cjs/carousel/index.js +18 -0
- package/dist/cjs/cart/components/CartList.js +1 -1
- package/dist/cjs/cart/index.js +46 -0
- package/dist/cjs/code/components/CSSCode.js +0 -1
- package/dist/cjs/code/index.js +14 -0
- package/dist/cjs/collection/components/collection-banner/common/classes.js +36 -0
- package/dist/cjs/collection/components/collection-banner/common/index.js +19 -0
- package/dist/cjs/collection/components/collection-banner/common/styles.js +46 -0
- package/dist/cjs/collection/components/collection-banner/components/CollectionBanner.js +106 -0
- package/dist/cjs/collection/components/collection-banner/components/CollectionBanner.liquid.js +94 -0
- package/dist/cjs/collection/components/collection-description/common/classes.js +21 -0
- package/dist/cjs/collection/components/collection-description/common/constant.js +9 -0
- package/dist/cjs/collection/components/collection-description/common/index.js +36 -0
- package/dist/cjs/collection/components/collection-description/common/styles.js +86 -0
- package/dist/cjs/collection/components/collection-description/components/CollectionDescription.js +103 -0
- package/dist/cjs/collection/components/collection-description/components/CollectionDescription.liquid.js +99 -0
- package/dist/cjs/collection/components/collection-description/hook/useDescription.js +89 -0
- package/dist/cjs/collection/components/collection-paginator/common/classes.js +25 -0
- package/dist/cjs/collection/components/collection-paginator/common/index.js +195 -0
- package/dist/cjs/collection/components/collection-paginator/common/styles.js +61 -0
- package/dist/cjs/collection/components/collection-paginator/components/CollectionPaginator.js +42 -0
- package/dist/cjs/collection/components/collection-paginator/components/CollectionPaginator.liquid.js +62 -0
- package/dist/cjs/collection/components/{CollectionTitle.js → collection-title/components/CollectionTitle.js} +3 -4
- package/dist/cjs/collection/components/{CollectionTitle.liquid.js → collection-title/components/CollectionTitle.liquid.js} +1 -1
- package/dist/cjs/collection/components/collection-toolbar/common/classes.js +33 -0
- package/dist/cjs/collection/components/collection-toolbar/common/constant.js +40 -0
- package/dist/cjs/collection/components/collection-toolbar/common/index.js +28 -0
- package/dist/cjs/collection/components/collection-toolbar/common/style.js +51 -0
- package/dist/cjs/collection/components/collection-toolbar/components/CollectionToolbar.js +99 -0
- package/dist/cjs/collection/components/collection-toolbar/components/CollectionToolbar.liquid.js +101 -0
- package/dist/cjs/collection/index.js +26 -0
- package/dist/cjs/collection/next.js +5 -5
- package/dist/cjs/collection/setting/collection-paginator/configs/settings.js +5 -0
- package/dist/cjs/countdown-timer/components/Countdown.js +1 -1
- package/dist/cjs/countdown-timer/index.js +14 -0
- package/dist/cjs/coupon/common/classes.js +9 -0
- package/dist/cjs/coupon/common/index.js +16 -0
- package/dist/cjs/coupon/common/styles.js +46 -0
- package/dist/cjs/coupon/components/Coupon.js +42 -84
- package/dist/cjs/coupon/components/Coupon.liquid.js +29 -40
- package/dist/cjs/coupon/hooks/useCoupon.js +32 -0
- package/dist/cjs/coupon/index.js +14 -0
- package/dist/cjs/coupon/setting/Coupon.js +8 -1191
- package/dist/cjs/coupon/setting/config/settings.js +832 -0
- package/dist/cjs/coupon/setting/config/uiV1.js +367 -0
- package/dist/cjs/coupon/setting/config/uiV2.js +352 -0
- package/dist/cjs/dialog/index.js +14 -0
- package/dist/cjs/estimate-delivery/index.js +14 -0
- package/dist/cjs/form/components/form-email/FormEmail.liquid.js +1 -1
- package/dist/cjs/form/components/submit-button/SubmitButton.js +8 -10
- package/dist/cjs/form/components/textinput/common/composeStyles.js +0 -2
- package/dist/cjs/form/index.js +30 -0
- package/dist/cjs/form/setting/contact/Contact.js +2 -0
- package/dist/cjs/form/setting/form-checkbox/FormCheckbox.js +2 -2
- package/dist/cjs/form/setting/form-checkbox/configs/settings.js +3 -1
- package/dist/cjs/form/setting/form-dropdown/FormDropdown.js +3 -3
- package/dist/cjs/form/setting/form-dropdown/configs/settings.js +3 -1
- package/dist/cjs/form/setting/form-email/configs/FormEmail.js +3 -3
- package/dist/cjs/form/setting/form-email/configs/settings.js +3 -1
- package/dist/cjs/form/setting/form-textarea/Textarea.js +3 -3
- package/dist/cjs/form/setting/form-textarea/configs/settings.js +3 -1
- package/dist/cjs/form/setting/newsletter/Newsletter.js +2 -2
- package/dist/cjs/form/setting/newsletter/configs/settings.js +3 -1
- package/dist/cjs/form/setting/submit-button/SubmitButton.js +2 -2
- package/dist/cjs/form/setting/submit-button/configs/settings.js +3 -1
- package/dist/cjs/form/setting/text-field/TextField.js +3 -3
- package/dist/cjs/form/setting/text-field/configs/settings.js +3 -1
- package/dist/cjs/form/setting/text-input/TextInput.js +3 -3
- package/dist/cjs/form/setting/text-input/configs/settings.js +3 -1
- package/dist/cjs/grid/index.js +22 -0
- package/dist/cjs/grid/row/Row.js +5 -3
- package/dist/cjs/grid/row/Row.liquid.js +1 -4
- package/dist/cjs/grid/row/commons/getAttr.js +2 -5
- package/dist/cjs/header/components/kind/basic/index.js +3 -3
- package/dist/cjs/header/components/kind/modern/index.js +4 -4
- package/dist/cjs/header/index.js +24 -0
- package/dist/cjs/heading/index.js +14 -0
- package/dist/cjs/helpers.js +25 -6
- package/dist/cjs/icon/index.js +14 -0
- package/dist/cjs/icon/setting/Icon.js +2 -2
- package/dist/cjs/icon-list/index.js +16 -0
- package/dist/cjs/icon-list-hoz/index.js +16 -0
- package/dist/cjs/icon-list-v2/common/classes.js +31 -0
- package/dist/cjs/icon-list-v2/common/index.js +33 -0
- package/dist/cjs/icon-list-v2/common/styles.js +97 -0
- package/dist/cjs/icon-list-v2/components/IconList.js +111 -131
- package/dist/cjs/icon-list-v2/components/IconList.liquid.js +99 -92
- package/dist/cjs/icon-list-v2/index.js +14 -0
- package/dist/cjs/image/components/common/attributes.js +4 -2
- package/dist/cjs/image/components/common/helpers.js +4 -0
- package/dist/cjs/image/components/helpers/getNextImageLiquidAttrs.js +3 -2
- package/dist/cjs/image/helpers/getSrcSet.js +1 -1
- package/dist/cjs/image/index.js +16 -0
- package/dist/cjs/image/setting/configs/presets.js +3 -0
- package/dist/cjs/image/setting/configs/settings.js +69 -11
- package/dist/cjs/image/setting/configs/uiV2.js +127 -1
- package/dist/cjs/image-comparison/components/CompareImage.js +230 -562
- package/dist/cjs/image-comparison/components/CompareImage.liquid.js +249 -322
- package/dist/cjs/image-comparison/components/ImageComparison.js +16 -34
- package/dist/cjs/image-comparison/components/ImageComparison.liquid.js +16 -10
- package/dist/cjs/image-comparison/components/Label.js +31 -0
- package/dist/cjs/image-comparison/components/Label.liquid.js +18 -44
- package/dist/cjs/image-comparison/components/SlideHandle.js +57 -0
- package/dist/cjs/image-comparison/components/SlideHandle.liquid.js +37 -0
- package/dist/cjs/image-comparison/components/common/attributes.js +68 -0
- package/dist/cjs/image-comparison/components/common/classes.js +40 -0
- package/dist/cjs/image-comparison/components/common/constant.js +10 -0
- package/dist/cjs/image-comparison/components/common/data.js +61 -0
- package/dist/cjs/image-comparison/components/common/helpers.js +135 -5
- package/dist/cjs/image-comparison/components/common/styles.js +182 -0
- package/dist/cjs/image-comparison/components/helpers/getReactStyles.js +50 -0
- package/dist/cjs/image-comparison/components/hooks/useCompareImage.js +192 -0
- package/dist/cjs/image-comparison/index.js +14 -0
- package/dist/cjs/image-comparison/setting/configs/settings.js +94 -40
- package/dist/cjs/image-comparison/setting/configs/uiV2.js +97 -30
- package/dist/cjs/image-detection/index.js +12 -0
- package/dist/cjs/image-detection/setting/ImageDetection.js +1 -1
- package/dist/cjs/index.js +344 -372
- package/dist/cjs/index.liquid.js +108 -126
- package/dist/cjs/input/index.js +12 -0
- package/dist/cjs/line/index.js +12 -0
- package/dist/cjs/link/index.js +13 -0
- package/dist/cjs/marquee/common/classes.js +23 -0
- package/dist/cjs/marquee/common/index.js +23 -0
- package/dist/cjs/marquee/common/styles.js +224 -0
- package/dist/cjs/marquee/components/Marquee.js +125 -128
- package/dist/cjs/marquee/components/Marquee.liquid.js +81 -197
- package/dist/cjs/marquee/components/MarqueeBase.js +15 -156
- package/dist/cjs/marquee/components/MarqueeBase.liquid.js +36 -78
- package/dist/cjs/marquee/components/MarqueeItem.js +28 -72
- package/dist/cjs/marquee/components/MarqueeItem.liquid.js +18 -26
- package/dist/cjs/marquee/hooks/useMarquee.js +47 -0
- package/dist/cjs/marquee/hooks/useMarqueeBase.js +164 -0
- package/dist/cjs/marquee/hooks/useMarqueeItem.js +61 -0
- package/dist/cjs/marquee/hooks/useMarqueeScrollToItem.js +5 -2
- package/dist/cjs/marquee/hooks/useMarqueeStyles.js +4 -126
- package/dist/cjs/marquee/index.js +16 -0
- package/dist/cjs/marquee/setting/configs/uiV2.js +3 -1
- package/dist/cjs/menu/index.js +14 -0
- package/dist/cjs/modal/index.js +15 -0
- package/dist/cjs/next.js +61 -45
- package/dist/cjs/pagination/index.js +12 -0
- package/dist/cjs/post-purchase/advanced-list/components/common/getClasses.js +1 -1
- package/dist/cjs/post-purchase/advanced-list/index.js +15 -0
- package/dist/cjs/post-purchase/advanced-list/next.js +7 -2
- package/dist/cjs/post-purchase/advanced-list/setting/template.js +1 -4
- package/dist/cjs/post-purchase/button/common/getStyles.js +2 -2
- package/dist/cjs/post-purchase/button/index.js +14 -0
- package/dist/cjs/post-purchase/button/next.js +6 -1
- package/dist/cjs/post-purchase/button/setting/configs/settings.js +1 -0
- package/dist/cjs/post-purchase/callout-banner/components/CalloutBox.js +2 -2
- package/dist/cjs/post-purchase/callout-banner/index.js +19 -0
- package/dist/cjs/post-purchase/callout-banner/next.js +7 -2
- package/dist/cjs/post-purchase/countdown-timer/components/TextCountdown.js +6 -1
- package/dist/cjs/post-purchase/countdown-timer/hooks/useCountdownTimer.js +2 -3
- package/dist/cjs/post-purchase/countdown-timer/index.js +13 -0
- package/dist/cjs/post-purchase/countdown-timer/next.js +6 -1
- package/dist/cjs/post-purchase/image/index.js +14 -0
- package/dist/cjs/post-purchase/image/next.js +6 -1
- package/dist/cjs/post-purchase/image/setting/setting-v2.js +2 -2
- package/dist/cjs/post-purchase/line/components/PostPurchaseLine.js +0 -7
- package/dist/cjs/post-purchase/line/components/common/getStyle.js +4 -4
- package/dist/cjs/post-purchase/line/index.js +13 -0
- package/dist/cjs/post-purchase/line/next.js +6 -1
- package/dist/cjs/post-purchase/line/setting/configs/settings.js +1 -3
- package/dist/cjs/post-purchase/line/types/index.js +9 -0
- package/dist/cjs/post-purchase/link/index.js +14 -0
- package/dist/cjs/post-purchase/link/next.js +6 -1
- package/dist/cjs/post-purchase/product/components/ProductDiscountTag.js +5 -2
- package/dist/cjs/post-purchase/product/components/ProductOffer.js +4 -4
- package/dist/cjs/post-purchase/product/components/priceBreakdown/MoneyLine.js +3 -1
- package/dist/cjs/post-purchase/product/components/product-image/FeatureImage.js +3 -4
- package/dist/cjs/post-purchase/product/components/product-image/ItemCarouselPostPurchase.js +2 -2
- package/dist/cjs/post-purchase/product/components/product-image/ItemGridPostPurchase.js +2 -2
- package/dist/cjs/post-purchase/product/helpers/product-price-breakdown/getStyles.js +8 -0
- package/dist/cjs/post-purchase/product/helpers/product-quantity/getStyles.js +1 -6
- package/dist/cjs/post-purchase/product/hooks/product-quantity/useHandleQuantity.js +3 -2
- package/dist/cjs/post-purchase/product/index.js +37 -0
- package/dist/cjs/post-purchase/product/next.js +15 -10
- package/dist/cjs/post-purchase/product/settings/product-discount-tag/settingV2.js +97 -0
- package/dist/cjs/post-purchase/product/settings/product-discount-tag/uiV2.js +44 -0
- package/dist/cjs/post-purchase/product/settings/product-image/ProductImages.js +5 -15
- package/dist/cjs/post-purchase/product/settings/product-image/setting-v2.js +21 -9
- package/dist/cjs/post-purchase/product/settings/product-image/uiV2.js +52 -46
- package/dist/cjs/post-purchase/product/settings/product-variants/configs/uiV2.js +1 -1
- package/dist/cjs/post-purchase/product/settings/product-variants/settings/settingsV2.js +2 -0
- package/dist/cjs/post-purchase/text/index.js +7 -3
- package/dist/cjs/post-purchase/text/next.js +7 -2
- package/dist/cjs/product/components/DynamicCheckout/common/styles.js +2 -2
- package/dist/cjs/product/components/FileUpload/components/common/index.js +0 -140
- package/dist/cjs/product/components/FileUpload/components/config/setting.js +2 -2
- package/dist/cjs/product/components/ProductBadge/utils/stylesV2.js +9 -2
- package/dist/cjs/product/components/ProductBundle/components/ProductBundleDiscountItem.js +3 -1
- package/dist/cjs/product/components/ProductButton/ProductButton.js +47 -0
- package/dist/cjs/product/components/ProductButton/ProductButton.liquid.js +66 -0
- package/dist/cjs/product/components/ProductButton/common/classes.js +38 -0
- package/dist/cjs/product/components/ProductButton/common/constants.js +35 -0
- package/dist/cjs/product/components/ProductButton/common/data.js +57 -0
- package/dist/cjs/product/components/ProductButton/common/helpers.js +80 -0
- package/dist/cjs/product/components/ProductButton/common/styles.js +157 -0
- package/dist/cjs/product/components/ProductButton/common/types.js +7 -0
- package/dist/cjs/product/components/ProductButton/components/AddToCartButton.js +42 -0
- package/dist/cjs/product/components/ProductButton/components/AddToCartButton.liquid.js +40 -0
- package/dist/cjs/product/components/ProductButton/components/BlankSpace.js +14 -0
- package/dist/cjs/product/components/ProductButton/components/BlankSpace.liquid.js +12 -0
- package/dist/cjs/product/components/ProductButton/components/CartMessage.js +20 -0
- package/dist/cjs/product/components/ProductButton/components/PriceComponent.js +23 -0
- package/dist/cjs/product/components/ProductButton/components/PriceComponent.liquid.js +22 -0
- package/dist/cjs/product/components/ProductButton/components/PriceLayout.js +28 -0
- package/dist/cjs/product/components/ProductButton/components/PriceLayout.liquid.js +23 -0
- package/dist/cjs/product/components/ProductButton/components/ProductButtonPrice.js +42 -0
- package/dist/cjs/product/components/ProductButton/components/ProductButtonPrice.liquid.js +40 -0
- package/dist/cjs/product/components/ProductButton/components/Separator.js +18 -0
- package/dist/cjs/product/components/ProductButton/components/Separator.liquid.js +17 -0
- package/dist/cjs/product/components/ProductButton/components/SoldOutButton.js +38 -0
- package/dist/cjs/product/components/ProductButton/components/SoldOutButton.liquid.js +42 -0
- package/dist/cjs/product/components/ProductButton/helpers/getButtonDynamicSourceLocales.js +36 -0
- package/dist/cjs/product/components/ProductButton/hooks/useAddToCart.js +99 -0
- package/dist/cjs/product/components/ProductButton/hooks/useCartMessage.js +35 -0
- package/dist/cjs/product/components/ProductButton/hooks/useCartOperations.js +73 -0
- package/dist/cjs/product/components/ProductButton/hooks/useDispatchAfterSubmitEvent.js +27 -0
- package/dist/cjs/product/components/ProductDescription/index.js +40 -38
- package/dist/cjs/product/components/ProductImages/ProductImagesLightBox.js +1 -1
- package/dist/cjs/product/components/ProductImages.js +6 -6
- package/dist/cjs/product/components/ProductImagesV2/common/getAttr.js +19 -2
- package/dist/cjs/product/components/ProductImagesV2/common/getClasses.js +1 -1
- package/dist/cjs/product/components/ProductImagesV2/components/child/ProductFeaturedImageCarousel.js +109 -0
- package/dist/cjs/product/components/ProductImagesV2/{jsx/components → components/child}/ProductGalleryGrid.js +5 -97
- package/dist/cjs/product/components/ProductImagesV2/{jsx/layouts → components/feature-gallery}/FeatureImageWithGallery.js +14 -52
- package/dist/cjs/product/components/ProductImagesV2/{liquid/ProductFeaturedImageCarousel.liquid.js → components/feature-gallery/FeatureImageWithGallery.liquid.js} +15 -15
- package/dist/cjs/product/components/ProductImagesV2/{jsx/layouts → components/feature-only}/OnlyFeatureImage.js +4 -2
- package/dist/cjs/product/components/ProductImagesV2/components/gallery-carousel/GalleryCarousel.js +87 -0
- package/dist/cjs/product/components/ProductImagesV2/{liquid/ProductGalleryCarousel.liquid.js → components/gallery-carousel/GalleryCarousel.liquid.js} +13 -13
- package/dist/cjs/product/components/ProductImagesV2/{jsx/layouts → components/gallery-grid}/GalleryGrid.js +4 -2
- package/dist/cjs/product/components/ProductImagesV2/{liquid/ProductGalleryGrid.liquid.js → components/gallery-grid/GalleryGrid.liquid.js} +10 -10
- package/dist/cjs/product/components/ProductImagesV2/{jsx/components → components/lightbox}/ProductImagesLightBox.js +3 -3
- package/dist/cjs/product/components/ProductImagesV2/hooks/useFeatureImageWithGallery.js +55 -0
- package/dist/cjs/product/components/ProductImagesV2/hooks/useGalleryCarousel.js +135 -0
- package/dist/cjs/product/components/ProductImagesV2/{jsx/components/ProductFeaturedImageCarousel.js → hooks/useProductFeaturedImageCarousel.js} +54 -137
- package/dist/cjs/product/components/ProductImagesV2/hooks/useProductGalleryGrid.js +87 -0
- package/dist/cjs/product/components/ProductImagesV2/{jsx/ProductImages.js → index.js} +8 -8
- package/dist/cjs/product/components/ProductImagesV2/{liquid/ProductImages.liquid.js → index.liquid.js} +15 -15
- package/dist/cjs/product/components/{ProductList.js → ProductList/ProductList.js} +158 -245
- package/dist/cjs/product/components/ProductList/ProductList.liquid.js +242 -0
- package/dist/cjs/product/components/ProductList/ProductListCarouselLayout.js +48 -0
- package/dist/cjs/product/components/ProductList/ProductListCarouselLayout.liquid.js +63 -0
- package/dist/cjs/product/components/ProductList/ProductListGridLayout.js +38 -0
- package/dist/cjs/product/components/ProductList/ProductListGridLayout.liquid.js +62 -0
- package/dist/cjs/product/components/ProductList/ProductListItem.liquid.js +26 -0
- package/dist/cjs/product/components/ProductList/common/const.js +7 -0
- package/dist/cjs/product/components/ProductList/common/getAttr.js +26 -0
- package/dist/cjs/product/components/ProductList/common/getClass.js +36 -0
- package/dist/cjs/product/components/ProductList/common/getStyle.js +47 -0
- package/dist/cjs/product/components/ProductList/common/index.js +106 -0
- package/dist/cjs/product/components/ProductPrice/hooks/useGpPrice.js +1 -1
- package/dist/cjs/product/components/{ProductProperties.js → ProductProperties/ProductProperties.js} +52 -45
- package/dist/cjs/product/components/ProductProperties/ProductProperties.liquid.js +121 -0
- package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice/ProductPropertyChoice.js +63 -0
- package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice/ProductPropertyChoice.liquid.js +73 -0
- package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice/common/getProductPropertiesChoiceAttrs.js +10 -0
- package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice/common/getProductPropertiesChoiceClasses.js +20 -0
- package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice/common/getProductPropertiesChoiceInlineCss.js +17 -0
- package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice/common/getProductPropertiesChoiceStyles.js +28 -0
- package/dist/cjs/product/components/ProductProperties/ProductPropertyInput/ProductPropertyInput.js +65 -0
- package/dist/cjs/product/components/ProductProperties/ProductPropertyInput/ProductPropertyInput.liquid.js +59 -0
- package/dist/cjs/product/components/ProductProperties/ProductPropertyInput/common/getAttrs.js +10 -0
- package/dist/cjs/product/components/ProductProperties/ProductPropertyInput/common/getClasses.js +17 -0
- package/dist/cjs/product/components/ProductProperties/ProductPropertyInput/common/getContents.js +19 -0
- package/dist/cjs/product/components/ProductProperties/ProductPropertyInput/common/getStyles.js +24 -0
- package/dist/cjs/product/components/ProductProperties/ProductPropertySelect/ProductPropertySelect.js +38 -0
- package/dist/cjs/product/components/ProductProperties/ProductPropertySelect/ProductPropertySelect.liquid.js +58 -0
- package/dist/cjs/product/components/ProductProperties/ProductPropertySelect/common/getAttrs.js +12 -0
- package/dist/cjs/product/components/ProductProperties/ProductPropertySelect/common/getClasses.js +16 -0
- package/dist/cjs/product/components/ProductProperties/ProductPropertySelect/common/getStyles.js +30 -0
- package/dist/cjs/product/components/ProductProperties/common/getAttrs.js +34 -0
- package/dist/cjs/product/components/ProductProperties/common/getClasses.js +36 -0
- package/dist/cjs/product/components/ProductProperties/common/getContents.js +56 -0
- package/dist/cjs/product/components/ProductProperties/common/getStyles.js +43 -0
- package/dist/cjs/product/components/ProductQuantity/common/common.js +31 -0
- package/dist/cjs/product/components/ProductQuantity/common/getAttrs.js +36 -0
- package/dist/cjs/product/components/ProductQuantity/common/getClasses.js +53 -0
- package/dist/cjs/product/components/ProductQuantity/common/getStyles.js +127 -0
- package/dist/cjs/product/components/ProductQuantity/index.liquid.js +177 -0
- package/dist/cjs/product/components/ProductQuantity.js +1 -1
- package/dist/cjs/product/components/ProductQuickView/ProductQuickView.js +7 -7
- package/dist/cjs/product/components/{Sku.js → ProductSKU/Sku.js} +3 -3
- package/dist/cjs/product/components/{Sku.liquid.js → ProductSKU/Sku.liquid.js} +3 -3
- package/dist/cjs/product/components/{ProductTag.js → ProductTag/ProductTag.js} +10 -11
- package/dist/cjs/product/components/{ProductTag.liquid.js → ProductTag/ProductTag.liquid.js} +2 -2
- package/dist/cjs/product/components/ProductVariants/common/base/attrs.js +29 -0
- package/dist/cjs/product/components/ProductVariants/common/base/classes.js +52 -0
- package/dist/cjs/product/components/ProductVariants/common/base/styles.js +170 -0
- package/dist/cjs/product/components/ProductVariants/common/dropdown/attrs.js +22 -0
- package/dist/cjs/product/components/ProductVariants/common/dropdown/classes.js +29 -0
- package/dist/cjs/product/components/ProductVariants/common/dropdown/styles.js +42 -0
- package/dist/cjs/product/components/ProductVariants/common/main/classes.js +27 -0
- package/dist/cjs/product/components/ProductVariants/common/main/getAttr.js +10 -0
- package/dist/cjs/product/components/ProductVariants/common/main/getData.js +73 -0
- package/dist/cjs/product/components/ProductVariants/common/main/styles.js +29 -0
- package/dist/cjs/product/components/ProductVariants/common/variants/attrs.js +18 -0
- package/dist/cjs/product/components/ProductVariants/common/variants/classes.js +44 -0
- package/dist/cjs/product/components/ProductVariants/common/variants/styles.js +11 -0
- package/dist/cjs/product/components/ProductVariants/components/base/base.js +168 -0
- package/dist/cjs/product/components/ProductVariants/components/base/base.liquid.js +101 -0
- package/dist/cjs/product/components/ProductVariants/{variants/Color.js → components/color/color.js} +2 -2
- package/dist/cjs/product/components/ProductVariants/{variants/Color.liquid.js → components/color/color.liquid.js} +4 -4
- package/dist/cjs/product/components/ProductVariants/{variants/VariantGroup.js → components/dropdown-group/DropdownGroup.js} +4 -4
- package/dist/cjs/product/components/ProductVariants/components/dropdown-group/DropdownGroup.liquid.js +18 -0
- package/dist/cjs/product/components/ProductVariants/components/dropdown-option/render-liquid/index.js +64 -0
- package/dist/cjs/product/components/ProductVariants/components/dropdown-swatches/Dropdown.js +86 -0
- package/dist/cjs/product/components/ProductVariants/components/dropdown-swatches/Dropdown.liquid.js +51 -0
- package/dist/cjs/product/components/ProductVariants/components/dropdown-swatches/hooks/useDropdownSwatches.js +55 -0
- package/dist/cjs/product/components/ProductVariants/{variants → components/image}/Image.js +2 -2
- package/dist/cjs/product/components/ProductVariants/{variants → components/image}/Image.liquid.js +3 -3
- package/dist/cjs/product/components/ProductVariants/{variants → components/image-shopify}/ImageShopify.js +2 -2
- package/dist/cjs/product/components/ProductVariants/{variants → components/image-shopify}/ImageShopify.liquid.js +3 -3
- package/dist/cjs/product/components/ProductVariants/{variants → components/variants}/index.js +30 -23
- package/dist/cjs/product/components/ProductVariants/{variants → components/variants}/index.liquid.js +49 -44
- package/dist/cjs/product/components/ProductVariants/hooks/useGpVariants.js +178 -0
- package/dist/cjs/product/components/ProductVariants/index.js +103 -337
- package/dist/cjs/product/components/ProductVariants/index.liquid.js +167 -233
- package/dist/cjs/product/components/{Vendor.js → ProductVendor/Vendor.js} +2 -2
- package/dist/cjs/product/components/{Vendor.liquid.js → ProductVendor/Vendor.liquid.js} +2 -2
- package/dist/cjs/product/components/ProductViewMore/ProductViewMore.js +30 -0
- package/dist/cjs/product/components/{ProductViewMore.liquid.js → ProductViewMore/ProductViewMore.liquid.js} +2 -2
- package/dist/cjs/product/components/ProductWrap/Product.js +70 -0
- package/dist/cjs/product/components/ProductWrap/Product.liquid.js +147 -0
- package/dist/cjs/product/components/ProductWrap/common/const.js +15 -0
- package/dist/cjs/product/components/ProductWrap/common/index.js +33 -0
- package/dist/cjs/product/components/ProductWrap/hook/useProductSetting.js +58 -0
- package/dist/cjs/product/helpers/product.js +6 -30
- package/dist/cjs/product/index.js +73 -0
- package/dist/cjs/product/next.js +10 -10
- package/dist/cjs/product/setting/ProductProperties.js +2 -2
- package/dist/cjs/product/setting/product/configs/presets.js +0 -11
- package/dist/cjs/product/setting/product-button/configs/settings.js +78 -180
- package/dist/cjs/product/setting/product-button/configs/uiV2.js +123 -153
- package/dist/cjs/product/setting/product-image-v2/configs/setting-v2/ProductFeatureImage.js +7 -6
- package/dist/cjs/product/setting/product-image-v2/configs/setting-v2/ProductGalleryImage.js +8 -7
- package/dist/cjs/product/setting/product-image-v2/configs/setting-v2/index.js +1 -1
- package/dist/cjs/product/setting/product-image-v2/configs/uiV2.js +157 -86
- package/dist/cjs/product/setting/product-list/configs/presets.js +4 -2
- package/dist/cjs/product/setting/product-list/configs/uiV1.js +1 -1
- package/dist/{esm/product/setting/product-properties/configs/settings.js → cjs/product/setting/product-properties/configs/settingsV2.js} +57 -25
- package/dist/cjs/product/setting/product-properties/configs/uiV2.js +367 -180
- package/dist/cjs/product/setting/product-quantity/configs/settings.js +201 -156
- package/dist/cjs/product/setting/product-quantity/configs/uiV2.js +417 -24
- package/dist/cjs/product/setting/product-variant/configs/uiV2.js +2 -3
- package/dist/cjs/select/setting/Select.js +65 -0
- package/dist/cjs/setting.js +109 -196
- package/dist/cjs/shop-pay-installment/components/ShopPayInstallments.js +3 -9
- package/dist/cjs/shop-pay-installment/components/common/const.js +10 -0
- package/dist/cjs/shop-pay-installment/settings/ShopPayInstallments.js +3 -3
- package/dist/cjs/sticky/components/Sticky.js +6 -6
- package/dist/cjs/sticky/components/Sticky.liquid.js +1 -5
- package/dist/cjs/stock-counter/components/StockCounter.liquid.js +4 -4
- package/dist/cjs/stock-counter/index.js +12 -0
- package/dist/cjs/tab/components/TabItem.js +19 -9
- package/dist/cjs/tab/components/TabItem.liquid.js +20 -8
- package/dist/cjs/tab/components/Tabs.js +137 -116
- package/dist/cjs/tab/components/Tabs.liquid.js +153 -104
- package/dist/cjs/tab/components/{common.js → common/common.js} +49 -34
- package/dist/cjs/tab/components/common/getAttr.js +15 -0
- package/dist/cjs/tab/components/common/getClasses.js +108 -0
- package/dist/cjs/tab/components/common/getStyle.js +92 -0
- package/dist/cjs/tab/components/hooks/useTab.js +35 -0
- package/dist/cjs/tab/index.js +16 -0
- package/dist/cjs/text/components/common/getClasses.js +2 -1
- package/dist/cjs/text/index.js +12 -8
- package/dist/cjs/text/utils/dynamic-source.js +1 -0
- package/dist/cjs/third-party/components/Wiser/WiserSampleContent.js +3 -3
- package/dist/cjs/third-party/components/Wiser.liquid.js +2 -2
- package/dist/cjs/third-party/setting/Wiser.js +3 -7
- package/dist/cjs/third-party/types/index.js +8 -0
- package/dist/cjs/third-party-instant/components/InstantThirdPartyPreview.js +53 -55
- package/dist/cjs/third-party-instant/components/Judgeme/JudgemeSampleContent.js +7 -9
- package/dist/cjs/third-party-instant/components/Judgeme/WithoutProduct.js +39 -41
- package/dist/cjs/third-party-instant/components/Klaviyo/KlaviyoSampleContent.js +7 -9
- package/dist/cjs/third-party-instant/components/LooxReviews/LooxReviewsSampleContent.js +7 -9
- package/dist/cjs/third-party-instant/components/LooxReviews/SingleProduct.js +13 -15
- package/dist/cjs/third-party-instant/components/LooxReviews/WithoutProduct.js +19 -21
- package/dist/cjs/third-party-instant/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +7 -9
- package/dist/cjs/third-party-instant/index.js +27 -0
- package/dist/cjs/third-party-slot/common/classes.js +22 -0
- package/dist/cjs/third-party-slot/common/index.js +57 -0
- package/dist/cjs/third-party-slot/common/styles.js +9 -0
- package/dist/cjs/third-party-slot/components/ThirdPartySlot.js +29 -31
- package/dist/cjs/third-party-slot/components/ThirdPartySlot.liquid.js +24 -50
- package/dist/cjs/third-party-slot/setting/index.js +1 -1
- package/dist/cjs/video/components/LiteYouTubeEmbed.js +39 -41
- package/dist/esm/accordion/components/AccordionItem.liquid.js +2 -2
- package/dist/esm/accordion/hooks/useAccordion.js +8 -1
- package/dist/esm/accordion/index.js +15 -0
- package/dist/esm/accordion/setting/configs/settings.js +5 -2
- package/dist/esm/article/components/ArticleAuthor.js +3 -2
- package/dist/esm/article/components/ArticleList.liquid.js +6 -6
- package/dist/esm/article/components/ArticlePagination.js +1 -1
- package/dist/esm/article/components/ArticleReadMore.js +1 -1
- package/dist/esm/article/index.js +37 -0
- package/dist/esm/article/next.js +31 -41
- package/dist/esm/article/setting/ArticleExcerpt.js +4 -4
- package/dist/esm/article/setting/ArticleList.js +48 -15
- package/dist/esm/article/setting/configs/ArticleAuthor/presets.js +28 -1
- package/dist/esm/article/setting/configs/ArticleAuthor/uiV2.js +3 -12
- package/dist/esm/article/setting/configs/ArticleCategory/presets.js +19 -1
- package/dist/esm/article/setting/configs/ArticleCategory/uiV2.js +8 -0
- package/dist/esm/article/setting/configs/ArticleDate/presets.js +19 -1
- package/dist/esm/article/setting/configs/ArticleDate/uiV2.js +8 -0
- package/dist/esm/article/setting/configs/ArticleImage/settings.js +41 -7
- package/dist/esm/article/setting/configs/ArticleTag/settings.js +1 -4
- package/dist/esm/article/setting/configs/ArticleTitle/uiV2.js +8 -16
- package/dist/esm/banner/components/HeroBanner.liquid.js +2 -2
- package/dist/esm/banner/components/HeroBannerItem.js +6 -6
- package/dist/esm/banner/components/HeroBannerItem.liquid.js +8 -146
- package/dist/esm/banner/components/hooks/useHeroBanner.js +1 -1
- package/dist/esm/banner/index.js +16 -0
- package/dist/esm/banner/setting/HeroBanner.js +2 -3
- package/dist/esm/banner/setting/setting.js +25 -1180
- package/dist/esm/banner/setting/uiV2.js +77 -11
- package/dist/esm/breadcrumb/index.js +11 -0
- package/dist/esm/builder.js +212 -211
- package/dist/esm/button/components/Button.js +2 -2
- package/dist/esm/button/components/common/classes.js +1 -1
- package/dist/esm/button/components/common/data.js +3 -2
- package/dist/esm/button/components/common/styles.js +34 -34
- package/dist/esm/button/index.js +12 -0
- package/dist/esm/carousel/components/Arrow.liquid.js +1 -1
- package/dist/esm/carousel/components/Carousel.js +31 -12
- package/dist/esm/carousel/components/common/carousel.js +1 -1
- package/dist/esm/carousel/index.js +16 -0
- package/dist/esm/cart/components/CartList.js +1 -1
- package/dist/esm/cart/index.js +43 -0
- package/dist/esm/code/components/CSSCode.js +0 -1
- package/dist/esm/code/index.js +12 -0
- package/dist/esm/collection/components/collection-banner/common/classes.js +31 -0
- package/dist/esm/collection/components/collection-banner/common/index.js +16 -0
- package/dist/esm/collection/components/collection-banner/common/styles.js +42 -0
- package/dist/esm/collection/components/collection-banner/components/CollectionBanner.js +102 -0
- package/dist/esm/collection/components/collection-banner/components/CollectionBanner.liquid.js +90 -0
- package/dist/esm/collection/components/collection-description/common/classes.js +18 -0
- package/dist/esm/collection/components/collection-description/common/constant.js +6 -0
- package/dist/esm/collection/components/collection-description/common/index.js +32 -0
- package/dist/esm/collection/components/collection-description/common/styles.js +80 -0
- package/dist/esm/collection/components/collection-description/components/CollectionDescription.js +99 -0
- package/dist/esm/collection/components/collection-description/components/CollectionDescription.liquid.js +95 -0
- package/dist/esm/collection/components/collection-description/hook/useDescription.js +87 -0
- package/dist/esm/collection/components/collection-paginator/common/classes.js +21 -0
- package/dist/esm/collection/components/collection-paginator/common/index.js +193 -0
- package/dist/esm/collection/components/collection-paginator/common/styles.js +58 -0
- package/dist/esm/collection/components/collection-paginator/components/CollectionPaginator.js +38 -0
- package/dist/esm/collection/components/collection-paginator/components/CollectionPaginator.liquid.js +58 -0
- package/dist/esm/collection/components/{CollectionTitle.js → collection-title/components/CollectionTitle.js} +3 -4
- package/dist/esm/collection/components/{CollectionTitle.liquid.js → collection-title/components/CollectionTitle.liquid.js} +1 -1
- package/dist/esm/collection/components/collection-toolbar/common/classes.js +27 -0
- package/dist/esm/collection/components/collection-toolbar/common/constant.js +37 -0
- package/dist/esm/collection/components/collection-toolbar/common/index.js +25 -0
- package/dist/esm/collection/components/collection-toolbar/common/style.js +46 -0
- package/dist/esm/collection/components/collection-toolbar/components/CollectionToolbar.js +95 -0
- package/dist/esm/collection/components/collection-toolbar/components/CollectionToolbar.liquid.js +97 -0
- package/dist/esm/collection/index.js +24 -0
- package/dist/esm/collection/next.js +5 -5
- package/dist/esm/collection/setting/collection-paginator/configs/settings.js +5 -0
- package/dist/esm/countdown-timer/components/Countdown.js +1 -1
- package/dist/esm/countdown-timer/index.js +12 -0
- package/dist/esm/coupon/common/classes.js +7 -0
- package/dist/esm/coupon/common/index.js +14 -0
- package/dist/esm/coupon/common/styles.js +41 -0
- package/dist/esm/coupon/components/Coupon.js +42 -84
- package/dist/esm/coupon/components/Coupon.liquid.js +28 -39
- package/dist/esm/coupon/hooks/useCoupon.js +28 -0
- package/dist/esm/coupon/index.js +12 -0
- package/dist/esm/coupon/setting/Coupon.js +8 -1191
- package/dist/esm/coupon/setting/config/settings.js +829 -0
- package/dist/esm/coupon/setting/config/uiV1.js +365 -0
- package/dist/esm/coupon/setting/config/uiV2.js +350 -0
- package/dist/esm/dialog/index.js +12 -0
- package/dist/esm/estimate-delivery/index.js +12 -0
- package/dist/esm/form/components/form-email/FormEmail.liquid.js +1 -1
- package/dist/esm/form/components/submit-button/SubmitButton.js +9 -11
- package/dist/esm/form/components/textinput/common/composeStyles.js +0 -2
- package/dist/esm/form/index.js +28 -0
- package/dist/esm/form/setting/contact/Contact.js +2 -0
- package/dist/esm/form/setting/form-checkbox/FormCheckbox.js +1 -1
- package/dist/esm/form/setting/form-checkbox/configs/settings.js +1 -1
- package/dist/esm/form/setting/form-dropdown/FormDropdown.js +2 -2
- package/dist/esm/form/setting/form-dropdown/configs/settings.js +1 -1
- package/dist/esm/form/setting/form-email/configs/FormEmail.js +2 -2
- package/dist/esm/form/setting/form-email/configs/settings.js +1 -1
- package/dist/esm/form/setting/form-textarea/Textarea.js +2 -2
- package/dist/esm/form/setting/form-textarea/configs/settings.js +1 -1
- package/dist/esm/form/setting/newsletter/Newsletter.js +1 -1
- package/dist/esm/form/setting/newsletter/configs/settings.js +1 -1
- package/dist/esm/form/setting/submit-button/SubmitButton.js +1 -1
- package/dist/esm/form/setting/submit-button/configs/settings.js +1 -1
- package/dist/esm/form/setting/text-field/TextField.js +2 -2
- package/dist/esm/form/setting/text-field/configs/settings.js +1 -1
- package/dist/esm/form/setting/text-input/TextInput.js +2 -2
- package/dist/esm/form/setting/text-input/configs/settings.js +1 -1
- package/dist/esm/grid/index.js +20 -0
- package/dist/esm/grid/row/Row.js +5 -3
- package/dist/esm/grid/row/Row.liquid.js +1 -4
- package/dist/esm/grid/row/commons/getAttr.js +2 -5
- package/dist/esm/header/components/kind/basic/index.js +3 -3
- package/dist/esm/header/components/kind/modern/index.js +4 -4
- package/dist/esm/header/index.js +20 -0
- package/dist/esm/heading/index.js +12 -0
- package/dist/esm/helpers.js +24 -6
- package/dist/esm/icon/index.js +12 -0
- package/dist/esm/icon/setting/Icon.js +2 -2
- package/dist/esm/icon-list/index.js +14 -0
- package/dist/esm/icon-list-hoz/index.js +14 -0
- package/dist/esm/icon-list-v2/common/classes.js +24 -0
- package/dist/esm/icon-list-v2/common/index.js +29 -0
- package/dist/esm/icon-list-v2/common/styles.js +89 -0
- package/dist/esm/icon-list-v2/components/IconList.js +112 -132
- package/dist/esm/icon-list-v2/components/IconList.liquid.js +101 -94
- package/dist/esm/icon-list-v2/index.js +12 -0
- package/dist/esm/image/components/common/attributes.js +4 -2
- package/dist/esm/image/components/common/helpers.js +4 -1
- package/dist/esm/image/components/helpers/getNextImageLiquidAttrs.js +3 -2
- package/dist/esm/image/helpers/getSrcSet.js +1 -1
- package/dist/esm/image/index.js +14 -0
- package/dist/esm/image/setting/configs/presets.js +3 -0
- package/dist/esm/image/setting/configs/settings.js +69 -11
- package/dist/esm/image/setting/configs/uiV2.js +127 -1
- package/dist/esm/image-comparison/components/CompareImage.js +230 -562
- package/dist/esm/image-comparison/components/CompareImage.liquid.js +250 -323
- package/dist/esm/image-comparison/components/ImageComparison.js +16 -34
- package/dist/esm/image-comparison/components/ImageComparison.liquid.js +16 -10
- package/dist/esm/image-comparison/components/Label.js +27 -0
- package/dist/esm/image-comparison/components/Label.liquid.js +19 -45
- package/dist/esm/image-comparison/components/SlideHandle.js +53 -0
- package/dist/esm/image-comparison/components/SlideHandle.liquid.js +33 -0
- package/dist/esm/image-comparison/components/common/attributes.js +61 -0
- package/dist/esm/image-comparison/components/common/classes.js +34 -0
- package/dist/esm/image-comparison/components/common/constant.js +8 -0
- package/dist/esm/image-comparison/components/common/data.js +59 -0
- package/dist/esm/image-comparison/components/common/helpers.js +130 -6
- package/dist/esm/image-comparison/components/common/styles.js +167 -0
- package/dist/esm/image-comparison/components/helpers/getReactStyles.js +45 -0
- package/dist/esm/image-comparison/components/hooks/useCompareImage.js +190 -0
- package/dist/esm/image-comparison/index.js +12 -0
- package/dist/esm/image-comparison/setting/configs/settings.js +94 -40
- package/dist/esm/image-comparison/setting/configs/uiV2.js +97 -30
- package/dist/esm/image-detection/index.js +10 -0
- package/dist/esm/image-detection/setting/ImageDetection.js +1 -1
- package/dist/esm/index.js +167 -182
- package/dist/esm/index.liquid.js +58 -65
- package/dist/esm/input/index.js +10 -0
- package/dist/esm/line/index.js +10 -0
- package/dist/esm/link/index.js +11 -0
- package/dist/esm/marquee/common/classes.js +13 -0
- package/dist/esm/marquee/common/index.js +21 -0
- package/dist/esm/marquee/common/styles.js +214 -0
- package/dist/esm/marquee/components/Marquee.js +126 -129
- package/dist/esm/marquee/components/Marquee.liquid.js +76 -192
- package/dist/esm/marquee/components/MarqueeBase.js +16 -157
- package/dist/esm/marquee/components/MarqueeBase.liquid.js +37 -79
- package/dist/esm/marquee/components/MarqueeItem.js +30 -74
- package/dist/esm/marquee/components/MarqueeItem.liquid.js +19 -27
- package/dist/esm/marquee/hooks/useMarquee.js +45 -0
- package/dist/esm/marquee/hooks/useMarqueeBase.js +162 -0
- package/dist/esm/marquee/hooks/useMarqueeItem.js +59 -0
- package/dist/esm/marquee/hooks/useMarqueeScrollToItem.js +5 -2
- package/dist/esm/marquee/hooks/useMarqueeStyles.js +6 -128
- package/dist/esm/marquee/index.js +14 -0
- package/dist/esm/marquee/setting/configs/uiV2.js +3 -1
- package/dist/esm/menu/index.js +12 -0
- package/dist/esm/modal/index.js +12 -0
- package/dist/esm/next.js +49 -33
- package/dist/esm/pagination/index.js +10 -0
- package/dist/esm/post-purchase/advanced-list/components/common/getClasses.js +1 -1
- package/dist/esm/post-purchase/advanced-list/index.js +13 -0
- package/dist/esm/post-purchase/advanced-list/next.js +5 -1
- package/dist/esm/post-purchase/advanced-list/setting/template.js +1 -4
- package/dist/esm/post-purchase/button/common/getStyles.js +2 -2
- package/dist/esm/post-purchase/button/index.js +12 -0
- package/dist/esm/post-purchase/button/next.js +4 -1
- package/dist/esm/post-purchase/button/setting/configs/settings.js +1 -0
- package/dist/esm/post-purchase/callout-banner/components/CalloutBox.js +2 -2
- package/dist/esm/post-purchase/callout-banner/index.js +17 -0
- package/dist/esm/post-purchase/callout-banner/next.js +5 -1
- package/dist/esm/post-purchase/countdown-timer/components/TextCountdown.js +6 -1
- package/dist/esm/post-purchase/countdown-timer/hooks/useCountdownTimer.js +2 -3
- package/dist/esm/post-purchase/countdown-timer/index.js +11 -0
- package/dist/esm/post-purchase/countdown-timer/next.js +4 -1
- package/dist/esm/post-purchase/image/index.js +12 -0
- package/dist/esm/post-purchase/image/next.js +4 -1
- package/dist/esm/post-purchase/image/setting/setting-v2.js +2 -2
- package/dist/esm/post-purchase/line/components/PostPurchaseLine.js +1 -8
- package/dist/esm/post-purchase/line/components/common/getStyle.js +1 -1
- package/dist/esm/post-purchase/line/index.js +11 -0
- package/dist/esm/post-purchase/line/next.js +4 -1
- package/dist/esm/post-purchase/line/setting/configs/settings.js +1 -3
- package/dist/esm/post-purchase/line/types/index.js +9 -0
- package/dist/esm/post-purchase/link/index.js +12 -0
- package/dist/esm/post-purchase/link/next.js +4 -1
- package/dist/esm/post-purchase/product/components/ProductDiscountTag.js +5 -2
- package/dist/esm/post-purchase/product/components/ProductOffer.js +4 -4
- package/dist/esm/post-purchase/product/components/priceBreakdown/MoneyLine.js +3 -1
- package/dist/esm/post-purchase/product/components/product-image/FeatureImage.js +3 -4
- package/dist/esm/post-purchase/product/components/product-image/ItemCarouselPostPurchase.js +1 -1
- package/dist/esm/post-purchase/product/components/product-image/ItemGridPostPurchase.js +1 -1
- package/dist/esm/post-purchase/product/helpers/product-price-breakdown/getStyles.js +8 -1
- package/dist/esm/post-purchase/product/helpers/product-quantity/getStyles.js +2 -7
- package/dist/esm/post-purchase/product/hooks/product-quantity/useHandleQuantity.js +3 -2
- package/dist/esm/post-purchase/product/index.js +35 -0
- package/dist/esm/post-purchase/product/next.js +13 -1
- package/dist/esm/post-purchase/product/settings/product-discount-tag/settingV2.js +97 -0
- package/dist/esm/post-purchase/product/settings/product-discount-tag/uiV2.js +44 -0
- package/dist/esm/post-purchase/product/settings/product-image/ProductImages.js +5 -15
- package/dist/esm/post-purchase/product/settings/product-image/setting-v2.js +21 -9
- package/dist/esm/post-purchase/product/settings/product-image/uiV2.js +52 -46
- package/dist/esm/post-purchase/product/settings/product-variants/configs/uiV2.js +1 -1
- package/dist/esm/post-purchase/product/settings/product-variants/settings/settingsV2.js +2 -0
- package/dist/esm/post-purchase/text/index.js +7 -1
- package/dist/esm/post-purchase/text/next.js +5 -1
- package/dist/esm/product/components/DynamicCheckout/common/styles.js +2 -2
- package/dist/esm/product/components/FileUpload/components/common/index.js +0 -140
- package/dist/esm/product/components/FileUpload/components/config/setting.js +2 -2
- package/dist/esm/product/components/ProductBadge/utils/stylesV2.js +9 -2
- package/dist/esm/product/components/ProductBundle/components/ProductBundleDiscountItem.js +4 -2
- package/dist/esm/product/components/ProductButton/ProductButton.js +43 -0
- package/dist/esm/product/components/ProductButton/ProductButton.liquid.js +62 -0
- package/dist/esm/product/components/ProductButton/common/classes.js +33 -0
- package/dist/esm/product/components/ProductButton/common/constants.js +32 -0
- package/dist/esm/product/components/ProductButton/common/data.js +54 -0
- package/dist/esm/product/components/ProductButton/common/helpers.js +72 -0
- package/dist/esm/product/components/ProductButton/common/styles.js +149 -0
- package/dist/esm/product/components/ProductButton/common/types.js +7 -0
- package/dist/esm/product/components/ProductButton/components/AddToCartButton.js +38 -0
- package/dist/esm/product/components/ProductButton/components/AddToCartButton.liquid.js +38 -0
- package/dist/esm/product/components/ProductButton/components/BlankSpace.js +10 -0
- package/dist/esm/product/components/ProductButton/components/BlankSpace.liquid.js +8 -0
- package/dist/esm/product/components/ProductButton/components/CartMessage.js +18 -0
- package/dist/esm/product/components/ProductButton/components/PriceComponent.js +19 -0
- package/dist/esm/product/components/ProductButton/components/PriceComponent.liquid.js +18 -0
- package/dist/esm/product/components/ProductButton/components/PriceLayout.js +24 -0
- package/dist/esm/product/components/ProductButton/components/PriceLayout.liquid.js +19 -0
- package/dist/esm/product/components/ProductButton/components/ProductButtonPrice.js +38 -0
- package/dist/esm/product/components/ProductButton/components/ProductButtonPrice.liquid.js +36 -0
- package/dist/esm/product/components/ProductButton/components/Separator.js +14 -0
- package/dist/esm/product/components/ProductButton/components/Separator.liquid.js +13 -0
- package/dist/esm/product/components/ProductButton/components/SoldOutButton.js +34 -0
- package/dist/esm/product/components/ProductButton/components/SoldOutButton.liquid.js +40 -0
- package/dist/esm/product/components/ProductButton/helpers/getButtonDynamicSourceLocales.js +34 -0
- package/dist/esm/product/components/ProductButton/hooks/useAddToCart.js +97 -0
- package/dist/esm/product/components/ProductButton/hooks/useCartMessage.js +33 -0
- package/dist/esm/product/components/ProductButton/hooks/useCartOperations.js +71 -0
- package/dist/esm/product/components/ProductButton/hooks/useDispatchAfterSubmitEvent.js +25 -0
- package/dist/esm/product/components/ProductDescription/index.js +41 -39
- package/dist/esm/product/components/ProductImages/ProductImagesLightBox.js +1 -1
- package/dist/esm/product/components/ProductImages.js +6 -6
- package/dist/esm/product/components/ProductImagesV2/common/getAttr.js +19 -2
- package/dist/esm/product/components/ProductImagesV2/common/getClasses.js +1 -1
- package/dist/esm/product/components/ProductImagesV2/components/child/ProductFeaturedImageCarousel.js +105 -0
- package/dist/esm/product/components/ProductImagesV2/{jsx/components → components/child}/ProductGalleryGrid.js +7 -99
- package/dist/esm/product/components/ProductImagesV2/{jsx/layouts → components/feature-gallery}/FeatureImageWithGallery.js +16 -54
- package/dist/esm/product/components/ProductImagesV2/{liquid/ProductFeaturedImageCarousel.liquid.js → components/feature-gallery/FeatureImageWithGallery.liquid.js} +15 -15
- package/dist/esm/product/components/ProductImagesV2/{jsx/layouts → components/feature-only}/OnlyFeatureImage.js +5 -3
- package/dist/esm/product/components/ProductImagesV2/components/gallery-carousel/GalleryCarousel.js +83 -0
- package/dist/esm/product/components/ProductImagesV2/{liquid/ProductGalleryCarousel.liquid.js → components/gallery-carousel/GalleryCarousel.liquid.js} +13 -13
- package/dist/esm/product/components/ProductImagesV2/{jsx/layouts → components/gallery-grid}/GalleryGrid.js +5 -3
- package/dist/esm/product/components/ProductImagesV2/{liquid/ProductGalleryGrid.liquid.js → components/gallery-grid/GalleryGrid.liquid.js} +10 -10
- package/dist/esm/product/components/ProductImagesV2/{jsx/components → components/lightbox}/ProductImagesLightBox.js +3 -3
- package/dist/esm/product/components/ProductImagesV2/hooks/useFeatureImageWithGallery.js +53 -0
- package/dist/esm/product/components/ProductImagesV2/hooks/useGalleryCarousel.js +133 -0
- package/dist/esm/product/components/ProductImagesV2/{jsx/components/ProductFeaturedImageCarousel.js → hooks/useProductFeaturedImageCarousel.js} +56 -137
- package/dist/esm/product/components/ProductImagesV2/hooks/useProductGalleryGrid.js +85 -0
- package/dist/esm/product/components/ProductImagesV2/{jsx/ProductImages.js → index.js} +8 -8
- package/dist/esm/product/components/ProductImagesV2/{liquid/ProductImages.liquid.js → index.liquid.js} +13 -13
- package/dist/esm/product/components/ProductList/ProductList.js +380 -0
- package/dist/esm/product/components/ProductList/ProductList.liquid.js +238 -0
- package/dist/esm/product/components/ProductList/ProductListCarouselLayout.js +44 -0
- package/dist/esm/product/components/ProductList/ProductListCarouselLayout.liquid.js +59 -0
- package/dist/esm/product/components/ProductList/ProductListGridLayout.js +34 -0
- package/dist/esm/product/components/ProductList/ProductListGridLayout.liquid.js +58 -0
- package/dist/esm/product/components/ProductList/ProductListItem.liquid.js +22 -0
- package/dist/esm/product/components/ProductList/common/const.js +4 -0
- package/dist/esm/product/components/ProductList/common/getAttr.js +24 -0
- package/dist/esm/product/components/ProductList/common/getClass.js +34 -0
- package/dist/esm/product/components/ProductList/common/getStyle.js +45 -0
- package/dist/esm/product/components/ProductList/common/index.js +103 -0
- package/dist/esm/product/components/ProductPrice/hooks/useGpPrice.js +1 -1
- package/dist/esm/product/components/{ProductProperties.js → ProductProperties/ProductProperties.js} +53 -46
- package/dist/esm/product/components/ProductProperties/ProductProperties.liquid.js +117 -0
- package/dist/esm/product/components/ProductProperties/ProductPropertyChoice/ProductPropertyChoice.js +59 -0
- package/dist/esm/product/components/ProductProperties/ProductPropertyChoice/ProductPropertyChoice.liquid.js +69 -0
- package/dist/esm/product/components/ProductProperties/ProductPropertyChoice/common/getProductPropertiesChoiceAttrs.js +8 -0
- package/dist/esm/product/components/ProductProperties/ProductPropertyChoice/common/getProductPropertiesChoiceClasses.js +17 -0
- package/dist/esm/product/components/ProductProperties/ProductPropertyChoice/common/getProductPropertiesChoiceInlineCss.js +15 -0
- package/dist/esm/product/components/ProductProperties/ProductPropertyChoice/common/getProductPropertiesChoiceStyles.js +24 -0
- package/dist/esm/product/components/ProductProperties/ProductPropertyInput/ProductPropertyInput.js +61 -0
- package/dist/esm/product/components/ProductProperties/ProductPropertyInput/ProductPropertyInput.liquid.js +55 -0
- package/dist/esm/product/components/ProductProperties/ProductPropertyInput/common/getAttrs.js +8 -0
- package/dist/esm/product/components/ProductProperties/ProductPropertyInput/common/getClasses.js +15 -0
- package/dist/esm/product/components/ProductProperties/ProductPropertyInput/common/getContents.js +17 -0
- package/dist/esm/product/components/ProductProperties/ProductPropertyInput/common/getStyles.js +22 -0
- package/dist/esm/product/components/ProductProperties/ProductPropertySelect/ProductPropertySelect.js +34 -0
- package/dist/esm/product/components/ProductProperties/ProductPropertySelect/ProductPropertySelect.liquid.js +54 -0
- package/dist/esm/product/components/ProductProperties/ProductPropertySelect/common/getAttrs.js +10 -0
- package/dist/esm/product/components/ProductProperties/ProductPropertySelect/common/getClasses.js +14 -0
- package/dist/esm/product/components/ProductProperties/ProductPropertySelect/common/getStyles.js +27 -0
- package/dist/esm/product/components/ProductProperties/common/getAttrs.js +30 -0
- package/dist/esm/product/components/ProductProperties/common/getClasses.js +31 -0
- package/dist/esm/product/components/ProductProperties/common/getContents.js +53 -0
- package/dist/esm/product/components/ProductProperties/common/getStyles.js +38 -0
- package/dist/esm/product/components/ProductQuantity/common/common.js +28 -0
- package/dist/esm/product/components/ProductQuantity/common/getAttrs.js +32 -0
- package/dist/esm/product/components/ProductQuantity/common/getClasses.js +47 -0
- package/dist/esm/product/components/ProductQuantity/common/getStyles.js +122 -0
- package/dist/esm/product/components/ProductQuantity/index.liquid.js +173 -0
- package/dist/esm/product/components/ProductQuantity.js +1 -1
- package/dist/esm/product/components/ProductQuickView/ProductQuickView.js +7 -7
- package/dist/esm/product/components/{Sku.js → ProductSKU/Sku.js} +3 -3
- package/dist/esm/product/components/{Sku.liquid.js → ProductSKU/Sku.liquid.js} +3 -3
- package/dist/esm/product/components/{ProductTag.js → ProductTag/ProductTag.js} +10 -11
- package/dist/esm/product/components/{ProductTag.liquid.js → ProductTag/ProductTag.liquid.js} +2 -2
- package/dist/esm/product/components/ProductVariants/common/base/attrs.js +27 -0
- package/dist/esm/product/components/ProductVariants/common/base/classes.js +47 -0
- package/dist/esm/product/components/ProductVariants/common/base/styles.js +164 -0
- package/dist/esm/product/components/ProductVariants/common/dropdown/attrs.js +20 -0
- package/dist/esm/product/components/ProductVariants/common/dropdown/classes.js +27 -0
- package/dist/esm/product/components/ProductVariants/common/dropdown/styles.js +40 -0
- package/dist/esm/product/components/ProductVariants/common/main/classes.js +24 -0
- package/dist/esm/product/components/ProductVariants/common/main/getAttr.js +8 -0
- package/dist/esm/product/components/ProductVariants/common/main/getData.js +69 -0
- package/dist/esm/product/components/ProductVariants/common/main/styles.js +26 -0
- package/dist/esm/product/components/ProductVariants/common/variants/attrs.js +16 -0
- package/dist/esm/product/components/ProductVariants/common/variants/classes.js +38 -0
- package/dist/esm/product/components/ProductVariants/common/variants/styles.js +9 -0
- package/dist/esm/product/components/ProductVariants/components/base/base.js +164 -0
- package/dist/esm/product/components/ProductVariants/components/base/base.liquid.js +97 -0
- package/dist/esm/product/components/ProductVariants/{variants/Color.js → components/color/color.js} +1 -1
- package/dist/esm/product/components/ProductVariants/{variants/Color.liquid.js → components/color/color.liquid.js} +3 -3
- package/dist/esm/product/components/ProductVariants/{variants/VariantGroup.js → components/dropdown-group/DropdownGroup.js} +4 -4
- package/dist/esm/product/components/ProductVariants/components/dropdown-group/DropdownGroup.liquid.js +14 -0
- package/dist/esm/product/components/ProductVariants/components/dropdown-option/render-liquid/index.js +60 -0
- package/dist/esm/product/components/ProductVariants/components/dropdown-swatches/Dropdown.js +82 -0
- package/dist/esm/product/components/ProductVariants/components/dropdown-swatches/Dropdown.liquid.js +47 -0
- package/dist/esm/product/components/ProductVariants/components/dropdown-swatches/hooks/useDropdownSwatches.js +53 -0
- package/dist/esm/product/components/ProductVariants/{variants → components/image}/Image.js +1 -1
- package/dist/esm/product/components/ProductVariants/{variants → components/image}/Image.liquid.js +2 -2
- package/dist/esm/product/components/ProductVariants/{variants → components/image-shopify}/ImageShopify.js +1 -1
- package/dist/esm/product/components/ProductVariants/{variants → components/image-shopify}/ImageShopify.liquid.js +2 -2
- package/dist/esm/product/components/ProductVariants/{variants → components/variants}/index.js +29 -22
- package/dist/esm/product/components/ProductVariants/{variants → components/variants}/index.liquid.js +46 -41
- package/dist/esm/product/components/ProductVariants/hooks/useGpVariants.js +176 -0
- package/dist/esm/product/components/ProductVariants/index.js +105 -339
- package/dist/esm/product/components/ProductVariants/index.liquid.js +163 -229
- package/dist/esm/product/components/{Vendor.js → ProductVendor/Vendor.js} +2 -2
- package/dist/esm/product/components/{Vendor.liquid.js → ProductVendor/Vendor.liquid.js} +2 -2
- package/dist/esm/product/components/ProductViewMore/ProductViewMore.js +26 -0
- package/dist/esm/product/components/{ProductViewMore.liquid.js → ProductViewMore/ProductViewMore.liquid.js} +2 -2
- package/dist/esm/product/components/ProductWrap/Product.js +66 -0
- package/dist/esm/product/components/ProductWrap/Product.liquid.js +143 -0
- package/dist/esm/product/components/ProductWrap/common/const.js +8 -0
- package/dist/esm/product/components/ProductWrap/common/index.js +31 -0
- package/dist/esm/product/components/ProductWrap/hook/useProductSetting.js +56 -0
- package/dist/esm/product/helpers/product.js +6 -28
- package/dist/esm/product/index.js +68 -0
- package/dist/esm/product/next.js +10 -10
- package/dist/esm/product/setting/ProductProperties.js +2 -2
- package/dist/esm/product/setting/product/configs/presets.js +0 -11
- package/dist/esm/product/setting/product-button/configs/settings.js +78 -180
- package/dist/esm/product/setting/product-button/configs/uiV2.js +123 -153
- package/dist/esm/product/setting/product-image-v2/configs/setting-v2/ProductFeatureImage.js +7 -6
- package/dist/esm/product/setting/product-image-v2/configs/setting-v2/ProductGalleryImage.js +8 -7
- package/dist/esm/product/setting/product-image-v2/configs/setting-v2/index.js +1 -1
- package/dist/esm/product/setting/product-image-v2/configs/uiV2.js +157 -86
- package/dist/esm/product/setting/product-list/configs/presets.js +4 -2
- package/dist/esm/product/setting/product-list/configs/uiV1.js +1 -1
- package/dist/{cjs/product/setting/product-properties/configs/settings.js → esm/product/setting/product-properties/configs/settingsV2.js} +55 -27
- package/dist/esm/product/setting/product-properties/configs/uiV2.js +367 -180
- package/dist/esm/product/setting/product-quantity/configs/settings.js +201 -156
- package/dist/esm/product/setting/product-quantity/configs/uiV2.js +417 -24
- package/dist/esm/product/setting/product-variant/configs/uiV2.js +2 -3
- package/dist/esm/select/setting/Select.js +61 -0
- package/dist/esm/setting.js +86 -173
- package/dist/esm/shop-pay-installment/components/ShopPayInstallments.js +4 -9
- package/dist/esm/shop-pay-installment/components/common/const.js +8 -0
- package/dist/esm/shop-pay-installment/settings/ShopPayInstallments.js +3 -3
- package/dist/esm/sticky/components/Sticky.js +6 -6
- package/dist/esm/sticky/components/Sticky.liquid.js +1 -5
- package/dist/esm/stock-counter/components/StockCounter.liquid.js +4 -4
- package/dist/esm/stock-counter/index.js +10 -0
- package/dist/esm/tab/components/TabItem.js +20 -10
- package/dist/esm/tab/components/TabItem.liquid.js +21 -9
- package/dist/esm/tab/components/Tabs.js +139 -118
- package/dist/esm/tab/components/Tabs.liquid.js +154 -105
- package/dist/esm/tab/components/{common.js → common/common.js} +48 -35
- package/dist/esm/tab/components/common/getAttr.js +12 -0
- package/dist/esm/tab/components/common/getClasses.js +97 -0
- package/dist/esm/tab/components/common/getStyle.js +85 -0
- package/dist/esm/tab/components/hooks/useTab.js +33 -0
- package/dist/esm/tab/index.js +14 -0
- package/dist/esm/text/components/common/getClasses.js +2 -1
- package/dist/esm/text/index.js +10 -3
- package/dist/esm/text/utils/dynamic-source.js +1 -0
- package/dist/esm/third-party/components/Wiser/WiserSampleContent.js +1 -1
- package/dist/esm/third-party/components/Wiser.liquid.js +1 -1
- package/dist/esm/third-party/setting/Wiser.js +2 -5
- package/dist/esm/third-party/types/index.js +6 -0
- package/dist/esm/third-party-instant/components/InstantThirdPartyPreview.js +54 -56
- package/dist/esm/third-party-instant/components/Judgeme/JudgemeSampleContent.js +8 -10
- package/dist/esm/third-party-instant/components/Judgeme/WithoutProduct.js +40 -42
- package/dist/esm/third-party-instant/components/Klaviyo/KlaviyoSampleContent.js +8 -10
- package/dist/esm/third-party-instant/components/LooxReviews/LooxReviewsSampleContent.js +8 -10
- package/dist/esm/third-party-instant/components/LooxReviews/SingleProduct.js +14 -16
- package/dist/esm/third-party-instant/components/LooxReviews/WithoutProduct.js +20 -22
- package/dist/esm/third-party-instant/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +8 -10
- package/dist/esm/third-party-instant/index.js +22 -0
- package/dist/esm/third-party-slot/common/classes.js +17 -0
- package/dist/esm/third-party-slot/common/index.js +54 -0
- package/dist/esm/third-party-slot/common/styles.js +7 -0
- package/dist/esm/third-party-slot/components/ThirdPartySlot.js +30 -32
- package/dist/esm/third-party-slot/components/ThirdPartySlot.liquid.js +23 -49
- package/dist/esm/third-party-slot/setting/index.js +1 -1
- package/dist/esm/video/components/LiteYouTubeEmbed.js +40 -42
- package/dist/types/index.d.ts +4762 -5491
- package/package.json +4 -4
- package/dist/cjs/accordion/setting/index.js +0 -13
- package/dist/cjs/article/components/ArticleAuthor.liquid.js +0 -27
- package/dist/cjs/article/components/ArticleCategory.liquid.js +0 -27
- package/dist/cjs/article/components/ArticleContent.liquid.js +0 -42
- package/dist/cjs/article/components/ArticleDate.liquid.js +0 -35
- package/dist/cjs/article/components/ArticleExcerpt.liquid.js +0 -26
- package/dist/cjs/article/components/ArticleImage.liquid.js +0 -67
- package/dist/cjs/article/components/ArticlePagination.liquid.js +0 -17
- package/dist/cjs/article/components/ArticleReadMore.liquid.js +0 -58
- package/dist/cjs/article/components/ArticleTag.liquid.js +0 -27
- package/dist/cjs/article/components/ArticleTitle.liquid.js +0 -46
- package/dist/cjs/article/setting/index.js +0 -31
- package/dist/cjs/banner/setting/index.js +0 -11
- package/dist/cjs/breadcrumb/setting/index.js +0 -11
- package/dist/cjs/button/setting/index.js +0 -11
- package/dist/cjs/carousel/setting/index.js +0 -13
- package/dist/cjs/cart/setting/index.js +0 -37
- package/dist/cjs/code/setting/index.js +0 -11
- package/dist/cjs/collection/components/CollectionBanner.js +0 -99
- package/dist/cjs/collection/components/CollectionBanner.liquid.js +0 -96
- package/dist/cjs/collection/components/CollectionDescription.js +0 -115
- package/dist/cjs/collection/components/CollectionDescription.liquid.js +0 -114
- package/dist/cjs/collection/components/CollectionPaginator.js +0 -151
- package/dist/cjs/collection/components/CollectionPaginator.liquid.js +0 -72
- package/dist/cjs/collection/components/CollectionToolbar.js +0 -112
- package/dist/cjs/collection/components/CollectionToolbar.liquid.js +0 -108
- package/dist/cjs/collection/setting/index.js +0 -19
- package/dist/cjs/countdown-timer/setting/index.js +0 -11
- package/dist/cjs/coupon/setting/index.js +0 -11
- package/dist/cjs/dialog/setting/index.js +0 -11
- package/dist/cjs/estimate-delivery/components/EstimateDate.liquid.js +0 -234
- package/dist/cjs/estimate-delivery/setting/index.js +0 -11
- package/dist/cjs/form/setting/index.js +0 -27
- package/dist/cjs/grid/setting/index.js +0 -17
- package/dist/cjs/header/setting/index.js +0 -11
- package/dist/cjs/heading/setting/index.js +0 -11
- package/dist/cjs/icon/setting/index.js +0 -11
- package/dist/cjs/icon-list/setting/index.js +0 -13
- package/dist/cjs/icon-list-hoz/setting/index.js +0 -13
- package/dist/cjs/icon-list-v2/setting/index.js +0 -11
- package/dist/cjs/image/setting/index.js +0 -11
- package/dist/cjs/image-comparison/constants/commonStyles.js +0 -62
- package/dist/cjs/image-comparison/setting/index.js +0 -11
- package/dist/cjs/image-detection/setting/index.js +0 -11
- package/dist/cjs/input/setting/index.js +0 -11
- package/dist/cjs/line/setting/index.js +0 -11
- package/dist/cjs/link/setting/index.js +0 -11
- package/dist/cjs/marquee/setting/index.js +0 -13
- package/dist/cjs/menu/setting/index.js +0 -11
- package/dist/cjs/modal/setting/index.js +0 -11
- package/dist/cjs/pagination/setting/index.js +0 -11
- package/dist/cjs/post-purchase/advanced-list/setting/index.js +0 -13
- package/dist/cjs/post-purchase/button/setting/index.js +0 -11
- package/dist/cjs/post-purchase/callout-banner/setting/index.js +0 -13
- package/dist/cjs/post-purchase/countdown-timer/settings/index.js +0 -11
- package/dist/cjs/post-purchase/image/setting/index.js +0 -11
- package/dist/cjs/post-purchase/line/setting/index.js +0 -11
- package/dist/cjs/post-purchase/link/setting/index.js +0 -11
- package/dist/cjs/post-purchase/next.js +0 -39
- package/dist/cjs/post-purchase/product/settings/index.js +0 -29
- package/dist/cjs/post-purchase/product/settings/product-image/ProductFeatureImage.js +0 -142
- package/dist/cjs/post-purchase/product/settings/product-image/ProductGalleryImage.js +0 -105
- package/dist/cjs/post-purchase/product/settings/product-image/ProductImageLayoutSetting.js +0 -152
- package/dist/cjs/post-purchase/product/settings/product-image/setting-v1.js +0 -163
- package/dist/cjs/post-purchase/product/settings/product-image/uiV1.js +0 -42
- package/dist/cjs/post-purchase/text/settings/index.js +0 -13
- package/dist/cjs/product/components/DynamicCheckout.js +0 -28
- package/dist/cjs/product/components/Product.js +0 -115
- package/dist/cjs/product/components/Product.liquid.js +0 -135
- package/dist/cjs/product/components/ProductButton.js +0 -552
- package/dist/cjs/product/components/ProductButton.liquid.js +0 -383
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductGalleryCarousel.js +0 -196
- package/dist/cjs/product/components/ProductList.liquid.js +0 -426
- package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice.js +0 -57
- package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice.liquid.js +0 -64
- package/dist/cjs/product/components/ProductProperties/ProductPropertyInput.js +0 -74
- package/dist/cjs/product/components/ProductProperties/ProductPropertyInput.liquid.js +0 -57
- package/dist/cjs/product/components/ProductProperties/ProductPropertySelect.js +0 -42
- package/dist/cjs/product/components/ProductProperties/ProductPropertySelect.liquid.js +0 -57
- package/dist/cjs/product/components/ProductProperties.liquid.js +0 -148
- package/dist/cjs/product/components/ProductQuantity.liquid.js +0 -218
- package/dist/cjs/product/components/ProductVariants/variants/Base.js +0 -293
- package/dist/cjs/product/components/ProductVariants/variants/Base.liquid.js +0 -168
- package/dist/cjs/product/components/ProductVariants/variants/Dropdown.js +0 -159
- package/dist/cjs/product/components/ProductVariants/variants/Dropdown.liquid.js +0 -135
- package/dist/cjs/product/components/ProductVariants/variants/DropdownGroup.liquid.js +0 -57
- package/dist/cjs/product/components/ProductVariants/variants/RadioButtons.js +0 -63
- package/dist/cjs/product/components/ProductVariants/variants/combine/index.js +0 -47
- package/dist/cjs/product/components/ProductViewMore.js +0 -32
- package/dist/cjs/product/setting/index.js +0 -49
- package/dist/cjs/radio/setting/index.js +0 -11
- package/dist/cjs/select/setting/index.js +0 -11
- package/dist/cjs/shop-pay-installment/settings/index.js +0 -11
- package/dist/cjs/sticky/setting/index.js +0 -11
- package/dist/cjs/stock-counter/setting/index.js +0 -11
- package/dist/cjs/tab/setting/index.js +0 -13
- package/dist/cjs/text/setting/index.js +0 -11
- package/dist/cjs/textarea/setting/index.js +0 -11
- package/dist/cjs/third-party-instant/setting/index.js +0 -17
- package/dist/cjs/video/setting/index.js +0 -11
- package/dist/esm/accordion/setting/index.js +0 -9
- package/dist/esm/article/components/ArticleAuthor.liquid.js +0 -23
- package/dist/esm/article/components/ArticleCategory.liquid.js +0 -23
- package/dist/esm/article/components/ArticleContent.liquid.js +0 -38
- package/dist/esm/article/components/ArticleDate.liquid.js +0 -31
- package/dist/esm/article/components/ArticleExcerpt.liquid.js +0 -22
- package/dist/esm/article/components/ArticleImage.liquid.js +0 -63
- package/dist/esm/article/components/ArticlePagination.liquid.js +0 -13
- package/dist/esm/article/components/ArticleReadMore.liquid.js +0 -54
- package/dist/esm/article/components/ArticleTag.liquid.js +0 -23
- package/dist/esm/article/components/ArticleTitle.liquid.js +0 -42
- package/dist/esm/article/setting/index.js +0 -27
- package/dist/esm/banner/setting/index.js +0 -7
- package/dist/esm/breadcrumb/setting/index.js +0 -7
- package/dist/esm/button/setting/index.js +0 -7
- package/dist/esm/carousel/setting/index.js +0 -9
- package/dist/esm/cart/setting/index.js +0 -33
- package/dist/esm/code/setting/index.js +0 -7
- package/dist/esm/collection/components/CollectionBanner.js +0 -95
- package/dist/esm/collection/components/CollectionBanner.liquid.js +0 -92
- package/dist/esm/collection/components/CollectionDescription.js +0 -111
- package/dist/esm/collection/components/CollectionDescription.liquid.js +0 -110
- package/dist/esm/collection/components/CollectionPaginator.js +0 -147
- package/dist/esm/collection/components/CollectionPaginator.liquid.js +0 -68
- package/dist/esm/collection/components/CollectionToolbar.js +0 -107
- package/dist/esm/collection/components/CollectionToolbar.liquid.js +0 -104
- package/dist/esm/collection/setting/index.js +0 -15
- package/dist/esm/countdown-timer/setting/index.js +0 -7
- package/dist/esm/coupon/setting/index.js +0 -7
- package/dist/esm/dialog/setting/index.js +0 -7
- package/dist/esm/estimate-delivery/components/EstimateDate.liquid.js +0 -230
- package/dist/esm/estimate-delivery/setting/index.js +0 -7
- package/dist/esm/form/setting/index.js +0 -23
- package/dist/esm/grid/setting/index.js +0 -13
- package/dist/esm/header/setting/index.js +0 -7
- package/dist/esm/heading/setting/index.js +0 -7
- package/dist/esm/icon/setting/index.js +0 -7
- package/dist/esm/icon-list/setting/index.js +0 -9
- package/dist/esm/icon-list-hoz/setting/index.js +0 -9
- package/dist/esm/icon-list-v2/setting/index.js +0 -7
- package/dist/esm/image/setting/index.js +0 -7
- package/dist/esm/image-comparison/constants/commonStyles.js +0 -58
- package/dist/esm/image-comparison/setting/index.js +0 -7
- package/dist/esm/image-detection/setting/index.js +0 -7
- package/dist/esm/input/setting/index.js +0 -7
- package/dist/esm/line/setting/index.js +0 -7
- package/dist/esm/link/setting/index.js +0 -7
- package/dist/esm/marquee/setting/index.js +0 -9
- package/dist/esm/menu/setting/index.js +0 -7
- package/dist/esm/modal/setting/index.js +0 -7
- package/dist/esm/pagination/setting/index.js +0 -7
- package/dist/esm/post-purchase/advanced-list/setting/index.js +0 -9
- package/dist/esm/post-purchase/button/setting/index.js +0 -7
- package/dist/esm/post-purchase/callout-banner/setting/index.js +0 -9
- package/dist/esm/post-purchase/countdown-timer/settings/index.js +0 -7
- package/dist/esm/post-purchase/image/setting/index.js +0 -7
- package/dist/esm/post-purchase/line/setting/index.js +0 -7
- package/dist/esm/post-purchase/link/setting/index.js +0 -7
- package/dist/esm/post-purchase/next.js +0 -35
- package/dist/esm/post-purchase/product/settings/index.js +0 -25
- package/dist/esm/post-purchase/product/settings/product-image/ProductFeatureImage.js +0 -139
- package/dist/esm/post-purchase/product/settings/product-image/ProductGalleryImage.js +0 -102
- package/dist/esm/post-purchase/product/settings/product-image/ProductImageLayoutSetting.js +0 -149
- package/dist/esm/post-purchase/product/settings/product-image/setting-v1.js +0 -161
- package/dist/esm/post-purchase/product/settings/product-image/uiV1.js +0 -40
- package/dist/esm/post-purchase/text/settings/index.js +0 -9
- package/dist/esm/product/components/DynamicCheckout.js +0 -24
- package/dist/esm/product/components/Product.js +0 -111
- package/dist/esm/product/components/Product.liquid.js +0 -131
- package/dist/esm/product/components/ProductButton.js +0 -548
- package/dist/esm/product/components/ProductButton.liquid.js +0 -379
- package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductGalleryCarousel.js +0 -192
- package/dist/esm/product/components/ProductList.js +0 -467
- package/dist/esm/product/components/ProductList.liquid.js +0 -422
- package/dist/esm/product/components/ProductProperties/ProductPropertyChoice.js +0 -53
- package/dist/esm/product/components/ProductProperties/ProductPropertyChoice.liquid.js +0 -60
- package/dist/esm/product/components/ProductProperties/ProductPropertyInput.js +0 -70
- package/dist/esm/product/components/ProductProperties/ProductPropertyInput.liquid.js +0 -53
- package/dist/esm/product/components/ProductProperties/ProductPropertySelect.js +0 -38
- package/dist/esm/product/components/ProductProperties/ProductPropertySelect.liquid.js +0 -53
- package/dist/esm/product/components/ProductProperties.liquid.js +0 -144
- package/dist/esm/product/components/ProductQuantity.liquid.js +0 -214
- package/dist/esm/product/components/ProductVariants/variants/Base.js +0 -289
- package/dist/esm/product/components/ProductVariants/variants/Base.liquid.js +0 -164
- package/dist/esm/product/components/ProductVariants/variants/Dropdown.js +0 -155
- package/dist/esm/product/components/ProductVariants/variants/Dropdown.liquid.js +0 -131
- package/dist/esm/product/components/ProductVariants/variants/DropdownGroup.liquid.js +0 -53
- package/dist/esm/product/components/ProductVariants/variants/RadioButtons.js +0 -59
- package/dist/esm/product/components/ProductVariants/variants/combine/index.js +0 -44
- package/dist/esm/product/components/ProductViewMore.js +0 -28
- package/dist/esm/product/setting/index.js +0 -45
- package/dist/esm/radio/setting/index.js +0 -7
- package/dist/esm/select/setting/index.js +0 -7
- package/dist/esm/shop-pay-installment/settings/index.js +0 -7
- package/dist/esm/sticky/setting/index.js +0 -7
- package/dist/esm/stock-counter/setting/index.js +0 -7
- package/dist/esm/tab/setting/index.js +0 -9
- package/dist/esm/text/setting/index.js +0 -7
- package/dist/esm/textarea/setting/index.js +0 -7
- package/dist/esm/third-party-instant/setting/index.js +0 -13
- package/dist/esm/video/setting/index.js +0 -7
- /package/dist/cjs/article/setting/configs/{ArticleExerpt → ArticleExcerpt}/presets.js +0 -0
- /package/dist/cjs/article/setting/configs/{ArticleExerpt → ArticleExcerpt}/settings.js +0 -0
- /package/dist/cjs/article/setting/configs/{ArticleExerpt → ArticleExcerpt}/uiV1.js +0 -0
- /package/dist/cjs/article/setting/configs/{ArticleExerpt → ArticleExcerpt}/uiV2.js +0 -0
- /package/dist/cjs/product/components/ProductImagesV2/{jsx/components → components/child}/MediaIcon.js +0 -0
- /package/dist/cjs/product/components/ProductImagesV2/{jsx/components → components/child}/ProductFeatureVideo.js +0 -0
- /package/dist/cjs/product/components/ProductImagesV2/{jsx/components → components/child}/ProductFeaturedImageOnly.js +0 -0
- /package/dist/cjs/product/components/ProductImagesV2/{jsx/components → components/lightbox}/ButtonOpenLightBox.js +0 -0
- /package/dist/cjs/product/components/ProductImagesV2/{jsx/hooks → hooks}/useFilterImagesByVariant.js +0 -0
- /package/dist/cjs/product/components/ProductVariants/{common.js → common/common.js} +0 -0
- /package/dist/cjs/product/components/ProductVariants/{variants → components/dropdown-option}/DropdownOption.js +0 -0
- /package/dist/cjs/product/components/ProductVariants/{variants/VariantOption/index.js → components/dropdown-option/VariantOption.js} +0 -0
- /package/dist/cjs/product/components/ProductVariants/{variants → components/rectangle-list}/RectangleList.js +0 -0
- /package/dist/cjs/tab/{hooks → components/hooks}/useTabInteraction.js +0 -0
- /package/dist/esm/article/setting/configs/{ArticleExerpt → ArticleExcerpt}/presets.js +0 -0
- /package/dist/esm/article/setting/configs/{ArticleExerpt → ArticleExcerpt}/settings.js +0 -0
- /package/dist/esm/article/setting/configs/{ArticleExerpt → ArticleExcerpt}/uiV1.js +0 -0
- /package/dist/esm/article/setting/configs/{ArticleExerpt → ArticleExcerpt}/uiV2.js +0 -0
- /package/dist/esm/product/components/ProductImagesV2/{jsx/components → components/child}/MediaIcon.js +0 -0
- /package/dist/esm/product/components/ProductImagesV2/{jsx/components → components/child}/ProductFeatureVideo.js +0 -0
- /package/dist/esm/product/components/ProductImagesV2/{jsx/components → components/child}/ProductFeaturedImageOnly.js +0 -0
- /package/dist/esm/product/components/ProductImagesV2/{jsx/components → components/lightbox}/ButtonOpenLightBox.js +0 -0
- /package/dist/esm/product/components/ProductImagesV2/{jsx/hooks → hooks}/useFilterImagesByVariant.js +0 -0
- /package/dist/esm/product/components/ProductVariants/{common.js → common/common.js} +0 -0
- /package/dist/esm/product/components/ProductVariants/{variants → components/dropdown-option}/DropdownOption.js +0 -0
- /package/dist/esm/product/components/ProductVariants/{variants/VariantOption/index.js → components/dropdown-option/VariantOption.js} +0 -0
- /package/dist/esm/product/components/ProductVariants/{variants → components/rectangle-list}/RectangleList.js +0 -0
- /package/dist/esm/tab/{hooks → components/hooks}/useTabInteraction.js +0 -0
|
@@ -0,0 +1,829 @@
|
|
|
1
|
+
const CouponSettings = [
|
|
2
|
+
{
|
|
3
|
+
id: 'setting',
|
|
4
|
+
controls: [
|
|
5
|
+
{
|
|
6
|
+
id: 'couponLayout',
|
|
7
|
+
label: 'Price Layout',
|
|
8
|
+
type: 'layout-segment',
|
|
9
|
+
iconViewBox: '0 0 120 72',
|
|
10
|
+
enableItemBackground: true,
|
|
11
|
+
enableTooltip: false,
|
|
12
|
+
default: 'icon',
|
|
13
|
+
options: [
|
|
14
|
+
{
|
|
15
|
+
label: 'secondary',
|
|
16
|
+
value: 'none',
|
|
17
|
+
type: 'copy-layout'
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
label: 'link',
|
|
21
|
+
value: 'icon',
|
|
22
|
+
type: 'copy-layout'
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
id: 'copyContent',
|
|
28
|
+
label: 'copyContent',
|
|
29
|
+
type: 'input',
|
|
30
|
+
default: 'GEMPAGES30'
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
id: 'defaultLabel',
|
|
34
|
+
label: 'defaultLabel',
|
|
35
|
+
type: 'input',
|
|
36
|
+
default: 'Copy'
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: 'clickedLabel',
|
|
40
|
+
label: 'clickedLabel',
|
|
41
|
+
type: 'input',
|
|
42
|
+
default: 'Copied!'
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: 'translate',
|
|
46
|
+
type: 'input',
|
|
47
|
+
default: 'defaultLabel'
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
id: 'iconVisible',
|
|
51
|
+
label: 'Icon Visible',
|
|
52
|
+
type: 'toggle',
|
|
53
|
+
default: false
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: 'iconSvg',
|
|
57
|
+
label: 'SVG Icon',
|
|
58
|
+
type: 'icon',
|
|
59
|
+
default: `<svg style="width: 100%; height: 100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor">
|
|
60
|
+
<path fill="currentColor" strokeLinecap="round" strokeLinejoin="round" fill="currentColor" d="M476 3.2L12.5 270.6c-18.1 10.4-15.8 35.6 2.2 43.2L121 358.4l287.3-253.2c5.5-4.9 13.3 2.6 8.6 8.3L176 407v80.5c0 23.6 28.5 32.9 42.5 15.8L282 426l124.6 52.2c14.2 6 30.4-2.9 33-18.2l72-432C515 7.8 493.3-6.8 476 3.2z" />
|
|
61
|
+
</svg>
|
|
62
|
+
`,
|
|
63
|
+
placeholder: 'E.g. <svg fill="currentColor"...'
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: 'iconAlign',
|
|
67
|
+
label: 'Icon Alignment',
|
|
68
|
+
type: 'segment',
|
|
69
|
+
options: [
|
|
70
|
+
{
|
|
71
|
+
label: 'Left',
|
|
72
|
+
value: 'left',
|
|
73
|
+
type: 'align',
|
|
74
|
+
tooltip: 'Align left'
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
label: 'Right',
|
|
78
|
+
value: 'right',
|
|
79
|
+
type: 'align',
|
|
80
|
+
tooltip: 'Align right'
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
default: 'left'
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
id: 'shouldClearSpace',
|
|
87
|
+
label: '',
|
|
88
|
+
type: 'toggle',
|
|
89
|
+
default: false
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
id: 'group-icon',
|
|
93
|
+
type: 'group',
|
|
94
|
+
label: 'Icon',
|
|
95
|
+
controls: [
|
|
96
|
+
{
|
|
97
|
+
id: 'iconSvg',
|
|
98
|
+
label: 'SVG icon',
|
|
99
|
+
type: 'icon',
|
|
100
|
+
hide: true,
|
|
101
|
+
default: `<svg height="20" width="20" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508414779109605736">
|
|
102
|
+
<path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M233.21,56.31A12,12,0,0,0,224,52H66L60.53,21.85A12,12,0,0,0,48.73,12H24a12,12,0,0,0,0,24H38.71L63.62,173a28,28,0,0,0,4.07,10.21A32,32,0,1,0,123,196h34a32,32,0,1,0,31-24H91.17a4,4,0,0,1-3.93-3.28L84.92,156H196.1a28,28,0,0,0,27.55-23l12.16-66.86A12,12,0,0,0,233.21,56.31ZM100,204a8,8,0,1,1-8-8A8,8,0,0,1,100,204Zm88,8a8,8,0,1,1,8-8A8,8,0,0,1,188,212Zm12-83.28A4,4,0,0,1,196.1,132H80.56L70.38,76H209.62Z"></path></svg>`
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
id: 'iconAlign',
|
|
106
|
+
label: 'Icon Alignment',
|
|
107
|
+
type: 'segment',
|
|
108
|
+
hide: true,
|
|
109
|
+
options: [
|
|
110
|
+
{
|
|
111
|
+
label: 'Left',
|
|
112
|
+
value: 'left'
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
label: 'Right',
|
|
116
|
+
value: 'right'
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
default: 'left'
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
id: 'style',
|
|
127
|
+
controls: [
|
|
128
|
+
{
|
|
129
|
+
id: 'borderBtn',
|
|
130
|
+
type: 'border',
|
|
131
|
+
label: 'Border',
|
|
132
|
+
emptyOnClear: true,
|
|
133
|
+
default: {
|
|
134
|
+
normal: {
|
|
135
|
+
borderType: 'none',
|
|
136
|
+
border: 'none',
|
|
137
|
+
isCustom: false,
|
|
138
|
+
borderWidth: '1px',
|
|
139
|
+
width: '1px 1px 1px 1px'
|
|
140
|
+
},
|
|
141
|
+
hover: {
|
|
142
|
+
isCustom: false,
|
|
143
|
+
borderType: 'none',
|
|
144
|
+
border: 'none',
|
|
145
|
+
borderWidth: '1px',
|
|
146
|
+
width: '1px 1px 1px 1px'
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
state: {
|
|
150
|
+
hover: true,
|
|
151
|
+
normal: true,
|
|
152
|
+
active: true
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
id: 'backgroundColor',
|
|
157
|
+
type: 'colorpicker',
|
|
158
|
+
label: 'Background Color',
|
|
159
|
+
default: {
|
|
160
|
+
normal: 'brand',
|
|
161
|
+
hover: '#4D4D4D',
|
|
162
|
+
active: '#00A042'
|
|
163
|
+
},
|
|
164
|
+
state: {
|
|
165
|
+
hover: true,
|
|
166
|
+
normal: true,
|
|
167
|
+
active: true
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
id: 'textColor',
|
|
172
|
+
type: 'colorpicker',
|
|
173
|
+
label: 'Text Color',
|
|
174
|
+
default: {
|
|
175
|
+
normal: 'text-3'
|
|
176
|
+
},
|
|
177
|
+
state: {
|
|
178
|
+
hover: true,
|
|
179
|
+
normal: true,
|
|
180
|
+
active: true
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
id: 'hasBoxShadowBtn',
|
|
185
|
+
type: 'toggle',
|
|
186
|
+
label: 'Enable Button Shadow',
|
|
187
|
+
default: {
|
|
188
|
+
normal: false,
|
|
189
|
+
hover: false
|
|
190
|
+
},
|
|
191
|
+
state: {
|
|
192
|
+
normal: true,
|
|
193
|
+
hover: true
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
id: 'boxShadowBtn',
|
|
198
|
+
type: 'boxShadow',
|
|
199
|
+
label: 'Button Shadow',
|
|
200
|
+
hideOnState: {
|
|
201
|
+
normal: true,
|
|
202
|
+
hover: true,
|
|
203
|
+
active: true
|
|
204
|
+
},
|
|
205
|
+
default: {
|
|
206
|
+
normal: {
|
|
207
|
+
type: 'shadow-1',
|
|
208
|
+
distance: '4px',
|
|
209
|
+
blur: '12px',
|
|
210
|
+
spread: '0px',
|
|
211
|
+
color: 'rgba(0, 0, 0, 0.20)',
|
|
212
|
+
angle: 90
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
state: {
|
|
216
|
+
normal: true,
|
|
217
|
+
hover: true,
|
|
218
|
+
active: true
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
id: 'roundedBtn',
|
|
223
|
+
type: 'radius-preset',
|
|
224
|
+
label: 'Border Radius',
|
|
225
|
+
default: {
|
|
226
|
+
normal: {
|
|
227
|
+
radiusType: 'small'
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
state: {
|
|
231
|
+
hover: true,
|
|
232
|
+
normal: true
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
id: 'align',
|
|
237
|
+
label: 'Alignment',
|
|
238
|
+
type: 'segment',
|
|
239
|
+
options: [
|
|
240
|
+
{
|
|
241
|
+
label: 'Left',
|
|
242
|
+
value: 'left',
|
|
243
|
+
type: 'align'
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
label: 'Center',
|
|
247
|
+
value: 'center',
|
|
248
|
+
type: 'align'
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
label: 'Right',
|
|
252
|
+
value: 'right',
|
|
253
|
+
type: 'align'
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
devices: {
|
|
257
|
+
desktop: {
|
|
258
|
+
default: 'left'
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
id: 'typo',
|
|
264
|
+
type: 'typography-v2',
|
|
265
|
+
label: 'Typography',
|
|
266
|
+
default: {
|
|
267
|
+
type: 'paragraph-1'
|
|
268
|
+
},
|
|
269
|
+
hiddenSetting: {
|
|
270
|
+
color: true
|
|
271
|
+
},
|
|
272
|
+
ignoreReRender: true
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
id: 'transform',
|
|
276
|
+
label: 'Text Transform',
|
|
277
|
+
type: 'select',
|
|
278
|
+
options: [
|
|
279
|
+
{
|
|
280
|
+
value: 'default',
|
|
281
|
+
label: 'None'
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
value: 'capitalize',
|
|
285
|
+
label: 'Capitalize'
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
value: 'uppercase',
|
|
289
|
+
label: 'Uppercase'
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
value: 'lowercase',
|
|
293
|
+
label: 'Lowercase'
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
default: 'default'
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
id: 'btnSpacing',
|
|
300
|
+
label: 'Inside space',
|
|
301
|
+
type: 'size',
|
|
302
|
+
default: {
|
|
303
|
+
type: 'medium'
|
|
304
|
+
},
|
|
305
|
+
ignoreReRender: true
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
id: 'iconSizeAuto',
|
|
309
|
+
type: 'toggle',
|
|
310
|
+
label: 'Icon Auto Size',
|
|
311
|
+
default: true
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
id: 'size',
|
|
315
|
+
label: 'Size Icon',
|
|
316
|
+
type: 'select',
|
|
317
|
+
options: [
|
|
318
|
+
{
|
|
319
|
+
label: 'Large',
|
|
320
|
+
value: '1.2em'
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
label: 'Medium',
|
|
324
|
+
value: '1em'
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
label: 'Small',
|
|
328
|
+
value: '0.8em'
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
devices: {
|
|
332
|
+
desktop: {
|
|
333
|
+
default: '1em'
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
id: 'iconDimension',
|
|
339
|
+
type: 'range',
|
|
340
|
+
label: 'Size',
|
|
341
|
+
hide: true,
|
|
342
|
+
min: 0,
|
|
343
|
+
max: 100,
|
|
344
|
+
step: 1,
|
|
345
|
+
units: [
|
|
346
|
+
'px',
|
|
347
|
+
'em',
|
|
348
|
+
'rem'
|
|
349
|
+
],
|
|
350
|
+
devices: {
|
|
351
|
+
desktop: {
|
|
352
|
+
default: '24px'
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
id: 'iconSpacing',
|
|
358
|
+
type: 'input:unit',
|
|
359
|
+
units: [
|
|
360
|
+
'px'
|
|
361
|
+
],
|
|
362
|
+
devices: {
|
|
363
|
+
desktop: {
|
|
364
|
+
default: '8px'
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
id: 'globalSize',
|
|
370
|
+
type: 'size-setting',
|
|
371
|
+
devices: {
|
|
372
|
+
desktop: {
|
|
373
|
+
default: {
|
|
374
|
+
width: 'Auto',
|
|
375
|
+
height: 'Auto',
|
|
376
|
+
padding: {
|
|
377
|
+
type: 'medium',
|
|
378
|
+
top: '8px',
|
|
379
|
+
bottom: '8px',
|
|
380
|
+
left: '24px',
|
|
381
|
+
right: '24px'
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
settingConfig: {
|
|
387
|
+
width: {
|
|
388
|
+
displayOptions: [
|
|
389
|
+
'full',
|
|
390
|
+
'auto',
|
|
391
|
+
'small',
|
|
392
|
+
'large',
|
|
393
|
+
'medium'
|
|
394
|
+
],
|
|
395
|
+
sizeConfig: {
|
|
396
|
+
small: '100px',
|
|
397
|
+
medium: '116px',
|
|
398
|
+
large: '132px'
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
height: {
|
|
402
|
+
displayOptions: [
|
|
403
|
+
'auto',
|
|
404
|
+
'small',
|
|
405
|
+
'large',
|
|
406
|
+
'medium'
|
|
407
|
+
],
|
|
408
|
+
sizeConfig: {
|
|
409
|
+
small: '28px',
|
|
410
|
+
medium: '36px',
|
|
411
|
+
large: '44px'
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
hiddenSettings: [
|
|
416
|
+
'shape',
|
|
417
|
+
'gap'
|
|
418
|
+
]
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
id: 'align',
|
|
422
|
+
label: 'Alignment',
|
|
423
|
+
type: 'segment',
|
|
424
|
+
options: [
|
|
425
|
+
{
|
|
426
|
+
label: 'Left',
|
|
427
|
+
value: 'left',
|
|
428
|
+
type: 'align',
|
|
429
|
+
tooltip: 'Align left'
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
label: 'Center',
|
|
433
|
+
value: 'center',
|
|
434
|
+
type: 'align',
|
|
435
|
+
tooltip: 'Align center'
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
label: 'Right',
|
|
439
|
+
value: 'right',
|
|
440
|
+
type: 'align',
|
|
441
|
+
tooltip: 'Align right'
|
|
442
|
+
}
|
|
443
|
+
],
|
|
444
|
+
devices: {
|
|
445
|
+
desktop: {
|
|
446
|
+
default: 'left'
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
]
|
|
451
|
+
}
|
|
452
|
+
];
|
|
453
|
+
const CouponPresets = [
|
|
454
|
+
{
|
|
455
|
+
id: 'coupon',
|
|
456
|
+
name: {
|
|
457
|
+
en: 'Copy Coupon Code'
|
|
458
|
+
},
|
|
459
|
+
icon: {
|
|
460
|
+
desktop: `<svg width="94" height="48" viewBox="0 0 94 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
461
|
+
<rect width="94" height="48" rx="3" fill="#424242"/>
|
|
462
|
+
<path d="M31.5 18H23.5C23.3674 18 23.2402 18.0527 23.1464 18.1464C23.0527 18.2402 23 18.3674 23 18.5V21H20.5C20.3674 21 20.2402 21.0527 20.1464 21.1464C20.0527 21.2402 20 21.3674 20 21.5V29.5C20 29.6326 20.0527 29.7598 20.1464 29.8536C20.2402 29.9473 20.3674 30 20.5 30H28.5C28.6326 30 28.7598 29.9473 28.8536 29.8536C28.9473 29.7598 29 29.6326 29 29.5V27H31.5C31.6326 27 31.7598 26.9473 31.8536 26.8536C31.9473 26.7598 32 26.6326 32 26.5V18.5C32 18.3674 31.9473 18.2402 31.8536 18.1464C31.7598 18.0527 31.6326 18 31.5 18ZM31 26H29V21.5C29 21.3674 28.9473 21.2402 28.8536 21.1464C28.7598 21.0527 28.6326 21 28.5 21H24V19H31V26Z" fill="#F9F9F9"/>
|
|
463
|
+
<path d="M50.2386 22.1108H48.9091C48.858 21.8267 48.7628 21.5767 48.6236 21.3608C48.4844 21.1449 48.3139 20.9616 48.1122 20.8111C47.9105 20.6605 47.6847 20.5469 47.4347 20.4702C47.1875 20.3935 46.9247 20.3551 46.6463 20.3551C46.1435 20.3551 45.6932 20.4815 45.2955 20.7344C44.9006 20.9872 44.5881 21.358 44.358 21.8466C44.1307 22.3352 44.017 22.9318 44.017 23.6364C44.017 24.3466 44.1307 24.946 44.358 25.4347C44.5881 25.9233 44.902 26.2926 45.2997 26.5426C45.6974 26.7926 46.1449 26.9176 46.642 26.9176C46.9176 26.9176 47.179 26.8807 47.4261 26.8068C47.6761 26.7301 47.902 26.6179 48.1037 26.4702C48.3054 26.3224 48.4759 26.142 48.6151 25.929C48.7571 25.7131 48.8551 25.4659 48.9091 25.1875L50.2386 25.1918C50.1676 25.6207 50.0298 26.0156 49.8253 26.3764C49.6236 26.7344 49.3636 27.044 49.0455 27.3054C48.7301 27.5639 48.3693 27.7642 47.9631 27.9062C47.5568 28.0483 47.1136 28.1193 46.6335 28.1193C45.8778 28.1193 45.2045 27.9403 44.6136 27.5824C44.0227 27.2216 43.5568 26.706 43.2159 26.0355C42.8778 25.3651 42.7088 24.5653 42.7088 23.6364C42.7088 22.7045 42.8793 21.9048 43.2202 21.2372C43.5611 20.5668 44.027 20.0526 44.6179 19.6946C45.2088 19.3338 45.8807 19.1534 46.6335 19.1534C47.0966 19.1534 47.5284 19.2202 47.929 19.3537C48.3324 19.4844 48.6946 19.6776 49.0156 19.9332C49.3366 20.1861 49.6023 20.4957 49.8125 20.8622C50.0227 21.2259 50.1648 21.642 50.2386 22.1108ZM59.3952 23.6364C59.3952 24.5682 59.2248 25.3693 58.8839 26.0398C58.543 26.7074 58.0756 27.2216 57.4819 27.5824C56.891 27.9403 56.2191 28.1193 55.4663 28.1193C54.7106 28.1193 54.0359 27.9403 53.4421 27.5824C52.8512 27.2216 52.3853 26.706 52.0444 26.0355C51.7035 25.3651 51.533 24.5653 51.533 23.6364C51.533 22.7045 51.7035 21.9048 52.0444 21.2372C52.3853 20.5668 52.8512 20.0526 53.4421 19.6946C54.0359 19.3338 54.7106 19.1534 55.4663 19.1534C56.2191 19.1534 56.891 19.3338 57.4819 19.6946C58.0756 20.0526 58.543 20.5668 58.8839 21.2372C59.2248 21.9048 59.3952 22.7045 59.3952 23.6364ZM58.0913 23.6364C58.0913 22.9261 57.9762 22.3281 57.7461 21.8423C57.5188 21.3537 57.2063 20.9844 56.8086 20.7344C56.4137 20.4815 55.9663 20.3551 55.4663 20.3551C54.9634 20.3551 54.5146 20.4815 54.1197 20.7344C53.7248 20.9844 53.4123 21.3537 53.1822 21.8423C52.9549 22.3281 52.8413 22.9261 52.8413 23.6364C52.8413 24.3466 52.9549 24.946 53.1822 25.4347C53.4123 25.9205 53.7248 26.2898 54.1197 26.5426C54.5146 26.7926 54.9634 26.9176 55.4663 26.9176C55.9663 26.9176 56.4137 26.7926 56.8086 26.5426C57.2063 26.2898 57.5188 25.9205 57.7461 25.4347C57.9762 24.946 58.0913 24.3466 58.0913 23.6364ZM61.0369 28V19.2727H64.1477C64.8267 19.2727 65.3892 19.3963 65.8352 19.6435C66.2813 19.8906 66.6151 20.2287 66.8366 20.6577C67.0582 21.0838 67.169 21.5639 67.169 22.098C67.169 22.6349 67.0568 23.1179 66.8324 23.5469C66.6108 23.973 66.2756 24.3111 65.8267 24.5611C65.3807 24.8082 64.8196 24.9318 64.1435 24.9318H62.0043V23.8153H64.0241C64.4531 23.8153 64.8011 23.7415 65.0682 23.5938C65.3352 23.4432 65.5312 23.2386 65.6562 22.9801C65.7812 22.7216 65.8438 22.4276 65.8438 22.098C65.8438 21.7685 65.7812 21.4759 65.6562 21.2202C65.5312 20.9645 65.3338 20.7642 65.0639 20.6193C64.7969 20.4744 64.4446 20.402 64.0071 20.402H62.3537V28H61.0369ZM68.0394 19.2727H69.5352L71.815 23.2401H71.9087L74.1886 19.2727H75.6843L72.5181 24.5739V28H71.2056V24.5739L68.0394 19.2727Z" fill="#F9F9F9"/>
|
|
464
|
+
</svg>
|
|
465
|
+
`
|
|
466
|
+
},
|
|
467
|
+
components: [
|
|
468
|
+
{
|
|
469
|
+
tag: 'Row',
|
|
470
|
+
advanced: {
|
|
471
|
+
d: {
|
|
472
|
+
desktop: true,
|
|
473
|
+
tablet: true,
|
|
474
|
+
mobile: true
|
|
475
|
+
},
|
|
476
|
+
border: {
|
|
477
|
+
desktop: {
|
|
478
|
+
normal: {
|
|
479
|
+
borderType: 'none',
|
|
480
|
+
border: 'none',
|
|
481
|
+
borderWidth: '1px',
|
|
482
|
+
width: '1px 1px 1px 1px',
|
|
483
|
+
color: '#121212',
|
|
484
|
+
isCustom: true
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
rounded: {
|
|
489
|
+
desktop: {
|
|
490
|
+
normal: {
|
|
491
|
+
btrr: '0px',
|
|
492
|
+
bblr: '0px',
|
|
493
|
+
bbrr: '0px',
|
|
494
|
+
btlr: '0px',
|
|
495
|
+
radiusType: 'none'
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
hasBoxShadow: {
|
|
500
|
+
desktop: {
|
|
501
|
+
normal: false
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
boxShadow: {
|
|
505
|
+
desktop: {
|
|
506
|
+
normal: {
|
|
507
|
+
type: 'shadow-1',
|
|
508
|
+
distance: '4px',
|
|
509
|
+
blur: '4px',
|
|
510
|
+
spread: '4px',
|
|
511
|
+
color: 'rgba(18, 18, 18, 0.7)',
|
|
512
|
+
angle: 49
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
op: {
|
|
517
|
+
desktop: '100%'
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
childrens: [
|
|
521
|
+
{
|
|
522
|
+
tag: 'Col',
|
|
523
|
+
childrens: [
|
|
524
|
+
{
|
|
525
|
+
tag: 'Row',
|
|
526
|
+
settings: {
|
|
527
|
+
layout: {
|
|
528
|
+
desktop: {
|
|
529
|
+
cols: [
|
|
530
|
+
9,
|
|
531
|
+
3
|
|
532
|
+
],
|
|
533
|
+
display: 'fill'
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
horizontalAlign: {
|
|
537
|
+
desktop: 'start'
|
|
538
|
+
},
|
|
539
|
+
verticalAlign: {
|
|
540
|
+
desktop: 'center'
|
|
541
|
+
},
|
|
542
|
+
inlineAlignment: 'start',
|
|
543
|
+
blockAlignment: 'start'
|
|
544
|
+
},
|
|
545
|
+
styles: {
|
|
546
|
+
fullWidth: {
|
|
547
|
+
desktop: true,
|
|
548
|
+
tablet: false,
|
|
549
|
+
mobile: false
|
|
550
|
+
},
|
|
551
|
+
verticalGutter: {
|
|
552
|
+
desktop: '8px'
|
|
553
|
+
},
|
|
554
|
+
columnGap: {
|
|
555
|
+
desktop: '1%'
|
|
556
|
+
},
|
|
557
|
+
background: {
|
|
558
|
+
desktop: {
|
|
559
|
+
type: 'color',
|
|
560
|
+
color: '#E1EFFF',
|
|
561
|
+
image: {
|
|
562
|
+
src: '',
|
|
563
|
+
width: 0,
|
|
564
|
+
height: 0
|
|
565
|
+
},
|
|
566
|
+
size: 'cover',
|
|
567
|
+
position: {
|
|
568
|
+
x: 50,
|
|
569
|
+
y: 50
|
|
570
|
+
},
|
|
571
|
+
repeat: 'no-repeat',
|
|
572
|
+
attachment: 'scroll'
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
preloadBgImage: false,
|
|
576
|
+
width: {
|
|
577
|
+
desktop: '451px'
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
advanced: {
|
|
581
|
+
'spacing-setting': {
|
|
582
|
+
desktop: {
|
|
583
|
+
link: true,
|
|
584
|
+
padding: {
|
|
585
|
+
bottom: 'var(--g-s-s)',
|
|
586
|
+
left: 'var(--g-s-s)',
|
|
587
|
+
right: 'var(--g-s-s)',
|
|
588
|
+
top: 'var(--g-s-s)'
|
|
589
|
+
},
|
|
590
|
+
margin: {
|
|
591
|
+
bottom: 0
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
},
|
|
595
|
+
d: {
|
|
596
|
+
desktop: true,
|
|
597
|
+
tablet: true,
|
|
598
|
+
mobile: true
|
|
599
|
+
},
|
|
600
|
+
border: {
|
|
601
|
+
desktop: {
|
|
602
|
+
normal: {
|
|
603
|
+
borderType: 'none',
|
|
604
|
+
border: 'none',
|
|
605
|
+
borderWidth: '1px',
|
|
606
|
+
width: '1px 1px 1px 1px',
|
|
607
|
+
color: '#121212',
|
|
608
|
+
isCustom: true
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
rounded: {
|
|
613
|
+
desktop: {
|
|
614
|
+
normal: {
|
|
615
|
+
btrr: '3px',
|
|
616
|
+
bblr: '3px',
|
|
617
|
+
bbrr: '3px',
|
|
618
|
+
btlr: '3px',
|
|
619
|
+
radiusType: 'custom'
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
hasBoxShadow: {
|
|
624
|
+
desktop: {
|
|
625
|
+
normal: false
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
boxShadow: {
|
|
629
|
+
desktop: {
|
|
630
|
+
normal: {
|
|
631
|
+
type: 'shadow-1',
|
|
632
|
+
distance: '4px',
|
|
633
|
+
blur: '4px',
|
|
634
|
+
spread: '4px',
|
|
635
|
+
color: 'rgba(18, 18, 18, 0.7)',
|
|
636
|
+
angle: 49
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
},
|
|
640
|
+
op: {
|
|
641
|
+
desktop: '100%'
|
|
642
|
+
}
|
|
643
|
+
},
|
|
644
|
+
childrens: [
|
|
645
|
+
{
|
|
646
|
+
tag: 'Col',
|
|
647
|
+
childrens: [
|
|
648
|
+
{
|
|
649
|
+
tag: 'Col',
|
|
650
|
+
childrens: [
|
|
651
|
+
{
|
|
652
|
+
tag: 'Text',
|
|
653
|
+
settings: {
|
|
654
|
+
text: '<p><span style="font-size:16px;">Save 30% | Code: <strong>GEMPAGES30</strong></span></p>',
|
|
655
|
+
translate: 'text',
|
|
656
|
+
htmlTag: 'div',
|
|
657
|
+
background: {
|
|
658
|
+
desktop: {
|
|
659
|
+
type: 'color',
|
|
660
|
+
color: '#00000000',
|
|
661
|
+
image: {
|
|
662
|
+
src: '',
|
|
663
|
+
width: 0,
|
|
664
|
+
height: 0
|
|
665
|
+
},
|
|
666
|
+
size: 'cover',
|
|
667
|
+
position: {
|
|
668
|
+
x: 50,
|
|
669
|
+
y: 50
|
|
670
|
+
},
|
|
671
|
+
repeat: 'no-repeat',
|
|
672
|
+
attachment: 'scroll'
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
globalSize: {
|
|
676
|
+
desktop: {
|
|
677
|
+
width: '100%',
|
|
678
|
+
padding: {
|
|
679
|
+
type: 'custom',
|
|
680
|
+
top: '0px',
|
|
681
|
+
left: '0px',
|
|
682
|
+
right: '0px',
|
|
683
|
+
bottom: '0px'
|
|
684
|
+
},
|
|
685
|
+
gap: ''
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
styles: {
|
|
690
|
+
typo: {
|
|
691
|
+
type: 'paragraph-1',
|
|
692
|
+
attrs: {
|
|
693
|
+
color: '#121212'
|
|
694
|
+
},
|
|
695
|
+
custom: {
|
|
696
|
+
fontSize: {
|
|
697
|
+
desktop: '16px',
|
|
698
|
+
tablet: '16px',
|
|
699
|
+
mobile: '16px'
|
|
700
|
+
},
|
|
701
|
+
fontWeight: '400',
|
|
702
|
+
lineHeight: {
|
|
703
|
+
desktop: '150%',
|
|
704
|
+
tablet: '180%',
|
|
705
|
+
mobile: '180%'
|
|
706
|
+
},
|
|
707
|
+
letterSpacing: 'normal',
|
|
708
|
+
fontFamily: {
|
|
709
|
+
value: 'Inter',
|
|
710
|
+
type: 'google'
|
|
711
|
+
},
|
|
712
|
+
fontStyle: 'normal',
|
|
713
|
+
textShadow: {
|
|
714
|
+
angle: 37,
|
|
715
|
+
blur: '2px',
|
|
716
|
+
color: 'rgba(0, 0, 0, 0.6)',
|
|
717
|
+
distance: '4px',
|
|
718
|
+
type: 'custom'
|
|
719
|
+
},
|
|
720
|
+
hasShadowText: false
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
textAlign: {
|
|
724
|
+
desktop: 'left'
|
|
725
|
+
},
|
|
726
|
+
align: {
|
|
727
|
+
desktop: 'center'
|
|
728
|
+
},
|
|
729
|
+
hasLineClamp: {
|
|
730
|
+
desktop: false
|
|
731
|
+
},
|
|
732
|
+
lineClamp: {
|
|
733
|
+
desktop: 1,
|
|
734
|
+
tablet: 1,
|
|
735
|
+
mobile: 1
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
advanced: {
|
|
739
|
+
'spacing-setting': {
|
|
740
|
+
desktop: {
|
|
741
|
+
link: true,
|
|
742
|
+
margin: {
|
|
743
|
+
bottom: '0px',
|
|
744
|
+
left: '0px',
|
|
745
|
+
right: '0px',
|
|
746
|
+
top: '0px'
|
|
747
|
+
},
|
|
748
|
+
padding: {}
|
|
749
|
+
}
|
|
750
|
+
},
|
|
751
|
+
editorData: {
|
|
752
|
+
cssPlaceholder: '.{{rootClassName}} {\n\n}\n.{{rootClassName}} p {\n\n}'
|
|
753
|
+
},
|
|
754
|
+
d: {
|
|
755
|
+
desktop: true,
|
|
756
|
+
tablet: true,
|
|
757
|
+
mobile: true
|
|
758
|
+
},
|
|
759
|
+
border: {
|
|
760
|
+
desktop: {
|
|
761
|
+
normal: {
|
|
762
|
+
borderType: 'none',
|
|
763
|
+
border: 'none',
|
|
764
|
+
borderWidth: '1px',
|
|
765
|
+
width: '1px 1px 1px 1px',
|
|
766
|
+
color: '#121212',
|
|
767
|
+
isCustom: true
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
rounded: {
|
|
772
|
+
desktop: {
|
|
773
|
+
normal: {
|
|
774
|
+
btrr: '0px',
|
|
775
|
+
bblr: '0px',
|
|
776
|
+
bbrr: '0px',
|
|
777
|
+
btlr: '0px',
|
|
778
|
+
radiusType: 'none'
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
hasBoxShadow: {
|
|
783
|
+
desktop: {
|
|
784
|
+
normal: false
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
boxShadow: {
|
|
788
|
+
desktop: {
|
|
789
|
+
normal: {
|
|
790
|
+
type: 'shadow-1',
|
|
791
|
+
distance: '4px',
|
|
792
|
+
blur: '4px',
|
|
793
|
+
spread: '4px',
|
|
794
|
+
color: 'rgba(18, 18, 18, 0.7)',
|
|
795
|
+
angle: 49
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
op: {
|
|
800
|
+
desktop: '100%'
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
]
|
|
805
|
+
}
|
|
806
|
+
]
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
tag: 'Col',
|
|
810
|
+
childrens: [
|
|
811
|
+
{
|
|
812
|
+
tag: 'Coupon',
|
|
813
|
+
settings: {
|
|
814
|
+
iconSvg: '<svg height="20" width="20" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508414808601461096"><path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z"></path></svg>'
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
]
|
|
818
|
+
}
|
|
819
|
+
]
|
|
820
|
+
}
|
|
821
|
+
]
|
|
822
|
+
}
|
|
823
|
+
]
|
|
824
|
+
}
|
|
825
|
+
]
|
|
826
|
+
}
|
|
827
|
+
];
|
|
828
|
+
|
|
829
|
+
export { CouponPresets, CouponSettings };
|