@gem-sdk/core 3.0.0-pre-production.14 → 3.0.0
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/README.md +1 -1
- package/dist/cjs/components/AddOn.js +2 -18
- package/dist/cjs/components/ComponentAnimation.js +2 -17
- package/dist/cjs/components/ComponentToolbarPreview.js +2 -752
- package/dist/cjs/components/ComponentWrapper.js +2 -61
- package/dist/cjs/components/ComponentWrapperPreview.js +2 -213
- package/dist/cjs/components/Empty.js +2 -7
- package/dist/cjs/components/InteractionSuffix.js +2 -42
- package/dist/cjs/components/Render.js +2 -75
- package/dist/cjs/components/Render.liquid.js +16 -307
- package/dist/cjs/components/RenderBlock.js +2 -54
- package/dist/cjs/components/RenderCustomCode.js +4 -59
- package/dist/cjs/components/RenderPreview.js +2 -67
- package/dist/cjs/components/RenderSection.js +2 -23
- package/dist/cjs/components/ai-generator/AIContentGenerator.js +2 -252
- package/dist/cjs/components/ai-generator/AIGenContentLoading.js +2 -85
- package/dist/cjs/components/ai-generator/components/PickProduct.js +2 -220
- package/dist/cjs/components/ai-generator/components/ToneAndVoice.js +2 -77
- package/dist/cjs/components/ai-generator/hooks/useCheckingProductInside.js +1 -47
- package/dist/cjs/components/ai-generator/hooks/useFlipPopup.js +1 -110
- package/dist/cjs/components/ai-generator/hooks/useGettingGenerateRequest.js +1 -37
- package/dist/cjs/components/ai-generator/hooks/useListenEventGenerate.js +1 -70
- package/dist/cjs/components/ai-generator/icons/AIIcon.js +2 -67
- package/dist/cjs/components/ai-generator/icons/CloseIcon.js +2 -19
- package/dist/cjs/components/ai-generator/icons/DropdownIcon.js +2 -37
- package/dist/cjs/components/ai-generator/icons/SearchIcon.js +2 -21
- package/dist/cjs/components/ai-generator/icons/ShowMoreIcon.js +2 -21
- package/dist/cjs/components/ai-generator/icons/UpgradeIcon.js +2 -27
- package/dist/cjs/components/ai-generator/icons/WarningIcon.js +2 -31
- package/dist/cjs/components/constant.js +1 -82
- package/dist/cjs/components/resize/Resize.js +2 -16
- package/dist/cjs/components/resize/Spacing.js +2 -260
- package/dist/cjs/components/src/product/helpers/variant-presets.js +1 -56
- package/dist/cjs/components/theme-section/CreateThemeSection.js +2 -123
- package/dist/cjs/components/theme-section/ThemeSectionStatus.js +2 -45
- package/dist/cjs/components/theme-section/ThemeSectionTooltip.js +2 -126
- package/dist/cjs/components/toolbar/Tooltip.js +2 -28
- package/dist/cjs/constants/device.js +1 -0
- package/dist/cjs/contexts/AddonContext.js +2 -36
- package/dist/cjs/contexts/ArticleContext.js +2 -39
- package/dist/cjs/contexts/ArticleListContext.js +2 -31
- package/dist/cjs/contexts/BuilderComponent.js +2 -34
- package/dist/cjs/contexts/BuilderContext.js +2 -39
- package/dist/cjs/contexts/BuilderPreviewContext.js +2 -482
- package/dist/cjs/contexts/CartLineContext.js +2 -29
- package/dist/cjs/contexts/CollectionContext.js +2 -38
- package/dist/cjs/contexts/I18nContext.js +2 -0
- package/dist/cjs/contexts/ModalContext.js +2 -47
- package/dist/cjs/contexts/PageContext.js +2 -111
- package/dist/cjs/contexts/ProductContext.js +2 -182
- package/dist/cjs/contexts/ProductListContext.js +2 -32
- package/dist/cjs/contexts/SectionContext.js +2 -53
- package/dist/cjs/contexts/ShopContext.js +2 -107
- package/dist/cjs/graphql/fragments/analytic.generated.js +2 -6
- package/dist/cjs/graphql/fragments/collection-detail.generated.js +2 -6
- package/dist/cjs/graphql/fragments/collection-product.generated.js +2 -6
- package/dist/cjs/graphql/fragments/collection.generated.js +2 -6
- package/dist/cjs/graphql/fragments/custom-code.generated.js +2 -6
- package/dist/cjs/graphql/fragments/custom-font.generated.js +7 -7
- package/dist/cjs/graphql/fragments/data-seo.generated.js +2 -6
- package/dist/cjs/graphql/fragments/media.generated.js +2 -6
- package/dist/cjs/graphql/fragments/preview-theme-page.generated.js +6 -6
- package/dist/cjs/graphql/fragments/product-little.generated.js +2 -6
- package/dist/cjs/graphql/fragments/product-option-value.generated.js +2 -6
- package/dist/cjs/graphql/fragments/product-option.generated.js +2 -6
- package/dist/cjs/graphql/fragments/product.generated.js +2 -6
- package/dist/cjs/graphql/fragments/published-custom-section.generated.js +2 -6
- package/dist/cjs/graphql/fragments/published-page-section.generated.js +2 -6
- package/dist/cjs/graphql/fragments/published-theme-page.generated.js +4 -18
- package/dist/cjs/graphql/fragments/published-theme-style.generated.js +2 -6
- package/dist/cjs/graphql/fragments/selected-option.generated.js +2 -6
- package/dist/cjs/graphql/fragments/variant.generated.js +2 -6
- package/dist/cjs/graphql/mutations/page-view-up.generated.js +2 -6
- package/dist/cjs/graphql/queries/articles.generated.js +2 -6
- package/dist/cjs/graphql/queries/blogs.generated.js +3 -6
- package/dist/cjs/graphql/queries/collection-detail-filter.generated.js +2 -16
- package/dist/cjs/graphql/queries/collection.generated.js +2 -14
- package/dist/cjs/graphql/queries/collections.generated.js +2 -9
- package/dist/cjs/graphql/queries/preview-page.generated.js +2 -12
- package/dist/cjs/graphql/queries/product-little-detail.generated.js +2 -11
- package/dist/cjs/graphql/queries/product-medias.generated.js +2 -8
- package/dist/cjs/graphql/queries/product-value-label.generated.js +2 -6
- package/dist/cjs/graphql/queries/product-variants.generated.js +3 -11
- package/dist/cjs/graphql/queries/products.generated.js +3 -17
- package/dist/cjs/graphql/queries/{published-shop-metas.js → published-shop-metas.generated.js} +2 -6
- package/dist/cjs/graphql/queries/published-theme-pages.generated.js +3 -19
- package/dist/cjs/graphql/queries/shop-shopify.generated.js +2 -6
- package/dist/cjs/graphql/queries/store-property.generated.js +2 -6
- package/dist/cjs/graphql-app-api/queries/LibrarySaleFunnelDiscount.generated.js +2 -6
- package/dist/cjs/graphql-app-api/queries/LibraryTemplate.generated.js +2 -6
- package/dist/cjs/graphql-app-api/queries/SaleFunnelDiscounts.generated.js +2 -6
- package/dist/cjs/graphql-app-api/queries/SaleFunnelOffer.generated.js +2 -6
- package/dist/cjs/graphql-app-api/queries/ShopLibraryPage.generated.js +2 -6
- package/dist/cjs/graphql-app-api/queries/ThemePage.generated.js +2 -6
- package/dist/cjs/helpers/GlobalEvent.js +1 -19
- package/dist/cjs/helpers/align.js +1 -37
- package/dist/cjs/helpers/animations.js +1 -222
- package/dist/cjs/helpers/background.js +1 -236
- package/dist/cjs/helpers/backgroundImage.js +1 -0
- package/dist/cjs/helpers/borders.js +4 -198
- package/dist/cjs/helpers/carousel.js +1 -55
- package/dist/cjs/helpers/clone-deep.js +1 -5
- package/dist/cjs/helpers/cls.js +1 -16
- package/dist/cjs/helpers/colors.js +1 -184
- package/dist/cjs/helpers/compose-advance-style.js +1 -323
- package/dist/cjs/helpers/composeClasses.js +1 -0
- package/dist/cjs/helpers/const.js +1 -0
- package/dist/cjs/helpers/constant.js +1 -23
- package/dist/cjs/helpers/convert.js +1 -7
- package/dist/cjs/helpers/covert-entities-html.js +1 -19
- package/dist/cjs/helpers/css-variable.js +1 -7
- package/dist/cjs/helpers/email.js +1 -11
- package/dist/cjs/helpers/filter-styles.js +1 -0
- package/dist/cjs/helpers/filter-toolbar-preview.js +2 -14
- package/dist/cjs/helpers/flatten-connection.js +1 -9
- package/dist/cjs/helpers/get-resonsive-value.js +1 -36
- package/dist/cjs/helpers/get-shortname.js +1 -92
- package/dist/cjs/helpers/icon-list.js +1 -61
- package/dist/cjs/helpers/interaction/index.js +2 -134
- package/dist/cjs/helpers/is-browser.js +1 -9
- package/dist/cjs/helpers/is-defined.js +1 -7
- package/dist/cjs/helpers/is-empty-children.js +2 -15
- package/dist/cjs/helpers/is-safari.js +1 -9
- package/dist/cjs/helpers/layout.js +1 -76
- package/dist/cjs/helpers/load-script.js +1 -31
- package/dist/cjs/helpers/loop-component.js +1 -16
- package/dist/cjs/helpers/make-style.js +1 -163
- package/dist/cjs/helpers/normalize-builder-data.js +1 -23
- package/dist/cjs/helpers/pascal-to-kebab-case.js +1 -7
- package/dist/cjs/helpers/prefetch-queries.js +1 -78
- package/dist/cjs/helpers/product.js +1 -48
- package/dist/cjs/helpers/queries/get-collection.js +1 -226
- package/dist/cjs/helpers/queries/get-collections.js +1 -21
- package/dist/cjs/helpers/queries/get-product-by-slug.js +1 -125
- package/dist/cjs/helpers/queries/get-product.js +1 -154
- package/dist/cjs/helpers/queries/get-products.js +1 -214
- package/dist/cjs/helpers/query.js +1 -29
- package/dist/cjs/helpers/radius.js +6 -140
- package/dist/cjs/helpers/render.js +1 -91
- package/dist/cjs/helpers/shadow.js +1 -69
- package/dist/cjs/helpers/size.js +4 -228
- package/dist/cjs/helpers/spacing.js +1 -43
- package/dist/cjs/helpers/third-party/addAppBlockId.js +1 -20
- package/dist/cjs/helpers/third-party/appConfig.js +1 -416
- package/dist/cjs/helpers/third-party/appSetting.js +1 -1324
- package/dist/cjs/helpers/third-party/composeAppBlockId.js +1 -11
- package/dist/cjs/helpers/third-party/constant.js +1 -69
- package/dist/cjs/helpers/third-party/generateAppBlockConfigs.js +1 -34
- package/dist/cjs/helpers/third-party/getAppBlockConfig.js +1 -55
- package/dist/cjs/helpers/third-party/getAppBlockType.js +1 -12
- package/dist/cjs/helpers/third-party/getAppBlocks.js +1 -30
- package/dist/cjs/helpers/third-party/mergeBlock.js +1 -19
- package/dist/cjs/helpers/third-party/mergeBlockOrder.js +1 -47
- package/dist/cjs/helpers/third-party/removeGPAppItems.js +1 -18
- package/dist/cjs/helpers/tracking/fpixel.js +1 -28
- package/dist/cjs/helpers/tracking/gtag.js +1 -93
- package/dist/cjs/helpers/tracking/tiktokpixel.js +1 -17
- package/dist/cjs/helpers/typography.js +19 -160
- package/dist/cjs/helpers/variant.js +1 -11
- package/dist/cjs/hooks/animation/useAnimationActions.js +2 -39
- package/dist/cjs/hooks/animation/useAnimationConfig.js +2 -30
- package/dist/cjs/hooks/animation/useAnimationPreview.js +2 -31
- package/dist/cjs/hooks/animation/useAnimationTarget.js +2 -122
- package/dist/cjs/hooks/animation/useApplyAnimation.js +2 -89
- package/dist/cjs/hooks/articles/useArticlesQuery.js +2 -33
- package/dist/cjs/hooks/cart/use-add-to-cart.js +2 -20
- package/dist/cjs/hooks/cart/use-cart-data.js +2 -28
- package/dist/cjs/hooks/cart/use-cart-discount-codes-update.js +2 -20
- package/dist/cjs/hooks/cart/use-cart-note-update.js +2 -20
- package/dist/cjs/hooks/cart/use-create-cart.js +2 -22
- package/dist/cjs/hooks/cart/use-remove-cart-item.js +2 -20
- package/dist/cjs/hooks/cart/use-update-cart-item.js +2 -20
- package/dist/cjs/hooks/shop/use-collection-query.js +2 -22
- package/dist/cjs/hooks/shop/use-collections-query.js +2 -17
- package/dist/cjs/hooks/shop/use-product-query.js +2 -22
- package/dist/cjs/hooks/shop/use-products-query.js +2 -63
- package/dist/cjs/hooks/shop/useShopifyLink.js +2 -0
- package/dist/cjs/hooks/shop.js +2 -135
- package/dist/cjs/hooks/use-current-device.js +2 -30
- package/dist/cjs/hooks/use-lazy-video.js +2 -15
- package/dist/cjs/hooks/useAnimations.js +2 -29
- package/dist/cjs/hooks/useCartId.js +2 -44
- package/dist/cjs/hooks/useCartLine.js +2 -11
- package/dist/cjs/hooks/useCartUI.js +2 -48
- package/dist/cjs/hooks/useCollection.js +2 -9
- package/dist/cjs/hooks/useFetchHandle.js +2 -13
- package/dist/cjs/hooks/useFormatMoney.js +2 -75
- package/dist/cjs/hooks/useI18n.js +2 -0
- package/dist/cjs/hooks/useInitialSwatchesOptions.js +2 -127
- package/dist/cjs/hooks/useInteraction.js +2 -19
- package/dist/cjs/hooks/useIsomorphicLayoutEffect.js +2 -10
- package/dist/cjs/hooks/useLoadScript.js +2 -32
- package/dist/cjs/hooks/useMoney.js +2 -84
- package/dist/cjs/hooks/usePrevious.js +2 -19
- package/dist/cjs/hooks/useProduct.js +2 -250
- package/dist/cjs/hooks/useProductList.js +2 -21
- package/dist/cjs/hooks/useStickyStore.js +1 -0
- package/dist/cjs/hooks/useSuspenseFetch.js +2 -27
- package/dist/cjs/hooks/useSwatchesOptions.js +2 -41
- package/dist/cjs/hooks/useToolbarPostPurchase.js +2 -89
- package/dist/cjs/index.js +1 -425
- package/dist/cjs/types/animations.js +1 -49
- package/dist/cjs/types/appAPI.js +1 -2
- package/dist/cjs/types/custom.js +1 -52
- package/dist/cjs/types/global-style.js +1 -15
- package/dist/cjs/types/shop.js +1 -2
- package/dist/esm/components/AddOn.js +2 -14
- package/dist/esm/components/ComponentAnimation.js +2 -13
- package/dist/esm/components/ComponentToolbarPreview.js +2 -748
- package/dist/esm/components/ComponentWrapper.js +2 -57
- package/dist/esm/components/ComponentWrapperPreview.js +2 -209
- package/dist/esm/components/Empty.js +2 -3
- package/dist/esm/components/InteractionSuffix.js +2 -40
- package/dist/esm/components/Render.js +2 -71
- package/dist/esm/components/Render.liquid.js +16 -301
- package/dist/esm/components/RenderBlock.js +2 -50
- package/dist/esm/components/RenderCustomCode.js +4 -55
- package/dist/esm/components/RenderPreview.js +2 -63
- package/dist/esm/components/RenderSection.js +2 -19
- package/dist/esm/components/ai-generator/AIContentGenerator.js +2 -250
- package/dist/esm/components/ai-generator/AIGenContentLoading.js +2 -83
- package/dist/esm/components/ai-generator/components/PickProduct.js +2 -218
- package/dist/esm/components/ai-generator/components/ToneAndVoice.js +2 -75
- package/dist/esm/components/ai-generator/hooks/useCheckingProductInside.js +1 -45
- package/dist/esm/components/ai-generator/hooks/useFlipPopup.js +1 -108
- package/dist/esm/components/ai-generator/hooks/useGettingGenerateRequest.js +1 -35
- package/dist/esm/components/ai-generator/hooks/useListenEventGenerate.js +1 -68
- package/dist/esm/components/ai-generator/icons/AIIcon.js +2 -65
- package/dist/esm/components/ai-generator/icons/CloseIcon.js +2 -17
- package/dist/esm/components/ai-generator/icons/DropdownIcon.js +2 -34
- package/dist/esm/components/ai-generator/icons/SearchIcon.js +2 -19
- package/dist/esm/components/ai-generator/icons/ShowMoreIcon.js +2 -19
- package/dist/esm/components/ai-generator/icons/UpgradeIcon.js +2 -25
- package/dist/esm/components/ai-generator/icons/WarningIcon.js +2 -29
- package/dist/esm/components/constant.js +1 -75
- package/dist/esm/components/resize/Resize.js +2 -12
- package/dist/esm/components/resize/Spacing.js +2 -256
- package/dist/esm/components/src/product/helpers/variant-presets.js +1 -54
- package/dist/esm/components/theme-section/CreateThemeSection.js +2 -121
- package/dist/esm/components/theme-section/ThemeSectionStatus.js +2 -43
- package/dist/esm/components/theme-section/ThemeSectionTooltip.js +2 -124
- package/dist/esm/components/toolbar/Tooltip.js +2 -24
- package/dist/esm/constants/device.js +1 -0
- package/dist/esm/contexts/AddonContext.js +2 -32
- package/dist/esm/contexts/ArticleContext.js +2 -36
- package/dist/esm/contexts/ArticleListContext.js +2 -27
- package/dist/esm/contexts/BuilderComponent.js +2 -31
- package/dist/esm/contexts/BuilderContext.js +2 -36
- package/dist/esm/contexts/BuilderPreviewContext.js +2 -479
- package/dist/esm/contexts/CartLineContext.js +2 -26
- package/dist/esm/contexts/CollectionContext.js +2 -35
- package/dist/esm/contexts/I18nContext.js +2 -0
- package/dist/esm/contexts/ModalContext.js +2 -44
- package/dist/esm/contexts/PageContext.js +2 -108
- package/dist/esm/contexts/ProductContext.js +2 -179
- package/dist/esm/contexts/ProductListContext.js +2 -28
- package/dist/esm/contexts/SectionContext.js +2 -49
- package/dist/esm/contexts/ShopContext.js +2 -104
- package/dist/esm/graphql/fragments/analytic.generated.js +2 -4
- package/dist/esm/graphql/fragments/collection-detail.generated.js +2 -4
- package/dist/esm/graphql/fragments/collection-product.generated.js +2 -4
- package/dist/esm/graphql/fragments/collection.generated.js +2 -4
- package/dist/esm/graphql/fragments/custom-code.generated.js +2 -4
- package/dist/esm/graphql/fragments/custom-font.generated.js +7 -5
- package/dist/esm/graphql/fragments/data-seo.generated.js +2 -4
- package/dist/esm/graphql/fragments/media.generated.js +2 -4
- package/dist/esm/graphql/fragments/preview-theme-page.generated.js +6 -4
- package/dist/esm/graphql/fragments/product-little.generated.js +2 -4
- package/dist/esm/graphql/fragments/product-option-value.generated.js +2 -4
- package/dist/esm/graphql/fragments/product-option.generated.js +2 -4
- package/dist/esm/graphql/fragments/product.generated.js +2 -4
- package/dist/esm/graphql/fragments/published-custom-section.generated.js +2 -4
- package/dist/esm/graphql/fragments/published-page-section.generated.js +2 -4
- package/dist/esm/graphql/fragments/published-theme-page.generated.js +4 -16
- package/dist/esm/graphql/fragments/published-theme-style.generated.js +2 -4
- package/dist/esm/graphql/fragments/selected-option.generated.js +2 -4
- package/dist/esm/graphql/fragments/variant.generated.js +2 -4
- package/dist/esm/graphql/mutations/page-view-up.generated.js +2 -4
- package/dist/esm/graphql/queries/articles.generated.js +2 -4
- package/dist/esm/graphql/queries/blogs.generated.js +3 -4
- package/dist/esm/graphql/queries/collection-detail-filter.generated.js +10 -22
- package/dist/esm/graphql/queries/collection.generated.js +8 -18
- package/dist/esm/graphql/queries/collections.generated.js +3 -8
- package/dist/esm/graphql/queries/preview-page.generated.js +6 -14
- package/dist/esm/graphql/queries/product-little-detail.generated.js +5 -12
- package/dist/esm/graphql/queries/product-medias.generated.js +2 -6
- package/dist/esm/graphql/queries/product-value-label.generated.js +2 -4
- package/dist/esm/graphql/queries/product-variants.generated.js +5 -11
- package/dist/esm/graphql/queries/products.generated.js +9 -20
- package/dist/esm/graphql/queries/{published-shop-metas.js → published-shop-metas.generated.js} +2 -4
- package/dist/esm/graphql/queries/published-theme-pages.generated.js +6 -20
- package/dist/esm/graphql/queries/shop-shopify.generated.js +2 -4
- package/dist/esm/graphql/queries/store-property.generated.js +2 -4
- package/dist/esm/graphql-app-api/queries/LibrarySaleFunnelDiscount.generated.js +2 -4
- package/dist/esm/graphql-app-api/queries/LibraryTemplate.generated.js +2 -4
- package/dist/esm/graphql-app-api/queries/SaleFunnelDiscounts.generated.js +2 -4
- package/dist/esm/graphql-app-api/queries/SaleFunnelOffer.generated.js +2 -4
- package/dist/esm/graphql-app-api/queries/ShopLibraryPage.generated.js +2 -4
- package/dist/esm/graphql-app-api/queries/ThemePage.generated.js +2 -4
- package/dist/esm/helpers/GlobalEvent.js +1 -15
- package/dist/esm/helpers/align.js +1 -34
- package/dist/esm/helpers/animations.js +1 -220
- package/dist/esm/helpers/background.js +1 -227
- package/dist/esm/helpers/backgroundImage.js +1 -0
- package/dist/esm/helpers/borders.js +4 -189
- package/dist/esm/helpers/carousel.js +1 -51
- package/dist/esm/helpers/clone-deep.js +1 -3
- package/dist/esm/helpers/cls.js +1 -14
- package/dist/esm/helpers/colors.js +1 -169
- package/dist/esm/helpers/compose-advance-style.js +1 -315
- package/dist/esm/helpers/composeClasses.js +1 -0
- package/dist/esm/helpers/const.js +1 -0
- package/dist/esm/helpers/constant.js +1 -19
- package/dist/esm/helpers/convert.js +1 -4
- package/dist/esm/helpers/covert-entities-html.js +1 -17
- package/dist/esm/helpers/css-variable.js +1 -5
- package/dist/esm/helpers/email.js +1 -6
- package/dist/esm/helpers/filter-styles.js +1 -0
- package/dist/esm/helpers/filter-toolbar-preview.js +2 -9
- package/dist/esm/helpers/flatten-connection.js +1 -7
- package/dist/esm/helpers/get-resonsive-value.js +1 -31
- package/dist/esm/helpers/get-shortname.js +1 -90
- package/dist/esm/helpers/icon-list.js +1 -58
- package/dist/esm/helpers/interaction/index.js +2 -132
- package/dist/esm/helpers/is-browser.js +1 -5
- package/dist/esm/helpers/is-defined.js +1 -5
- package/dist/esm/helpers/is-empty-children.js +2 -10
- package/dist/esm/helpers/is-safari.js +1 -5
- package/dist/esm/helpers/layout.js +1 -70
- package/dist/esm/helpers/load-script.js +1 -29
- package/dist/esm/helpers/loop-component.js +1 -14
- package/dist/esm/helpers/make-style.js +1 -149
- package/dist/esm/helpers/normalize-builder-data.js +1 -21
- package/dist/esm/helpers/pascal-to-kebab-case.js +1 -5
- package/dist/esm/helpers/prefetch-queries.js +1 -76
- package/dist/esm/helpers/product.js +1 -44
- package/dist/esm/helpers/queries/get-collection.js +1 -223
- package/dist/esm/helpers/queries/get-collections.js +1 -19
- package/dist/esm/helpers/queries/get-product-by-slug.js +1 -123
- package/dist/esm/helpers/queries/get-product.js +1 -150
- package/dist/esm/helpers/queries/get-products.js +1 -210
- package/dist/esm/helpers/query.js +1 -25
- package/dist/esm/helpers/radius.js +6 -132
- package/dist/esm/helpers/render.js +1 -82
- package/dist/esm/helpers/shadow.js +1 -63
- package/dist/esm/helpers/size.js +4 -213
- package/dist/esm/helpers/spacing.js +1 -40
- package/dist/esm/helpers/third-party/addAppBlockId.js +1 -18
- package/dist/esm/helpers/third-party/appConfig.js +1 -356
- package/dist/esm/helpers/third-party/appSetting.js +1 -1321
- package/dist/esm/helpers/third-party/composeAppBlockId.js +1 -9
- package/dist/esm/helpers/third-party/constant.js +1 -66
- package/dist/esm/helpers/third-party/generateAppBlockConfigs.js +1 -32
- package/dist/esm/helpers/third-party/getAppBlockConfig.js +1 -53
- package/dist/esm/helpers/third-party/getAppBlockType.js +1 -10
- package/dist/esm/helpers/third-party/getAppBlocks.js +1 -28
- package/dist/esm/helpers/third-party/mergeBlock.js +1 -17
- package/dist/esm/helpers/third-party/mergeBlockOrder.js +1 -45
- package/dist/esm/helpers/third-party/removeGPAppItems.js +1 -15
- package/dist/esm/helpers/tracking/fpixel.js +1 -24
- package/dist/esm/helpers/tracking/gtag.js +1 -87
- package/dist/esm/helpers/tracking/tiktokpixel.js +1 -15
- package/dist/esm/helpers/typography.js +19 -149
- package/dist/esm/helpers/variant.js +1 -9
- package/dist/esm/hooks/animation/useAnimationActions.js +2 -37
- package/dist/esm/hooks/animation/useAnimationConfig.js +2 -28
- package/dist/esm/hooks/animation/useAnimationPreview.js +2 -29
- package/dist/esm/hooks/animation/useAnimationTarget.js +2 -120
- package/dist/esm/hooks/animation/useApplyAnimation.js +2 -85
- package/dist/esm/hooks/articles/useArticlesQuery.js +2 -30
- package/dist/esm/hooks/cart/use-add-to-cart.js +2 -18
- package/dist/esm/hooks/cart/use-cart-data.js +2 -26
- package/dist/esm/hooks/cart/use-cart-discount-codes-update.js +2 -18
- package/dist/esm/hooks/cart/use-cart-note-update.js +2 -18
- package/dist/esm/hooks/cart/use-create-cart.js +2 -20
- package/dist/esm/hooks/cart/use-remove-cart-item.js +2 -18
- package/dist/esm/hooks/cart/use-update-cart-item.js +2 -18
- package/dist/esm/hooks/shop/use-collection-query.js +2 -20
- package/dist/esm/hooks/shop/use-collections-query.js +2 -15
- package/dist/esm/hooks/shop/use-product-query.js +2 -20
- package/dist/esm/hooks/shop/use-products-query.js +2 -59
- package/dist/esm/hooks/shop/useShopifyLink.js +2 -0
- package/dist/esm/hooks/shop.js +2 -119
- package/dist/esm/hooks/use-current-device.js +2 -28
- package/dist/esm/hooks/use-lazy-video.js +2 -13
- package/dist/esm/hooks/useAnimations.js +2 -27
- package/dist/esm/hooks/useCartId.js +2 -40
- package/dist/esm/hooks/useCartLine.js +2 -7
- package/dist/esm/hooks/useCartUI.js +2 -44
- package/dist/esm/hooks/useCollection.js +2 -7
- package/dist/esm/hooks/useFetchHandle.js +2 -11
- package/dist/esm/hooks/useFormatMoney.js +2 -71
- package/dist/esm/hooks/useI18n.js +2 -0
- package/dist/esm/hooks/useInitialSwatchesOptions.js +2 -123
- package/dist/esm/hooks/useInteraction.js +2 -17
- package/dist/esm/hooks/useIsomorphicLayoutEffect.js +2 -6
- package/dist/esm/hooks/useLoadScript.js +2 -28
- package/dist/esm/hooks/useMoney.js +2 -80
- package/dist/esm/hooks/usePrevious.js +2 -17
- package/dist/esm/hooks/useProduct.js +2 -233
- package/dist/esm/hooks/useProductList.js +2 -16
- package/dist/esm/hooks/useStickyStore.js +1 -0
- package/dist/esm/hooks/useSuspenseFetch.js +2 -23
- package/dist/esm/hooks/useSwatchesOptions.js +2 -37
- package/dist/esm/hooks/useToolbarPostPurchase.js +2 -87
- package/dist/esm/index.js +1 -119
- package/dist/esm/types/animations.js +1 -49
- package/dist/esm/types/custom.js +1 -52
- package/dist/esm/types/global-style.js +1 -12
- package/dist/types/index.d.ts +12025 -8969
- package/package.json +6 -6
- package/dist/cjs/web-components/src/helpers/styles/constant.js +0 -9
- package/dist/esm/web-components/src/helpers/styles/constant.js +0 -7
|
@@ -1,45 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const useCheckingProductInside = (genTool, options)=>{
|
|
4
|
-
const [productElement, setProductElement] = useState({});
|
|
5
|
-
const checkSectionHasProduct = useCallback(()=>{
|
|
6
|
-
if (!genTool.current) {
|
|
7
|
-
setProductElement({
|
|
8
|
-
productId: '',
|
|
9
|
-
uid: ''
|
|
10
|
-
});
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
const sectionEl = genTool.current?.closest('[data-component-tag="Section"]');
|
|
14
|
-
const productEl = sectionEl?.querySelector('[data-product-id]:not([data-product-id=""])');
|
|
15
|
-
const productId = productEl?.getAttribute('data-product-id');
|
|
16
|
-
const productElUid = productEl?.getAttribute('data-uid');
|
|
17
|
-
const productListOutSideProduct = productEl?.closest('[data-component-tag="ProductList"]');
|
|
18
|
-
if (productListOutSideProduct || !productId) {
|
|
19
|
-
setProductElement({
|
|
20
|
-
productId: '',
|
|
21
|
-
uid: ''
|
|
22
|
-
});
|
|
23
|
-
return;
|
|
24
|
-
}
|
|
25
|
-
setProductElement({
|
|
26
|
-
productId: productId ? 'gid://shopify/Product/' + productId : '',
|
|
27
|
-
uid: productElUid ?? ''
|
|
28
|
-
});
|
|
29
|
-
}, [
|
|
30
|
-
genTool
|
|
31
|
-
]);
|
|
32
|
-
useEffect(()=>{
|
|
33
|
-
if (!options?.isEnabled) return;
|
|
34
|
-
checkSectionHasProduct();
|
|
35
|
-
}, [
|
|
36
|
-
options?.isEnabled,
|
|
37
|
-
checkSectionHasProduct
|
|
38
|
-
]);
|
|
39
|
-
return {
|
|
40
|
-
productElement,
|
|
41
|
-
checkSectionHasProduct
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export { useCheckingProductInside };
|
|
1
|
+
import{useState as t,useCallback as d,useEffect as e}from"react";let useCheckingProductInside=(r,u)=>{let[o,i]=t({}),c=d(()=>{if(!r.current){i({productId:"",uid:""});return}let t=r.current?.closest('[data-component-tag="Section"]'),d=t?.querySelector('[data-product-id]:not([data-product-id=""])'),e=d?.getAttribute("data-product-id"),u=d?.getAttribute("data-uid"),o=d?.closest('[data-component-tag="ProductList"]');if(o||!e){i({productId:"",uid:""});return}i({productId:e?"gid://shopify/Product/"+e:"",uid:u??""})},[r]);return e(()=>{u?.isEnabled&&c()},[u?.isEnabled,c]),{productElement:o,checkSectionHasProduct:c}};export{useCheckingProductInside};
|
|
@@ -1,108 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const useFlipPopup = (isShowPopup, dom)=>{
|
|
4
|
-
const { genTool, genPopup, genPopupHeader, genButtonWrapper } = dom;
|
|
5
|
-
const [popupPositionY, setPopupPositionY] = useState('top');
|
|
6
|
-
const [popupPositionX, setPopupPositionX] = useState('left');
|
|
7
|
-
const [bodyMaxHeight, setBodyMaxHeight] = useState(null);
|
|
8
|
-
const [isValidating, setIsValidating] = useState(true);
|
|
9
|
-
const calculateMaxHeight = useCallback((currentPopupPositionY)=>{
|
|
10
|
-
const parentOverflow = genTool.current?.closest("[class~='gp-overflow-hidden']");
|
|
11
|
-
if (!parentOverflow || !genTool.current) {
|
|
12
|
-
return {
|
|
13
|
-
positionY: currentPopupPositionY,
|
|
14
|
-
maxHeight: null
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
const parentOverflowPos = parentOverflow.getBoundingClientRect();
|
|
18
|
-
const genToolPos = genTool.current.getBoundingClientRect();
|
|
19
|
-
const genToolHeaderHeight = genPopupHeader.current?.getBoundingClientRect().height || 0;
|
|
20
|
-
const genButtonHeight = genButtonWrapper.current?.getBoundingClientRect().height || 0;
|
|
21
|
-
const DISTANCE = 8;
|
|
22
|
-
const maxHeightForPositionTop = Math.max(parentOverflowPos.bottom - genToolPos.bottom - genToolHeaderHeight - genButtonHeight - DISTANCE, 0);
|
|
23
|
-
const maxHeightForPositionBottom = Math.max(genToolPos.top - parentOverflowPos.top - genToolHeaderHeight - genButtonHeight - DISTANCE, 0);
|
|
24
|
-
if (maxHeightForPositionBottom > maxHeightForPositionTop) {
|
|
25
|
-
return {
|
|
26
|
-
positionY: 'bottom',
|
|
27
|
-
maxHeight: maxHeightForPositionBottom
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
positionY: 'top',
|
|
32
|
-
maxHeight: maxHeightForPositionTop
|
|
33
|
-
};
|
|
34
|
-
}, [
|
|
35
|
-
genTool,
|
|
36
|
-
genPopupHeader,
|
|
37
|
-
genButtonWrapper
|
|
38
|
-
]);
|
|
39
|
-
const handleChangePopupPositionY = useCallback((posY)=>{
|
|
40
|
-
const { positionY: calcPosY, maxHeight } = calculateMaxHeight(posY);
|
|
41
|
-
setPopupPositionY(calcPosY);
|
|
42
|
-
setBodyMaxHeight(maxHeight);
|
|
43
|
-
}, [
|
|
44
|
-
calculateMaxHeight
|
|
45
|
-
]);
|
|
46
|
-
const calculatePopupPositionY = useCallback(()=>{
|
|
47
|
-
if (!genTool.current || !genPopup.current) return;
|
|
48
|
-
const viewHeight = window.innerHeight;
|
|
49
|
-
const scrollHeight = document.documentElement.scrollHeight;
|
|
50
|
-
const scrollTop = document.documentElement.scrollTop;
|
|
51
|
-
const toolPos = genTool.current?.getBoundingClientRect();
|
|
52
|
-
const genPopupHeight = genPopup.current?.getBoundingClientRect().height;
|
|
53
|
-
const MIN_DISTANCE = 50;
|
|
54
|
-
if (scrollTop + toolPos.top + genPopupHeight >= scrollHeight - MIN_DISTANCE) {
|
|
55
|
-
handleChangePopupPositionY('bottom');
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
if (toolPos.bottom + genPopupHeight > viewHeight) {
|
|
59
|
-
if (toolPos.top - genPopupHeight < 0) {
|
|
60
|
-
handleChangePopupPositionY('top');
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
handleChangePopupPositionY('bottom');
|
|
64
|
-
return;
|
|
65
|
-
}
|
|
66
|
-
handleChangePopupPositionY('top');
|
|
67
|
-
}, [
|
|
68
|
-
genPopup,
|
|
69
|
-
genTool,
|
|
70
|
-
handleChangePopupPositionY
|
|
71
|
-
]);
|
|
72
|
-
const calculatePopupPositionX = useCallback(()=>{
|
|
73
|
-
if (!genTool.current || !genPopup.current) return;
|
|
74
|
-
const viewWidth = window.innerWidth;
|
|
75
|
-
const toolPos = genTool.current?.getBoundingClientRect();
|
|
76
|
-
const genPopupWidth = genPopup.current?.getBoundingClientRect().width;
|
|
77
|
-
if (toolPos.left + genPopupWidth > viewWidth) {
|
|
78
|
-
setPopupPositionX('right');
|
|
79
|
-
return;
|
|
80
|
-
}
|
|
81
|
-
setPopupPositionX('left');
|
|
82
|
-
}, [
|
|
83
|
-
genPopup,
|
|
84
|
-
genTool
|
|
85
|
-
]);
|
|
86
|
-
useEffect(()=>{
|
|
87
|
-
if (!isShowPopup) {
|
|
88
|
-
setIsValidating(true);
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
setIsValidating(true);
|
|
92
|
-
calculatePopupPositionY();
|
|
93
|
-
calculatePopupPositionX();
|
|
94
|
-
setIsValidating(false);
|
|
95
|
-
}, [
|
|
96
|
-
isShowPopup,
|
|
97
|
-
calculatePopupPositionX,
|
|
98
|
-
calculatePopupPositionY
|
|
99
|
-
]);
|
|
100
|
-
return {
|
|
101
|
-
isValidating,
|
|
102
|
-
bodyMaxHeight,
|
|
103
|
-
popupPositionY,
|
|
104
|
-
popupPositionX
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
export { useFlipPopup };
|
|
1
|
+
import{useState as t,useCallback as e,useEffect as n}from"react";let useFlipPopup=(r,o)=>{let{genTool:i,genPopup:u,genPopupHeader:l,genButtonWrapper:c}=o,[g,p]=t("top"),[m,d]=t("left"),[h,f]=t(null),[s,a]=t(!0),B=e(t=>{let e=i.current?.closest("[class~='gp-overflow-hidden']");if(!e||!i.current)return{positionY:t,maxHeight:null};let n=e.getBoundingClientRect(),r=i.current.getBoundingClientRect(),o=l.current?.getBoundingClientRect().height||0,u=c.current?.getBoundingClientRect().height||0,g=Math.max(n.bottom-r.bottom-o-u-8,0),p=Math.max(r.top-n.top-o-u-8,0);return p>g?{positionY:"bottom",maxHeight:p}:{positionY:"top",maxHeight:g}},[i,l,c]),C=e(t=>{let{positionY:e,maxHeight:n}=B(t);p(e),f(n)},[B]),R=e(()=>{if(!i.current||!u.current)return;let t=window.innerHeight,e=document.documentElement.scrollHeight,n=document.documentElement.scrollTop,r=i.current?.getBoundingClientRect(),o=u.current?.getBoundingClientRect().height;if(n+r.top+o>=e-50){C("bottom");return}if(r.bottom+o>t){if(r.top-o<0){C("top");return}C("bottom");return}C("top")},[u,i,C]),b=e(()=>{if(!i.current||!u.current)return;let t=window.innerWidth,e=i.current?.getBoundingClientRect(),n=u.current?.getBoundingClientRect().width;if(e.left+n>t){d("right");return}d("left")},[u,i]);return n(()=>{if(!r){a(!0);return}a(!0),R(),b(),a(!1)},[r,b,R]),{isValidating:s,bodyMaxHeight:h,popupPositionY:g,popupPositionX:m}};export{useFlipPopup};
|
|
@@ -1,35 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const useGettingGenerateRequest = ()=>{
|
|
4
|
-
const [prompt, setPrompt] = useState('');
|
|
5
|
-
const [productName, setProductName] = useState('');
|
|
6
|
-
const [tone, setTone] = useState('');
|
|
7
|
-
const changePrompt = (value)=>{
|
|
8
|
-
const limit = 200;
|
|
9
|
-
setPrompt(value.slice(0, limit));
|
|
10
|
-
};
|
|
11
|
-
const changeProductName = (value)=>{
|
|
12
|
-
setProductName(value);
|
|
13
|
-
};
|
|
14
|
-
const changeTone = (value)=>{
|
|
15
|
-
setTone(value);
|
|
16
|
-
};
|
|
17
|
-
const getRequestBody = ()=>{
|
|
18
|
-
return {
|
|
19
|
-
prompt,
|
|
20
|
-
productName,
|
|
21
|
-
tone
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
return {
|
|
25
|
-
prompt,
|
|
26
|
-
changePrompt,
|
|
27
|
-
productName,
|
|
28
|
-
changeProductName,
|
|
29
|
-
tone,
|
|
30
|
-
changeTone,
|
|
31
|
-
getRequestBody
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export { useGettingGenerateRequest };
|
|
1
|
+
import{useState as e}from"react";let useGettingGenerateRequest=()=>{let[t,r]=e(""),[n,s]=e(""),[u,i]=e(""),G=e=>{r(e.slice(0,200))},a=e=>{s(e)},l=e=>{i(e)},o=()=>({prompt:t,productName:n,tone:u});return{prompt:t,changePrompt:G,productName:n,changeProductName:a,tone:u,changeTone:l,getRequestBody:o}};export{useGettingGenerateRequest};
|
|
@@ -1,68 +1 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
const useListenEventGenerate = (componentInfo)=>{
|
|
4
|
-
const { uid: componentUid, tag: componentTag } = componentInfo;
|
|
5
|
-
const [isGenerating, setIsGenerating] = useState(false);
|
|
6
|
-
const onGenerate = (body)=>{
|
|
7
|
-
const eventCreate = new CustomEvent('editor:toolbar:ai-generate-content', {
|
|
8
|
-
bubbles: true,
|
|
9
|
-
detail: {
|
|
10
|
-
componentUid: componentUid,
|
|
11
|
-
componentTag: componentTag,
|
|
12
|
-
genRequest: body
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
window.dispatchEvent(eventCreate);
|
|
16
|
-
setIsGenerating(true);
|
|
17
|
-
onNotifyStatus('loading');
|
|
18
|
-
};
|
|
19
|
-
const onNotifyStatus = (status)=>{
|
|
20
|
-
const eventNotifyStatus = new CustomEvent('editor:ai-generate-content-status', {
|
|
21
|
-
bubbles: true,
|
|
22
|
-
detail: {
|
|
23
|
-
status: status,
|
|
24
|
-
generatingUid: componentUid
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
window.dispatchEvent(eventNotifyStatus);
|
|
28
|
-
};
|
|
29
|
-
const onGenerateContentStatus = useCallback((e)=>{
|
|
30
|
-
const detail = e.detail;
|
|
31
|
-
if (detail?.generatingUid === componentUid && detail.status === 'success') {
|
|
32
|
-
setIsGenerating(false);
|
|
33
|
-
}
|
|
34
|
-
}, [
|
|
35
|
-
componentUid
|
|
36
|
-
]);
|
|
37
|
-
const onOpenProductElementSettings = (productElementUid)=>{
|
|
38
|
-
const eventCreate = new CustomEvent('editor:toolbar:open-product-element', {
|
|
39
|
-
bubbles: true,
|
|
40
|
-
detail: {
|
|
41
|
-
productElementUid: productElementUid
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
window.dispatchEvent(eventCreate);
|
|
45
|
-
};
|
|
46
|
-
const goToPricing = ()=>{
|
|
47
|
-
const eventCreate = new CustomEvent('editor:toolbar:ai-gen-content-go-to-pricing', {
|
|
48
|
-
bubbles: true
|
|
49
|
-
});
|
|
50
|
-
window.dispatchEvent(eventCreate);
|
|
51
|
-
};
|
|
52
|
-
useEffect(()=>{
|
|
53
|
-
window.addEventListener('editor:ai-generate-content-status', onGenerateContentStatus);
|
|
54
|
-
return ()=>{
|
|
55
|
-
window.removeEventListener('editor:ai-generate-content-status', onGenerateContentStatus);
|
|
56
|
-
};
|
|
57
|
-
}, [
|
|
58
|
-
onGenerateContentStatus
|
|
59
|
-
]);
|
|
60
|
-
return {
|
|
61
|
-
isGenerating,
|
|
62
|
-
onGenerate,
|
|
63
|
-
onOpenProductElementSettings,
|
|
64
|
-
goToPricing
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
export { useListenEventGenerate };
|
|
1
|
+
import{useState as e,useCallback as t,useEffect as n}from"react";let useListenEventGenerate=o=>{let{uid:i,tag:a}=o,[s,d]=e(!1),r=e=>{let t=new CustomEvent("editor:toolbar:ai-generate-content",{bubbles:!0,detail:{componentUid:i,componentTag:a,genRequest:e}});window.dispatchEvent(t),d(!0),l("loading")},l=e=>{let t=new CustomEvent("editor:ai-generate-content-status",{bubbles:!0,detail:{status:e,generatingUid:i}});window.dispatchEvent(t)},u=t(e=>{let t=e.detail;t?.generatingUid===i&&"success"===t.status&&d(!1)},[i]),c=e=>{let t=new CustomEvent("editor:toolbar:open-product-element",{bubbles:!0,detail:{productElementUid:e}});window.dispatchEvent(t)},w=()=>{let e=new CustomEvent("editor:toolbar:ai-gen-content-go-to-pricing",{bubbles:!0});window.dispatchEvent(e)};return n(()=>(window.addEventListener("editor:ai-generate-content-status",u),()=>{window.removeEventListener("editor:ai-generate-content-status",u)}),[u]),{isGenerating:s,onGenerate:r,onOpenProductElementSettings:c,goToPricing:w}};export{useListenEventGenerate};
|
|
@@ -1,65 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const AIIcon = ()=>{
|
|
4
|
-
const getRandomId = ()=>{
|
|
5
|
-
return Math.random().toString(36).substring(7);
|
|
6
|
-
};
|
|
7
|
-
const linearGradientId = getRandomId();
|
|
8
|
-
return /*#__PURE__*/ jsxs("svg", {
|
|
9
|
-
width: "16",
|
|
10
|
-
height: "16",
|
|
11
|
-
viewBox: "0 0 16 16",
|
|
12
|
-
fill: "none",
|
|
13
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
-
children: [
|
|
15
|
-
/*#__PURE__*/ jsx("path", {
|
|
16
|
-
d: "M11.6363 2.67137C11.5886 2.52361 11.3795 2.52361 11.3318 2.67137L11.1133 3.34797C11.0352 3.58971 10.8469 3.78 10.606 3.86067L9.93715 4.08465C9.79156 4.1334 9.79156 4.33933 9.93715 4.38809L10.606 4.61207C10.8469 4.69273 11.0352 4.88302 11.1133 5.12477L11.3318 5.80137C11.3795 5.94913 11.5886 5.94913 11.6363 5.80137L11.8549 5.12477C11.933 4.88302 12.1212 4.69273 12.3621 4.61207L13.031 4.38809C13.1766 4.33933 13.1766 4.1334 13.031 4.08465L12.3621 3.86067C12.1212 3.78 11.933 3.58971 11.8549 3.34797L11.6363 2.67137Z",
|
|
17
|
-
fill: `url(#${linearGradientId}_0)`
|
|
18
|
-
}),
|
|
19
|
-
/*#__PURE__*/ jsx("path", {
|
|
20
|
-
d: "M7.61245 3.30705C7.54086 3.08541 7.22728 3.08541 7.15569 3.30705L6.39541 5.6608C6.16115 6.38604 5.59636 6.9569 4.87367 7.19891L2.56369 7.97242C2.3453 8.04555 2.34531 8.35445 2.5637 8.42758L4.87367 9.2011C5.59636 9.4431 6.16115 10.014 6.39541 10.7392L7.15569 13.093C7.22728 13.3146 7.54086 13.3146 7.61245 13.093L8.37273 10.7392C8.60699 10.014 9.17178 9.4431 9.89447 9.2011L12.2044 8.42758C12.4228 8.35445 12.4228 8.04555 12.2044 7.97242L9.89447 7.1989C9.17178 6.9569 8.60699 6.38604 8.37273 5.6608L7.61245 3.30705Z",
|
|
21
|
-
fill: `url(#${linearGradientId}_1)`
|
|
22
|
-
}),
|
|
23
|
-
/*#__PURE__*/ jsxs("defs", {
|
|
24
|
-
children: [
|
|
25
|
-
/*#__PURE__*/ jsxs("linearGradient", {
|
|
26
|
-
id: `${linearGradientId}_0`,
|
|
27
|
-
x1: "15.3433",
|
|
28
|
-
y1: "2.56054",
|
|
29
|
-
x2: "4.24885",
|
|
30
|
-
y2: "1.00838",
|
|
31
|
-
gradientUnits: "userSpaceOnUse",
|
|
32
|
-
children: [
|
|
33
|
-
/*#__PURE__*/ jsx("stop", {
|
|
34
|
-
stopColor: "#D8E1FF"
|
|
35
|
-
}),
|
|
36
|
-
/*#__PURE__*/ jsx("stop", {
|
|
37
|
-
offset: "1",
|
|
38
|
-
stopColor: "#C8ACFF"
|
|
39
|
-
})
|
|
40
|
-
]
|
|
41
|
-
}),
|
|
42
|
-
/*#__PURE__*/ jsxs("linearGradient", {
|
|
43
|
-
id: `${linearGradientId}_1`,
|
|
44
|
-
x1: "15.3433",
|
|
45
|
-
y1: "2.56054",
|
|
46
|
-
x2: "4.24885",
|
|
47
|
-
y2: "1.00838",
|
|
48
|
-
gradientUnits: "userSpaceOnUse",
|
|
49
|
-
children: [
|
|
50
|
-
/*#__PURE__*/ jsx("stop", {
|
|
51
|
-
stopColor: "#D8E1FF"
|
|
52
|
-
}),
|
|
53
|
-
/*#__PURE__*/ jsx("stop", {
|
|
54
|
-
offset: "1",
|
|
55
|
-
stopColor: "#C8ACFF"
|
|
56
|
-
})
|
|
57
|
-
]
|
|
58
|
-
})
|
|
59
|
-
]
|
|
60
|
-
})
|
|
61
|
-
]
|
|
62
|
-
});
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
export { AIIcon };
|
|
1
|
+
'use client';
|
|
2
|
+
import{jsxs as t,jsx as r}from"react/jsx-runtime";let AIIcon=()=>{let e=()=>Math.random().toString(36).substring(7),o=e();return t("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[r("path",{d:"M11.6363 2.67137C11.5886 2.52361 11.3795 2.52361 11.3318 2.67137L11.1133 3.34797C11.0352 3.58971 10.8469 3.78 10.606 3.86067L9.93715 4.08465C9.79156 4.1334 9.79156 4.33933 9.93715 4.38809L10.606 4.61207C10.8469 4.69273 11.0352 4.88302 11.1133 5.12477L11.3318 5.80137C11.3795 5.94913 11.5886 5.94913 11.6363 5.80137L11.8549 5.12477C11.933 4.88302 12.1212 4.69273 12.3621 4.61207L13.031 4.38809C13.1766 4.33933 13.1766 4.1334 13.031 4.08465L12.3621 3.86067C12.1212 3.78 11.933 3.58971 11.8549 3.34797L11.6363 2.67137Z",fill:`url(#${o}_0)`}),r("path",{d:"M7.61245 3.30705C7.54086 3.08541 7.22728 3.08541 7.15569 3.30705L6.39541 5.6608C6.16115 6.38604 5.59636 6.9569 4.87367 7.19891L2.56369 7.97242C2.3453 8.04555 2.34531 8.35445 2.5637 8.42758L4.87367 9.2011C5.59636 9.4431 6.16115 10.014 6.39541 10.7392L7.15569 13.093C7.22728 13.3146 7.54086 13.3146 7.61245 13.093L8.37273 10.7392C8.60699 10.014 9.17178 9.4431 9.89447 9.2011L12.2044 8.42758C12.4228 8.35445 12.4228 8.04555 12.2044 7.97242L9.89447 7.1989C9.17178 6.9569 8.60699 6.38604 8.37273 5.6608L7.61245 3.30705Z",fill:`url(#${o}_1)`}),t("defs",{children:[t("linearGradient",{id:`${o}_0`,x1:"15.3433",y1:"2.56054",x2:"4.24885",y2:"1.00838",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#D8E1FF"}),r("stop",{offset:"1",stopColor:"#C8ACFF"})]}),t("linearGradient",{id:`${o}_1`,x1:"15.3433",y1:"2.56054",x2:"4.24885",y2:"1.00838",gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#D8E1FF"}),r("stop",{offset:"1",stopColor:"#C8ACFF"})]})]})]})};export{AIIcon};
|
|
@@ -1,17 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const CloseIcon = ()=>{
|
|
4
|
-
return /*#__PURE__*/ jsx("svg", {
|
|
5
|
-
width: "16",
|
|
6
|
-
height: "16",
|
|
7
|
-
viewBox: "0 0 16 16",
|
|
8
|
-
fill: "none",
|
|
9
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
-
children: /*#__PURE__*/ jsx("path", {
|
|
11
|
-
d: "M11.1755 12.0243C11.4099 12.2586 11.7898 12.2586 12.0241 12.0243C12.2584 11.79 12.2584 11.4101 12.0241 11.1757L8.84833 8L12.0241 4.82427C12.2584 4.58995 12.2584 4.21005 12.0241 3.97574C11.7898 3.74142 11.4099 3.74142 11.1755 3.97574L7.9998 7.15148L4.82407 3.97574C4.58975 3.74142 4.20986 3.74142 3.97554 3.97574C3.74123 4.21005 3.74123 4.58995 3.97554 4.82427L7.15128 8L3.97554 11.1757C3.74123 11.4101 3.74123 11.79 3.97554 12.0243C4.20986 12.2586 4.58975 12.2586 4.82407 12.0243L7.9998 8.84853L11.1755 12.0243Z",
|
|
12
|
-
fill: "#F9F9F9"
|
|
13
|
-
})
|
|
14
|
-
});
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export { CloseIcon };
|
|
1
|
+
'use client';
|
|
2
|
+
import{jsx as e}from"react/jsx-runtime";let CloseIcon=()=>e("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M11.1755 12.0243C11.4099 12.2586 11.7898 12.2586 12.0241 12.0243C12.2584 11.79 12.2584 11.4101 12.0241 11.1757L8.84833 8L12.0241 4.82427C12.2584 4.58995 12.2584 4.21005 12.0241 3.97574C11.7898 3.74142 11.4099 3.74142 11.1755 3.97574L7.9998 7.15148L4.82407 3.97574C4.58975 3.74142 4.20986 3.74142 3.97554 3.97574C3.74123 4.21005 3.74123 4.58995 3.97554 4.82427L7.15128 8L3.97554 11.1757C3.74123 11.4101 3.74123 11.79 3.97554 12.0243C4.20986 12.2586 4.58975 12.2586 4.82407 12.0243L7.9998 8.84853L11.1755 12.0243Z",fill:"#F9F9F9"})});export{CloseIcon};
|
|
@@ -1,34 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const DropdownIcon = ()=>{
|
|
4
|
-
return /*#__PURE__*/ jsx("svg", {
|
|
5
|
-
width: "20",
|
|
6
|
-
height: "20",
|
|
7
|
-
viewBox: "0 0 20 20",
|
|
8
|
-
fill: "none",
|
|
9
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
-
children: /*#__PURE__*/ jsx("path", {
|
|
11
|
-
fillRule: "evenodd",
|
|
12
|
-
clipRule: "evenodd",
|
|
13
|
-
d: "M5.13313 7.62204C5.31064 7.45932 5.59845 7.45932 5.77596 7.62204L10 11.4941L14.224 7.62204C14.4016 7.45932 14.6894 7.45932 14.8669 7.62204C15.0444 7.78476 15.0444 8.04858 14.8669 8.21129L10.3214 12.378C10.1439 12.5407 9.8561 12.5407 9.67859 12.378L5.13313 8.21129C4.95562 8.04858 4.95562 7.78476 5.13313 7.62204Z",
|
|
14
|
-
fill: "#F9F9F9"
|
|
15
|
-
})
|
|
16
|
-
});
|
|
17
|
-
};
|
|
18
|
-
const TickIcon = ()=>{
|
|
19
|
-
return /*#__PURE__*/ jsx("svg", {
|
|
20
|
-
width: "20",
|
|
21
|
-
height: "20",
|
|
22
|
-
viewBox: "0 0 20 20",
|
|
23
|
-
fill: "none",
|
|
24
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
25
|
-
children: /*#__PURE__*/ jsx("path", {
|
|
26
|
-
fillRule: "evenodd",
|
|
27
|
-
clipRule: "evenodd",
|
|
28
|
-
d: "M15.8415 5.1766C16.0528 5.41207 16.0528 5.79383 15.8415 6.0293L7.95016 14.8234C7.84869 14.9365 7.71107 15 7.56757 15C7.42408 15 7.28645 14.9365 7.18499 14.8234L4.15846 11.4505C3.94717 11.215 3.94718 10.8333 4.15848 10.5978C4.36978 10.3623 4.71236 10.3623 4.92365 10.5978L7.56759 13.5443L15.0764 5.1766C15.2877 4.94113 15.6302 4.94113 15.8415 5.1766Z",
|
|
29
|
-
fill: "#00C853"
|
|
30
|
-
})
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export { DropdownIcon, TickIcon };
|
|
1
|
+
'use client';
|
|
2
|
+
import{jsx as e}from"react/jsx-runtime";let DropdownIcon=()=>e("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.13313 7.62204C5.31064 7.45932 5.59845 7.45932 5.77596 7.62204L10 11.4941L14.224 7.62204C14.4016 7.45932 14.6894 7.45932 14.8669 7.62204C15.0444 7.78476 15.0444 8.04858 14.8669 8.21129L10.3214 12.378C10.1439 12.5407 9.8561 12.5407 9.67859 12.378L5.13313 8.21129C4.95562 8.04858 4.95562 7.78476 5.13313 7.62204Z",fill:"#F9F9F9"})}),TickIcon=()=>e("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.8415 5.1766C16.0528 5.41207 16.0528 5.79383 15.8415 6.0293L7.95016 14.8234C7.84869 14.9365 7.71107 15 7.56757 15C7.42408 15 7.28645 14.9365 7.18499 14.8234L4.15846 11.4505C3.94717 11.215 3.94718 10.8333 4.15848 10.5978C4.36978 10.3623 4.71236 10.3623 4.92365 10.5978L7.56759 13.5443L15.0764 5.1766C15.2877 4.94113 15.6302 4.94113 15.8415 5.1766Z",fill:"#00C853"})});export{DropdownIcon,TickIcon};
|
|
@@ -1,19 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const SearchIcon = ()=>{
|
|
4
|
-
return /*#__PURE__*/ jsx("svg", {
|
|
5
|
-
width: "20",
|
|
6
|
-
height: "20",
|
|
7
|
-
viewBox: "0 0 20 20",
|
|
8
|
-
fill: "none",
|
|
9
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
-
children: /*#__PURE__*/ jsx("path", {
|
|
11
|
-
fillRule: "evenodd",
|
|
12
|
-
clipRule: "evenodd",
|
|
13
|
-
d: "M8.75 2.5C5.29822 2.5 2.5 5.29822 2.5 8.75C2.5 12.2018 5.29822 15 8.75 15C10.2508 15 11.628 14.471 12.7055 13.5893L16.4775 17.3614C16.7216 17.6054 17.1173 17.6054 17.3614 17.3614C17.6054 17.1173 17.6054 16.7216 17.3614 16.4775L13.5893 12.7055C14.471 11.628 15 10.2508 15 8.75C15 5.29822 12.2018 2.5 8.75 2.5ZM3.75 8.75C3.75 5.98858 5.98858 3.75 8.75 3.75C11.5114 3.75 13.75 5.98858 13.75 8.75C13.75 11.5114 11.5114 13.75 8.75 13.75C5.98858 13.75 3.75 11.5114 3.75 8.75Z",
|
|
14
|
-
fill: "#AAAAAA"
|
|
15
|
-
})
|
|
16
|
-
});
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export { SearchIcon };
|
|
1
|
+
'use client';
|
|
2
|
+
import{jsx as e}from"react/jsx-runtime";let SearchIcon=()=>e("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.75 2.5C5.29822 2.5 2.5 5.29822 2.5 8.75C2.5 12.2018 5.29822 15 8.75 15C10.2508 15 11.628 14.471 12.7055 13.5893L16.4775 17.3614C16.7216 17.6054 17.1173 17.6054 17.3614 17.3614C17.6054 17.1173 17.6054 16.7216 17.3614 16.4775L13.5893 12.7055C14.471 11.628 15 10.2508 15 8.75C15 5.29822 12.2018 2.5 8.75 2.5ZM3.75 8.75C3.75 5.98858 5.98858 3.75 8.75 3.75C11.5114 3.75 13.75 5.98858 13.75 8.75C13.75 11.5114 11.5114 13.75 8.75 13.75C5.98858 13.75 3.75 11.5114 3.75 8.75Z",fill:"#AAAAAA"})});export{SearchIcon};
|
|
@@ -1,19 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const ShowMoreIcon = ()=>{
|
|
4
|
-
return /*#__PURE__*/ jsx("svg", {
|
|
5
|
-
width: "17",
|
|
6
|
-
height: "16",
|
|
7
|
-
viewBox: "0 0 17 16",
|
|
8
|
-
fill: "none",
|
|
9
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
-
children: /*#__PURE__*/ jsx("path", {
|
|
11
|
-
fillRule: "evenodd",
|
|
12
|
-
clipRule: "evenodd",
|
|
13
|
-
d: "M4.60651 6.09763C4.74852 5.96746 4.97876 5.96746 5.12077 6.09763L8.5 9.19526L11.8792 6.09763C12.0212 5.96746 12.2515 5.96746 12.3935 6.09763C12.5355 6.22781 12.5355 6.43886 12.3935 6.56904L8.75713 9.90237C8.61512 10.0325 8.38488 10.0325 8.24287 9.90237L4.60651 6.56904C4.4645 6.43886 4.4645 6.22781 4.60651 6.09763Z",
|
|
14
|
-
fill: "#F9F9F9"
|
|
15
|
-
})
|
|
16
|
-
});
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export { ShowMoreIcon };
|
|
1
|
+
'use client';
|
|
2
|
+
import{jsx as e}from"react/jsx-runtime";let ShowMoreIcon=()=>e("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.60651 6.09763C4.74852 5.96746 4.97876 5.96746 5.12077 6.09763L8.5 9.19526L11.8792 6.09763C12.0212 5.96746 12.2515 5.96746 12.3935 6.09763C12.5355 6.22781 12.5355 6.43886 12.3935 6.56904L8.75713 9.90237C8.61512 10.0325 8.38488 10.0325 8.24287 9.90237L4.60651 6.56904C4.4645 6.43886 4.4645 6.22781 4.60651 6.09763Z",fill:"#F9F9F9"})});export{ShowMoreIcon};
|
|
@@ -1,25 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const UpgradeIcon = ()=>{
|
|
4
|
-
return /*#__PURE__*/ jsxs("svg", {
|
|
5
|
-
width: "16",
|
|
6
|
-
height: "16",
|
|
7
|
-
viewBox: "0 0 16 16",
|
|
8
|
-
fill: "none",
|
|
9
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
-
children: [
|
|
11
|
-
/*#__PURE__*/ jsx("path", {
|
|
12
|
-
d: "M4.5614 3.40226C4.75106 3.05549 5.2491 3.05549 5.43876 3.40226L5.59563 3.68909C5.76081 3.99112 6.00913 4.23944 6.31116 4.40462L6.59799 4.56149C6.94476 4.75115 6.94476 5.24919 6.59799 5.43885L6.31116 5.59572C6.00913 5.7609 5.76081 6.00923 5.59563 6.31125L5.43876 6.59808C5.2491 6.94485 4.75106 6.94485 4.5614 6.59808L4.40453 6.31125C4.23935 6.00923 3.99102 5.7609 3.689 5.59572L3.40217 5.43885C3.0554 5.24919 3.0554 4.75115 3.40217 4.56149L3.689 4.40462C3.99102 4.23944 4.23935 3.99112 4.40453 3.68909L4.5614 3.40226Z",
|
|
13
|
-
fill: "white"
|
|
14
|
-
}),
|
|
15
|
-
/*#__PURE__*/ jsx("path", {
|
|
16
|
-
fillRule: "evenodd",
|
|
17
|
-
clipRule: "evenodd",
|
|
18
|
-
d: "M10.3586 6.31151C10.2145 5.37846 8.87693 5.36015 8.70733 6.2889L8.68345 6.41972C8.45531 7.66902 7.46634 8.63997 6.21306 8.84509C5.29358 8.99558 5.27456 10.3111 6.1893 10.4881L6.27325 10.5044C7.49956 10.7417 8.45849 11.7006 8.69579 12.9269L8.72136 13.0591C8.90841 14.0257 10.2917 14.0257 10.4788 13.0591L10.4987 12.9561C10.739 11.7146 11.7162 10.7476 12.9601 10.5204C13.9075 10.3474 13.8556 8.9775 12.9032 8.83444C11.5987 8.63847 10.56 7.61516 10.3586 6.31151ZM9.60348 11.8213C10.01 10.8962 10.7327 10.146 11.6365 9.70404C10.718 9.2961 9.96932 8.57183 9.53477 7.66527C9.12271 8.54399 8.41761 9.2538 7.54422 9.67221C8.46419 10.1164 9.19752 10.8797 9.60348 11.8213Z",
|
|
19
|
-
fill: "white"
|
|
20
|
-
})
|
|
21
|
-
]
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export { UpgradeIcon };
|
|
1
|
+
'use client';
|
|
2
|
+
import{jsxs as C,jsx as e}from"react/jsx-runtime";let UpgradeIcon=()=>C("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M4.5614 3.40226C4.75106 3.05549 5.2491 3.05549 5.43876 3.40226L5.59563 3.68909C5.76081 3.99112 6.00913 4.23944 6.31116 4.40462L6.59799 4.56149C6.94476 4.75115 6.94476 5.24919 6.59799 5.43885L6.31116 5.59572C6.00913 5.7609 5.76081 6.00923 5.59563 6.31125L5.43876 6.59808C5.2491 6.94485 4.75106 6.94485 4.5614 6.59808L4.40453 6.31125C4.23935 6.00923 3.99102 5.7609 3.689 5.59572L3.40217 5.43885C3.0554 5.24919 3.0554 4.75115 3.40217 4.56149L3.689 4.40462C3.99102 4.23944 4.23935 3.99112 4.40453 3.68909L4.5614 3.40226Z",fill:"white"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.3586 6.31151C10.2145 5.37846 8.87693 5.36015 8.70733 6.2889L8.68345 6.41972C8.45531 7.66902 7.46634 8.63997 6.21306 8.84509C5.29358 8.99558 5.27456 10.3111 6.1893 10.4881L6.27325 10.5044C7.49956 10.7417 8.45849 11.7006 8.69579 12.9269L8.72136 13.0591C8.90841 14.0257 10.2917 14.0257 10.4788 13.0591L10.4987 12.9561C10.739 11.7146 11.7162 10.7476 12.9601 10.5204C13.9075 10.3474 13.8556 8.9775 12.9032 8.83444C11.5987 8.63847 10.56 7.61516 10.3586 6.31151ZM9.60348 11.8213C10.01 10.8962 10.7327 10.146 11.6365 9.70404C10.718 9.2961 9.96932 8.57183 9.53477 7.66527C9.12271 8.54399 8.41761 9.2538 7.54422 9.67221C8.46419 10.1164 9.19752 10.8797 9.60348 11.8213Z",fill:"white"})]});export{UpgradeIcon};
|
|
@@ -1,29 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const WarningIcon = ()=>{
|
|
4
|
-
return /*#__PURE__*/ jsxs("svg", {
|
|
5
|
-
width: "20",
|
|
6
|
-
height: "20",
|
|
7
|
-
viewBox: "0 0 20 20",
|
|
8
|
-
fill: "none",
|
|
9
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
-
children: [
|
|
11
|
-
/*#__PURE__*/ jsx("path", {
|
|
12
|
-
d: "M9.99997 6.75C10.4142 6.75 10.75 7.08579 10.75 7.5V11C10.75 11.4142 10.4142 11.75 9.99997 11.75C9.58576 11.75 9.24997 11.4142 9.24997 11V7.5C9.24997 7.08579 9.58576 6.75 9.99997 6.75Z",
|
|
13
|
-
fill: "#251A00"
|
|
14
|
-
}),
|
|
15
|
-
/*#__PURE__*/ jsx("path", {
|
|
16
|
-
d: "M11 13.5C11 14.0523 10.5523 14.5 10 14.5C9.44775 14.5 9.00003 14.0523 9.00003 13.5C9.00003 12.9477 9.44775 12.5 10 12.5C10.5523 12.5 11 12.9477 11 13.5Z",
|
|
17
|
-
fill: "#251A00"
|
|
18
|
-
}),
|
|
19
|
-
/*#__PURE__*/ jsx("path", {
|
|
20
|
-
fillRule: "evenodd",
|
|
21
|
-
clipRule: "evenodd",
|
|
22
|
-
d: "M10.0001 3.5C8.95474 3.5 8.21619 4.20232 7.84765 4.94672C7.65568 5.33448 6.75987 7.0441 5.84308 8.79353L5.81534 8.84646C4.92293 10.5493 4.01717 12.2777 3.80719 12.702C3.43513 13.4537 3.32934 14.4519 3.89956 15.316C4.46914 16.1791 5.44225 16.5 6.3636 16.5L13.6364 16.5C14.5577 16.5 15.5309 16.1791 16.1005 15.316C16.6707 14.4519 16.5649 13.4537 16.1928 12.702C15.9832 12.2784 15.08 10.555 14.189 8.85476L14.1569 8.79352C13.24 7.044 12.3443 5.33454 12.1525 4.94693C11.784 4.20242 11.0455 3.5 10.0001 3.5ZM9.19193 5.61225C9.59608 4.79592 10.4041 4.79592 10.8081 5.61225C11.0102 6.02061 11.9201 7.75686 12.8297 9.49243C13.7383 11.2262 14.6466 12.9594 14.8485 13.3673C15.2525 14.1837 14.8485 15 13.6364 15L6.3636 15C5.15153 15 4.74749 14.1837 5.15153 13.3673C5.35379 12.9587 6.26471 11.2205 7.17483 9.4838C8.08286 7.75111 8.99008 6.01994 9.19193 5.61225Z",
|
|
23
|
-
fill: "#251A00"
|
|
24
|
-
})
|
|
25
|
-
]
|
|
26
|
-
});
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
export { WarningIcon };
|
|
1
|
+
'use client';
|
|
2
|
+
import{jsxs as C,jsx as l}from"react/jsx-runtime";let WarningIcon=()=>C("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M9.99997 6.75C10.4142 6.75 10.75 7.08579 10.75 7.5V11C10.75 11.4142 10.4142 11.75 9.99997 11.75C9.58576 11.75 9.24997 11.4142 9.24997 11V7.5C9.24997 7.08579 9.58576 6.75 9.99997 6.75Z",fill:"#251A00"}),l("path",{d:"M11 13.5C11 14.0523 10.5523 14.5 10 14.5C9.44775 14.5 9.00003 14.0523 9.00003 13.5C9.00003 12.9477 9.44775 12.5 10 12.5C10.5523 12.5 11 12.9477 11 13.5Z",fill:"#251A00"}),l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.0001 3.5C8.95474 3.5 8.21619 4.20232 7.84765 4.94672C7.65568 5.33448 6.75987 7.0441 5.84308 8.79353L5.81534 8.84646C4.92293 10.5493 4.01717 12.2777 3.80719 12.702C3.43513 13.4537 3.32934 14.4519 3.89956 15.316C4.46914 16.1791 5.44225 16.5 6.3636 16.5L13.6364 16.5C14.5577 16.5 15.5309 16.1791 16.1005 15.316C16.6707 14.4519 16.5649 13.4537 16.1928 12.702C15.9832 12.2784 15.08 10.555 14.189 8.85476L14.1569 8.79352C13.24 7.044 12.3443 5.33454 12.1525 4.94693C11.784 4.20242 11.0455 3.5 10.0001 3.5ZM9.19193 5.61225C9.59608 4.79592 10.4041 4.79592 10.8081 5.61225C11.0102 6.02061 11.9201 7.75686 12.8297 9.49243C13.7383 11.2262 14.6466 12.9594 14.8485 13.3673C15.2525 14.1837 14.8485 15 13.6364 15L6.3636 15C5.15153 15 4.74749 14.1837 5.15153 13.3673C5.35379 12.9587 6.26471 11.2205 7.17483 9.4838C8.08286 7.75111 8.99008 6.01994 9.19193 5.61225Z",fill:"#251A00"})]});export{WarningIcon};
|
|
@@ -1,75 +1 @@
|
|
|
1
|
-
|
|
2
|
-
'Col',
|
|
3
|
-
'CollectionBanner',
|
|
4
|
-
'Row',
|
|
5
|
-
'Section',
|
|
6
|
-
'Image',
|
|
7
|
-
'Text',
|
|
8
|
-
'Button',
|
|
9
|
-
'ProductButton',
|
|
10
|
-
'Cart',
|
|
11
|
-
'Tabs',
|
|
12
|
-
'TabItem',
|
|
13
|
-
'Carousel',
|
|
14
|
-
'CarouselItem',
|
|
15
|
-
'ShopPayButton',
|
|
16
|
-
'AccordionItem',
|
|
17
|
-
'Video',
|
|
18
|
-
'Header',
|
|
19
|
-
'HeroBanner',
|
|
20
|
-
'Icon',
|
|
21
|
-
'HTMLCode',
|
|
22
|
-
'IconListHoz',
|
|
23
|
-
'IconListItem',
|
|
24
|
-
'CSSCode',
|
|
25
|
-
'FormEmail',
|
|
26
|
-
'FormDropdown',
|
|
27
|
-
'SubmitButton',
|
|
28
|
-
'Dialog',
|
|
29
|
-
'TextField',
|
|
30
|
-
'FormTextarea',
|
|
31
|
-
'ProductPrice',
|
|
32
|
-
'Product',
|
|
33
|
-
'ProductImages',
|
|
34
|
-
'ProductImagesV2',
|
|
35
|
-
'PostPurchaseProductImages',
|
|
36
|
-
'Sticky',
|
|
37
|
-
'Heading',
|
|
38
|
-
'EstimateDate',
|
|
39
|
-
'ProductBadge',
|
|
40
|
-
'Marquee',
|
|
41
|
-
'MarqueeItem'
|
|
42
|
-
];
|
|
43
|
-
const customRenderChildren = [
|
|
44
|
-
'Accordion',
|
|
45
|
-
'AccordionItem',
|
|
46
|
-
'Row',
|
|
47
|
-
'IconList',
|
|
48
|
-
'Tabs'
|
|
49
|
-
];
|
|
50
|
-
const excludeApplyStyle = [
|
|
51
|
-
'IconListV2',
|
|
52
|
-
'IconList',
|
|
53
|
-
'ProductBadge'
|
|
54
|
-
];
|
|
55
|
-
const postPurchaseRequiredElements = [
|
|
56
|
-
'PostPurchaseProductOffer',
|
|
57
|
-
'PostPurchaseProductTitle',
|
|
58
|
-
'PostPurchaseProductPrice',
|
|
59
|
-
'PostPurchaseAcceptButton',
|
|
60
|
-
'PostPurchaseButton',
|
|
61
|
-
'PostPurchaseCalloutBox',
|
|
62
|
-
'PostPurchaseProductImages',
|
|
63
|
-
'PostPurchaseCalloutText'
|
|
64
|
-
];
|
|
65
|
-
const postPurchaseWrapElements = [
|
|
66
|
-
'Row',
|
|
67
|
-
'Section',
|
|
68
|
-
'PostPurchaseCalloutBox',
|
|
69
|
-
'PostPurchaseProductOffer'
|
|
70
|
-
];
|
|
71
|
-
const ableGenerateContentElements = [
|
|
72
|
-
'Section'
|
|
73
|
-
];
|
|
74
|
-
|
|
75
|
-
export { ableGenerateContentElements, customRenderChildren, disableWrap, excludeApplyStyle, postPurchaseRequiredElements, postPurchaseWrapElements };
|
|
1
|
+
let disableWrap=["Col","CollectionBanner","Row","Section","Image","Text","Button","ProductButton","Cart","Tabs","TabItem","Carousel","CarouselItem","ShopPayButton","AccordionItem","Video","Header","HeroBanner","Icon","HTMLCode","IconListHoz","IconListItem","CSSCode","FormEmail","FormDropdown","SubmitButton","Dialog","TextField","FormTextarea","ProductPrice","Product","ProductList","ProductImages","ProductImagesV2","PostPurchaseProductImages","Sticky","Heading","EstimateDate","ProductBadge","Marquee","MarqueeItem","Newsletter","ContactForm","ArticleList"],customRenderChildren=["Accordion","AccordionItem","Row","IconList","Tabs","Marquee","MarqueeItem"],excludeApplyStyle=["IconListV2","IconList","ProductBadge"],postPurchaseRequiredElements=["PostPurchaseProductOffer","PostPurchaseProductTitle","PostPurchaseProductPrice","PostPurchaseAcceptButton","PostPurchaseButton","PostPurchaseCalloutBox","PostPurchaseProductImages","PostPurchaseCalloutText"],postPurchaseWrapElements=["Row","Section","PostPurchaseCalloutBox","PostPurchaseProductOffer"],ableGenerateContentElements=["Section"];export{ableGenerateContentElements,customRenderChildren,disableWrap,excludeApplyStyle,postPurchaseRequiredElements,postPurchaseWrapElements};
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
function Resize(props) {
|
|
5
|
-
return /*#__PURE__*/ jsx(Fragment, {
|
|
6
|
-
children: /*#__PURE__*/ jsx(Spacing, {
|
|
7
|
-
...props
|
|
8
|
-
})
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export { Resize as default };
|
|
1
|
+
'use client';
|
|
2
|
+
import{jsx as e,Fragment as r}from"react/jsx-runtime";import i from"./Spacing.js";function Resize(t){return e(r,{children:e(i,{...t})})}export{Resize as default};
|