@gem-sdk/core 1.40.4 → 1.41.0-staging.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/graphql/fragments/product-little.generated.js +9 -0
- package/dist/cjs/graphql/fragments/product.generated.js +9 -0
- package/dist/cjs/graphql/queries/products.generated.js +9 -0
- package/dist/cjs/helpers/GlobalEvent.js +7 -7
- package/dist/cjs/helpers/queries/get-products.js +24 -0
- package/dist/cjs/helpers/size.js +13 -0
- package/dist/cjs/hooks/shop/use-products-query.js +10 -0
- package/dist/cjs/index.js +2 -0
- package/dist/esm/graphql/fragments/product-little.generated.js +9 -0
- package/dist/esm/graphql/fragments/product.generated.js +9 -0
- package/dist/esm/graphql/queries/products.generated.js +9 -0
- package/dist/esm/helpers/GlobalEvent.js +7 -7
- package/dist/esm/helpers/queries/get-products.js +24 -1
- package/dist/esm/helpers/size.js +13 -1
- package/dist/esm/hooks/shop/use-products-query.js +11 -2
- package/dist/esm/index.js +2 -2
- package/dist/types/index.d.ts +53 -9
- package/package.json +3 -3
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
/* eslint-disable */ const ProductSelect = `
|
|
4
4
|
fragment ProductSelect on Product {
|
|
5
5
|
...ProductLittleSelect
|
|
6
|
+
collections {
|
|
7
|
+
edges {
|
|
8
|
+
node {
|
|
9
|
+
id
|
|
10
|
+
title
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
tags
|
|
6
15
|
medias(first: $firstMedia, after: $afterMedia, orderBy: $orderByMedia) {
|
|
7
16
|
edges {
|
|
8
17
|
cursor
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const globalEvent = {
|
|
6
|
-
subscribe (callback) {
|
|
7
|
-
document.addEventListener(
|
|
6
|
+
subscribe (eventName, callback) {
|
|
7
|
+
document.addEventListener(eventName, (e)=>callback(e.detail));
|
|
8
8
|
},
|
|
9
|
-
dispatch (
|
|
10
|
-
document.dispatchEvent(new CustomEvent(
|
|
11
|
-
detail
|
|
9
|
+
dispatch (eventName, detail) {
|
|
10
|
+
document.dispatchEvent(new CustomEvent(eventName, {
|
|
11
|
+
detail
|
|
12
12
|
}));
|
|
13
13
|
},
|
|
14
|
-
remove (callback) {
|
|
15
|
-
document.removeEventListener(
|
|
14
|
+
remove (eventName, callback) {
|
|
15
|
+
document.removeEventListener(eventName, callback);
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
|
|
@@ -57,6 +57,29 @@ const getProducts = async (fetcher, { ids, isSample, isStorefront, defaultSelect
|
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
|
+
const getProductQueryAll = async (fetcher, arg)=>{
|
|
61
|
+
const limit = arg?.limit || 4;
|
|
62
|
+
delete arg.limit;
|
|
63
|
+
const variables = {
|
|
64
|
+
first: limit,
|
|
65
|
+
firstMedia: 1,
|
|
66
|
+
firstVariant: 1,
|
|
67
|
+
orderBy: {
|
|
68
|
+
field: 'PLATFORM_CREATED_AT',
|
|
69
|
+
direction: 'DESC'
|
|
70
|
+
},
|
|
71
|
+
orderByMedia: {
|
|
72
|
+
field: 'POSITION',
|
|
73
|
+
direction: 'ASC'
|
|
74
|
+
},
|
|
75
|
+
where: {
|
|
76
|
+
status: 'ACTIVE',
|
|
77
|
+
...arg
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
const pageData = await fetchProducts(fetcher, variables);
|
|
81
|
+
return pageData;
|
|
82
|
+
};
|
|
60
83
|
const fetchProducts = async (fetcher, variables)=>{
|
|
61
84
|
return fetcher([
|
|
62
85
|
products_generated.ProductsDocument,
|
|
@@ -164,4 +187,5 @@ const mergeMediasToProducts = async ({ fetcher, products, isSample, isStorefront
|
|
|
164
187
|
// );
|
|
165
188
|
// };
|
|
166
189
|
|
|
190
|
+
exports.getProductQueryAll = getProductQueryAll;
|
|
167
191
|
exports.getProducts = getProducts;
|
package/dist/cjs/helpers/size.js
CHANGED
|
@@ -43,6 +43,18 @@ const makeGlobalSize = (globalSize)=>{
|
|
|
43
43
|
gap: getGlobalSizeGap(globalSize)
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
|
+
const makeGlobalSizeIcon = (globalSize)=>{
|
|
47
|
+
return {
|
|
48
|
+
width: makeStyleWithDefault('w', getWidthHeightGlobalSize('width', globalSize), {
|
|
49
|
+
desktop: '--g-ct-w',
|
|
50
|
+
tablet: '--g-ct-w',
|
|
51
|
+
mobile: '--g-ct-w'
|
|
52
|
+
}),
|
|
53
|
+
height: makeStyle.makeStyleResponsive('h', getWidthHeightGlobalSize('width', globalSize)),
|
|
54
|
+
minWidth: makeStyle.makeStyleResponsive('minw', getWidthHeightGlobalSize('width', globalSize)),
|
|
55
|
+
padding: getPaddingGlobalSize(globalSize)
|
|
56
|
+
};
|
|
57
|
+
};
|
|
46
58
|
const getGlobalSizeGap = (globalSize)=>{
|
|
47
59
|
return {
|
|
48
60
|
'--gg': globalSize?.desktop?.gap,
|
|
@@ -180,4 +192,5 @@ exports.getPaddingGlobalSize = getPaddingGlobalSize;
|
|
|
180
192
|
exports.getWidthByShapeGlobalSize = getWidthByShapeGlobalSize;
|
|
181
193
|
exports.getWidthHeightGlobalSize = getWidthHeightGlobalSize;
|
|
182
194
|
exports.makeGlobalSize = makeGlobalSize;
|
|
195
|
+
exports.makeGlobalSizeIcon = makeGlobalSizeIcon;
|
|
183
196
|
exports.makeStyleWithDefault = makeStyleWithDefault;
|
|
@@ -20,5 +20,15 @@ const useProductsQuery = (ids, options, params)=>{
|
|
|
20
20
|
return getProducts.getProducts(params?.fetcher || fetcher, arg);
|
|
21
21
|
}, options);
|
|
22
22
|
};
|
|
23
|
+
const useProductsQueryAll = (variable, options)=>{
|
|
24
|
+
const fetcher = useFetchHandle.useFetchHandle();
|
|
25
|
+
return useSWR(variable ? [
|
|
26
|
+
'query/products',
|
|
27
|
+
variable
|
|
28
|
+
] : null, async ([, arg])=>{
|
|
29
|
+
return getProducts.getProductQueryAll(fetcher, arg);
|
|
30
|
+
}, options);
|
|
31
|
+
};
|
|
23
32
|
|
|
24
33
|
exports.useProductsQuery = useProductsQuery;
|
|
34
|
+
exports.useProductsQueryAll = useProductsQueryAll;
|
package/dist/cjs/index.js
CHANGED
|
@@ -258,6 +258,7 @@ exports.getPaddingGlobalSize = size.getPaddingGlobalSize;
|
|
|
258
258
|
exports.getWidthByShapeGlobalSize = size.getWidthByShapeGlobalSize;
|
|
259
259
|
exports.getWidthHeightGlobalSize = size.getWidthHeightGlobalSize;
|
|
260
260
|
exports.makeGlobalSize = size.makeGlobalSize;
|
|
261
|
+
exports.makeGlobalSizeIcon = size.makeGlobalSizeIcon;
|
|
261
262
|
exports.makeStyleWithDefault = size.makeStyleWithDefault;
|
|
262
263
|
exports.composeFallbackTypographyStyle = typography.composeFallbackTypographyStyle;
|
|
263
264
|
exports.composeTypography = typography.composeTypography;
|
|
@@ -301,6 +302,7 @@ exports.useCollectionQuery = useCollectionQuery.useCollectionQuery;
|
|
|
301
302
|
exports.useCollectionsQuery = useCollectionsQuery.useCollectionsQuery;
|
|
302
303
|
exports.useProductQuery = useProductQuery.useProductQuery;
|
|
303
304
|
exports.useProductsQuery = useProductsQuery.useProductsQuery;
|
|
305
|
+
exports.useProductsQueryAll = useProductsQuery.useProductsQueryAll;
|
|
304
306
|
exports.useCurrentDevice = useCurrentDevice.useCurrentDevice;
|
|
305
307
|
exports.shopifyPriceRounding = useFormatMoney.shopifyPriceRounding;
|
|
306
308
|
exports.useFormatMoney = useFormatMoney.useFormatMoney;
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
/* eslint-disable */ const ProductSelect = `
|
|
2
2
|
fragment ProductSelect on Product {
|
|
3
3
|
...ProductLittleSelect
|
|
4
|
+
collections {
|
|
5
|
+
edges {
|
|
6
|
+
node {
|
|
7
|
+
id
|
|
8
|
+
title
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
tags
|
|
4
13
|
medias(first: $firstMedia, after: $afterMedia, orderBy: $orderByMedia) {
|
|
5
14
|
edges {
|
|
6
15
|
cursor
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
const globalEvent = {
|
|
2
|
-
subscribe (callback) {
|
|
3
|
-
document.addEventListener(
|
|
2
|
+
subscribe (eventName, callback) {
|
|
3
|
+
document.addEventListener(eventName, (e)=>callback(e.detail));
|
|
4
4
|
},
|
|
5
|
-
dispatch (
|
|
6
|
-
document.dispatchEvent(new CustomEvent(
|
|
7
|
-
detail
|
|
5
|
+
dispatch (eventName, detail) {
|
|
6
|
+
document.dispatchEvent(new CustomEvent(eventName, {
|
|
7
|
+
detail
|
|
8
8
|
}));
|
|
9
9
|
},
|
|
10
|
-
remove (callback) {
|
|
11
|
-
document.removeEventListener(
|
|
10
|
+
remove (eventName, callback) {
|
|
11
|
+
document.removeEventListener(eventName, callback);
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -55,6 +55,29 @@ const getProducts = async (fetcher, { ids, isSample, isStorefront, defaultSelect
|
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
|
+
const getProductQueryAll = async (fetcher, arg)=>{
|
|
59
|
+
const limit = arg?.limit || 4;
|
|
60
|
+
delete arg.limit;
|
|
61
|
+
const variables = {
|
|
62
|
+
first: limit,
|
|
63
|
+
firstMedia: 1,
|
|
64
|
+
firstVariant: 1,
|
|
65
|
+
orderBy: {
|
|
66
|
+
field: 'PLATFORM_CREATED_AT',
|
|
67
|
+
direction: 'DESC'
|
|
68
|
+
},
|
|
69
|
+
orderByMedia: {
|
|
70
|
+
field: 'POSITION',
|
|
71
|
+
direction: 'ASC'
|
|
72
|
+
},
|
|
73
|
+
where: {
|
|
74
|
+
status: 'ACTIVE',
|
|
75
|
+
...arg
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
const pageData = await fetchProducts(fetcher, variables);
|
|
79
|
+
return pageData;
|
|
80
|
+
};
|
|
58
81
|
const fetchProducts = async (fetcher, variables)=>{
|
|
59
82
|
return fetcher([
|
|
60
83
|
ProductsDocument,
|
|
@@ -162,4 +185,4 @@ const mergeMediasToProducts = async ({ fetcher, products, isSample, isStorefront
|
|
|
162
185
|
// );
|
|
163
186
|
// };
|
|
164
187
|
|
|
165
|
-
export { getProducts };
|
|
188
|
+
export { getProductQueryAll, getProducts };
|
package/dist/esm/helpers/size.js
CHANGED
|
@@ -41,6 +41,18 @@ const makeGlobalSize = (globalSize)=>{
|
|
|
41
41
|
gap: getGlobalSizeGap(globalSize)
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
|
+
const makeGlobalSizeIcon = (globalSize)=>{
|
|
45
|
+
return {
|
|
46
|
+
width: makeStyleWithDefault('w', getWidthHeightGlobalSize('width', globalSize), {
|
|
47
|
+
desktop: '--g-ct-w',
|
|
48
|
+
tablet: '--g-ct-w',
|
|
49
|
+
mobile: '--g-ct-w'
|
|
50
|
+
}),
|
|
51
|
+
height: makeStyleResponsive('h', getWidthHeightGlobalSize('width', globalSize)),
|
|
52
|
+
minWidth: makeStyleResponsive('minw', getWidthHeightGlobalSize('width', globalSize)),
|
|
53
|
+
padding: getPaddingGlobalSize(globalSize)
|
|
54
|
+
};
|
|
55
|
+
};
|
|
44
56
|
const getGlobalSizeGap = (globalSize)=>{
|
|
45
57
|
return {
|
|
46
58
|
'--gg': globalSize?.desktop?.gap,
|
|
@@ -168,4 +180,4 @@ const getPaddingGlobalSize = (globalSize)=>{
|
|
|
168
180
|
return Object.assign({}, getCustomPaddingSizeCSSByDevice(globalSize, 'desktop'), getCustomPaddingSizeCSSByDevice(globalSize, 'tablet'), getCustomPaddingSizeCSSByDevice(globalSize, 'mobile'));
|
|
169
181
|
};
|
|
170
182
|
|
|
171
|
-
export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeStyleWithDefault };
|
|
183
|
+
export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import useSWR from 'swr';
|
|
2
|
-
import { getProducts } from '../../helpers/queries/get-products.js';
|
|
2
|
+
import { getProducts, getProductQueryAll } from '../../helpers/queries/get-products.js';
|
|
3
3
|
import { generateProductsQueryKey } from '../../helpers/query.js';
|
|
4
4
|
import { useIsSampleProduct, useIsStorefrontProduct } from '../shop.js';
|
|
5
5
|
import { useFetchHandle } from '../useFetchHandle.js';
|
|
@@ -18,5 +18,14 @@ const useProductsQuery = (ids, options, params)=>{
|
|
|
18
18
|
return getProducts(params?.fetcher || fetcher, arg);
|
|
19
19
|
}, options);
|
|
20
20
|
};
|
|
21
|
+
const useProductsQueryAll = (variable, options)=>{
|
|
22
|
+
const fetcher = useFetchHandle();
|
|
23
|
+
return useSWR(variable ? [
|
|
24
|
+
'query/products',
|
|
25
|
+
variable
|
|
26
|
+
] : null, async ([, arg])=>{
|
|
27
|
+
return getProductQueryAll(fetcher, arg);
|
|
28
|
+
}, options);
|
|
29
|
+
};
|
|
21
30
|
|
|
22
|
-
export { useProductsQuery };
|
|
31
|
+
export { useProductsQuery, useProductsQueryAll };
|
package/dist/esm/index.js
CHANGED
|
@@ -54,7 +54,7 @@ export { generateCollectionQueryKey, generateProductQueryKey, generateProductsQu
|
|
|
54
54
|
export { composeCornerCss, composeRadius, composeRadiusResponsive, getCornerCSSFromGlobal, getCustomRadius, getRadiusCSSFromGlobal, getRadiusStyleActiveState } from './helpers/radius.js';
|
|
55
55
|
export { RenderIf, composeMemo, dataStringify, props, removeUndefinedValuesFromObject, styles, template } from './helpers/render.js';
|
|
56
56
|
export { composeShadowCss, getStyleShadow, getStyleShadowState, parseValueWithUnit } from './helpers/shadow.js';
|
|
57
|
-
export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeStyleWithDefault } from './helpers/size.js';
|
|
57
|
+
export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault } from './helpers/size.js';
|
|
58
58
|
export { composeFallbackTypographyStyle, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, genTypoClass } from './helpers/typography.js';
|
|
59
59
|
export { validateEmail } from './helpers/email.js';
|
|
60
60
|
export { loadScript } from './helpers/load-script.js';
|
|
@@ -77,7 +77,7 @@ export { useCheckoutUrl, useConnectedShopify, useCurrency, useEditorMode, useIsS
|
|
|
77
77
|
export { useCollectionQuery } from './hooks/shop/use-collection-query.js';
|
|
78
78
|
export { useCollectionsQuery } from './hooks/shop/use-collections-query.js';
|
|
79
79
|
export { useProductQuery } from './hooks/shop/use-product-query.js';
|
|
80
|
-
export { useProductsQuery } from './hooks/shop/use-products-query.js';
|
|
80
|
+
export { useProductsQuery, useProductsQueryAll } from './hooks/shop/use-products-query.js';
|
|
81
81
|
export { useCurrentDevice } from './hooks/use-current-device.js';
|
|
82
82
|
export { shopifyPriceRounding, useFormatMoney } from './hooks/useFormatMoney.js';
|
|
83
83
|
export { useLazyVideo } from './hooks/use-lazy-video.js';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -5183,6 +5183,7 @@ type PublishedThemePage$1 = {
|
|
|
5183
5183
|
themePageOnlineStoreData?: Maybe$1<Array<Maybe$1<PublishedThemePageOnlineStoreData$1>>>;
|
|
5184
5184
|
type: PublishedThemePageType$1;
|
|
5185
5185
|
updatedAt?: Maybe$1<Scalars$2['Time']>;
|
|
5186
|
+
publishedAt?: Maybe$1<Scalars$2['Time']>;
|
|
5186
5187
|
};
|
|
5187
5188
|
type PublishedThemePageCustomSection$1 = {
|
|
5188
5189
|
id: Scalars$2['ID'];
|
|
@@ -7378,6 +7379,10 @@ type VariantSwatchesPresetControlType<T> = SharedControlType<T> & {
|
|
|
7378
7379
|
id?: string;
|
|
7379
7380
|
type: 'variant:presets';
|
|
7380
7381
|
};
|
|
7382
|
+
type VariantSwatchesOnlyDefaultVariantControlType<T> = SharedControlType<T> & {
|
|
7383
|
+
id?: string;
|
|
7384
|
+
type: 'variant:default';
|
|
7385
|
+
};
|
|
7381
7386
|
|
|
7382
7387
|
type LayoutControlType<T> = SharedControlType<T> & {
|
|
7383
7388
|
type: 'layout';
|
|
@@ -7698,7 +7703,12 @@ type PostPurchaseTextareaControlType<T> = SharedControlType<T> & {
|
|
|
7698
7703
|
}[];
|
|
7699
7704
|
};
|
|
7700
7705
|
|
|
7701
|
-
type
|
|
7706
|
+
type NotesControlType<T> = SharedControlType<T> & {
|
|
7707
|
+
type: 'notes';
|
|
7708
|
+
value?: string;
|
|
7709
|
+
};
|
|
7710
|
+
|
|
7711
|
+
type ControlProp<T> = AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputUnitControlType<T> | InputUnitSpacingControlType<T> | InputUnitWidthControlType<T> | InputControlType<T> | MarginControlType<T> | PaddingControlType<T> | PositionControlType<T> | RadioGroupControlType | RangeControlType<T> | SegmentControlType<T> | SelectControlType<T> | TextareaControlType<T> | ToggleControlType<T> | ImageControlType<T> | ChildrensControlType | GridControlType<T> | FlexControlType<T> | TextEditorControlType<T> | ProductControlType<T> | TypographyControlType<T> | TypographyV2ControlType<T> | MenuControlType<T> | BehaviorStateControlType<T> | PickLinkControlType<T> | BoxShadowControlType<T> | TextShadowControlType<T> | BorderControlType<T> | BorderRadiusControlType<T> | RadiusPresetControlType<T> | SizeControlType<T> | ChildItemType<T> | PickMultiProductControlType<T> | CollectionControlType<T> | BackgroundControlType<T> | VisibilityControlType<T> | SelectVariantControlType | CountdownEvergreenType | Timezone<T> | CustomContentControlType<T> | DateTimePickerControlType | CountdownDailyType | KlaviyoCodes | YotpoLoyaltyCodes | InputWidthControlType<T> | LayoutSegmentControlType<T> | InputSpacing<T> | UniqueIdControlType<T> | PositionSquareControlType<T> | CustomCodeEditor | LayoutControlType<T> | LayoutBannerControlType<T> | SwatchesLinkControlType<T> | VariantSwatchesPresetControlType<T> | VariantSwatchesOnlyDefaultVariantControlType<T> | ProductListControlType<T> | CollectionBannerControlType<T> | Ratio<T> | StickyDisplayControlType<T> | SyncProductPropertiesControlType<T> | StepsGuide<T> | ImageShape<T> | GridArrange<T> | SizeSetting$1<T> | ChildIconType<T> | DropdownInput<T> | Dropdown<T> | AliPickSectionControlType<T> | ParallaxScrollingType<T> | BackgroundColorPickerType<T> | PlayPauseControlType<T> | LayoutCustomSegmentControlType<T> | SneakPeakRange<T> | SneakPeakTypeControlType<T> | SneakPeakControlType<T> | BackgroundColorPickerType<T> | ProductInputCurrencyUnitControlType<T> | TypographyPostPurchaseControlType<T> | ProductOffersControlType<T> | DiscountAndShippingFee<T> | SneakPeakControlType<T> | PostPurchaseTextareaControlType<T> | NotesControlType<T>;
|
|
7702
7712
|
type ControlTriggerAction = {
|
|
7703
7713
|
controlId: string;
|
|
7704
7714
|
newValue?: any;
|
|
@@ -27319,7 +27329,12 @@ declare const useCartLineStore: <U>(selector: (state: ExtractState<StoreApi<Cart
|
|
|
27319
27329
|
type CollectionProductSelectFragment = Pick<Collection$1, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'title' | 'handle' | 'description' | 'descriptionHtml' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'tags' | 'isStorefront' | 'isSample'> & {
|
|
27320
27330
|
products?: Maybe$1<{
|
|
27321
27331
|
edges: Array<Pick<ProductEdge$1, 'cursor'> & {
|
|
27322
|
-
node?: Maybe$1<Pick<Product$1, 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
|
|
27332
|
+
node?: Maybe$1<Pick<Product$1, 'tags' | 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
|
|
27333
|
+
collections?: Maybe$1<{
|
|
27334
|
+
edges: Array<{
|
|
27335
|
+
node?: Maybe$1<Pick<Collection$1, 'id' | 'title'>>;
|
|
27336
|
+
}>;
|
|
27337
|
+
}>;
|
|
27323
27338
|
medias?: Maybe$1<{
|
|
27324
27339
|
edges: Array<Pick<MediaEdge$1, 'cursor'> & {
|
|
27325
27340
|
node?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
@@ -27392,7 +27407,12 @@ type ProductListProviderProps = ProductListContextProps & {
|
|
|
27392
27407
|
declare const ProductListProvider: React.FC<ProductListProviderProps>;
|
|
27393
27408
|
declare const useProductListStore: <U>(selector: (state: ExtractState<StoreApi<ProductListContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
|
|
27394
27409
|
|
|
27395
|
-
type ProductSelectFragment = Pick<Product$1, 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
|
|
27410
|
+
type ProductSelectFragment = Pick<Product$1, 'tags' | 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
|
|
27411
|
+
collections?: Maybe$1<{
|
|
27412
|
+
edges: Array<{
|
|
27413
|
+
node?: Maybe$1<Pick<Collection$1, 'id' | 'title'>>;
|
|
27414
|
+
}>;
|
|
27415
|
+
}>;
|
|
27396
27416
|
medias?: Maybe$1<{
|
|
27397
27417
|
edges: Array<Pick<MediaEdge$1, 'cursor'> & {
|
|
27398
27418
|
node?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
@@ -27590,7 +27610,12 @@ type CollectionDetailFilterQueryResponse = {
|
|
|
27590
27610
|
node?: Maybe$1<Pick<Collection$1, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'title' | 'handle' | 'description' | 'descriptionHtml' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'tags' | 'isStorefront' | 'isSample'> & {
|
|
27591
27611
|
products?: Maybe$1<{
|
|
27592
27612
|
edges: Array<Pick<ProductEdge$1, 'cursor'> & {
|
|
27593
|
-
node?: Maybe$1<Pick<Product$1, 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
|
|
27613
|
+
node?: Maybe$1<Pick<Product$1, 'tags' | 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
|
|
27614
|
+
collections?: Maybe$1<{
|
|
27615
|
+
edges: Array<{
|
|
27616
|
+
node?: Maybe$1<Pick<Collection$1, 'id' | 'title'>>;
|
|
27617
|
+
}>;
|
|
27618
|
+
}>;
|
|
27594
27619
|
medias?: Maybe$1<{
|
|
27595
27620
|
edges: Array<Pick<MediaEdge$1, 'cursor'> & {
|
|
27596
27621
|
node?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
@@ -27720,7 +27745,12 @@ type ProductsQueryVariables = Exact$1<{
|
|
|
27720
27745
|
type ProductsQueryResponse = {
|
|
27721
27746
|
products?: Maybe$1<{
|
|
27722
27747
|
edges: Array<Pick<ProductEdge$1, 'cursor'> & {
|
|
27723
|
-
node?: Maybe$1<Pick<Product$1, 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
|
|
27748
|
+
node?: Maybe$1<Pick<Product$1, 'tags' | 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
|
|
27749
|
+
collections?: Maybe$1<{
|
|
27750
|
+
edges: Array<{
|
|
27751
|
+
node?: Maybe$1<Pick<Collection$1, 'id' | 'title'>>;
|
|
27752
|
+
}>;
|
|
27753
|
+
}>;
|
|
27724
27754
|
medias?: Maybe$1<{
|
|
27725
27755
|
edges: Array<Pick<MediaEdge$1, 'cursor'> & {
|
|
27726
27756
|
node?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
@@ -27745,6 +27775,13 @@ type ProductsQueryResponse = {
|
|
|
27745
27775
|
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage'>>;
|
|
27746
27776
|
}>;
|
|
27747
27777
|
};
|
|
27778
|
+
type VariableRelatedStyles = {
|
|
27779
|
+
limit?: number | undefined;
|
|
27780
|
+
vendor?: string;
|
|
27781
|
+
idNEQ?: string;
|
|
27782
|
+
hasProductTagsWith?: InputMaybe$1<ProductTagWhereInput$1[]>;
|
|
27783
|
+
hasCollectionProductsWith?: InputMaybe$1<CollectionProductWhereInput$1[]>;
|
|
27784
|
+
};
|
|
27748
27785
|
declare const ProductsDocument: string;
|
|
27749
27786
|
|
|
27750
27787
|
type StorePropertyQueryVariables = Exact$1<{
|
|
@@ -27890,9 +27927,9 @@ declare const isColumnDirectionExist: (layout: ObjectDevices<ObjectLayoutValue>,
|
|
|
27890
27927
|
declare function getShortName(name: string): string;
|
|
27891
27928
|
|
|
27892
27929
|
declare const globalEvent: {
|
|
27893
|
-
subscribe(callback: (detail: any) => void): void;
|
|
27894
|
-
dispatch(
|
|
27895
|
-
remove(callback: (
|
|
27930
|
+
subscribe(eventName: string, callback: (detail: any) => void): void;
|
|
27931
|
+
dispatch(eventName: string, detail: any): void;
|
|
27932
|
+
remove(eventName: string, callback: (detail: any) => void): void;
|
|
27896
27933
|
};
|
|
27897
27934
|
|
|
27898
27935
|
declare function isBrowser(): boolean;
|
|
@@ -34074,6 +34111,12 @@ declare const makeGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) =>
|
|
|
34074
34111
|
'--gg-mobile': string | undefined;
|
|
34075
34112
|
};
|
|
34076
34113
|
};
|
|
34114
|
+
declare const makeGlobalSizeIcon: (globalSize?: ObjectDevices<SizeSettingGlobal>) => {
|
|
34115
|
+
width: Record<ResponsiveKey<"w">, string | number>;
|
|
34116
|
+
height: Record<ResponsiveKey<"h">, string | number>;
|
|
34117
|
+
minWidth: Record<ResponsiveKey<"minw">, string | number>;
|
|
34118
|
+
padding: React.CSSProperties;
|
|
34119
|
+
};
|
|
34077
34120
|
declare const getGlobalSizeGap: (globalSize?: ObjectDevices<SizeSettingGlobal>) => {
|
|
34078
34121
|
'--gg': string | undefined;
|
|
34079
34122
|
'--gg-tablet': string | undefined;
|
|
@@ -35740,6 +35783,7 @@ declare const useProductsQuery: (ids?: string[], options?: SWRConfiguration<Prod
|
|
|
35740
35783
|
allStatus?: boolean;
|
|
35741
35784
|
fetcher?: FetchFunc;
|
|
35742
35785
|
}) => swr__internal.SWRResponse<ProductsQueryResponse, any, Partial<swr__internal.PublicConfiguration<ProductsQueryResponse, any, (arg: ["query/products", FetchProductsParams]) => swr__internal.FetcherResponse<ProductsQueryResponse>>> | undefined>;
|
|
35786
|
+
declare const useProductsQueryAll: (variable?: VariableRelatedStyles | undefined, options?: SWRConfiguration<ProductsQueryResponse>) => swr__internal.SWRResponse<ProductsQueryResponse, any, Partial<swr__internal.PublicConfiguration<ProductsQueryResponse, any, (arg: ["query/products", any]) => swr__internal.FetcherResponse<ProductsQueryResponse>>> | undefined>;
|
|
35743
35787
|
|
|
35744
35788
|
declare const useCurrentDevice: () => NameDevices$1;
|
|
35745
35789
|
|
|
@@ -35902,4 +35946,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'name'
|
|
|
35902
35946
|
|
|
35903
35947
|
declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
|
|
35904
35948
|
|
|
35905
|
-
export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, appAPI as AppAPIType, Background, BaseProps, BasePropsWrap, BlockEntity, BogosWidgetType, 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, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DynamicCollection, DynamicProduct, ExtractState, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetType, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeCornerCss, composeFallbackTypographyStyle, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterCornerInStyle, filterToolbarPreview, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAspectRatioGlobalSize, getBgImageByDevice, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getPaddingGlobalSize, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleShadow, getStyleShadowState, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, shopifyPriceRounding, 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, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
|
35949
|
+
export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, appAPI as AppAPIType, Background, BaseProps, BasePropsWrap, BlockEntity, BogosWidgetType, 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, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DynamicCollection, DynamicProduct, ExtractState, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetType, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeCornerCss, composeFallbackTypographyStyle, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterCornerInStyle, filterToolbarPreview, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAspectRatioGlobalSize, getBgImageByDevice, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getPaddingGlobalSize, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleShadow, getStyleShadowState, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, shopifyPriceRounding, 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, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.41.0-staging.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"type-check": "yarn tsc --noEmit"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@gem-sdk/adapter-shopify": "1.40.
|
|
31
|
-
"@gem-sdk/styles": "1.
|
|
30
|
+
"@gem-sdk/adapter-shopify": "1.40.2-staging.4",
|
|
31
|
+
"@gem-sdk/styles": "1.41.0-staging.9"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"react-error-boundary": "4.0.10",
|