@gem-sdk/core 1.14.0-next.62 → 1.14.0-next.72
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/helpers/product.js +14 -0
- package/dist/cjs/helpers/typography.js +17 -0
- package/dist/cjs/hooks/useProduct.js +5 -8
- package/dist/cjs/index.js +2 -0
- package/dist/esm/helpers/product.js +14 -1
- package/dist/esm/helpers/typography.js +17 -1
- package/dist/esm/hooks/useProduct.js +5 -8
- package/dist/esm/index.js +2 -2
- package/dist/types/index.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var variant = require('./variant.js');
|
|
4
|
+
|
|
3
5
|
function getSelectedVariant(variants, choices) {
|
|
4
6
|
/**
|
|
5
7
|
* Ensure the user has selected all the required options, not just some.
|
|
@@ -26,6 +28,18 @@ function parseSelectedOption(options) {
|
|
|
26
28
|
return acc;
|
|
27
29
|
}, {});
|
|
28
30
|
}
|
|
31
|
+
function checkAvailableVariantInStock(variants, optionId, optionValue) {
|
|
32
|
+
return variants ? variants.some((item)=>{
|
|
33
|
+
if (item) {
|
|
34
|
+
const { selectedOptions } = item;
|
|
35
|
+
const opt = selectedOptions?.some((option)=>option?.name === optionId && option.value === optionValue);
|
|
36
|
+
const isInStock = variant.checkInStock(item);
|
|
37
|
+
return opt && isInStock;
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}) : false;
|
|
41
|
+
}
|
|
29
42
|
|
|
43
|
+
exports.checkAvailableVariantInStock = checkAvailableVariantInStock;
|
|
30
44
|
exports.getSelectedVariant = getSelectedVariant;
|
|
31
45
|
exports.parseSelectedOption = parseSelectedOption;
|
|
@@ -18,6 +18,22 @@ const composeTypographyCss = (typography)=>{
|
|
|
18
18
|
${lineHeight ? `line-height: ${lineHeight};` : ''}
|
|
19
19
|
`;
|
|
20
20
|
};
|
|
21
|
+
const composeTypographyV2Css = (typography)=>{
|
|
22
|
+
const typographyCustom = typography?.custom;
|
|
23
|
+
const { fontFamily , fontSize , fontWeight , lineHeight , letterSpacing } = typographyCustom ?? {};
|
|
24
|
+
const typographyAttrs = typography?.attrs;
|
|
25
|
+
const { bold , italic , underline , transform } = typographyAttrs ?? {};
|
|
26
|
+
return `
|
|
27
|
+
${fontFamily ? `font-family: var(--g-font-${fontFamily}, ${fontFamily});` : ''}
|
|
28
|
+
${fontSize?.desktop ? `font-size: ${fontSize?.desktop};` : ''}
|
|
29
|
+
${bold ? `font-weight: bold;` : fontWeight ? `font-weight: ${fontWeight};` : ''}
|
|
30
|
+
${letterSpacing ? `letter-spacing: ${letterSpacing};` : ''}
|
|
31
|
+
${lineHeight ? `line-height: ${lineHeight};` : ''}
|
|
32
|
+
${italic ? `font-style: italic;` : ''}
|
|
33
|
+
${underline ? `text-decoration-line: underline;` : ''}
|
|
34
|
+
${transform ? `text-transform: ${transform};` : ''}
|
|
35
|
+
`;
|
|
36
|
+
};
|
|
21
37
|
function getCustomCSSByDevice(typography, device) {
|
|
22
38
|
if (!typography || !device) return {};
|
|
23
39
|
const suffix = device === 'desktop' || !device ? '' : `-${device}`;
|
|
@@ -85,4 +101,5 @@ exports.composeTypographyClassName = composeTypographyClassName;
|
|
|
85
101
|
exports.composeTypographyCss = composeTypographyCss;
|
|
86
102
|
exports.composeTypographyStyle = composeTypographyStyle;
|
|
87
103
|
exports.composeTypographyV2 = composeTypographyV2;
|
|
104
|
+
exports.composeTypographyV2Css = composeTypographyV2Css;
|
|
88
105
|
exports.genTypoClass = genTypoClass;
|
|
@@ -99,18 +99,15 @@ const useVariantOutStock = (optionId, optionValue)=>{
|
|
|
99
99
|
};
|
|
100
100
|
const useCheckAvailableVariantInStock = (optionId, optionValue)=>{
|
|
101
101
|
const variants = useVariants();
|
|
102
|
-
|
|
103
|
-
variants.forEach((item)=>{
|
|
102
|
+
return variants ? variants.some((item)=>{
|
|
104
103
|
if (item) {
|
|
105
104
|
const { selectedOptions } = item;
|
|
106
|
-
const opt = selectedOptions?.
|
|
105
|
+
const opt = selectedOptions?.some((option)=>option?.name === optionId && option.value === optionValue);
|
|
107
106
|
const isInStock = variant.checkInStock(item);
|
|
108
|
-
|
|
109
|
-
available = true;
|
|
110
|
-
}
|
|
107
|
+
return opt && isInStock;
|
|
111
108
|
}
|
|
112
|
-
|
|
113
|
-
|
|
109
|
+
return false;
|
|
110
|
+
}) : false;
|
|
114
111
|
};
|
|
115
112
|
|
|
116
113
|
exports.useCheckAvailableVariantInStock = useCheckAvailableVariantInStock;
|
package/dist/cjs/index.js
CHANGED
|
@@ -186,6 +186,7 @@ exports.composeTypographyClassName = typography.composeTypographyClassName;
|
|
|
186
186
|
exports.composeTypographyCss = typography.composeTypographyCss;
|
|
187
187
|
exports.composeTypographyStyle = typography.composeTypographyStyle;
|
|
188
188
|
exports.composeTypographyV2 = typography.composeTypographyV2;
|
|
189
|
+
exports.composeTypographyV2Css = typography.composeTypographyV2Css;
|
|
189
190
|
exports.genTypoClass = typography.genTypoClass;
|
|
190
191
|
exports.composeCornerCss = radius.composeCornerCss;
|
|
191
192
|
exports.composeRadius = radius.composeRadius;
|
|
@@ -193,6 +194,7 @@ exports.getCornerCSSFromGlobal = radius.getCornerCSSFromGlobal;
|
|
|
193
194
|
exports.getCustomRadius = radius.getCustomRadius;
|
|
194
195
|
exports.getRadiusCSSFromGlobal = radius.getRadiusCSSFromGlobal;
|
|
195
196
|
exports.getRadiusStyleActiveState = radius.getRadiusStyleActiveState;
|
|
197
|
+
exports.checkAvailableVariantInStock = product.checkAvailableVariantInStock;
|
|
196
198
|
exports.getSelectedVariant = product.getSelectedVariant;
|
|
197
199
|
exports.parseSelectedOption = product.parseSelectedOption;
|
|
198
200
|
exports.fpixel = fpixel;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { checkInStock } from './variant.js';
|
|
2
|
+
|
|
1
3
|
function getSelectedVariant(variants, choices) {
|
|
2
4
|
/**
|
|
3
5
|
* Ensure the user has selected all the required options, not just some.
|
|
@@ -24,5 +26,16 @@ function parseSelectedOption(options) {
|
|
|
24
26
|
return acc;
|
|
25
27
|
}, {});
|
|
26
28
|
}
|
|
29
|
+
function checkAvailableVariantInStock(variants, optionId, optionValue) {
|
|
30
|
+
return variants ? variants.some((item)=>{
|
|
31
|
+
if (item) {
|
|
32
|
+
const { selectedOptions } = item;
|
|
33
|
+
const opt = selectedOptions?.some((option)=>option?.name === optionId && option.value === optionValue);
|
|
34
|
+
const isInStock = checkInStock(item);
|
|
35
|
+
return opt && isInStock;
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}) : false;
|
|
39
|
+
}
|
|
27
40
|
|
|
28
|
-
export { getSelectedVariant, parseSelectedOption };
|
|
41
|
+
export { checkAvailableVariantInStock, getSelectedVariant, parseSelectedOption };
|
|
@@ -16,6 +16,22 @@ const composeTypographyCss = (typography)=>{
|
|
|
16
16
|
${lineHeight ? `line-height: ${lineHeight};` : ''}
|
|
17
17
|
`;
|
|
18
18
|
};
|
|
19
|
+
const composeTypographyV2Css = (typography)=>{
|
|
20
|
+
const typographyCustom = typography?.custom;
|
|
21
|
+
const { fontFamily , fontSize , fontWeight , lineHeight , letterSpacing } = typographyCustom ?? {};
|
|
22
|
+
const typographyAttrs = typography?.attrs;
|
|
23
|
+
const { bold , italic , underline , transform } = typographyAttrs ?? {};
|
|
24
|
+
return `
|
|
25
|
+
${fontFamily ? `font-family: var(--g-font-${fontFamily}, ${fontFamily});` : ''}
|
|
26
|
+
${fontSize?.desktop ? `font-size: ${fontSize?.desktop};` : ''}
|
|
27
|
+
${bold ? `font-weight: bold;` : fontWeight ? `font-weight: ${fontWeight};` : ''}
|
|
28
|
+
${letterSpacing ? `letter-spacing: ${letterSpacing};` : ''}
|
|
29
|
+
${lineHeight ? `line-height: ${lineHeight};` : ''}
|
|
30
|
+
${italic ? `font-style: italic;` : ''}
|
|
31
|
+
${underline ? `text-decoration-line: underline;` : ''}
|
|
32
|
+
${transform ? `text-transform: ${transform};` : ''}
|
|
33
|
+
`;
|
|
34
|
+
};
|
|
19
35
|
function getCustomCSSByDevice(typography, device) {
|
|
20
36
|
if (!typography || !device) return {};
|
|
21
37
|
const suffix = device === 'desktop' || !device ? '' : `-${device}`;
|
|
@@ -77,4 +93,4 @@ const composeTypographyStyle = (typo, typography, disableAttr)=>{
|
|
|
77
93
|
};
|
|
78
94
|
};
|
|
79
95
|
|
|
80
|
-
export { composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, genTypoClass };
|
|
96
|
+
export { composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, genTypoClass };
|
|
@@ -97,18 +97,15 @@ const useVariantOutStock = (optionId, optionValue)=>{
|
|
|
97
97
|
};
|
|
98
98
|
const useCheckAvailableVariantInStock = (optionId, optionValue)=>{
|
|
99
99
|
const variants = useVariants();
|
|
100
|
-
|
|
101
|
-
variants.forEach((item)=>{
|
|
100
|
+
return variants ? variants.some((item)=>{
|
|
102
101
|
if (item) {
|
|
103
102
|
const { selectedOptions } = item;
|
|
104
|
-
const opt = selectedOptions?.
|
|
103
|
+
const opt = selectedOptions?.some((option)=>option?.name === optionId && option.value === optionValue);
|
|
105
104
|
const isInStock = checkInStock(item);
|
|
106
|
-
|
|
107
|
-
available = true;
|
|
108
|
-
}
|
|
105
|
+
return opt && isInStock;
|
|
109
106
|
}
|
|
110
|
-
|
|
111
|
-
|
|
107
|
+
return false;
|
|
108
|
+
}) : false;
|
|
112
109
|
};
|
|
113
110
|
|
|
114
111
|
export { useCheckAvailableVariantInStock, useCurrentVariant, useCurrentVariantInStock, useFeaturedImageGlobal, useProduct, useProductProperties, useQuantity, useSelectedOption, useUniqProductID, useVariant, useVariantOutStock, useVariants };
|
package/dist/esm/index.js
CHANGED
|
@@ -40,9 +40,9 @@ export { genVariable } from './helpers/css-variable.js';
|
|
|
40
40
|
export { composeGridLayout, convertOldLayout, gridToArrayRegex, optionLayoutStyle } from './helpers/layout.js';
|
|
41
41
|
export { isDefined } from './helpers/is-defined.js';
|
|
42
42
|
export { composeTextColorCss, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getSingleColorVariable, isColor } from './helpers/colors.js';
|
|
43
|
-
export { composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, genTypoClass } from './helpers/typography.js';
|
|
43
|
+
export { composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, genTypoClass } from './helpers/typography.js';
|
|
44
44
|
export { composeCornerCss, composeRadius, getCornerCSSFromGlobal, getCustomRadius, getRadiusCSSFromGlobal, getRadiusStyleActiveState } from './helpers/radius.js';
|
|
45
|
-
export { getSelectedVariant, parseSelectedOption } from './helpers/product.js';
|
|
45
|
+
export { checkAvailableVariantInStock, getSelectedVariant, parseSelectedOption } from './helpers/product.js';
|
|
46
46
|
import * as fpixel from './helpers/tracking/fpixel.js';
|
|
47
47
|
export { fpixel };
|
|
48
48
|
import * as gtag from './helpers/tracking/gtag.js';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7817,6 +7817,7 @@ declare const composeTextColorCss: (color?: ColorValueType) => string;
|
|
|
7817
7817
|
type TypographyClass = `g-${TypographyType}`;
|
|
7818
7818
|
declare const genTypoClass: (name: TypographyType) => TypographyClass;
|
|
7819
7819
|
declare const composeTypographyCss: (typography: TypographySetting | undefined) => string;
|
|
7820
|
+
declare const composeTypographyV2Css: (typography: TypographySettingV2 | undefined) => string;
|
|
7820
7821
|
declare const composeTypography: (typography?: ObjectDevices<TypographyProps>) => React.CSSProperties;
|
|
7821
7822
|
declare const composeTypographyV2: (value?: TypographyV2Props, attrs?: TypographyV2Attrs) => React.CSSProperties;
|
|
7822
7823
|
declare const composeTypographyAttr: (attrs?: TypographyV2Attrs) => React.CSSProperties;
|
|
@@ -9310,6 +9311,7 @@ declare function getSelectedVariant(variants?: Maybe<VariantSelectFragment>[], c
|
|
|
9310
9311
|
[key: string]: string;
|
|
9311
9312
|
}): Maybe<VariantSelectFragment>;
|
|
9312
9313
|
declare function parseSelectedOption(options: Array<SelectedOption>): SelectedOption | undefined;
|
|
9314
|
+
declare function checkAvailableVariantInStock(variants: Maybe<VariantSelectFragment>[] | undefined, optionId: string, optionValue: string): boolean;
|
|
9313
9315
|
|
|
9314
9316
|
declare const pageview$1: () => void;
|
|
9315
9317
|
declare const event: (name: string, options?: {}) => void;
|
|
@@ -9670,4 +9672,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage, 'id' | 'name' |
|
|
|
9670
9672
|
|
|
9671
9673
|
declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
|
|
9672
9674
|
|
|
9673
|
-
export { AddOn, AddonProvider, AddonProviderProps, AlignItemProp, AlignProp, Background, BaseProps, BasePropsWrap, BlockEntity, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CartLineProvider, CartLineProviderProps, CollectionDetailFilterDocument, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionDocument, CollectionProvider, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsDocument, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, ExtractState, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, HSLAColorType, HSLColorType, HexColorType, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OptionNormalStyle, OptionSpecialStyle, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SectionData, SectionEntity, SectionProvider, SectionProviderProps, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeType, SpacingType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TransformProp, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, VariantSelectFragment, WiserWidgetType, baseAssetURL, calculateFirstProduct, cls, composeAdvanceStyle, composeBackgroundCss, composeBorderCss, composeCornerCss, composeGridLayout, composeMemo, composeRadius, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, convertOldLayout, dataStringify, fetchMedias, fetchVariants, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getBorderStyle, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleShadow, getStyleShadowState, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeHeight, makeLineClamp, makeStyle, makeStyleResponsive, makeStyleResponsiveState, makeStyleState, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeNullUndefined, splitStyle, styles, template, tiktokpixel, useAddToCart, useAddon, useAddons, useBuilderComponent, useBuilderPreviewStore, useBuilderStore, useCartData, useCartDiscountCodesUpdate, useCartId, useCartLine, useCartLineStore, useCartNoteUpdate, useCartUI, useCheckAvailableVariantInStock, useCheckoutUrl, useCollection, useCollectionQuery, useCollectionStore, useCollectionsQuery, useConnectedShopify, useCreateCart, useCurrency, useCurrentDevice, useCurrentVariant, useCurrentVariantInStock, useEditorMode, useFeaturedImageGlobal, useFormatMoney, useIsSampleProduct, useIsStorefrontProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
|
9675
|
+
export { AddOn, AddonProvider, AddonProviderProps, AlignItemProp, AlignProp, Background, BaseProps, BasePropsWrap, BlockEntity, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CartLineProvider, CartLineProviderProps, CollectionDetailFilterDocument, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionDocument, CollectionProvider, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsDocument, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, ExtractState, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, HSLAColorType, HSLColorType, HexColorType, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OptionNormalStyle, OptionSpecialStyle, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SectionData, SectionEntity, SectionProvider, SectionProviderProps, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeType, SpacingType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TransformProp, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, VariantSelectFragment, WiserWidgetType, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeBackgroundCss, composeBorderCss, composeCornerCss, composeGridLayout, composeMemo, composeRadius, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertOldLayout, dataStringify, fetchMedias, fetchVariants, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getBorderStyle, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleShadow, getStyleShadowState, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeHeight, makeLineClamp, makeStyle, makeStyleResponsive, makeStyleResponsiveState, makeStyleState, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeNullUndefined, splitStyle, styles, template, tiktokpixel, useAddToCart, useAddon, useAddons, useBuilderComponent, useBuilderPreviewStore, useBuilderStore, useCartData, useCartDiscountCodesUpdate, useCartId, useCartLine, useCartLineStore, useCartNoteUpdate, useCartUI, useCheckAvailableVariantInStock, useCheckoutUrl, useCollection, useCollectionQuery, useCollectionStore, useCollectionsQuery, useConnectedShopify, useCreateCart, useCurrency, useCurrentDevice, useCurrentVariant, useCurrentVariantInStock, useEditorMode, useFeaturedImageGlobal, useFormatMoney, useIsSampleProduct, useIsStorefrontProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|