@gem-sdk/core 1.24.0 → 1.24.9
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/background.js +64 -5
- package/dist/cjs/helpers/typography.js +10 -9
- package/dist/cjs/index.js +1 -0
- package/dist/esm/helpers/background.js +64 -6
- package/dist/esm/helpers/typography.js +10 -9
- package/dist/esm/index.js +1 -1
- package/dist/types/index.d.ts +11 -2
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ const getStyleBackgroundByDevice = (background, options)=>{
|
|
|
13
13
|
...getStyleBgPosition(background),
|
|
14
14
|
...getStyleBgSize(background),
|
|
15
15
|
...getStyleBgRepeat(background),
|
|
16
|
-
|
|
16
|
+
...!options?.ignoreBgAttachment ? getStyleBgAttachment(background) : {}
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
const getStyleBgColor = (background)=>{
|
|
@@ -38,10 +38,6 @@ const getColor = (color)=>{
|
|
|
38
38
|
};
|
|
39
39
|
const getStyleBgImage = (background, options)=>{
|
|
40
40
|
const bgImage = {
|
|
41
|
-
// desktop:
|
|
42
|
-
// background.desktop?.type === 'color' ? 'none' : getBgImageByDevice(background, 'desktop'),
|
|
43
|
-
// tablet: background.tablet?.type === 'color' ? 'none' : getBgImageByDevice(background, 'tablet'),
|
|
44
|
-
// mobile: background.mobile?.type === 'color' ? 'none' : getBgImageByDevice(background, 'mobile'),
|
|
45
41
|
desktop: getBgImageByDevice(background, 'desktop', options),
|
|
46
42
|
tablet: getBgImageByDevice(background, 'tablet', options),
|
|
47
43
|
mobile: getBgImageByDevice(background, 'mobile', options)
|
|
@@ -104,6 +100,69 @@ const getBgAttachmentByDevice = (background, device)=>{
|
|
|
104
100
|
const composeBackgroundCss = (backgroundColor)=>{
|
|
105
101
|
return `${backgroundColor ? `background-color: ${colors.getSingleColorVariable(backgroundColor)} !important;` : undefined}`;
|
|
106
102
|
};
|
|
103
|
+
const makeFixedBgAttachment = (background)=>{
|
|
104
|
+
if (!background) return;
|
|
105
|
+
background.tablet = background.tablet ? background.tablet : background.desktop;
|
|
106
|
+
background.mobile = background.mobile ? background.mobile : background.tablet;
|
|
107
|
+
const bgAttachment = {
|
|
108
|
+
desktop: getBgAttachmentByDevice(background, 'desktop'),
|
|
109
|
+
tablet: getBgAttachmentByDevice(background, 'tablet'),
|
|
110
|
+
mobile: getBgAttachmentByDevice(background, 'mobile')
|
|
111
|
+
};
|
|
112
|
+
const composeFixed = {
|
|
113
|
+
desktop: {
|
|
114
|
+
...makeFixedBgAttachmentByDevice('desktop', bgAttachment.desktop)
|
|
115
|
+
},
|
|
116
|
+
tablet: {
|
|
117
|
+
...makeFixedBgAttachmentByDevice('tablet', bgAttachment.tablet)
|
|
118
|
+
},
|
|
119
|
+
mobile: {
|
|
120
|
+
...makeFixedBgAttachmentByDevice('mobile', bgAttachment.mobile)
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
return {
|
|
124
|
+
wrapper: {
|
|
125
|
+
...composeFixed.desktop?.wrapper,
|
|
126
|
+
...composeFixed.tablet?.wrapper,
|
|
127
|
+
...composeFixed.mobile?.wrapper
|
|
128
|
+
},
|
|
129
|
+
content: {
|
|
130
|
+
...composeFixed.desktop?.content,
|
|
131
|
+
...composeFixed.tablet?.content,
|
|
132
|
+
...composeFixed.mobile?.content
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
const makeFixedBgAttachmentByDevice = (device, bgAttachment)=>{
|
|
137
|
+
const subfix = device === 'desktop' ? '' : `-${device}`;
|
|
138
|
+
if (bgAttachment === 'fixed') {
|
|
139
|
+
return {
|
|
140
|
+
wrapper: {
|
|
141
|
+
[`--pos${subfix}`]: 'absolute',
|
|
142
|
+
[`--top${subfix}`]: '0',
|
|
143
|
+
[`--left${subfix}`]: '0',
|
|
144
|
+
[`--w${subfix}`]: '100%',
|
|
145
|
+
[`--h${subfix}`]: '100%'
|
|
146
|
+
},
|
|
147
|
+
content: {
|
|
148
|
+
[`--pos${subfix}`]: 'fixed',
|
|
149
|
+
[`--w${subfix}`]: '100vw',
|
|
150
|
+
[`--h${subfix}`]: '100vh',
|
|
151
|
+
[`--bga${subfix}`]: 'unset'
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
return {
|
|
156
|
+
wrapper: {
|
|
157
|
+
[`--pos${subfix}`]: 'absolute'
|
|
158
|
+
},
|
|
159
|
+
content: {
|
|
160
|
+
[`--pos${subfix}`]: 'absolute',
|
|
161
|
+
[`--bga${subfix}`]: bgAttachment
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
};
|
|
107
165
|
|
|
108
166
|
exports.composeBackgroundCss = composeBackgroundCss;
|
|
109
167
|
exports.getStyleBackgroundByDevice = getStyleBackgroundByDevice;
|
|
168
|
+
exports.makeFixedBgAttachment = makeFixedBgAttachment;
|
|
@@ -18,20 +18,21 @@ const composeTypographyCss = (typography)=>{
|
|
|
18
18
|
${lineHeight ? `line-height: ${lineHeight};` : ''}
|
|
19
19
|
`;
|
|
20
20
|
};
|
|
21
|
-
const composeTypographyV2Css = (typography)=>{
|
|
21
|
+
const composeTypographyV2Css = (typography, isImportant)=>{
|
|
22
22
|
const typographyCustom = typography?.custom;
|
|
23
23
|
const { fontFamily, fontSize, fontWeight, lineHeight, letterSpacing } = typographyCustom ?? {};
|
|
24
24
|
const typographyAttrs = typography?.attrs;
|
|
25
25
|
const { bold, italic, underline, transform } = typographyAttrs ?? {};
|
|
26
|
+
const composeImportant = isImportant ? '!important' : '';
|
|
26
27
|
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};` : ''}
|
|
28
|
+
${fontFamily ? `font-family: var(--g-font-${fontFamily}, ${fontFamily}) ${composeImportant};` : ''}
|
|
29
|
+
${fontSize?.desktop ? `font-size: ${fontSize?.desktop} ${composeImportant};` : ''}
|
|
30
|
+
${bold ? `font-weight: bold;` : fontWeight ? `font-weight: ${fontWeight} ${composeImportant};` : ''}
|
|
31
|
+
${letterSpacing ? `letter-spacing: ${letterSpacing} ${composeImportant};` : ''}
|
|
32
|
+
${lineHeight ? `line-height: ${lineHeight} ${composeImportant};` : ''}
|
|
33
|
+
${italic ? `font-style: italic${composeImportant};` : ''}
|
|
34
|
+
${underline ? `text-decoration-line: underline ${composeImportant};` : ''}
|
|
35
|
+
${transform ? `text-transform: ${transform} ${composeImportant};` : ''}
|
|
35
36
|
`;
|
|
36
37
|
};
|
|
37
38
|
function getCustomCSSByDevice(typography, device) {
|
package/dist/cjs/index.js
CHANGED
|
@@ -221,6 +221,7 @@ exports.getStyleShadowState = shadow.getStyleShadowState;
|
|
|
221
221
|
exports.parseValueWithUnit = shadow.parseValueWithUnit;
|
|
222
222
|
exports.composeBackgroundCss = background.composeBackgroundCss;
|
|
223
223
|
exports.getStyleBackgroundByDevice = background.getStyleBackgroundByDevice;
|
|
224
|
+
exports.makeFixedBgAttachment = background.makeFixedBgAttachment;
|
|
224
225
|
exports.generateCollectionQueryKey = query.generateCollectionQueryKey;
|
|
225
226
|
exports.generateProductQueryKey = query.generateProductQueryKey;
|
|
226
227
|
exports.generateProductsQueryKey = query.generateProductsQueryKey;
|
|
@@ -11,7 +11,7 @@ const getStyleBackgroundByDevice = (background, options)=>{
|
|
|
11
11
|
...getStyleBgPosition(background),
|
|
12
12
|
...getStyleBgSize(background),
|
|
13
13
|
...getStyleBgRepeat(background),
|
|
14
|
-
|
|
14
|
+
...!options?.ignoreBgAttachment ? getStyleBgAttachment(background) : {}
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
const getStyleBgColor = (background)=>{
|
|
@@ -36,10 +36,6 @@ const getColor = (color)=>{
|
|
|
36
36
|
};
|
|
37
37
|
const getStyleBgImage = (background, options)=>{
|
|
38
38
|
const bgImage = {
|
|
39
|
-
// desktop:
|
|
40
|
-
// background.desktop?.type === 'color' ? 'none' : getBgImageByDevice(background, 'desktop'),
|
|
41
|
-
// tablet: background.tablet?.type === 'color' ? 'none' : getBgImageByDevice(background, 'tablet'),
|
|
42
|
-
// mobile: background.mobile?.type === 'color' ? 'none' : getBgImageByDevice(background, 'mobile'),
|
|
43
39
|
desktop: getBgImageByDevice(background, 'desktop', options),
|
|
44
40
|
tablet: getBgImageByDevice(background, 'tablet', options),
|
|
45
41
|
mobile: getBgImageByDevice(background, 'mobile', options)
|
|
@@ -102,5 +98,67 @@ const getBgAttachmentByDevice = (background, device)=>{
|
|
|
102
98
|
const composeBackgroundCss = (backgroundColor)=>{
|
|
103
99
|
return `${backgroundColor ? `background-color: ${getSingleColorVariable(backgroundColor)} !important;` : undefined}`;
|
|
104
100
|
};
|
|
101
|
+
const makeFixedBgAttachment = (background)=>{
|
|
102
|
+
if (!background) return;
|
|
103
|
+
background.tablet = background.tablet ? background.tablet : background.desktop;
|
|
104
|
+
background.mobile = background.mobile ? background.mobile : background.tablet;
|
|
105
|
+
const bgAttachment = {
|
|
106
|
+
desktop: getBgAttachmentByDevice(background, 'desktop'),
|
|
107
|
+
tablet: getBgAttachmentByDevice(background, 'tablet'),
|
|
108
|
+
mobile: getBgAttachmentByDevice(background, 'mobile')
|
|
109
|
+
};
|
|
110
|
+
const composeFixed = {
|
|
111
|
+
desktop: {
|
|
112
|
+
...makeFixedBgAttachmentByDevice('desktop', bgAttachment.desktop)
|
|
113
|
+
},
|
|
114
|
+
tablet: {
|
|
115
|
+
...makeFixedBgAttachmentByDevice('tablet', bgAttachment.tablet)
|
|
116
|
+
},
|
|
117
|
+
mobile: {
|
|
118
|
+
...makeFixedBgAttachmentByDevice('mobile', bgAttachment.mobile)
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
return {
|
|
122
|
+
wrapper: {
|
|
123
|
+
...composeFixed.desktop?.wrapper,
|
|
124
|
+
...composeFixed.tablet?.wrapper,
|
|
125
|
+
...composeFixed.mobile?.wrapper
|
|
126
|
+
},
|
|
127
|
+
content: {
|
|
128
|
+
...composeFixed.desktop?.content,
|
|
129
|
+
...composeFixed.tablet?.content,
|
|
130
|
+
...composeFixed.mobile?.content
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
const makeFixedBgAttachmentByDevice = (device, bgAttachment)=>{
|
|
135
|
+
const subfix = device === 'desktop' ? '' : `-${device}`;
|
|
136
|
+
if (bgAttachment === 'fixed') {
|
|
137
|
+
return {
|
|
138
|
+
wrapper: {
|
|
139
|
+
[`--pos${subfix}`]: 'absolute',
|
|
140
|
+
[`--top${subfix}`]: '0',
|
|
141
|
+
[`--left${subfix}`]: '0',
|
|
142
|
+
[`--w${subfix}`]: '100%',
|
|
143
|
+
[`--h${subfix}`]: '100%'
|
|
144
|
+
},
|
|
145
|
+
content: {
|
|
146
|
+
[`--pos${subfix}`]: 'fixed',
|
|
147
|
+
[`--w${subfix}`]: '100vw',
|
|
148
|
+
[`--h${subfix}`]: '100vh',
|
|
149
|
+
[`--bga${subfix}`]: 'unset'
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
return {
|
|
154
|
+
wrapper: {
|
|
155
|
+
[`--pos${subfix}`]: 'absolute'
|
|
156
|
+
},
|
|
157
|
+
content: {
|
|
158
|
+
[`--pos${subfix}`]: 'absolute',
|
|
159
|
+
[`--bga${subfix}`]: bgAttachment
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
};
|
|
105
163
|
|
|
106
|
-
export { composeBackgroundCss, getStyleBackgroundByDevice };
|
|
164
|
+
export { composeBackgroundCss, getStyleBackgroundByDevice, makeFixedBgAttachment };
|
|
@@ -16,20 +16,21 @@ const composeTypographyCss = (typography)=>{
|
|
|
16
16
|
${lineHeight ? `line-height: ${lineHeight};` : ''}
|
|
17
17
|
`;
|
|
18
18
|
};
|
|
19
|
-
const composeTypographyV2Css = (typography)=>{
|
|
19
|
+
const composeTypographyV2Css = (typography, isImportant)=>{
|
|
20
20
|
const typographyCustom = typography?.custom;
|
|
21
21
|
const { fontFamily, fontSize, fontWeight, lineHeight, letterSpacing } = typographyCustom ?? {};
|
|
22
22
|
const typographyAttrs = typography?.attrs;
|
|
23
23
|
const { bold, italic, underline, transform } = typographyAttrs ?? {};
|
|
24
|
+
const composeImportant = isImportant ? '!important' : '';
|
|
24
25
|
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};` : ''}
|
|
26
|
+
${fontFamily ? `font-family: var(--g-font-${fontFamily}, ${fontFamily}) ${composeImportant};` : ''}
|
|
27
|
+
${fontSize?.desktop ? `font-size: ${fontSize?.desktop} ${composeImportant};` : ''}
|
|
28
|
+
${bold ? `font-weight: bold;` : fontWeight ? `font-weight: ${fontWeight} ${composeImportant};` : ''}
|
|
29
|
+
${letterSpacing ? `letter-spacing: ${letterSpacing} ${composeImportant};` : ''}
|
|
30
|
+
${lineHeight ? `line-height: ${lineHeight} ${composeImportant};` : ''}
|
|
31
|
+
${italic ? `font-style: italic${composeImportant};` : ''}
|
|
32
|
+
${underline ? `text-decoration-line: underline ${composeImportant};` : ''}
|
|
33
|
+
${transform ? `text-transform: ${transform} ${composeImportant};` : ''}
|
|
33
34
|
`;
|
|
34
35
|
};
|
|
35
36
|
function getCustomCSSByDevice(typography, device) {
|
package/dist/esm/index.js
CHANGED
|
@@ -53,7 +53,7 @@ export { RenderIf, composeMemo, dataStringify, props, styles, template } from '.
|
|
|
53
53
|
export { baseAssetURL, isLocalEnv } from './helpers/convert.js';
|
|
54
54
|
export { composeSize, composeSizeCss, genSizeClass } from './helpers/size.js';
|
|
55
55
|
export { composeShadowCss, getStyleShadow, getStyleShadowState, parseValueWithUnit } from './helpers/shadow.js';
|
|
56
|
-
export { composeBackgroundCss, getStyleBackgroundByDevice } from './helpers/background.js';
|
|
56
|
+
export { composeBackgroundCss, getStyleBackgroundByDevice, makeFixedBgAttachment } from './helpers/background.js';
|
|
57
57
|
export { generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey } from './helpers/query.js';
|
|
58
58
|
export { composeAdvanceStyle, splitStyle } from './helpers/compose-advance-style.js';
|
|
59
59
|
export { useAddToCart } from './hooks/cart/use-add-to-cart.js';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7884,7 +7884,7 @@ declare const composeTextColorCss: (color?: ColorValueType) => string;
|
|
|
7884
7884
|
type TypographyClass = `g-${TypographyType}`;
|
|
7885
7885
|
declare const genTypoClass: (name: TypographyType) => TypographyClass;
|
|
7886
7886
|
declare const composeTypographyCss: (typography: TypographySetting | undefined) => string;
|
|
7887
|
-
declare const composeTypographyV2Css: (typography: TypographySettingV2 | undefined) => string;
|
|
7887
|
+
declare const composeTypographyV2Css: (typography: TypographySettingV2 | undefined, isImportant?: boolean) => string;
|
|
7888
7888
|
declare const composeTypography: (typography?: ObjectDevices<TypographyProps>) => React.CSSProperties;
|
|
7889
7889
|
declare const composeTypographyV2: (value?: TypographyV2Props, attrs?: TypographyV2Attrs) => React.CSSProperties;
|
|
7890
7890
|
declare const composeTypographyAttr: (attrs?: TypographyV2Attrs) => React.CSSProperties;
|
|
@@ -9470,9 +9470,18 @@ declare const composeShadowCss: ({ hasBoxShadow, boxShadowValue, important, }: {
|
|
|
9470
9470
|
|
|
9471
9471
|
type Options = {
|
|
9472
9472
|
liquid?: boolean;
|
|
9473
|
+
ignoreBgAttachment?: boolean;
|
|
9473
9474
|
};
|
|
9474
9475
|
declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options) => {};
|
|
9475
9476
|
declare const composeBackgroundCss: (backgroundColor?: ColorValueType) => string;
|
|
9477
|
+
declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) => {
|
|
9478
|
+
wrapper: {
|
|
9479
|
+
[x: string]: string;
|
|
9480
|
+
};
|
|
9481
|
+
content: {
|
|
9482
|
+
[x: string]: string | undefined;
|
|
9483
|
+
};
|
|
9484
|
+
} | undefined;
|
|
9476
9485
|
|
|
9477
9486
|
type OrderByType = 'TITLE_ASC' | 'TITLE_DESC' | 'CREATED_AT_ASC' | 'none' | 'CREATED_AT_DESC';
|
|
9478
9487
|
type FetchCollectionArgs = {
|
|
@@ -9748,4 +9757,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage, 'id' | 'name' |
|
|
|
9748
9757
|
|
|
9749
9758
|
declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
|
|
9750
9759
|
|
|
9751
|
-
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, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsWidgetType, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OptionNormalStyle, OptionSpecialStyle, PageContext, 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, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TransformProp, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, VariantSelectFragment, VitalsWidgetType, WiserWidgetType, WrapRenderChildren, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeBackgroundCss, composeBorderCss, composeCornerCss, composeGridLayout, composeMemo, composeRadius, composeRadiusResponsive, 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, isColumnDirectionExist, 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, useInitialSwatchesOptions, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, 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 };
|
|
9760
|
+
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, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsWidgetType, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OptionNormalStyle, OptionSpecialStyle, PageContext, 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, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TransformProp, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, VariantSelectFragment, VitalsWidgetType, WiserWidgetType, WrapRenderChildren, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeBackgroundCss, composeBorderCss, composeCornerCss, composeGridLayout, composeMemo, composeRadius, composeRadiusResponsive, 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, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeFixedBgAttachment, 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, useInitialSwatchesOptions, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, 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 };
|