@gem-sdk/components 1.38.0 → 2.0.0-dev.832
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 -504
- package/dist/cjs/carousel/components/Carousel.liquid.js +15 -218
- 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 -500
- package/dist/esm/carousel/components/Carousel.liquid.js +15 -214
- 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,561 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
var react = require('react');
|
|
7
|
-
var commonStyles = require('../constants/commonStyles.js');
|
|
8
|
-
var core = require('@gem-sdk/core');
|
|
9
|
-
var helpers = require('../../image/components/helpers.js');
|
|
10
|
-
|
|
11
|
-
const CompareImage = (props)=>{
|
|
12
|
-
const { handle = null, handleSize = 40, hover = false, leftImage, leftImageAlt = '', leftImageTitle = '', leftImageCss = {}, leftImageLabel = null, onSliderPositionChange, rightImage, rightImageAlt = '', rightImageTitle = '', rightImageCss = {}, rightImageLabel = null, sliderLineColor = '#ffffff', sliderLineWidth = 2, sliderPositionPercentage = 0.5, vertical = false, enableLabel = false, componentUid, styles = {}, builderData, preload } = props;
|
|
13
|
-
const horizontal = !vertical;
|
|
14
|
-
const mode = core.useEditorMode();
|
|
15
|
-
const [sliderPosition, setSliderPosition] = react.useState(sliderPositionPercentage);
|
|
16
|
-
const [containerWidth, setContainerWidth] = react.useState(0);
|
|
17
|
-
const [containerHeight, setContainerHeight] = react.useState(0);
|
|
18
|
-
const [leftImgLoaded, setLeftImgLoaded] = react.useState(false);
|
|
19
|
-
const [rightImgLoaded, setRightImgLoaded] = react.useState(false);
|
|
20
|
-
const containerRef = react.useRef(null);
|
|
21
|
-
const sliderRef = react.useRef(null);
|
|
22
|
-
const rightImageRef = react.useRef(null);
|
|
23
|
-
const leftImageRef = react.useRef(null);
|
|
24
|
-
const defaultRatio = react.useMemo(()=>{
|
|
25
|
-
const leftRatio = (leftImage?.width ?? 0) / (leftImage?.height ?? 1);
|
|
26
|
-
const rightRatio = (rightImage?.width ?? 0) / (rightImage?.height ?? 1);
|
|
27
|
-
return leftRatio <= rightRatio ? `${leftImage?.width ?? 0}/${leftImage?.height ?? 1}` : `${rightImage?.width ?? 0}/${rightImage?.height ?? 1}`;
|
|
28
|
-
}, [
|
|
29
|
-
leftImage,
|
|
30
|
-
rightImage
|
|
31
|
-
]);
|
|
32
|
-
const baseRatioImage = react.useMemo(()=>{
|
|
33
|
-
const leftRatio = (leftImage?.width ?? 0) / (leftImage?.height ?? 1);
|
|
34
|
-
const rightRatio = (rightImage?.width ?? 0) / (rightImage?.height ?? 1);
|
|
35
|
-
return leftRatio <= rightRatio ? leftImage : rightImage;
|
|
36
|
-
}, [
|
|
37
|
-
leftImage,
|
|
38
|
-
rightImage
|
|
39
|
-
]);
|
|
40
|
-
const aspectRatio = react.useMemo(()=>{
|
|
41
|
-
return {
|
|
42
|
-
desktop: helpers.composeAspectRatio({
|
|
43
|
-
device: 'desktop',
|
|
44
|
-
aspect: styles?.aspectRatio,
|
|
45
|
-
auto: baseRatioImage,
|
|
46
|
-
custom: styles?.customAspectRadio
|
|
47
|
-
}) ?? defaultRatio,
|
|
48
|
-
tablet: helpers.composeAspectRatio({
|
|
49
|
-
device: 'tablet',
|
|
50
|
-
aspect: styles?.aspectRatio,
|
|
51
|
-
auto: baseRatioImage,
|
|
52
|
-
custom: styles?.customAspectRadio
|
|
53
|
-
}),
|
|
54
|
-
mobile: helpers.composeAspectRatio({
|
|
55
|
-
device: 'mobile',
|
|
56
|
-
aspect: styles?.aspectRatio,
|
|
57
|
-
auto: baseRatioImage,
|
|
58
|
-
custom: styles?.customAspectRadio
|
|
59
|
-
})
|
|
60
|
-
};
|
|
61
|
-
}, [
|
|
62
|
-
baseRatioImage,
|
|
63
|
-
defaultRatio,
|
|
64
|
-
styles?.aspectRatio,
|
|
65
|
-
styles?.customAspectRadio
|
|
66
|
-
]);
|
|
67
|
-
const minPos = react.useMemo(()=>{
|
|
68
|
-
return sliderLineWidth / 2 + 21;
|
|
69
|
-
}, [
|
|
70
|
-
sliderLineWidth
|
|
71
|
-
]);
|
|
72
|
-
const maxPos = react.useMemo(()=>{
|
|
73
|
-
return (horizontal ? containerWidth - sliderLineWidth / 2 : containerHeight - sliderLineWidth / 2) - 21;
|
|
74
|
-
}, [
|
|
75
|
-
horizontal,
|
|
76
|
-
containerWidth,
|
|
77
|
-
sliderLineWidth,
|
|
78
|
-
containerHeight
|
|
79
|
-
]);
|
|
80
|
-
react.useEffect(()=>{
|
|
81
|
-
const containerElement = containerRef.current;
|
|
82
|
-
if (!containerElement) return;
|
|
83
|
-
const resizeObserver = new ResizeObserver(([entry])=>{
|
|
84
|
-
const currentContainerWidth = entry?.target.getBoundingClientRect().width ?? 0;
|
|
85
|
-
setContainerWidth(currentContainerWidth);
|
|
86
|
-
});
|
|
87
|
-
resizeObserver.observe(containerElement);
|
|
88
|
-
return ()=>resizeObserver.disconnect();
|
|
89
|
-
}, []);
|
|
90
|
-
react.useEffect(()=>{
|
|
91
|
-
const alreadyDone = leftImageRef?.current?.complete;
|
|
92
|
-
alreadyDone && setLeftImgLoaded(true);
|
|
93
|
-
return ()=>{
|
|
94
|
-
setLeftImgLoaded(false);
|
|
95
|
-
};
|
|
96
|
-
}, [
|
|
97
|
-
leftImage
|
|
98
|
-
]);
|
|
99
|
-
react.useEffect(()=>{
|
|
100
|
-
const alreadyDone = rightImageRef?.current?.complete;
|
|
101
|
-
alreadyDone && setRightImgLoaded(true);
|
|
102
|
-
return ()=>{
|
|
103
|
-
setRightImgLoaded(false);
|
|
104
|
-
};
|
|
105
|
-
}, [
|
|
106
|
-
rightImage
|
|
107
|
-
]);
|
|
108
|
-
const allImagesLoaded = rightImgLoaded && leftImgLoaded;
|
|
109
|
-
react.useEffect(()=>{
|
|
110
|
-
const pos = horizontal ? sliderPositionPercentage * containerWidth : sliderPositionPercentage * containerHeight;
|
|
111
|
-
if (pos < minPos) setSliderPosition(horizontal ? minPos / containerWidth : minPos / containerHeight);
|
|
112
|
-
else if (pos > maxPos) setSliderPosition(horizontal ? maxPos / containerWidth : maxPos / containerHeight);
|
|
113
|
-
else setSliderPosition(sliderPositionPercentage);
|
|
114
|
-
}, [
|
|
115
|
-
containerHeight,
|
|
116
|
-
containerWidth,
|
|
117
|
-
horizontal,
|
|
118
|
-
maxPos,
|
|
119
|
-
minPos,
|
|
120
|
-
sliderPositionPercentage
|
|
121
|
-
]);
|
|
122
|
-
react.useEffect(()=>{
|
|
123
|
-
const handleSliding = (event)=>{
|
|
124
|
-
const e = event || window.event;
|
|
125
|
-
e.stopPropagation();
|
|
126
|
-
if (e.button && e.button !== 0) return;
|
|
127
|
-
const cursorXFromViewport = 'touches' in e ? e?.touches?.[0]?.pageX ?? 0 : e.pageX;
|
|
128
|
-
const cursorYFromViewport = 'touches' in e ? e?.touches?.[0]?.pageY ?? 0 : e.pageY;
|
|
129
|
-
const cursorXFromWindow = cursorXFromViewport - window.pageXOffset;
|
|
130
|
-
const cursorYFromWindow = cursorYFromViewport - window.pageYOffset;
|
|
131
|
-
const imagePosition = rightImageRef.current?.getBoundingClientRect();
|
|
132
|
-
let pos = horizontal ? cursorXFromWindow - (imagePosition?.left ?? 0) : cursorYFromWindow - (imagePosition?.top ?? 0);
|
|
133
|
-
if (pos < minPos) pos = minPos;
|
|
134
|
-
if (pos > maxPos) pos = maxPos;
|
|
135
|
-
horizontal ? setSliderPosition(pos / containerWidth) : setSliderPosition(pos / containerHeight);
|
|
136
|
-
if (onSliderPositionChange) {
|
|
137
|
-
horizontal ? onSliderPositionChange(pos / containerWidth) : onSliderPositionChange(pos / containerHeight);
|
|
138
|
-
}
|
|
139
|
-
};
|
|
140
|
-
const startSliding = (e)=>{
|
|
141
|
-
e.preventDefault();
|
|
142
|
-
handleSliding(e);
|
|
143
|
-
if (e.button && e.button !== 0) return;
|
|
144
|
-
window.addEventListener('mousemove', handleSliding);
|
|
145
|
-
sliderElement.addEventListener('touchmove', handleSliding);
|
|
146
|
-
};
|
|
147
|
-
const finishSliding = ()=>{
|
|
148
|
-
window.removeEventListener('mousemove', handleSliding);
|
|
149
|
-
sliderElement.removeEventListener('touchmove', handleSliding);
|
|
150
|
-
};
|
|
151
|
-
const containerElement = containerRef.current;
|
|
152
|
-
const sliderElement = sliderRef.current;
|
|
153
|
-
if (allImagesLoaded && containerElement && sliderElement) {
|
|
154
|
-
sliderElement.addEventListener('touchstart', startSliding);
|
|
155
|
-
sliderElement.addEventListener('touchend', finishSliding);
|
|
156
|
-
if (hover) {
|
|
157
|
-
containerElement.addEventListener('mousemove', handleSliding);
|
|
158
|
-
containerElement.addEventListener('mouseleave', finishSliding);
|
|
159
|
-
} else {
|
|
160
|
-
containerElement.addEventListener('mousedown', startSliding);
|
|
161
|
-
window.addEventListener('mouseup', finishSliding);
|
|
162
|
-
}
|
|
163
|
-
const leftImageRect = leftImageRef.current?.getBoundingClientRect();
|
|
164
|
-
const rightImageRect = rightImageRef.current?.getBoundingClientRect();
|
|
165
|
-
const leftImageWidthHeightRatio = (leftImageRect?.height ?? 0) / (leftImageRect?.width ?? 1);
|
|
166
|
-
const rightImageWidthHeightRatio = (rightImageRect?.height ?? 0) / (rightImageRect?.width ?? 1);
|
|
167
|
-
const idealWidthHeightRatio = Math.min(leftImageWidthHeightRatio, rightImageWidthHeightRatio);
|
|
168
|
-
const idealContainerHeight = containerWidth * idealWidthHeightRatio;
|
|
169
|
-
setContainerHeight(idealContainerHeight);
|
|
170
|
-
}
|
|
171
|
-
return ()=>{
|
|
172
|
-
if (!containerElement || !sliderElement) return;
|
|
173
|
-
sliderElement.removeEventListener('touchstart', startSliding);
|
|
174
|
-
sliderElement.removeEventListener('touchend', finishSliding);
|
|
175
|
-
containerElement.removeEventListener('mousemove', handleSliding);
|
|
176
|
-
containerElement.removeEventListener('mouseleave', finishSliding);
|
|
177
|
-
containerElement.removeEventListener('mousedown', startSliding);
|
|
178
|
-
window.removeEventListener('mouseup', finishSliding);
|
|
179
|
-
window.removeEventListener('mousemove', handleSliding);
|
|
180
|
-
sliderElement.removeEventListener('touchmove', handleSliding);
|
|
181
|
-
};
|
|
182
|
-
}, [
|
|
183
|
-
allImagesLoaded,
|
|
184
|
-
aspectRatio,
|
|
185
|
-
containerHeight,
|
|
186
|
-
containerWidth,
|
|
187
|
-
horizontal,
|
|
188
|
-
hover,
|
|
189
|
-
maxPos,
|
|
190
|
-
minPos,
|
|
191
|
-
onSliderPositionChange,
|
|
192
|
-
sliderLineWidth,
|
|
193
|
-
styles.aspectRatio
|
|
194
|
-
]);
|
|
195
|
-
const initStyles = {
|
|
196
|
-
container: {
|
|
197
|
-
...commonStyles.default.container,
|
|
198
|
-
height: 'auto'
|
|
199
|
-
},
|
|
200
|
-
rightImage: {
|
|
201
|
-
clip: horizontal ? `rect(auto, auto, auto, ${containerWidth * sliderPosition}px)` : `rect(${containerHeight * sliderPosition}px, auto, auto, auto)`,
|
|
202
|
-
...commonStyles.default.rightImage,
|
|
203
|
-
...rightImageCss
|
|
204
|
-
},
|
|
205
|
-
leftImage: {
|
|
206
|
-
clip: horizontal ? `rect(auto, ${containerWidth * sliderPosition}px, auto, auto)` : `rect(auto, auto, ${containerHeight * sliderPosition}px, auto)`,
|
|
207
|
-
...commonStyles.default.leftImage,
|
|
208
|
-
...leftImageCss
|
|
209
|
-
},
|
|
210
|
-
slider: {
|
|
211
|
-
...commonStyles.default.slider,
|
|
212
|
-
cursor: !hover && horizontal && 'ew-resize' || !hover && !horizontal && 'ns-resize' || 'pointer',
|
|
213
|
-
flexDirection: horizontal ? 'column' : 'row',
|
|
214
|
-
height: horizontal ? '100%' : `${handleSize}px`,
|
|
215
|
-
left: horizontal ? `${containerWidth * sliderPosition - handleSize / 2}px` : 0,
|
|
216
|
-
top: horizontal ? 0 : `${containerHeight * sliderPosition - handleSize / 2}px`,
|
|
217
|
-
width: horizontal ? `${handleSize}px` : '100%'
|
|
218
|
-
},
|
|
219
|
-
line: {
|
|
220
|
-
...commonStyles.default.line,
|
|
221
|
-
background: sliderLineColor,
|
|
222
|
-
height: horizontal ? '100%' : `${sliderLineWidth}px`,
|
|
223
|
-
width: horizontal ? `${sliderLineWidth}px` : '100%'
|
|
224
|
-
},
|
|
225
|
-
handleCustom: {
|
|
226
|
-
...commonStyles.default.handleCustom
|
|
227
|
-
},
|
|
228
|
-
handleDefault: {
|
|
229
|
-
...commonStyles.default.handleDefault,
|
|
230
|
-
border: `${sliderLineWidth}px solid ${sliderLineColor}`,
|
|
231
|
-
height: `${handleSize}px`,
|
|
232
|
-
width: `${handleSize}px`,
|
|
233
|
-
transform: horizontal ? 'none' : 'rotate(90deg)'
|
|
234
|
-
},
|
|
235
|
-
leftArrow: {
|
|
236
|
-
marginRight: '2px',
|
|
237
|
-
filter: 'drop-shadow(rgba(0, 0, 0, 0.4) 0px 0px 4px)'
|
|
238
|
-
},
|
|
239
|
-
rightArrow: {
|
|
240
|
-
marginLeft: '2px',
|
|
241
|
-
filter: 'drop-shadow(rgba(0, 0, 0, 0.4) 0px 0px 4px)'
|
|
242
|
-
},
|
|
243
|
-
leftLabel: {
|
|
244
|
-
...commonStyles.default.leftLabel,
|
|
245
|
-
left: horizontal ? '8px' : undefined,
|
|
246
|
-
top: horizontal ? undefined : '8px'
|
|
247
|
-
},
|
|
248
|
-
rightLabel: {
|
|
249
|
-
...commonStyles.default.rightLabel,
|
|
250
|
-
right: horizontal ? '8px' : undefined,
|
|
251
|
-
bottom: horizontal ? undefined : '8px'
|
|
252
|
-
},
|
|
253
|
-
leftLabelContainer: {
|
|
254
|
-
clip: horizontal ? `rect(auto, ${containerWidth * sliderPosition}px, auto, auto)` : `rect(auto, auto, ${containerHeight * sliderPosition}px, auto)`
|
|
255
|
-
},
|
|
256
|
-
rightLabelContainer: {
|
|
257
|
-
clip: horizontal ? `rect(auto, auto, auto, ${containerWidth * sliderPosition}px)` : `rect(${containerHeight * sliderPosition}px, auto, auto, auto)`
|
|
258
|
-
}
|
|
259
|
-
};
|
|
260
|
-
const composeLabelPosition = react.useCallback((input)=>{
|
|
261
|
-
const { device, positionHoz, positionVer } = input;
|
|
262
|
-
const positionValue = horizontal ? core.getResponsiveValueByScreen(positionHoz, device, 'hoz-center') : core.getResponsiveValueByScreen(positionVer, device, 'ver-center');
|
|
263
|
-
const defaultPosition = horizontal ? {
|
|
264
|
-
topLeft: '50%',
|
|
265
|
-
bottomRight: 'auto'
|
|
266
|
-
} : {
|
|
267
|
-
topLeft: '50%',
|
|
268
|
-
bottomRight: 'auto'
|
|
269
|
-
};
|
|
270
|
-
const POSITION = {
|
|
271
|
-
'hoz-center': {
|
|
272
|
-
topLeft: '50%',
|
|
273
|
-
bottomRight: 'auto'
|
|
274
|
-
},
|
|
275
|
-
top: {
|
|
276
|
-
topLeft: '8px',
|
|
277
|
-
bottomRight: 'auto'
|
|
278
|
-
},
|
|
279
|
-
bottom: {
|
|
280
|
-
topLeft: 'auto',
|
|
281
|
-
bottomRight: '8px'
|
|
282
|
-
},
|
|
283
|
-
'ver-center': {
|
|
284
|
-
topLeft: '50%',
|
|
285
|
-
bottomRight: 'auto'
|
|
286
|
-
},
|
|
287
|
-
left: {
|
|
288
|
-
topLeft: '8px',
|
|
289
|
-
bottomRight: 'auto'
|
|
290
|
-
},
|
|
291
|
-
right: {
|
|
292
|
-
topLeft: 'auto',
|
|
293
|
-
bottomRight: '8px'
|
|
294
|
-
}
|
|
295
|
-
};
|
|
296
|
-
return POSITION?.[positionValue] ?? defaultPosition;
|
|
297
|
-
}, [
|
|
298
|
-
horizontal
|
|
299
|
-
]);
|
|
300
|
-
const labelPosition = react.useCallback((position)=>{
|
|
301
|
-
return {
|
|
302
|
-
desktop: composeLabelPosition({
|
|
303
|
-
device: 'desktop',
|
|
304
|
-
positionHoz: styles?.labelPositionHoz,
|
|
305
|
-
positionVer: styles?.labelPositionVer
|
|
306
|
-
})?.[position ?? 'topLeft'],
|
|
307
|
-
tablet: composeLabelPosition({
|
|
308
|
-
device: 'tablet',
|
|
309
|
-
positionHoz: styles?.labelPositionHoz,
|
|
310
|
-
positionVer: styles?.labelPositionVer
|
|
311
|
-
})?.[position ?? 'topLeft'],
|
|
312
|
-
mobile: composeLabelPosition({
|
|
313
|
-
device: 'mobile',
|
|
314
|
-
positionHoz: styles?.labelPositionHoz,
|
|
315
|
-
positionVer: styles?.labelPositionVer
|
|
316
|
-
})?.[position ?? 'topLeft']
|
|
317
|
-
};
|
|
318
|
-
}, [
|
|
319
|
-
composeLabelPosition,
|
|
320
|
-
styles?.labelPositionHoz,
|
|
321
|
-
styles?.labelPositionVer
|
|
322
|
-
]);
|
|
323
|
-
const generateTranslateByDevices = react.useMemo(()=>{
|
|
324
|
-
const propStyles = horizontal ? styles?.labelPositionHoz : styles?.labelPositionVer;
|
|
325
|
-
const styleByDevice = {
|
|
326
|
-
desktop: propStyles?.desktop ?? 'hoz-center',
|
|
327
|
-
tablet: propStyles?.tablet ?? propStyles?.desktop ?? 'hoz-center',
|
|
328
|
-
mobile: propStyles?.mobile ?? propStyles?.tablet ?? propStyles?.desktop ?? 'hoz-center'
|
|
329
|
-
};
|
|
330
|
-
const translateByDevices = {
|
|
331
|
-
desktop: 'translateX(0) translateY(0)',
|
|
332
|
-
tablet: 'translateX(0) translateY(0)',
|
|
333
|
-
mobile: 'translateX(0) translateY(0)'
|
|
334
|
-
};
|
|
335
|
-
for(const devices in styleByDevice){
|
|
336
|
-
const position = styleByDevice?.[devices];
|
|
337
|
-
if (position.includes('center')) {
|
|
338
|
-
translateByDevices[devices] = horizontal ? 'translateX(0) translateY(-50%)' : 'translateX(-50%) translateY(0)';
|
|
339
|
-
} else {
|
|
340
|
-
translateByDevices[devices] = 'translateX(0) translateY(0)';
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
return translateByDevices;
|
|
344
|
-
}, [
|
|
345
|
-
horizontal,
|
|
346
|
-
styles?.labelPositionHoz,
|
|
347
|
-
styles?.labelPositionVer
|
|
348
|
-
]);
|
|
349
|
-
const innerBorderCss = react.useMemo(()=>{
|
|
350
|
-
return `
|
|
351
|
-
#image-comparison-left-label-${componentUid} div, #image-comparison-right-label-${componentUid} div {
|
|
352
|
-
${core.composeBorderCss(styles?.labelBorder)}
|
|
353
|
-
${core.composeCornerCss(styles?.labelRounded)}
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),react=require("react"),commonStyles=require("../constants/commonStyles.js"),core=require("@gem-sdk/core"),helpers=require("../../image/components/helpers.js");const CompareImage=e=>{let{handle:t=null,handleSize:o=40,hover:i=!1,leftImage:a,leftImageAlt:l="",leftImageTitle:r="",leftImageCss:s={},leftImageLabel:n=null,onSliderPositionChange:c,rightImage:u,rightImageAlt:d="",rightImageTitle:m="",rightImageCss:p={},rightImageLabel:h=null,sliderLineColor:g="#ffffff",sliderLineWidth:f=2,sliderPositionPercentage:b=.5,vertical:x=!1,enableLabel:v=!1,componentUid:w,styles:y={},builderData:R,preload:L}=e,S=!x,j=core.useEditorMode(),[$,k]=react.useState(b),[C,E]=react.useState(0),[z,P]=react.useState(0),[M,B]=react.useState(!1),[V,A]=react.useState(!1),I=react.useRef(null),H=react.useRef(null),X=react.useRef(null),Y=react.useRef(null),T=react.useMemo(()=>{let e=(a?.width??0)/(a?.height??1),t=(u?.width??0)/(u?.height??1);return e<=t?`${a?.width??0}/${a?.height??1}`:`${u?.width??0}/${u?.height??1}`},[a,u]),q=react.useMemo(()=>{let e=(a?.width??0)/(a?.height??1),t=(u?.width??0)/(u?.height??1);return e<=t?a:u},[a,u]),D=react.useMemo(()=>({desktop:helpers.composeAspectRatio({device:"desktop",aspect:y?.aspectRatio,auto:q,custom:y?.customAspectRadio})??T,tablet:helpers.composeAspectRatio({device:"tablet",aspect:y?.aspectRatio,auto:q,custom:y?.customAspectRadio}),mobile:helpers.composeAspectRatio({device:"mobile",aspect:y?.aspectRatio,auto:q,custom:y?.customAspectRadio})}),[q,T,y?.aspectRatio,y?.customAspectRadio]),F=react.useMemo(()=>f/2+21,[f]),O=react.useMemo(()=>(S?C-f/2:z-f/2)-21,[S,C,f,z]);react.useEffect(()=>{let e=I.current;if(!e)return;let t=new ResizeObserver(([e])=>{let t=e?.target.getBoundingClientRect().width??0;E(t)});return t.observe(e),()=>t.disconnect()},[]),react.useEffect(()=>{let e=Y?.current?.complete;return e&&B(!0),()=>{B(!1)}},[a]),react.useEffect(()=>{let e=X?.current?.complete;return e&&A(!0),()=>{A(!1)}},[u]);let N=V&&M;react.useEffect(()=>{let e=S?b*C:b*z;e<F?k(S?F/C:F/z):e>O?k(S?O/C:O/z):k(b)},[z,C,S,O,F,b]),react.useEffect(()=>{let e=e=>{let t=e||window.event;if(t.stopPropagation(),t.button&&0!==t.button)return;let o="touches"in t?t?.touches?.[0]?.pageX??0:t.pageX,i="touches"in t?t?.touches?.[0]?.pageY??0:t.pageY,a=o-window.pageXOffset,l=i-window.pageYOffset,r=X.current?.getBoundingClientRect(),s=S?a-(r?.left??0):l-(r?.top??0);s<F&&(s=F),s>O&&(s=O),S?k(s/C):k(s/z),c&&(S?c(s/C):c(s/z))},t=t=>{t.preventDefault(),e(t),t.button&&0!==t.button||(window.addEventListener("mousemove",e),l.addEventListener("touchmove",e))},o=()=>{window.removeEventListener("mousemove",e),l.removeEventListener("touchmove",e)},a=I.current,l=H.current;if(N&&a&&l){l.addEventListener("touchstart",t),l.addEventListener("touchend",o),i?(a.addEventListener("mousemove",e),a.addEventListener("mouseleave",o)):(a.addEventListener("mousedown",t),window.addEventListener("mouseup",o));let r=Y.current?.getBoundingClientRect(),s=X.current?.getBoundingClientRect(),n=(r?.height??0)/(r?.width??1),c=(s?.height??0)/(s?.width??1),u=Math.min(n,c),d=C*u;P(d)}return()=>{a&&l&&(l.removeEventListener("touchstart",t),l.removeEventListener("touchend",o),a.removeEventListener("mousemove",e),a.removeEventListener("mouseleave",o),a.removeEventListener("mousedown",t),window.removeEventListener("mouseup",o),window.removeEventListener("mousemove",e),l.removeEventListener("touchmove",e))}},[N,D,z,C,S,i,O,F,c,f,y.aspectRatio]);let W={container:{...commonStyles.default.container,height:"auto"},rightImage:{clip:S?`rect(auto, auto, auto, ${C*$}px)`:`rect(${z*$}px, auto, auto, auto)`,...commonStyles.default.rightImage,...p},leftImage:{clip:S?`rect(auto, ${C*$}px, auto, auto)`:`rect(auto, auto, ${z*$}px, auto)`,...commonStyles.default.leftImage,...s},slider:{...commonStyles.default.slider,cursor:!i&&S&&"ew-resize"||!i&&!S&&"ns-resize"||"pointer",flexDirection:S?"column":"row",height:S?"100%":`${o}px`,left:S?`${C*$-o/2}px`:0,top:S?0:`${z*$-o/2}px`,width:S?`${o}px`:"100%"},line:{...commonStyles.default.line,background:g,height:S?"100%":`${f}px`,width:S?`${f}px`:"100%"},handleCustom:{...commonStyles.default.handleCustom},handleDefault:{...commonStyles.default.handleDefault,border:`${f}px solid ${g}`,height:`${o}px`,width:`${o}px`,transform:S?"none":"rotate(90deg)"},leftArrow:{marginRight:"2px",filter:"drop-shadow(rgba(0, 0, 0, 0.4) 0px 0px 4px)"},rightArrow:{marginLeft:"2px",filter:"drop-shadow(rgba(0, 0, 0, 0.4) 0px 0px 4px)"},leftLabel:{...commonStyles.default.leftLabel,left:S?"8px":void 0,top:S?void 0:"8px"},rightLabel:{...commonStyles.default.rightLabel,right:S?"8px":void 0,bottom:S?void 0:"8px"},leftLabelContainer:{clip:S?`rect(auto, ${C*$}px, auto, auto)`:`rect(auto, auto, ${z*$}px, auto)`},rightLabelContainer:{clip:S?`rect(auto, auto, auto, ${C*$}px)`:`rect(${z*$}px, auto, auto, auto)`}},Z=react.useCallback(e=>{let{device:t,positionHoz:o,positionVer:i}=e,a=S?core.getResponsiveValueByScreen(o,t,"hoz-center"):core.getResponsiveValueByScreen(i,t,"ver-center"),l={topLeft:"50%",bottomRight:"auto"};return({"hoz-center":{topLeft:"50%",bottomRight:"auto"},top:{topLeft:"8px",bottomRight:"auto"},bottom:{topLeft:"auto",bottomRight:"8px"},"ver-center":{topLeft:"50%",bottomRight:"auto"},left:{topLeft:"8px",bottomRight:"auto"},right:{topLeft:"auto",bottomRight:"8px"}})[a]??l},[S]),_=react.useCallback(e=>({desktop:Z({device:"desktop",positionHoz:y?.labelPositionHoz,positionVer:y?.labelPositionVer})?.[e??"topLeft"],tablet:Z({device:"tablet",positionHoz:y?.labelPositionHoz,positionVer:y?.labelPositionVer})?.[e??"topLeft"],mobile:Z({device:"mobile",positionHoz:y?.labelPositionHoz,positionVer:y?.labelPositionVer})?.[e??"topLeft"]}),[Z,y?.labelPositionHoz,y?.labelPositionVer]),G=react.useMemo(()=>{let e=S?y?.labelPositionHoz:y?.labelPositionVer,t={desktop:e?.desktop??"hoz-center",tablet:e?.tablet??e?.desktop??"hoz-center",mobile:e?.mobile??e?.tablet??e?.desktop??"hoz-center"},o={desktop:"translateX(0) translateY(0)",tablet:"translateX(0) translateY(0)",mobile:"translateX(0) translateY(0)"};for(let e in t){let i=t?.[e];i.includes("center")?o[e]=S?"translateX(0) translateY(-50%)":"translateX(-50%) translateY(0)":o[e]="translateX(0) translateY(0)"}return o},[S,y?.labelPositionHoz,y?.labelPositionVer]),J=react.useMemo(()=>`
|
|
2
|
+
#image-comparison-left-label-${w} div, #image-comparison-right-label-${w} div {
|
|
3
|
+
${core.composeBorderCss(y?.labelBorder)}
|
|
4
|
+
${core.composeCornerCss(y?.labelRounded)}
|
|
354
5
|
}
|
|
355
|
-
`;
|
|
356
|
-
}, [
|
|
357
|
-
componentUid,
|
|
358
|
-
styles?.labelBorder,
|
|
359
|
-
styles?.labelRounded
|
|
360
|
-
]);
|
|
361
|
-
const appendTypoClass = react.useMemo(()=>core.composeTypographyClassName(styles?.typo), [
|
|
362
|
-
styles?.typo
|
|
363
|
-
]);
|
|
364
|
-
const appendTypoStyle = react.useMemo(()=>core.composeTypographyStyle(styles?.typo), [
|
|
365
|
-
styles?.typo
|
|
366
|
-
]);
|
|
367
|
-
const Label = react.useCallback((labelProps)=>{
|
|
368
|
-
return /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
369
|
-
className: "gp-absolute gp-top-0 gp-h-full gp-w-full",
|
|
370
|
-
style: {
|
|
371
|
-
...labelProps.containerStyle
|
|
372
|
-
},
|
|
373
|
-
id: `image-comparison-${labelProps.positionId}-label-${labelProps.uid}`,
|
|
374
|
-
children: [
|
|
375
|
-
/*#__PURE__*/ jsxRuntime.jsx("style", {
|
|
376
|
-
children: innerBorderCss
|
|
377
|
-
}),
|
|
378
|
-
/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
379
|
-
className: core.cls('gp-absolute gp-box-border gp-rounded-[4px] gp-bg-[rgba(0,0,0,0.60)] gp-px-2 gp-py-1', appendTypoClass),
|
|
380
|
-
style: {
|
|
381
|
-
...labelProps.childrenStyle,
|
|
382
|
-
...core.makeStyle({
|
|
383
|
-
tt: styles?.transform,
|
|
384
|
-
bg: styles?.labelBackgroundColor ?? 'rgba(0,0,0,0.6)',
|
|
385
|
-
c: styles?.labelTextColor ?? '#F9F9F9'
|
|
386
|
-
}),
|
|
387
|
-
...core.makeStyleResponsive('t', generateTranslateByDevices),
|
|
388
|
-
...labelProps.labelPositionTopStyles,
|
|
389
|
-
...labelProps.labelPositionBottomStyles,
|
|
390
|
-
...appendTypoStyle
|
|
391
|
-
},
|
|
392
|
-
children: styles?.typo?.attrs?.transform === 'capitalize' ? labelProps.label?.toString().toLocaleLowerCase() : labelProps.label
|
|
393
|
-
})
|
|
394
|
-
]
|
|
395
|
-
});
|
|
396
|
-
}, [
|
|
397
|
-
innerBorderCss,
|
|
398
|
-
appendTypoClass,
|
|
399
|
-
styles?.transform,
|
|
400
|
-
styles?.labelBackgroundColor,
|
|
401
|
-
styles?.labelTextColor,
|
|
402
|
-
styles?.typo?.attrs?.transform,
|
|
403
|
-
appendTypoStyle,
|
|
404
|
-
generateTranslateByDevices
|
|
405
|
-
]);
|
|
406
|
-
const imageComparisonWidth = react.useMemo(()=>{
|
|
407
|
-
const widthResponsive = core.makeStyleResponsive('w', core.makeWidth(styles?.width, styles?.fullWidth));
|
|
408
|
-
for(const device in widthResponsive){
|
|
409
|
-
const key = device;
|
|
410
|
-
widthResponsive[key] = widthResponsive[key] === 'undefinedpx' || !widthResponsive[key] ? `${Math.min(leftImage?.width ?? 0, rightImage?.width ?? 0) || 900}px` : widthResponsive[key];
|
|
411
|
-
}
|
|
412
|
-
return widthResponsive;
|
|
413
|
-
}, [
|
|
414
|
-
leftImage?.width,
|
|
415
|
-
rightImage?.width,
|
|
416
|
-
styles?.fullWidth,
|
|
417
|
-
styles?.width
|
|
418
|
-
]);
|
|
419
|
-
const tempImage = react.useMemo(()=>{
|
|
420
|
-
return (leftImage?.width ?? 0) < (rightImage?.width ?? 0) ? {
|
|
421
|
-
...leftImage
|
|
422
|
-
} : {
|
|
423
|
-
...rightImage
|
|
424
|
-
};
|
|
425
|
-
}, [
|
|
426
|
-
leftImage,
|
|
427
|
-
rightImage
|
|
428
|
-
]);
|
|
429
|
-
return /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
430
|
-
style: {
|
|
431
|
-
...imageComparisonWidth
|
|
432
|
-
},
|
|
433
|
-
children: /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
434
|
-
style: {
|
|
435
|
-
...initStyles.container,
|
|
436
|
-
display: allImagesLoaded ? 'block' : 'none',
|
|
437
|
-
...core.makeStyleResponsive('aspect', aspectRatio),
|
|
438
|
-
...core.getCornerCSSFromGlobal(builderData?.advanced?.rounded)
|
|
439
|
-
},
|
|
440
|
-
ref: containerRef,
|
|
441
|
-
"data-testid": "container",
|
|
442
|
-
children: [
|
|
443
|
-
/*#__PURE__*/ jsxRuntime.jsx("img", {
|
|
444
|
-
"data-testid": "temp-image",
|
|
445
|
-
alt: "",
|
|
446
|
-
title: "",
|
|
447
|
-
width: tempImage?.width,
|
|
448
|
-
height: tempImage?.height,
|
|
449
|
-
style: {
|
|
450
|
-
position: 'static',
|
|
451
|
-
opacity: 0
|
|
452
|
-
}
|
|
453
|
-
}),
|
|
454
|
-
/*#__PURE__*/ jsxRuntime.jsx("img", {
|
|
455
|
-
onLoad: ()=>setRightImgLoaded(true),
|
|
456
|
-
"data-testid": "right-image",
|
|
457
|
-
alt: rightImageAlt ?? '',
|
|
458
|
-
title: rightImageTitle ?? '',
|
|
459
|
-
width: rightImage?.width,
|
|
460
|
-
height: rightImage?.height,
|
|
461
|
-
src: rightImage?.src ?? '',
|
|
462
|
-
ref: rightImageRef,
|
|
463
|
-
...preload || mode === 'edit' ? {
|
|
464
|
-
fetchpriority: 'high',
|
|
465
|
-
loading: 'eager'
|
|
466
|
-
} : {
|
|
467
|
-
loading: 'lazy'
|
|
468
|
-
},
|
|
469
|
-
style: {
|
|
470
|
-
...initStyles.rightImage,
|
|
471
|
-
...core.makeStyleResponsive('objf', styles.imageScale)
|
|
472
|
-
}
|
|
473
|
-
}),
|
|
474
|
-
/*#__PURE__*/ jsxRuntime.jsx("img", {
|
|
475
|
-
onLoad: ()=>setLeftImgLoaded(true),
|
|
476
|
-
alt: leftImageAlt ?? '',
|
|
477
|
-
title: leftImageTitle ?? '',
|
|
478
|
-
"data-testid": "left-image",
|
|
479
|
-
width: leftImage?.width,
|
|
480
|
-
height: leftImage?.height,
|
|
481
|
-
ref: leftImageRef,
|
|
482
|
-
src: leftImage?.src ?? '',
|
|
483
|
-
...preload || mode === 'edit' ? {
|
|
484
|
-
fetchpriority: 'high',
|
|
485
|
-
loading: 'eager'
|
|
486
|
-
} : {
|
|
487
|
-
loading: 'lazy'
|
|
488
|
-
},
|
|
489
|
-
style: {
|
|
490
|
-
...initStyles.leftImage,
|
|
491
|
-
...core.makeStyleResponsive('objf', styles.imageScale)
|
|
492
|
-
}
|
|
493
|
-
}),
|
|
494
|
-
/*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
495
|
-
ref: sliderRef,
|
|
496
|
-
style: initStyles.slider,
|
|
497
|
-
children: [
|
|
498
|
-
/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
499
|
-
style: initStyles.line
|
|
500
|
-
}),
|
|
501
|
-
handle ? /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
502
|
-
style: initStyles.handleCustom,
|
|
503
|
-
children: handle
|
|
504
|
-
}) : /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
505
|
-
style: initStyles.handleDefault,
|
|
506
|
-
children: [
|
|
507
|
-
/*#__PURE__*/ jsxRuntime.jsx("svg", {
|
|
508
|
-
style: initStyles.leftArrow,
|
|
509
|
-
width: "6",
|
|
510
|
-
height: "12",
|
|
511
|
-
viewBox: "0 0 6 12",
|
|
512
|
-
fill: "none",
|
|
513
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
514
|
-
children: /*#__PURE__*/ jsxRuntime.jsx("path", {
|
|
515
|
-
d: "M0 6L6 0V12L0 6Z",
|
|
516
|
-
fill: "white"
|
|
517
|
-
})
|
|
518
|
-
}),
|
|
519
|
-
/*#__PURE__*/ jsxRuntime.jsx("svg", {
|
|
520
|
-
style: initStyles.rightArrow,
|
|
521
|
-
width: "6",
|
|
522
|
-
height: "12",
|
|
523
|
-
viewBox: "0 0 6 12",
|
|
524
|
-
fill: "none",
|
|
525
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
526
|
-
children: /*#__PURE__*/ jsxRuntime.jsx("path", {
|
|
527
|
-
d: "M6 6L0 12V0L6 6Z",
|
|
528
|
-
fill: "white"
|
|
529
|
-
})
|
|
530
|
-
})
|
|
531
|
-
]
|
|
532
|
-
}),
|
|
533
|
-
/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
534
|
-
style: initStyles.line
|
|
535
|
-
})
|
|
536
|
-
]
|
|
537
|
-
}),
|
|
538
|
-
enableLabel && leftImageLabel && /*#__PURE__*/ jsxRuntime.jsx(Label, {
|
|
539
|
-
label: leftImageLabel,
|
|
540
|
-
containerStyle: initStyles?.leftLabelContainer ?? {},
|
|
541
|
-
childrenStyle: initStyles?.leftLabel ?? {},
|
|
542
|
-
uid: componentUid,
|
|
543
|
-
positionId: "left",
|
|
544
|
-
labelPositionTopStyles: core.makeStyleResponsive(horizontal ? 'top' : 'left', labelPosition('topLeft')),
|
|
545
|
-
labelPositionBottomStyles: core.makeStyleResponsive(horizontal ? 'bottom' : 'right', labelPosition('bottomRight'))
|
|
546
|
-
}),
|
|
547
|
-
enableLabel && rightImageLabel && /*#__PURE__*/ jsxRuntime.jsx(Label, {
|
|
548
|
-
label: rightImageLabel,
|
|
549
|
-
containerStyle: initStyles?.rightLabelContainer ?? {},
|
|
550
|
-
childrenStyle: initStyles?.rightLabel ?? {},
|
|
551
|
-
uid: componentUid,
|
|
552
|
-
positionId: "right",
|
|
553
|
-
labelPositionTopStyles: core.makeStyleResponsive(horizontal ? 'top' : 'left', labelPosition('topLeft')),
|
|
554
|
-
labelPositionBottomStyles: core.makeStyleResponsive(horizontal ? 'bottom' : 'right', labelPosition('bottomRight'))
|
|
555
|
-
})
|
|
556
|
-
]
|
|
557
|
-
})
|
|
558
|
-
});
|
|
559
|
-
};
|
|
560
|
-
|
|
561
|
-
exports.default = CompareImage;
|
|
6
|
+
`,[w,y?.labelBorder,y?.labelRounded]),K=react.useMemo(()=>core.composeTypographyClassName(y?.typo),[y?.typo]),Q=react.useMemo(()=>core.composeTypographyStyle(y?.typo),[y?.typo]),U=react.useCallback(e=>jsxRuntime.jsxs("div",{className:"gp-absolute gp-top-0 gp-h-full gp-w-full",style:{...e.containerStyle},id:`image-comparison-${e.positionId}-label-${e.uid}`,children:[jsxRuntime.jsx("style",{children:J}),jsxRuntime.jsx("div",{className:core.cls("gp-absolute gp-box-border gp-rounded-[4px] gp-bg-[rgba(0,0,0,0.60)] gp-px-2 gp-py-1",K),style:{...e.childrenStyle,...core.makeStyle({tt:y?.transform,bg:y?.labelBackgroundColor??"rgba(0,0,0,0.6)",c:y?.labelTextColor??"#F9F9F9"}),...core.makeStyleResponsive("t",G),...e.labelPositionTopStyles,...e.labelPositionBottomStyles,...Q},children:y?.typo?.attrs?.transform==="capitalize"?e.label?.toString().toLocaleLowerCase():e.label})]}),[J,K,y?.transform,y?.labelBackgroundColor,y?.labelTextColor,y?.typo?.attrs?.transform,Q,G]),ee=react.useMemo(()=>{let e=core.makeStyleResponsive("w",core.makeWidth(y?.width,y?.fullWidth));for(let t in e)e[t]="undefinedpx"!==e[t]&&e[t]?e[t]:`${Math.min(a?.width??0,u?.width??0)||900}px`;return e},[a?.width,u?.width,y?.fullWidth,y?.width]),et=react.useMemo(()=>(a?.width??0)<(u?.width??0)?{...a}:{...u},[a,u]);return jsxRuntime.jsx("div",{style:{...ee},children:jsxRuntime.jsxs("div",{style:{...W.container,display:N?"block":"none",...core.makeStyleResponsive("aspect",D),...core.getCornerCSSFromGlobal(R?.advanced?.rounded)},ref:I,"data-testid":"container",children:[jsxRuntime.jsx("img",{"data-testid":"temp-image",alt:"",title:"",width:et?.width,height:et?.height,style:{position:"static",opacity:0}}),jsxRuntime.jsx("img",{onLoad:()=>A(!0),"data-testid":"right-image",alt:d??"",title:m??"",width:u?.width,height:u?.height,src:u?.src??"",ref:X,...L||"edit"===j?{fetchpriority:"high",loading:"eager"}:{loading:"lazy"},style:{...W.rightImage,...core.makeStyleResponsive("objf",y.imageScale)}}),jsxRuntime.jsx("img",{onLoad:()=>B(!0),alt:l??"",title:r??"","data-testid":"left-image",width:a?.width,height:a?.height,ref:Y,src:a?.src??"",...L||"edit"===j?{fetchpriority:"high",loading:"eager"}:{loading:"lazy"},style:{...W.leftImage,...core.makeStyleResponsive("objf",y.imageScale)}}),jsxRuntime.jsxs("div",{ref:H,style:W.slider,children:[jsxRuntime.jsx("div",{style:W.line}),t?jsxRuntime.jsx("div",{style:W.handleCustom,children:t}):jsxRuntime.jsxs("div",{style:W.handleDefault,children:[jsxRuntime.jsx("svg",{style:W.leftArrow,width:"6",height:"12",viewBox:"0 0 6 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M0 6L6 0V12L0 6Z",fill:"white"})}),jsxRuntime.jsx("svg",{style:W.rightArrow,width:"6",height:"12",viewBox:"0 0 6 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M6 6L0 12V0L6 6Z",fill:"white"})})]}),jsxRuntime.jsx("div",{style:W.line})]}),v&&n&&jsxRuntime.jsx(U,{label:n,containerStyle:W?.leftLabelContainer??{},childrenStyle:W?.leftLabel??{},uid:w,positionId:"left",labelPositionTopStyles:core.makeStyleResponsive(S?"top":"left",_("topLeft")),labelPositionBottomStyles:core.makeStyleResponsive(S?"bottom":"right",_("bottomRight"))}),v&&h&&jsxRuntime.jsx(U,{label:h,containerStyle:W?.rightLabelContainer??{},childrenStyle:W?.rightLabel??{},uid:w,positionId:"right",labelPositionTopStyles:core.makeStyleResponsive(S?"top":"left",_("topLeft")),labelPositionBottomStyles:core.makeStyleResponsive(S?"bottom":"right",_("bottomRight"))})]})})};exports.default=CompareImage;
|