@gem-sdk/components 1.38.1 → 2.0.0-dev.833
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/accordion/components/Accordion.js +1 -138
- package/dist/cjs/accordion/components/Accordion.liquid.js +11 -103
- package/dist/cjs/accordion/components/AccordionItem.js +4 -297
- package/dist/cjs/accordion/components/AccordionItem.liquid.js +38 -223
- package/dist/cjs/accordion/hooks/useMountTransition.js +1 -27
- package/dist/cjs/accordion/next.js +1 -19
- package/dist/cjs/accordion/setting/Accordion.js +15 -1355
- package/dist/cjs/accordion/setting/AccordionItem.js +1 -34
- package/dist/cjs/accordion/setting/ItemTemplate.js +1 -49
- package/dist/cjs/accordion/setting/index.js +1 -13
- package/dist/cjs/banner/components/hero-banner/index.js +1 -247
- package/dist/cjs/banner/components/hero-banner/index.liquid.js +22 -167
- package/dist/cjs/banner/helpers/common.js +1 -284
- package/dist/cjs/banner/next.js +1 -15
- package/dist/cjs/banner/setting/HeroBanner.js +19 -979
- package/dist/cjs/banner/setting/index.js +1 -11
- package/dist/cjs/banner/setting/presets/heroBanner1Col.js +2 -110
- package/dist/cjs/banner/setting/presets/heroBannerContentLeft.js +2 -131
- package/dist/cjs/banner/setting/presets/heroBannerContentRight.js +2 -131
- package/dist/cjs/breadcrumb/components/Breadcrumb.js +1 -49
- package/dist/cjs/breadcrumb/next.js +1 -15
- package/dist/cjs/breadcrumb/setting/Breadcrumb.js +1 -38
- package/dist/cjs/breadcrumb/setting/index.js +1 -11
- package/dist/cjs/builder.js +1 -279
- package/dist/cjs/button/components/Button.js +8 -138
- package/dist/cjs/button/components/Button.liquid.js +27 -148
- package/dist/cjs/button/next.js +1 -15
- package/dist/cjs/button/setting/Button.js +4 -770
- package/dist/cjs/button/setting/index.js +1 -11
- package/dist/cjs/carousel/components/Arrow.js +10 -96
- package/dist/cjs/carousel/components/Arrow.liquid.js +28 -79
- package/dist/cjs/carousel/components/Carousel.js +1 -506
- package/dist/cjs/carousel/components/Carousel.liquid.js +15 -220
- package/dist/cjs/carousel/components/CarouselItem.js +1 -72
- package/dist/cjs/carousel/components/CarouselItem.liquid.js +7 -76
- package/dist/cjs/carousel/components/Dots.js +1 -68
- package/dist/cjs/carousel/components/Dots.liquid.js +4 -23
- package/dist/cjs/carousel/components/common/arrow.js +1 -130
- package/dist/cjs/carousel/components/common/carousel.js +1 -99
- package/dist/cjs/carousel/components/common/dots.js +1 -55
- package/dist/cjs/carousel/components/hooks/useTrackPreviewPause.js +1 -34
- package/dist/cjs/carousel/components/plugins/AnimationPlugin.js +1 -43
- package/dist/cjs/carousel/components/plugins/AutoPlayPlugin.js +1 -64
- package/dist/cjs/carousel/components/plugins/FixSliderMoveBackwards.js +1 -15
- package/dist/cjs/carousel/components/plugins/MutationPlugin.js +1 -45
- package/dist/cjs/carousel/next.js +1 -19
- package/dist/cjs/carousel/setting/Carousel.js +7 -1381
- package/dist/cjs/carousel/setting/CarouselItem.js +1 -40
- package/dist/cjs/carousel/setting/index.js +1 -13
- package/dist/cjs/cart/components/Cart.js +1 -84
- package/dist/cjs/cart/components/CartCheckout.js +1 -18
- package/dist/cjs/cart/components/CartDiscount.js +1 -13
- package/dist/cjs/cart/components/CartLineAttribute.js +1 -30
- package/dist/cjs/cart/components/CartLineImage.js +1 -44
- package/dist/cjs/cart/components/CartLinePrice.js +1 -45
- package/dist/cjs/cart/components/CartLineVariant.js +1 -27
- package/dist/cjs/cart/components/CartList.js +1 -36
- package/dist/cjs/cart/components/CartOrderNote.js +1 -46
- package/dist/cjs/cart/components/CartTotalItem.js +1 -23
- package/dist/cjs/cart/components/CartTotalPrice.js +1 -55
- package/dist/cjs/cart/components/CheckoutNow.js +1 -41
- package/dist/cjs/cart/components/CouponList.js +1 -15
- package/dist/cjs/cart/components/DiscountInput.js +1 -27
- package/dist/cjs/cart/components/ShopPayButton/ShopPayButtonCommon.js +1 -20
- package/dist/cjs/cart/components/ShopPayButton/icons/BaseIcon.js +1 -16
- package/dist/cjs/cart/components/ShopPayButton/icons/BaseIcon.liquid.js +4 -16
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.js +1 -50
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.js +1 -50
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.js +1 -48
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.js +1 -46
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.js +1 -46
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.js +1 -46
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/index.js +1 -112
- package/dist/cjs/cart/components/ShopPayButton/index.liquid.js +8 -42
- package/dist/cjs/cart/next.js +1 -73
- package/dist/cjs/cart/setting/Cart.js +3 -67
- package/dist/cjs/cart/setting/CartCheckout.js +1 -20
- package/dist/cjs/cart/setting/CartDiscount.js +1 -20
- package/dist/cjs/cart/setting/CartLineAttribute.js +1 -29
- package/dist/cjs/cart/setting/CartLineImage.js +1 -165
- package/dist/cjs/cart/setting/CartLinePrice.js +1 -29
- package/dist/cjs/cart/setting/CartLineVariant.js +1 -29
- package/dist/cjs/cart/setting/CartList.js +1 -139
- package/dist/cjs/cart/setting/CartOrderNote.js +1 -44
- package/dist/cjs/cart/setting/CartTotalItem.js +1 -29
- package/dist/cjs/cart/setting/CartTotalPrice.js +1 -58
- package/dist/cjs/cart/setting/CouponList.js +1 -20
- package/dist/cjs/cart/setting/DiscountInput.js +1 -33
- package/dist/cjs/cart/setting/ShopPayButton.js +1 -168
- package/dist/cjs/cart/setting/index.js +1 -37
- package/dist/cjs/code/components/CSSCode.js +2 -129
- package/dist/cjs/code/components/CSSCode.liquid.js +7 -30
- package/dist/cjs/code/next.js +1 -15
- package/dist/cjs/code/setting/CSSCode.js +3 -175
- package/dist/cjs/code/setting/index.js +1 -11
- package/dist/cjs/collection/components/CollectionBanner.js +1 -97
- package/dist/cjs/collection/components/CollectionBanner.liquid.js +14 -76
- package/dist/cjs/collection/components/CollectionDescription.js +1 -20
- package/dist/cjs/collection/components/CollectionDescription.liquid.js +3 -21
- package/dist/cjs/collection/components/CollectionPaginator.js +1 -150
- package/dist/cjs/collection/components/CollectionPaginator.liquid.js +9 -58
- package/dist/cjs/collection/components/CollectionTitle.js +1 -20
- package/dist/cjs/collection/components/CollectionTitle.liquid.js +3 -21
- package/dist/cjs/collection/components/CollectionToolbar.js +1 -111
- package/dist/cjs/collection/components/CollectionToolbar.liquid.js +15 -70
- package/dist/cjs/collection/next.js +1 -31
- package/dist/cjs/collection/setting/CollectionBanner.js +10 -532
- package/dist/cjs/collection/setting/CollectionDescription.js +3 -128
- package/dist/cjs/collection/setting/CollectionPaginator.js +3 -323
- package/dist/cjs/collection/setting/CollectionTitle.js +3 -128
- package/dist/cjs/collection/setting/CollectionToolbar.js +3 -276
- package/dist/cjs/collection/setting/index.js +1 -19
- package/dist/cjs/common/components/Loading.js +1 -23
- package/dist/cjs/common/components/Tooltip.js +1 -0
- package/dist/cjs/countdown-timer/components/Countdown.js +1 -308
- package/dist/cjs/countdown-timer/components/Countdown.liquid.js +20 -91
- package/dist/cjs/countdown-timer/helpers.js +1 -99
- package/dist/cjs/countdown-timer/hooks/useTimeLeft.js +1 -94
- package/dist/cjs/countdown-timer/next.js +1 -16
- package/dist/cjs/countdown-timer/setting/Countdown.js +3 -883
- package/dist/cjs/countdown-timer/setting/index.js +1 -11
- package/dist/cjs/dialog/components/Dialog.js +1 -357
- package/dist/cjs/dialog/components/Dialog.liquid.js +16 -147
- package/dist/cjs/dialog/helpers/common.js +1 -19
- package/dist/cjs/dialog/hooks/use-scroll-percentage.js +1 -34
- package/dist/cjs/dialog/next.js +1 -15
- package/dist/cjs/dialog/setting/Dialog.js +3 -579
- package/dist/cjs/dialog/setting/index.js +1 -11
- package/dist/cjs/form/components/contact/Contact.js +1 -15
- package/dist/cjs/form/components/contact/Contact.liquid.js +3 -22
- package/dist/cjs/form/components/form-checkbox/FormCheckbox.js +1 -51
- package/dist/cjs/form/components/form-checkbox/FormCheckbox.liquid.js +10 -39
- package/dist/cjs/form/components/form-dropdown/FormDropdown.js +1 -72
- package/dist/cjs/form/components/form-dropdown/FormDropdown.liquid.js +12 -66
- package/dist/cjs/form/components/form-email/FormEmail.js +1 -59
- package/dist/cjs/form/components/form-email/FormEmail.liquid.js +10 -66
- package/dist/cjs/form/components/newsletter/Newsletter.js +1 -15
- package/dist/cjs/form/components/newsletter/Newsletter.liquid.js +19 -56
- package/dist/cjs/form/components/submit-button/SubmitButton.js +1 -31
- package/dist/cjs/form/components/submit-button/SubmitButton.liquid.js +3 -33
- package/dist/cjs/form/components/textarea/TextArea.js +1 -75
- package/dist/cjs/form/components/textarea/TextArea.liquid.js +11 -74
- package/dist/cjs/form/components/textfield/TextField.js +1 -68
- package/dist/cjs/form/components/textfield/TextField.liquid.js +11 -74
- package/dist/cjs/form/next.js +1 -43
- package/dist/cjs/form/setting/Contact.js +3 -46
- package/dist/cjs/form/setting/ContactInitConfig.js +1 -228
- package/dist/cjs/form/setting/FormCheckbox.js +3 -226
- package/dist/cjs/form/setting/FormCheckboxInitConfig.js +1 -18
- package/dist/cjs/form/setting/FormDropdown.js +3 -262
- package/dist/cjs/form/setting/FormDropdownInitConfig.js +1 -33
- package/dist/cjs/form/setting/FormEmail.js +3 -275
- package/dist/cjs/form/setting/FormEmailInitConfig.js +1 -33
- package/dist/cjs/form/setting/Newsletter.js +3 -168
- package/dist/cjs/form/setting/NewsletterInitConfig.js +1 -133
- package/dist/cjs/form/setting/SubmitButton.js +4 -653
- package/dist/cjs/form/setting/SubmitButtonInitConfig.js +1 -30
- package/dist/cjs/form/setting/TextField.js +3 -306
- package/dist/cjs/form/setting/Textarea.js +3 -307
- package/dist/cjs/form/setting/index.js +1 -25
- package/dist/cjs/grid/components/ChildrenDroppable.js +4 -65
- package/dist/cjs/grid/components/Col.js +1 -25
- package/dist/cjs/grid/components/Col.liquid.js +6 -39
- package/dist/cjs/grid/components/Root.js +1 -13
- package/dist/cjs/grid/components/Root.liquid.js +1 -9
- package/dist/cjs/grid/components/Row.js +1 -92
- package/dist/cjs/grid/components/Row.liquid.js +12 -65
- package/dist/cjs/grid/components/Section.js +1 -27
- package/dist/cjs/grid/components/Section.liquid.js +1 -17
- package/dist/cjs/grid/components/helpers.js +1 -71
- package/dist/cjs/grid/next.js +1 -27
- package/dist/cjs/grid/setting/Col.js +1 -34
- package/dist/cjs/grid/setting/Root.js +1 -19
- package/dist/cjs/grid/setting/Row.js +39 -514
- package/dist/cjs/grid/setting/Section.js +34 -362
- package/dist/cjs/grid/setting/index.js +1 -17
- package/dist/cjs/header/components/Header.js +1 -32
- package/dist/cjs/header/components/SalePageHeaderWarning.js +1 -0
- package/dist/cjs/header/components/icons/ChevronLeft.js +1 -18
- package/dist/cjs/header/components/icons/Dismiss.js +1 -18
- package/dist/cjs/header/components/icons/MenuIcon.js +1 -18
- package/dist/cjs/header/components/kind/basic/DesktopMenu.js +1 -36
- package/dist/cjs/header/components/kind/basic/DesktopMenuItem.js +1 -66
- package/dist/cjs/header/components/kind/basic/MenuMobileItem.js +1 -160
- package/dist/cjs/header/components/kind/basic/MobileMenu.js +1 -157
- package/dist/cjs/header/components/kind/basic/index.js +1 -109
- package/dist/cjs/header/components/kind/modern/index.js +1 -33
- package/dist/cjs/header/hooks/use-body-overlay.js +1 -21
- package/dist/cjs/header/next.js +1 -15
- package/dist/cjs/header/setting/Header.js +3 -716
- package/dist/cjs/header/setting/index.js +1 -11
- package/dist/cjs/heading/Heading.js +1 -46
- package/dist/cjs/heading/Heading.liquid.js +1 -47
- package/dist/cjs/heading/next.js +1 -15
- package/dist/cjs/heading/setting/Heading.js +3 -373
- package/dist/cjs/heading/setting/index.js +1 -11
- package/dist/cjs/helpers.js +1 -17
- package/dist/cjs/hooks/useGetProductId.js +1 -15
- package/dist/cjs/icon/components/Icon.js +1 -76
- package/dist/cjs/icon/components/Icon.liquid.js +13 -65
- package/dist/cjs/icon/next.js +1 -15
- package/dist/cjs/icon/setting/Icon.js +3 -303
- package/dist/cjs/icon/setting/index.js +1 -11
- package/dist/cjs/icon-list/components/IconList.js +1 -81
- package/dist/cjs/icon-list/components/IconList.liquid.js +12 -47
- package/dist/cjs/icon-list/components/IconListItem.js +1 -29
- package/dist/cjs/icon-list/components/IconListItem.liquid.js +4 -19
- package/dist/cjs/icon-list/next.js +1 -19
- package/dist/cjs/icon-list/setting/IconList.js +4 -299
- package/dist/cjs/icon-list/setting/IconListItem.js +1 -40
- package/dist/cjs/icon-list/setting/ItemTemplate.js +1 -329
- package/dist/cjs/icon-list/setting/index.js +1 -13
- package/dist/cjs/icon-list-hoz/components/IconListHoz.js +1 -69
- package/dist/cjs/icon-list-hoz/components/IconListHoz.liquid.js +11 -36
- package/dist/cjs/icon-list-hoz/components/IconListHozItem.js +1 -30
- package/dist/cjs/icon-list-hoz/components/IconListItemHoz.liquid.js +4 -19
- package/dist/cjs/icon-list-hoz/next.js +1 -19
- package/dist/cjs/icon-list-hoz/setting/IconListHoz.js +3 -221
- package/dist/cjs/icon-list-hoz/setting/IconListItem.js +1 -40
- package/dist/cjs/icon-list-hoz/setting/ItemTemplate.js +1 -83
- package/dist/cjs/icon-list-hoz/setting/index.js +1 -13
- package/dist/cjs/icon-list-v2/components/IconList.js +1 -140
- package/dist/cjs/icon-list-v2/components/IconList.liquid.js +19 -89
- package/dist/cjs/icon-list-v2/next.js +1 -15
- package/dist/cjs/icon-list-v2/setting/IconList.js +3 -525
- package/dist/cjs/icon-list-v2/setting/index.js +1 -11
- package/dist/cjs/icon-list-v2/setting/template.js +1 -112
- package/dist/cjs/image/components/AdaptiveImage.js +1 -60
- package/dist/cjs/image/components/AdaptiveImage.liquid.js +19 -96
- package/dist/cjs/image/components/BackgroundImage.js +1 -101
- package/dist/cjs/image/components/Image.js +1 -121
- package/dist/cjs/image/components/Image.liquid.js +10 -93
- package/dist/cjs/image/components/Img.js +1 -28
- package/dist/cjs/image/components/Modal3d.liquid.js +15 -34
- package/dist/cjs/image/components/NextImage.js +1 -40
- package/dist/cjs/image/components/NextImage.liquid.js +16 -111
- package/dist/cjs/image/components/Video.liquid.js +12 -26
- package/dist/cjs/image/components/helpers.js +1 -10
- package/dist/cjs/image/helpers/getSrcSet.js +1 -56
- package/dist/cjs/image/next.js +1 -19
- package/dist/cjs/image/setting/BackgroundImage.js +2 -361
- package/dist/cjs/image/setting/Image.js +4 -464
- package/dist/cjs/image/setting/index.js +1 -13
- package/dist/cjs/image-comparison/components/CompareImage.js +5 -560
- package/dist/cjs/image-comparison/components/CompareImage.liquid.js +22 -328
- package/dist/cjs/image-comparison/components/ImageComparison.js +1 -60
- package/dist/cjs/image-comparison/components/ImageComparison.liquid.js +3 -36
- package/dist/cjs/image-comparison/components/Label.liquid.js +13 -45
- package/dist/cjs/image-comparison/constants/commonStyles.js +1 -62
- package/dist/cjs/image-comparison/next.js +1 -15
- package/dist/cjs/image-comparison/setting/ImageComparison.js +3 -881
- package/dist/cjs/image-comparison/setting/index.js +1 -11
- package/dist/cjs/image-detection/ImageDetection.js +1 -236
- package/dist/cjs/image-detection/next.js +1 -15
- package/dist/cjs/image-detection/setting/ImageDetection.js +2 -75
- package/dist/cjs/image-detection/setting/index.js +1 -11
- package/dist/cjs/index.js +1 -363
- package/dist/cjs/index.liquid.js +1 -199
- package/dist/cjs/input/Input.js +1 -117
- package/dist/cjs/input/next.js +1 -15
- package/dist/cjs/input/setting/Input.js +2 -121
- package/dist/cjs/input/setting/index.js +1 -11
- package/dist/cjs/intersection-observer/InView.js +1 -100
- package/dist/cjs/intersection-observer/observe.js +1 -112
- package/dist/cjs/intersection-observer/useInView.js +1 -103
- package/dist/cjs/line/Divider.js +1 -34
- package/dist/cjs/line/Divider.liquid.js +4 -33
- package/dist/cjs/line/Line.js +1 -165
- package/dist/cjs/line/Line.liquid.js +17 -146
- package/dist/cjs/line/next.js +1 -15
- package/dist/cjs/line/setting/Line.js +3 -581
- package/dist/cjs/line/setting/index.js +1 -11
- package/dist/cjs/link/components/CustomLink.js +1 -14
- package/dist/cjs/link/components/Link.js +1 -36
- package/dist/cjs/link/components/ProductLink.js +1 -18
- package/dist/cjs/link/components/next-link/CustomLink.js +1 -18
- package/dist/cjs/link/components/next-link/ProductLink.js +1 -22
- package/dist/cjs/link/components/next-link/index.js +1 -29
- package/dist/cjs/link/helpers/url-join.js +1 -56
- package/dist/cjs/link/next.js +1 -15
- package/dist/cjs/link/setting/Link.js +1 -68
- package/dist/cjs/link/setting/index.js +1 -11
- package/dist/cjs/menu/components/DropdownMenu.js +1 -67
- package/dist/cjs/menu/components/MegaMenu.js +1 -67
- package/dist/cjs/menu/components/Menu.js +1 -20
- package/dist/cjs/menu/components/NavigationMenu.js +1 -63
- package/dist/cjs/menu/components/SubMegaMenu.js +1 -46
- package/dist/cjs/menu/components/SubNavigationMenu.js +1 -61
- package/dist/cjs/menu/next.js +1 -15
- package/dist/cjs/menu/setting/Menu.js +1 -216
- package/dist/cjs/menu/setting/index.js +1 -11
- package/dist/cjs/modal/components/Modal.js +1 -98
- package/dist/cjs/modal/components/confirm.js +1 -162
- package/dist/cjs/modal/hooks/useModalContainer.js +1 -21
- package/dist/cjs/modal/next.js +1 -15
- package/dist/cjs/modal/setting/Modal.js +1 -27
- package/dist/cjs/modal/setting/index.js +1 -11
- package/dist/cjs/next.js +1 -87
- package/dist/cjs/notification/components/Notice.js +1 -74
- package/dist/cjs/notification/components/Notifications.js +1 -96
- package/dist/cjs/notification/components/icons/CloseIcon.js +1 -17
- package/dist/cjs/notification/hooks/use-notification.js +1 -120
- package/dist/cjs/pagination/Pagination.js +1 -186
- package/dist/cjs/pagination/next.js +1 -15
- package/dist/cjs/pagination/setting/Pagination.js +1 -72
- package/dist/cjs/pagination/setting/index.js +1 -11
- package/dist/cjs/post-purchase/advanced-list/components/AdvancedListPostPurchase.js +1 -0
- package/dist/cjs/post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js +1 -0
- package/dist/cjs/post-purchase/advanced-list/next.js +1 -0
- package/dist/cjs/post-purchase/advanced-list/setting/AdvancedListPostPurchase.js +15 -0
- package/dist/cjs/post-purchase/advanced-list/setting/PostPurchaseAdvancedListItem.js +1 -0
- package/dist/cjs/post-purchase/advanced-list/setting/index.js +1 -0
- package/dist/cjs/post-purchase/advanced-list/setting/template.js +1 -0
- package/dist/cjs/post-purchase/button/Button.js +1 -0
- package/dist/cjs/post-purchase/button/next.js +1 -0
- package/dist/cjs/post-purchase/button/setting/Button.js +22 -0
- package/dist/cjs/post-purchase/button/setting/index.js +1 -0
- package/dist/cjs/post-purchase/callout-banner/components/CalloutBox.js +1 -0
- package/dist/cjs/post-purchase/callout-banner/components/CalloutText.js +1 -0
- package/dist/cjs/post-purchase/callout-banner/next.js +1 -0
- package/dist/cjs/post-purchase/callout-banner/setting/CalloutBox.js +66 -0
- package/dist/cjs/post-purchase/callout-banner/setting/CalloutText.js +18 -0
- package/dist/cjs/post-purchase/callout-banner/setting/index.js +1 -0
- package/dist/cjs/post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js +1 -0
- package/dist/cjs/post-purchase/countdown-timer/components/TextCountdown.js +1 -0
- package/dist/cjs/post-purchase/countdown-timer/hooks/useCountdownTimer.js +1 -0
- package/dist/cjs/post-purchase/countdown-timer/next.js +1 -0
- package/dist/cjs/post-purchase/countdown-timer/settings/CountdownTimer.js +34 -0
- package/dist/cjs/post-purchase/countdown-timer/settings/index.js +1 -0
- package/dist/cjs/post-purchase/image/components/AdaptiveImage.js +1 -0
- package/dist/cjs/post-purchase/image/components/Image.js +1 -0
- package/dist/cjs/post-purchase/image/components/Img.js +1 -0
- package/dist/cjs/post-purchase/image/next.js +1 -0
- package/dist/cjs/post-purchase/image/setting/Image.js +11 -0
- package/dist/cjs/post-purchase/image/setting/index.js +1 -0
- package/dist/cjs/post-purchase/line/components/PostPurchaseLine.js +1 -0
- package/dist/cjs/post-purchase/line/next.js +1 -0
- package/dist/cjs/post-purchase/line/setting/PostPurchaseLine.js +9 -0
- package/dist/cjs/post-purchase/line/setting/index.js +1 -0
- package/dist/cjs/post-purchase/next.js +1 -0
- package/dist/cjs/post-purchase/product/components/AcceptButton.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductDescription.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductDiscountTag.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductOffer.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductPrice.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductPriceBreakdown.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductQuantity.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductTitle.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductVariant.js +1 -0
- package/dist/cjs/post-purchase/product/components/priceBreakdown/MoneyLine.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/Arrow.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/CarouselPostPurchase.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/FeatureImage.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/ImageListCarousel.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/ImageListGrid.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/index.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/layouts/FeatureImageWithGalleryImage.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/layouts/OnlyGalleryImage.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/Dropdown.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/DropdownOption.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/RectangleList.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/VariantGroup.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/VariantItem.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/VariantOption.js +1 -0
- package/dist/cjs/post-purchase/product/helpers/index.js +1 -0
- package/dist/cjs/post-purchase/product/next.js +1 -0
- package/dist/cjs/post-purchase/product/settings/AcceptButton.js +22 -0
- package/dist/cjs/post-purchase/product/settings/ProductDescription.js +9 -0
- package/dist/cjs/post-purchase/product/settings/ProductDiscountTag.js +4 -0
- package/dist/cjs/post-purchase/product/settings/ProductOffer.js +53 -0
- package/dist/cjs/post-purchase/product/settings/ProductPrice.js +15 -0
- package/dist/cjs/post-purchase/product/settings/ProductPriceBreakdown.js +43 -0
- package/dist/cjs/post-purchase/product/settings/ProductQuantity.js +25 -0
- package/dist/cjs/post-purchase/product/settings/ProductTitle.js +9 -0
- package/dist/cjs/post-purchase/product/settings/ProductVariant.js +27 -0
- package/dist/cjs/post-purchase/product/settings/index.js +1 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-1-col.js +8 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-2-col.js +11 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-default.js +12 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-offer-1-col.js +8 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-offer-2-col.js +11 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-offer-default.js +12 -0
- package/dist/cjs/post-purchase/product/settings/product-image/ProductFeatureImage.js +1 -0
- package/dist/cjs/post-purchase/product/settings/product-image/ProductGalleryImage.js +9 -0
- package/dist/cjs/post-purchase/product/settings/product-image/ProductImageLayoutSetting.js +1 -0
- package/dist/cjs/post-purchase/product/settings/product-image/ProductImages.js +21 -0
- package/dist/cjs/post-purchase/text/Text.js +1 -0
- package/dist/cjs/post-purchase/text/index.js +1 -0
- package/dist/cjs/post-purchase/text/next.js +1 -0
- package/dist/cjs/post-purchase/text/setting/Heading.js +3 -0
- package/dist/cjs/post-purchase/text/setting/Text.js +7 -0
- package/dist/cjs/post-purchase/text/setting/index.js +1 -0
- package/dist/cjs/post-purchase/utils/constants.js +1 -0
- package/dist/cjs/post-purchase/utils/helper.js +1 -0
- package/dist/cjs/product/components/DynamicCheckout.js +1 -26
- package/dist/cjs/product/components/DynamicCheckout.liquid.js +59 -106
- package/dist/cjs/product/components/Product.js +1 -98
- package/dist/cjs/product/components/Product.liquid.js +21 -51
- package/dist/cjs/product/components/ProductButton.js +1 -234
- package/dist/cjs/product/components/ProductButton.liquid.js +9 -116
- package/dist/cjs/product/components/ProductDescription.js +2 -107
- package/dist/cjs/product/components/ProductDescription.liquid.js +14 -80
- package/dist/cjs/product/components/ProductImages/ProductFeaturedImage.js +1 -252
- package/dist/cjs/product/components/ProductImages/ProductGalleryCarousel.js +1 -203
- package/dist/cjs/product/components/ProductImages/ProductGalleryGrid.js +1 -163
- package/dist/cjs/product/components/ProductImages/ProductImagesLightBox.js +1 -118
- package/dist/cjs/product/components/ProductImages/common/common.js +1 -112
- package/dist/cjs/product/components/ProductImages/common/productFeaturedImage.js +1 -98
- package/dist/cjs/product/components/ProductImages/common/productGallery.js +1 -199
- package/dist/cjs/product/components/ProductImages/liquid/ProductFeaturedImage.liquid.js +25 -108
- package/dist/cjs/product/components/ProductImages/liquid/ProductGalleryCarousel.liquid.js +9 -108
- package/dist/cjs/product/components/ProductImages/liquid/ProductGalleryGrid.liquid.js +11 -62
- package/dist/cjs/product/components/ProductImages.js +1 -284
- package/dist/cjs/product/components/ProductImages.liquid.js +17 -88
- package/dist/cjs/product/components/ProductImagesV2/common/common.js +1 -210
- package/dist/cjs/product/components/ProductImagesV2/common/hoverAction.js +1 -92
- package/dist/cjs/product/components/ProductImagesV2/common/productFeaturedImage.js +1 -20
- package/dist/cjs/product/components/ProductImagesV2/common/productGallery.js +1 -236
- package/dist/cjs/product/components/ProductImagesV2/jsx/ProductImages.js +11 -216
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ButtonOpenLightBox.js +1 -27
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/MediaIcon.js +1 -62
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductFeaturedImageCarousel.js +1 -268
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductGalleryCarousel.js +1 -261
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductGalleryGrid.js +1 -158
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductImagesLightBox.js +1 -118
- package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/FeatureImageWithGallery.js +1 -153
- package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/GalleryOneCol.js +1 -24
- package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/GalleryTwoCol.js +1 -24
- package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/OnlyFeatureImage.js +1 -32
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +32 -299
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +11 -230
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +28 -207
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +23 -75
- package/dist/cjs/product/components/ProductList.js +1 -206
- package/dist/cjs/product/components/ProductList.liquid.js +135 -168
- package/dist/cjs/product/components/ProductNotFound.js +1 -141
- package/dist/cjs/product/components/ProductPrice.js +1 -71
- package/dist/cjs/product/components/ProductPrice.liquid.js +13 -50
- package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice.js +1 -56
- package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice.liquid.js +13 -53
- package/dist/cjs/product/components/ProductProperties/ProductPropertyInput.js +1 -61
- package/dist/cjs/product/components/ProductProperties/ProductPropertyInput.liquid.js +12 -110
- package/dist/cjs/product/components/ProductProperties/ProductPropertySelect.js +1 -41
- package/dist/cjs/product/components/ProductProperties/ProductPropertySelect.liquid.js +12 -49
- package/dist/cjs/product/components/ProductProperties.js +1 -268
- package/dist/cjs/product/components/ProductProperties.liquid.js +16 -77
- package/dist/cjs/product/components/ProductQuantity.js +1 -197
- package/dist/cjs/product/components/ProductQuantity.liquid.js +17 -112
- package/dist/cjs/product/components/ProductQuickView/ProductQuickView.js +1 -158
- package/dist/cjs/product/components/ProductQuickView/index.js +1 -20
- package/dist/cjs/product/components/ProductTag.js +1 -114
- package/dist/cjs/product/components/ProductTag.liquid.js +22 -82
- package/dist/cjs/product/components/ProductTitle.js +1 -40
- package/dist/cjs/product/components/ProductTitle.liquid.js +7 -35
- package/dist/cjs/product/components/ProductVariants/common.js +1 -68
- package/dist/cjs/product/components/ProductVariants/index.js +1 -311
- package/dist/cjs/product/components/ProductVariants/index.liquid.js +28 -191
- package/dist/cjs/product/components/ProductVariants/utils/mappingVariantStyles.js +1 -0
- package/dist/cjs/product/components/ProductVariants/variants/Base.js +11 -264
- package/dist/cjs/product/components/ProductVariants/variants/Base.liquid.js +19 -122
- package/dist/cjs/product/components/ProductVariants/variants/Color.js +1 -22
- package/dist/cjs/product/components/ProductVariants/variants/Color.liquid.js +3 -17
- package/dist/cjs/product/components/ProductVariants/variants/Dropdown.js +1 -148
- package/dist/cjs/product/components/ProductVariants/variants/Dropdown.liquid.js +11 -53
- package/dist/cjs/product/components/ProductVariants/variants/DropdownGroup.liquid.js +17 -59
- package/dist/cjs/product/components/ProductVariants/variants/DropdownOption.js +1 -21
- package/dist/cjs/product/components/ProductVariants/variants/Image.js +1 -22
- package/dist/cjs/product/components/ProductVariants/variants/Image.liquid.js +3 -17
- package/dist/cjs/product/components/ProductVariants/variants/ImageShopify.js +1 -39
- package/dist/cjs/product/components/ProductVariants/variants/ImageShopify.liquid.js +3 -17
- package/dist/cjs/product/components/ProductVariants/variants/RadioButtons.js +1 -62
- package/dist/cjs/product/components/ProductVariants/variants/RectangleList.js +1 -68
- package/dist/cjs/product/components/ProductVariants/variants/VariantGroup.js +1 -38
- package/dist/cjs/product/components/ProductVariants/variants/VariantOption/index.js +1 -20
- package/dist/cjs/product/components/ProductVariants/variants/index.js +1 -113
- package/dist/cjs/product/components/ProductVariants/variants/index.liquid.js +27 -75
- package/dist/cjs/product/components/SalePageProductListWarning.js +1 -0
- package/dist/cjs/product/components/Vendor.js +1 -38
- package/dist/cjs/product/components/Vendor.liquid.js +7 -35
- package/dist/cjs/product/helpers/function.js +1 -42
- package/dist/cjs/product/helpers/product-image.js +1 -33
- package/dist/cjs/product/helpers/product.js +1 -56
- package/dist/cjs/product/helpers/tracking.js +1 -11
- package/dist/cjs/product/next.js +1 -73
- package/dist/cjs/product/setting/DynamicCheckout.js +3 -551
- package/dist/cjs/product/setting/Product.js +35 -381
- package/dist/cjs/product/setting/ProductButton.js +4 -1079
- package/dist/cjs/product/setting/ProductDescription.js +2 -299
- package/dist/cjs/product/setting/ProductImages.js +5 -1201
- package/dist/cjs/product/setting/ProductList.js +3 -1197
- package/dist/cjs/product/setting/ProductPrice.js +4 -357
- package/dist/cjs/product/setting/ProductProperties.js +3 -975
- package/dist/cjs/product/setting/ProductQuantity.js +3 -610
- package/dist/cjs/product/setting/ProductTag.js +2 -250
- package/dist/cjs/product/setting/ProductTitle.js +3 -352
- package/dist/cjs/product/setting/ProductVariants.js +4 -1423
- package/dist/cjs/product/setting/Vendor.js +3 -338
- package/dist/cjs/product/setting/index.js +1 -37
- package/dist/cjs/product/setting/presets-config/product-presets/product-1-col.js +9 -275
- package/dist/cjs/product/setting/presets-config/product-presets/product-2-col.js +12 -283
- package/dist/cjs/product/setting/presets-config/product-presets/product-default.js +13 -283
- package/dist/cjs/product/setting/product-image-v2/ProductFeatureImage.js +2 -522
- package/dist/cjs/product/setting/product-image-v2/ProductGalleryImage.js +2 -648
- package/dist/cjs/product/setting/product-image-v2/ProductImages.js +4 -439
- package/dist/cjs/product/setting/swatches-style-config/color.js +1 -0
- package/dist/cjs/product/setting/swatches-style-config/dropdown.js +1 -0
- package/dist/cjs/product/setting/swatches-style-config/image-shopify.js +1 -0
- package/dist/cjs/product/setting/swatches-style-config/image.js +1 -0
- package/dist/cjs/product/setting/swatches-style-config/rectangle-list.js +1 -0
- package/dist/cjs/radio/Radio.js +1 -37
- package/dist/cjs/radio/next.js +1 -15
- package/dist/cjs/radio/setting/Radio.js +1 -70
- package/dist/cjs/radio/setting/index.js +1 -11
- package/dist/cjs/select/Select.js +2 -60
- package/dist/cjs/select/next.js +1 -15
- package/dist/cjs/select/setting/index.js +1 -11
- package/dist/cjs/sticky/components/Sticky.js +1 -160
- package/dist/cjs/sticky/components/Sticky.liquid.js +10 -77
- package/dist/cjs/sticky/next.js +1 -15
- package/dist/cjs/sticky/setting/Sticky.js +1 -234
- package/dist/cjs/sticky/setting/index.js +1 -11
- package/dist/cjs/sticky/setting/preset-config.js +2 -878
- package/dist/cjs/stock-counter/components/StockCounter.js +1 -115
- package/dist/cjs/stock-counter/components/StockCounter.liquid.js +23 -104
- package/dist/cjs/stock-counter/const.js +1 -36
- package/dist/cjs/stock-counter/helpers.js +5 -64
- package/dist/cjs/stock-counter/next.js +1 -15
- package/dist/cjs/stock-counter/setting/StockCounter.js +4 -628
- package/dist/cjs/stock-counter/setting/index.js +1 -11
- package/dist/cjs/tab/components/TabItem.js +1 -24
- package/dist/cjs/tab/components/TabItem.liquid.js +6 -23
- package/dist/cjs/tab/components/Tabs.js +1 -133
- package/dist/cjs/tab/components/Tabs.liquid.js +18 -83
- package/dist/cjs/tab/components/common.js +1 -43
- package/dist/cjs/tab/next.js +1 -19
- package/dist/cjs/tab/setting/TabItem.js +2 -33
- package/dist/cjs/tab/setting/Tabs.js +3 -573
- package/dist/cjs/tab/setting/index.js +1 -13
- package/dist/cjs/text/components/Text.js +1 -99
- package/dist/cjs/text/components/Text.liquid.js +10 -88
- package/dist/cjs/text/index.js +1 -10
- package/dist/cjs/text/next.js +1 -15
- package/dist/cjs/text/setting/Text.js +3 -418
- package/dist/cjs/text/setting/index.js +1 -11
- package/dist/cjs/textarea/Textarea.js +1 -38
- package/dist/cjs/textarea/next.js +1 -15
- package/dist/cjs/textarea/setting/Textarea.js +2 -107
- package/dist/cjs/textarea/setting/index.js +1 -11
- package/dist/cjs/third-party/components/AliReviews/AliReviewsSampleContent.js +1 -28
- package/dist/cjs/third-party/components/AliReviews.js +1 -22
- package/dist/cjs/third-party/components/AliReviews.liquid.js +8 -21
- package/dist/cjs/third-party/components/AppstleSubscriptions/AppstleSubscriptionsSampleContent.js +1 -23
- package/dist/cjs/third-party/components/AppstleSubscriptions.js +1 -22
- package/dist/cjs/third-party/components/AppstleSubscriptions.liquid.js +4 -17
- package/dist/cjs/third-party/components/BoldProductOptions/BoldProductOptionsSampleContent.js +1 -23
- package/dist/cjs/third-party/components/BoldProductOptions.js +1 -22
- package/dist/cjs/third-party/components/BoldProductOptions.liquid.js +4 -17
- package/dist/cjs/third-party/components/BoldSubscriptions/BoldSubscriptionsSampleContent.js +1 -34
- package/dist/cjs/third-party/components/BoldSubscriptions.js +1 -22
- package/dist/cjs/third-party/components/BoldSubscriptions.liquid.js +5 -18
- package/dist/cjs/third-party/components/BoostAISearchDiscovery/BoostAISearchDiscoverySampleContent.js +1 -23
- package/dist/cjs/third-party/components/BoostAISearchDiscovery.js +1 -22
- package/dist/cjs/third-party/components/BoostAISearchDiscovery.liquid.js +5 -17
- package/dist/cjs/third-party/components/Bundler/BundlerSampleContent.js +1 -23
- package/dist/cjs/third-party/components/Bundler.js +1 -24
- package/dist/cjs/third-party/components/Bundler.liquid.js +5 -22
- package/dist/cjs/third-party/components/CrossSellCartUpsell/CrossSellCartUpsellSampleContent.js +1 -23
- package/dist/cjs/third-party/components/CrossSellCartUpsell.js +1 -22
- package/dist/cjs/third-party/components/CrossSellCartUpsell.liquid.js +5 -24
- package/dist/cjs/third-party/components/FeraReviews/FeraReviewsSampleContent.js +1 -49
- package/dist/cjs/third-party/components/FeraReviews/LiquidTemplateByWidget.js +1 -52
- package/dist/cjs/third-party/components/FeraReviews.js +1 -27
- package/dist/cjs/third-party/components/FeraReviews.liquid.js +5 -20
- package/dist/cjs/third-party/components/FirePush/FirePushSampleContent.js +1 -21
- package/dist/cjs/third-party/components/FirePush.js +1 -22
- package/dist/cjs/third-party/components/FirePush.liquid.js +4 -17
- package/dist/cjs/third-party/components/FrequentlyBoughtTogether/FrequentlyBoughtTogetherSampleContent.js +1 -23
- package/dist/cjs/third-party/components/FrequentlyBoughtTogether.js +1 -24
- package/dist/cjs/third-party/components/FrequentlyBoughtTogether.liquid.js +5 -18
- package/dist/cjs/third-party/components/Growave/GrowaveSampleContent.js +1 -38
- package/dist/cjs/third-party/components/Growave.js +1 -22
- package/dist/cjs/third-party/components/Growave.liquid.js +5 -18
- package/dist/cjs/third-party/components/InfiniteOptions/InfiniteOptionsSampleContent.js +1 -23
- package/dist/cjs/third-party/components/InfiniteOptions.js +1 -22
- package/dist/cjs/third-party/components/InfiniteOptions.liquid.js +4 -16
- package/dist/cjs/third-party/components/Instafeed/InstafeedSampleContent.js +1 -23
- package/dist/cjs/third-party/components/Instafeed.js +1 -22
- package/dist/cjs/third-party/components/Instafeed.liquid.js +4 -17
- package/dist/cjs/third-party/components/Judgeme/JudgemeSampleContent.js +1 -39
- package/dist/cjs/third-party/components/JudgemeReviews.js +1 -23
- package/dist/cjs/third-party/components/JudgemeReviews.liquid.js +5 -18
- package/dist/cjs/third-party/components/KachingBundles/KachingBundlesSampleContent.js +1 -27
- package/dist/cjs/third-party/components/KachingBundles.js +1 -22
- package/dist/cjs/third-party/components/KachingBundles.liquid.js +4 -17
- package/dist/cjs/third-party/components/Klaviyo/KlaviyoSampleContent.js +1 -23
- package/dist/cjs/third-party/components/Klaviyo.js +1 -30
- package/dist/cjs/third-party/components/Klaviyo.liquid.js +5 -19
- package/dist/cjs/third-party/components/LaiProductReviews/LaiProductReviewsSampleContent.js +1 -58
- package/dist/cjs/third-party/components/LaiProductReviews/LiquidTemplateByWiget.js +10 -43
- package/dist/cjs/third-party/components/LaiProductReviews.js +1 -24
- package/dist/cjs/third-party/components/LaiProductReviews.liquid.js +5 -21
- package/dist/cjs/third-party/components/LooxReviews/LooxReviewsSampleContent.js +1 -35
- package/dist/cjs/third-party/components/LooxReviews.js +1 -22
- package/dist/cjs/third-party/components/LooxReviews.liquid.js +9 -51
- package/dist/cjs/third-party/components/Omnisend/OmnisendSampleContent.js +1 -34
- package/dist/cjs/third-party/components/Omnisend.js +1 -22
- package/dist/cjs/third-party/components/Omnisend.liquid.js +9 -22
- package/dist/cjs/third-party/components/Opinew/OpinewSampleContent.js +1 -33
- package/dist/cjs/third-party/components/Opinew.js +1 -22
- package/dist/cjs/third-party/components/Opinew.liquid.js +6 -19
- package/dist/cjs/third-party/components/ParcelPanel/ParcelPanelSampleContent.js +1 -23
- package/dist/cjs/third-party/components/ParcelPanel.js +1 -22
- package/dist/cjs/third-party/components/ParcelPanel.liquid.js +4 -17
- package/dist/cjs/third-party/components/PickyStory/PickyStorySampleContent.js +1 -36
- package/dist/cjs/third-party/components/PickyStory.js +1 -22
- package/dist/cjs/third-party/components/PickyStory.liquid.js +5 -18
- package/dist/cjs/third-party/components/ProductReviews/ProductReviewsSampleContent.js +1 -29
- package/dist/cjs/third-party/components/ProductReviews.js +1 -22
- package/dist/cjs/third-party/components/ProductReviews.liquid.js +5 -18
- package/dist/cjs/third-party/components/Rivyo/RivyoSampleContent.js +1 -36
- package/dist/cjs/third-party/components/Rivyo.js +1 -22
- package/dist/cjs/third-party/components/Rivyo.liquid.js +5 -18
- package/dist/cjs/third-party/components/Ryviu/RyviuSampleContent.js +1 -37
- package/dist/cjs/third-party/components/Ryviu.js +1 -22
- package/dist/cjs/third-party/components/Ryviu.liquid.js +5 -18
- package/dist/cjs/third-party/components/SealSubscriptions/SealSubscriptionsSampleContent.js +1 -23
- package/dist/cjs/third-party/components/SealSubscriptions.js +1 -22
- package/dist/cjs/third-party/components/SealSubscriptions.liquid.js +4 -17
- package/dist/cjs/third-party/components/SmartSearchBarAndFilters/SmartSearchBarAndFiltersSampleContent.js +1 -23
- package/dist/cjs/third-party/components/SmartSearchBarAndFilters.js +1 -24
- package/dist/cjs/third-party/components/SmartSearchBarAndFilters.liquid.js +6 -20
- package/dist/cjs/third-party/components/Stamped/LiquidTemplateByWidget.js +92 -174
- package/dist/cjs/third-party/components/Stamped/StampedSampleContent.js +1 -46
- package/dist/cjs/third-party/components/Stamped.js +1 -22
- package/dist/cjs/third-party/components/Stamped.liquid.js +5 -20
- package/dist/cjs/third-party/components/ThirdPartyPreview.js +1 -73
- package/dist/cjs/third-party/components/TrustMe/TrustMeSampleContent.js +1 -23
- package/dist/cjs/third-party/components/TrustMe.js +1 -22
- package/dist/cjs/third-party/components/TrustMe.liquid.js +4 -17
- package/dist/cjs/third-party/components/Trustoo/TrustooSampleContent.js +1 -35
- package/dist/cjs/third-party/components/Trustoo.js +1 -22
- package/dist/cjs/third-party/components/Trustoo.liquid.js +6 -19
- package/dist/cjs/third-party/components/UltimateSalesBoost/UltimateSalesBoostSampleContent.js +1 -33
- package/dist/cjs/third-party/components/UltimateSalesBoost.js +1 -22
- package/dist/cjs/third-party/components/UltimateSalesBoost.liquid.js +5 -18
- package/dist/cjs/third-party/components/Vitals/VitalsSampleContent.js +1 -51
- package/dist/cjs/third-party/components/Vitals.js +1 -22
- package/dist/cjs/third-party/components/Vitals.liquid.js +5 -18
- package/dist/cjs/third-party/components/WideBundle/WideBundleSampleContent.js +1 -23
- package/dist/cjs/third-party/components/WideBundle.js +1 -22
- package/dist/cjs/third-party/components/WideBundle.liquid.js +4 -17
- package/dist/cjs/third-party/components/Wiser/WiserSampleContent.js +1 -57
- package/dist/cjs/third-party/components/Wiser.js +1 -27
- package/dist/cjs/third-party/components/Wiser.liquid.js +5 -19
- package/dist/cjs/third-party/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -23
- package/dist/cjs/third-party/components/YotpoLoyalty.js +1 -43
- package/dist/cjs/third-party/components/YotpoReviews/YotpoReviewsSampleContent.js +1 -35
- package/dist/cjs/third-party/components/YotpoReviews.js +1 -22
- package/dist/cjs/third-party/components/YotpoReviews.liquid.js +6 -19
- package/dist/cjs/third-party/configs/AliReviews.js +1 -12
- package/dist/cjs/third-party/configs/AppstleSubscriptions.js +1 -12
- package/dist/cjs/third-party/configs/BoldProductOptions.js +1 -12
- package/dist/cjs/third-party/configs/BoldSubscription.js +1 -12
- package/dist/cjs/third-party/configs/BoostAISearchDiscovery.js +1 -12
- package/dist/cjs/third-party/configs/Bundler.js +1 -12
- package/dist/cjs/third-party/configs/CrossSellCartUpsell.js +1 -12
- package/dist/cjs/third-party/configs/FeraReviews.js +1 -12
- package/dist/cjs/third-party/configs/FirePush.js +1 -12
- package/dist/cjs/third-party/configs/FrequentlyBoughtTogether.js +1 -12
- package/dist/cjs/third-party/configs/Growave.js +1 -12
- package/dist/cjs/third-party/configs/InfiniteOptions.js +1 -12
- package/dist/cjs/third-party/configs/Instafeed.js +1 -12
- package/dist/cjs/third-party/configs/JudgemeReviews.js +1 -12
- package/dist/cjs/third-party/configs/KachingBundles.js +1 -12
- package/dist/cjs/third-party/configs/Klaviyo.js +1 -12
- package/dist/cjs/third-party/configs/LaiProductReviews.js +1 -12
- package/dist/cjs/third-party/configs/LooxReviews.js +1 -12
- package/dist/cjs/third-party/configs/Omnisend.js +1 -12
- package/dist/cjs/third-party/configs/Opinew.js +1 -12
- package/dist/cjs/third-party/configs/ParcelPanel.js +1 -12
- package/dist/cjs/third-party/configs/PickyStory.js +1 -12
- package/dist/cjs/third-party/configs/ProductReviews.js +1 -12
- package/dist/cjs/third-party/configs/Rivyo.js +1 -12
- package/dist/cjs/third-party/configs/Ryviu.js +1 -12
- package/dist/cjs/third-party/configs/SealSubscriptions.js +1 -12
- package/dist/cjs/third-party/configs/SmartSearchBarAndFilters.js +1 -12
- package/dist/cjs/third-party/configs/Stamped.js +1 -12
- package/dist/cjs/third-party/configs/TrustMe.js +1 -12
- package/dist/cjs/third-party/configs/Trustoo.js +1 -12
- package/dist/cjs/third-party/configs/UltimateSalesBoost.js +1 -12
- package/dist/cjs/third-party/configs/Vitals.js +1 -12
- package/dist/cjs/third-party/configs/WideBundle.js +1 -12
- package/dist/cjs/third-party/configs/Wiser.js +1 -12
- package/dist/cjs/third-party/configs/YotpoLoyalty.js +1 -12
- package/dist/cjs/third-party/configs/YotpoReviews.js +1 -12
- package/dist/cjs/third-party/helpers/thirdParty.js +1 -36
- package/dist/cjs/third-party/next.js +1 -206
- package/dist/cjs/third-party/setting/AliReviews.js +2 -166
- package/dist/cjs/third-party/setting/AppstleSubscriptions.js +2 -95
- package/dist/cjs/third-party/setting/BoldProductOptions.js +2 -81
- package/dist/cjs/third-party/setting/BoldSubscriptions.js +2 -106
- package/dist/cjs/third-party/setting/BoostAISearchDiscovery.js +2 -84
- package/dist/cjs/third-party/setting/Bundler.js +2 -99
- package/dist/cjs/third-party/setting/CrossSellCartUpsell.js +2 -81
- package/dist/cjs/third-party/setting/FeraReviews.js +2 -392
- package/dist/cjs/third-party/setting/FirePush.js +2 -81
- package/dist/cjs/third-party/setting/FrequentlyBoughtTogether.js +3 -100
- package/dist/cjs/third-party/setting/Growave.js +2 -138
- package/dist/cjs/third-party/setting/InfiniteOptions.js +2 -81
- package/dist/cjs/third-party/setting/Instafeed.js +2 -87
- package/dist/cjs/third-party/setting/JudgemeReviews.js +2 -151
- package/dist/cjs/third-party/setting/KachingBundles.js +2 -86
- package/dist/cjs/third-party/setting/Klaviyo.js +2 -96
- package/dist/cjs/third-party/setting/LaiProductReviews.js +2 -202
- package/dist/cjs/third-party/setting/LooxReviews.js +2 -145
- package/dist/cjs/third-party/setting/Omnisend.js +2 -146
- package/dist/cjs/third-party/setting/Opinew.js +2 -190
- package/dist/cjs/third-party/setting/ParcelPanel.js +2 -90
- package/dist/cjs/third-party/setting/PickyStory.js +2 -114
- package/dist/cjs/third-party/setting/ProductReviews.js +2 -106
- package/dist/cjs/third-party/setting/Rivyo.js +2 -114
- package/dist/cjs/third-party/setting/Ryviu.js +2 -118
- package/dist/cjs/third-party/setting/SealSubscriptions.js +2 -95
- package/dist/cjs/third-party/setting/SmartSearchBarAndFilters.js +2 -96
- package/dist/cjs/third-party/setting/Stamped/Badge.js +1 -117
- package/dist/cjs/third-party/setting/Stamped/BadgeDouble.js +1 -22
- package/dist/cjs/third-party/setting/Stamped/BadgeRibbon.js +1 -61
- package/dist/cjs/third-party/setting/Stamped/BadgeSingle.js +1 -22
- package/dist/cjs/third-party/setting/Stamped/Carousel.js +1 -126
- package/dist/cjs/third-party/setting/Stamped/CheckoutReviews.js +1 -107
- package/dist/cjs/third-party/setting/Stamped/Colors.js +1 -58
- package/dist/cjs/third-party/setting/Stamped/Filters.js +1 -250
- package/dist/cjs/third-party/setting/Stamped/FullPage.js +1 -90
- package/dist/cjs/third-party/setting/Stamped/InstagramFeed.js +1 -111
- package/dist/cjs/third-party/setting/Stamped/MainWidget.js +1 -145
- package/dist/cjs/third-party/setting/Stamped/ProductRating.js +1 -73
- package/dist/cjs/third-party/setting/Stamped/SingleHighlight.js +1 -22
- package/dist/cjs/third-party/setting/Stamped/SiteBadge.js +1 -146
- package/dist/cjs/third-party/setting/Stamped/TopRated.js +1 -37
- package/dist/cjs/third-party/setting/Stamped/VisualGallery.js +1 -129
- package/dist/cjs/third-party/setting/Stamped/WallPhotos.js +1 -31
- package/dist/cjs/third-party/setting/Stamped/index.js +1 -51
- package/dist/cjs/third-party/setting/Stamped.js +2 -105
- package/dist/cjs/third-party/setting/TrustMe.js +2 -81
- package/dist/cjs/third-party/setting/Trustoo.js +2 -165
- package/dist/cjs/third-party/setting/UltimateSalesBoost.js +2 -180
- package/dist/cjs/third-party/setting/Vitals.js +3 -338
- package/dist/cjs/third-party/setting/WideBundle.js +2 -81
- package/dist/cjs/third-party/setting/Wiser.js +2 -223
- package/dist/cjs/third-party/setting/YotpoLoyalty.js +2 -79
- package/dist/cjs/third-party/setting/YotpoReviews.js +2 -124
- package/dist/cjs/third-party/setting/index.js +1 -87
- package/dist/cjs/third-party-instant/components/InstantJudgemeReviews.js +1 -75
- package/dist/cjs/third-party-instant/components/InstantKlaviyo.js +1 -47
- package/dist/cjs/third-party-instant/components/InstantLooxReviews.js +1 -36
- package/dist/cjs/third-party-instant/components/InstantThirdPartyPreview.js +1 -70
- package/dist/cjs/third-party-instant/components/InstantYotpoLoyalty.js +1 -43
- package/dist/cjs/third-party-instant/components/Judgeme/JudgemeSampleContent.js +1 -23
- package/dist/cjs/third-party-instant/components/Judgeme/SingleProduct.js +1 -48
- package/dist/cjs/third-party-instant/components/Judgeme/WithoutProduct.js +1 -93
- package/dist/cjs/third-party-instant/components/Klaviyo/KlaviyoSampleContent.js +1 -23
- package/dist/cjs/third-party-instant/components/LooxReviews/LooxReviewsSampleContent.js +2 -24
- package/dist/cjs/third-party-instant/components/LooxReviews/SingleProduct.js +1 -51
- package/dist/cjs/third-party-instant/components/LooxReviews/WithoutProduct.js +1 -55
- package/dist/cjs/third-party-instant/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -23
- package/dist/cjs/third-party-instant/configs/JudgemeReviews.js +1 -12
- package/dist/cjs/third-party-instant/configs/Klaviyo.js +1 -12
- package/dist/cjs/third-party-instant/configs/LooxReviews.js +1 -12
- package/dist/cjs/third-party-instant/configs/YotpoLoyalty.js +1 -12
- package/dist/cjs/third-party-instant/helpers/thirdParty.js +1 -74
- package/dist/cjs/third-party-instant/next.js +1 -32
- package/dist/cjs/third-party-instant/setting/InstantJudgemeReviews.js +2 -157
- package/dist/cjs/third-party-instant/setting/InstantKlaviyo.js +2 -95
- package/dist/cjs/third-party-instant/setting/InstantLooxReviews.js +2 -118
- package/dist/cjs/third-party-instant/setting/InstantYotpoLoyalty.js +2 -95
- package/dist/cjs/third-party-instant/setting/index.js +1 -17
- package/dist/cjs/third-party-instant/types/JudgemeReviews.js +1 -13
- package/dist/cjs/third-party-slot/components/ThirdPartySlot.js +1 -51
- package/dist/cjs/third-party-slot/components/ThirdPartySlot.liquid.js +9 -25
- package/dist/cjs/third-party-slot/next.js +1 -15
- package/dist/cjs/third-party-slot/setting/ThirdPartySlot.js +2 -105
- package/dist/cjs/third-party-slot/setting/index.js +1 -11
- package/dist/cjs/video/components/HTML5Embed.js +1 -43
- package/dist/cjs/video/components/HTML5Embed.liquid.js +21 -49
- package/dist/cjs/video/components/LiteVimeoEmbed.js +1 -117
- package/dist/cjs/video/components/LiteVimeoEmbed.liquid.js +13 -48
- package/dist/cjs/video/components/LiteYouTubeEmbed.js +1 -195
- package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +15 -53
- package/dist/cjs/video/components/Video.js +1 -138
- package/dist/cjs/video/components/Video.liquid.js +6 -118
- package/dist/cjs/video/helpers/common.js +1 -46
- package/dist/cjs/video/next.js +1 -15
- package/dist/cjs/video/setting/Video.js +3 -451
- package/dist/cjs/video/setting/index.js +1 -11
- package/dist/esm/accordion/components/Accordion.js +1 -134
- package/dist/esm/accordion/components/Accordion.liquid.js +11 -99
- package/dist/esm/accordion/components/AccordionItem.js +4 -291
- package/dist/esm/accordion/components/AccordionItem.liquid.js +38 -219
- package/dist/esm/accordion/hooks/useMountTransition.js +1 -23
- package/dist/esm/accordion/next.js +1 -15
- package/dist/esm/accordion/setting/Accordion.js +15 -1351
- package/dist/esm/accordion/setting/AccordionItem.js +1 -30
- package/dist/esm/accordion/setting/ItemTemplate.js +1 -46
- package/dist/esm/accordion/setting/index.js +1 -9
- package/dist/esm/banner/components/hero-banner/index.js +1 -243
- package/dist/esm/banner/components/hero-banner/index.liquid.js +22 -163
- package/dist/esm/banner/helpers/common.js +1 -269
- package/dist/esm/banner/next.js +1 -11
- package/dist/esm/banner/setting/HeroBanner.js +19 -975
- package/dist/esm/banner/setting/index.js +1 -7
- package/dist/esm/banner/setting/presets/heroBanner1Col.js +2 -108
- package/dist/esm/banner/setting/presets/heroBannerContentLeft.js +2 -129
- package/dist/esm/banner/setting/presets/heroBannerContentRight.js +2 -129
- package/dist/esm/breadcrumb/components/Breadcrumb.js +1 -45
- package/dist/esm/breadcrumb/next.js +1 -11
- package/dist/esm/breadcrumb/setting/Breadcrumb.js +1 -34
- package/dist/esm/breadcrumb/setting/index.js +1 -7
- package/dist/esm/builder.js +1 -275
- package/dist/esm/button/components/Button.js +8 -134
- package/dist/esm/button/components/Button.liquid.js +27 -144
- package/dist/esm/button/next.js +1 -11
- package/dist/esm/button/setting/Button.js +4 -766
- package/dist/esm/button/setting/index.js +1 -7
- package/dist/esm/carousel/components/Arrow.js +10 -92
- package/dist/esm/carousel/components/Arrow.liquid.js +28 -75
- package/dist/esm/carousel/components/Carousel.js +1 -502
- package/dist/esm/carousel/components/Carousel.liquid.js +15 -216
- package/dist/esm/carousel/components/CarouselItem.js +1 -68
- package/dist/esm/carousel/components/CarouselItem.liquid.js +7 -72
- package/dist/esm/carousel/components/Dots.js +1 -64
- package/dist/esm/carousel/components/Dots.liquid.js +4 -19
- package/dist/esm/carousel/components/common/arrow.js +1 -121
- package/dist/esm/carousel/components/common/carousel.js +1 -94
- package/dist/esm/carousel/components/common/dots.js +1 -51
- package/dist/esm/carousel/components/hooks/useTrackPreviewPause.js +1 -30
- package/dist/esm/carousel/components/plugins/AnimationPlugin.js +1 -36
- package/dist/esm/carousel/components/plugins/AutoPlayPlugin.js +1 -62
- package/dist/esm/carousel/components/plugins/FixSliderMoveBackwards.js +1 -13
- package/dist/esm/carousel/components/plugins/MutationPlugin.js +1 -43
- package/dist/esm/carousel/next.js +1 -15
- package/dist/esm/carousel/setting/Carousel.js +7 -1377
- package/dist/esm/carousel/setting/CarouselItem.js +1 -36
- package/dist/esm/carousel/setting/index.js +1 -9
- package/dist/esm/cart/components/Cart.js +1 -80
- package/dist/esm/cart/components/CartCheckout.js +1 -14
- package/dist/esm/cart/components/CartDiscount.js +1 -9
- package/dist/esm/cart/components/CartLineAttribute.js +1 -26
- package/dist/esm/cart/components/CartLineImage.js +1 -40
- package/dist/esm/cart/components/CartLinePrice.js +1 -41
- package/dist/esm/cart/components/CartLineVariant.js +1 -23
- package/dist/esm/cart/components/CartList.js +1 -32
- package/dist/esm/cart/components/CartOrderNote.js +1 -42
- package/dist/esm/cart/components/CartTotalItem.js +1 -19
- package/dist/esm/cart/components/CartTotalPrice.js +1 -51
- package/dist/esm/cart/components/CheckoutNow.js +1 -37
- package/dist/esm/cart/components/CouponList.js +1 -11
- package/dist/esm/cart/components/DiscountInput.js +1 -23
- package/dist/esm/cart/components/ShopPayButton/ShopPayButtonCommon.js +1 -17
- package/dist/esm/cart/components/ShopPayButton/icons/BaseIcon.js +1 -12
- package/dist/esm/cart/components/ShopPayButton/icons/BaseIcon.liquid.js +4 -12
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.js +1 -46
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.js +1 -46
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.js +1 -44
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.js +1 -42
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.js +1 -42
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.js +1 -42
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/index.js +1 -108
- package/dist/esm/cart/components/ShopPayButton/index.liquid.js +8 -38
- package/dist/esm/cart/next.js +1 -69
- package/dist/esm/cart/setting/Cart.js +3 -63
- package/dist/esm/cart/setting/CartCheckout.js +1 -16
- package/dist/esm/cart/setting/CartDiscount.js +1 -16
- package/dist/esm/cart/setting/CartLineAttribute.js +1 -25
- package/dist/esm/cart/setting/CartLineImage.js +1 -161
- package/dist/esm/cart/setting/CartLinePrice.js +1 -25
- package/dist/esm/cart/setting/CartLineVariant.js +1 -25
- package/dist/esm/cart/setting/CartList.js +1 -135
- package/dist/esm/cart/setting/CartOrderNote.js +1 -40
- package/dist/esm/cart/setting/CartTotalItem.js +1 -25
- package/dist/esm/cart/setting/CartTotalPrice.js +1 -54
- package/dist/esm/cart/setting/CouponList.js +1 -16
- package/dist/esm/cart/setting/DiscountInput.js +1 -29
- package/dist/esm/cart/setting/ShopPayButton.js +1 -164
- package/dist/esm/cart/setting/index.js +1 -33
- package/dist/esm/code/components/CSSCode.js +2 -125
- package/dist/esm/code/components/CSSCode.liquid.js +7 -26
- package/dist/esm/code/next.js +1 -11
- package/dist/esm/code/setting/CSSCode.js +3 -171
- package/dist/esm/code/setting/index.js +1 -7
- package/dist/esm/collection/components/CollectionBanner.js +1 -93
- package/dist/esm/collection/components/CollectionBanner.liquid.js +14 -72
- package/dist/esm/collection/components/CollectionDescription.js +1 -16
- package/dist/esm/collection/components/CollectionDescription.liquid.js +3 -17
- package/dist/esm/collection/components/CollectionPaginator.js +1 -146
- package/dist/esm/collection/components/CollectionPaginator.liquid.js +9 -54
- package/dist/esm/collection/components/CollectionTitle.js +1 -16
- package/dist/esm/collection/components/CollectionTitle.liquid.js +3 -17
- package/dist/esm/collection/components/CollectionToolbar.js +1 -106
- package/dist/esm/collection/components/CollectionToolbar.liquid.js +15 -66
- package/dist/esm/collection/next.js +1 -27
- package/dist/esm/collection/setting/CollectionBanner.js +10 -528
- package/dist/esm/collection/setting/CollectionDescription.js +3 -124
- package/dist/esm/collection/setting/CollectionPaginator.js +3 -319
- package/dist/esm/collection/setting/CollectionTitle.js +3 -124
- package/dist/esm/collection/setting/CollectionToolbar.js +3 -272
- package/dist/esm/collection/setting/index.js +1 -15
- package/dist/esm/common/components/Loading.js +1 -19
- package/dist/esm/common/components/Tooltip.js +1 -0
- package/dist/esm/countdown-timer/components/Countdown.js +1 -304
- package/dist/esm/countdown-timer/components/Countdown.liquid.js +20 -87
- package/dist/esm/countdown-timer/helpers.js +1 -90
- package/dist/esm/countdown-timer/hooks/useTimeLeft.js +1 -90
- package/dist/esm/countdown-timer/next.js +1 -12
- package/dist/esm/countdown-timer/setting/Countdown.js +3 -879
- package/dist/esm/countdown-timer/setting/index.js +1 -7
- package/dist/esm/dialog/components/Dialog.js +1 -353
- package/dist/esm/dialog/components/Dialog.liquid.js +16 -143
- package/dist/esm/dialog/helpers/common.js +1 -16
- package/dist/esm/dialog/hooks/use-scroll-percentage.js +1 -32
- package/dist/esm/dialog/next.js +1 -11
- package/dist/esm/dialog/setting/Dialog.js +3 -575
- package/dist/esm/dialog/setting/index.js +1 -7
- package/dist/esm/form/components/contact/Contact.js +1 -11
- package/dist/esm/form/components/contact/Contact.liquid.js +3 -18
- package/dist/esm/form/components/form-checkbox/FormCheckbox.js +1 -47
- package/dist/esm/form/components/form-checkbox/FormCheckbox.liquid.js +10 -35
- package/dist/esm/form/components/form-dropdown/FormDropdown.js +1 -68
- package/dist/esm/form/components/form-dropdown/FormDropdown.liquid.js +12 -62
- package/dist/esm/form/components/form-email/FormEmail.js +1 -55
- package/dist/esm/form/components/form-email/FormEmail.liquid.js +10 -62
- package/dist/esm/form/components/newsletter/Newsletter.js +1 -11
- package/dist/esm/form/components/newsletter/Newsletter.liquid.js +19 -52
- package/dist/esm/form/components/submit-button/SubmitButton.js +1 -27
- package/dist/esm/form/components/submit-button/SubmitButton.liquid.js +3 -29
- package/dist/esm/form/components/textarea/TextArea.js +1 -71
- package/dist/esm/form/components/textarea/TextArea.liquid.js +11 -70
- package/dist/esm/form/components/textfield/TextField.js +1 -64
- package/dist/esm/form/components/textfield/TextField.liquid.js +11 -70
- package/dist/esm/form/next.js +1 -39
- package/dist/esm/form/setting/Contact.js +3 -42
- package/dist/esm/form/setting/ContactInitConfig.js +1 -226
- package/dist/esm/form/setting/FormCheckbox.js +3 -222
- package/dist/esm/form/setting/FormCheckboxInitConfig.js +1 -16
- package/dist/esm/form/setting/FormDropdown.js +3 -258
- package/dist/esm/form/setting/FormDropdownInitConfig.js +1 -31
- package/dist/esm/form/setting/FormEmail.js +3 -271
- package/dist/esm/form/setting/FormEmailInitConfig.js +1 -31
- package/dist/esm/form/setting/Newsletter.js +3 -164
- package/dist/esm/form/setting/NewsletterInitConfig.js +1 -131
- package/dist/esm/form/setting/SubmitButton.js +4 -649
- package/dist/esm/form/setting/SubmitButtonInitConfig.js +1 -28
- package/dist/esm/form/setting/TextField.js +3 -302
- package/dist/esm/form/setting/Textarea.js +3 -303
- package/dist/esm/form/setting/index.js +1 -21
- package/dist/esm/grid/components/ChildrenDroppable.js +4 -61
- package/dist/esm/grid/components/Col.js +1 -21
- package/dist/esm/grid/components/Col.liquid.js +6 -35
- package/dist/esm/grid/components/Root.js +1 -9
- package/dist/esm/grid/components/Root.liquid.js +1 -5
- package/dist/esm/grid/components/Row.js +1 -88
- package/dist/esm/grid/components/Row.liquid.js +12 -61
- package/dist/esm/grid/components/Section.js +1 -23
- package/dist/esm/grid/components/Section.liquid.js +1 -13
- package/dist/esm/grid/components/helpers.js +1 -69
- package/dist/esm/grid/next.js +1 -23
- package/dist/esm/grid/setting/Col.js +1 -30
- package/dist/esm/grid/setting/Root.js +1 -15
- package/dist/esm/grid/setting/Row.js +39 -510
- package/dist/esm/grid/setting/Section.js +34 -358
- package/dist/esm/grid/setting/index.js +1 -13
- package/dist/esm/header/components/Header.js +1 -28
- package/dist/esm/header/components/SalePageHeaderWarning.js +1 -0
- package/dist/esm/header/components/icons/ChevronLeft.js +1 -14
- package/dist/esm/header/components/icons/Dismiss.js +1 -14
- package/dist/esm/header/components/icons/MenuIcon.js +1 -14
- package/dist/esm/header/components/kind/basic/DesktopMenu.js +1 -32
- package/dist/esm/header/components/kind/basic/DesktopMenuItem.js +1 -62
- package/dist/esm/header/components/kind/basic/MenuMobileItem.js +1 -156
- package/dist/esm/header/components/kind/basic/MobileMenu.js +1 -153
- package/dist/esm/header/components/kind/basic/index.js +1 -105
- package/dist/esm/header/components/kind/modern/index.js +1 -29
- package/dist/esm/header/hooks/use-body-overlay.js +1 -19
- package/dist/esm/header/next.js +1 -11
- package/dist/esm/header/setting/Header.js +3 -712
- package/dist/esm/header/setting/index.js +1 -7
- package/dist/esm/heading/Heading.js +1 -42
- package/dist/esm/heading/Heading.liquid.js +1 -43
- package/dist/esm/heading/next.js +1 -11
- package/dist/esm/heading/setting/Heading.js +3 -369
- package/dist/esm/heading/setting/index.js +1 -7
- package/dist/esm/helpers.js +1 -14
- package/dist/esm/hooks/useGetProductId.js +1 -13
- package/dist/esm/icon/components/Icon.js +1 -72
- package/dist/esm/icon/components/Icon.liquid.js +13 -61
- package/dist/esm/icon/next.js +1 -11
- package/dist/esm/icon/setting/Icon.js +3 -299
- package/dist/esm/icon/setting/index.js +1 -7
- package/dist/esm/icon-list/components/IconList.js +1 -77
- package/dist/esm/icon-list/components/IconList.liquid.js +12 -43
- package/dist/esm/icon-list/components/IconListItem.js +1 -25
- package/dist/esm/icon-list/components/IconListItem.liquid.js +4 -15
- package/dist/esm/icon-list/next.js +1 -15
- package/dist/esm/icon-list/setting/IconList.js +4 -295
- package/dist/esm/icon-list/setting/IconListItem.js +1 -36
- package/dist/esm/icon-list/setting/ItemTemplate.js +1 -323
- package/dist/esm/icon-list/setting/index.js +1 -9
- package/dist/esm/icon-list-hoz/components/IconListHoz.js +1 -65
- package/dist/esm/icon-list-hoz/components/IconListHoz.liquid.js +11 -32
- package/dist/esm/icon-list-hoz/components/IconListHozItem.js +1 -26
- package/dist/esm/icon-list-hoz/components/IconListItemHoz.liquid.js +4 -15
- package/dist/esm/icon-list-hoz/next.js +1 -15
- package/dist/esm/icon-list-hoz/setting/IconListHoz.js +3 -217
- package/dist/esm/icon-list-hoz/setting/IconListItem.js +1 -36
- package/dist/esm/icon-list-hoz/setting/ItemTemplate.js +1 -80
- package/dist/esm/icon-list-hoz/setting/index.js +1 -9
- package/dist/esm/icon-list-v2/components/IconList.js +1 -136
- package/dist/esm/icon-list-v2/components/IconList.liquid.js +19 -85
- package/dist/esm/icon-list-v2/next.js +1 -11
- package/dist/esm/icon-list-v2/setting/IconList.js +3 -521
- package/dist/esm/icon-list-v2/setting/index.js +1 -7
- package/dist/esm/icon-list-v2/setting/template.js +1 -110
- package/dist/esm/image/components/AdaptiveImage.js +1 -56
- package/dist/esm/image/components/AdaptiveImage.liquid.js +19 -92
- package/dist/esm/image/components/BackgroundImage.js +1 -97
- package/dist/esm/image/components/Image.js +1 -117
- package/dist/esm/image/components/Image.liquid.js +10 -89
- package/dist/esm/image/components/Img.js +1 -24
- package/dist/esm/image/components/Modal3d.liquid.js +15 -30
- package/dist/esm/image/components/NextImage.js +1 -36
- package/dist/esm/image/components/NextImage.liquid.js +16 -107
- package/dist/esm/image/components/Video.liquid.js +12 -22
- package/dist/esm/image/components/helpers.js +1 -8
- package/dist/esm/image/helpers/getSrcSet.js +1 -50
- package/dist/esm/image/next.js +1 -15
- package/dist/esm/image/setting/BackgroundImage.js +2 -357
- package/dist/esm/image/setting/Image.js +4 -460
- package/dist/esm/image/setting/index.js +1 -9
- package/dist/esm/image-comparison/components/CompareImage.js +5 -556
- package/dist/esm/image-comparison/components/CompareImage.liquid.js +22 -324
- package/dist/esm/image-comparison/components/ImageComparison.js +1 -56
- package/dist/esm/image-comparison/components/ImageComparison.liquid.js +3 -32
- package/dist/esm/image-comparison/components/Label.liquid.js +13 -41
- package/dist/esm/image-comparison/constants/commonStyles.js +1 -58
- package/dist/esm/image-comparison/next.js +1 -11
- package/dist/esm/image-comparison/setting/ImageComparison.js +3 -877
- package/dist/esm/image-comparison/setting/index.js +1 -7
- package/dist/esm/image-detection/ImageDetection.js +1 -232
- package/dist/esm/image-detection/next.js +1 -11
- package/dist/esm/image-detection/setting/ImageDetection.js +2 -71
- package/dist/esm/image-detection/setting/index.js +1 -7
- package/dist/esm/index.js +1 -180
- package/dist/esm/index.liquid.js +1 -97
- package/dist/esm/input/Input.js +1 -113
- package/dist/esm/input/next.js +1 -11
- package/dist/esm/input/setting/Input.js +2 -117
- package/dist/esm/input/setting/index.js +1 -7
- package/dist/esm/intersection-observer/InView.js +1 -98
- package/dist/esm/intersection-observer/observe.js +1 -109
- package/dist/esm/intersection-observer/useInView.js +1 -101
- package/dist/esm/line/Divider.js +1 -30
- package/dist/esm/line/Divider.liquid.js +4 -29
- package/dist/esm/line/Line.js +1 -161
- package/dist/esm/line/Line.liquid.js +17 -142
- package/dist/esm/line/next.js +1 -11
- package/dist/esm/line/setting/Line.js +3 -577
- package/dist/esm/line/setting/index.js +1 -7
- package/dist/esm/link/components/CustomLink.js +1 -10
- package/dist/esm/link/components/Link.js +1 -32
- package/dist/esm/link/components/ProductLink.js +1 -14
- package/dist/esm/link/components/next-link/CustomLink.js +1 -14
- package/dist/esm/link/components/next-link/ProductLink.js +1 -18
- package/dist/esm/link/components/next-link/index.js +1 -25
- package/dist/esm/link/helpers/url-join.js +1 -54
- package/dist/esm/link/next.js +1 -11
- package/dist/esm/link/setting/Link.js +1 -64
- package/dist/esm/link/setting/index.js +1 -7
- package/dist/esm/menu/components/DropdownMenu.js +1 -63
- package/dist/esm/menu/components/MegaMenu.js +1 -63
- package/dist/esm/menu/components/Menu.js +1 -16
- package/dist/esm/menu/components/NavigationMenu.js +1 -59
- package/dist/esm/menu/components/SubMegaMenu.js +1 -42
- package/dist/esm/menu/components/SubNavigationMenu.js +1 -57
- package/dist/esm/menu/next.js +1 -11
- package/dist/esm/menu/setting/Menu.js +1 -212
- package/dist/esm/menu/setting/index.js +1 -7
- package/dist/esm/modal/components/Modal.js +1 -94
- package/dist/esm/modal/components/confirm.js +1 -152
- package/dist/esm/modal/hooks/useModalContainer.js +1 -17
- package/dist/esm/modal/next.js +1 -11
- package/dist/esm/modal/setting/Modal.js +1 -23
- package/dist/esm/modal/setting/index.js +1 -7
- package/dist/esm/next.js +1 -83
- package/dist/esm/notification/components/Notice.js +1 -70
- package/dist/esm/notification/components/Notifications.js +1 -92
- package/dist/esm/notification/components/icons/CloseIcon.js +1 -13
- package/dist/esm/notification/hooks/use-notification.js +1 -116
- package/dist/esm/pagination/Pagination.js +1 -182
- package/dist/esm/pagination/next.js +1 -11
- package/dist/esm/pagination/setting/Pagination.js +1 -68
- package/dist/esm/pagination/setting/index.js +1 -7
- package/dist/esm/post-purchase/advanced-list/components/AdvancedListPostPurchase.js +1 -0
- package/dist/esm/post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js +1 -0
- package/dist/esm/post-purchase/advanced-list/next.js +1 -0
- package/dist/esm/post-purchase/advanced-list/setting/AdvancedListPostPurchase.js +15 -0
- package/dist/esm/post-purchase/advanced-list/setting/PostPurchaseAdvancedListItem.js +1 -0
- package/dist/esm/post-purchase/advanced-list/setting/index.js +1 -0
- package/dist/esm/post-purchase/advanced-list/setting/template.js +1 -0
- package/dist/esm/post-purchase/button/Button.js +1 -0
- package/dist/esm/post-purchase/button/next.js +1 -0
- package/dist/esm/post-purchase/button/setting/Button.js +22 -0
- package/dist/esm/post-purchase/button/setting/index.js +1 -0
- package/dist/esm/post-purchase/callout-banner/components/CalloutBox.js +1 -0
- package/dist/esm/post-purchase/callout-banner/components/CalloutText.js +1 -0
- package/dist/esm/post-purchase/callout-banner/next.js +1 -0
- package/dist/esm/post-purchase/callout-banner/setting/CalloutBox.js +66 -0
- package/dist/esm/post-purchase/callout-banner/setting/CalloutText.js +18 -0
- package/dist/esm/post-purchase/callout-banner/setting/index.js +1 -0
- package/dist/esm/post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js +1 -0
- package/dist/esm/post-purchase/countdown-timer/components/TextCountdown.js +1 -0
- package/dist/esm/post-purchase/countdown-timer/hooks/useCountdownTimer.js +1 -0
- package/dist/esm/post-purchase/countdown-timer/next.js +1 -0
- package/dist/esm/post-purchase/countdown-timer/settings/CountdownTimer.js +34 -0
- package/dist/esm/post-purchase/countdown-timer/settings/index.js +1 -0
- package/dist/esm/post-purchase/image/components/AdaptiveImage.js +1 -0
- package/dist/esm/post-purchase/image/components/Image.js +1 -0
- package/dist/esm/post-purchase/image/components/Img.js +1 -0
- package/dist/esm/post-purchase/image/next.js +1 -0
- package/dist/esm/post-purchase/image/setting/Image.js +11 -0
- package/dist/esm/post-purchase/image/setting/index.js +1 -0
- package/dist/esm/post-purchase/line/components/PostPurchaseLine.js +1 -0
- package/dist/esm/post-purchase/line/next.js +1 -0
- package/dist/esm/post-purchase/line/setting/PostPurchaseLine.js +9 -0
- package/dist/esm/post-purchase/line/setting/index.js +1 -0
- package/dist/esm/post-purchase/next.js +1 -0
- package/dist/esm/post-purchase/product/components/AcceptButton.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductDescription.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductDiscountTag.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductOffer.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductPrice.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductPriceBreakdown.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductQuantity.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductTitle.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductVariant.js +1 -0
- package/dist/esm/post-purchase/product/components/priceBreakdown/MoneyLine.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/Arrow.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/CarouselPostPurchase.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/FeatureImage.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/ImageListCarousel.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/ImageListGrid.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/index.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/layouts/FeatureImageWithGalleryImage.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/layouts/OnlyGalleryImage.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/Dropdown.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/DropdownOption.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/RectangleList.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/VariantGroup.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/VariantItem.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/VariantOption.js +1 -0
- package/dist/esm/post-purchase/product/helpers/index.js +1 -0
- package/dist/esm/post-purchase/product/next.js +1 -0
- package/dist/esm/post-purchase/product/settings/AcceptButton.js +22 -0
- package/dist/esm/post-purchase/product/settings/ProductDescription.js +9 -0
- package/dist/esm/post-purchase/product/settings/ProductDiscountTag.js +4 -0
- package/dist/esm/post-purchase/product/settings/ProductOffer.js +53 -0
- package/dist/esm/post-purchase/product/settings/ProductPrice.js +15 -0
- package/dist/esm/post-purchase/product/settings/ProductPriceBreakdown.js +43 -0
- package/dist/esm/post-purchase/product/settings/ProductQuantity.js +25 -0
- package/dist/esm/post-purchase/product/settings/ProductTitle.js +9 -0
- package/dist/esm/post-purchase/product/settings/ProductVariant.js +27 -0
- package/dist/esm/post-purchase/product/settings/index.js +1 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-1-col.js +8 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-2-col.js +11 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-default.js +12 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-offer-1-col.js +8 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-offer-2-col.js +11 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-offer-default.js +12 -0
- package/dist/esm/post-purchase/product/settings/product-image/ProductFeatureImage.js +1 -0
- package/dist/esm/post-purchase/product/settings/product-image/ProductGalleryImage.js +9 -0
- package/dist/esm/post-purchase/product/settings/product-image/ProductImageLayoutSetting.js +1 -0
- package/dist/esm/post-purchase/product/settings/product-image/ProductImages.js +21 -0
- package/dist/esm/post-purchase/text/Text.js +1 -0
- package/dist/esm/post-purchase/text/index.js +1 -0
- package/dist/esm/post-purchase/text/next.js +1 -0
- package/dist/esm/post-purchase/text/setting/Heading.js +3 -0
- package/dist/esm/post-purchase/text/setting/Text.js +7 -0
- package/dist/esm/post-purchase/text/setting/index.js +1 -0
- package/dist/esm/post-purchase/utils/constants.js +1 -0
- package/dist/esm/post-purchase/utils/helper.js +1 -0
- package/dist/esm/product/components/DynamicCheckout.js +1 -22
- package/dist/esm/product/components/DynamicCheckout.liquid.js +59 -102
- package/dist/esm/product/components/Product.js +1 -94
- package/dist/esm/product/components/Product.liquid.js +21 -47
- package/dist/esm/product/components/ProductButton.js +1 -230
- package/dist/esm/product/components/ProductButton.liquid.js +9 -112
- package/dist/esm/product/components/ProductDescription.js +2 -103
- package/dist/esm/product/components/ProductDescription.liquid.js +14 -76
- package/dist/esm/product/components/ProductImages/ProductFeaturedImage.js +1 -248
- package/dist/esm/product/components/ProductImages/ProductGalleryCarousel.js +1 -199
- package/dist/esm/product/components/ProductImages/ProductGalleryGrid.js +1 -159
- package/dist/esm/product/components/ProductImages/ProductImagesLightBox.js +1 -114
- package/dist/esm/product/components/ProductImages/common/common.js +1 -103
- package/dist/esm/product/components/ProductImages/common/productFeaturedImage.js +1 -90
- package/dist/esm/product/components/ProductImages/common/productGallery.js +1 -188
- package/dist/esm/product/components/ProductImages/liquid/ProductFeaturedImage.liquid.js +25 -104
- package/dist/esm/product/components/ProductImages/liquid/ProductGalleryCarousel.liquid.js +9 -104
- package/dist/esm/product/components/ProductImages/liquid/ProductGalleryGrid.liquid.js +11 -58
- package/dist/esm/product/components/ProductImages.js +1 -280
- package/dist/esm/product/components/ProductImages.liquid.js +17 -84
- package/dist/esm/product/components/ProductImagesV2/common/common.js +1 -198
- package/dist/esm/product/components/ProductImagesV2/common/hoverAction.js +1 -89
- package/dist/esm/product/components/ProductImagesV2/common/productFeaturedImage.js +1 -16
- package/dist/esm/product/components/ProductImagesV2/common/productGallery.js +1 -223
- package/dist/esm/product/components/ProductImagesV2/jsx/ProductImages.js +11 -212
- package/dist/esm/product/components/ProductImagesV2/jsx/components/ButtonOpenLightBox.js +1 -23
- package/dist/esm/product/components/ProductImagesV2/jsx/components/MediaIcon.js +1 -58
- package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductFeaturedImageCarousel.js +1 -264
- package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductGalleryCarousel.js +1 -257
- package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductGalleryGrid.js +1 -154
- package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductImagesLightBox.js +1 -114
- package/dist/esm/product/components/ProductImagesV2/jsx/layouts/FeatureImageWithGallery.js +1 -149
- package/dist/esm/product/components/ProductImagesV2/jsx/layouts/GalleryOneCol.js +1 -20
- package/dist/esm/product/components/ProductImagesV2/jsx/layouts/GalleryTwoCol.js +1 -20
- package/dist/esm/product/components/ProductImagesV2/jsx/layouts/OnlyFeatureImage.js +1 -28
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +32 -295
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +11 -226
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +28 -203
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +23 -71
- package/dist/esm/product/components/ProductList.js +1 -202
- package/dist/esm/product/components/ProductList.liquid.js +135 -164
- package/dist/esm/product/components/ProductNotFound.js +1 -137
- package/dist/esm/product/components/ProductPrice.js +1 -67
- package/dist/esm/product/components/ProductPrice.liquid.js +13 -46
- package/dist/esm/product/components/ProductProperties/ProductPropertyChoice.js +1 -52
- package/dist/esm/product/components/ProductProperties/ProductPropertyChoice.liquid.js +13 -49
- package/dist/esm/product/components/ProductProperties/ProductPropertyInput.js +1 -57
- package/dist/esm/product/components/ProductProperties/ProductPropertyInput.liquid.js +12 -106
- package/dist/esm/product/components/ProductProperties/ProductPropertySelect.js +1 -37
- package/dist/esm/product/components/ProductProperties/ProductPropertySelect.liquid.js +12 -45
- package/dist/esm/product/components/ProductProperties.js +1 -264
- package/dist/esm/product/components/ProductProperties.liquid.js +16 -73
- package/dist/esm/product/components/ProductQuantity.js +1 -193
- package/dist/esm/product/components/ProductQuantity.liquid.js +17 -108
- package/dist/esm/product/components/ProductQuickView/ProductQuickView.js +1 -154
- package/dist/esm/product/components/ProductQuickView/index.js +1 -16
- package/dist/esm/product/components/ProductTag.js +1 -110
- package/dist/esm/product/components/ProductTag.liquid.js +22 -78
- package/dist/esm/product/components/ProductTitle.js +1 -36
- package/dist/esm/product/components/ProductTitle.liquid.js +7 -31
- package/dist/esm/product/components/ProductVariants/common.js +1 -64
- package/dist/esm/product/components/ProductVariants/index.js +1 -306
- package/dist/esm/product/components/ProductVariants/index.liquid.js +28 -186
- package/dist/esm/product/components/ProductVariants/utils/mappingVariantStyles.js +1 -0
- package/dist/esm/product/components/ProductVariants/variants/Base.js +11 -260
- package/dist/esm/product/components/ProductVariants/variants/Base.liquid.js +19 -118
- package/dist/esm/product/components/ProductVariants/variants/Color.js +1 -18
- package/dist/esm/product/components/ProductVariants/variants/Color.liquid.js +3 -13
- package/dist/esm/product/components/ProductVariants/variants/Dropdown.js +1 -144
- package/dist/esm/product/components/ProductVariants/variants/Dropdown.liquid.js +11 -49
- package/dist/esm/product/components/ProductVariants/variants/DropdownGroup.liquid.js +17 -55
- package/dist/esm/product/components/ProductVariants/variants/DropdownOption.js +1 -17
- package/dist/esm/product/components/ProductVariants/variants/Image.js +1 -18
- package/dist/esm/product/components/ProductVariants/variants/Image.liquid.js +3 -13
- package/dist/esm/product/components/ProductVariants/variants/ImageShopify.js +1 -35
- package/dist/esm/product/components/ProductVariants/variants/ImageShopify.liquid.js +3 -13
- package/dist/esm/product/components/ProductVariants/variants/RadioButtons.js +1 -58
- package/dist/esm/product/components/ProductVariants/variants/RectangleList.js +1 -64
- package/dist/esm/product/components/ProductVariants/variants/VariantGroup.js +1 -34
- package/dist/esm/product/components/ProductVariants/variants/VariantOption/index.js +1 -16
- package/dist/esm/product/components/ProductVariants/variants/index.js +1 -109
- package/dist/esm/product/components/ProductVariants/variants/index.liquid.js +27 -71
- package/dist/esm/product/components/SalePageProductListWarning.js +1 -0
- package/dist/esm/product/components/Vendor.js +1 -34
- package/dist/esm/product/components/Vendor.liquid.js +7 -31
- package/dist/esm/product/helpers/function.js +1 -39
- package/dist/esm/product/helpers/product-image.js +1 -31
- package/dist/esm/product/helpers/product.js +1 -51
- package/dist/esm/product/helpers/tracking.js +1 -9
- package/dist/esm/product/next.js +1 -69
- package/dist/esm/product/setting/DynamicCheckout.js +3 -547
- package/dist/esm/product/setting/Product.js +35 -377
- package/dist/esm/product/setting/ProductButton.js +4 -1075
- package/dist/esm/product/setting/ProductDescription.js +2 -295
- package/dist/esm/product/setting/ProductImages.js +5 -1197
- package/dist/esm/product/setting/ProductList.js +3 -1193
- package/dist/esm/product/setting/ProductPrice.js +4 -353
- package/dist/esm/product/setting/ProductProperties.js +3 -971
- package/dist/esm/product/setting/ProductQuantity.js +3 -606
- package/dist/esm/product/setting/ProductTag.js +2 -246
- package/dist/esm/product/setting/ProductTitle.js +3 -348
- package/dist/esm/product/setting/ProductVariants.js +4 -1419
- package/dist/esm/product/setting/Vendor.js +3 -334
- package/dist/esm/product/setting/index.js +1 -33
- package/dist/esm/product/setting/presets-config/product-presets/product-1-col.js +9 -273
- package/dist/esm/product/setting/presets-config/product-presets/product-2-col.js +12 -281
- package/dist/esm/product/setting/presets-config/product-presets/product-default.js +13 -281
- package/dist/esm/product/setting/product-image-v2/ProductFeatureImage.js +2 -515
- package/dist/esm/product/setting/product-image-v2/ProductGalleryImage.js +2 -643
- package/dist/esm/product/setting/product-image-v2/ProductImages.js +4 -435
- package/dist/esm/product/setting/swatches-style-config/color.js +1 -0
- package/dist/esm/product/setting/swatches-style-config/dropdown.js +1 -0
- package/dist/esm/product/setting/swatches-style-config/image-shopify.js +1 -0
- package/dist/esm/product/setting/swatches-style-config/image.js +1 -0
- package/dist/esm/product/setting/swatches-style-config/rectangle-list.js +1 -0
- package/dist/esm/radio/Radio.js +1 -33
- package/dist/esm/radio/next.js +1 -11
- package/dist/esm/radio/setting/Radio.js +1 -66
- package/dist/esm/radio/setting/index.js +1 -7
- package/dist/esm/select/Select.js +2 -56
- package/dist/esm/select/next.js +1 -11
- package/dist/esm/select/setting/index.js +1 -7
- package/dist/esm/sticky/components/Sticky.js +1 -156
- package/dist/esm/sticky/components/Sticky.liquid.js +10 -73
- package/dist/esm/sticky/next.js +1 -11
- package/dist/esm/sticky/setting/Sticky.js +1 -230
- package/dist/esm/sticky/setting/index.js +1 -7
- package/dist/esm/sticky/setting/preset-config.js +2 -876
- package/dist/esm/stock-counter/components/StockCounter.js +1 -111
- package/dist/esm/stock-counter/components/StockCounter.liquid.js +23 -100
- package/dist/esm/stock-counter/const.js +1 -20
- package/dist/esm/stock-counter/helpers.js +5 -59
- package/dist/esm/stock-counter/next.js +1 -11
- package/dist/esm/stock-counter/setting/StockCounter.js +4 -624
- package/dist/esm/stock-counter/setting/index.js +1 -7
- package/dist/esm/tab/components/TabItem.js +1 -20
- package/dist/esm/tab/components/TabItem.liquid.js +6 -19
- package/dist/esm/tab/components/Tabs.js +1 -129
- package/dist/esm/tab/components/Tabs.liquid.js +18 -79
- package/dist/esm/tab/components/common.js +1 -39
- package/dist/esm/tab/next.js +1 -15
- package/dist/esm/tab/setting/TabItem.js +2 -29
- package/dist/esm/tab/setting/Tabs.js +3 -569
- package/dist/esm/tab/setting/index.js +1 -9
- package/dist/esm/text/components/Text.js +1 -95
- package/dist/esm/text/components/Text.liquid.js +10 -84
- package/dist/esm/text/index.js +1 -5
- package/dist/esm/text/next.js +1 -11
- package/dist/esm/text/setting/Text.js +3 -414
- package/dist/esm/text/setting/index.js +1 -7
- package/dist/esm/textarea/Textarea.js +1 -34
- package/dist/esm/textarea/next.js +1 -11
- package/dist/esm/textarea/setting/Textarea.js +2 -103
- package/dist/esm/textarea/setting/index.js +1 -7
- package/dist/esm/third-party/components/AliReviews/AliReviewsSampleContent.js +1 -24
- package/dist/esm/third-party/components/AliReviews.js +1 -18
- package/dist/esm/third-party/components/AliReviews.liquid.js +8 -17
- package/dist/esm/third-party/components/AppstleSubscriptions/AppstleSubscriptionsSampleContent.js +1 -19
- package/dist/esm/third-party/components/AppstleSubscriptions.js +1 -18
- package/dist/esm/third-party/components/AppstleSubscriptions.liquid.js +4 -13
- package/dist/esm/third-party/components/BoldProductOptions/BoldProductOptionsSampleContent.js +1 -19
- package/dist/esm/third-party/components/BoldProductOptions.js +1 -18
- package/dist/esm/third-party/components/BoldProductOptions.liquid.js +4 -13
- package/dist/esm/third-party/components/BoldSubscriptions/BoldSubscriptionsSampleContent.js +1 -30
- package/dist/esm/third-party/components/BoldSubscriptions.js +1 -18
- package/dist/esm/third-party/components/BoldSubscriptions.liquid.js +5 -14
- package/dist/esm/third-party/components/BoostAISearchDiscovery/BoostAISearchDiscoverySampleContent.js +1 -19
- package/dist/esm/third-party/components/BoostAISearchDiscovery.js +1 -18
- package/dist/esm/third-party/components/BoostAISearchDiscovery.liquid.js +5 -13
- package/dist/esm/third-party/components/Bundler/BundlerSampleContent.js +1 -19
- package/dist/esm/third-party/components/Bundler.js +1 -20
- package/dist/esm/third-party/components/Bundler.liquid.js +5 -18
- package/dist/esm/third-party/components/CrossSellCartUpsell/CrossSellCartUpsellSampleContent.js +1 -19
- package/dist/esm/third-party/components/CrossSellCartUpsell.js +1 -18
- package/dist/esm/third-party/components/CrossSellCartUpsell.liquid.js +5 -20
- package/dist/esm/third-party/components/FeraReviews/FeraReviewsSampleContent.js +1 -45
- package/dist/esm/third-party/components/FeraReviews/LiquidTemplateByWidget.js +1 -50
- package/dist/esm/third-party/components/FeraReviews.js +1 -22
- package/dist/esm/third-party/components/FeraReviews.liquid.js +5 -16
- package/dist/esm/third-party/components/FirePush/FirePushSampleContent.js +1 -17
- package/dist/esm/third-party/components/FirePush.js +1 -18
- package/dist/esm/third-party/components/FirePush.liquid.js +4 -13
- package/dist/esm/third-party/components/FrequentlyBoughtTogether/FrequentlyBoughtTogetherSampleContent.js +1 -19
- package/dist/esm/third-party/components/FrequentlyBoughtTogether.js +1 -20
- package/dist/esm/third-party/components/FrequentlyBoughtTogether.liquid.js +5 -14
- package/dist/esm/third-party/components/Growave/GrowaveSampleContent.js +1 -34
- package/dist/esm/third-party/components/Growave.js +1 -18
- package/dist/esm/third-party/components/Growave.liquid.js +5 -14
- package/dist/esm/third-party/components/InfiniteOptions/InfiniteOptionsSampleContent.js +1 -19
- package/dist/esm/third-party/components/InfiniteOptions.js +1 -18
- package/dist/esm/third-party/components/InfiniteOptions.liquid.js +4 -12
- package/dist/esm/third-party/components/Instafeed/InstafeedSampleContent.js +1 -19
- package/dist/esm/third-party/components/Instafeed.js +1 -18
- package/dist/esm/third-party/components/Instafeed.liquid.js +4 -13
- package/dist/esm/third-party/components/Judgeme/JudgemeSampleContent.js +1 -35
- package/dist/esm/third-party/components/JudgemeReviews.js +1 -19
- package/dist/esm/third-party/components/JudgemeReviews.liquid.js +5 -14
- package/dist/esm/third-party/components/KachingBundles/KachingBundlesSampleContent.js +1 -23
- package/dist/esm/third-party/components/KachingBundles.js +1 -18
- package/dist/esm/third-party/components/KachingBundles.liquid.js +4 -13
- package/dist/esm/third-party/components/Klaviyo/KlaviyoSampleContent.js +1 -19
- package/dist/esm/third-party/components/Klaviyo.js +1 -26
- package/dist/esm/third-party/components/Klaviyo.liquid.js +5 -15
- package/dist/esm/third-party/components/LaiProductReviews/LaiProductReviewsSampleContent.js +1 -54
- package/dist/esm/third-party/components/LaiProductReviews/LiquidTemplateByWiget.js +10 -41
- package/dist/esm/third-party/components/LaiProductReviews.js +1 -20
- package/dist/esm/third-party/components/LaiProductReviews.liquid.js +5 -17
- package/dist/esm/third-party/components/LooxReviews/LooxReviewsSampleContent.js +1 -31
- package/dist/esm/third-party/components/LooxReviews.js +1 -18
- package/dist/esm/third-party/components/LooxReviews.liquid.js +9 -47
- package/dist/esm/third-party/components/Omnisend/OmnisendSampleContent.js +1 -30
- package/dist/esm/third-party/components/Omnisend.js +1 -18
- package/dist/esm/third-party/components/Omnisend.liquid.js +9 -18
- package/dist/esm/third-party/components/Opinew/OpinewSampleContent.js +1 -29
- package/dist/esm/third-party/components/Opinew.js +1 -18
- package/dist/esm/third-party/components/Opinew.liquid.js +6 -15
- package/dist/esm/third-party/components/ParcelPanel/ParcelPanelSampleContent.js +1 -19
- package/dist/esm/third-party/components/ParcelPanel.js +1 -18
- package/dist/esm/third-party/components/ParcelPanel.liquid.js +4 -13
- package/dist/esm/third-party/components/PickyStory/PickyStorySampleContent.js +1 -32
- package/dist/esm/third-party/components/PickyStory.js +1 -18
- package/dist/esm/third-party/components/PickyStory.liquid.js +5 -14
- package/dist/esm/third-party/components/ProductReviews/ProductReviewsSampleContent.js +1 -25
- package/dist/esm/third-party/components/ProductReviews.js +1 -18
- package/dist/esm/third-party/components/ProductReviews.liquid.js +5 -14
- package/dist/esm/third-party/components/Rivyo/RivyoSampleContent.js +1 -32
- package/dist/esm/third-party/components/Rivyo.js +1 -18
- package/dist/esm/third-party/components/Rivyo.liquid.js +5 -14
- package/dist/esm/third-party/components/Ryviu/RyviuSampleContent.js +1 -33
- package/dist/esm/third-party/components/Ryviu.js +1 -18
- package/dist/esm/third-party/components/Ryviu.liquid.js +5 -14
- package/dist/esm/third-party/components/SealSubscriptions/SealSubscriptionsSampleContent.js +1 -19
- package/dist/esm/third-party/components/SealSubscriptions.js +1 -18
- package/dist/esm/third-party/components/SealSubscriptions.liquid.js +4 -13
- package/dist/esm/third-party/components/SmartSearchBarAndFilters/SmartSearchBarAndFiltersSampleContent.js +1 -19
- package/dist/esm/third-party/components/SmartSearchBarAndFilters.js +1 -20
- package/dist/esm/third-party/components/SmartSearchBarAndFilters.liquid.js +6 -16
- package/dist/esm/third-party/components/Stamped/LiquidTemplateByWidget.js +92 -172
- package/dist/esm/third-party/components/Stamped/StampedSampleContent.js +1 -42
- package/dist/esm/third-party/components/Stamped.js +1 -18
- package/dist/esm/third-party/components/Stamped.liquid.js +5 -16
- package/dist/esm/third-party/components/ThirdPartyPreview.js +1 -69
- package/dist/esm/third-party/components/TrustMe/TrustMeSampleContent.js +1 -19
- package/dist/esm/third-party/components/TrustMe.js +1 -18
- package/dist/esm/third-party/components/TrustMe.liquid.js +4 -13
- package/dist/esm/third-party/components/Trustoo/TrustooSampleContent.js +1 -31
- package/dist/esm/third-party/components/Trustoo.js +1 -18
- package/dist/esm/third-party/components/Trustoo.liquid.js +6 -15
- package/dist/esm/third-party/components/UltimateSalesBoost/UltimateSalesBoostSampleContent.js +1 -29
- package/dist/esm/third-party/components/UltimateSalesBoost.js +1 -18
- package/dist/esm/third-party/components/UltimateSalesBoost.liquid.js +5 -14
- package/dist/esm/third-party/components/Vitals/VitalsSampleContent.js +1 -47
- package/dist/esm/third-party/components/Vitals.js +1 -18
- package/dist/esm/third-party/components/Vitals.liquid.js +5 -14
- package/dist/esm/third-party/components/WideBundle/WideBundleSampleContent.js +1 -19
- package/dist/esm/third-party/components/WideBundle.js +1 -18
- package/dist/esm/third-party/components/WideBundle.liquid.js +4 -13
- package/dist/esm/third-party/components/Wiser/WiserSampleContent.js +1 -53
- package/dist/esm/third-party/components/Wiser.js +1 -22
- package/dist/esm/third-party/components/Wiser.liquid.js +5 -15
- package/dist/esm/third-party/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -19
- package/dist/esm/third-party/components/YotpoLoyalty.js +1 -39
- package/dist/esm/third-party/components/YotpoReviews/YotpoReviewsSampleContent.js +1 -31
- package/dist/esm/third-party/components/YotpoReviews.js +1 -18
- package/dist/esm/third-party/components/YotpoReviews.liquid.js +6 -15
- package/dist/esm/third-party/configs/AliReviews.js +1 -8
- package/dist/esm/third-party/configs/AppstleSubscriptions.js +1 -8
- package/dist/esm/third-party/configs/BoldProductOptions.js +1 -8
- package/dist/esm/third-party/configs/BoldSubscription.js +1 -8
- package/dist/esm/third-party/configs/BoostAISearchDiscovery.js +1 -8
- package/dist/esm/third-party/configs/Bundler.js +1 -8
- package/dist/esm/third-party/configs/CrossSellCartUpsell.js +1 -8
- package/dist/esm/third-party/configs/FeraReviews.js +1 -8
- package/dist/esm/third-party/configs/FirePush.js +1 -8
- package/dist/esm/third-party/configs/FrequentlyBoughtTogether.js +1 -8
- package/dist/esm/third-party/configs/Growave.js +1 -8
- package/dist/esm/third-party/configs/InfiniteOptions.js +1 -8
- package/dist/esm/third-party/configs/Instafeed.js +1 -8
- package/dist/esm/third-party/configs/JudgemeReviews.js +1 -8
- package/dist/esm/third-party/configs/KachingBundles.js +1 -8
- package/dist/esm/third-party/configs/Klaviyo.js +1 -8
- package/dist/esm/third-party/configs/LaiProductReviews.js +1 -8
- package/dist/esm/third-party/configs/LooxReviews.js +1 -8
- package/dist/esm/third-party/configs/Omnisend.js +1 -8
- package/dist/esm/third-party/configs/Opinew.js +1 -8
- package/dist/esm/third-party/configs/ParcelPanel.js +1 -8
- package/dist/esm/third-party/configs/PickyStory.js +1 -8
- package/dist/esm/third-party/configs/ProductReviews.js +1 -8
- package/dist/esm/third-party/configs/Rivyo.js +1 -8
- package/dist/esm/third-party/configs/Ryviu.js +1 -8
- package/dist/esm/third-party/configs/SealSubscriptions.js +1 -8
- package/dist/esm/third-party/configs/SmartSearchBarAndFilters.js +1 -8
- package/dist/esm/third-party/configs/Stamped.js +1 -8
- package/dist/esm/third-party/configs/TrustMe.js +1 -8
- package/dist/esm/third-party/configs/Trustoo.js +1 -8
- package/dist/esm/third-party/configs/UltimateSalesBoost.js +1 -8
- package/dist/esm/third-party/configs/Vitals.js +1 -8
- package/dist/esm/third-party/configs/WideBundle.js +1 -8
- package/dist/esm/third-party/configs/Wiser.js +1 -8
- package/dist/esm/third-party/configs/YotpoLoyalty.js +1 -8
- package/dist/esm/third-party/configs/YotpoReviews.js +1 -8
- package/dist/esm/third-party/helpers/thirdParty.js +1 -33
- package/dist/esm/third-party/next.js +1 -202
- package/dist/esm/third-party/setting/AliReviews.js +4 -163
- package/dist/esm/third-party/setting/AppstleSubscriptions.js +4 -93
- package/dist/esm/third-party/setting/BoldProductOptions.js +4 -79
- package/dist/esm/third-party/setting/BoldSubscriptions.js +4 -104
- package/dist/esm/third-party/setting/BoostAISearchDiscovery.js +4 -82
- package/dist/esm/third-party/setting/Bundler.js +4 -97
- package/dist/esm/third-party/setting/CrossSellCartUpsell.js +4 -79
- package/dist/esm/third-party/setting/FeraReviews.js +4 -390
- package/dist/esm/third-party/setting/FirePush.js +4 -79
- package/dist/esm/third-party/setting/FrequentlyBoughtTogether.js +6 -99
- package/dist/esm/third-party/setting/Growave.js +4 -136
- package/dist/esm/third-party/setting/InfiniteOptions.js +4 -79
- package/dist/esm/third-party/setting/Instafeed.js +4 -85
- package/dist/esm/third-party/setting/JudgemeReviews.js +4 -149
- package/dist/esm/third-party/setting/KachingBundles.js +4 -84
- package/dist/esm/third-party/setting/Klaviyo.js +4 -94
- package/dist/esm/third-party/setting/LaiProductReviews.js +4 -200
- package/dist/esm/third-party/setting/LooxReviews.js +4 -143
- package/dist/esm/third-party/setting/Omnisend.js +4 -144
- package/dist/esm/third-party/setting/Opinew.js +4 -187
- package/dist/esm/third-party/setting/ParcelPanel.js +4 -88
- package/dist/esm/third-party/setting/PickyStory.js +4 -112
- package/dist/esm/third-party/setting/ProductReviews.js +4 -104
- package/dist/esm/third-party/setting/Rivyo.js +4 -112
- package/dist/esm/third-party/setting/Ryviu.js +4 -116
- package/dist/esm/third-party/setting/SealSubscriptions.js +4 -93
- package/dist/esm/third-party/setting/SmartSearchBarAndFilters.js +4 -94
- package/dist/esm/third-party/setting/Stamped/Badge.js +1 -115
- package/dist/esm/third-party/setting/Stamped/BadgeDouble.js +1 -20
- package/dist/esm/third-party/setting/Stamped/BadgeRibbon.js +1 -59
- package/dist/esm/third-party/setting/Stamped/BadgeSingle.js +1 -20
- package/dist/esm/third-party/setting/Stamped/Carousel.js +1 -124
- package/dist/esm/third-party/setting/Stamped/CheckoutReviews.js +1 -105
- package/dist/esm/third-party/setting/Stamped/Colors.js +1 -56
- package/dist/esm/third-party/setting/Stamped/Filters.js +1 -248
- package/dist/esm/third-party/setting/Stamped/FullPage.js +1 -88
- package/dist/esm/third-party/setting/Stamped/InstagramFeed.js +1 -109
- package/dist/esm/third-party/setting/Stamped/MainWidget.js +1 -143
- package/dist/esm/third-party/setting/Stamped/ProductRating.js +1 -71
- package/dist/esm/third-party/setting/Stamped/SingleHighlight.js +1 -20
- package/dist/esm/third-party/setting/Stamped/SiteBadge.js +1 -144
- package/dist/esm/third-party/setting/Stamped/TopRated.js +1 -35
- package/dist/esm/third-party/setting/Stamped/VisualGallery.js +1 -127
- package/dist/esm/third-party/setting/Stamped/WallPhotos.js +1 -29
- package/dist/esm/third-party/setting/Stamped/index.js +1 -48
- package/dist/esm/third-party/setting/Stamped.js +4 -103
- package/dist/esm/third-party/setting/TrustMe.js +4 -79
- package/dist/esm/third-party/setting/Trustoo.js +4 -163
- package/dist/esm/third-party/setting/UltimateSalesBoost.js +4 -177
- package/dist/esm/third-party/setting/Vitals.js +5 -336
- package/dist/esm/third-party/setting/WideBundle.js +4 -79
- package/dist/esm/third-party/setting/Wiser.js +4 -221
- package/dist/esm/third-party/setting/YotpoLoyalty.js +4 -77
- package/dist/esm/third-party/setting/YotpoReviews.js +4 -122
- package/dist/esm/third-party/setting/index.js +1 -83
- package/dist/esm/third-party-instant/components/InstantJudgemeReviews.js +1 -71
- package/dist/esm/third-party-instant/components/InstantKlaviyo.js +1 -43
- package/dist/esm/third-party-instant/components/InstantLooxReviews.js +1 -32
- package/dist/esm/third-party-instant/components/InstantThirdPartyPreview.js +1 -66
- package/dist/esm/third-party-instant/components/InstantYotpoLoyalty.js +1 -39
- package/dist/esm/third-party-instant/components/Judgeme/JudgemeSampleContent.js +1 -19
- package/dist/esm/third-party-instant/components/Judgeme/SingleProduct.js +1 -44
- package/dist/esm/third-party-instant/components/Judgeme/WithoutProduct.js +1 -89
- package/dist/esm/third-party-instant/components/Klaviyo/KlaviyoSampleContent.js +1 -19
- package/dist/esm/third-party-instant/components/LooxReviews/LooxReviewsSampleContent.js +2 -20
- package/dist/esm/third-party-instant/components/LooxReviews/SingleProduct.js +1 -47
- package/dist/esm/third-party-instant/components/LooxReviews/WithoutProduct.js +1 -51
- package/dist/esm/third-party-instant/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -19
- package/dist/esm/third-party-instant/configs/JudgemeReviews.js +1 -8
- package/dist/esm/third-party-instant/configs/Klaviyo.js +1 -8
- package/dist/esm/third-party-instant/configs/LooxReviews.js +1 -8
- package/dist/esm/third-party-instant/configs/YotpoLoyalty.js +1 -8
- package/dist/esm/third-party-instant/helpers/thirdParty.js +1 -68
- package/dist/esm/third-party-instant/next.js +1 -28
- package/dist/esm/third-party-instant/setting/InstantJudgemeReviews.js +4 -155
- package/dist/esm/third-party-instant/setting/InstantKlaviyo.js +4 -93
- package/dist/esm/third-party-instant/setting/InstantLooxReviews.js +4 -116
- package/dist/esm/third-party-instant/setting/InstantYotpoLoyalty.js +4 -93
- package/dist/esm/third-party-instant/setting/index.js +1 -13
- package/dist/esm/third-party-instant/types/JudgemeReviews.js +1 -7
- package/dist/esm/third-party-slot/components/ThirdPartySlot.js +1 -47
- package/dist/esm/third-party-slot/components/ThirdPartySlot.liquid.js +9 -21
- package/dist/esm/third-party-slot/next.js +1 -11
- package/dist/esm/third-party-slot/setting/ThirdPartySlot.js +2 -101
- package/dist/esm/third-party-slot/setting/index.js +1 -7
- package/dist/esm/video/components/HTML5Embed.js +1 -39
- package/dist/esm/video/components/HTML5Embed.liquid.js +21 -45
- package/dist/esm/video/components/LiteVimeoEmbed.js +1 -113
- package/dist/esm/video/components/LiteVimeoEmbed.liquid.js +13 -44
- package/dist/esm/video/components/LiteYouTubeEmbed.js +1 -191
- package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +15 -49
- package/dist/esm/video/components/Video.js +1 -134
- package/dist/esm/video/components/Video.liquid.js +6 -114
- package/dist/esm/video/helpers/common.js +1 -38
- package/dist/esm/video/next.js +1 -11
- package/dist/esm/video/setting/Video.js +3 -447
- package/dist/esm/video/setting/index.js +1 -7
- package/dist/types/index.d.ts +1084 -192
- package/package.json +3 -3
- package/dist/cjs/third-party/components/Bogos/BogosSampleContent.js +0 -36
- package/dist/cjs/third-party/components/Bogos.js +0 -22
- package/dist/cjs/third-party/components/Bogos.liquid.js +0 -31
- package/dist/cjs/third-party/components/CleanSizeChars.js +0 -43
- package/dist/cjs/third-party/components/CleanSizeCharts.liquid.js +0 -22
- package/dist/cjs/third-party/components/PushOwl.js +0 -9
- package/dist/cjs/third-party/components/PushOwl.liquid.js +0 -37
- package/dist/cjs/third-party/configs/Bogos.js +0 -12
- package/dist/cjs/third-party/configs/PushOwl.js +0 -12
- package/dist/cjs/third-party/setting/Bogos.js +0 -167
- package/dist/cjs/third-party/setting/CleanSizeCharts.js +0 -152
- package/dist/cjs/third-party/setting/PushOwl.js +0 -762
- package/dist/esm/third-party/components/Bogos/BogosSampleContent.js +0 -32
- package/dist/esm/third-party/components/Bogos.js +0 -18
- package/dist/esm/third-party/components/Bogos.liquid.js +0 -27
- package/dist/esm/third-party/components/CleanSizeChars.js +0 -38
- package/dist/esm/third-party/components/CleanSizeCharts.liquid.js +0 -18
- package/dist/esm/third-party/components/PushOwl.js +0 -5
- package/dist/esm/third-party/components/PushOwl.liquid.js +0 -33
- package/dist/esm/third-party/configs/Bogos.js +0 -8
- package/dist/esm/third-party/configs/PushOwl.js +0 -8
- package/dist/esm/third-party/setting/Bogos.js +0 -163
- package/dist/esm/third-party/setting/CleanSizeCharts.js +0 -148
- package/dist/esm/third-party/setting/PushOwl.js +0 -758
|
@@ -1,24 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const HTML5Embed = (props)=>{
|
|
5
|
-
const videoId = `gp-video-${props.uid}`;
|
|
6
|
-
const preloadThumbnail = props.autoplay && props.thumbnail;
|
|
7
|
-
const initPreloadPoster = ()=>{
|
|
8
|
-
if (!preloadThumbnail) return '';
|
|
9
|
-
return template`${NextImage({
|
|
10
|
-
src: props.thumbnail,
|
|
11
|
-
alt: props.title,
|
|
12
|
-
priority: true,
|
|
13
|
-
width: '100%',
|
|
14
|
-
height: 'auto',
|
|
15
|
-
style: {
|
|
16
|
-
'--op': 0,
|
|
17
|
-
'--z': -1,
|
|
18
|
-
display: 'none'
|
|
19
|
-
}
|
|
20
|
-
})}
|
|
21
|
-
${RenderIf(props.autoplay, `<script>
|
|
1
|
+
import{template as t,cls as e,RenderIf as o}from"@gem-sdk/core";import a from"../../image/components/NextImage.liquid.js";let HTML5Embed=n=>{let i=`gp-video-${n.uid}`,l=n.autoplay&&n.thumbnail,s=()=>l?t`${a({src:n.thumbnail,alt:n.title,priority:!0,width:"100%",height:"auto",style:{"--op":0,"--z":-1,display:"none"}})}
|
|
2
|
+
${o(n.autoplay,`<script>
|
|
22
3
|
document.addEventListener("DOMContentLoaded", (event) => {
|
|
23
4
|
const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
|
|
24
5
|
const autoLoadTimeout = setTimeout(runAutoPlayVideo, 0);
|
|
@@ -33,34 +14,29 @@ const HTML5Embed = (props)=>{
|
|
|
33
14
|
});
|
|
34
15
|
}
|
|
35
16
|
function runAutoPlayVideo() {
|
|
36
|
-
document.getElementById('${
|
|
37
|
-
document.getElementById('${
|
|
38
|
-
document.getElementById('${
|
|
17
|
+
document.getElementById('${i}').setAttribute('autoplay','true');
|
|
18
|
+
document.getElementById('${i}').setAttribute('playsinline','true');
|
|
19
|
+
document.getElementById('${i}').play();
|
|
39
20
|
}
|
|
40
21
|
});
|
|
41
|
-
</script>`,
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
return template`
|
|
45
|
-
${initPreloadPoster()}
|
|
22
|
+
</script>`,"")}
|
|
23
|
+
`:"";return t`
|
|
24
|
+
${s()}
|
|
46
25
|
<video
|
|
47
|
-
id="${
|
|
48
|
-
class="${
|
|
49
|
-
style="${
|
|
50
|
-
${
|
|
51
|
-
${
|
|
52
|
-
${
|
|
53
|
-
${
|
|
54
|
-
title="${
|
|
55
|
-
preload="${
|
|
56
|
-
data-src="${
|
|
57
|
-
poster="${
|
|
26
|
+
id="${i}"
|
|
27
|
+
class="${e("lazy gp-w-full",n.className)}"
|
|
28
|
+
style="${n.style}"
|
|
29
|
+
${n.controls?"controls":void 0}
|
|
30
|
+
${n.loop?"loop":void 0}
|
|
31
|
+
${n.autoplay?"muted":void 0}
|
|
32
|
+
${n.autoplay&&!l?"autoplay playsinline":void 0}
|
|
33
|
+
title="${n.title}"
|
|
34
|
+
preload="${n.autoplay&&!l?"metadata":"none"}"
|
|
35
|
+
data-src="${n.src}"
|
|
36
|
+
poster="${n.thumbnail}"
|
|
58
37
|
>
|
|
59
|
-
${
|
|
38
|
+
${o(n.src.endsWith(".mp4"),`<source data-src="${n.src}" type="video/mp4"></source>`)}
|
|
60
39
|
</video>
|
|
61
40
|
<script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@17.8.3/dist/lazyload.min.js"></script>
|
|
62
41
|
<script>if(lazyLoadInstance){lazyLoadInstance.update()}else{var lazyLoadInstance = new LazyLoad()}</script>
|
|
63
|
-
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
export { HTML5Embed as default };
|
|
42
|
+
`};export{HTML5Embed as default};
|
|
@@ -1,113 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { useCurrentDevice, getResponsiveValueByScreen, makeStyleResponsive, cls } from '@gem-sdk/core';
|
|
3
|
-
import Head from 'next/head';
|
|
4
|
-
import { useState, useEffect } from 'react';
|
|
5
|
-
|
|
6
|
-
const LiteVimeoEmbed = (props)=>{
|
|
7
|
-
const { autoplay, muted, loop, controls } = props;
|
|
8
|
-
const [thumbnail, setThumbnail] = useState();
|
|
9
|
-
const [iframe, setIframe] = useState(!props.lazy);
|
|
10
|
-
const videoId = encodeURIComponent(props.id);
|
|
11
|
-
const videoTitle = props.title;
|
|
12
|
-
const posterUrl = props.thumbnail || thumbnail;
|
|
13
|
-
const currentDevice = useCurrentDevice();
|
|
14
|
-
const aspectRatioResponsive = getResponsiveValueByScreen(props.aspectRatio, currentDevice);
|
|
15
|
-
const styleAspectRatio = makeStyleResponsive('aspect', props.aspectRatio);
|
|
16
|
-
const params = `?&autoplay=${autoplay}` + `&muted=${muted}` + `&loop=${loop}` + `&controls=${controls}` + '&autopause=false';
|
|
17
|
-
const iframeSrc = `https://player.vimeo.com/video/${videoId}${params}`;
|
|
18
|
-
useEffect(()=>{
|
|
19
|
-
fetch(`https://vimeo.com/api/v2/video/${videoId}.json`).then((res)=>{
|
|
20
|
-
return res.json();
|
|
21
|
-
}).then(([video])=>{
|
|
22
|
-
setThumbnail(video?.thumbnail_large);
|
|
23
|
-
});
|
|
24
|
-
}, [
|
|
25
|
-
videoId
|
|
26
|
-
]);
|
|
27
|
-
const addIframe = ()=>{
|
|
28
|
-
if (iframe) return;
|
|
29
|
-
setIframe(true);
|
|
30
|
-
};
|
|
31
|
-
return /*#__PURE__*/ jsxs(Fragment, {
|
|
32
|
-
children: [
|
|
33
|
-
!!props.thumbnail && /*#__PURE__*/ jsx("link", {
|
|
34
|
-
rel: "preload",
|
|
35
|
-
href: posterUrl,
|
|
36
|
-
as: "image"
|
|
37
|
-
}),
|
|
38
|
-
/*#__PURE__*/ jsx(Head, {
|
|
39
|
-
children: /*#__PURE__*/ jsxs(Fragment, {
|
|
40
|
-
children: [
|
|
41
|
-
/*#__PURE__*/ jsx("link", {
|
|
42
|
-
rel: "preconnect",
|
|
43
|
-
href: "https://player.vimeo.com"
|
|
44
|
-
}),
|
|
45
|
-
/*#__PURE__*/ jsx("link", {
|
|
46
|
-
rel: "preconnect",
|
|
47
|
-
href: "https://i.vimeocdn.com"
|
|
48
|
-
}),
|
|
49
|
-
/*#__PURE__*/ jsx("link", {
|
|
50
|
-
rel: "preconnect",
|
|
51
|
-
href: "https://f.vimeocdn.com"
|
|
52
|
-
}),
|
|
53
|
-
/*#__PURE__*/ jsx("link", {
|
|
54
|
-
rel: "preconnect",
|
|
55
|
-
href: "https://fresnel.vimeocdn.com"
|
|
56
|
-
})
|
|
57
|
-
]
|
|
58
|
-
})
|
|
59
|
-
}),
|
|
60
|
-
/*#__PURE__*/ jsxs("article", {
|
|
61
|
-
"aria-hidden": true,
|
|
62
|
-
onClick: addIframe,
|
|
63
|
-
className: cls('gp-relative gp-bg-cover gp-bg-center', {
|
|
64
|
-
'!gp-aspect-video': !posterUrl && (!aspectRatioResponsive || aspectRatioResponsive == 'auto')
|
|
65
|
-
}),
|
|
66
|
-
"data-title": videoTitle,
|
|
67
|
-
style: {
|
|
68
|
-
backgroundImage: `url(${posterUrl})`,
|
|
69
|
-
...styleAspectRatio
|
|
70
|
-
},
|
|
71
|
-
children: [
|
|
72
|
-
/*#__PURE__*/ jsx("img", {
|
|
73
|
-
src: posterUrl,
|
|
74
|
-
alt: "Poster",
|
|
75
|
-
className: "gp-invisible gp-h-full gp-w-full"
|
|
76
|
-
}),
|
|
77
|
-
/*#__PURE__*/ jsx("button", {
|
|
78
|
-
type: "button",
|
|
79
|
-
className: cls('gp-absolute gp-left-1/2 gp-top-1/2 gp-flex gp-aspect-[56/32] gp-w-14 -gp-translate-x-1/2 -gp-translate-y-1/2 gp-items-center gp-justify-center gp-rounded gp-bg-black/80 gp-transition-colors hover:gp-bg-[#ef0800]', {
|
|
80
|
-
'gp-invisible gp-opacity-0': iframe,
|
|
81
|
-
'gp-visible gp-opacity-100': !iframe
|
|
82
|
-
}),
|
|
83
|
-
"aria-label": "Play",
|
|
84
|
-
children: /*#__PURE__*/ jsx("svg", {
|
|
85
|
-
className: "gp-w-5 gp-text-white",
|
|
86
|
-
viewBox: "0 0 24 24",
|
|
87
|
-
children: /*#__PURE__*/ jsx("path", {
|
|
88
|
-
fill: "currentColor",
|
|
89
|
-
d: "M5 5.274c0-1.707 1.826-2.792 3.325-1.977l12.362 6.726c1.566.853 1.566 3.101 0 3.953L8.325 20.702C6.826 21.518 5 20.432 5 18.726V5.274Z"
|
|
90
|
-
})
|
|
91
|
-
})
|
|
92
|
-
}),
|
|
93
|
-
iframe && /*#__PURE__*/ jsx("iframe", {
|
|
94
|
-
className: "gp-inset-0 gp-w-full gp-bg-black",
|
|
95
|
-
style: {
|
|
96
|
-
...styleAspectRatio,
|
|
97
|
-
position: 'absolute',
|
|
98
|
-
height: '100%',
|
|
99
|
-
width: '100%'
|
|
100
|
-
},
|
|
101
|
-
title: videoTitle,
|
|
102
|
-
frameBorder: "0",
|
|
103
|
-
allow: "accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",
|
|
104
|
-
allowFullScreen: true,
|
|
105
|
-
src: iframeSrc
|
|
106
|
-
})
|
|
107
|
-
]
|
|
108
|
-
})
|
|
109
|
-
]
|
|
110
|
-
});
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
export { LiteVimeoEmbed as default };
|
|
1
|
+
import{jsxs as e,Fragment as t,jsx as l}from"react/jsx-runtime";import{useCurrentDevice as i,getResponsiveValueByScreen as o,makeStyleResponsive as r,cls as a}from"@gem-sdk/core";import p from"next/head";import{useState as c,useEffect as n}from"react";let LiteVimeoEmbed=s=>{let{autoplay:g,muted:m,loop:d,controls:h}=s,[u,f]=c(),[b,v]=c(!s.lazy),y=encodeURIComponent(s.id),k=s.title,w=s.thumbnail||u,$=i(),x=o(s.aspectRatio,$),N=r("aspect",s.aspectRatio),j=`?&autoplay=${g}&muted=${m}&loop=${d}&controls=${h}&autopause=false`,C=`https://player.vimeo.com/video/${y}${j}`;n(()=>{fetch(`https://vimeo.com/api/v2/video/${y}.json`).then(e=>e.json()).then(([e])=>{f(e?.thumbnail_large)})},[y]);let L=()=>{b||v(!0)};return e(t,{children:[!!s.thumbnail&&l("link",{rel:"preload",href:w,as:"image"}),l(p,{children:e(t,{children:[l("link",{rel:"preconnect",href:"https://player.vimeo.com"}),l("link",{rel:"preconnect",href:"https://i.vimeocdn.com"}),l("link",{rel:"preconnect",href:"https://f.vimeocdn.com"}),l("link",{rel:"preconnect",href:"https://fresnel.vimeocdn.com"})]})}),e("article",{"aria-hidden":!0,onClick:L,className:a("gp-relative gp-bg-cover gp-bg-center",{"!gp-aspect-video":!w&&(!x||"auto"==x)}),"data-title":k,style:{backgroundImage:`url(${w})`,...N},children:[l("img",{src:w,alt:"Poster",className:"gp-invisible gp-h-full gp-w-full"}),l("button",{type:"button",className:a("gp-absolute gp-left-1/2 gp-top-1/2 gp-flex gp-aspect-[56/32] gp-w-14 -gp-translate-x-1/2 -gp-translate-y-1/2 gp-items-center gp-justify-center gp-rounded gp-bg-black/80 gp-transition-colors hover:gp-bg-[#ef0800]",{"gp-invisible gp-opacity-0":b,"gp-visible gp-opacity-100":!b}),"aria-label":"Play",children:l("svg",{className:"gp-w-5 gp-text-white",viewBox:"0 0 24 24",children:l("path",{fill:"currentColor",d:"M5 5.274c0-1.707 1.826-2.792 3.325-1.977l12.362 6.726c1.566.853 1.566 3.101 0 3.953L8.325 20.702C6.826 21.518 5 20.432 5 18.726V5.274Z"})})}),b&&l("iframe",{className:"gp-inset-0 gp-w-full gp-bg-black",style:{...N,position:"absolute",height:"100%",width:"100%"},title:k,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:C})]})]})};export{LiteVimeoEmbed as default};
|
|
@@ -1,42 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const LiteVimeoEmbed = (props)=>{
|
|
4
|
-
const { style, autoplay, muted, loop, controls, title, id, thumbnail, lazy } = props;
|
|
5
|
-
const videoId = encodeURIComponent(props.id);
|
|
6
|
-
const params = `?&autoplay=${autoplay}` + `&muted=${muted}` + `&loop=${loop}` + `&controls=${controls}` + '&autopause=false';
|
|
7
|
-
const iframeSrc = `https://player.vimeo.com/video/${videoId}${params}`;
|
|
8
|
-
return template`
|
|
9
|
-
<gp-lite-vimeo-embed gp-data='${JSON.stringify({
|
|
10
|
-
id,
|
|
11
|
-
thumbnail,
|
|
12
|
-
lazy,
|
|
13
|
-
iframeSrc,
|
|
14
|
-
title,
|
|
15
|
-
style
|
|
16
|
-
})}'>
|
|
1
|
+
import{template as e,cls as t,RenderIf as p,isLocalEnv as i,baseAssetURL as l}from"@gem-sdk/core";let LiteVimeoEmbed=o=>{let{style:a,autoplay:s,muted:r,loop:c,controls:g,title:n,id:m,thumbnail:d,lazy:b}=o,f=encodeURIComponent(o.id),u=`?&autoplay=${s}&muted=${r}&loop=${c}&controls=${g}&autopause=false`,v=`https://player.vimeo.com/video/${f}${u}`;return e`
|
|
2
|
+
<gp-lite-vimeo-embed gp-data='${JSON.stringify({id:m,thumbnail:d,lazy:b,iframeSrc:v,title:n,style:a})}'>
|
|
17
3
|
<link rel="preconnect" href="https://player.vimeo.com" />
|
|
18
4
|
<link rel="preconnect" href="https://i.vimeocdn.com" />
|
|
19
5
|
<link rel="preconnect" href="https://f.vimeocdn.com" />
|
|
20
6
|
<link rel="preconnect" href="https://fresnel.vimeocdn.com" />
|
|
21
7
|
<article
|
|
22
8
|
aria-hidden
|
|
23
|
-
class="${
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
'mobile:!gp-aspect-video': !thumbnail && (!style?.['--aspect-mobile'] || style?.['--aspect-mobile'] == 'auto')
|
|
27
|
-
})}"
|
|
28
|
-
data-title="${title}"
|
|
29
|
-
style="${{
|
|
30
|
-
...style
|
|
31
|
-
}}"
|
|
9
|
+
class="${t("gp-relative gp-bg-cover gp-bg-center gp-lite-vimeo-embed-article",{"!gp-aspect-video":!d&&(!a?.["--aspect"]||a?.["--aspect"]=="auto"),"tablet:!gp-aspect-video":!d&&(!a?.["--aspect-tablet"]||a?.["--aspect-tablet"]=="auto"),"mobile:!gp-aspect-video":!d&&(!a?.["--aspect-mobile"]||a?.["--aspect-mobile"]=="auto")})}"
|
|
10
|
+
data-title="${n}"
|
|
11
|
+
style="${{...a}}"
|
|
32
12
|
>
|
|
33
|
-
<img src="${
|
|
13
|
+
<img src="${d}" alt="Poster" class="gp-invisible gp-h-full gp-w-full" />
|
|
34
14
|
<button
|
|
35
15
|
type="button"
|
|
36
|
-
class="${
|
|
37
|
-
'gp-invisible gp-opacity-0': !lazy,
|
|
38
|
-
'gp-visible gp-opacity-100': lazy
|
|
39
|
-
})}"
|
|
16
|
+
class="${t("gp-absolute gp-top-1/2 gp-left-1/2 gp-flex gp-aspect-[56/32] gp-w-[56px] -gp-translate-x-1/2 -gp-translate-y-1/2 gp-items-center gp-justify-center gp-rounded gp-bg-black/80 gp-transition-colors hover:gp-bg-[#ef0800]","gp-lite-vimeo-embed-button",{"gp-invisible gp-opacity-0":!b,"gp-visible gp-opacity-100":b})}"
|
|
40
17
|
aria-label="Play"
|
|
41
18
|
>
|
|
42
19
|
<svg class="gp-w-[20px] gp-text-white" viewBox="0 0 24 24">
|
|
@@ -46,24 +23,16 @@ const LiteVimeoEmbed = (props)=>{
|
|
|
46
23
|
/>
|
|
47
24
|
</svg>
|
|
48
25
|
</button>
|
|
49
|
-
${
|
|
50
|
-
style="${{
|
|
51
|
-
|
|
52
|
-
position: 'absolute',
|
|
53
|
-
height: '100%',
|
|
54
|
-
width: '100%'
|
|
55
|
-
}}"
|
|
56
|
-
title="${title}"
|
|
26
|
+
${p(!b,e`<iframe
|
|
27
|
+
style="${{...a,position:"absolute",height:"100%",width:"100%"}}"
|
|
28
|
+
title="${n}"
|
|
57
29
|
frameborder="0"
|
|
58
30
|
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
|
|
59
31
|
allowfullscreen
|
|
60
|
-
src="${
|
|
32
|
+
src="${v}"
|
|
61
33
|
class="gp-inset-0 gp-w-full gp-bg-black gp-absolute"
|
|
62
34
|
></iframe>`)}
|
|
63
35
|
</article>
|
|
64
36
|
</gp-lite-vimeo-embed>
|
|
65
|
-
${
|
|
66
|
-
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
export { LiteVimeoEmbed as default };
|
|
37
|
+
${p(i,'<script src="{{ \'gp-lite-vimeo-embed.js\' | asset_url }}" defer="defer"></script>',`<script src="${l}/assets-v2/gp-lite-vimeo-embed.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|
|
38
|
+
`};export{LiteVimeoEmbed as default};
|
|
@@ -1,191 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import Head from 'next/head';
|
|
3
|
-
import { cls } from '@gem-sdk/core';
|
|
4
|
-
import { useState, useRef, useEffect } from 'react';
|
|
5
|
-
import YouTube from 'react-youtube';
|
|
6
|
-
import { isSettingLoop, covertStrParamsToObj } from '../helpers/common.js';
|
|
7
|
-
|
|
8
|
-
const LiteYouTubeEmbed = (props)=>{
|
|
9
|
-
const { style, isHeroBanner } = props;
|
|
10
|
-
const [preconnected, setPreconnected] = useState(false);
|
|
11
|
-
const [iframe, setIframe] = useState(!props.lazy);
|
|
12
|
-
const videoId = encodeURIComponent(props.id);
|
|
13
|
-
const videoTitle = props.title;
|
|
14
|
-
const posterImp = props.poster || 'hqdefault';
|
|
15
|
-
const paramsImp = `${props.params}` || '';
|
|
16
|
-
const mutedImp = props.muted ? '&mute=1' : '';
|
|
17
|
-
const format = props.webp ? 'webp' : 'jpg';
|
|
18
|
-
const vi = props.webp ? 'vi_webp' : 'vi';
|
|
19
|
-
const posterUrl = props.thumbnail || `https://i.ytimg.com/${vi}/${videoId}/${posterImp}.${format}`;
|
|
20
|
-
const ytUrl = props.noCookie ? 'https://www.youtube-nocookie.com' : 'https://www.youtube.com';
|
|
21
|
-
const iframeSrc = `${ytUrl}/embed/${videoId}?autoplay=1&state=1${mutedImp}${paramsImp}&controls=${props.controls ? 1 : 0}`;
|
|
22
|
-
const adNetworkImp = props.adNetwork || false;
|
|
23
|
-
const warmConnections = ()=>{
|
|
24
|
-
if (preconnected) return;
|
|
25
|
-
setPreconnected(true);
|
|
26
|
-
};
|
|
27
|
-
const addIframe = ()=>{
|
|
28
|
-
if (iframe) return;
|
|
29
|
-
setIframe(true);
|
|
30
|
-
};
|
|
31
|
-
const isVideoStarted = useRef(false);
|
|
32
|
-
const videoDuration = useRef(0);
|
|
33
|
-
const intervalRef = useRef();
|
|
34
|
-
const intervalPlay = (e)=>{
|
|
35
|
-
const player = e.target;
|
|
36
|
-
if (player && isHeroBanner && isSettingLoop(paramsImp) && videoDuration.current > 0) {
|
|
37
|
-
const intervalTime = parseFloat((videoDuration.current / 100 * 5).toFixed(2));
|
|
38
|
-
clearInterval(intervalRef.current);
|
|
39
|
-
intervalRef.current = setInterval(()=>{
|
|
40
|
-
const currentTime = parseFloat(player.getCurrentTime().toFixed(2));
|
|
41
|
-
const remainingTime = parseFloat((videoDuration.current - currentTime).toFixed(2));
|
|
42
|
-
if (remainingTime <= parseFloat((intervalTime * 1.5).toFixed(2))) {
|
|
43
|
-
player.seekTo(0);
|
|
44
|
-
}
|
|
45
|
-
}, intervalTime * 1000);
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
useEffect(()=>{
|
|
49
|
-
return ()=>{
|
|
50
|
-
if (intervalRef.current) {
|
|
51
|
-
clearInterval(intervalRef.current);
|
|
52
|
-
isVideoStarted.current = false;
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
}, [
|
|
56
|
-
videoId,
|
|
57
|
-
paramsImp
|
|
58
|
-
]);
|
|
59
|
-
const renderVideo = ()=>{
|
|
60
|
-
if (!iframe) return;
|
|
61
|
-
if (isHeroBanner && isSettingLoop(paramsImp)) {
|
|
62
|
-
return /*#__PURE__*/ jsx(YouTube, {
|
|
63
|
-
videoId: videoId,
|
|
64
|
-
title: videoTitle,
|
|
65
|
-
iframeClassName: `${props.iframeClass} gp-inset-0 gp-w-full gp-bg-black`,
|
|
66
|
-
className: "gp-absolute gp-left-0 gp-top-0 gp-aspect-video gp-h-full gp-w-full",
|
|
67
|
-
opts: {
|
|
68
|
-
host: 'https://www.youtube-nocookie.com',
|
|
69
|
-
playerVars: {
|
|
70
|
-
autoplay: 1,
|
|
71
|
-
state: 1,
|
|
72
|
-
controls: 0,
|
|
73
|
-
mute: 1,
|
|
74
|
-
...covertStrParamsToObj(paramsImp)
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
onReady: (e)=>{
|
|
78
|
-
e.target.playVideo();
|
|
79
|
-
videoDuration.current = Math.floor(e.target.getDuration());
|
|
80
|
-
},
|
|
81
|
-
onStateChange: (e)=>{
|
|
82
|
-
const player = e.target;
|
|
83
|
-
if (!isVideoStarted.current) {
|
|
84
|
-
player.playVideo();
|
|
85
|
-
isVideoStarted.current = true;
|
|
86
|
-
intervalPlay(e);
|
|
87
|
-
}
|
|
88
|
-
if (e.data === 0) {
|
|
89
|
-
videoDuration.current = player.getCurrentTime();
|
|
90
|
-
player.playVideo();
|
|
91
|
-
intervalPlay(e);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
return /*#__PURE__*/ jsx("iframe", {
|
|
97
|
-
className: `${props.iframeClass} gp-inset-0 gp-w-full gp-bg-black`,
|
|
98
|
-
style: {
|
|
99
|
-
...style,
|
|
100
|
-
position: 'absolute',
|
|
101
|
-
height: '100%',
|
|
102
|
-
width: '100%'
|
|
103
|
-
},
|
|
104
|
-
title: videoTitle,
|
|
105
|
-
frameBorder: "0",
|
|
106
|
-
allow: "accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",
|
|
107
|
-
allowFullScreen: true,
|
|
108
|
-
src: iframeSrc
|
|
109
|
-
});
|
|
110
|
-
};
|
|
111
|
-
return /*#__PURE__*/ jsxs(Fragment, {
|
|
112
|
-
children: [
|
|
113
|
-
/*#__PURE__*/ jsx(Head, {
|
|
114
|
-
children: /*#__PURE__*/ jsxs(Fragment, {
|
|
115
|
-
children: [
|
|
116
|
-
/*#__PURE__*/ jsx("link", {
|
|
117
|
-
rel: "preload",
|
|
118
|
-
href: posterUrl,
|
|
119
|
-
as: "image"
|
|
120
|
-
}),
|
|
121
|
-
/*#__PURE__*/ jsx("link", {
|
|
122
|
-
rel: "preconnect",
|
|
123
|
-
href: ytUrl
|
|
124
|
-
}),
|
|
125
|
-
/*#__PURE__*/ jsx("link", {
|
|
126
|
-
rel: "preconnect",
|
|
127
|
-
href: "https://www.google.com"
|
|
128
|
-
}),
|
|
129
|
-
adNetworkImp && /*#__PURE__*/ jsxs(Fragment, {
|
|
130
|
-
children: [
|
|
131
|
-
/*#__PURE__*/ jsx("link", {
|
|
132
|
-
rel: "preconnect",
|
|
133
|
-
href: "https://static.doubleclick.net"
|
|
134
|
-
}),
|
|
135
|
-
/*#__PURE__*/ jsx("link", {
|
|
136
|
-
rel: "preconnect",
|
|
137
|
-
href: "https://googleads.g.doubleclick.net"
|
|
138
|
-
})
|
|
139
|
-
]
|
|
140
|
-
})
|
|
141
|
-
]
|
|
142
|
-
})
|
|
143
|
-
}),
|
|
144
|
-
/*#__PURE__*/ jsxs("article", {
|
|
145
|
-
"aria-hidden": true,
|
|
146
|
-
onPointerOver: warmConnections,
|
|
147
|
-
onClick: addIframe,
|
|
148
|
-
className: `${props.wrapperClass} gp-relative gp-bg-cover gp-bg-center`,
|
|
149
|
-
"data-title": videoTitle,
|
|
150
|
-
style: {
|
|
151
|
-
backgroundImage: `url(${posterUrl})`,
|
|
152
|
-
...style
|
|
153
|
-
},
|
|
154
|
-
children: [
|
|
155
|
-
/*#__PURE__*/ jsx("img", {
|
|
156
|
-
src: posterUrl,
|
|
157
|
-
alt: "Poster",
|
|
158
|
-
className: "gp-invisible gp-h-full gp-w-full"
|
|
159
|
-
}),
|
|
160
|
-
/*#__PURE__*/ jsx("button", {
|
|
161
|
-
type: "button",
|
|
162
|
-
className: cls('gp-absolute gp-left-1/2 gp-top-1/2 gp-w-[68px] -gp-translate-x-1/2 -gp-translate-y-1/2', {
|
|
163
|
-
'gp-invisible gp-opacity-0': iframe,
|
|
164
|
-
'gp-visible gp-opacity-100': !iframe
|
|
165
|
-
}),
|
|
166
|
-
"aria-label": "Play",
|
|
167
|
-
children: /*#__PURE__*/ jsxs("svg", {
|
|
168
|
-
height: "100%",
|
|
169
|
-
version: "1.1",
|
|
170
|
-
viewBox: "0 0 68 48",
|
|
171
|
-
width: "100%",
|
|
172
|
-
children: [
|
|
173
|
-
/*#__PURE__*/ jsx("path", {
|
|
174
|
-
d: "M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",
|
|
175
|
-
fill: "#f00"
|
|
176
|
-
}),
|
|
177
|
-
/*#__PURE__*/ jsx("path", {
|
|
178
|
-
d: "M 45,24 27,14 27,34",
|
|
179
|
-
fill: "#fff"
|
|
180
|
-
})
|
|
181
|
-
]
|
|
182
|
-
})
|
|
183
|
-
}),
|
|
184
|
-
renderVideo()
|
|
185
|
-
]
|
|
186
|
-
})
|
|
187
|
-
]
|
|
188
|
-
});
|
|
189
|
-
};
|
|
190
|
-
|
|
191
|
-
export { LiteYouTubeEmbed as default };
|
|
1
|
+
import{jsxs as e,Fragment as t,jsx as r}from"react/jsx-runtime";import l from"next/head";import{cls as o}from"@gem-sdk/core";import{useState as a,useRef as i,useEffect as p}from"react";import c from"react-youtube";import{isSettingLoop as n,covertStrParamsToObj as s}from"../helpers/common.js";let LiteYouTubeEmbed=u=>{let{style:g,isHeroBanner:m}=u,[d,h]=a(!1),[f,b]=a(!u.lazy),w=encodeURIComponent(u.id),y=u.title,k=u.poster||"hqdefault",v=`${u.params}`||"",C=u.muted?"&mute=1":"",$=u.webp?"webp":"jpg",x=u.webp?"vi_webp":"vi",F=u.thumbnail||`https://i.ytimg.com/${x}/${w}/${k}.${$}`,N=u.noCookie?"https://www.youtube-nocookie.com":"https://www.youtube.com",I=`${N}/embed/${w}?autoplay=1&state=1${C}${v}&controls=${u.controls?1:0}`,T=u.adNetwork||!1,S=()=>{d||h(!0)},V=()=>{f||b(!0)},j=i(!1),M=i(0),P=i(),z=e=>{let t=e.target;if(t&&m&&n(v)&&M.current>0){let e=parseFloat((M.current/100*5).toFixed(2));clearInterval(P.current),P.current=setInterval(()=>{let r=parseFloat(t.getCurrentTime().toFixed(2)),l=parseFloat((M.current-r).toFixed(2));l<=parseFloat((1.5*e).toFixed(2))&&t.seekTo(0)},1e3*e)}};p(()=>()=>{P.current&&(clearInterval(P.current),j.current=!1)},[w,v]);let B=()=>{if(f)return m&&n(v)?r(c,{videoId:w,title:y,iframeClassName:`${u.iframeClass} gp-inset-0 gp-w-full gp-bg-black`,className:"gp-absolute gp-left-0 gp-top-0 gp-aspect-video gp-h-full gp-w-full",opts:{host:"https://www.youtube-nocookie.com",playerVars:{autoplay:1,state:1,controls:0,mute:1,...s(v)}},onReady:e=>{e.target.playVideo(),M.current=Math.floor(e.target.getDuration())},onStateChange:e=>{let t=e.target;j.current||(t.playVideo(),j.current=!0,z(e)),0===e.data&&(M.current=t.getCurrentTime(),t.playVideo(),z(e))}}):r("iframe",{className:`${u.iframeClass} gp-inset-0 gp-w-full gp-bg-black`,style:{...g,position:"absolute",height:"100%",width:"100%"},title:y,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:I})};return e(t,{children:[r(l,{children:e(t,{children:[r("link",{rel:"preload",href:F,as:"image"}),r("link",{rel:"preconnect",href:N}),r("link",{rel:"preconnect",href:"https://www.google.com"}),T&&e(t,{children:[r("link",{rel:"preconnect",href:"https://static.doubleclick.net"}),r("link",{rel:"preconnect",href:"https://googleads.g.doubleclick.net"})]})]})}),e("article",{"aria-hidden":!0,onPointerOver:S,onClick:V,className:`${u.wrapperClass} gp-relative gp-bg-cover gp-bg-center`,"data-title":y,style:{backgroundImage:`url(${F})`,...g},children:[r("img",{src:F,alt:"Poster",className:"gp-invisible gp-h-full gp-w-full"}),r("button",{type:"button",className:o("gp-absolute gp-left-1/2 gp-top-1/2 gp-w-[68px] -gp-translate-x-1/2 -gp-translate-y-1/2",{"gp-invisible gp-opacity-0":f,"gp-visible gp-opacity-100":!f}),"aria-label":"Play",children:e("svg",{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%",children:[r("path",{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#f00"}),r("path",{d:"M 45,24 27,14 27,34",fill:"#fff"})]})}),B()]})]})};export{LiteYouTubeEmbed as default};
|
|
@@ -1,48 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const videoId = encodeURIComponent(props.id);
|
|
6
|
-
const videoTitle = props.title;
|
|
7
|
-
const posterImp = props.poster || 'hqdefault';
|
|
8
|
-
const paramsImp = `&${props.params}` || '';
|
|
9
|
-
const mutedImp = props.muted ? '&mute=1' : '';
|
|
10
|
-
const format = props.webp ? 'webp' : 'jpg';
|
|
11
|
-
const vi = props.webp ? 'vi_webp' : 'vi';
|
|
12
|
-
const posterUrl = props.thumbnail || `https://i.ytimg.com/${vi}/${videoId}/${posterImp}.${format}`;
|
|
13
|
-
const ytUrl = props.noCookie ? 'https://www.youtube-nocookie.com' : 'https://www.youtube.com';
|
|
14
|
-
const iframeSrc = `${ytUrl}/embed/${videoId}?autoplay=1&state=1${mutedImp}${paramsImp}&controls=${props.controls ? 1 : 0}`;
|
|
15
|
-
const adNetworkImp = props.adNetwork || false;
|
|
16
|
-
return template`
|
|
17
|
-
<gp-lite-youtube-embed gp-data='${JSON.stringify({
|
|
18
|
-
lazy,
|
|
19
|
-
style,
|
|
20
|
-
videoTitle,
|
|
21
|
-
iframeSrc
|
|
22
|
-
})}'>
|
|
23
|
-
<link rel="preload" href="${posterUrl}" as="image" />
|
|
24
|
-
<link rel="preconnect" href="${ytUrl}" />
|
|
1
|
+
import{template as e,RenderIf as t,cls as l,isLocalEnv as i,baseAssetURL as o}from"@gem-sdk/core";let LiteYouTubeEmbed=p=>{let{style:r,lazy:a}=p,s=encodeURIComponent(p.id),c=p.title,g=p.poster||"hqdefault",u=`&${p.params}`||"",b=p.muted?"&mute=1":"",n=p.webp?"webp":"jpg",d=p.webp?"vi_webp":"vi",m=p.thumbnail||`https://i.ytimg.com/${d}/${s}/${g}.${n}`,f=p.noCookie?"https://www.youtube-nocookie.com":"https://www.youtube.com",h=`${f}/embed/${s}?autoplay=1&state=1${b}${u}&controls=${p.controls?1:0}`,$=p.adNetwork||!1;return e`
|
|
2
|
+
<gp-lite-youtube-embed gp-data='${JSON.stringify({lazy:a,style:r,videoTitle:c,iframeSrc:h})}'>
|
|
3
|
+
<link rel="preload" href="${m}" as="image" />
|
|
4
|
+
<link rel="preconnect" href="${f}" />
|
|
25
5
|
<link rel="preconnect" href="https://www.google.com" />
|
|
26
|
-
${
|
|
6
|
+
${t($,`
|
|
27
7
|
<link rel="preconnect" href="https://static.doubleclick.net" />
|
|
28
8
|
<link rel="preconnect" href="https://googleads.g.doubleclick.net" />
|
|
29
9
|
`)}
|
|
30
10
|
<article
|
|
31
11
|
aria-hidden
|
|
32
12
|
class="gp-relative gp-bg-cover gp-bg-center gp-lite-youtube-embed-article"
|
|
33
|
-
data-title="${
|
|
34
|
-
style="${{
|
|
35
|
-
'background-image': `url(${posterUrl})`,
|
|
36
|
-
...style
|
|
37
|
-
}}"
|
|
13
|
+
data-title="${c}"
|
|
14
|
+
style="${{"background-image":`url(${m})`,...r}}"
|
|
38
15
|
>
|
|
39
|
-
<img src="${
|
|
16
|
+
<img src="${m}" alt="Poster" class="gp-invisible gp-w-full gp-h-full" />
|
|
40
17
|
<button
|
|
41
18
|
type="button"
|
|
42
|
-
class="${
|
|
43
|
-
'gp-invisible gp-opacity-0': !lazy,
|
|
44
|
-
'gp-visible gp-opacity-100': lazy
|
|
45
|
-
})}"
|
|
19
|
+
class="${l("gp-absolute gp-top-1/2 gp-left-1/2 gp-w-[68px] -gp-translate-x-1/2 -gp-translate-y-1/2","gp-lite-youtube-embed-button",{"gp-invisible gp-opacity-0":!a,"gp-visible gp-opacity-100":a})}"
|
|
46
20
|
aria-label="Play"
|
|
47
21
|
>
|
|
48
22
|
<svg height="100%" version="1.1" viewBox="0 0 68 48" width="100%">
|
|
@@ -53,26 +27,18 @@ const LiteYouTubeEmbed = (props)=>{
|
|
|
53
27
|
<path d="M 45,24 27,14 27,34" fill="#fff"></path>
|
|
54
28
|
</svg>
|
|
55
29
|
</button>
|
|
56
|
-
${
|
|
30
|
+
${t(!a,e`
|
|
57
31
|
<iframe
|
|
58
|
-
style="${{
|
|
59
|
-
|
|
60
|
-
position: 'absolute',
|
|
61
|
-
height: '100%',
|
|
62
|
-
width: '100%'
|
|
63
|
-
}}"
|
|
64
|
-
title="${videoTitle}"
|
|
32
|
+
style="${{...r,position:"absolute",height:"100%",width:"100%"}}"
|
|
33
|
+
title="${c}"
|
|
65
34
|
frameborder="0"
|
|
66
35
|
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
|
|
67
36
|
allowfullscreen
|
|
68
|
-
src="${
|
|
37
|
+
src="${h}"
|
|
69
38
|
class="gp-inset-0 gp-w-full gp-bg-black gp-absolute"
|
|
70
39
|
></iframe>
|
|
71
40
|
`)}
|
|
72
41
|
</article>
|
|
73
42
|
</gp-lite-youtube-embed>
|
|
74
|
-
${
|
|
75
|
-
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
export { LiteYouTubeEmbed as default };
|
|
43
|
+
${t(i,'<script src="{{ \'gp-lite-youtube-embed.js\' | asset_url }}" defer="defer"></script>',`<script src="${o}/assets-v2/gp-lite-youtube-embed.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|
|
44
|
+
`};export{LiteYouTubeEmbed as default};
|