@gem-sdk/core 1.45.0 → 1.46.0-staging.1
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/components/ComponentToolbarPreview.js +2 -2
- package/dist/cjs/components/ai-generator/AIContentGenerator.js +1 -1
- package/dist/cjs/components/constant.js +4 -1
- package/dist/cjs/components/theme-section/ThemeSectionStatus.js +14 -5
- package/dist/cjs/contexts/BuilderPreviewContext.js +5 -1
- package/dist/cjs/contexts/ModalContext.js +2 -2
- package/dist/cjs/contexts/SectionContext.js +1 -0
- package/dist/cjs/helpers/colors.js +1 -1
- package/dist/cjs/helpers/size.js +4 -0
- package/dist/cjs/hooks/articles/useArticlesQuery.js +1 -0
- package/dist/cjs/index.js +1 -0
- package/dist/esm/components/ComponentToolbarPreview.js +3 -3
- package/dist/esm/components/ai-generator/AIContentGenerator.js +1 -1
- package/dist/esm/components/constant.js +4 -1
- package/dist/esm/components/theme-section/ThemeSectionStatus.js +14 -5
- package/dist/esm/contexts/BuilderPreviewContext.js +5 -1
- package/dist/esm/contexts/ModalContext.js +2 -2
- package/dist/esm/contexts/SectionContext.js +1 -0
- package/dist/esm/helpers/colors.js +1 -1
- package/dist/esm/helpers/size.js +4 -1
- package/dist/esm/hooks/articles/useArticlesQuery.js +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/types/index.d.ts +19 -2
- package/package.json +2 -2
|
@@ -562,7 +562,7 @@ const ComponentToolbarPreview = (props)=>{
|
|
|
562
562
|
})
|
|
563
563
|
]
|
|
564
564
|
}, props.uid),
|
|
565
|
-
isEnableCreateThemeSection() && getIndexSection() < SECTION_LIMIT && /*#__PURE__*/ jsxRuntime.jsx(ThemeSectionStatus.
|
|
565
|
+
isEnableCreateThemeSection() && getIndexSection() < SECTION_LIMIT && /*#__PURE__*/ jsxRuntime.jsx(ThemeSectionStatus.ThemeSectionStatusWrapper, {
|
|
566
566
|
...props
|
|
567
567
|
}),
|
|
568
568
|
/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
@@ -625,6 +625,6 @@ const ComponentToolbarPreview = (props)=>{
|
|
|
625
625
|
]
|
|
626
626
|
});
|
|
627
627
|
};
|
|
628
|
-
var ComponentToolbarPreview$1 = /*#__PURE__*/ react.memo(ComponentToolbarPreview);
|
|
628
|
+
var ComponentToolbarPreview$1 = /*#__PURE__*/ react.memo(ComponentToolbarPreview); /* gem-lint/disallow-import-from-package-path */
|
|
629
629
|
|
|
630
630
|
exports.default = ComponentToolbarPreview$1;
|
|
@@ -111,7 +111,7 @@ const AIContentGenerator = ({ ...props })=>{
|
|
|
111
111
|
className: "gp-gen-content-toolbar gp-border-r-[#6a6a6a] gp-border-r gp-pr-1 gp-mr-1",
|
|
112
112
|
children: /*#__PURE__*/ jsxRuntime.jsxs("button", {
|
|
113
113
|
className: classNames({
|
|
114
|
-
'gp-
|
|
114
|
+
'gp-toolbar-ai-active': isShowPopup
|
|
115
115
|
}, 'gp-p-1 gp-text-xs gp-flex gp-gap-1 gp-items-center gp-rounded-md hover:gp-bg-[#3B3B3B] gp-font-medium'),
|
|
116
116
|
onClick: togglePopup,
|
|
117
117
|
children: [
|
|
@@ -2,8 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
|
|
5
|
-
const
|
|
6
|
-
|
|
5
|
+
const getStatusMessage = (status)=>{
|
|
6
|
+
switch(status){
|
|
7
|
+
case 'DRAFT':
|
|
8
|
+
return 'This Theme Section is Draft. Publish page will also publish Theme Section.';
|
|
9
|
+
case 'NEED_PUBLISHING':
|
|
10
|
+
return 'Need to republish. Go to global edit and publish this section';
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
const ThemeSectionStatusWrapper = ({ tag, status, isThemeSection })=>{
|
|
14
|
+
const isRenderThemeSectionStatus = tag === 'Section' && isThemeSection && (status === 'DRAFT' || status === 'NEED_PUBLISHING');
|
|
15
|
+
const statusMessage = getStatusMessage(status);
|
|
7
16
|
return /*#__PURE__*/ jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
8
17
|
children: isRenderThemeSectionStatus && /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
9
18
|
"data-theme-section-status": true,
|
|
@@ -24,13 +33,13 @@ const ThemeSectionStatus = ({ ...props })=>{
|
|
|
24
33
|
})
|
|
25
34
|
})
|
|
26
35
|
}),
|
|
27
|
-
/*#__PURE__*/ jsxRuntime.jsx("span", {
|
|
36
|
+
statusMessage && /*#__PURE__*/ jsxRuntime.jsx("span", {
|
|
28
37
|
"data-theme-section-status-text": true,
|
|
29
|
-
children:
|
|
38
|
+
children: statusMessage
|
|
30
39
|
})
|
|
31
40
|
]
|
|
32
41
|
})
|
|
33
42
|
});
|
|
34
43
|
};
|
|
35
44
|
|
|
36
|
-
exports.
|
|
45
|
+
exports.ThemeSectionStatusWrapper = ThemeSectionStatusWrapper;
|
|
@@ -254,7 +254,11 @@ const createBuilderPreviewProvider = (args, pageName, isThemeSectionEditor)=>zus
|
|
|
254
254
|
}
|
|
255
255
|
},
|
|
256
256
|
getItem: (id)=>{
|
|
257
|
-
|
|
257
|
+
const item = get().state[id];
|
|
258
|
+
return {
|
|
259
|
+
...item,
|
|
260
|
+
rawChildrens: item?.childrens?.map((v)=>get().state[v])
|
|
261
|
+
};
|
|
258
262
|
},
|
|
259
263
|
removeItem: (id)=>{
|
|
260
264
|
if (id === 'ROOT') {
|
|
@@ -7,8 +7,8 @@ var zustand = require('zustand');
|
|
|
7
7
|
const ModalContext = /*#__PURE__*/ react.createContext(null);
|
|
8
8
|
const createModalProvider = (data)=>zustand.createStore((set)=>({
|
|
9
9
|
activeId: data,
|
|
10
|
-
setModalActive: (id)=>{
|
|
11
|
-
window?.parent?.postMessage?.(JSON.stringify({
|
|
10
|
+
setModalActive: (id, postMessage)=>{
|
|
11
|
+
postMessage && window?.parent?.postMessage?.(JSON.stringify({
|
|
12
12
|
type: 'active-element',
|
|
13
13
|
uid: id
|
|
14
14
|
}), '*');
|
|
@@ -10,6 +10,7 @@ const SectionContext = /*#__PURE__*/ react.createContext(null);
|
|
|
10
10
|
const createSectionProvider = (data)=>zustand.createStore((set, get)=>({
|
|
11
11
|
data: data ?? {},
|
|
12
12
|
getSection: (id)=>{
|
|
13
|
+
console.log('get().data', get().data);
|
|
13
14
|
const section = get().data[id];
|
|
14
15
|
return section ?? undefined;
|
|
15
16
|
},
|
|
@@ -156,7 +156,7 @@ const getSingleColorVariable = (color)=>{
|
|
|
156
156
|
};
|
|
157
157
|
function isColor(color) {
|
|
158
158
|
if (!color || typeof color !== 'string') return false;
|
|
159
|
-
return color?.startsWith('#') || color?.startsWith('rgb') || color?.startsWith('hsl') || color?.startsWith('transparent');
|
|
159
|
+
return color?.startsWith('#') || color?.startsWith('rgb') || color?.startsWith('hsl') || color?.startsWith('transparent') || color?.startsWith('linear-gradient');
|
|
160
160
|
}
|
|
161
161
|
const getGlobalColorStyle = (data)=>{
|
|
162
162
|
if (!data) return {};
|
package/dist/cjs/helpers/size.js
CHANGED
|
@@ -181,6 +181,9 @@ function getCustomPaddingSizeCSSByDevice(globalSize, device) {
|
|
|
181
181
|
const getPaddingGlobalSize = (globalSize)=>{
|
|
182
182
|
return Object.assign({}, getCustomPaddingSizeCSSByDevice(globalSize, 'desktop'), getCustomPaddingSizeCSSByDevice(globalSize, 'tablet'), getCustomPaddingSizeCSSByDevice(globalSize, 'mobile'));
|
|
183
183
|
};
|
|
184
|
+
const getValueByDevice = (value, device)=>{
|
|
185
|
+
return value?.[device] === undefined ? value?.desktop === undefined ? value?.tablet : value?.desktop : value?.[device];
|
|
186
|
+
};
|
|
184
187
|
|
|
185
188
|
exports.composeSize = composeSize;
|
|
186
189
|
exports.composeSizeCss = composeSizeCss;
|
|
@@ -189,6 +192,7 @@ exports.getAspectRatioGlobalSize = getAspectRatioGlobalSize;
|
|
|
189
192
|
exports.getGlobalSizeGap = getGlobalSizeGap;
|
|
190
193
|
exports.getHeightByShapeGlobalSize = getHeightByShapeGlobalSize;
|
|
191
194
|
exports.getPaddingGlobalSize = getPaddingGlobalSize;
|
|
195
|
+
exports.getValueByDevice = getValueByDevice;
|
|
192
196
|
exports.getWidthByShapeGlobalSize = getWidthByShapeGlobalSize;
|
|
193
197
|
exports.getWidthHeightGlobalSize = getWidthHeightGlobalSize;
|
|
194
198
|
exports.makeGlobalSize = makeGlobalSize;
|
package/dist/cjs/index.js
CHANGED
|
@@ -272,6 +272,7 @@ exports.getAspectRatioGlobalSize = size.getAspectRatioGlobalSize;
|
|
|
272
272
|
exports.getGlobalSizeGap = size.getGlobalSizeGap;
|
|
273
273
|
exports.getHeightByShapeGlobalSize = size.getHeightByShapeGlobalSize;
|
|
274
274
|
exports.getPaddingGlobalSize = size.getPaddingGlobalSize;
|
|
275
|
+
exports.getValueByDevice = size.getValueByDevice;
|
|
275
276
|
exports.getWidthByShapeGlobalSize = size.getWidthByShapeGlobalSize;
|
|
276
277
|
exports.getWidthHeightGlobalSize = size.getWidthHeightGlobalSize;
|
|
277
278
|
exports.makeGlobalSize = size.makeGlobalSize;
|
|
@@ -11,7 +11,7 @@ import 'vanilla-lazyload';
|
|
|
11
11
|
import '../hooks/useCartUI.js';
|
|
12
12
|
import { CreateThemeSection } from './theme-section/CreateThemeSection.js';
|
|
13
13
|
import Tooltip from './toolbar/Tooltip.js';
|
|
14
|
-
import {
|
|
14
|
+
import { ThemeSectionStatusWrapper } from './theme-section/ThemeSectionStatus.js';
|
|
15
15
|
import Resize from './resize/Resize.js';
|
|
16
16
|
import { usePostPurchase } from '../hooks/useToolbarPostPurchase.js';
|
|
17
17
|
import { ableGenerateContentElements } from './constant.js';
|
|
@@ -558,7 +558,7 @@ const ComponentToolbarPreview = (props)=>{
|
|
|
558
558
|
})
|
|
559
559
|
]
|
|
560
560
|
}, props.uid),
|
|
561
|
-
isEnableCreateThemeSection() && getIndexSection() < SECTION_LIMIT && /*#__PURE__*/ jsx(
|
|
561
|
+
isEnableCreateThemeSection() && getIndexSection() < SECTION_LIMIT && /*#__PURE__*/ jsx(ThemeSectionStatusWrapper, {
|
|
562
562
|
...props
|
|
563
563
|
}),
|
|
564
564
|
/*#__PURE__*/ jsx("div", {
|
|
@@ -621,6 +621,6 @@ const ComponentToolbarPreview = (props)=>{
|
|
|
621
621
|
]
|
|
622
622
|
});
|
|
623
623
|
};
|
|
624
|
-
var ComponentToolbarPreview$1 = /*#__PURE__*/ memo(ComponentToolbarPreview);
|
|
624
|
+
var ComponentToolbarPreview$1 = /*#__PURE__*/ memo(ComponentToolbarPreview); /* gem-lint/disallow-import-from-package-path */
|
|
625
625
|
|
|
626
626
|
export { ComponentToolbarPreview$1 as default };
|
|
@@ -109,7 +109,7 @@ const AIContentGenerator = ({ ...props })=>{
|
|
|
109
109
|
className: "gp-gen-content-toolbar gp-border-r-[#6a6a6a] gp-border-r gp-pr-1 gp-mr-1",
|
|
110
110
|
children: /*#__PURE__*/ jsxs("button", {
|
|
111
111
|
className: classNames({
|
|
112
|
-
'gp-
|
|
112
|
+
'gp-toolbar-ai-active': isShowPopup
|
|
113
113
|
}, 'gp-p-1 gp-text-xs gp-flex gp-gap-1 gp-items-center gp-rounded-md hover:gp-bg-[#3B3B3B] gp-font-medium'),
|
|
114
114
|
onClick: togglePopup,
|
|
115
115
|
children: [
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
|
|
3
|
+
const getStatusMessage = (status)=>{
|
|
4
|
+
switch(status){
|
|
5
|
+
case 'DRAFT':
|
|
6
|
+
return 'This Theme Section is Draft. Publish page will also publish Theme Section.';
|
|
7
|
+
case 'NEED_PUBLISHING':
|
|
8
|
+
return 'Need to republish. Go to global edit and publish this section';
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
const ThemeSectionStatusWrapper = ({ tag, status, isThemeSection })=>{
|
|
12
|
+
const isRenderThemeSectionStatus = tag === 'Section' && isThemeSection && (status === 'DRAFT' || status === 'NEED_PUBLISHING');
|
|
13
|
+
const statusMessage = getStatusMessage(status);
|
|
5
14
|
return /*#__PURE__*/ jsx(Fragment, {
|
|
6
15
|
children: isRenderThemeSectionStatus && /*#__PURE__*/ jsxs("div", {
|
|
7
16
|
"data-theme-section-status": true,
|
|
@@ -22,13 +31,13 @@ const ThemeSectionStatus = ({ ...props })=>{
|
|
|
22
31
|
})
|
|
23
32
|
})
|
|
24
33
|
}),
|
|
25
|
-
/*#__PURE__*/ jsx("span", {
|
|
34
|
+
statusMessage && /*#__PURE__*/ jsx("span", {
|
|
26
35
|
"data-theme-section-status-text": true,
|
|
27
|
-
children:
|
|
36
|
+
children: statusMessage
|
|
28
37
|
})
|
|
29
38
|
]
|
|
30
39
|
})
|
|
31
40
|
});
|
|
32
41
|
};
|
|
33
42
|
|
|
34
|
-
export {
|
|
43
|
+
export { ThemeSectionStatusWrapper };
|
|
@@ -252,7 +252,11 @@ const createBuilderPreviewProvider = (args, pageName, isThemeSectionEditor)=>cre
|
|
|
252
252
|
}
|
|
253
253
|
},
|
|
254
254
|
getItem: (id)=>{
|
|
255
|
-
|
|
255
|
+
const item = get().state[id];
|
|
256
|
+
return {
|
|
257
|
+
...item,
|
|
258
|
+
rawChildrens: item?.childrens?.map((v)=>get().state[v])
|
|
259
|
+
};
|
|
256
260
|
},
|
|
257
261
|
removeItem: (id)=>{
|
|
258
262
|
if (id === 'ROOT') {
|
|
@@ -5,8 +5,8 @@ import { useStore, createStore } from 'zustand';
|
|
|
5
5
|
const ModalContext = /*#__PURE__*/ createContext(null);
|
|
6
6
|
const createModalProvider = (data)=>createStore((set)=>({
|
|
7
7
|
activeId: data,
|
|
8
|
-
setModalActive: (id)=>{
|
|
9
|
-
window?.parent?.postMessage?.(JSON.stringify({
|
|
8
|
+
setModalActive: (id, postMessage)=>{
|
|
9
|
+
postMessage && window?.parent?.postMessage?.(JSON.stringify({
|
|
10
10
|
type: 'active-element',
|
|
11
11
|
uid: id
|
|
12
12
|
}), '*');
|
|
@@ -8,6 +8,7 @@ const SectionContext = /*#__PURE__*/ createContext(null);
|
|
|
8
8
|
const createSectionProvider = (data)=>createStore((set, get)=>({
|
|
9
9
|
data: data ?? {},
|
|
10
10
|
getSection: (id)=>{
|
|
11
|
+
console.log('get().data', get().data);
|
|
11
12
|
const section = get().data[id];
|
|
12
13
|
return section ?? undefined;
|
|
13
14
|
},
|
|
@@ -154,7 +154,7 @@ const getSingleColorVariable = (color)=>{
|
|
|
154
154
|
};
|
|
155
155
|
function isColor(color) {
|
|
156
156
|
if (!color || typeof color !== 'string') return false;
|
|
157
|
-
return color?.startsWith('#') || color?.startsWith('rgb') || color?.startsWith('hsl') || color?.startsWith('transparent');
|
|
157
|
+
return color?.startsWith('#') || color?.startsWith('rgb') || color?.startsWith('hsl') || color?.startsWith('transparent') || color?.startsWith('linear-gradient');
|
|
158
158
|
}
|
|
159
159
|
const getGlobalColorStyle = (data)=>{
|
|
160
160
|
if (!data) return {};
|
package/dist/esm/helpers/size.js
CHANGED
|
@@ -179,5 +179,8 @@ function getCustomPaddingSizeCSSByDevice(globalSize, device) {
|
|
|
179
179
|
const getPaddingGlobalSize = (globalSize)=>{
|
|
180
180
|
return Object.assign({}, getCustomPaddingSizeCSSByDevice(globalSize, 'desktop'), getCustomPaddingSizeCSSByDevice(globalSize, 'tablet'), getCustomPaddingSizeCSSByDevice(globalSize, 'mobile'));
|
|
181
181
|
};
|
|
182
|
+
const getValueByDevice = (value, device)=>{
|
|
183
|
+
return value?.[device] === undefined ? value?.desktop === undefined ? value?.tablet : value?.desktop : value?.[device];
|
|
184
|
+
};
|
|
182
185
|
|
|
183
|
-
export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault };
|
|
186
|
+
export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault };
|
package/dist/esm/index.js
CHANGED
|
@@ -66,7 +66,7 @@ export { generateCollectionQueryKey, generateProductQueryKey, generateProductsQu
|
|
|
66
66
|
export { composeCornerCss, composeRadius, composeRadiusResponsive, getCornerCSSFromGlobal, getCustomRadius, getRadiusCSSFromGlobal, getRadiusStyleActiveState } from './helpers/radius.js';
|
|
67
67
|
export { RenderIf, composeMemo, dataStringify, props, removeUndefinedValuesFromObject, styles, template } from './helpers/render.js';
|
|
68
68
|
export { composeShadowCss, getStyleShadow, getStyleShadowState, parseValueWithUnit } from './helpers/shadow.js';
|
|
69
|
-
export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault } from './helpers/size.js';
|
|
69
|
+
export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault } from './helpers/size.js';
|
|
70
70
|
export { composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, genTypoClass } from './helpers/typography.js';
|
|
71
71
|
export { useAddToCart } from './hooks/cart/use-add-to-cart.js';
|
|
72
72
|
export { useCartData } from './hooks/cart/use-cart-data.js';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -6709,6 +6709,7 @@ type BlockEntity = {
|
|
|
6709
6709
|
name?: string;
|
|
6710
6710
|
dateModified?: string | number;
|
|
6711
6711
|
childrens?: string[];
|
|
6712
|
+
rawChildrens?: BlockEntity[];
|
|
6712
6713
|
settings?: Record<string, any>;
|
|
6713
6714
|
advanced?: Record<string, any>;
|
|
6714
6715
|
styles?: Record<string, any>;
|
|
@@ -6716,6 +6717,7 @@ type BlockEntity = {
|
|
|
6716
6717
|
type?: 'component';
|
|
6717
6718
|
isThemeSection?: boolean;
|
|
6718
6719
|
needPublishing?: boolean;
|
|
6720
|
+
status?: ThemeSectionStatus$1;
|
|
6719
6721
|
isShopifySection?: boolean;
|
|
6720
6722
|
isShopifyVisibility?: boolean;
|
|
6721
6723
|
};
|
|
@@ -6726,10 +6728,12 @@ type SectionEntity = {
|
|
|
6726
6728
|
type: 'section';
|
|
6727
6729
|
name?: string;
|
|
6728
6730
|
isThemeSection?: boolean;
|
|
6731
|
+
status?: ThemeSectionStatus$1;
|
|
6729
6732
|
needPublishing?: boolean;
|
|
6730
6733
|
isShopifySection?: boolean;
|
|
6731
6734
|
isShopifyVisibility?: boolean;
|
|
6732
6735
|
};
|
|
6736
|
+
type ThemeSectionStatus$1 = 'DRAFT' | 'PUBLISHED' | 'NEED_PUBLISHING';
|
|
6733
6737
|
type BuilderEntity = BlockEntity | SectionEntity;
|
|
6734
6738
|
type BuilderEntityNested = Omit<BlockEntity, 'childrens'> & {
|
|
6735
6739
|
childrens?: BuilderEntityNested[];
|
|
@@ -6782,6 +6786,12 @@ type SaleFunnelDiscountEdge$1 = {
|
|
|
6782
6786
|
type ProductOffer = Maybe$1<Pick<SaleFunnelDiscountEdge$1, 'cursor'> & {
|
|
6783
6787
|
node?: Maybe$1<Pick<SaleFunnelDiscount$1, 'id' | 'value' | 'type' | 'position' | 'objectBaseID' | 'objectType' | 'title' | 'valueType' | 'isEnabled'>>;
|
|
6784
6788
|
}>;
|
|
6789
|
+
type RawChild = {
|
|
6790
|
+
uid: string;
|
|
6791
|
+
builder: Record<string, any>;
|
|
6792
|
+
components: Record<string, any>;
|
|
6793
|
+
[key: string]: any;
|
|
6794
|
+
};
|
|
6785
6795
|
|
|
6786
6796
|
type InitComponentType<T = any> = {
|
|
6787
6797
|
[K in keyof T]-?: {
|
|
@@ -7224,6 +7234,7 @@ type RangeControlType<T> = SharedControlType<T> & {
|
|
|
7224
7234
|
disableOnChange?: boolean;
|
|
7225
7235
|
useOnlyUnitInit?: boolean;
|
|
7226
7236
|
hideUnit?: boolean;
|
|
7237
|
+
hideInput?: boolean;
|
|
7227
7238
|
} & OnlyOne<{
|
|
7228
7239
|
minRelated?: string;
|
|
7229
7240
|
}, {
|
|
@@ -7302,11 +7313,13 @@ type Option$2<T> = {
|
|
|
7302
7313
|
svgIcon?: string;
|
|
7303
7314
|
tooltip?: string;
|
|
7304
7315
|
type?: string;
|
|
7316
|
+
note?: string;
|
|
7305
7317
|
};
|
|
7306
7318
|
type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
7307
7319
|
id: K;
|
|
7308
7320
|
label?: string;
|
|
7309
7321
|
info?: string;
|
|
7322
|
+
isFullWidth?: boolean;
|
|
7310
7323
|
hyperlinkInfo?: HyperlinkInfo;
|
|
7311
7324
|
hideOnMode?: {
|
|
7312
7325
|
responsive?: boolean;
|
|
@@ -7343,6 +7356,7 @@ type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7343
7356
|
type: 'select';
|
|
7344
7357
|
options: Option$2<T>[];
|
|
7345
7358
|
default?: T;
|
|
7359
|
+
isFullWidth?: boolean;
|
|
7346
7360
|
};
|
|
7347
7361
|
type SelectControlType<T> = {
|
|
7348
7362
|
[K in keyof T]-?: Mapped$3<K, T[K]>;
|
|
@@ -8096,6 +8110,7 @@ type ControlUI = {
|
|
|
8096
8110
|
mobile?: boolean;
|
|
8097
8111
|
};
|
|
8098
8112
|
hideOnPages?: PageType[];
|
|
8113
|
+
itemSpacing?: 'small' | 'medium' | 'large';
|
|
8099
8114
|
};
|
|
8100
8115
|
isMoreSetting?: boolean;
|
|
8101
8116
|
hiddenDivice?: boolean;
|
|
@@ -8124,6 +8139,7 @@ type ComponentPreset = {
|
|
|
8124
8139
|
};
|
|
8125
8140
|
components: InitComponentType[];
|
|
8126
8141
|
hideTextContent?: boolean;
|
|
8142
|
+
flowTagComponents?: Record<string, InitComponentType[]>;
|
|
8127
8143
|
};
|
|
8128
8144
|
|
|
8129
8145
|
type PageContext = {
|
|
@@ -28850,7 +28866,7 @@ declare const useCollectionStore: <U>(selector: (state: ExtractState<StoreApi<Co
|
|
|
28850
28866
|
|
|
28851
28867
|
type ModalContextProps = {
|
|
28852
28868
|
activeId?: string;
|
|
28853
|
-
setModalActive: (id?: string) => void;
|
|
28869
|
+
setModalActive: (id?: string, postMessage?: boolean) => void;
|
|
28854
28870
|
clearModal: () => void;
|
|
28855
28871
|
};
|
|
28856
28872
|
type ModalProviderProps = Pick<ModalContextProps, 'activeId'> & {
|
|
@@ -35518,6 +35534,7 @@ declare const getHeightByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSet
|
|
|
35518
35534
|
declare const getWidthByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>, defaultAuto?: boolean) => Partial<Record<NameDevices$1, string>>;
|
|
35519
35535
|
declare const getAspectRatioGlobalSize: (shape?: ObjectDevices<SizeSettingGlobal>) => ObjectDevices<string>;
|
|
35520
35536
|
declare const getPaddingGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) => React.CSSProperties;
|
|
35537
|
+
declare const getValueByDevice: <T>(value: any, device: NameDevices$1) => T;
|
|
35521
35538
|
|
|
35522
35539
|
type TypographyClass = `gp-g-${TypographyType}`;
|
|
35523
35540
|
declare const genTypoClass: (name: TypographyType) => TypographyClass;
|
|
@@ -37326,4 +37343,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'name'
|
|
|
37326
37343
|
|
|
37327
37344
|
declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
|
|
37328
37345
|
|
|
37329
|
-
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, ArticleListProvider, ArticleListProviderProps, ArticleProvider, ArticleProviderProps, 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, OnlyOne, 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, composeFontFamilyTypographyV2, 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, getBorderRadiusStyle, 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, getStyleBgColor, 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, useArticleListStore, useArticleStore, useArticlesQuery, useBlogsQuery, 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 };
|
|
37346
|
+
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, ArticleListProvider, ArticleListProviderProps, ArticleProvider, ArticleProviderProps, 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, OnlyOne, 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, RawChild, 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, ThemeSectionStatus$1 as ThemeSectionStatus, 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, composeFontFamilyTypographyV2, 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, getBorderRadiusStyle, 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, getStyleBgColor, getStyleShadow, getStyleShadowState, getValueByDevice, 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, useArticleListStore, useArticleStore, useArticlesQuery, useBlogsQuery, 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.46.0-staging.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@gem-sdk/adapter-shopify": "1.45.0",
|
|
31
|
-
"@gem-sdk/styles": "1.
|
|
31
|
+
"@gem-sdk/styles": "1.46.0-staging.1",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|