@gem-sdk/components 1.38.1 → 2.0.0-dev.833
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/accordion/components/Accordion.js +1 -138
- package/dist/cjs/accordion/components/Accordion.liquid.js +11 -103
- package/dist/cjs/accordion/components/AccordionItem.js +4 -297
- package/dist/cjs/accordion/components/AccordionItem.liquid.js +38 -223
- package/dist/cjs/accordion/hooks/useMountTransition.js +1 -27
- package/dist/cjs/accordion/next.js +1 -19
- package/dist/cjs/accordion/setting/Accordion.js +15 -1355
- package/dist/cjs/accordion/setting/AccordionItem.js +1 -34
- package/dist/cjs/accordion/setting/ItemTemplate.js +1 -49
- package/dist/cjs/accordion/setting/index.js +1 -13
- package/dist/cjs/banner/components/hero-banner/index.js +1 -247
- package/dist/cjs/banner/components/hero-banner/index.liquid.js +22 -167
- package/dist/cjs/banner/helpers/common.js +1 -284
- package/dist/cjs/banner/next.js +1 -15
- package/dist/cjs/banner/setting/HeroBanner.js +19 -979
- package/dist/cjs/banner/setting/index.js +1 -11
- package/dist/cjs/banner/setting/presets/heroBanner1Col.js +2 -110
- package/dist/cjs/banner/setting/presets/heroBannerContentLeft.js +2 -131
- package/dist/cjs/banner/setting/presets/heroBannerContentRight.js +2 -131
- package/dist/cjs/breadcrumb/components/Breadcrumb.js +1 -49
- package/dist/cjs/breadcrumb/next.js +1 -15
- package/dist/cjs/breadcrumb/setting/Breadcrumb.js +1 -38
- package/dist/cjs/breadcrumb/setting/index.js +1 -11
- package/dist/cjs/builder.js +1 -279
- package/dist/cjs/button/components/Button.js +8 -138
- package/dist/cjs/button/components/Button.liquid.js +27 -148
- package/dist/cjs/button/next.js +1 -15
- package/dist/cjs/button/setting/Button.js +4 -770
- package/dist/cjs/button/setting/index.js +1 -11
- package/dist/cjs/carousel/components/Arrow.js +10 -96
- package/dist/cjs/carousel/components/Arrow.liquid.js +28 -79
- package/dist/cjs/carousel/components/Carousel.js +1 -506
- package/dist/cjs/carousel/components/Carousel.liquid.js +15 -220
- package/dist/cjs/carousel/components/CarouselItem.js +1 -72
- package/dist/cjs/carousel/components/CarouselItem.liquid.js +7 -76
- package/dist/cjs/carousel/components/Dots.js +1 -68
- package/dist/cjs/carousel/components/Dots.liquid.js +4 -23
- package/dist/cjs/carousel/components/common/arrow.js +1 -130
- package/dist/cjs/carousel/components/common/carousel.js +1 -99
- package/dist/cjs/carousel/components/common/dots.js +1 -55
- package/dist/cjs/carousel/components/hooks/useTrackPreviewPause.js +1 -34
- package/dist/cjs/carousel/components/plugins/AnimationPlugin.js +1 -43
- package/dist/cjs/carousel/components/plugins/AutoPlayPlugin.js +1 -64
- package/dist/cjs/carousel/components/plugins/FixSliderMoveBackwards.js +1 -15
- package/dist/cjs/carousel/components/plugins/MutationPlugin.js +1 -45
- package/dist/cjs/carousel/next.js +1 -19
- package/dist/cjs/carousel/setting/Carousel.js +7 -1381
- package/dist/cjs/carousel/setting/CarouselItem.js +1 -40
- package/dist/cjs/carousel/setting/index.js +1 -13
- package/dist/cjs/cart/components/Cart.js +1 -84
- package/dist/cjs/cart/components/CartCheckout.js +1 -18
- package/dist/cjs/cart/components/CartDiscount.js +1 -13
- package/dist/cjs/cart/components/CartLineAttribute.js +1 -30
- package/dist/cjs/cart/components/CartLineImage.js +1 -44
- package/dist/cjs/cart/components/CartLinePrice.js +1 -45
- package/dist/cjs/cart/components/CartLineVariant.js +1 -27
- package/dist/cjs/cart/components/CartList.js +1 -36
- package/dist/cjs/cart/components/CartOrderNote.js +1 -46
- package/dist/cjs/cart/components/CartTotalItem.js +1 -23
- package/dist/cjs/cart/components/CartTotalPrice.js +1 -55
- package/dist/cjs/cart/components/CheckoutNow.js +1 -41
- package/dist/cjs/cart/components/CouponList.js +1 -15
- package/dist/cjs/cart/components/DiscountInput.js +1 -27
- package/dist/cjs/cart/components/ShopPayButton/ShopPayButtonCommon.js +1 -20
- package/dist/cjs/cart/components/ShopPayButton/icons/BaseIcon.js +1 -16
- package/dist/cjs/cart/components/ShopPayButton/icons/BaseIcon.liquid.js +4 -16
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.js +1 -50
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.js +1 -50
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.js +1 -48
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.js +1 -46
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.js +1 -46
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.js +1 -46
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/index.js +1 -112
- package/dist/cjs/cart/components/ShopPayButton/index.liquid.js +8 -42
- package/dist/cjs/cart/next.js +1 -73
- package/dist/cjs/cart/setting/Cart.js +3 -67
- package/dist/cjs/cart/setting/CartCheckout.js +1 -20
- package/dist/cjs/cart/setting/CartDiscount.js +1 -20
- package/dist/cjs/cart/setting/CartLineAttribute.js +1 -29
- package/dist/cjs/cart/setting/CartLineImage.js +1 -165
- package/dist/cjs/cart/setting/CartLinePrice.js +1 -29
- package/dist/cjs/cart/setting/CartLineVariant.js +1 -29
- package/dist/cjs/cart/setting/CartList.js +1 -139
- package/dist/cjs/cart/setting/CartOrderNote.js +1 -44
- package/dist/cjs/cart/setting/CartTotalItem.js +1 -29
- package/dist/cjs/cart/setting/CartTotalPrice.js +1 -58
- package/dist/cjs/cart/setting/CouponList.js +1 -20
- package/dist/cjs/cart/setting/DiscountInput.js +1 -33
- package/dist/cjs/cart/setting/ShopPayButton.js +1 -168
- package/dist/cjs/cart/setting/index.js +1 -37
- package/dist/cjs/code/components/CSSCode.js +2 -129
- package/dist/cjs/code/components/CSSCode.liquid.js +7 -30
- package/dist/cjs/code/next.js +1 -15
- package/dist/cjs/code/setting/CSSCode.js +3 -175
- package/dist/cjs/code/setting/index.js +1 -11
- package/dist/cjs/collection/components/CollectionBanner.js +1 -97
- package/dist/cjs/collection/components/CollectionBanner.liquid.js +14 -76
- package/dist/cjs/collection/components/CollectionDescription.js +1 -20
- package/dist/cjs/collection/components/CollectionDescription.liquid.js +3 -21
- package/dist/cjs/collection/components/CollectionPaginator.js +1 -150
- package/dist/cjs/collection/components/CollectionPaginator.liquid.js +9 -58
- package/dist/cjs/collection/components/CollectionTitle.js +1 -20
- package/dist/cjs/collection/components/CollectionTitle.liquid.js +3 -21
- package/dist/cjs/collection/components/CollectionToolbar.js +1 -111
- package/dist/cjs/collection/components/CollectionToolbar.liquid.js +15 -70
- package/dist/cjs/collection/next.js +1 -31
- package/dist/cjs/collection/setting/CollectionBanner.js +10 -532
- package/dist/cjs/collection/setting/CollectionDescription.js +3 -128
- package/dist/cjs/collection/setting/CollectionPaginator.js +3 -323
- package/dist/cjs/collection/setting/CollectionTitle.js +3 -128
- package/dist/cjs/collection/setting/CollectionToolbar.js +3 -276
- package/dist/cjs/collection/setting/index.js +1 -19
- package/dist/cjs/common/components/Loading.js +1 -23
- package/dist/cjs/common/components/Tooltip.js +1 -0
- package/dist/cjs/countdown-timer/components/Countdown.js +1 -308
- package/dist/cjs/countdown-timer/components/Countdown.liquid.js +20 -91
- package/dist/cjs/countdown-timer/helpers.js +1 -99
- package/dist/cjs/countdown-timer/hooks/useTimeLeft.js +1 -94
- package/dist/cjs/countdown-timer/next.js +1 -16
- package/dist/cjs/countdown-timer/setting/Countdown.js +3 -883
- package/dist/cjs/countdown-timer/setting/index.js +1 -11
- package/dist/cjs/dialog/components/Dialog.js +1 -357
- package/dist/cjs/dialog/components/Dialog.liquid.js +16 -147
- package/dist/cjs/dialog/helpers/common.js +1 -19
- package/dist/cjs/dialog/hooks/use-scroll-percentage.js +1 -34
- package/dist/cjs/dialog/next.js +1 -15
- package/dist/cjs/dialog/setting/Dialog.js +3 -579
- package/dist/cjs/dialog/setting/index.js +1 -11
- package/dist/cjs/form/components/contact/Contact.js +1 -15
- package/dist/cjs/form/components/contact/Contact.liquid.js +3 -22
- package/dist/cjs/form/components/form-checkbox/FormCheckbox.js +1 -51
- package/dist/cjs/form/components/form-checkbox/FormCheckbox.liquid.js +10 -39
- package/dist/cjs/form/components/form-dropdown/FormDropdown.js +1 -72
- package/dist/cjs/form/components/form-dropdown/FormDropdown.liquid.js +12 -66
- package/dist/cjs/form/components/form-email/FormEmail.js +1 -59
- package/dist/cjs/form/components/form-email/FormEmail.liquid.js +10 -66
- package/dist/cjs/form/components/newsletter/Newsletter.js +1 -15
- package/dist/cjs/form/components/newsletter/Newsletter.liquid.js +19 -56
- package/dist/cjs/form/components/submit-button/SubmitButton.js +1 -31
- package/dist/cjs/form/components/submit-button/SubmitButton.liquid.js +3 -33
- package/dist/cjs/form/components/textarea/TextArea.js +1 -75
- package/dist/cjs/form/components/textarea/TextArea.liquid.js +11 -74
- package/dist/cjs/form/components/textfield/TextField.js +1 -68
- package/dist/cjs/form/components/textfield/TextField.liquid.js +11 -74
- package/dist/cjs/form/next.js +1 -43
- package/dist/cjs/form/setting/Contact.js +3 -46
- package/dist/cjs/form/setting/ContactInitConfig.js +1 -228
- package/dist/cjs/form/setting/FormCheckbox.js +3 -226
- package/dist/cjs/form/setting/FormCheckboxInitConfig.js +1 -18
- package/dist/cjs/form/setting/FormDropdown.js +3 -262
- package/dist/cjs/form/setting/FormDropdownInitConfig.js +1 -33
- package/dist/cjs/form/setting/FormEmail.js +3 -275
- package/dist/cjs/form/setting/FormEmailInitConfig.js +1 -33
- package/dist/cjs/form/setting/Newsletter.js +3 -168
- package/dist/cjs/form/setting/NewsletterInitConfig.js +1 -133
- package/dist/cjs/form/setting/SubmitButton.js +4 -653
- package/dist/cjs/form/setting/SubmitButtonInitConfig.js +1 -30
- package/dist/cjs/form/setting/TextField.js +3 -306
- package/dist/cjs/form/setting/Textarea.js +3 -307
- package/dist/cjs/form/setting/index.js +1 -25
- package/dist/cjs/grid/components/ChildrenDroppable.js +4 -65
- package/dist/cjs/grid/components/Col.js +1 -25
- package/dist/cjs/grid/components/Col.liquid.js +6 -39
- package/dist/cjs/grid/components/Root.js +1 -13
- package/dist/cjs/grid/components/Root.liquid.js +1 -9
- package/dist/cjs/grid/components/Row.js +1 -92
- package/dist/cjs/grid/components/Row.liquid.js +12 -65
- package/dist/cjs/grid/components/Section.js +1 -27
- package/dist/cjs/grid/components/Section.liquid.js +1 -17
- package/dist/cjs/grid/components/helpers.js +1 -71
- package/dist/cjs/grid/next.js +1 -27
- package/dist/cjs/grid/setting/Col.js +1 -34
- package/dist/cjs/grid/setting/Root.js +1 -19
- package/dist/cjs/grid/setting/Row.js +39 -514
- package/dist/cjs/grid/setting/Section.js +34 -362
- package/dist/cjs/grid/setting/index.js +1 -17
- package/dist/cjs/header/components/Header.js +1 -32
- package/dist/cjs/header/components/SalePageHeaderWarning.js +1 -0
- package/dist/cjs/header/components/icons/ChevronLeft.js +1 -18
- package/dist/cjs/header/components/icons/Dismiss.js +1 -18
- package/dist/cjs/header/components/icons/MenuIcon.js +1 -18
- package/dist/cjs/header/components/kind/basic/DesktopMenu.js +1 -36
- package/dist/cjs/header/components/kind/basic/DesktopMenuItem.js +1 -66
- package/dist/cjs/header/components/kind/basic/MenuMobileItem.js +1 -160
- package/dist/cjs/header/components/kind/basic/MobileMenu.js +1 -157
- package/dist/cjs/header/components/kind/basic/index.js +1 -109
- package/dist/cjs/header/components/kind/modern/index.js +1 -33
- package/dist/cjs/header/hooks/use-body-overlay.js +1 -21
- package/dist/cjs/header/next.js +1 -15
- package/dist/cjs/header/setting/Header.js +3 -716
- package/dist/cjs/header/setting/index.js +1 -11
- package/dist/cjs/heading/Heading.js +1 -46
- package/dist/cjs/heading/Heading.liquid.js +1 -47
- package/dist/cjs/heading/next.js +1 -15
- package/dist/cjs/heading/setting/Heading.js +3 -373
- package/dist/cjs/heading/setting/index.js +1 -11
- package/dist/cjs/helpers.js +1 -17
- package/dist/cjs/hooks/useGetProductId.js +1 -15
- package/dist/cjs/icon/components/Icon.js +1 -76
- package/dist/cjs/icon/components/Icon.liquid.js +13 -65
- package/dist/cjs/icon/next.js +1 -15
- package/dist/cjs/icon/setting/Icon.js +3 -303
- package/dist/cjs/icon/setting/index.js +1 -11
- package/dist/cjs/icon-list/components/IconList.js +1 -81
- package/dist/cjs/icon-list/components/IconList.liquid.js +12 -47
- package/dist/cjs/icon-list/components/IconListItem.js +1 -29
- package/dist/cjs/icon-list/components/IconListItem.liquid.js +4 -19
- package/dist/cjs/icon-list/next.js +1 -19
- package/dist/cjs/icon-list/setting/IconList.js +4 -299
- package/dist/cjs/icon-list/setting/IconListItem.js +1 -40
- package/dist/cjs/icon-list/setting/ItemTemplate.js +1 -329
- package/dist/cjs/icon-list/setting/index.js +1 -13
- package/dist/cjs/icon-list-hoz/components/IconListHoz.js +1 -69
- package/dist/cjs/icon-list-hoz/components/IconListHoz.liquid.js +11 -36
- package/dist/cjs/icon-list-hoz/components/IconListHozItem.js +1 -30
- package/dist/cjs/icon-list-hoz/components/IconListItemHoz.liquid.js +4 -19
- package/dist/cjs/icon-list-hoz/next.js +1 -19
- package/dist/cjs/icon-list-hoz/setting/IconListHoz.js +3 -221
- package/dist/cjs/icon-list-hoz/setting/IconListItem.js +1 -40
- package/dist/cjs/icon-list-hoz/setting/ItemTemplate.js +1 -83
- package/dist/cjs/icon-list-hoz/setting/index.js +1 -13
- package/dist/cjs/icon-list-v2/components/IconList.js +1 -140
- package/dist/cjs/icon-list-v2/components/IconList.liquid.js +19 -89
- package/dist/cjs/icon-list-v2/next.js +1 -15
- package/dist/cjs/icon-list-v2/setting/IconList.js +3 -525
- package/dist/cjs/icon-list-v2/setting/index.js +1 -11
- package/dist/cjs/icon-list-v2/setting/template.js +1 -112
- package/dist/cjs/image/components/AdaptiveImage.js +1 -60
- package/dist/cjs/image/components/AdaptiveImage.liquid.js +19 -96
- package/dist/cjs/image/components/BackgroundImage.js +1 -101
- package/dist/cjs/image/components/Image.js +1 -121
- package/dist/cjs/image/components/Image.liquid.js +10 -93
- package/dist/cjs/image/components/Img.js +1 -28
- package/dist/cjs/image/components/Modal3d.liquid.js +15 -34
- package/dist/cjs/image/components/NextImage.js +1 -40
- package/dist/cjs/image/components/NextImage.liquid.js +16 -111
- package/dist/cjs/image/components/Video.liquid.js +12 -26
- package/dist/cjs/image/components/helpers.js +1 -10
- package/dist/cjs/image/helpers/getSrcSet.js +1 -56
- package/dist/cjs/image/next.js +1 -19
- package/dist/cjs/image/setting/BackgroundImage.js +2 -361
- package/dist/cjs/image/setting/Image.js +4 -464
- package/dist/cjs/image/setting/index.js +1 -13
- package/dist/cjs/image-comparison/components/CompareImage.js +5 -560
- package/dist/cjs/image-comparison/components/CompareImage.liquid.js +22 -328
- package/dist/cjs/image-comparison/components/ImageComparison.js +1 -60
- package/dist/cjs/image-comparison/components/ImageComparison.liquid.js +3 -36
- package/dist/cjs/image-comparison/components/Label.liquid.js +13 -45
- package/dist/cjs/image-comparison/constants/commonStyles.js +1 -62
- package/dist/cjs/image-comparison/next.js +1 -15
- package/dist/cjs/image-comparison/setting/ImageComparison.js +3 -881
- package/dist/cjs/image-comparison/setting/index.js +1 -11
- package/dist/cjs/image-detection/ImageDetection.js +1 -236
- package/dist/cjs/image-detection/next.js +1 -15
- package/dist/cjs/image-detection/setting/ImageDetection.js +2 -75
- package/dist/cjs/image-detection/setting/index.js +1 -11
- package/dist/cjs/index.js +1 -363
- package/dist/cjs/index.liquid.js +1 -199
- package/dist/cjs/input/Input.js +1 -117
- package/dist/cjs/input/next.js +1 -15
- package/dist/cjs/input/setting/Input.js +2 -121
- package/dist/cjs/input/setting/index.js +1 -11
- package/dist/cjs/intersection-observer/InView.js +1 -100
- package/dist/cjs/intersection-observer/observe.js +1 -112
- package/dist/cjs/intersection-observer/useInView.js +1 -103
- package/dist/cjs/line/Divider.js +1 -34
- package/dist/cjs/line/Divider.liquid.js +4 -33
- package/dist/cjs/line/Line.js +1 -165
- package/dist/cjs/line/Line.liquid.js +17 -146
- package/dist/cjs/line/next.js +1 -15
- package/dist/cjs/line/setting/Line.js +3 -581
- package/dist/cjs/line/setting/index.js +1 -11
- package/dist/cjs/link/components/CustomLink.js +1 -14
- package/dist/cjs/link/components/Link.js +1 -36
- package/dist/cjs/link/components/ProductLink.js +1 -18
- package/dist/cjs/link/components/next-link/CustomLink.js +1 -18
- package/dist/cjs/link/components/next-link/ProductLink.js +1 -22
- package/dist/cjs/link/components/next-link/index.js +1 -29
- package/dist/cjs/link/helpers/url-join.js +1 -56
- package/dist/cjs/link/next.js +1 -15
- package/dist/cjs/link/setting/Link.js +1 -68
- package/dist/cjs/link/setting/index.js +1 -11
- package/dist/cjs/menu/components/DropdownMenu.js +1 -67
- package/dist/cjs/menu/components/MegaMenu.js +1 -67
- package/dist/cjs/menu/components/Menu.js +1 -20
- package/dist/cjs/menu/components/NavigationMenu.js +1 -63
- package/dist/cjs/menu/components/SubMegaMenu.js +1 -46
- package/dist/cjs/menu/components/SubNavigationMenu.js +1 -61
- package/dist/cjs/menu/next.js +1 -15
- package/dist/cjs/menu/setting/Menu.js +1 -216
- package/dist/cjs/menu/setting/index.js +1 -11
- package/dist/cjs/modal/components/Modal.js +1 -98
- package/dist/cjs/modal/components/confirm.js +1 -162
- package/dist/cjs/modal/hooks/useModalContainer.js +1 -21
- package/dist/cjs/modal/next.js +1 -15
- package/dist/cjs/modal/setting/Modal.js +1 -27
- package/dist/cjs/modal/setting/index.js +1 -11
- package/dist/cjs/next.js +1 -87
- package/dist/cjs/notification/components/Notice.js +1 -74
- package/dist/cjs/notification/components/Notifications.js +1 -96
- package/dist/cjs/notification/components/icons/CloseIcon.js +1 -17
- package/dist/cjs/notification/hooks/use-notification.js +1 -120
- package/dist/cjs/pagination/Pagination.js +1 -186
- package/dist/cjs/pagination/next.js +1 -15
- package/dist/cjs/pagination/setting/Pagination.js +1 -72
- package/dist/cjs/pagination/setting/index.js +1 -11
- package/dist/cjs/post-purchase/advanced-list/components/AdvancedListPostPurchase.js +1 -0
- package/dist/cjs/post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js +1 -0
- package/dist/cjs/post-purchase/advanced-list/next.js +1 -0
- package/dist/cjs/post-purchase/advanced-list/setting/AdvancedListPostPurchase.js +15 -0
- package/dist/cjs/post-purchase/advanced-list/setting/PostPurchaseAdvancedListItem.js +1 -0
- package/dist/cjs/post-purchase/advanced-list/setting/index.js +1 -0
- package/dist/cjs/post-purchase/advanced-list/setting/template.js +1 -0
- package/dist/cjs/post-purchase/button/Button.js +1 -0
- package/dist/cjs/post-purchase/button/next.js +1 -0
- package/dist/cjs/post-purchase/button/setting/Button.js +22 -0
- package/dist/cjs/post-purchase/button/setting/index.js +1 -0
- package/dist/cjs/post-purchase/callout-banner/components/CalloutBox.js +1 -0
- package/dist/cjs/post-purchase/callout-banner/components/CalloutText.js +1 -0
- package/dist/cjs/post-purchase/callout-banner/next.js +1 -0
- package/dist/cjs/post-purchase/callout-banner/setting/CalloutBox.js +66 -0
- package/dist/cjs/post-purchase/callout-banner/setting/CalloutText.js +18 -0
- package/dist/cjs/post-purchase/callout-banner/setting/index.js +1 -0
- package/dist/cjs/post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js +1 -0
- package/dist/cjs/post-purchase/countdown-timer/components/TextCountdown.js +1 -0
- package/dist/cjs/post-purchase/countdown-timer/hooks/useCountdownTimer.js +1 -0
- package/dist/cjs/post-purchase/countdown-timer/next.js +1 -0
- package/dist/cjs/post-purchase/countdown-timer/settings/CountdownTimer.js +34 -0
- package/dist/cjs/post-purchase/countdown-timer/settings/index.js +1 -0
- package/dist/cjs/post-purchase/image/components/AdaptiveImage.js +1 -0
- package/dist/cjs/post-purchase/image/components/Image.js +1 -0
- package/dist/cjs/post-purchase/image/components/Img.js +1 -0
- package/dist/cjs/post-purchase/image/next.js +1 -0
- package/dist/cjs/post-purchase/image/setting/Image.js +11 -0
- package/dist/cjs/post-purchase/image/setting/index.js +1 -0
- package/dist/cjs/post-purchase/line/components/PostPurchaseLine.js +1 -0
- package/dist/cjs/post-purchase/line/next.js +1 -0
- package/dist/cjs/post-purchase/line/setting/PostPurchaseLine.js +9 -0
- package/dist/cjs/post-purchase/line/setting/index.js +1 -0
- package/dist/cjs/post-purchase/next.js +1 -0
- package/dist/cjs/post-purchase/product/components/AcceptButton.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductDescription.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductDiscountTag.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductOffer.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductPrice.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductPriceBreakdown.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductQuantity.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductTitle.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductVariant.js +1 -0
- package/dist/cjs/post-purchase/product/components/priceBreakdown/MoneyLine.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/Arrow.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/CarouselPostPurchase.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/FeatureImage.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/ImageListCarousel.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/ImageListGrid.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/index.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/layouts/FeatureImageWithGalleryImage.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/layouts/OnlyGalleryImage.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/Dropdown.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/DropdownOption.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/RectangleList.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/VariantGroup.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/VariantItem.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/VariantOption.js +1 -0
- package/dist/cjs/post-purchase/product/helpers/index.js +1 -0
- package/dist/cjs/post-purchase/product/next.js +1 -0
- package/dist/cjs/post-purchase/product/settings/AcceptButton.js +22 -0
- package/dist/cjs/post-purchase/product/settings/ProductDescription.js +9 -0
- package/dist/cjs/post-purchase/product/settings/ProductDiscountTag.js +4 -0
- package/dist/cjs/post-purchase/product/settings/ProductOffer.js +53 -0
- package/dist/cjs/post-purchase/product/settings/ProductPrice.js +15 -0
- package/dist/cjs/post-purchase/product/settings/ProductPriceBreakdown.js +43 -0
- package/dist/cjs/post-purchase/product/settings/ProductQuantity.js +25 -0
- package/dist/cjs/post-purchase/product/settings/ProductTitle.js +9 -0
- package/dist/cjs/post-purchase/product/settings/ProductVariant.js +27 -0
- package/dist/cjs/post-purchase/product/settings/index.js +1 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-1-col.js +8 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-2-col.js +11 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-default.js +12 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-offer-1-col.js +8 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-offer-2-col.js +11 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-offer-default.js +12 -0
- package/dist/cjs/post-purchase/product/settings/product-image/ProductFeatureImage.js +1 -0
- package/dist/cjs/post-purchase/product/settings/product-image/ProductGalleryImage.js +9 -0
- package/dist/cjs/post-purchase/product/settings/product-image/ProductImageLayoutSetting.js +1 -0
- package/dist/cjs/post-purchase/product/settings/product-image/ProductImages.js +21 -0
- package/dist/cjs/post-purchase/text/Text.js +1 -0
- package/dist/cjs/post-purchase/text/index.js +1 -0
- package/dist/cjs/post-purchase/text/next.js +1 -0
- package/dist/cjs/post-purchase/text/setting/Heading.js +3 -0
- package/dist/cjs/post-purchase/text/setting/Text.js +7 -0
- package/dist/cjs/post-purchase/text/setting/index.js +1 -0
- package/dist/cjs/post-purchase/utils/constants.js +1 -0
- package/dist/cjs/post-purchase/utils/helper.js +1 -0
- package/dist/cjs/product/components/DynamicCheckout.js +1 -26
- package/dist/cjs/product/components/DynamicCheckout.liquid.js +59 -106
- package/dist/cjs/product/components/Product.js +1 -98
- package/dist/cjs/product/components/Product.liquid.js +21 -51
- package/dist/cjs/product/components/ProductButton.js +1 -234
- package/dist/cjs/product/components/ProductButton.liquid.js +9 -116
- package/dist/cjs/product/components/ProductDescription.js +2 -107
- package/dist/cjs/product/components/ProductDescription.liquid.js +14 -80
- package/dist/cjs/product/components/ProductImages/ProductFeaturedImage.js +1 -252
- package/dist/cjs/product/components/ProductImages/ProductGalleryCarousel.js +1 -203
- package/dist/cjs/product/components/ProductImages/ProductGalleryGrid.js +1 -163
- package/dist/cjs/product/components/ProductImages/ProductImagesLightBox.js +1 -118
- package/dist/cjs/product/components/ProductImages/common/common.js +1 -112
- package/dist/cjs/product/components/ProductImages/common/productFeaturedImage.js +1 -98
- package/dist/cjs/product/components/ProductImages/common/productGallery.js +1 -199
- package/dist/cjs/product/components/ProductImages/liquid/ProductFeaturedImage.liquid.js +25 -108
- package/dist/cjs/product/components/ProductImages/liquid/ProductGalleryCarousel.liquid.js +9 -108
- package/dist/cjs/product/components/ProductImages/liquid/ProductGalleryGrid.liquid.js +11 -62
- package/dist/cjs/product/components/ProductImages.js +1 -284
- package/dist/cjs/product/components/ProductImages.liquid.js +17 -88
- package/dist/cjs/product/components/ProductImagesV2/common/common.js +1 -210
- package/dist/cjs/product/components/ProductImagesV2/common/hoverAction.js +1 -92
- package/dist/cjs/product/components/ProductImagesV2/common/productFeaturedImage.js +1 -20
- package/dist/cjs/product/components/ProductImagesV2/common/productGallery.js +1 -236
- package/dist/cjs/product/components/ProductImagesV2/jsx/ProductImages.js +11 -216
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ButtonOpenLightBox.js +1 -27
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/MediaIcon.js +1 -62
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductFeaturedImageCarousel.js +1 -268
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductGalleryCarousel.js +1 -261
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductGalleryGrid.js +1 -158
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductImagesLightBox.js +1 -118
- package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/FeatureImageWithGallery.js +1 -153
- package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/GalleryOneCol.js +1 -24
- package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/GalleryTwoCol.js +1 -24
- package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/OnlyFeatureImage.js +1 -32
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +32 -299
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +11 -230
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +28 -207
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +23 -75
- package/dist/cjs/product/components/ProductList.js +1 -206
- package/dist/cjs/product/components/ProductList.liquid.js +135 -168
- package/dist/cjs/product/components/ProductNotFound.js +1 -141
- package/dist/cjs/product/components/ProductPrice.js +1 -71
- package/dist/cjs/product/components/ProductPrice.liquid.js +13 -50
- package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice.js +1 -56
- package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice.liquid.js +13 -53
- package/dist/cjs/product/components/ProductProperties/ProductPropertyInput.js +1 -61
- package/dist/cjs/product/components/ProductProperties/ProductPropertyInput.liquid.js +12 -110
- package/dist/cjs/product/components/ProductProperties/ProductPropertySelect.js +1 -41
- package/dist/cjs/product/components/ProductProperties/ProductPropertySelect.liquid.js +12 -49
- package/dist/cjs/product/components/ProductProperties.js +1 -268
- package/dist/cjs/product/components/ProductProperties.liquid.js +16 -77
- package/dist/cjs/product/components/ProductQuantity.js +1 -197
- package/dist/cjs/product/components/ProductQuantity.liquid.js +17 -112
- package/dist/cjs/product/components/ProductQuickView/ProductQuickView.js +1 -158
- package/dist/cjs/product/components/ProductQuickView/index.js +1 -20
- package/dist/cjs/product/components/ProductTag.js +1 -114
- package/dist/cjs/product/components/ProductTag.liquid.js +22 -82
- package/dist/cjs/product/components/ProductTitle.js +1 -40
- package/dist/cjs/product/components/ProductTitle.liquid.js +7 -35
- package/dist/cjs/product/components/ProductVariants/common.js +1 -68
- package/dist/cjs/product/components/ProductVariants/index.js +1 -311
- package/dist/cjs/product/components/ProductVariants/index.liquid.js +28 -191
- package/dist/cjs/product/components/ProductVariants/utils/mappingVariantStyles.js +1 -0
- package/dist/cjs/product/components/ProductVariants/variants/Base.js +11 -264
- package/dist/cjs/product/components/ProductVariants/variants/Base.liquid.js +19 -122
- package/dist/cjs/product/components/ProductVariants/variants/Color.js +1 -22
- package/dist/cjs/product/components/ProductVariants/variants/Color.liquid.js +3 -17
- package/dist/cjs/product/components/ProductVariants/variants/Dropdown.js +1 -148
- package/dist/cjs/product/components/ProductVariants/variants/Dropdown.liquid.js +11 -53
- package/dist/cjs/product/components/ProductVariants/variants/DropdownGroup.liquid.js +17 -59
- package/dist/cjs/product/components/ProductVariants/variants/DropdownOption.js +1 -21
- package/dist/cjs/product/components/ProductVariants/variants/Image.js +1 -22
- package/dist/cjs/product/components/ProductVariants/variants/Image.liquid.js +3 -17
- package/dist/cjs/product/components/ProductVariants/variants/ImageShopify.js +1 -39
- package/dist/cjs/product/components/ProductVariants/variants/ImageShopify.liquid.js +3 -17
- package/dist/cjs/product/components/ProductVariants/variants/RadioButtons.js +1 -62
- package/dist/cjs/product/components/ProductVariants/variants/RectangleList.js +1 -68
- package/dist/cjs/product/components/ProductVariants/variants/VariantGroup.js +1 -38
- package/dist/cjs/product/components/ProductVariants/variants/VariantOption/index.js +1 -20
- package/dist/cjs/product/components/ProductVariants/variants/index.js +1 -113
- package/dist/cjs/product/components/ProductVariants/variants/index.liquid.js +27 -75
- package/dist/cjs/product/components/SalePageProductListWarning.js +1 -0
- package/dist/cjs/product/components/Vendor.js +1 -38
- package/dist/cjs/product/components/Vendor.liquid.js +7 -35
- package/dist/cjs/product/helpers/function.js +1 -42
- package/dist/cjs/product/helpers/product-image.js +1 -33
- package/dist/cjs/product/helpers/product.js +1 -56
- package/dist/cjs/product/helpers/tracking.js +1 -11
- package/dist/cjs/product/next.js +1 -73
- package/dist/cjs/product/setting/DynamicCheckout.js +3 -551
- package/dist/cjs/product/setting/Product.js +35 -381
- package/dist/cjs/product/setting/ProductButton.js +4 -1079
- package/dist/cjs/product/setting/ProductDescription.js +2 -299
- package/dist/cjs/product/setting/ProductImages.js +5 -1201
- package/dist/cjs/product/setting/ProductList.js +3 -1197
- package/dist/cjs/product/setting/ProductPrice.js +4 -357
- package/dist/cjs/product/setting/ProductProperties.js +3 -975
- package/dist/cjs/product/setting/ProductQuantity.js +3 -610
- package/dist/cjs/product/setting/ProductTag.js +2 -250
- package/dist/cjs/product/setting/ProductTitle.js +3 -352
- package/dist/cjs/product/setting/ProductVariants.js +4 -1423
- package/dist/cjs/product/setting/Vendor.js +3 -338
- package/dist/cjs/product/setting/index.js +1 -37
- package/dist/cjs/product/setting/presets-config/product-presets/product-1-col.js +9 -275
- package/dist/cjs/product/setting/presets-config/product-presets/product-2-col.js +12 -283
- package/dist/cjs/product/setting/presets-config/product-presets/product-default.js +13 -283
- package/dist/cjs/product/setting/product-image-v2/ProductFeatureImage.js +2 -522
- package/dist/cjs/product/setting/product-image-v2/ProductGalleryImage.js +2 -648
- package/dist/cjs/product/setting/product-image-v2/ProductImages.js +4 -439
- package/dist/cjs/product/setting/swatches-style-config/color.js +1 -0
- package/dist/cjs/product/setting/swatches-style-config/dropdown.js +1 -0
- package/dist/cjs/product/setting/swatches-style-config/image-shopify.js +1 -0
- package/dist/cjs/product/setting/swatches-style-config/image.js +1 -0
- package/dist/cjs/product/setting/swatches-style-config/rectangle-list.js +1 -0
- package/dist/cjs/radio/Radio.js +1 -37
- package/dist/cjs/radio/next.js +1 -15
- package/dist/cjs/radio/setting/Radio.js +1 -70
- package/dist/cjs/radio/setting/index.js +1 -11
- package/dist/cjs/select/Select.js +2 -60
- package/dist/cjs/select/next.js +1 -15
- package/dist/cjs/select/setting/index.js +1 -11
- package/dist/cjs/sticky/components/Sticky.js +1 -160
- package/dist/cjs/sticky/components/Sticky.liquid.js +10 -77
- package/dist/cjs/sticky/next.js +1 -15
- package/dist/cjs/sticky/setting/Sticky.js +1 -234
- package/dist/cjs/sticky/setting/index.js +1 -11
- package/dist/cjs/sticky/setting/preset-config.js +2 -878
- package/dist/cjs/stock-counter/components/StockCounter.js +1 -115
- package/dist/cjs/stock-counter/components/StockCounter.liquid.js +23 -104
- package/dist/cjs/stock-counter/const.js +1 -36
- package/dist/cjs/stock-counter/helpers.js +5 -64
- package/dist/cjs/stock-counter/next.js +1 -15
- package/dist/cjs/stock-counter/setting/StockCounter.js +4 -628
- package/dist/cjs/stock-counter/setting/index.js +1 -11
- package/dist/cjs/tab/components/TabItem.js +1 -24
- package/dist/cjs/tab/components/TabItem.liquid.js +6 -23
- package/dist/cjs/tab/components/Tabs.js +1 -133
- package/dist/cjs/tab/components/Tabs.liquid.js +18 -83
- package/dist/cjs/tab/components/common.js +1 -43
- package/dist/cjs/tab/next.js +1 -19
- package/dist/cjs/tab/setting/TabItem.js +2 -33
- package/dist/cjs/tab/setting/Tabs.js +3 -573
- package/dist/cjs/tab/setting/index.js +1 -13
- package/dist/cjs/text/components/Text.js +1 -99
- package/dist/cjs/text/components/Text.liquid.js +10 -88
- package/dist/cjs/text/index.js +1 -10
- package/dist/cjs/text/next.js +1 -15
- package/dist/cjs/text/setting/Text.js +3 -418
- package/dist/cjs/text/setting/index.js +1 -11
- package/dist/cjs/textarea/Textarea.js +1 -38
- package/dist/cjs/textarea/next.js +1 -15
- package/dist/cjs/textarea/setting/Textarea.js +2 -107
- package/dist/cjs/textarea/setting/index.js +1 -11
- package/dist/cjs/third-party/components/AliReviews/AliReviewsSampleContent.js +1 -28
- package/dist/cjs/third-party/components/AliReviews.js +1 -22
- package/dist/cjs/third-party/components/AliReviews.liquid.js +8 -21
- package/dist/cjs/third-party/components/AppstleSubscriptions/AppstleSubscriptionsSampleContent.js +1 -23
- package/dist/cjs/third-party/components/AppstleSubscriptions.js +1 -22
- package/dist/cjs/third-party/components/AppstleSubscriptions.liquid.js +4 -17
- package/dist/cjs/third-party/components/BoldProductOptions/BoldProductOptionsSampleContent.js +1 -23
- package/dist/cjs/third-party/components/BoldProductOptions.js +1 -22
- package/dist/cjs/third-party/components/BoldProductOptions.liquid.js +4 -17
- package/dist/cjs/third-party/components/BoldSubscriptions/BoldSubscriptionsSampleContent.js +1 -34
- package/dist/cjs/third-party/components/BoldSubscriptions.js +1 -22
- package/dist/cjs/third-party/components/BoldSubscriptions.liquid.js +5 -18
- package/dist/cjs/third-party/components/BoostAISearchDiscovery/BoostAISearchDiscoverySampleContent.js +1 -23
- package/dist/cjs/third-party/components/BoostAISearchDiscovery.js +1 -22
- package/dist/cjs/third-party/components/BoostAISearchDiscovery.liquid.js +5 -17
- package/dist/cjs/third-party/components/Bundler/BundlerSampleContent.js +1 -23
- package/dist/cjs/third-party/components/Bundler.js +1 -24
- package/dist/cjs/third-party/components/Bundler.liquid.js +5 -22
- package/dist/cjs/third-party/components/CrossSellCartUpsell/CrossSellCartUpsellSampleContent.js +1 -23
- package/dist/cjs/third-party/components/CrossSellCartUpsell.js +1 -22
- package/dist/cjs/third-party/components/CrossSellCartUpsell.liquid.js +5 -24
- package/dist/cjs/third-party/components/FeraReviews/FeraReviewsSampleContent.js +1 -49
- package/dist/cjs/third-party/components/FeraReviews/LiquidTemplateByWidget.js +1 -52
- package/dist/cjs/third-party/components/FeraReviews.js +1 -27
- package/dist/cjs/third-party/components/FeraReviews.liquid.js +5 -20
- package/dist/cjs/third-party/components/FirePush/FirePushSampleContent.js +1 -21
- package/dist/cjs/third-party/components/FirePush.js +1 -22
- package/dist/cjs/third-party/components/FirePush.liquid.js +4 -17
- package/dist/cjs/third-party/components/FrequentlyBoughtTogether/FrequentlyBoughtTogetherSampleContent.js +1 -23
- package/dist/cjs/third-party/components/FrequentlyBoughtTogether.js +1 -24
- package/dist/cjs/third-party/components/FrequentlyBoughtTogether.liquid.js +5 -18
- package/dist/cjs/third-party/components/Growave/GrowaveSampleContent.js +1 -38
- package/dist/cjs/third-party/components/Growave.js +1 -22
- package/dist/cjs/third-party/components/Growave.liquid.js +5 -18
- package/dist/cjs/third-party/components/InfiniteOptions/InfiniteOptionsSampleContent.js +1 -23
- package/dist/cjs/third-party/components/InfiniteOptions.js +1 -22
- package/dist/cjs/third-party/components/InfiniteOptions.liquid.js +4 -16
- package/dist/cjs/third-party/components/Instafeed/InstafeedSampleContent.js +1 -23
- package/dist/cjs/third-party/components/Instafeed.js +1 -22
- package/dist/cjs/third-party/components/Instafeed.liquid.js +4 -17
- package/dist/cjs/third-party/components/Judgeme/JudgemeSampleContent.js +1 -39
- package/dist/cjs/third-party/components/JudgemeReviews.js +1 -23
- package/dist/cjs/third-party/components/JudgemeReviews.liquid.js +5 -18
- package/dist/cjs/third-party/components/KachingBundles/KachingBundlesSampleContent.js +1 -27
- package/dist/cjs/third-party/components/KachingBundles.js +1 -22
- package/dist/cjs/third-party/components/KachingBundles.liquid.js +4 -17
- package/dist/cjs/third-party/components/Klaviyo/KlaviyoSampleContent.js +1 -23
- package/dist/cjs/third-party/components/Klaviyo.js +1 -30
- package/dist/cjs/third-party/components/Klaviyo.liquid.js +5 -19
- package/dist/cjs/third-party/components/LaiProductReviews/LaiProductReviewsSampleContent.js +1 -58
- package/dist/cjs/third-party/components/LaiProductReviews/LiquidTemplateByWiget.js +10 -43
- package/dist/cjs/third-party/components/LaiProductReviews.js +1 -24
- package/dist/cjs/third-party/components/LaiProductReviews.liquid.js +5 -21
- package/dist/cjs/third-party/components/LooxReviews/LooxReviewsSampleContent.js +1 -35
- package/dist/cjs/third-party/components/LooxReviews.js +1 -22
- package/dist/cjs/third-party/components/LooxReviews.liquid.js +9 -51
- package/dist/cjs/third-party/components/Omnisend/OmnisendSampleContent.js +1 -34
- package/dist/cjs/third-party/components/Omnisend.js +1 -22
- package/dist/cjs/third-party/components/Omnisend.liquid.js +9 -22
- package/dist/cjs/third-party/components/Opinew/OpinewSampleContent.js +1 -33
- package/dist/cjs/third-party/components/Opinew.js +1 -22
- package/dist/cjs/third-party/components/Opinew.liquid.js +6 -19
- package/dist/cjs/third-party/components/ParcelPanel/ParcelPanelSampleContent.js +1 -23
- package/dist/cjs/third-party/components/ParcelPanel.js +1 -22
- package/dist/cjs/third-party/components/ParcelPanel.liquid.js +4 -17
- package/dist/cjs/third-party/components/PickyStory/PickyStorySampleContent.js +1 -36
- package/dist/cjs/third-party/components/PickyStory.js +1 -22
- package/dist/cjs/third-party/components/PickyStory.liquid.js +5 -18
- package/dist/cjs/third-party/components/ProductReviews/ProductReviewsSampleContent.js +1 -29
- package/dist/cjs/third-party/components/ProductReviews.js +1 -22
- package/dist/cjs/third-party/components/ProductReviews.liquid.js +5 -18
- package/dist/cjs/third-party/components/Rivyo/RivyoSampleContent.js +1 -36
- package/dist/cjs/third-party/components/Rivyo.js +1 -22
- package/dist/cjs/third-party/components/Rivyo.liquid.js +5 -18
- package/dist/cjs/third-party/components/Ryviu/RyviuSampleContent.js +1 -37
- package/dist/cjs/third-party/components/Ryviu.js +1 -22
- package/dist/cjs/third-party/components/Ryviu.liquid.js +5 -18
- package/dist/cjs/third-party/components/SealSubscriptions/SealSubscriptionsSampleContent.js +1 -23
- package/dist/cjs/third-party/components/SealSubscriptions.js +1 -22
- package/dist/cjs/third-party/components/SealSubscriptions.liquid.js +4 -17
- package/dist/cjs/third-party/components/SmartSearchBarAndFilters/SmartSearchBarAndFiltersSampleContent.js +1 -23
- package/dist/cjs/third-party/components/SmartSearchBarAndFilters.js +1 -24
- package/dist/cjs/third-party/components/SmartSearchBarAndFilters.liquid.js +6 -20
- package/dist/cjs/third-party/components/Stamped/LiquidTemplateByWidget.js +92 -174
- package/dist/cjs/third-party/components/Stamped/StampedSampleContent.js +1 -46
- package/dist/cjs/third-party/components/Stamped.js +1 -22
- package/dist/cjs/third-party/components/Stamped.liquid.js +5 -20
- package/dist/cjs/third-party/components/ThirdPartyPreview.js +1 -73
- package/dist/cjs/third-party/components/TrustMe/TrustMeSampleContent.js +1 -23
- package/dist/cjs/third-party/components/TrustMe.js +1 -22
- package/dist/cjs/third-party/components/TrustMe.liquid.js +4 -17
- package/dist/cjs/third-party/components/Trustoo/TrustooSampleContent.js +1 -35
- package/dist/cjs/third-party/components/Trustoo.js +1 -22
- package/dist/cjs/third-party/components/Trustoo.liquid.js +6 -19
- package/dist/cjs/third-party/components/UltimateSalesBoost/UltimateSalesBoostSampleContent.js +1 -33
- package/dist/cjs/third-party/components/UltimateSalesBoost.js +1 -22
- package/dist/cjs/third-party/components/UltimateSalesBoost.liquid.js +5 -18
- package/dist/cjs/third-party/components/Vitals/VitalsSampleContent.js +1 -51
- package/dist/cjs/third-party/components/Vitals.js +1 -22
- package/dist/cjs/third-party/components/Vitals.liquid.js +5 -18
- package/dist/cjs/third-party/components/WideBundle/WideBundleSampleContent.js +1 -23
- package/dist/cjs/third-party/components/WideBundle.js +1 -22
- package/dist/cjs/third-party/components/WideBundle.liquid.js +4 -17
- package/dist/cjs/third-party/components/Wiser/WiserSampleContent.js +1 -57
- package/dist/cjs/third-party/components/Wiser.js +1 -27
- package/dist/cjs/third-party/components/Wiser.liquid.js +5 -19
- package/dist/cjs/third-party/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -23
- package/dist/cjs/third-party/components/YotpoLoyalty.js +1 -43
- package/dist/cjs/third-party/components/YotpoReviews/YotpoReviewsSampleContent.js +1 -35
- package/dist/cjs/third-party/components/YotpoReviews.js +1 -22
- package/dist/cjs/third-party/components/YotpoReviews.liquid.js +6 -19
- package/dist/cjs/third-party/configs/AliReviews.js +1 -12
- package/dist/cjs/third-party/configs/AppstleSubscriptions.js +1 -12
- package/dist/cjs/third-party/configs/BoldProductOptions.js +1 -12
- package/dist/cjs/third-party/configs/BoldSubscription.js +1 -12
- package/dist/cjs/third-party/configs/BoostAISearchDiscovery.js +1 -12
- package/dist/cjs/third-party/configs/Bundler.js +1 -12
- package/dist/cjs/third-party/configs/CrossSellCartUpsell.js +1 -12
- package/dist/cjs/third-party/configs/FeraReviews.js +1 -12
- package/dist/cjs/third-party/configs/FirePush.js +1 -12
- package/dist/cjs/third-party/configs/FrequentlyBoughtTogether.js +1 -12
- package/dist/cjs/third-party/configs/Growave.js +1 -12
- package/dist/cjs/third-party/configs/InfiniteOptions.js +1 -12
- package/dist/cjs/third-party/configs/Instafeed.js +1 -12
- package/dist/cjs/third-party/configs/JudgemeReviews.js +1 -12
- package/dist/cjs/third-party/configs/KachingBundles.js +1 -12
- package/dist/cjs/third-party/configs/Klaviyo.js +1 -12
- package/dist/cjs/third-party/configs/LaiProductReviews.js +1 -12
- package/dist/cjs/third-party/configs/LooxReviews.js +1 -12
- package/dist/cjs/third-party/configs/Omnisend.js +1 -12
- package/dist/cjs/third-party/configs/Opinew.js +1 -12
- package/dist/cjs/third-party/configs/ParcelPanel.js +1 -12
- package/dist/cjs/third-party/configs/PickyStory.js +1 -12
- package/dist/cjs/third-party/configs/ProductReviews.js +1 -12
- package/dist/cjs/third-party/configs/Rivyo.js +1 -12
- package/dist/cjs/third-party/configs/Ryviu.js +1 -12
- package/dist/cjs/third-party/configs/SealSubscriptions.js +1 -12
- package/dist/cjs/third-party/configs/SmartSearchBarAndFilters.js +1 -12
- package/dist/cjs/third-party/configs/Stamped.js +1 -12
- package/dist/cjs/third-party/configs/TrustMe.js +1 -12
- package/dist/cjs/third-party/configs/Trustoo.js +1 -12
- package/dist/cjs/third-party/configs/UltimateSalesBoost.js +1 -12
- package/dist/cjs/third-party/configs/Vitals.js +1 -12
- package/dist/cjs/third-party/configs/WideBundle.js +1 -12
- package/dist/cjs/third-party/configs/Wiser.js +1 -12
- package/dist/cjs/third-party/configs/YotpoLoyalty.js +1 -12
- package/dist/cjs/third-party/configs/YotpoReviews.js +1 -12
- package/dist/cjs/third-party/helpers/thirdParty.js +1 -36
- package/dist/cjs/third-party/next.js +1 -206
- package/dist/cjs/third-party/setting/AliReviews.js +2 -166
- package/dist/cjs/third-party/setting/AppstleSubscriptions.js +2 -95
- package/dist/cjs/third-party/setting/BoldProductOptions.js +2 -81
- package/dist/cjs/third-party/setting/BoldSubscriptions.js +2 -106
- package/dist/cjs/third-party/setting/BoostAISearchDiscovery.js +2 -84
- package/dist/cjs/third-party/setting/Bundler.js +2 -99
- package/dist/cjs/third-party/setting/CrossSellCartUpsell.js +2 -81
- package/dist/cjs/third-party/setting/FeraReviews.js +2 -392
- package/dist/cjs/third-party/setting/FirePush.js +2 -81
- package/dist/cjs/third-party/setting/FrequentlyBoughtTogether.js +3 -100
- package/dist/cjs/third-party/setting/Growave.js +2 -138
- package/dist/cjs/third-party/setting/InfiniteOptions.js +2 -81
- package/dist/cjs/third-party/setting/Instafeed.js +2 -87
- package/dist/cjs/third-party/setting/JudgemeReviews.js +2 -151
- package/dist/cjs/third-party/setting/KachingBundles.js +2 -86
- package/dist/cjs/third-party/setting/Klaviyo.js +2 -96
- package/dist/cjs/third-party/setting/LaiProductReviews.js +2 -202
- package/dist/cjs/third-party/setting/LooxReviews.js +2 -145
- package/dist/cjs/third-party/setting/Omnisend.js +2 -146
- package/dist/cjs/third-party/setting/Opinew.js +2 -190
- package/dist/cjs/third-party/setting/ParcelPanel.js +2 -90
- package/dist/cjs/third-party/setting/PickyStory.js +2 -114
- package/dist/cjs/third-party/setting/ProductReviews.js +2 -106
- package/dist/cjs/third-party/setting/Rivyo.js +2 -114
- package/dist/cjs/third-party/setting/Ryviu.js +2 -118
- package/dist/cjs/third-party/setting/SealSubscriptions.js +2 -95
- package/dist/cjs/third-party/setting/SmartSearchBarAndFilters.js +2 -96
- package/dist/cjs/third-party/setting/Stamped/Badge.js +1 -117
- package/dist/cjs/third-party/setting/Stamped/BadgeDouble.js +1 -22
- package/dist/cjs/third-party/setting/Stamped/BadgeRibbon.js +1 -61
- package/dist/cjs/third-party/setting/Stamped/BadgeSingle.js +1 -22
- package/dist/cjs/third-party/setting/Stamped/Carousel.js +1 -126
- package/dist/cjs/third-party/setting/Stamped/CheckoutReviews.js +1 -107
- package/dist/cjs/third-party/setting/Stamped/Colors.js +1 -58
- package/dist/cjs/third-party/setting/Stamped/Filters.js +1 -250
- package/dist/cjs/third-party/setting/Stamped/FullPage.js +1 -90
- package/dist/cjs/third-party/setting/Stamped/InstagramFeed.js +1 -111
- package/dist/cjs/third-party/setting/Stamped/MainWidget.js +1 -145
- package/dist/cjs/third-party/setting/Stamped/ProductRating.js +1 -73
- package/dist/cjs/third-party/setting/Stamped/SingleHighlight.js +1 -22
- package/dist/cjs/third-party/setting/Stamped/SiteBadge.js +1 -146
- package/dist/cjs/third-party/setting/Stamped/TopRated.js +1 -37
- package/dist/cjs/third-party/setting/Stamped/VisualGallery.js +1 -129
- package/dist/cjs/third-party/setting/Stamped/WallPhotos.js +1 -31
- package/dist/cjs/third-party/setting/Stamped/index.js +1 -51
- package/dist/cjs/third-party/setting/Stamped.js +2 -105
- package/dist/cjs/third-party/setting/TrustMe.js +2 -81
- package/dist/cjs/third-party/setting/Trustoo.js +2 -165
- package/dist/cjs/third-party/setting/UltimateSalesBoost.js +2 -180
- package/dist/cjs/third-party/setting/Vitals.js +3 -338
- package/dist/cjs/third-party/setting/WideBundle.js +2 -81
- package/dist/cjs/third-party/setting/Wiser.js +2 -223
- package/dist/cjs/third-party/setting/YotpoLoyalty.js +2 -79
- package/dist/cjs/third-party/setting/YotpoReviews.js +2 -124
- package/dist/cjs/third-party/setting/index.js +1 -87
- package/dist/cjs/third-party-instant/components/InstantJudgemeReviews.js +1 -75
- package/dist/cjs/third-party-instant/components/InstantKlaviyo.js +1 -47
- package/dist/cjs/third-party-instant/components/InstantLooxReviews.js +1 -36
- package/dist/cjs/third-party-instant/components/InstantThirdPartyPreview.js +1 -70
- package/dist/cjs/third-party-instant/components/InstantYotpoLoyalty.js +1 -43
- package/dist/cjs/third-party-instant/components/Judgeme/JudgemeSampleContent.js +1 -23
- package/dist/cjs/third-party-instant/components/Judgeme/SingleProduct.js +1 -48
- package/dist/cjs/third-party-instant/components/Judgeme/WithoutProduct.js +1 -93
- package/dist/cjs/third-party-instant/components/Klaviyo/KlaviyoSampleContent.js +1 -23
- package/dist/cjs/third-party-instant/components/LooxReviews/LooxReviewsSampleContent.js +2 -24
- package/dist/cjs/third-party-instant/components/LooxReviews/SingleProduct.js +1 -51
- package/dist/cjs/third-party-instant/components/LooxReviews/WithoutProduct.js +1 -55
- package/dist/cjs/third-party-instant/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -23
- package/dist/cjs/third-party-instant/configs/JudgemeReviews.js +1 -12
- package/dist/cjs/third-party-instant/configs/Klaviyo.js +1 -12
- package/dist/cjs/third-party-instant/configs/LooxReviews.js +1 -12
- package/dist/cjs/third-party-instant/configs/YotpoLoyalty.js +1 -12
- package/dist/cjs/third-party-instant/helpers/thirdParty.js +1 -74
- package/dist/cjs/third-party-instant/next.js +1 -32
- package/dist/cjs/third-party-instant/setting/InstantJudgemeReviews.js +2 -157
- package/dist/cjs/third-party-instant/setting/InstantKlaviyo.js +2 -95
- package/dist/cjs/third-party-instant/setting/InstantLooxReviews.js +2 -118
- package/dist/cjs/third-party-instant/setting/InstantYotpoLoyalty.js +2 -95
- package/dist/cjs/third-party-instant/setting/index.js +1 -17
- package/dist/cjs/third-party-instant/types/JudgemeReviews.js +1 -13
- package/dist/cjs/third-party-slot/components/ThirdPartySlot.js +1 -51
- package/dist/cjs/third-party-slot/components/ThirdPartySlot.liquid.js +9 -25
- package/dist/cjs/third-party-slot/next.js +1 -15
- package/dist/cjs/third-party-slot/setting/ThirdPartySlot.js +2 -105
- package/dist/cjs/third-party-slot/setting/index.js +1 -11
- package/dist/cjs/video/components/HTML5Embed.js +1 -43
- package/dist/cjs/video/components/HTML5Embed.liquid.js +21 -49
- package/dist/cjs/video/components/LiteVimeoEmbed.js +1 -117
- package/dist/cjs/video/components/LiteVimeoEmbed.liquid.js +13 -48
- package/dist/cjs/video/components/LiteYouTubeEmbed.js +1 -195
- package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +15 -53
- package/dist/cjs/video/components/Video.js +1 -138
- package/dist/cjs/video/components/Video.liquid.js +6 -118
- package/dist/cjs/video/helpers/common.js +1 -46
- package/dist/cjs/video/next.js +1 -15
- package/dist/cjs/video/setting/Video.js +3 -451
- package/dist/cjs/video/setting/index.js +1 -11
- package/dist/esm/accordion/components/Accordion.js +1 -134
- package/dist/esm/accordion/components/Accordion.liquid.js +11 -99
- package/dist/esm/accordion/components/AccordionItem.js +4 -291
- package/dist/esm/accordion/components/AccordionItem.liquid.js +38 -219
- package/dist/esm/accordion/hooks/useMountTransition.js +1 -23
- package/dist/esm/accordion/next.js +1 -15
- package/dist/esm/accordion/setting/Accordion.js +15 -1351
- package/dist/esm/accordion/setting/AccordionItem.js +1 -30
- package/dist/esm/accordion/setting/ItemTemplate.js +1 -46
- package/dist/esm/accordion/setting/index.js +1 -9
- package/dist/esm/banner/components/hero-banner/index.js +1 -243
- package/dist/esm/banner/components/hero-banner/index.liquid.js +22 -163
- package/dist/esm/banner/helpers/common.js +1 -269
- package/dist/esm/banner/next.js +1 -11
- package/dist/esm/banner/setting/HeroBanner.js +19 -975
- package/dist/esm/banner/setting/index.js +1 -7
- package/dist/esm/banner/setting/presets/heroBanner1Col.js +2 -108
- package/dist/esm/banner/setting/presets/heroBannerContentLeft.js +2 -129
- package/dist/esm/banner/setting/presets/heroBannerContentRight.js +2 -129
- package/dist/esm/breadcrumb/components/Breadcrumb.js +1 -45
- package/dist/esm/breadcrumb/next.js +1 -11
- package/dist/esm/breadcrumb/setting/Breadcrumb.js +1 -34
- package/dist/esm/breadcrumb/setting/index.js +1 -7
- package/dist/esm/builder.js +1 -275
- package/dist/esm/button/components/Button.js +8 -134
- package/dist/esm/button/components/Button.liquid.js +27 -144
- package/dist/esm/button/next.js +1 -11
- package/dist/esm/button/setting/Button.js +4 -766
- package/dist/esm/button/setting/index.js +1 -7
- package/dist/esm/carousel/components/Arrow.js +10 -92
- package/dist/esm/carousel/components/Arrow.liquid.js +28 -75
- package/dist/esm/carousel/components/Carousel.js +1 -502
- package/dist/esm/carousel/components/Carousel.liquid.js +15 -216
- package/dist/esm/carousel/components/CarouselItem.js +1 -68
- package/dist/esm/carousel/components/CarouselItem.liquid.js +7 -72
- package/dist/esm/carousel/components/Dots.js +1 -64
- package/dist/esm/carousel/components/Dots.liquid.js +4 -19
- package/dist/esm/carousel/components/common/arrow.js +1 -121
- package/dist/esm/carousel/components/common/carousel.js +1 -94
- package/dist/esm/carousel/components/common/dots.js +1 -51
- package/dist/esm/carousel/components/hooks/useTrackPreviewPause.js +1 -30
- package/dist/esm/carousel/components/plugins/AnimationPlugin.js +1 -36
- package/dist/esm/carousel/components/plugins/AutoPlayPlugin.js +1 -62
- package/dist/esm/carousel/components/plugins/FixSliderMoveBackwards.js +1 -13
- package/dist/esm/carousel/components/plugins/MutationPlugin.js +1 -43
- package/dist/esm/carousel/next.js +1 -15
- package/dist/esm/carousel/setting/Carousel.js +7 -1377
- package/dist/esm/carousel/setting/CarouselItem.js +1 -36
- package/dist/esm/carousel/setting/index.js +1 -9
- package/dist/esm/cart/components/Cart.js +1 -80
- package/dist/esm/cart/components/CartCheckout.js +1 -14
- package/dist/esm/cart/components/CartDiscount.js +1 -9
- package/dist/esm/cart/components/CartLineAttribute.js +1 -26
- package/dist/esm/cart/components/CartLineImage.js +1 -40
- package/dist/esm/cart/components/CartLinePrice.js +1 -41
- package/dist/esm/cart/components/CartLineVariant.js +1 -23
- package/dist/esm/cart/components/CartList.js +1 -32
- package/dist/esm/cart/components/CartOrderNote.js +1 -42
- package/dist/esm/cart/components/CartTotalItem.js +1 -19
- package/dist/esm/cart/components/CartTotalPrice.js +1 -51
- package/dist/esm/cart/components/CheckoutNow.js +1 -37
- package/dist/esm/cart/components/CouponList.js +1 -11
- package/dist/esm/cart/components/DiscountInput.js +1 -23
- package/dist/esm/cart/components/ShopPayButton/ShopPayButtonCommon.js +1 -17
- package/dist/esm/cart/components/ShopPayButton/icons/BaseIcon.js +1 -12
- package/dist/esm/cart/components/ShopPayButton/icons/BaseIcon.liquid.js +4 -12
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.js +1 -46
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.js +1 -46
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.js +1 -44
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.js +1 -42
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.js +1 -42
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.js +1 -42
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/index.js +1 -108
- package/dist/esm/cart/components/ShopPayButton/index.liquid.js +8 -38
- package/dist/esm/cart/next.js +1 -69
- package/dist/esm/cart/setting/Cart.js +3 -63
- package/dist/esm/cart/setting/CartCheckout.js +1 -16
- package/dist/esm/cart/setting/CartDiscount.js +1 -16
- package/dist/esm/cart/setting/CartLineAttribute.js +1 -25
- package/dist/esm/cart/setting/CartLineImage.js +1 -161
- package/dist/esm/cart/setting/CartLinePrice.js +1 -25
- package/dist/esm/cart/setting/CartLineVariant.js +1 -25
- package/dist/esm/cart/setting/CartList.js +1 -135
- package/dist/esm/cart/setting/CartOrderNote.js +1 -40
- package/dist/esm/cart/setting/CartTotalItem.js +1 -25
- package/dist/esm/cart/setting/CartTotalPrice.js +1 -54
- package/dist/esm/cart/setting/CouponList.js +1 -16
- package/dist/esm/cart/setting/DiscountInput.js +1 -29
- package/dist/esm/cart/setting/ShopPayButton.js +1 -164
- package/dist/esm/cart/setting/index.js +1 -33
- package/dist/esm/code/components/CSSCode.js +2 -125
- package/dist/esm/code/components/CSSCode.liquid.js +7 -26
- package/dist/esm/code/next.js +1 -11
- package/dist/esm/code/setting/CSSCode.js +3 -171
- package/dist/esm/code/setting/index.js +1 -7
- package/dist/esm/collection/components/CollectionBanner.js +1 -93
- package/dist/esm/collection/components/CollectionBanner.liquid.js +14 -72
- package/dist/esm/collection/components/CollectionDescription.js +1 -16
- package/dist/esm/collection/components/CollectionDescription.liquid.js +3 -17
- package/dist/esm/collection/components/CollectionPaginator.js +1 -146
- package/dist/esm/collection/components/CollectionPaginator.liquid.js +9 -54
- package/dist/esm/collection/components/CollectionTitle.js +1 -16
- package/dist/esm/collection/components/CollectionTitle.liquid.js +3 -17
- package/dist/esm/collection/components/CollectionToolbar.js +1 -106
- package/dist/esm/collection/components/CollectionToolbar.liquid.js +15 -66
- package/dist/esm/collection/next.js +1 -27
- package/dist/esm/collection/setting/CollectionBanner.js +10 -528
- package/dist/esm/collection/setting/CollectionDescription.js +3 -124
- package/dist/esm/collection/setting/CollectionPaginator.js +3 -319
- package/dist/esm/collection/setting/CollectionTitle.js +3 -124
- package/dist/esm/collection/setting/CollectionToolbar.js +3 -272
- package/dist/esm/collection/setting/index.js +1 -15
- package/dist/esm/common/components/Loading.js +1 -19
- package/dist/esm/common/components/Tooltip.js +1 -0
- package/dist/esm/countdown-timer/components/Countdown.js +1 -304
- package/dist/esm/countdown-timer/components/Countdown.liquid.js +20 -87
- package/dist/esm/countdown-timer/helpers.js +1 -90
- package/dist/esm/countdown-timer/hooks/useTimeLeft.js +1 -90
- package/dist/esm/countdown-timer/next.js +1 -12
- package/dist/esm/countdown-timer/setting/Countdown.js +3 -879
- package/dist/esm/countdown-timer/setting/index.js +1 -7
- package/dist/esm/dialog/components/Dialog.js +1 -353
- package/dist/esm/dialog/components/Dialog.liquid.js +16 -143
- package/dist/esm/dialog/helpers/common.js +1 -16
- package/dist/esm/dialog/hooks/use-scroll-percentage.js +1 -32
- package/dist/esm/dialog/next.js +1 -11
- package/dist/esm/dialog/setting/Dialog.js +3 -575
- package/dist/esm/dialog/setting/index.js +1 -7
- package/dist/esm/form/components/contact/Contact.js +1 -11
- package/dist/esm/form/components/contact/Contact.liquid.js +3 -18
- package/dist/esm/form/components/form-checkbox/FormCheckbox.js +1 -47
- package/dist/esm/form/components/form-checkbox/FormCheckbox.liquid.js +10 -35
- package/dist/esm/form/components/form-dropdown/FormDropdown.js +1 -68
- package/dist/esm/form/components/form-dropdown/FormDropdown.liquid.js +12 -62
- package/dist/esm/form/components/form-email/FormEmail.js +1 -55
- package/dist/esm/form/components/form-email/FormEmail.liquid.js +10 -62
- package/dist/esm/form/components/newsletter/Newsletter.js +1 -11
- package/dist/esm/form/components/newsletter/Newsletter.liquid.js +19 -52
- package/dist/esm/form/components/submit-button/SubmitButton.js +1 -27
- package/dist/esm/form/components/submit-button/SubmitButton.liquid.js +3 -29
- package/dist/esm/form/components/textarea/TextArea.js +1 -71
- package/dist/esm/form/components/textarea/TextArea.liquid.js +11 -70
- package/dist/esm/form/components/textfield/TextField.js +1 -64
- package/dist/esm/form/components/textfield/TextField.liquid.js +11 -70
- package/dist/esm/form/next.js +1 -39
- package/dist/esm/form/setting/Contact.js +3 -42
- package/dist/esm/form/setting/ContactInitConfig.js +1 -226
- package/dist/esm/form/setting/FormCheckbox.js +3 -222
- package/dist/esm/form/setting/FormCheckboxInitConfig.js +1 -16
- package/dist/esm/form/setting/FormDropdown.js +3 -258
- package/dist/esm/form/setting/FormDropdownInitConfig.js +1 -31
- package/dist/esm/form/setting/FormEmail.js +3 -271
- package/dist/esm/form/setting/FormEmailInitConfig.js +1 -31
- package/dist/esm/form/setting/Newsletter.js +3 -164
- package/dist/esm/form/setting/NewsletterInitConfig.js +1 -131
- package/dist/esm/form/setting/SubmitButton.js +4 -649
- package/dist/esm/form/setting/SubmitButtonInitConfig.js +1 -28
- package/dist/esm/form/setting/TextField.js +3 -302
- package/dist/esm/form/setting/Textarea.js +3 -303
- package/dist/esm/form/setting/index.js +1 -21
- package/dist/esm/grid/components/ChildrenDroppable.js +4 -61
- package/dist/esm/grid/components/Col.js +1 -21
- package/dist/esm/grid/components/Col.liquid.js +6 -35
- package/dist/esm/grid/components/Root.js +1 -9
- package/dist/esm/grid/components/Root.liquid.js +1 -5
- package/dist/esm/grid/components/Row.js +1 -88
- package/dist/esm/grid/components/Row.liquid.js +12 -61
- package/dist/esm/grid/components/Section.js +1 -23
- package/dist/esm/grid/components/Section.liquid.js +1 -13
- package/dist/esm/grid/components/helpers.js +1 -69
- package/dist/esm/grid/next.js +1 -23
- package/dist/esm/grid/setting/Col.js +1 -30
- package/dist/esm/grid/setting/Root.js +1 -15
- package/dist/esm/grid/setting/Row.js +39 -510
- package/dist/esm/grid/setting/Section.js +34 -358
- package/dist/esm/grid/setting/index.js +1 -13
- package/dist/esm/header/components/Header.js +1 -28
- package/dist/esm/header/components/SalePageHeaderWarning.js +1 -0
- package/dist/esm/header/components/icons/ChevronLeft.js +1 -14
- package/dist/esm/header/components/icons/Dismiss.js +1 -14
- package/dist/esm/header/components/icons/MenuIcon.js +1 -14
- package/dist/esm/header/components/kind/basic/DesktopMenu.js +1 -32
- package/dist/esm/header/components/kind/basic/DesktopMenuItem.js +1 -62
- package/dist/esm/header/components/kind/basic/MenuMobileItem.js +1 -156
- package/dist/esm/header/components/kind/basic/MobileMenu.js +1 -153
- package/dist/esm/header/components/kind/basic/index.js +1 -105
- package/dist/esm/header/components/kind/modern/index.js +1 -29
- package/dist/esm/header/hooks/use-body-overlay.js +1 -19
- package/dist/esm/header/next.js +1 -11
- package/dist/esm/header/setting/Header.js +3 -712
- package/dist/esm/header/setting/index.js +1 -7
- package/dist/esm/heading/Heading.js +1 -42
- package/dist/esm/heading/Heading.liquid.js +1 -43
- package/dist/esm/heading/next.js +1 -11
- package/dist/esm/heading/setting/Heading.js +3 -369
- package/dist/esm/heading/setting/index.js +1 -7
- package/dist/esm/helpers.js +1 -14
- package/dist/esm/hooks/useGetProductId.js +1 -13
- package/dist/esm/icon/components/Icon.js +1 -72
- package/dist/esm/icon/components/Icon.liquid.js +13 -61
- package/dist/esm/icon/next.js +1 -11
- package/dist/esm/icon/setting/Icon.js +3 -299
- package/dist/esm/icon/setting/index.js +1 -7
- package/dist/esm/icon-list/components/IconList.js +1 -77
- package/dist/esm/icon-list/components/IconList.liquid.js +12 -43
- package/dist/esm/icon-list/components/IconListItem.js +1 -25
- package/dist/esm/icon-list/components/IconListItem.liquid.js +4 -15
- package/dist/esm/icon-list/next.js +1 -15
- package/dist/esm/icon-list/setting/IconList.js +4 -295
- package/dist/esm/icon-list/setting/IconListItem.js +1 -36
- package/dist/esm/icon-list/setting/ItemTemplate.js +1 -323
- package/dist/esm/icon-list/setting/index.js +1 -9
- package/dist/esm/icon-list-hoz/components/IconListHoz.js +1 -65
- package/dist/esm/icon-list-hoz/components/IconListHoz.liquid.js +11 -32
- package/dist/esm/icon-list-hoz/components/IconListHozItem.js +1 -26
- package/dist/esm/icon-list-hoz/components/IconListItemHoz.liquid.js +4 -15
- package/dist/esm/icon-list-hoz/next.js +1 -15
- package/dist/esm/icon-list-hoz/setting/IconListHoz.js +3 -217
- package/dist/esm/icon-list-hoz/setting/IconListItem.js +1 -36
- package/dist/esm/icon-list-hoz/setting/ItemTemplate.js +1 -80
- package/dist/esm/icon-list-hoz/setting/index.js +1 -9
- package/dist/esm/icon-list-v2/components/IconList.js +1 -136
- package/dist/esm/icon-list-v2/components/IconList.liquid.js +19 -85
- package/dist/esm/icon-list-v2/next.js +1 -11
- package/dist/esm/icon-list-v2/setting/IconList.js +3 -521
- package/dist/esm/icon-list-v2/setting/index.js +1 -7
- package/dist/esm/icon-list-v2/setting/template.js +1 -110
- package/dist/esm/image/components/AdaptiveImage.js +1 -56
- package/dist/esm/image/components/AdaptiveImage.liquid.js +19 -92
- package/dist/esm/image/components/BackgroundImage.js +1 -97
- package/dist/esm/image/components/Image.js +1 -117
- package/dist/esm/image/components/Image.liquid.js +10 -89
- package/dist/esm/image/components/Img.js +1 -24
- package/dist/esm/image/components/Modal3d.liquid.js +15 -30
- package/dist/esm/image/components/NextImage.js +1 -36
- package/dist/esm/image/components/NextImage.liquid.js +16 -107
- package/dist/esm/image/components/Video.liquid.js +12 -22
- package/dist/esm/image/components/helpers.js +1 -8
- package/dist/esm/image/helpers/getSrcSet.js +1 -50
- package/dist/esm/image/next.js +1 -15
- package/dist/esm/image/setting/BackgroundImage.js +2 -357
- package/dist/esm/image/setting/Image.js +4 -460
- package/dist/esm/image/setting/index.js +1 -9
- package/dist/esm/image-comparison/components/CompareImage.js +5 -556
- package/dist/esm/image-comparison/components/CompareImage.liquid.js +22 -324
- package/dist/esm/image-comparison/components/ImageComparison.js +1 -56
- package/dist/esm/image-comparison/components/ImageComparison.liquid.js +3 -32
- package/dist/esm/image-comparison/components/Label.liquid.js +13 -41
- package/dist/esm/image-comparison/constants/commonStyles.js +1 -58
- package/dist/esm/image-comparison/next.js +1 -11
- package/dist/esm/image-comparison/setting/ImageComparison.js +3 -877
- package/dist/esm/image-comparison/setting/index.js +1 -7
- package/dist/esm/image-detection/ImageDetection.js +1 -232
- package/dist/esm/image-detection/next.js +1 -11
- package/dist/esm/image-detection/setting/ImageDetection.js +2 -71
- package/dist/esm/image-detection/setting/index.js +1 -7
- package/dist/esm/index.js +1 -180
- package/dist/esm/index.liquid.js +1 -97
- package/dist/esm/input/Input.js +1 -113
- package/dist/esm/input/next.js +1 -11
- package/dist/esm/input/setting/Input.js +2 -117
- package/dist/esm/input/setting/index.js +1 -7
- package/dist/esm/intersection-observer/InView.js +1 -98
- package/dist/esm/intersection-observer/observe.js +1 -109
- package/dist/esm/intersection-observer/useInView.js +1 -101
- package/dist/esm/line/Divider.js +1 -30
- package/dist/esm/line/Divider.liquid.js +4 -29
- package/dist/esm/line/Line.js +1 -161
- package/dist/esm/line/Line.liquid.js +17 -142
- package/dist/esm/line/next.js +1 -11
- package/dist/esm/line/setting/Line.js +3 -577
- package/dist/esm/line/setting/index.js +1 -7
- package/dist/esm/link/components/CustomLink.js +1 -10
- package/dist/esm/link/components/Link.js +1 -32
- package/dist/esm/link/components/ProductLink.js +1 -14
- package/dist/esm/link/components/next-link/CustomLink.js +1 -14
- package/dist/esm/link/components/next-link/ProductLink.js +1 -18
- package/dist/esm/link/components/next-link/index.js +1 -25
- package/dist/esm/link/helpers/url-join.js +1 -54
- package/dist/esm/link/next.js +1 -11
- package/dist/esm/link/setting/Link.js +1 -64
- package/dist/esm/link/setting/index.js +1 -7
- package/dist/esm/menu/components/DropdownMenu.js +1 -63
- package/dist/esm/menu/components/MegaMenu.js +1 -63
- package/dist/esm/menu/components/Menu.js +1 -16
- package/dist/esm/menu/components/NavigationMenu.js +1 -59
- package/dist/esm/menu/components/SubMegaMenu.js +1 -42
- package/dist/esm/menu/components/SubNavigationMenu.js +1 -57
- package/dist/esm/menu/next.js +1 -11
- package/dist/esm/menu/setting/Menu.js +1 -212
- package/dist/esm/menu/setting/index.js +1 -7
- package/dist/esm/modal/components/Modal.js +1 -94
- package/dist/esm/modal/components/confirm.js +1 -152
- package/dist/esm/modal/hooks/useModalContainer.js +1 -17
- package/dist/esm/modal/next.js +1 -11
- package/dist/esm/modal/setting/Modal.js +1 -23
- package/dist/esm/modal/setting/index.js +1 -7
- package/dist/esm/next.js +1 -83
- package/dist/esm/notification/components/Notice.js +1 -70
- package/dist/esm/notification/components/Notifications.js +1 -92
- package/dist/esm/notification/components/icons/CloseIcon.js +1 -13
- package/dist/esm/notification/hooks/use-notification.js +1 -116
- package/dist/esm/pagination/Pagination.js +1 -182
- package/dist/esm/pagination/next.js +1 -11
- package/dist/esm/pagination/setting/Pagination.js +1 -68
- package/dist/esm/pagination/setting/index.js +1 -7
- package/dist/esm/post-purchase/advanced-list/components/AdvancedListPostPurchase.js +1 -0
- package/dist/esm/post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js +1 -0
- package/dist/esm/post-purchase/advanced-list/next.js +1 -0
- package/dist/esm/post-purchase/advanced-list/setting/AdvancedListPostPurchase.js +15 -0
- package/dist/esm/post-purchase/advanced-list/setting/PostPurchaseAdvancedListItem.js +1 -0
- package/dist/esm/post-purchase/advanced-list/setting/index.js +1 -0
- package/dist/esm/post-purchase/advanced-list/setting/template.js +1 -0
- package/dist/esm/post-purchase/button/Button.js +1 -0
- package/dist/esm/post-purchase/button/next.js +1 -0
- package/dist/esm/post-purchase/button/setting/Button.js +22 -0
- package/dist/esm/post-purchase/button/setting/index.js +1 -0
- package/dist/esm/post-purchase/callout-banner/components/CalloutBox.js +1 -0
- package/dist/esm/post-purchase/callout-banner/components/CalloutText.js +1 -0
- package/dist/esm/post-purchase/callout-banner/next.js +1 -0
- package/dist/esm/post-purchase/callout-banner/setting/CalloutBox.js +66 -0
- package/dist/esm/post-purchase/callout-banner/setting/CalloutText.js +18 -0
- package/dist/esm/post-purchase/callout-banner/setting/index.js +1 -0
- package/dist/esm/post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js +1 -0
- package/dist/esm/post-purchase/countdown-timer/components/TextCountdown.js +1 -0
- package/dist/esm/post-purchase/countdown-timer/hooks/useCountdownTimer.js +1 -0
- package/dist/esm/post-purchase/countdown-timer/next.js +1 -0
- package/dist/esm/post-purchase/countdown-timer/settings/CountdownTimer.js +34 -0
- package/dist/esm/post-purchase/countdown-timer/settings/index.js +1 -0
- package/dist/esm/post-purchase/image/components/AdaptiveImage.js +1 -0
- package/dist/esm/post-purchase/image/components/Image.js +1 -0
- package/dist/esm/post-purchase/image/components/Img.js +1 -0
- package/dist/esm/post-purchase/image/next.js +1 -0
- package/dist/esm/post-purchase/image/setting/Image.js +11 -0
- package/dist/esm/post-purchase/image/setting/index.js +1 -0
- package/dist/esm/post-purchase/line/components/PostPurchaseLine.js +1 -0
- package/dist/esm/post-purchase/line/next.js +1 -0
- package/dist/esm/post-purchase/line/setting/PostPurchaseLine.js +9 -0
- package/dist/esm/post-purchase/line/setting/index.js +1 -0
- package/dist/esm/post-purchase/next.js +1 -0
- package/dist/esm/post-purchase/product/components/AcceptButton.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductDescription.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductDiscountTag.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductOffer.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductPrice.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductPriceBreakdown.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductQuantity.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductTitle.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductVariant.js +1 -0
- package/dist/esm/post-purchase/product/components/priceBreakdown/MoneyLine.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/Arrow.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/CarouselPostPurchase.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/FeatureImage.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/ImageListCarousel.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/ImageListGrid.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/index.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/layouts/FeatureImageWithGalleryImage.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/layouts/OnlyGalleryImage.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/Dropdown.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/DropdownOption.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/RectangleList.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/VariantGroup.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/VariantItem.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/VariantOption.js +1 -0
- package/dist/esm/post-purchase/product/helpers/index.js +1 -0
- package/dist/esm/post-purchase/product/next.js +1 -0
- package/dist/esm/post-purchase/product/settings/AcceptButton.js +22 -0
- package/dist/esm/post-purchase/product/settings/ProductDescription.js +9 -0
- package/dist/esm/post-purchase/product/settings/ProductDiscountTag.js +4 -0
- package/dist/esm/post-purchase/product/settings/ProductOffer.js +53 -0
- package/dist/esm/post-purchase/product/settings/ProductPrice.js +15 -0
- package/dist/esm/post-purchase/product/settings/ProductPriceBreakdown.js +43 -0
- package/dist/esm/post-purchase/product/settings/ProductQuantity.js +25 -0
- package/dist/esm/post-purchase/product/settings/ProductTitle.js +9 -0
- package/dist/esm/post-purchase/product/settings/ProductVariant.js +27 -0
- package/dist/esm/post-purchase/product/settings/index.js +1 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-1-col.js +8 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-2-col.js +11 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-default.js +12 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-offer-1-col.js +8 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-offer-2-col.js +11 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-offer-default.js +12 -0
- package/dist/esm/post-purchase/product/settings/product-image/ProductFeatureImage.js +1 -0
- package/dist/esm/post-purchase/product/settings/product-image/ProductGalleryImage.js +9 -0
- package/dist/esm/post-purchase/product/settings/product-image/ProductImageLayoutSetting.js +1 -0
- package/dist/esm/post-purchase/product/settings/product-image/ProductImages.js +21 -0
- package/dist/esm/post-purchase/text/Text.js +1 -0
- package/dist/esm/post-purchase/text/index.js +1 -0
- package/dist/esm/post-purchase/text/next.js +1 -0
- package/dist/esm/post-purchase/text/setting/Heading.js +3 -0
- package/dist/esm/post-purchase/text/setting/Text.js +7 -0
- package/dist/esm/post-purchase/text/setting/index.js +1 -0
- package/dist/esm/post-purchase/utils/constants.js +1 -0
- package/dist/esm/post-purchase/utils/helper.js +1 -0
- package/dist/esm/product/components/DynamicCheckout.js +1 -22
- package/dist/esm/product/components/DynamicCheckout.liquid.js +59 -102
- package/dist/esm/product/components/Product.js +1 -94
- package/dist/esm/product/components/Product.liquid.js +21 -47
- package/dist/esm/product/components/ProductButton.js +1 -230
- package/dist/esm/product/components/ProductButton.liquid.js +9 -112
- package/dist/esm/product/components/ProductDescription.js +2 -103
- package/dist/esm/product/components/ProductDescription.liquid.js +14 -76
- package/dist/esm/product/components/ProductImages/ProductFeaturedImage.js +1 -248
- package/dist/esm/product/components/ProductImages/ProductGalleryCarousel.js +1 -199
- package/dist/esm/product/components/ProductImages/ProductGalleryGrid.js +1 -159
- package/dist/esm/product/components/ProductImages/ProductImagesLightBox.js +1 -114
- package/dist/esm/product/components/ProductImages/common/common.js +1 -103
- package/dist/esm/product/components/ProductImages/common/productFeaturedImage.js +1 -90
- package/dist/esm/product/components/ProductImages/common/productGallery.js +1 -188
- package/dist/esm/product/components/ProductImages/liquid/ProductFeaturedImage.liquid.js +25 -104
- package/dist/esm/product/components/ProductImages/liquid/ProductGalleryCarousel.liquid.js +9 -104
- package/dist/esm/product/components/ProductImages/liquid/ProductGalleryGrid.liquid.js +11 -58
- package/dist/esm/product/components/ProductImages.js +1 -280
- package/dist/esm/product/components/ProductImages.liquid.js +17 -84
- package/dist/esm/product/components/ProductImagesV2/common/common.js +1 -198
- package/dist/esm/product/components/ProductImagesV2/common/hoverAction.js +1 -89
- package/dist/esm/product/components/ProductImagesV2/common/productFeaturedImage.js +1 -16
- package/dist/esm/product/components/ProductImagesV2/common/productGallery.js +1 -223
- package/dist/esm/product/components/ProductImagesV2/jsx/ProductImages.js +11 -212
- package/dist/esm/product/components/ProductImagesV2/jsx/components/ButtonOpenLightBox.js +1 -23
- package/dist/esm/product/components/ProductImagesV2/jsx/components/MediaIcon.js +1 -58
- package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductFeaturedImageCarousel.js +1 -264
- package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductGalleryCarousel.js +1 -257
- package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductGalleryGrid.js +1 -154
- package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductImagesLightBox.js +1 -114
- package/dist/esm/product/components/ProductImagesV2/jsx/layouts/FeatureImageWithGallery.js +1 -149
- package/dist/esm/product/components/ProductImagesV2/jsx/layouts/GalleryOneCol.js +1 -20
- package/dist/esm/product/components/ProductImagesV2/jsx/layouts/GalleryTwoCol.js +1 -20
- package/dist/esm/product/components/ProductImagesV2/jsx/layouts/OnlyFeatureImage.js +1 -28
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +32 -295
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +11 -226
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +28 -203
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +23 -71
- package/dist/esm/product/components/ProductList.js +1 -202
- package/dist/esm/product/components/ProductList.liquid.js +135 -164
- package/dist/esm/product/components/ProductNotFound.js +1 -137
- package/dist/esm/product/components/ProductPrice.js +1 -67
- package/dist/esm/product/components/ProductPrice.liquid.js +13 -46
- package/dist/esm/product/components/ProductProperties/ProductPropertyChoice.js +1 -52
- package/dist/esm/product/components/ProductProperties/ProductPropertyChoice.liquid.js +13 -49
- package/dist/esm/product/components/ProductProperties/ProductPropertyInput.js +1 -57
- package/dist/esm/product/components/ProductProperties/ProductPropertyInput.liquid.js +12 -106
- package/dist/esm/product/components/ProductProperties/ProductPropertySelect.js +1 -37
- package/dist/esm/product/components/ProductProperties/ProductPropertySelect.liquid.js +12 -45
- package/dist/esm/product/components/ProductProperties.js +1 -264
- package/dist/esm/product/components/ProductProperties.liquid.js +16 -73
- package/dist/esm/product/components/ProductQuantity.js +1 -193
- package/dist/esm/product/components/ProductQuantity.liquid.js +17 -108
- package/dist/esm/product/components/ProductQuickView/ProductQuickView.js +1 -154
- package/dist/esm/product/components/ProductQuickView/index.js +1 -16
- package/dist/esm/product/components/ProductTag.js +1 -110
- package/dist/esm/product/components/ProductTag.liquid.js +22 -78
- package/dist/esm/product/components/ProductTitle.js +1 -36
- package/dist/esm/product/components/ProductTitle.liquid.js +7 -31
- package/dist/esm/product/components/ProductVariants/common.js +1 -64
- package/dist/esm/product/components/ProductVariants/index.js +1 -306
- package/dist/esm/product/components/ProductVariants/index.liquid.js +28 -186
- package/dist/esm/product/components/ProductVariants/utils/mappingVariantStyles.js +1 -0
- package/dist/esm/product/components/ProductVariants/variants/Base.js +11 -260
- package/dist/esm/product/components/ProductVariants/variants/Base.liquid.js +19 -118
- package/dist/esm/product/components/ProductVariants/variants/Color.js +1 -18
- package/dist/esm/product/components/ProductVariants/variants/Color.liquid.js +3 -13
- package/dist/esm/product/components/ProductVariants/variants/Dropdown.js +1 -144
- package/dist/esm/product/components/ProductVariants/variants/Dropdown.liquid.js +11 -49
- package/dist/esm/product/components/ProductVariants/variants/DropdownGroup.liquid.js +17 -55
- package/dist/esm/product/components/ProductVariants/variants/DropdownOption.js +1 -17
- package/dist/esm/product/components/ProductVariants/variants/Image.js +1 -18
- package/dist/esm/product/components/ProductVariants/variants/Image.liquid.js +3 -13
- package/dist/esm/product/components/ProductVariants/variants/ImageShopify.js +1 -35
- package/dist/esm/product/components/ProductVariants/variants/ImageShopify.liquid.js +3 -13
- package/dist/esm/product/components/ProductVariants/variants/RadioButtons.js +1 -58
- package/dist/esm/product/components/ProductVariants/variants/RectangleList.js +1 -64
- package/dist/esm/product/components/ProductVariants/variants/VariantGroup.js +1 -34
- package/dist/esm/product/components/ProductVariants/variants/VariantOption/index.js +1 -16
- package/dist/esm/product/components/ProductVariants/variants/index.js +1 -109
- package/dist/esm/product/components/ProductVariants/variants/index.liquid.js +27 -71
- package/dist/esm/product/components/SalePageProductListWarning.js +1 -0
- package/dist/esm/product/components/Vendor.js +1 -34
- package/dist/esm/product/components/Vendor.liquid.js +7 -31
- package/dist/esm/product/helpers/function.js +1 -39
- package/dist/esm/product/helpers/product-image.js +1 -31
- package/dist/esm/product/helpers/product.js +1 -51
- package/dist/esm/product/helpers/tracking.js +1 -9
- package/dist/esm/product/next.js +1 -69
- package/dist/esm/product/setting/DynamicCheckout.js +3 -547
- package/dist/esm/product/setting/Product.js +35 -377
- package/dist/esm/product/setting/ProductButton.js +4 -1075
- package/dist/esm/product/setting/ProductDescription.js +2 -295
- package/dist/esm/product/setting/ProductImages.js +5 -1197
- package/dist/esm/product/setting/ProductList.js +3 -1193
- package/dist/esm/product/setting/ProductPrice.js +4 -353
- package/dist/esm/product/setting/ProductProperties.js +3 -971
- package/dist/esm/product/setting/ProductQuantity.js +3 -606
- package/dist/esm/product/setting/ProductTag.js +2 -246
- package/dist/esm/product/setting/ProductTitle.js +3 -348
- package/dist/esm/product/setting/ProductVariants.js +4 -1419
- package/dist/esm/product/setting/Vendor.js +3 -334
- package/dist/esm/product/setting/index.js +1 -33
- package/dist/esm/product/setting/presets-config/product-presets/product-1-col.js +9 -273
- package/dist/esm/product/setting/presets-config/product-presets/product-2-col.js +12 -281
- package/dist/esm/product/setting/presets-config/product-presets/product-default.js +13 -281
- package/dist/esm/product/setting/product-image-v2/ProductFeatureImage.js +2 -515
- package/dist/esm/product/setting/product-image-v2/ProductGalleryImage.js +2 -643
- package/dist/esm/product/setting/product-image-v2/ProductImages.js +4 -435
- package/dist/esm/product/setting/swatches-style-config/color.js +1 -0
- package/dist/esm/product/setting/swatches-style-config/dropdown.js +1 -0
- package/dist/esm/product/setting/swatches-style-config/image-shopify.js +1 -0
- package/dist/esm/product/setting/swatches-style-config/image.js +1 -0
- package/dist/esm/product/setting/swatches-style-config/rectangle-list.js +1 -0
- package/dist/esm/radio/Radio.js +1 -33
- package/dist/esm/radio/next.js +1 -11
- package/dist/esm/radio/setting/Radio.js +1 -66
- package/dist/esm/radio/setting/index.js +1 -7
- package/dist/esm/select/Select.js +2 -56
- package/dist/esm/select/next.js +1 -11
- package/dist/esm/select/setting/index.js +1 -7
- package/dist/esm/sticky/components/Sticky.js +1 -156
- package/dist/esm/sticky/components/Sticky.liquid.js +10 -73
- package/dist/esm/sticky/next.js +1 -11
- package/dist/esm/sticky/setting/Sticky.js +1 -230
- package/dist/esm/sticky/setting/index.js +1 -7
- package/dist/esm/sticky/setting/preset-config.js +2 -876
- package/dist/esm/stock-counter/components/StockCounter.js +1 -111
- package/dist/esm/stock-counter/components/StockCounter.liquid.js +23 -100
- package/dist/esm/stock-counter/const.js +1 -20
- package/dist/esm/stock-counter/helpers.js +5 -59
- package/dist/esm/stock-counter/next.js +1 -11
- package/dist/esm/stock-counter/setting/StockCounter.js +4 -624
- package/dist/esm/stock-counter/setting/index.js +1 -7
- package/dist/esm/tab/components/TabItem.js +1 -20
- package/dist/esm/tab/components/TabItem.liquid.js +6 -19
- package/dist/esm/tab/components/Tabs.js +1 -129
- package/dist/esm/tab/components/Tabs.liquid.js +18 -79
- package/dist/esm/tab/components/common.js +1 -39
- package/dist/esm/tab/next.js +1 -15
- package/dist/esm/tab/setting/TabItem.js +2 -29
- package/dist/esm/tab/setting/Tabs.js +3 -569
- package/dist/esm/tab/setting/index.js +1 -9
- package/dist/esm/text/components/Text.js +1 -95
- package/dist/esm/text/components/Text.liquid.js +10 -84
- package/dist/esm/text/index.js +1 -5
- package/dist/esm/text/next.js +1 -11
- package/dist/esm/text/setting/Text.js +3 -414
- package/dist/esm/text/setting/index.js +1 -7
- package/dist/esm/textarea/Textarea.js +1 -34
- package/dist/esm/textarea/next.js +1 -11
- package/dist/esm/textarea/setting/Textarea.js +2 -103
- package/dist/esm/textarea/setting/index.js +1 -7
- package/dist/esm/third-party/components/AliReviews/AliReviewsSampleContent.js +1 -24
- package/dist/esm/third-party/components/AliReviews.js +1 -18
- package/dist/esm/third-party/components/AliReviews.liquid.js +8 -17
- package/dist/esm/third-party/components/AppstleSubscriptions/AppstleSubscriptionsSampleContent.js +1 -19
- package/dist/esm/third-party/components/AppstleSubscriptions.js +1 -18
- package/dist/esm/third-party/components/AppstleSubscriptions.liquid.js +4 -13
- package/dist/esm/third-party/components/BoldProductOptions/BoldProductOptionsSampleContent.js +1 -19
- package/dist/esm/third-party/components/BoldProductOptions.js +1 -18
- package/dist/esm/third-party/components/BoldProductOptions.liquid.js +4 -13
- package/dist/esm/third-party/components/BoldSubscriptions/BoldSubscriptionsSampleContent.js +1 -30
- package/dist/esm/third-party/components/BoldSubscriptions.js +1 -18
- package/dist/esm/third-party/components/BoldSubscriptions.liquid.js +5 -14
- package/dist/esm/third-party/components/BoostAISearchDiscovery/BoostAISearchDiscoverySampleContent.js +1 -19
- package/dist/esm/third-party/components/BoostAISearchDiscovery.js +1 -18
- package/dist/esm/third-party/components/BoostAISearchDiscovery.liquid.js +5 -13
- package/dist/esm/third-party/components/Bundler/BundlerSampleContent.js +1 -19
- package/dist/esm/third-party/components/Bundler.js +1 -20
- package/dist/esm/third-party/components/Bundler.liquid.js +5 -18
- package/dist/esm/third-party/components/CrossSellCartUpsell/CrossSellCartUpsellSampleContent.js +1 -19
- package/dist/esm/third-party/components/CrossSellCartUpsell.js +1 -18
- package/dist/esm/third-party/components/CrossSellCartUpsell.liquid.js +5 -20
- package/dist/esm/third-party/components/FeraReviews/FeraReviewsSampleContent.js +1 -45
- package/dist/esm/third-party/components/FeraReviews/LiquidTemplateByWidget.js +1 -50
- package/dist/esm/third-party/components/FeraReviews.js +1 -22
- package/dist/esm/third-party/components/FeraReviews.liquid.js +5 -16
- package/dist/esm/third-party/components/FirePush/FirePushSampleContent.js +1 -17
- package/dist/esm/third-party/components/FirePush.js +1 -18
- package/dist/esm/third-party/components/FirePush.liquid.js +4 -13
- package/dist/esm/third-party/components/FrequentlyBoughtTogether/FrequentlyBoughtTogetherSampleContent.js +1 -19
- package/dist/esm/third-party/components/FrequentlyBoughtTogether.js +1 -20
- package/dist/esm/third-party/components/FrequentlyBoughtTogether.liquid.js +5 -14
- package/dist/esm/third-party/components/Growave/GrowaveSampleContent.js +1 -34
- package/dist/esm/third-party/components/Growave.js +1 -18
- package/dist/esm/third-party/components/Growave.liquid.js +5 -14
- package/dist/esm/third-party/components/InfiniteOptions/InfiniteOptionsSampleContent.js +1 -19
- package/dist/esm/third-party/components/InfiniteOptions.js +1 -18
- package/dist/esm/third-party/components/InfiniteOptions.liquid.js +4 -12
- package/dist/esm/third-party/components/Instafeed/InstafeedSampleContent.js +1 -19
- package/dist/esm/third-party/components/Instafeed.js +1 -18
- package/dist/esm/third-party/components/Instafeed.liquid.js +4 -13
- package/dist/esm/third-party/components/Judgeme/JudgemeSampleContent.js +1 -35
- package/dist/esm/third-party/components/JudgemeReviews.js +1 -19
- package/dist/esm/third-party/components/JudgemeReviews.liquid.js +5 -14
- package/dist/esm/third-party/components/KachingBundles/KachingBundlesSampleContent.js +1 -23
- package/dist/esm/third-party/components/KachingBundles.js +1 -18
- package/dist/esm/third-party/components/KachingBundles.liquid.js +4 -13
- package/dist/esm/third-party/components/Klaviyo/KlaviyoSampleContent.js +1 -19
- package/dist/esm/third-party/components/Klaviyo.js +1 -26
- package/dist/esm/third-party/components/Klaviyo.liquid.js +5 -15
- package/dist/esm/third-party/components/LaiProductReviews/LaiProductReviewsSampleContent.js +1 -54
- package/dist/esm/third-party/components/LaiProductReviews/LiquidTemplateByWiget.js +10 -41
- package/dist/esm/third-party/components/LaiProductReviews.js +1 -20
- package/dist/esm/third-party/components/LaiProductReviews.liquid.js +5 -17
- package/dist/esm/third-party/components/LooxReviews/LooxReviewsSampleContent.js +1 -31
- package/dist/esm/third-party/components/LooxReviews.js +1 -18
- package/dist/esm/third-party/components/LooxReviews.liquid.js +9 -47
- package/dist/esm/third-party/components/Omnisend/OmnisendSampleContent.js +1 -30
- package/dist/esm/third-party/components/Omnisend.js +1 -18
- package/dist/esm/third-party/components/Omnisend.liquid.js +9 -18
- package/dist/esm/third-party/components/Opinew/OpinewSampleContent.js +1 -29
- package/dist/esm/third-party/components/Opinew.js +1 -18
- package/dist/esm/third-party/components/Opinew.liquid.js +6 -15
- package/dist/esm/third-party/components/ParcelPanel/ParcelPanelSampleContent.js +1 -19
- package/dist/esm/third-party/components/ParcelPanel.js +1 -18
- package/dist/esm/third-party/components/ParcelPanel.liquid.js +4 -13
- package/dist/esm/third-party/components/PickyStory/PickyStorySampleContent.js +1 -32
- package/dist/esm/third-party/components/PickyStory.js +1 -18
- package/dist/esm/third-party/components/PickyStory.liquid.js +5 -14
- package/dist/esm/third-party/components/ProductReviews/ProductReviewsSampleContent.js +1 -25
- package/dist/esm/third-party/components/ProductReviews.js +1 -18
- package/dist/esm/third-party/components/ProductReviews.liquid.js +5 -14
- package/dist/esm/third-party/components/Rivyo/RivyoSampleContent.js +1 -32
- package/dist/esm/third-party/components/Rivyo.js +1 -18
- package/dist/esm/third-party/components/Rivyo.liquid.js +5 -14
- package/dist/esm/third-party/components/Ryviu/RyviuSampleContent.js +1 -33
- package/dist/esm/third-party/components/Ryviu.js +1 -18
- package/dist/esm/third-party/components/Ryviu.liquid.js +5 -14
- package/dist/esm/third-party/components/SealSubscriptions/SealSubscriptionsSampleContent.js +1 -19
- package/dist/esm/third-party/components/SealSubscriptions.js +1 -18
- package/dist/esm/third-party/components/SealSubscriptions.liquid.js +4 -13
- package/dist/esm/third-party/components/SmartSearchBarAndFilters/SmartSearchBarAndFiltersSampleContent.js +1 -19
- package/dist/esm/third-party/components/SmartSearchBarAndFilters.js +1 -20
- package/dist/esm/third-party/components/SmartSearchBarAndFilters.liquid.js +6 -16
- package/dist/esm/third-party/components/Stamped/LiquidTemplateByWidget.js +92 -172
- package/dist/esm/third-party/components/Stamped/StampedSampleContent.js +1 -42
- package/dist/esm/third-party/components/Stamped.js +1 -18
- package/dist/esm/third-party/components/Stamped.liquid.js +5 -16
- package/dist/esm/third-party/components/ThirdPartyPreview.js +1 -69
- package/dist/esm/third-party/components/TrustMe/TrustMeSampleContent.js +1 -19
- package/dist/esm/third-party/components/TrustMe.js +1 -18
- package/dist/esm/third-party/components/TrustMe.liquid.js +4 -13
- package/dist/esm/third-party/components/Trustoo/TrustooSampleContent.js +1 -31
- package/dist/esm/third-party/components/Trustoo.js +1 -18
- package/dist/esm/third-party/components/Trustoo.liquid.js +6 -15
- package/dist/esm/third-party/components/UltimateSalesBoost/UltimateSalesBoostSampleContent.js +1 -29
- package/dist/esm/third-party/components/UltimateSalesBoost.js +1 -18
- package/dist/esm/third-party/components/UltimateSalesBoost.liquid.js +5 -14
- package/dist/esm/third-party/components/Vitals/VitalsSampleContent.js +1 -47
- package/dist/esm/third-party/components/Vitals.js +1 -18
- package/dist/esm/third-party/components/Vitals.liquid.js +5 -14
- package/dist/esm/third-party/components/WideBundle/WideBundleSampleContent.js +1 -19
- package/dist/esm/third-party/components/WideBundle.js +1 -18
- package/dist/esm/third-party/components/WideBundle.liquid.js +4 -13
- package/dist/esm/third-party/components/Wiser/WiserSampleContent.js +1 -53
- package/dist/esm/third-party/components/Wiser.js +1 -22
- package/dist/esm/third-party/components/Wiser.liquid.js +5 -15
- package/dist/esm/third-party/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -19
- package/dist/esm/third-party/components/YotpoLoyalty.js +1 -39
- package/dist/esm/third-party/components/YotpoReviews/YotpoReviewsSampleContent.js +1 -31
- package/dist/esm/third-party/components/YotpoReviews.js +1 -18
- package/dist/esm/third-party/components/YotpoReviews.liquid.js +6 -15
- package/dist/esm/third-party/configs/AliReviews.js +1 -8
- package/dist/esm/third-party/configs/AppstleSubscriptions.js +1 -8
- package/dist/esm/third-party/configs/BoldProductOptions.js +1 -8
- package/dist/esm/third-party/configs/BoldSubscription.js +1 -8
- package/dist/esm/third-party/configs/BoostAISearchDiscovery.js +1 -8
- package/dist/esm/third-party/configs/Bundler.js +1 -8
- package/dist/esm/third-party/configs/CrossSellCartUpsell.js +1 -8
- package/dist/esm/third-party/configs/FeraReviews.js +1 -8
- package/dist/esm/third-party/configs/FirePush.js +1 -8
- package/dist/esm/third-party/configs/FrequentlyBoughtTogether.js +1 -8
- package/dist/esm/third-party/configs/Growave.js +1 -8
- package/dist/esm/third-party/configs/InfiniteOptions.js +1 -8
- package/dist/esm/third-party/configs/Instafeed.js +1 -8
- package/dist/esm/third-party/configs/JudgemeReviews.js +1 -8
- package/dist/esm/third-party/configs/KachingBundles.js +1 -8
- package/dist/esm/third-party/configs/Klaviyo.js +1 -8
- package/dist/esm/third-party/configs/LaiProductReviews.js +1 -8
- package/dist/esm/third-party/configs/LooxReviews.js +1 -8
- package/dist/esm/third-party/configs/Omnisend.js +1 -8
- package/dist/esm/third-party/configs/Opinew.js +1 -8
- package/dist/esm/third-party/configs/ParcelPanel.js +1 -8
- package/dist/esm/third-party/configs/PickyStory.js +1 -8
- package/dist/esm/third-party/configs/ProductReviews.js +1 -8
- package/dist/esm/third-party/configs/Rivyo.js +1 -8
- package/dist/esm/third-party/configs/Ryviu.js +1 -8
- package/dist/esm/third-party/configs/SealSubscriptions.js +1 -8
- package/dist/esm/third-party/configs/SmartSearchBarAndFilters.js +1 -8
- package/dist/esm/third-party/configs/Stamped.js +1 -8
- package/dist/esm/third-party/configs/TrustMe.js +1 -8
- package/dist/esm/third-party/configs/Trustoo.js +1 -8
- package/dist/esm/third-party/configs/UltimateSalesBoost.js +1 -8
- package/dist/esm/third-party/configs/Vitals.js +1 -8
- package/dist/esm/third-party/configs/WideBundle.js +1 -8
- package/dist/esm/third-party/configs/Wiser.js +1 -8
- package/dist/esm/third-party/configs/YotpoLoyalty.js +1 -8
- package/dist/esm/third-party/configs/YotpoReviews.js +1 -8
- package/dist/esm/third-party/helpers/thirdParty.js +1 -33
- package/dist/esm/third-party/next.js +1 -202
- package/dist/esm/third-party/setting/AliReviews.js +4 -163
- package/dist/esm/third-party/setting/AppstleSubscriptions.js +4 -93
- package/dist/esm/third-party/setting/BoldProductOptions.js +4 -79
- package/dist/esm/third-party/setting/BoldSubscriptions.js +4 -104
- package/dist/esm/third-party/setting/BoostAISearchDiscovery.js +4 -82
- package/dist/esm/third-party/setting/Bundler.js +4 -97
- package/dist/esm/third-party/setting/CrossSellCartUpsell.js +4 -79
- package/dist/esm/third-party/setting/FeraReviews.js +4 -390
- package/dist/esm/third-party/setting/FirePush.js +4 -79
- package/dist/esm/third-party/setting/FrequentlyBoughtTogether.js +6 -99
- package/dist/esm/third-party/setting/Growave.js +4 -136
- package/dist/esm/third-party/setting/InfiniteOptions.js +4 -79
- package/dist/esm/third-party/setting/Instafeed.js +4 -85
- package/dist/esm/third-party/setting/JudgemeReviews.js +4 -149
- package/dist/esm/third-party/setting/KachingBundles.js +4 -84
- package/dist/esm/third-party/setting/Klaviyo.js +4 -94
- package/dist/esm/third-party/setting/LaiProductReviews.js +4 -200
- package/dist/esm/third-party/setting/LooxReviews.js +4 -143
- package/dist/esm/third-party/setting/Omnisend.js +4 -144
- package/dist/esm/third-party/setting/Opinew.js +4 -187
- package/dist/esm/third-party/setting/ParcelPanel.js +4 -88
- package/dist/esm/third-party/setting/PickyStory.js +4 -112
- package/dist/esm/third-party/setting/ProductReviews.js +4 -104
- package/dist/esm/third-party/setting/Rivyo.js +4 -112
- package/dist/esm/third-party/setting/Ryviu.js +4 -116
- package/dist/esm/third-party/setting/SealSubscriptions.js +4 -93
- package/dist/esm/third-party/setting/SmartSearchBarAndFilters.js +4 -94
- package/dist/esm/third-party/setting/Stamped/Badge.js +1 -115
- package/dist/esm/third-party/setting/Stamped/BadgeDouble.js +1 -20
- package/dist/esm/third-party/setting/Stamped/BadgeRibbon.js +1 -59
- package/dist/esm/third-party/setting/Stamped/BadgeSingle.js +1 -20
- package/dist/esm/third-party/setting/Stamped/Carousel.js +1 -124
- package/dist/esm/third-party/setting/Stamped/CheckoutReviews.js +1 -105
- package/dist/esm/third-party/setting/Stamped/Colors.js +1 -56
- package/dist/esm/third-party/setting/Stamped/Filters.js +1 -248
- package/dist/esm/third-party/setting/Stamped/FullPage.js +1 -88
- package/dist/esm/third-party/setting/Stamped/InstagramFeed.js +1 -109
- package/dist/esm/third-party/setting/Stamped/MainWidget.js +1 -143
- package/dist/esm/third-party/setting/Stamped/ProductRating.js +1 -71
- package/dist/esm/third-party/setting/Stamped/SingleHighlight.js +1 -20
- package/dist/esm/third-party/setting/Stamped/SiteBadge.js +1 -144
- package/dist/esm/third-party/setting/Stamped/TopRated.js +1 -35
- package/dist/esm/third-party/setting/Stamped/VisualGallery.js +1 -127
- package/dist/esm/third-party/setting/Stamped/WallPhotos.js +1 -29
- package/dist/esm/third-party/setting/Stamped/index.js +1 -48
- package/dist/esm/third-party/setting/Stamped.js +4 -103
- package/dist/esm/third-party/setting/TrustMe.js +4 -79
- package/dist/esm/third-party/setting/Trustoo.js +4 -163
- package/dist/esm/third-party/setting/UltimateSalesBoost.js +4 -177
- package/dist/esm/third-party/setting/Vitals.js +5 -336
- package/dist/esm/third-party/setting/WideBundle.js +4 -79
- package/dist/esm/third-party/setting/Wiser.js +4 -221
- package/dist/esm/third-party/setting/YotpoLoyalty.js +4 -77
- package/dist/esm/third-party/setting/YotpoReviews.js +4 -122
- package/dist/esm/third-party/setting/index.js +1 -83
- package/dist/esm/third-party-instant/components/InstantJudgemeReviews.js +1 -71
- package/dist/esm/third-party-instant/components/InstantKlaviyo.js +1 -43
- package/dist/esm/third-party-instant/components/InstantLooxReviews.js +1 -32
- package/dist/esm/third-party-instant/components/InstantThirdPartyPreview.js +1 -66
- package/dist/esm/third-party-instant/components/InstantYotpoLoyalty.js +1 -39
- package/dist/esm/third-party-instant/components/Judgeme/JudgemeSampleContent.js +1 -19
- package/dist/esm/third-party-instant/components/Judgeme/SingleProduct.js +1 -44
- package/dist/esm/third-party-instant/components/Judgeme/WithoutProduct.js +1 -89
- package/dist/esm/third-party-instant/components/Klaviyo/KlaviyoSampleContent.js +1 -19
- package/dist/esm/third-party-instant/components/LooxReviews/LooxReviewsSampleContent.js +2 -20
- package/dist/esm/third-party-instant/components/LooxReviews/SingleProduct.js +1 -47
- package/dist/esm/third-party-instant/components/LooxReviews/WithoutProduct.js +1 -51
- package/dist/esm/third-party-instant/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -19
- package/dist/esm/third-party-instant/configs/JudgemeReviews.js +1 -8
- package/dist/esm/third-party-instant/configs/Klaviyo.js +1 -8
- package/dist/esm/third-party-instant/configs/LooxReviews.js +1 -8
- package/dist/esm/third-party-instant/configs/YotpoLoyalty.js +1 -8
- package/dist/esm/third-party-instant/helpers/thirdParty.js +1 -68
- package/dist/esm/third-party-instant/next.js +1 -28
- package/dist/esm/third-party-instant/setting/InstantJudgemeReviews.js +4 -155
- package/dist/esm/third-party-instant/setting/InstantKlaviyo.js +4 -93
- package/dist/esm/third-party-instant/setting/InstantLooxReviews.js +4 -116
- package/dist/esm/third-party-instant/setting/InstantYotpoLoyalty.js +4 -93
- package/dist/esm/third-party-instant/setting/index.js +1 -13
- package/dist/esm/third-party-instant/types/JudgemeReviews.js +1 -7
- package/dist/esm/third-party-slot/components/ThirdPartySlot.js +1 -47
- package/dist/esm/third-party-slot/components/ThirdPartySlot.liquid.js +9 -21
- package/dist/esm/third-party-slot/next.js +1 -11
- package/dist/esm/third-party-slot/setting/ThirdPartySlot.js +2 -101
- package/dist/esm/third-party-slot/setting/index.js +1 -7
- package/dist/esm/video/components/HTML5Embed.js +1 -39
- package/dist/esm/video/components/HTML5Embed.liquid.js +21 -45
- package/dist/esm/video/components/LiteVimeoEmbed.js +1 -113
- package/dist/esm/video/components/LiteVimeoEmbed.liquid.js +13 -44
- package/dist/esm/video/components/LiteYouTubeEmbed.js +1 -191
- package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +15 -49
- package/dist/esm/video/components/Video.js +1 -134
- package/dist/esm/video/components/Video.liquid.js +6 -114
- package/dist/esm/video/helpers/common.js +1 -38
- package/dist/esm/video/next.js +1 -11
- package/dist/esm/video/setting/Video.js +3 -447
- package/dist/esm/video/setting/index.js +1 -7
- package/dist/types/index.d.ts +1084 -192
- package/package.json +3 -3
- package/dist/cjs/third-party/components/Bogos/BogosSampleContent.js +0 -36
- package/dist/cjs/third-party/components/Bogos.js +0 -22
- package/dist/cjs/third-party/components/Bogos.liquid.js +0 -31
- package/dist/cjs/third-party/components/CleanSizeChars.js +0 -43
- package/dist/cjs/third-party/components/CleanSizeCharts.liquid.js +0 -22
- package/dist/cjs/third-party/components/PushOwl.js +0 -9
- package/dist/cjs/third-party/components/PushOwl.liquid.js +0 -37
- package/dist/cjs/third-party/configs/Bogos.js +0 -12
- package/dist/cjs/third-party/configs/PushOwl.js +0 -12
- package/dist/cjs/third-party/setting/Bogos.js +0 -167
- package/dist/cjs/third-party/setting/CleanSizeCharts.js +0 -152
- package/dist/cjs/third-party/setting/PushOwl.js +0 -762
- package/dist/esm/third-party/components/Bogos/BogosSampleContent.js +0 -32
- package/dist/esm/third-party/components/Bogos.js +0 -18
- package/dist/esm/third-party/components/Bogos.liquid.js +0 -27
- package/dist/esm/third-party/components/CleanSizeChars.js +0 -38
- package/dist/esm/third-party/components/CleanSizeCharts.liquid.js +0 -18
- package/dist/esm/third-party/components/PushOwl.js +0 -5
- package/dist/esm/third-party/components/PushOwl.liquid.js +0 -33
- package/dist/esm/third-party/configs/Bogos.js +0 -8
- package/dist/esm/third-party/configs/PushOwl.js +0 -8
- package/dist/esm/third-party/setting/Bogos.js +0 -163
- package/dist/esm/third-party/setting/CleanSizeCharts.js +0 -148
- package/dist/esm/third-party/setting/PushOwl.js +0 -758
package/dist/esm/index.liquid.js
CHANGED
|
@@ -1,97 +1 @@
|
|
|
1
|
-
export { default as
|
|
2
|
-
export { default as Col } from './grid/components/Col.liquid.js';
|
|
3
|
-
export { default as Row } from './grid/components/Row.liquid.js';
|
|
4
|
-
export { default as Section } from './grid/components/Section.liquid.js';
|
|
5
|
-
export { default as Root } from './grid/components/Root.liquid.js';
|
|
6
|
-
export { default as Icon } from './icon/components/Icon.liquid.js';
|
|
7
|
-
export { default as Text } from './text/components/Text.liquid.js';
|
|
8
|
-
export { default as Product } from './product/components/Product.liquid.js';
|
|
9
|
-
export { default as ProductTitle } from './product/components/ProductTitle.liquid.js';
|
|
10
|
-
export { default as ProductPrice } from './product/components/ProductPrice.liquid.js';
|
|
11
|
-
export { default as ProductButton } from './product/components/ProductButton.liquid.js';
|
|
12
|
-
export { default as ProductDescription } from './product/components/ProductDescription.liquid.js';
|
|
13
|
-
export { default as ProductImages } from './product/components/ProductImages.liquid.js';
|
|
14
|
-
export { default as ProductImagesV2 } from './product/components/ProductImagesV2/liquid/ProductImages.liquid.js';
|
|
15
|
-
export { default as ProductQuantity } from './product/components/ProductQuantity.liquid.js';
|
|
16
|
-
export { default as ProductVariants } from './product/components/ProductVariants/index.liquid.js';
|
|
17
|
-
export { default as ProductTag } from './product/components/ProductTag.liquid.js';
|
|
18
|
-
export { default as ProductProperties } from './product/components/ProductProperties.liquid.js';
|
|
19
|
-
export { default as ProductList } from './product/components/ProductList.liquid.js';
|
|
20
|
-
export { default as DynamicCheckout } from './product/components/DynamicCheckout.liquid.js';
|
|
21
|
-
export { default as Vendor } from './product/components/Vendor.liquid.js';
|
|
22
|
-
export { default as Heading } from './heading/Heading.liquid.js';
|
|
23
|
-
export { default as CarouselItem } from './carousel/components/CarouselItem.liquid.js';
|
|
24
|
-
export { default as Carousel } from './carousel/components/Carousel.liquid.js';
|
|
25
|
-
export { default as Line } from './line/Line.liquid.js';
|
|
26
|
-
export { default as IconListHoz } from './icon-list-hoz/components/IconListHoz.liquid.js';
|
|
27
|
-
export { default as IconListItemHoz } from './icon-list-hoz/components/IconListItemHoz.liquid.js';
|
|
28
|
-
export { default as IconListItem } from './icon-list/components/IconListItem.liquid.js';
|
|
29
|
-
export { default as IconList } from './icon-list/components/IconList.liquid.js';
|
|
30
|
-
export { default as Countdown } from './countdown-timer/components/Countdown.liquid.js';
|
|
31
|
-
export { default as Image } from './image/components/Image.liquid.js';
|
|
32
|
-
export { default as videoSetting } from './video/setting/index.js';
|
|
33
|
-
export { default as Video } from './video/components/Video.liquid.js';
|
|
34
|
-
export { default as Accordion } from './accordion/components/Accordion.liquid.js';
|
|
35
|
-
export { default as AccordionItem } from './accordion/components/AccordionItem.liquid.js';
|
|
36
|
-
export { default as Tabs } from './tab/components/Tabs.liquid.js';
|
|
37
|
-
export { default as TabItem } from './tab/components/TabItem.liquid.js';
|
|
38
|
-
export { default as HeroBanner } from './banner/components/hero-banner/index.liquid.js';
|
|
39
|
-
export { default as CSSCode } from './code/components/CSSCode.liquid.js';
|
|
40
|
-
export { default as StockCounter } from './stock-counter/components/StockCounter.liquid.js';
|
|
41
|
-
export { default as ShopPayButton } from './cart/components/ShopPayButton/index.liquid.js';
|
|
42
|
-
export { default as Newsletter } from './form/components/newsletter/Newsletter.liquid.js';
|
|
43
|
-
export { default as ContactForm } from './form/components/contact/Contact.liquid.js';
|
|
44
|
-
export { default as FormEmail } from './form/components/form-email/FormEmail.liquid.js';
|
|
45
|
-
export { default as SubmitButton } from './form/components/submit-button/SubmitButton.liquid.js';
|
|
46
|
-
export { default as TextField } from './form/components/textfield/TextField.liquid.js';
|
|
47
|
-
export { default as FormTextarea } from './form/components/textarea/TextArea.liquid.js';
|
|
48
|
-
export { default as FormDropdown } from './form/components/form-dropdown/FormDropdown.liquid.js';
|
|
49
|
-
export { default as FormCheckbox } from './form/components/form-checkbox/FormCheckbox.liquid.js';
|
|
50
|
-
export { default as CollectionToolbar } from './collection/components/CollectionToolbar.liquid.js';
|
|
51
|
-
export { default as CollectionTitle } from './collection/components/CollectionTitle.liquid.js';
|
|
52
|
-
export { default as CollectionDescription } from './collection/components/CollectionDescription.liquid.js';
|
|
53
|
-
export { default as CollectionPaginator } from './collection/components/CollectionPaginator.liquid.js';
|
|
54
|
-
export { default as CollectionBanner } from './collection/components/CollectionBanner.liquid.js';
|
|
55
|
-
export { default as Dialog } from './dialog/components/Dialog.liquid.js';
|
|
56
|
-
export { default as Klaviyo } from './third-party/components/Klaviyo.liquid.js';
|
|
57
|
-
export { default as SmartSearchBarAndFilters } from './third-party/components/SmartSearchBarAndFilters.liquid.js';
|
|
58
|
-
export { default as LooxReviews } from './third-party/components/LooxReviews.liquid.js';
|
|
59
|
-
export { default as Instafeed } from './third-party/components/Instafeed.liquid.js';
|
|
60
|
-
export { default as CrossSellCartUpsell } from './third-party/components/CrossSellCartUpsell.liquid.js';
|
|
61
|
-
export { default as BoostAISearchDiscovery } from './third-party/components/BoostAISearchDiscovery.liquid.js';
|
|
62
|
-
export { default as JudgemeReviews } from './third-party/components/JudgemeReviews.liquid.js';
|
|
63
|
-
export { default as ProductReviews } from './third-party/components/ProductReviews.liquid.js';
|
|
64
|
-
export { default as Ryviu } from './third-party/components/Ryviu.liquid.js';
|
|
65
|
-
export { default as Rivyo } from './third-party/components/Rivyo.liquid.js';
|
|
66
|
-
export { default as Vitals } from './third-party/components/Vitals.liquid.js';
|
|
67
|
-
export { default as Omnisend } from './third-party/components/Omnisend.liquid.js';
|
|
68
|
-
export { default as Trustoo } from './third-party/components/Trustoo.liquid.js';
|
|
69
|
-
export { default as SealSubscriptions } from './third-party/components/SealSubscriptions.liquid.js';
|
|
70
|
-
export { default as AppstleSubscriptions } from './third-party/components/AppstleSubscriptions.liquid.js';
|
|
71
|
-
export { default as FeraReviews } from './third-party/components/FeraReviews.liquid.js';
|
|
72
|
-
export { default as Growave } from './third-party/components/Growave.liquid.js';
|
|
73
|
-
export { default as Opinew } from './third-party/components/Opinew.liquid.js';
|
|
74
|
-
export { default as UltimateSalesBoost } from './third-party/components/UltimateSalesBoost.liquid.js';
|
|
75
|
-
export { default as AliReviews } from './third-party/components/AliReviews.liquid.js';
|
|
76
|
-
export { default as FirePush } from './third-party/components/FirePush.liquid.js';
|
|
77
|
-
export { default as ParcelPanel } from './third-party/components/ParcelPanel.liquid.js';
|
|
78
|
-
export { default as TrustMe } from './third-party/components/TrustMe.liquid.js';
|
|
79
|
-
export { default as FrequentlyBoughtTogether } from './third-party/components/FrequentlyBoughtTogether.liquid.js';
|
|
80
|
-
export { default as BoldSubscriptions } from './third-party/components/BoldSubscriptions.liquid.js';
|
|
81
|
-
export { default as BoldProductOptions } from './third-party/components/BoldProductOptions.liquid.js';
|
|
82
|
-
export { default as WideBundle } from './third-party/components/WideBundle.liquid.js';
|
|
83
|
-
export { default as PickyStory } from './third-party/components/PickyStory.liquid.js';
|
|
84
|
-
export { default as InfiniteOptions } from './third-party/components/InfiniteOptions.liquid.js';
|
|
85
|
-
export { default as Wiser } from './third-party/components/Wiser.liquid.js';
|
|
86
|
-
export { default as Stamped } from './third-party/components/Stamped.liquid.js';
|
|
87
|
-
export { default as Bundler } from './third-party/components/Bundler.liquid.js';
|
|
88
|
-
export { default as LaiProductReviews } from './third-party/components/LaiProductReviews.liquid.js';
|
|
89
|
-
export { default as YotpoReviews } from './third-party/components/YotpoReviews.liquid.js';
|
|
90
|
-
export { default as KachingBundles } from './third-party/components/KachingBundles.liquid.js';
|
|
91
|
-
export { default as CleanSizeCharts } from './third-party/components/CleanSizeCharts.liquid.js';
|
|
92
|
-
export { default as PushOwl } from './third-party/components/PushOwl.liquid.js';
|
|
93
|
-
export { default as Bogos } from './third-party/components/Bogos.liquid.js';
|
|
94
|
-
export { default as ImageComparison } from './image-comparison/components/ImageComparison.liquid.js';
|
|
95
|
-
export { default as ThirdPartySlot } from './third-party-slot/components/ThirdPartySlot.liquid.js';
|
|
96
|
-
export { default as Sticky } from './sticky/components/Sticky.liquid.js';
|
|
97
|
-
export { default as IconListV2 } from './icon-list-v2/components/IconList.liquid.js';
|
|
1
|
+
export{default as Button}from"./button/components/Button.liquid.js";export{default as Col}from"./grid/components/Col.liquid.js";export{default as Row}from"./grid/components/Row.liquid.js";export{default as Section}from"./grid/components/Section.liquid.js";export{default as Root}from"./grid/components/Root.liquid.js";export{default as Icon}from"./icon/components/Icon.liquid.js";export{default as Text}from"./text/components/Text.liquid.js";export{default as Product}from"./product/components/Product.liquid.js";export{default as ProductTitle}from"./product/components/ProductTitle.liquid.js";export{default as ProductPrice}from"./product/components/ProductPrice.liquid.js";export{default as ProductButton}from"./product/components/ProductButton.liquid.js";export{default as ProductDescription}from"./product/components/ProductDescription.liquid.js";export{default as ProductImages}from"./product/components/ProductImages.liquid.js";export{default as ProductImagesV2}from"./product/components/ProductImagesV2/liquid/ProductImages.liquid.js";export{default as ProductQuantity}from"./product/components/ProductQuantity.liquid.js";export{default as ProductVariants}from"./product/components/ProductVariants/index.liquid.js";export{default as ProductTag}from"./product/components/ProductTag.liquid.js";export{default as ProductProperties}from"./product/components/ProductProperties.liquid.js";export{default as ProductList}from"./product/components/ProductList.liquid.js";export{default as DynamicCheckout}from"./product/components/DynamicCheckout.liquid.js";export{default as Vendor}from"./product/components/Vendor.liquid.js";export{default as Heading}from"./heading/Heading.liquid.js";export{default as CarouselItem}from"./carousel/components/CarouselItem.liquid.js";export{default as Carousel}from"./carousel/components/Carousel.liquid.js";export{default as Line}from"./line/Line.liquid.js";export{default as IconListHoz}from"./icon-list-hoz/components/IconListHoz.liquid.js";export{default as IconListItemHoz}from"./icon-list-hoz/components/IconListItemHoz.liquid.js";export{default as IconListItem}from"./icon-list/components/IconListItem.liquid.js";export{default as IconList}from"./icon-list/components/IconList.liquid.js";export{default as Countdown}from"./countdown-timer/components/Countdown.liquid.js";export{default as Image}from"./image/components/Image.liquid.js";export{default as videoSetting}from"./video/setting/index.js";export{default as Video}from"./video/components/Video.liquid.js";export{default as Accordion}from"./accordion/components/Accordion.liquid.js";export{default as AccordionItem}from"./accordion/components/AccordionItem.liquid.js";export{default as Tabs}from"./tab/components/Tabs.liquid.js";export{default as TabItem}from"./tab/components/TabItem.liquid.js";export{default as HeroBanner}from"./banner/components/hero-banner/index.liquid.js";export{default as CSSCode}from"./code/components/CSSCode.liquid.js";export{default as StockCounter}from"./stock-counter/components/StockCounter.liquid.js";export{default as ShopPayButton}from"./cart/components/ShopPayButton/index.liquid.js";export{default as Newsletter}from"./form/components/newsletter/Newsletter.liquid.js";export{default as ContactForm}from"./form/components/contact/Contact.liquid.js";export{default as FormEmail}from"./form/components/form-email/FormEmail.liquid.js";export{default as SubmitButton}from"./form/components/submit-button/SubmitButton.liquid.js";export{default as TextField}from"./form/components/textfield/TextField.liquid.js";export{default as FormTextarea}from"./form/components/textarea/TextArea.liquid.js";export{default as FormDropdown}from"./form/components/form-dropdown/FormDropdown.liquid.js";export{default as FormCheckbox}from"./form/components/form-checkbox/FormCheckbox.liquid.js";export{default as CollectionToolbar}from"./collection/components/CollectionToolbar.liquid.js";export{default as CollectionTitle}from"./collection/components/CollectionTitle.liquid.js";export{default as CollectionDescription}from"./collection/components/CollectionDescription.liquid.js";export{default as CollectionPaginator}from"./collection/components/CollectionPaginator.liquid.js";export{default as CollectionBanner}from"./collection/components/CollectionBanner.liquid.js";export{default as Dialog}from"./dialog/components/Dialog.liquid.js";export{default as Klaviyo}from"./third-party/components/Klaviyo.liquid.js";export{default as SmartSearchBarAndFilters}from"./third-party/components/SmartSearchBarAndFilters.liquid.js";export{default as LooxReviews}from"./third-party/components/LooxReviews.liquid.js";export{default as Instafeed}from"./third-party/components/Instafeed.liquid.js";export{default as CrossSellCartUpsell}from"./third-party/components/CrossSellCartUpsell.liquid.js";export{default as BoostAISearchDiscovery}from"./third-party/components/BoostAISearchDiscovery.liquid.js";export{default as JudgemeReviews}from"./third-party/components/JudgemeReviews.liquid.js";export{default as ProductReviews}from"./third-party/components/ProductReviews.liquid.js";export{default as Ryviu}from"./third-party/components/Ryviu.liquid.js";export{default as Rivyo}from"./third-party/components/Rivyo.liquid.js";export{default as Vitals}from"./third-party/components/Vitals.liquid.js";export{default as Omnisend}from"./third-party/components/Omnisend.liquid.js";export{default as Trustoo}from"./third-party/components/Trustoo.liquid.js";export{default as SealSubscriptions}from"./third-party/components/SealSubscriptions.liquid.js";export{default as AppstleSubscriptions}from"./third-party/components/AppstleSubscriptions.liquid.js";export{default as FeraReviews}from"./third-party/components/FeraReviews.liquid.js";export{default as Growave}from"./third-party/components/Growave.liquid.js";export{default as UltimateSalesBoost}from"./third-party/components/UltimateSalesBoost.liquid.js";export{default as Opinew}from"./third-party/components/Opinew.liquid.js";export{default as AliReviews}from"./third-party/components/AliReviews.liquid.js";export{default as FirePush}from"./third-party/components/FirePush.liquid.js";export{default as ParcelPanel}from"./third-party/components/ParcelPanel.liquid.js";export{default as TrustMe}from"./third-party/components/TrustMe.liquid.js";export{default as FrequentlyBoughtTogether}from"./third-party/components/FrequentlyBoughtTogether.liquid.js";export{default as BoldSubscriptions}from"./third-party/components/BoldSubscriptions.liquid.js";export{default as BoldProductOptions}from"./third-party/components/BoldProductOptions.liquid.js";export{default as WideBundle}from"./third-party/components/WideBundle.liquid.js";export{default as PickyStory}from"./third-party/components/PickyStory.liquid.js";export{default as InfiniteOptions}from"./third-party/components/InfiniteOptions.liquid.js";export{default as Wiser}from"./third-party/components/Wiser.liquid.js";export{default as Stamped}from"./third-party/components/Stamped.liquid.js";export{default as Bundler}from"./third-party/components/Bundler.liquid.js";export{default as LaiProductReviews}from"./third-party/components/LaiProductReviews.liquid.js";export{default as YotpoReviews}from"./third-party/components/YotpoReviews.liquid.js";export{default as KachingBundles}from"./third-party/components/KachingBundles.liquid.js";export{default as ImageComparison}from"./image-comparison/components/ImageComparison.liquid.js";export{default as ThirdPartySlot}from"./third-party-slot/components/ThirdPartySlot.liquid.js";export{default as Sticky}from"./sticky/components/Sticky.liquid.js";export{default as IconListV2}from"./icon-list-v2/components/IconList.liquid.js";
|
package/dist/esm/input/Input.js
CHANGED
|
@@ -1,113 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { cls } from '@gem-sdk/core';
|
|
3
|
-
import { useState, useEffect } from 'react';
|
|
4
|
-
|
|
5
|
-
const Input = ({ className, setting = {} })=>{
|
|
6
|
-
let { type } = setting;
|
|
7
|
-
const { defaultValue = '', placeholder, disabled, prefix, suffix, allowClear, passwordToggle, required } = setting;
|
|
8
|
-
const [value, setValue] = useState(defaultValue);
|
|
9
|
-
const [isShowPassword, setIsShowPassword] = useState(false);
|
|
10
|
-
useEffect(()=>{
|
|
11
|
-
setValue(defaultValue);
|
|
12
|
-
}, [
|
|
13
|
-
defaultValue
|
|
14
|
-
]);
|
|
15
|
-
if (passwordToggle && !isShowPassword) {
|
|
16
|
-
type = 'password';
|
|
17
|
-
}
|
|
18
|
-
const getValueChangeInput = (e)=>{
|
|
19
|
-
setValue(e.target.value);
|
|
20
|
-
};
|
|
21
|
-
const handleClearIcon = ()=>{
|
|
22
|
-
let iconClear = '';
|
|
23
|
-
if (value) {
|
|
24
|
-
iconClear = `<svg viewBox="64 64 896 896" focusable="false" data-icon="close-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"></path></svg>`;
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
__html: iconClear
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
const clearValue = ()=>{
|
|
31
|
-
setValue('');
|
|
32
|
-
};
|
|
33
|
-
const handlePassword = ()=>{
|
|
34
|
-
if (type !== 'password') {
|
|
35
|
-
type = 'password';
|
|
36
|
-
} else {
|
|
37
|
-
type = 'text';
|
|
38
|
-
}
|
|
39
|
-
setIsShowPassword(!isShowPassword);
|
|
40
|
-
};
|
|
41
|
-
const handlePasswordIcon = ()=>{
|
|
42
|
-
let iconPassword = '';
|
|
43
|
-
if (isShowPassword) {
|
|
44
|
-
iconPassword = `<svg viewBox="64 64 896 896" focusable="false" data-icon="eye" fill="currentColor" aria-hidden="true"><path d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"></path></svg>`;
|
|
45
|
-
} else {
|
|
46
|
-
iconPassword = `<svg viewBox="64 64 896 896" focusable="false" data-icon="eye-invisible" fill="currentColor" aria-hidden="true"><path d="M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"></path><path d="M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"></path></svg>`;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
__html: iconPassword
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
const renderClassPropsInput = ()=>{
|
|
53
|
-
if (!prefix && !suffix && !passwordToggle && !allowClear) {
|
|
54
|
-
return className;
|
|
55
|
-
}
|
|
56
|
-
return;
|
|
57
|
-
};
|
|
58
|
-
const renderClassPropsWapper = ()=>{
|
|
59
|
-
if (prefix || suffix || passwordToggle || allowClear) {
|
|
60
|
-
return className;
|
|
61
|
-
}
|
|
62
|
-
return;
|
|
63
|
-
};
|
|
64
|
-
const hasIcon = !!prefix || !!suffix || !!allowClear || !!passwordToggle;
|
|
65
|
-
return /*#__PURE__*/ jsxs("div", {
|
|
66
|
-
className: cls('gp-flex gp-w-full gp-items-center gp-rounded-sm gp-bg-white [&_svg]:gp-h-4 [&_svg]:gp-w-4', {
|
|
67
|
-
'gp-cursor-not-allowed gp-bg-[#f5f5f5]': disabled,
|
|
68
|
-
'gp-border gp-border-solid gp-border-[#d9d9d9] gp-px-3 gp-py-1': hasIcon
|
|
69
|
-
}, renderClassPropsWapper()),
|
|
70
|
-
children: [
|
|
71
|
-
!!prefix && /*#__PURE__*/ jsx("span", {
|
|
72
|
-
className: "gp-mr-1 gp-inline-flex gp-items-center gp-justify-center",
|
|
73
|
-
dangerouslySetInnerHTML: {
|
|
74
|
-
__html: prefix
|
|
75
|
-
}
|
|
76
|
-
}),
|
|
77
|
-
/*#__PURE__*/ jsx("input", {
|
|
78
|
-
className: cls('gp-w-full gp-rounded gp-border gp-border-solid gp-border-[#d9d9d9] gp-outline-0', {
|
|
79
|
-
'gp-cursor-not-allowed gp-bg-[#f5f5f5]': disabled,
|
|
80
|
-
'gp-border-none gp-border-white gp-px-0': hasIcon,
|
|
81
|
-
'gp-px-3 gp-py-1': !hasIcon
|
|
82
|
-
}, renderClassPropsInput(), className),
|
|
83
|
-
type: type,
|
|
84
|
-
value: value,
|
|
85
|
-
placeholder: placeholder,
|
|
86
|
-
disabled: disabled,
|
|
87
|
-
onChange: getValueChangeInput,
|
|
88
|
-
required: required
|
|
89
|
-
}),
|
|
90
|
-
!!allowClear && /*#__PURE__*/ jsx("span", {
|
|
91
|
-
"aria-hidden": "true",
|
|
92
|
-
className: "gp-ml-1 gp-inline-flex gp-cursor-pointer gp-select-none gp-items-center gp-justify-center gp-text-[#bfbfbf]",
|
|
93
|
-
onClick: clearValue,
|
|
94
|
-
dangerouslySetInnerHTML: handleClearIcon(),
|
|
95
|
-
"data-testid": "input"
|
|
96
|
-
}),
|
|
97
|
-
!!passwordToggle && /*#__PURE__*/ jsx("span", {
|
|
98
|
-
"aria-hidden": "true",
|
|
99
|
-
className: "gp-ml-1 gp-inline-flex gp-cursor-pointer gp-select-none gp-items-center gp-justify-center gp-text-[#00000073]",
|
|
100
|
-
onClick: handlePassword,
|
|
101
|
-
dangerouslySetInnerHTML: handlePasswordIcon()
|
|
102
|
-
}),
|
|
103
|
-
!!suffix && /*#__PURE__*/ jsx("span", {
|
|
104
|
-
className: "gp-ml-1 gp-inline-flex gp-items-center gp-justify-center",
|
|
105
|
-
dangerouslySetInnerHTML: {
|
|
106
|
-
__html: suffix
|
|
107
|
-
}
|
|
108
|
-
})
|
|
109
|
-
]
|
|
110
|
-
});
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
export { Input as default };
|
|
1
|
+
import{jsxs as e,jsx as r}from"react/jsx-runtime";import{cls as t}from"@gem-sdk/core";import{useState as l,useEffect as p}from"react";let Input=({className:a,setting:n={}})=>{let{type:g}=n,{defaultValue:s="",placeholder:i,disabled:o,prefix:d,suffix:c,allowClear:u,passwordToggle:f,required:m}=n,[h,b]=l(s),[x,v]=l(!1);p(()=>{b(s)},[s]),f&&!x&&(g="password");let w=e=>{b(e.target.value)},C=()=>{let e="";return h&&(e='<svg viewBox="64 64 896 896" focusable="false" data-icon="close-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"></path></svg>'),{__html:e}},L=()=>{b("")},y=()=>{g="password"!==g?"password":"text",v(!x)},z=()=>{let e="";return{__html:e=x?'<svg viewBox="64 64 896 896" focusable="false" data-icon="eye" fill="currentColor" aria-hidden="true"><path d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"></path></svg>':'<svg viewBox="64 64 896 896" focusable="false" data-icon="eye-invisible" fill="currentColor" aria-hidden="true"><path d="M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"></path><path d="M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"></path></svg>'}},M=()=>{if(!d&&!c&&!f&&!u)return a},_=()=>{if(d||c||f||u)return a},I=!!d||!!c||!!u||!!f;return e("div",{className:t("gp-flex gp-w-full gp-items-center gp-rounded-sm gp-bg-white [&_svg]:gp-h-4 [&_svg]:gp-w-4",{"gp-cursor-not-allowed gp-bg-[#f5f5f5]":o,"gp-border gp-border-solid gp-border-[#d9d9d9] gp-px-3 gp-py-1":I},_()),children:[!!d&&r("span",{className:"gp-mr-1 gp-inline-flex gp-items-center gp-justify-center",dangerouslySetInnerHTML:{__html:d}}),r("input",{className:t("gp-w-full gp-rounded gp-border gp-border-solid gp-border-[#d9d9d9] gp-outline-0",{"gp-cursor-not-allowed gp-bg-[#f5f5f5]":o,"gp-border-none gp-border-white gp-px-0":I,"gp-px-3 gp-py-1":!I},M(),a),type:g,value:h,placeholder:i,disabled:o,onChange:w,required:m}),!!u&&r("span",{"aria-hidden":"true",className:"gp-ml-1 gp-inline-flex gp-cursor-pointer gp-select-none gp-items-center gp-justify-center gp-text-[#bfbfbf]",onClick:L,dangerouslySetInnerHTML:C(),"data-testid":"input"}),!!f&&r("span",{"aria-hidden":"true",className:"gp-ml-1 gp-inline-flex gp-cursor-pointer gp-select-none gp-items-center gp-justify-center gp-text-[#00000073]",onClick:y,dangerouslySetInnerHTML:z()}),!!c&&r("span",{className:"gp-ml-1 gp-inline-flex gp-items-center gp-justify-center",dangerouslySetInnerHTML:{__html:c}})]})};export{Input as default};
|
package/dist/esm/input/next.js
CHANGED
|
@@ -1,11 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import Loading from '../common/components/Loading.js';
|
|
3
|
-
|
|
4
|
-
const Input = dynamic(()=>import('./Input.js'), {
|
|
5
|
-
loading: Loading
|
|
6
|
-
});
|
|
7
|
-
var input = {
|
|
8
|
-
Input
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export { input as default };
|
|
1
|
+
import t from"next/dynamic";import n from"../common/components/Loading.js";import"react/jsx-runtime";let Input=t(()=>import("./Input.js"),{loading:n});var input={Input};export{input as default};
|
|
@@ -1,122 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
tag: 'Input',
|
|
3
|
-
label: 'Input',
|
|
4
|
-
icon: `
|
|
1
|
+
let config={tag:"Input",label:"Input",icon:`
|
|
5
2
|
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6
3
|
<path d="M38.1665 16.2397C38.4426 16.2397 38.6665 16.4636 38.6665 16.7397V30.3155C38.6665 30.5916 38.4426 30.8155 38.1665 30.8155H6.37109C6.09495 30.8155 5.87109 30.5916 5.87109 30.3155V22.813C5.87109 22.5368 6.09495 22.313 6.37109 22.313H7.80038C8.07653 22.313 8.30038 22.5368 8.30038 22.813V28.3862H36.2372V18.669H23.3761C23.1 18.669 22.8761 18.4452 22.8761 18.169V16.7397C22.8761 16.4636 23.1 16.2397 23.3761 16.2397H38.1665Z" fill="currentColor"/>
|
|
7
4
|
<path d="M7.93505 16.9528H4.0383L3.51131 18.4447C3.44072 18.6446 3.2518 18.7782 3.03986 18.7782H1.69097C1.51719 18.7782 1.39642 18.6053 1.45626 18.4421L4.73106 9.51242C4.80328 9.31549 4.99074 9.18457 5.20049 9.18457H6.78688C6.99663 9.18457 7.18408 9.31549 7.2563 9.51242L10.5311 18.4421C10.5909 18.6053 10.4702 18.7782 10.2964 18.7782H8.93349C8.72155 18.7782 8.53263 18.6446 8.46204 18.4447L7.93505 16.9528ZM7.4024 15.4156L5.98667 11.408L4.57095 15.4156H7.4024Z" fill="currentColor"/>
|
|
8
5
|
<path d="M11.4648 14.949C11.4648 14.1804 11.619 13.4987 11.9274 12.904C12.2451 12.3092 12.6703 11.8518 13.2029 11.5315C13.7449 11.2113 14.3477 11.0511 15.0111 11.0511C15.5905 11.0511 16.0951 11.1655 16.525 11.3943C16.9642 11.623 17.3146 11.9112 17.5763 12.2589V11.6747C17.5763 11.3985 17.8001 11.1747 18.0763 11.1747H19.0527C19.3288 11.1747 19.5527 11.3985 19.5527 11.6747V18.2782C19.5527 18.5543 19.3288 18.7782 19.0527 18.7782H18.0763C17.8001 18.7782 17.5763 18.5543 17.5763 18.2782V17.6665C17.324 18.0233 16.9735 18.3207 16.525 18.5586C16.0858 18.7874 15.5765 18.9017 14.9971 18.9017C14.343 18.9017 13.7449 18.737 13.2029 18.4076C12.6703 18.0782 12.2451 17.6162 11.9274 17.0214C11.619 16.4175 11.4648 15.7267 11.4648 14.949ZM17.5763 14.9764C17.5763 14.5098 17.4828 14.1118 17.2959 13.7824C17.109 13.4438 16.8567 13.1876 16.539 13.0138C16.2213 12.8308 15.8802 12.7393 15.5158 12.7393C15.1513 12.7393 14.8149 12.8262 14.5065 13.0001C14.1982 13.1739 13.9458 13.4301 13.7496 13.7687C13.5627 14.098 13.4693 14.4915 13.4693 14.949C13.4693 15.4065 13.5627 15.8091 13.7496 16.1568C13.9458 16.4953 14.1982 16.7561 14.5065 16.9391C14.8243 17.1221 15.1607 17.2136 15.5158 17.2136C15.8802 17.2136 16.2213 17.1267 16.539 16.9528C16.8567 16.7698 17.109 16.5136 17.2959 16.1842C17.4828 15.8457 17.5763 15.4431 17.5763 14.9764Z" fill="currentColor"/>
|
|
9
6
|
</svg>
|
|
10
|
-
`,
|
|
11
|
-
settings: [
|
|
12
|
-
{
|
|
13
|
-
id: 'setting',
|
|
14
|
-
controls: [
|
|
15
|
-
{
|
|
16
|
-
id: 'type',
|
|
17
|
-
type: 'select',
|
|
18
|
-
label: 'Select Type Input',
|
|
19
|
-
options: [
|
|
20
|
-
{
|
|
21
|
-
label: 'Text',
|
|
22
|
-
value: 'text'
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
label: 'Number',
|
|
26
|
-
value: 'number'
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
label: 'Password',
|
|
30
|
-
value: 'password'
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
label: 'Email',
|
|
34
|
-
value: 'email'
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
label: 'Hidden',
|
|
38
|
-
value: 'hidden'
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
label: 'Search',
|
|
42
|
-
value: 'search'
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
label: 'Tel',
|
|
46
|
-
value: 'tel'
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
label: 'Url',
|
|
50
|
-
value: 'url'
|
|
51
|
-
}
|
|
52
|
-
],
|
|
53
|
-
default: 'text'
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
id: 'defaultValue',
|
|
57
|
-
type: 'input',
|
|
58
|
-
label: 'Default Value',
|
|
59
|
-
default: '',
|
|
60
|
-
datalist: [
|
|
61
|
-
{
|
|
62
|
-
value: 'suggest 1'
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
value: 'suggest 2'
|
|
66
|
-
}
|
|
67
|
-
]
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
id: 'placeholder',
|
|
71
|
-
type: 'input',
|
|
72
|
-
label: 'Placeholder',
|
|
73
|
-
default: 'Enter your text data'
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
id: 'disabled',
|
|
77
|
-
type: 'toggle',
|
|
78
|
-
label: 'Disabled',
|
|
79
|
-
default: false
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
id: 'prefix',
|
|
83
|
-
type: 'input',
|
|
84
|
-
label: 'prefix',
|
|
85
|
-
info: 'This is prefix icon',
|
|
86
|
-
default: ''
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
id: 'suffix',
|
|
90
|
-
type: 'input',
|
|
91
|
-
label: 'suffix',
|
|
92
|
-
info: 'This is suffix icon',
|
|
93
|
-
default: ''
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
id: 'allowClear',
|
|
97
|
-
type: 'toggle',
|
|
98
|
-
label: 'AllowClear',
|
|
99
|
-
default: false
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
id: 'passwordToggle',
|
|
103
|
-
type: 'toggle',
|
|
104
|
-
label: 'Password Toggle',
|
|
105
|
-
default: false
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
id: 'required',
|
|
109
|
-
type: 'toggle',
|
|
110
|
-
label: 'Required',
|
|
111
|
-
default: false
|
|
112
|
-
}
|
|
113
|
-
]
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
id: 'style',
|
|
117
|
-
controls: []
|
|
118
|
-
}
|
|
119
|
-
]
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
export { config as default };
|
|
7
|
+
`,settings:[{id:"setting",controls:[{id:"type",type:"select",label:"Select Type Input",options:[{label:"Text",value:"text"},{label:"Number",value:"number"},{label:"Password",value:"password"},{label:"Email",value:"email"},{label:"Hidden",value:"hidden"},{label:"Search",value:"search"},{label:"Tel",value:"tel"},{label:"Url",value:"url"}],default:"text"},{id:"defaultValue",type:"input",label:"Default Value",default:"",datalist:[{value:"suggest 1"},{value:"suggest 2"}]},{id:"placeholder",type:"input",label:"Placeholder",default:"Enter your text data"},{id:"disabled",type:"toggle",label:"Disabled",default:!1},{id:"prefix",type:"input",label:"prefix",info:"This is prefix icon",default:""},{id:"suffix",type:"input",label:"suffix",info:"This is suffix icon",default:""},{id:"allowClear",type:"toggle",label:"AllowClear",default:!1},{id:"passwordToggle",type:"toggle",label:"Password Toggle",default:!1},{id:"required",type:"toggle",label:"Required",default:!1}]},{id:"style",controls:[]}]};export{config as default};
|
|
@@ -1,98 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Component, createElement } from 'react';
|
|
3
|
-
|
|
4
|
-
function isPlainChildren(props) {
|
|
5
|
-
return typeof props.children !== 'function';
|
|
6
|
-
}
|
|
7
|
-
class InView extends Component {
|
|
8
|
-
constructor(props){
|
|
9
|
-
super(props);
|
|
10
|
-
this.state = {
|
|
11
|
-
inView: !!props.initialInView,
|
|
12
|
-
entry: undefined
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
componentDidUpdate(prevProps) {
|
|
16
|
-
// If a IntersectionObserver option changed, reinit the observer
|
|
17
|
-
if (prevProps.rootMargin !== this.props.rootMargin || prevProps.root !== this.props.root || prevProps.threshold !== this.props.threshold || prevProps.skip !== this.props.skip || prevProps.trackVisibility !== this.props.trackVisibility || prevProps.delay !== this.props.delay) {
|
|
18
|
-
this.unobserve();
|
|
19
|
-
this.observeNode();
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
componentWillUnmount() {
|
|
23
|
-
this.unobserve();
|
|
24
|
-
this.node = null;
|
|
25
|
-
}
|
|
26
|
-
node = null;
|
|
27
|
-
_unobserveCb = null;
|
|
28
|
-
observeNode() {
|
|
29
|
-
if (!this.node || this.props.skip) return;
|
|
30
|
-
const { threshold, root, rootMargin, trackVisibility, delay, fallbackInView } = this.props;
|
|
31
|
-
this._unobserveCb = observe(this.node, this.handleChange, {
|
|
32
|
-
threshold,
|
|
33
|
-
root,
|
|
34
|
-
rootMargin,
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
trackVisibility,
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
delay
|
|
39
|
-
}, fallbackInView);
|
|
40
|
-
}
|
|
41
|
-
unobserve() {
|
|
42
|
-
if (this._unobserveCb) {
|
|
43
|
-
this._unobserveCb();
|
|
44
|
-
this._unobserveCb = null;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
handleNode = (node)=>{
|
|
48
|
-
if (this.node) {
|
|
49
|
-
// Clear the old observer, before we start observing a new element
|
|
50
|
-
this.unobserve();
|
|
51
|
-
if (!node && !this.props.triggerOnce && !this.props.skip) {
|
|
52
|
-
// Reset the state if we get a new node, and we aren't ignoring updates
|
|
53
|
-
this.setState({
|
|
54
|
-
inView: !!this.props.initialInView,
|
|
55
|
-
entry: undefined
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
this.node = node ? node : null;
|
|
60
|
-
this.observeNode();
|
|
61
|
-
};
|
|
62
|
-
handleChange = (inView, entry)=>{
|
|
63
|
-
if (inView && this.props.triggerOnce) {
|
|
64
|
-
// If `triggerOnce` is true, we should stop observing the element.
|
|
65
|
-
this.unobserve();
|
|
66
|
-
}
|
|
67
|
-
if (!isPlainChildren(this.props)) {
|
|
68
|
-
// Store the current State, so we can pass it to the children in the next render update
|
|
69
|
-
// There's no reason to update the state for plain children, since it's not used in the rendering.
|
|
70
|
-
this.setState({
|
|
71
|
-
inView,
|
|
72
|
-
entry
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
if (this.props.onChange) {
|
|
76
|
-
// If the user is actively listening for onChange, always trigger it
|
|
77
|
-
this.props.onChange(inView, entry);
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
render() {
|
|
81
|
-
if (!isPlainChildren(this.props)) {
|
|
82
|
-
const { inView, entry } = this.state;
|
|
83
|
-
if (typeof this.props.children === 'function') return this.props.children({
|
|
84
|
-
inView,
|
|
85
|
-
entry,
|
|
86
|
-
ref: this.handleNode
|
|
87
|
-
});
|
|
88
|
-
return this.props.children;
|
|
89
|
-
}
|
|
90
|
-
const { children, as, triggerOnce, threshold, root, rootMargin, onChange, skip, trackVisibility, delay, initialInView, fallbackInView, ...props } = this.props;
|
|
91
|
-
return /*#__PURE__*/ createElement(as || 'div', {
|
|
92
|
-
ref: this.handleNode,
|
|
93
|
-
...props
|
|
94
|
-
}, children);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export { InView };
|
|
1
|
+
import{observe as e}from"./observe.js";import{Component as i,createElement as s}from"react";function isPlainChildren(e){return"function"!=typeof e.children}class InView extends i{constructor(e){super(e),this.state={inView:!!e.initialInView,entry:void 0}}componentDidUpdate(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())}componentWillUnmount(){this.unobserve(),this.node=null}node=null;_unobserveCb=null;observeNode(){if(!this.node||this.props.skip)return;let{threshold:i,root:s,rootMargin:t,trackVisibility:r,delay:o,fallbackInView:n}=this.props;this._unobserveCb=e(this.node,this.handleChange,{threshold:i,root:s,rootMargin:t,trackVisibility:r,delay:o},n)}unobserve(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)}handleNode=e=>{!this.node||(this.unobserve(),e||this.props.triggerOnce||this.props.skip||this.setState({inView:!!this.props.initialInView,entry:void 0})),this.node=e||null,this.observeNode()};handleChange=(e,i)=>{e&&this.props.triggerOnce&&this.unobserve(),isPlainChildren(this.props)||this.setState({inView:e,entry:i}),this.props.onChange&&this.props.onChange(e,i)};render(){if(!isPlainChildren(this.props)){let{inView:e,entry:i}=this.state;return"function"==typeof this.props.children?this.props.children({inView:e,entry:i,ref:this.handleNode}):this.props.children}let{children:e,as:i,triggerOnce:t,threshold:r,root:o,rootMargin:n,onChange:h,skip:p,trackVisibility:l,delay:d,initialInView:a,fallbackInView:u,...b}=this.props;return s(i||"div",{ref:this.handleNode,...b},e)}}export{InView};
|
|
@@ -1,109 +1 @@
|
|
|
1
|
-
|
|
2
|
-
const RootIds = new WeakMap();
|
|
3
|
-
let rootId = 0;
|
|
4
|
-
let unsupportedValue = undefined;
|
|
5
|
-
/**
|
|
6
|
-
* Generate a unique ID for the root element
|
|
7
|
-
* @param root
|
|
8
|
-
*/ function getRootId(root) {
|
|
9
|
-
if (!root) return '0';
|
|
10
|
-
if (RootIds.has(root)) return RootIds.get(root);
|
|
11
|
-
rootId += 1;
|
|
12
|
-
RootIds.set(root, rootId.toString());
|
|
13
|
-
return RootIds.get(root);
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Convert the options to a string Id, based on the values.
|
|
17
|
-
* Ensures we can reuse the same observer when observing elements with the same options.
|
|
18
|
-
* @param options
|
|
19
|
-
*/ function optionsToId(options) {
|
|
20
|
-
return Object.keys(options).sort().filter((key)=>options[key] !== undefined).map((key)=>{
|
|
21
|
-
return `${key}_${key === 'root' ? getRootId(options.root) : options[key]}`;
|
|
22
|
-
}).toString();
|
|
23
|
-
}
|
|
24
|
-
function createObserver(options) {
|
|
25
|
-
// Create a unique ID for this observer instance, based on the root, root margin and threshold.
|
|
26
|
-
const id = optionsToId(options);
|
|
27
|
-
let instance = observerMap.get(id);
|
|
28
|
-
if (!instance) {
|
|
29
|
-
// Create a map of elements this observer is going to observe. Each element has a list of callbacks that should be triggered, once it comes into view.
|
|
30
|
-
const elements = new Map();
|
|
31
|
-
let thresholds = [];
|
|
32
|
-
const observer = new IntersectionObserver((entries)=>{
|
|
33
|
-
entries.forEach((entry)=>{
|
|
34
|
-
// While it would be nice if you could just look at isIntersecting to determine if the component is inside the viewport, browsers can't agree on how to use it.
|
|
35
|
-
// -Firefox ignores `threshold` when considering `isIntersecting`, so it will never be false again if `threshold` is > 0
|
|
36
|
-
const inView = entry.isIntersecting && thresholds.some((threshold)=>entry.intersectionRatio >= threshold);
|
|
37
|
-
// @ts-ignore support IntersectionObserver v2
|
|
38
|
-
if (options.trackVisibility && typeof entry.isVisible === 'undefined') {
|
|
39
|
-
// The browser doesn't support Intersection Observer v2, falling back to v1 behavior.
|
|
40
|
-
// @ts-ignore
|
|
41
|
-
entry.isVisible = inView;
|
|
42
|
-
}
|
|
43
|
-
elements.get(entry.target)?.forEach((callback)=>{
|
|
44
|
-
callback(inView, entry);
|
|
45
|
-
});
|
|
46
|
-
});
|
|
47
|
-
}, options);
|
|
48
|
-
// Ensure we have a valid thresholds array. If not, use the threshold from the options
|
|
49
|
-
thresholds = observer.thresholds || (Array.isArray(options.threshold) ? options.threshold : [
|
|
50
|
-
options.threshold || 0
|
|
51
|
-
]);
|
|
52
|
-
instance = {
|
|
53
|
-
id,
|
|
54
|
-
observer,
|
|
55
|
-
elements
|
|
56
|
-
};
|
|
57
|
-
observerMap.set(id, instance);
|
|
58
|
-
}
|
|
59
|
-
return instance;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* @param element - DOM Element to observe
|
|
63
|
-
* @param callback - Callback function to trigger when intersection status changes
|
|
64
|
-
* @param options - Intersection Observer options
|
|
65
|
-
* @param fallbackInView - Fallback inView value.
|
|
66
|
-
* @return Function - Cleanup function that should be triggered to unregister the observer
|
|
67
|
-
*/ // eslint-disable-next-line max-params
|
|
68
|
-
function observe(element, callback, options = {}, fallbackInView = unsupportedValue) {
|
|
69
|
-
if (typeof window.IntersectionObserver === 'undefined' && fallbackInView !== undefined) {
|
|
70
|
-
const bounds = element.getBoundingClientRect();
|
|
71
|
-
callback(fallbackInView, {
|
|
72
|
-
isIntersecting: fallbackInView,
|
|
73
|
-
target: element,
|
|
74
|
-
intersectionRatio: typeof options.threshold === 'number' ? options.threshold : 0,
|
|
75
|
-
time: 0,
|
|
76
|
-
boundingClientRect: bounds,
|
|
77
|
-
intersectionRect: bounds,
|
|
78
|
-
rootBounds: bounds
|
|
79
|
-
});
|
|
80
|
-
return ()=>{
|
|
81
|
-
// Nothing to cleanup
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
// An observer with the same options can be reused, so lets use this fact
|
|
85
|
-
const { id, observer, elements } = createObserver(options);
|
|
86
|
-
// Register the callback listener for this element
|
|
87
|
-
const callbacks = elements.get(element) || [];
|
|
88
|
-
if (!elements.has(element)) {
|
|
89
|
-
elements.set(element, callbacks);
|
|
90
|
-
}
|
|
91
|
-
callbacks.push(callback);
|
|
92
|
-
observer.observe(element);
|
|
93
|
-
return function unobserve() {
|
|
94
|
-
// Remove the callback from the callback list
|
|
95
|
-
callbacks.splice(callbacks.indexOf(callback), 1);
|
|
96
|
-
if (callbacks.length === 0) {
|
|
97
|
-
// No more callback exists for element, so destroy it
|
|
98
|
-
elements.delete(element);
|
|
99
|
-
observer.unobserve(element);
|
|
100
|
-
}
|
|
101
|
-
if (elements.size === 0) {
|
|
102
|
-
// No more elements are being observer by this instance, so destroy it
|
|
103
|
-
observer.disconnect();
|
|
104
|
-
observerMap.delete(id);
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export { observe, optionsToId };
|
|
1
|
+
let unsupportedValue;let observerMap=new Map,RootIds=new WeakMap,rootId=0;function getRootId(e){return e?(RootIds.has(e)||(rootId+=1,RootIds.set(e,rootId.toString())),RootIds.get(e)):"0"}function optionsToId(e){return Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>`${t}_${"root"===t?getRootId(e.root):e[t]}`).toString()}function createObserver(e){let t=optionsToId(e),o=observerMap.get(t);if(!o){let r=new Map,s=[],n=new IntersectionObserver(t=>{t.forEach(t=>{let o=t.isIntersecting&&s.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),r.get(t.target)?.forEach(e=>{e(o,t)})})},e);s=n.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),o={id:t,observer:n,elements:r},observerMap.set(t,o)}return o}function observe(e,t,o={},r=unsupportedValue){if(void 0===window.IntersectionObserver&&void 0!==r){let s=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof o.threshold?o.threshold:0,time:0,boundingClientRect:s,intersectionRect:s,rootBounds:s}),()=>{}}let{id:s,observer:n,elements:i}=createObserver(o),d=i.get(e)||[];return i.has(e)||i.set(e,d),d.push(t),n.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(i.delete(e),n.unobserve(e)),0===i.size&&(n.disconnect(),observerMap.delete(s))}}export{observe,optionsToId};
|