@gem-sdk/components 2.0.0-dev.306 → 2.0.0-dev.328
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 +4702 -5431
- 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
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var NewsletterInitConfig = require('./NewsletterInitConfig.js');
|
|
6
|
-
var settings = require('./configs/settings.js');
|
|
7
6
|
var uiV1 = require('./configs/uiV1.js');
|
|
8
7
|
var uiV2 = require('./configs/uiV2.js');
|
|
8
|
+
var settings = require('./configs/settings.js');
|
|
9
9
|
|
|
10
10
|
const config = {
|
|
11
11
|
tag: 'Newsletter',
|
|
@@ -15,7 +15,7 @@ const config = {
|
|
|
15
15
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.4889 1.5C6.06532 1.5 5.65909 1.66827 5.35957 1.96779C5.06006 2.26731 4.8918 2.67355 4.8918 3.09713V8.85014L1.84362 10.9458C1.75354 11.0037 1.67451 11.082 1.61399 11.1788C1.53448 11.306 1.49782 11.4479 1.5001 11.5875V20.4789C1.5001 21.0149 1.71303 21.529 2.09204 21.908C2.47106 22.2871 2.98512 22.5 3.52114 22.5H20.4784C21.0144 22.5 21.5285 22.2871 21.9075 21.908C22.2865 21.529 22.4995 21.0149 22.4995 20.4789V11.6037C22.505 11.4589 22.4686 11.311 22.386 11.1788C22.3242 11.0799 22.243 11.0003 22.1505 10.9421L19.1082 8.85047V3.09713C19.1082 2.67355 18.94 2.26732 18.6405 1.96779C18.341 1.66827 17.9347 1.5 17.5111 1.5H6.4889ZM17.6098 9.22228C17.6094 9.23661 17.6094 9.25094 17.6098 9.26525V13.2805L14.7516 15.0669H9.24844L6.39028 13.2805V3.09713C6.39028 3.07097 6.40067 3.04588 6.41917 3.02738C6.43766 3.00888 6.46275 2.99849 6.4889 2.99849H17.5111C17.5373 2.99849 17.5624 3.00888 17.5809 3.02738C17.5994 3.04588 17.6098 3.07097 17.6098 3.09713V9.22228ZM5.23785 14.3273L5.25117 14.3357L7.73953 15.8909L4.32497 18.6226C4.00185 18.8811 3.94947 19.3526 4.20797 19.6758C4.46647 19.9989 4.93796 20.0513 5.26107 19.7928L9.29516 16.5654H14.7046L18.7387 19.7928C19.0618 20.0513 19.5333 19.9989 19.7918 19.6758C20.0503 19.3526 19.9979 18.8811 19.6748 18.6226L16.2603 15.891L18.7475 14.3365L18.7636 14.3265L21.001 12.928V20.4789C21.001 20.6175 20.9459 20.7504 20.8479 20.8484C20.7499 20.9465 20.617 21.0015 20.4784 21.0015H3.52114C3.38255 21.0015 3.24964 20.9465 3.15164 20.8484C3.05364 20.7504 2.99858 20.6175 2.99858 20.4789V12.9278L5.23785 14.3273ZM4.8918 12.3439V10.6686L3.61539 11.5462L4.8918 12.3439ZM19.1082 12.3439L20.3844 11.5463L19.1082 10.6689V12.3439ZM7.43548 9.88068C7.43548 9.46689 7.77093 9.13144 8.18472 9.13144H15.8155C16.2293 9.13144 16.5647 9.46689 16.5647 9.88068C16.5647 10.2945 16.2293 10.6299 15.8155 10.6299H8.18472C7.77093 10.6299 7.43548 10.2945 7.43548 9.88068ZM8.18472 11.6743C7.77093 11.6743 7.43548 12.0097 7.43548 12.4235C7.43548 12.8373 7.77093 13.1728 8.18472 13.1728H15.8155C16.2293 13.1728 16.5647 12.8373 16.5647 12.4235C16.5647 12.0097 16.2293 11.6743 15.8155 11.6743H8.18472Z" fill="white"/>
|
|
16
16
|
</svg>
|
|
17
17
|
`,
|
|
18
|
-
settings: settings.
|
|
18
|
+
settings: settings.default,
|
|
19
19
|
ui: uiV1.SettingUIV1,
|
|
20
20
|
uiV2: uiV2.SettingUIV2,
|
|
21
21
|
presets: [
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
3
5
|
const NewsletterSettings = [
|
|
4
6
|
{
|
|
5
7
|
id: 'setting',
|
|
@@ -193,4 +195,4 @@ const NewsletterSettings = [
|
|
|
193
195
|
}
|
|
194
196
|
];
|
|
195
197
|
|
|
196
|
-
exports.
|
|
198
|
+
exports.default = NewsletterSettings;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var SubmitButtonInitConfig = require('./SubmitButtonInitConfig.js');
|
|
6
|
-
var settings = require('./configs/settings.js');
|
|
7
6
|
var uiV1 = require('./configs/uiV1.js');
|
|
8
7
|
var uiV2 = require('./configs/uiV2.js');
|
|
8
|
+
var settings = require('./configs/settings.js');
|
|
9
9
|
|
|
10
10
|
const config = {
|
|
11
11
|
tag: 'SubmitButton',
|
|
@@ -15,7 +15,7 @@ const config = {
|
|
|
15
15
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.35758 6.11293C9.26246 6.11293 9.1673 6.15206 9.09412 6.22817C9.02032 6.30493 8.97559 6.41304 8.97559 6.52969V9.58776C8.97559 9.70441 9.02032 9.81253 9.09412 9.88929C9.1673 9.9654 9.26246 10.0045 9.35758 10.0045H14.0617C14.5003 10.0045 14.8558 10.3656 14.8558 10.811C14.8558 11.2564 14.5003 11.6175 14.0617 11.6175H9.35758C8.8289 11.6175 8.3258 11.3988 7.95788 11.0161C7.59058 10.6341 7.3875 10.12 7.3875 9.58776V6.52969C7.3875 5.9975 7.59058 5.48335 7.95788 5.10132C8.3258 4.71863 8.8289 4.5 9.35758 4.5H20.5299C21.0586 4.5 21.5617 4.71863 21.9296 5.10132C22.2969 5.48335 22.5 5.9975 22.5 6.52969V9.58776C22.5 10.12 22.2969 10.6341 21.9296 11.0161C21.5617 11.3988 21.0586 11.6175 20.5299 11.6175H18.1778C17.7393 11.6175 17.3838 11.2564 17.3838 10.811C17.3838 10.3656 17.7393 10.0045 18.1778 10.0045H20.5299C20.625 10.0045 20.7202 9.9654 20.7934 9.88929C20.8672 9.81253 20.9119 9.70441 20.9119 9.58776V6.52969C20.9119 6.41304 20.8672 6.30493 20.7934 6.22817C20.7202 6.15205 20.625 6.11293 20.5299 6.11293H9.35758ZM21.8943 18.2438L20.0449 16.3658C20.0346 16.3555 20.0267 16.3429 20.0217 16.3291C20.0167 16.3152 20.0148 16.3004 20.016 16.2858C20.0173 16.2711 20.0218 16.2569 20.0291 16.2441C20.0364 16.2314 20.0464 16.2205 20.0584 16.2121L21.247 15.3751C21.3083 15.332 21.3564 15.2721 21.3857 15.2024C21.415 15.1327 21.4243 15.056 21.4126 14.9812C21.4009 14.9064 21.3686 14.8364 21.3194 14.7794C21.2703 14.7224 21.2063 14.6806 21.1348 14.6589L16.1039 13.1253C16.0525 13.1098 15.998 13.1087 15.946 13.122C15.894 13.1354 15.8466 13.1628 15.8086 13.2013C15.7707 13.2398 15.7438 13.288 15.7306 13.3408C15.7174 13.3936 15.7186 13.449 15.7339 13.5012L17.2438 18.6116C17.2652 18.6842 17.3064 18.7491 17.3625 18.799C17.4187 18.8488 17.4876 18.8816 17.5613 18.8934C17.635 18.9053 17.7104 18.8958 17.779 18.866C17.8476 18.8362 17.9065 18.7874 17.949 18.7251L18.7727 17.5179C18.7809 17.5058 18.7917 17.4957 18.8042 17.4882C18.8167 17.4808 18.8307 17.4763 18.8451 17.4749C18.8596 17.4736 18.8741 17.4755 18.8878 17.4805C18.9014 17.4855 18.9138 17.4934 18.924 17.5038L20.7735 19.3822C20.8478 19.4576 20.9486 19.5 21.0536 19.5C21.1587 19.5 21.2594 19.4576 21.3337 19.3822L21.8943 18.8128C21.9686 18.7373 22.0103 18.635 22.0103 18.5283C22.0103 18.4216 21.9686 18.3193 21.8943 18.2438ZM2.09554 5.41058C1.76663 5.41058 1.5 5.68138 1.5 6.01543C1.5 6.34948 1.76663 6.62028 2.09554 6.62028H5.47664C5.80554 6.62028 6.07217 6.34948 6.07217 6.01543C6.07217 5.68138 5.80554 5.41058 5.47664 5.41058H2.09554ZM1.5 8.145C1.5 7.81096 1.76663 7.54015 2.09554 7.54015H5.47664C5.80554 7.54015 6.07217 7.81096 6.07217 8.145C6.07217 8.47905 5.80554 8.74985 5.47664 8.74985H2.09554C1.76663 8.74985 1.5 8.47905 1.5 8.145ZM2.09554 9.66894C1.76663 9.66894 1.5 9.93974 1.5 10.2738C1.5 10.6078 1.76663 10.8786 2.09554 10.8786H5.47664C5.80554 10.8786 6.07217 10.6078 6.07217 10.2738C6.07217 9.93974 5.80554 9.66894 5.47664 9.66894H2.09554Z" fill="currentColor"/>
|
|
16
16
|
</svg>
|
|
17
17
|
`,
|
|
18
|
-
settings: settings.
|
|
18
|
+
settings: settings.default,
|
|
19
19
|
ui: uiV1.SettingUIV1,
|
|
20
20
|
uiV2: uiV2.SettingUIV2,
|
|
21
21
|
editorConfigs: {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
3
5
|
const SubmitButtonSettings = [
|
|
4
6
|
{
|
|
5
7
|
id: 'setting',
|
|
@@ -416,4 +418,4 @@ const SubmitButtonSettings = [
|
|
|
416
418
|
}
|
|
417
419
|
];
|
|
418
420
|
|
|
419
|
-
exports.
|
|
421
|
+
exports.default = SubmitButtonSettings;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var settings = require('./configs/settings.js');
|
|
6
5
|
var uiV1 = require('./configs/uiV1.js');
|
|
7
6
|
var uiV2 = require('./configs/uiV2.js');
|
|
7
|
+
var settings = require('./configs/settings.js');
|
|
8
8
|
|
|
9
9
|
const config = {
|
|
10
10
|
tag: 'TextField',
|
|
@@ -13,9 +13,9 @@ const config = {
|
|
|
13
13
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
14
14
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.3322 10.8964L9.87367 9.66713H7.82073L7.36908 10.8964H6.5L8.38871 6H9.3399L11.2286 10.8964H10.3322ZM8.8472 6.89779L8.10814 8.90055H9.58625L8.8472 6.89779ZM12.7003 11C12.0023 11 11.5711 10.5166 11.5711 9.98481C11.5711 9.38398 12.0091 9.05249 12.5771 8.96961L13.4325 8.8384C13.6241 8.81077 13.6788 8.71409 13.6788 8.59669C13.6788 8.31354 13.4872 8.08564 13.0493 8.08564C12.6318 8.08564 12.3992 8.35497 12.3649 8.69337L11.6396 8.52762C11.7012 7.94751 12.2212 7.42956 13.0424 7.42956C14.0689 7.42956 14.4589 8.01657 14.4589 8.68646V10.3577C14.4589 10.6616 14.4932 10.8619 14.5 10.8964H13.7609C13.7541 10.8757 13.7267 10.7376 13.7267 10.4682C13.5693 10.7238 13.2409 11 12.7003 11ZM12.3649 9.93646C12.3649 10.1644 12.536 10.3715 12.8508 10.3715C13.2956 10.3715 13.6788 10.1575 13.6788 9.50138V9.34945L12.8097 9.48066C12.5634 9.5221 12.3649 9.66022 12.3649 9.93646ZM17.37 9.2467H19.5C20.2956 9.2467 21.0587 9.54118 21.6213 10.0653C22.1839 10.5895 22.5 11.3004 22.5 12.0417V15.9548C22.5 16.6961 22.1839 17.407 21.6213 17.9312C21.0587 18.4553 20.2956 18.7498 19.5 18.7498H4.5C3.70435 18.7498 2.94129 18.4553 2.37868 17.9312C1.81607 17.407 1.5 16.6961 1.5 15.9548V11.7622C1.51562 11.1035 1.80649 10.4765 2.31074 10.0145C2.81499 9.55253 3.49281 9.29211 4.2 9.28863C4.39891 9.28863 4.58968 9.36225 4.73033 9.49329C4.87098 9.62433 4.95 9.80206 4.95 9.98739C4.95 10.1727 4.87098 10.3504 4.73033 10.4815C4.58968 10.6125 4.39891 10.6861 4.2 10.6861C3.88174 10.6861 3.57652 10.8039 3.35147 11.0136C3.12643 11.2233 3 11.5076 3 11.8042V15.9967C3 16.3673 3.15804 16.7228 3.43934 16.9849C3.72064 17.247 4.10218 17.3942 4.5 17.3942H19.5C19.697 17.3942 19.892 17.3581 20.074 17.2878C20.256 17.2176 20.4214 17.1147 20.5607 16.9849C20.6999 16.8551 20.8104 16.7011 20.8858 16.5315C20.9612 16.362 21 16.1802 21 15.9967V12.0417C21 11.6711 20.842 11.3156 20.5607 11.0535C20.2794 10.7915 19.8978 10.6442 19.5 10.6442H17.37C17.1711 10.6442 16.9803 10.5706 16.8397 10.4396C16.699 10.3085 16.62 10.1308 16.62 9.94546C16.62 9.76014 16.699 9.58241 16.8397 9.45136C16.9803 9.32032 17.1711 9.2467 17.37 9.2467Z" fill="currentColor"/>
|
|
15
15
|
</svg>
|
|
16
|
-
|
|
16
|
+
|
|
17
17
|
`,
|
|
18
|
-
settings: settings.
|
|
18
|
+
settings: settings.default,
|
|
19
19
|
ui: uiV1.SettingUIV1,
|
|
20
20
|
uiV2: uiV2.SettingUIV2,
|
|
21
21
|
editorConfigs: {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
3
5
|
const TextFieldSettings = [
|
|
4
6
|
{
|
|
5
7
|
id: 'setting',
|
|
@@ -147,4 +149,4 @@ const TextFieldSettings = [
|
|
|
147
149
|
}
|
|
148
150
|
];
|
|
149
151
|
|
|
150
|
-
exports.
|
|
152
|
+
exports.default = TextFieldSettings;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var settings = require('./configs/settings.js');
|
|
6
5
|
var uiV1 = require('./configs/uiV1.js');
|
|
7
6
|
var uiV2 = require('./configs/uiV2.js');
|
|
7
|
+
var settings = require('./configs/settings.js');
|
|
8
8
|
|
|
9
9
|
const config = {
|
|
10
10
|
tag: 'TextInput',
|
|
@@ -13,9 +13,9 @@ const config = {
|
|
|
13
13
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
14
14
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.3322 10.8964L9.87367 9.66713H7.82073L7.36908 10.8964H6.5L8.38871 6H9.3399L11.2286 10.8964H10.3322ZM8.8472 6.89779L8.10814 8.90055H9.58625L8.8472 6.89779ZM12.7003 11C12.0023 11 11.5711 10.5166 11.5711 9.98481C11.5711 9.38398 12.0091 9.05249 12.5771 8.96961L13.4325 8.8384C13.6241 8.81077 13.6788 8.71409 13.6788 8.59669C13.6788 8.31354 13.4872 8.08564 13.0493 8.08564C12.6318 8.08564 12.3992 8.35497 12.3649 8.69337L11.6396 8.52762C11.7012 7.94751 12.2212 7.42956 13.0424 7.42956C14.0689 7.42956 14.4589 8.01657 14.4589 8.68646V10.3577C14.4589 10.6616 14.4932 10.8619 14.5 10.8964H13.7609C13.7541 10.8757 13.7267 10.7376 13.7267 10.4682C13.5693 10.7238 13.2409 11 12.7003 11ZM12.3649 9.93646C12.3649 10.1644 12.536 10.3715 12.8508 10.3715C13.2956 10.3715 13.6788 10.1575 13.6788 9.50138V9.34945L12.8097 9.48066C12.5634 9.5221 12.3649 9.66022 12.3649 9.93646ZM17.37 9.2467H19.5C20.2956 9.2467 21.0587 9.54118 21.6213 10.0653C22.1839 10.5895 22.5 11.3004 22.5 12.0417V15.9548C22.5 16.6961 22.1839 17.407 21.6213 17.9312C21.0587 18.4553 20.2956 18.7498 19.5 18.7498H4.5C3.70435 18.7498 2.94129 18.4553 2.37868 17.9312C1.81607 17.407 1.5 16.6961 1.5 15.9548V11.7622C1.51562 11.1035 1.80649 10.4765 2.31074 10.0145C2.81499 9.55253 3.49281 9.29211 4.2 9.28863C4.39891 9.28863 4.58968 9.36225 4.73033 9.49329C4.87098 9.62433 4.95 9.80206 4.95 9.98739C4.95 10.1727 4.87098 10.3504 4.73033 10.4815C4.58968 10.6125 4.39891 10.6861 4.2 10.6861C3.88174 10.6861 3.57652 10.8039 3.35147 11.0136C3.12643 11.2233 3 11.5076 3 11.8042V15.9967C3 16.3673 3.15804 16.7228 3.43934 16.9849C3.72064 17.247 4.10218 17.3942 4.5 17.3942H19.5C19.697 17.3942 19.892 17.3581 20.074 17.2878C20.256 17.2176 20.4214 17.1147 20.5607 16.9849C20.6999 16.8551 20.8104 16.7011 20.8858 16.5315C20.9612 16.362 21 16.1802 21 15.9967V12.0417C21 11.6711 20.842 11.3156 20.5607 11.0535C20.2794 10.7915 19.8978 10.6442 19.5 10.6442H17.37C17.1711 10.6442 16.9803 10.5706 16.8397 10.4396C16.699 10.3085 16.62 10.1308 16.62 9.94546C16.62 9.76014 16.699 9.58241 16.8397 9.45136C16.9803 9.32032 17.1711 9.2467 17.37 9.2467Z" fill="currentColor"/>
|
|
15
15
|
</svg>
|
|
16
|
-
|
|
16
|
+
|
|
17
17
|
`,
|
|
18
|
-
settings: settings.
|
|
18
|
+
settings: settings.default,
|
|
19
19
|
ui: uiV1.SettingUIV1,
|
|
20
20
|
uiV2: uiV2.SettingUIV2,
|
|
21
21
|
editorConfigs: {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
3
5
|
const TextInputSettings = [
|
|
4
6
|
{
|
|
5
7
|
id: 'setting',
|
|
@@ -304,4 +306,4 @@ const TextInputSettings = [
|
|
|
304
306
|
}
|
|
305
307
|
];
|
|
306
308
|
|
|
307
|
-
exports.
|
|
309
|
+
exports.default = TextInputSettings;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('react/jsx-runtime');
|
|
4
|
+
require('react');
|
|
5
|
+
require('next/head');
|
|
6
|
+
require('@gem-sdk/core');
|
|
7
|
+
require('next/image');
|
|
8
|
+
require('@gem-sdk/system');
|
|
9
|
+
require('react-youtube');
|
|
10
|
+
var Root$1 = require('./setting/Root.js');
|
|
11
|
+
var Section$1 = require('./section/setting/Section.js');
|
|
12
|
+
var Row$1 = require('./row/setting/Row.js');
|
|
13
|
+
var Col$1 = require('./col/setting/Col.js');
|
|
14
|
+
|
|
15
|
+
const gridSetting = {
|
|
16
|
+
Root: Root$1.default,
|
|
17
|
+
Section: Section$1.default,
|
|
18
|
+
Row: Row$1.default,
|
|
19
|
+
Col: Col$1.default
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
exports.gridSetting = gridSetting;
|
package/dist/cjs/grid/row/Row.js
CHANGED
|
@@ -22,7 +22,7 @@ const Row = (props)=>{
|
|
|
22
22
|
const { background } = styles ?? {};
|
|
23
23
|
const { builderAttrs, cacheHeightOutViewport, bgVideo, isRowEmpty, rowClassEditorOnly, isRenderPlaceholderViewBox, isPostPurchase, ref, postPurchaseVerticalAlign } = useRowSetting.useRowSettings(props);
|
|
24
24
|
const { rowStyle, backgroundBoxStyle, embedVideoStyle, sectionStyle } = getStyle.getRowStyle(props);
|
|
25
|
-
const { rowAttr
|
|
25
|
+
const { rowAttr } = getAttr.getAttr(props);
|
|
26
26
|
const { rowClass, backgroundBoxClass, backgroundBoxInnerClass, sectionClass, wrapperYoutubeClasses, iframeYoutubeClasses } = getClass.getClass(props);
|
|
27
27
|
const className = system.createClass({
|
|
28
28
|
[rowClass]: true,
|
|
@@ -63,8 +63,11 @@ const Row = (props)=>{
|
|
|
63
63
|
iframeClass: iframeYoutubeClasses
|
|
64
64
|
});
|
|
65
65
|
}, [
|
|
66
|
+
background,
|
|
66
67
|
bgVideo,
|
|
67
|
-
embedVideoStyle
|
|
68
|
+
embedVideoStyle,
|
|
69
|
+
iframeYoutubeClasses,
|
|
70
|
+
wrapperYoutubeClasses
|
|
68
71
|
]);
|
|
69
72
|
const element = /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
70
73
|
ref: ref,
|
|
@@ -121,7 +124,6 @@ const Row = (props)=>{
|
|
|
121
124
|
]
|
|
122
125
|
}),
|
|
123
126
|
isSection ? /*#__PURE__*/ jsxRuntime.jsx(Element, {
|
|
124
|
-
...sectionAttr,
|
|
125
127
|
className: sectionClass,
|
|
126
128
|
style: sectionStyle,
|
|
127
129
|
children: element
|
|
@@ -22,7 +22,7 @@ const Row = (props)=>{
|
|
|
22
22
|
const elementTag = isSection ? 'section' : 'div';
|
|
23
23
|
const { stateData } = getData.getData(props);
|
|
24
24
|
const { rowStyle, backgroundBoxStyle, embedVideoStyle, sectionStyle } = getStyle.getRowStyle(props);
|
|
25
|
-
const { rowAttr
|
|
25
|
+
const { rowAttr } = getAttr.getAttr(props);
|
|
26
26
|
const { rowClass, backgroundBoxClass, backgroundBoxInnerClass, sectionClass, wrapperYoutubeClasses, iframeYoutubeClasses } = getClass.getClass(props);
|
|
27
27
|
const className = system.createClass({
|
|
28
28
|
[rowClass]: true
|
|
@@ -106,9 +106,6 @@ const Row = (props)=>{
|
|
|
106
106
|
|
|
107
107
|
${system.If(isSection, core.template /* liquid */ `
|
|
108
108
|
<${elementTag}
|
|
109
|
-
${{
|
|
110
|
-
...sectionAttr
|
|
111
|
-
}}
|
|
112
109
|
class="${sectionClass} ${isSection ? helpers.getSettingPreloadData('gps-lazy') : ''}"
|
|
113
110
|
style="${sectionStyle}"
|
|
114
111
|
>
|
|
@@ -7,14 +7,11 @@ const getAttr = (props)=>{
|
|
|
7
7
|
const rowAttr = system.createAttr({
|
|
8
8
|
'data-id': builderProps?.uidInteraction ?? builderProps?.uid ?? '',
|
|
9
9
|
id: builderProps?.uid ?? '',
|
|
10
|
+
'data-same-height-subgrid-container': !!setting?.sameHeightSubgridContainer,
|
|
10
11
|
...customAttrs
|
|
11
12
|
});
|
|
12
|
-
const sectionAttr = system.createAttr({
|
|
13
|
-
'data-same-height-display-contents': !!setting?.allowSameHeight
|
|
14
|
-
});
|
|
15
13
|
return {
|
|
16
|
-
rowAttr
|
|
17
|
-
sectionAttr
|
|
14
|
+
rowAttr
|
|
18
15
|
};
|
|
19
16
|
};
|
|
20
17
|
|
|
@@ -6,13 +6,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
7
|
var core = require('@gem-sdk/core');
|
|
8
8
|
var dynamic = require('next/dynamic');
|
|
9
|
-
require('react');
|
|
10
|
-
require('@gem-sdk/system');
|
|
11
|
-
require('next/link');
|
|
12
9
|
var Cart = require('../../../../cart/components/Cart.js');
|
|
10
|
+
require('react');
|
|
13
11
|
require('next/head');
|
|
14
12
|
require('next/image');
|
|
13
|
+
require('@gem-sdk/system');
|
|
15
14
|
require('react-youtube');
|
|
15
|
+
require('next/link');
|
|
16
16
|
var Image = require('../../../../image/components/Image.js');
|
|
17
17
|
require('../../../../cart/components/ShopPayButton/ShopPayButton.js');
|
|
18
18
|
var CheckoutNow = require('../../../../cart/components/CheckoutNow.js');
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
var core = require('@gem-sdk/core');
|
|
8
|
-
require('react');
|
|
9
|
-
require('@gem-sdk/system');
|
|
10
|
-
require('next/link');
|
|
11
7
|
var Cart = require('../../../../cart/components/Cart.js');
|
|
8
|
+
require('react');
|
|
12
9
|
require('next/head');
|
|
10
|
+
var core = require('@gem-sdk/core');
|
|
13
11
|
require('next/image');
|
|
12
|
+
require('@gem-sdk/system');
|
|
14
13
|
require('react-youtube');
|
|
14
|
+
require('next/link');
|
|
15
15
|
require('../../../../image/components/AdaptiveImage.js');
|
|
16
16
|
require('../../../../cart/components/ShopPayButton/ShopPayButton.js');
|
|
17
17
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var Header = require('./components/Header.js');
|
|
4
|
+
var index = require('./components/kind/basic/index.js');
|
|
5
|
+
require('react/jsx-runtime');
|
|
6
|
+
require('react');
|
|
7
|
+
require('@gem-sdk/core');
|
|
8
|
+
require('next/head');
|
|
9
|
+
require('next/image');
|
|
10
|
+
require('@gem-sdk/system');
|
|
11
|
+
require('react-youtube');
|
|
12
|
+
require('next/link');
|
|
13
|
+
require('../image/components/AdaptiveImage.js');
|
|
14
|
+
require('../cart/components/ShopPayButton/ShopPayButton.js');
|
|
15
|
+
require('react-transition-group');
|
|
16
|
+
var Header$1 = require('./setting/Header.js');
|
|
17
|
+
|
|
18
|
+
const headerSetting = {
|
|
19
|
+
Header: Header$1.default
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
exports.Header = Header.default;
|
|
23
|
+
exports.BasicHeader = index.default;
|
|
24
|
+
exports.headerSetting = headerSetting;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('react/jsx-runtime');
|
|
4
|
+
require('react');
|
|
5
|
+
require('@gem-sdk/core');
|
|
6
|
+
require('@gem-sdk/system');
|
|
7
|
+
require('next/link');
|
|
8
|
+
var Heading$1 = require('./setting/Heading.js');
|
|
9
|
+
|
|
10
|
+
const headingSetting = {
|
|
11
|
+
Heading: Heading$1.default
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
exports.headingSetting = headingSetting;
|
package/dist/cjs/helpers.js
CHANGED
|
@@ -183,23 +183,42 @@ function filterTruthyStyles(styles) {
|
|
|
183
183
|
function filterTruthyObject(obj) {
|
|
184
184
|
return Object.fromEntries(Object.entries(obj || {}).filter(([, value])=>!!value));
|
|
185
185
|
}
|
|
186
|
-
const
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
186
|
+
const getDisplayStyle = (fnCondition, defaultValue)=>{
|
|
187
|
+
let result = {};
|
|
188
|
+
const devices = [
|
|
189
|
+
'desktop',
|
|
190
|
+
'mobile',
|
|
191
|
+
'tablet'
|
|
192
|
+
];
|
|
193
|
+
devices.forEach((device)=>{
|
|
194
|
+
result = {
|
|
195
|
+
...result,
|
|
196
|
+
[`--d${device === 'desktop' ? '' : `-${device}`}`]: `${fnCondition(device) ? 'none' : defaultValue}`
|
|
197
|
+
};
|
|
198
|
+
});
|
|
199
|
+
return result;
|
|
200
|
+
};
|
|
201
|
+
const convertUnitToNumber = (value, defaultValue)=>{
|
|
202
|
+
if (!value) {
|
|
203
|
+
return defaultValue;
|
|
204
|
+
}
|
|
205
|
+
if (typeof value === 'number') {
|
|
206
|
+
return value;
|
|
191
207
|
}
|
|
208
|
+
const data = typeof value === 'string' ? value.replaceAll('px', '').replaceAll('%', '').replaceAll('rem', '').replaceAll('em', '') : defaultValue;
|
|
209
|
+
return !isNaN(Number(data)) ? Number(data) : defaultValue;
|
|
192
210
|
};
|
|
193
211
|
|
|
212
|
+
exports.convertUnitToNumber = convertUnitToNumber;
|
|
194
213
|
exports.filterTruthyObject = filterTruthyObject;
|
|
195
214
|
exports.filterTruthyStyles = filterTruthyStyles;
|
|
215
|
+
exports.getDisplayStyle = getDisplayStyle;
|
|
196
216
|
exports.getDynamicSourceLocales = getDynamicSourceLocales;
|
|
197
217
|
exports.getInsertLinkData = getInsertLinkData;
|
|
198
218
|
exports.getLinkData = getLinkData;
|
|
199
219
|
exports.getSettingPreloadData = getSettingPreloadData;
|
|
200
220
|
exports.getStaticLocale = getStaticLocale;
|
|
201
221
|
exports.isHexTransparent = isHexTransparent;
|
|
202
|
-
exports.isMobile = isMobile;
|
|
203
222
|
exports.isTransparentColor = isTransparentColor;
|
|
204
223
|
exports.isTransparentRGBA = isTransparentRGBA;
|
|
205
224
|
exports.replaceLinkData = replaceLinkData;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('react/jsx-runtime');
|
|
4
|
+
require('react');
|
|
5
|
+
require('@gem-sdk/system');
|
|
6
|
+
require('@gem-sdk/core');
|
|
7
|
+
require('next/link');
|
|
8
|
+
var Icon$1 = require('./setting/Icon.js');
|
|
9
|
+
|
|
10
|
+
const iconSetting = {
|
|
11
|
+
Icon: Icon$1.default
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
exports.iconSetting = iconSetting;
|
|
@@ -14,7 +14,7 @@ const config = {
|
|
|
14
14
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
15
15
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.8255 2.7925C12.9604 1.28792 10.7896 1.28791 9.92446 2.7925L6.76725 8.2833C5.90475 9.7833 6.9875 11.6549 8.71779 11.6549H15.0322C16.7625 11.6549 17.8452 9.7833 16.9827 8.2833L13.8255 2.7925ZM11.2248 3.54021C11.5132 3.03868 12.2368 3.03868 12.5252 3.54021L15.6824 9.03101C15.9699 9.53101 15.609 10.1549 15.0322 10.1549H8.71779C8.14103 10.1549 7.78011 9.53101 8.06761 9.03101L11.2248 3.54021ZM12.375 17.3389C12.375 14.5775 14.6136 12.3389 17.375 12.3389C20.1364 12.3389 22.375 14.5775 22.375 17.3389C22.375 20.1004 20.1364 22.3389 17.375 22.3389C14.6136 22.3389 12.375 20.1004 12.375 17.3389ZM17.375 13.8389C15.442 13.8389 13.875 15.4059 13.875 17.3389C13.875 19.2719 15.442 20.8389 17.375 20.8389C19.308 20.8389 20.875 19.2719 20.875 17.3389C20.875 15.4059 19.308 13.8389 17.375 13.8389ZM1.625 14.8389C1.625 13.5963 2.63236 12.5889 3.875 12.5889H8.875C10.1176 12.5889 11.125 13.5963 11.125 14.8389V19.8389C11.125 21.0816 10.1176 22.0889 8.875 22.0889H3.875C2.63236 22.0889 1.625 21.0816 1.625 19.8389V14.8389ZM3.875 14.0889C3.46079 14.0889 3.125 14.4247 3.125 14.8389V19.8389C3.125 20.2532 3.46079 20.5889 3.875 20.5889H8.875C9.28921 20.5889 9.625 20.2532 9.625 19.8389V14.8389C9.625 14.4247 9.28921 14.0889 8.875 14.0889H3.875Z" fill="white"/>
|
|
16
16
|
</svg>
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
`,
|
|
19
19
|
settings: settings.IconSettings,
|
|
20
20
|
ui: uiV1.SettingUIV1,
|
|
@@ -27,7 +27,7 @@ const config = {
|
|
|
27
27
|
},
|
|
28
28
|
globalSize: {
|
|
29
29
|
desktop: {
|
|
30
|
-
width: '
|
|
30
|
+
width: '24px',
|
|
31
31
|
padding: {
|
|
32
32
|
type: 'custom'
|
|
33
33
|
},
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('react/jsx-runtime');
|
|
4
|
+
require('@gem-sdk/core');
|
|
5
|
+
require('react');
|
|
6
|
+
require('next/head');
|
|
7
|
+
require('@gem-sdk/system');
|
|
8
|
+
var IconList$1 = require('./setting/IconList.js');
|
|
9
|
+
var IconListItem$1 = require('./setting/IconListItem.js');
|
|
10
|
+
|
|
11
|
+
const iconListSetting = {
|
|
12
|
+
IconList: IconList$1.default,
|
|
13
|
+
IconListItem: IconListItem$1.default
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
exports.iconListSetting = iconListSetting;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('react/jsx-runtime');
|
|
4
|
+
require('@gem-sdk/core');
|
|
5
|
+
require('react');
|
|
6
|
+
require('next/head');
|
|
7
|
+
require('@gem-sdk/system');
|
|
8
|
+
var IconListHoz$1 = require('./setting/IconListHoz.js');
|
|
9
|
+
var IconListItem = require('./setting/IconListItem.js');
|
|
10
|
+
|
|
11
|
+
const iconListHozSetting = {
|
|
12
|
+
IconListHoz: IconListHoz$1.default,
|
|
13
|
+
IconListHozItem: IconListItem.default
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
exports.iconListHozSetting = iconListHozSetting;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var core = require('@gem-sdk/core');
|
|
4
|
+
|
|
5
|
+
const getClassWraplistIcon = ()=>{
|
|
6
|
+
return core.composeClasses('gp-flex');
|
|
7
|
+
};
|
|
8
|
+
const getClassColListIcon = ()=>{
|
|
9
|
+
return core.composeClasses('gp-inline-flex gp-flex-col');
|
|
10
|
+
};
|
|
11
|
+
const getClassWrapItemIcon = ({ builderProps })=>{
|
|
12
|
+
return core.composeClasses(`gp-icon-list-wrapper gp-flex gp-child-item-${builderProps?.uid}`);
|
|
13
|
+
};
|
|
14
|
+
const getClassWrapIcon = ()=>{
|
|
15
|
+
return core.composeClasses('gp-icon-list-icon gp-inline-flex gp-shrink-0 gp-overflow-hidden');
|
|
16
|
+
};
|
|
17
|
+
const getClassIcon = ()=>{
|
|
18
|
+
return core.composeClasses('gp-icon gp-inline-flex gp-items-center gp-justify-center gp-overflow-hidden [&>svg]:!gp-h-[var(--size-desktop)] [&>svg]:!gp-w-[var(--size-desktop)] tablet:[&>svg]:!gp-h-[var(--size-tablet)] tablet:[&>svg]:!gp-w-[var(--size-tablet)] mobile:[&>svg]:!gp-h-[var(--size-mobile)] mobile:[&>svg]:!gp-w-[var(--size-mobile)]');
|
|
19
|
+
};
|
|
20
|
+
const getClassTextItem = ({ setting })=>{
|
|
21
|
+
const { textTypo } = setting ?? {};
|
|
22
|
+
const appendTypoClass = core.composeTypographyClassName(textTypo);
|
|
23
|
+
return core.composeClasses(`${appendTypoClass} gp-w-full gp-border gp-border-transparent gp-text-left gp-icon-list-text`);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
exports.getClassColListIcon = getClassColListIcon;
|
|
27
|
+
exports.getClassIcon = getClassIcon;
|
|
28
|
+
exports.getClassTextItem = getClassTextItem;
|
|
29
|
+
exports.getClassWrapIcon = getClassWrapIcon;
|
|
30
|
+
exports.getClassWrapItemIcon = getClassWrapItemIcon;
|
|
31
|
+
exports.getClassWraplistIcon = getClassWraplistIcon;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var helpers = require('../../helpers.js');
|
|
4
|
+
|
|
5
|
+
const getTextIconNotFound = (type)=>{
|
|
6
|
+
if (type === 'react') return 'Icons not found';
|
|
7
|
+
return helpers.getStaticLocale('IconList', 'icons_not_found');
|
|
8
|
+
};
|
|
9
|
+
const getTextIconTranslations = ({ setting, builderProps, pageContext, key, type })=>{
|
|
10
|
+
const { childItem, translate } = setting ?? {};
|
|
11
|
+
if (type === 'react') return childItem?.[key];
|
|
12
|
+
return helpers.getDynamicSourceLocales({
|
|
13
|
+
val: childItem?.[key],
|
|
14
|
+
uid: builderProps?.uid,
|
|
15
|
+
settingId: `childItem_${key}`,
|
|
16
|
+
pageContext,
|
|
17
|
+
translate,
|
|
18
|
+
isReplaceLocationOrigin: true
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
const getvalueMap = ({ setting })=>{
|
|
22
|
+
const { childConfig, iconType, iconSvg } = setting ?? {};
|
|
23
|
+
if (!iconType || iconType === 'matching') {
|
|
24
|
+
return new Array(childConfig?.length).fill(iconSvg);
|
|
25
|
+
}
|
|
26
|
+
if (iconType === 'different') {
|
|
27
|
+
return childConfig;
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
exports.getTextIconNotFound = getTextIconNotFound;
|
|
32
|
+
exports.getTextIconTranslations = getTextIconTranslations;
|
|
33
|
+
exports.getvalueMap = getvalueMap;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var core = require('@gem-sdk/core');
|
|
4
|
+
|
|
5
|
+
const filterStyles = (style)=>{
|
|
6
|
+
const delList = [
|
|
7
|
+
'--mb',
|
|
8
|
+
'--mb-mobile',
|
|
9
|
+
'--mb-tablet'
|
|
10
|
+
];
|
|
11
|
+
delList.forEach((element)=>{
|
|
12
|
+
delete style?.[element];
|
|
13
|
+
});
|
|
14
|
+
return style;
|
|
15
|
+
};
|
|
16
|
+
const getStyleContainerIconlistMain = ({ styles, style, type })=>{
|
|
17
|
+
const { background } = styles ?? {};
|
|
18
|
+
style = type === 'react' ? filterStyles(style) : style;
|
|
19
|
+
return {
|
|
20
|
+
...style,
|
|
21
|
+
...core.getStyleBackgroundByDevice(background)
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
const getStyleWraplistIcon = ({ styles })=>{
|
|
25
|
+
const { align } = styles ?? {};
|
|
26
|
+
return {
|
|
27
|
+
...core.makeStyleResponsive('jc', align)
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
const getStyleColListIcon = ({ styles })=>{
|
|
31
|
+
const { verticalSpacing } = styles ?? {};
|
|
32
|
+
return {
|
|
33
|
+
...core.makeStyleResponsive('rg', verticalSpacing)
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
const getStyleWrapItemIcon = ({ styles })=>{
|
|
37
|
+
const { horizontalSpacing, position } = styles ?? {};
|
|
38
|
+
return {
|
|
39
|
+
...core.makeStyleResponsive('cg', horizontalSpacing),
|
|
40
|
+
...core.makeStyleResponsive('ai', position)
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
const getStyleWrapIcon = ({ styles, setting })=>{
|
|
44
|
+
const { iconBorder, backgroundColor, iconRounded } = styles ?? {};
|
|
45
|
+
const { globalSize } = setting ?? {};
|
|
46
|
+
const composeGlobalSize = core.makeGlobalSize(globalSize);
|
|
47
|
+
return {
|
|
48
|
+
...composeGlobalSize.padding,
|
|
49
|
+
...core.makeStyle({
|
|
50
|
+
bs: iconBorder?.border,
|
|
51
|
+
bw: iconBorder?.width,
|
|
52
|
+
bc: core.getSingleColorVariable(iconBorder?.color),
|
|
53
|
+
bg: backgroundColor,
|
|
54
|
+
bblr: iconRounded?.bblr,
|
|
55
|
+
bbrr: iconRounded?.bbrr,
|
|
56
|
+
btlr: iconRounded?.btlr,
|
|
57
|
+
btrr: iconRounded?.btrr
|
|
58
|
+
}),
|
|
59
|
+
...core.makeStyleResponsive('pos', {
|
|
60
|
+
desktop: 'relative',
|
|
61
|
+
tablet: 'relative',
|
|
62
|
+
mobile: 'relative'
|
|
63
|
+
}),
|
|
64
|
+
...core.makeStyleResponsive('top', {
|
|
65
|
+
desktop: 'inherit',
|
|
66
|
+
tablet: 'inherit',
|
|
67
|
+
mobile: 'inherit'
|
|
68
|
+
})
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
const getStyleIcon = ({ styles, setting })=>{
|
|
72
|
+
const { iconColor } = styles || {};
|
|
73
|
+
const { iconWidth } = setting ?? {};
|
|
74
|
+
return {
|
|
75
|
+
...core.makeStyle({
|
|
76
|
+
c: iconColor
|
|
77
|
+
}),
|
|
78
|
+
'--w': `100%`,
|
|
79
|
+
'--h': `100%`,
|
|
80
|
+
'--size-desktop': `${iconWidth?.desktop}px`,
|
|
81
|
+
'--size-tablet': `${iconWidth?.tablet || iconWidth?.desktop}px`,
|
|
82
|
+
'--size-mobile': `${iconWidth?.mobile || iconWidth?.tablet || iconWidth?.desktop}px`
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
const getStyleTypoText = ({ setting })=>{
|
|
86
|
+
return {
|
|
87
|
+
typo: setting?.textTypo
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
exports.getStyleColListIcon = getStyleColListIcon;
|
|
92
|
+
exports.getStyleContainerIconlistMain = getStyleContainerIconlistMain;
|
|
93
|
+
exports.getStyleIcon = getStyleIcon;
|
|
94
|
+
exports.getStyleTypoText = getStyleTypoText;
|
|
95
|
+
exports.getStyleWrapIcon = getStyleWrapIcon;
|
|
96
|
+
exports.getStyleWrapItemIcon = getStyleWrapItemIcon;
|
|
97
|
+
exports.getStyleWraplistIcon = getStyleWraplistIcon;
|