@gem-sdk/core 1.25.26 → 1.25.29
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 +12 -1
- package/dist/cjs/components/ComponentWrapperPreview.js +7 -2
- package/dist/cjs/components/Render.liquid.js +5 -1
- package/dist/cjs/helpers/icon-list.js +61 -0
- package/dist/cjs/index.js +3 -0
- package/dist/cjs/web-components/src/helpers/styles/constant.js +9 -0
- package/dist/esm/components/ComponentToolbarPreview.js +12 -1
- package/dist/esm/components/ComponentWrapperPreview.js +7 -2
- package/dist/esm/components/Render.liquid.js +5 -1
- package/dist/esm/helpers/icon-list.js +58 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/web-components/src/helpers/styles/constant.js +7 -0
- package/dist/types/index.d.ts +65 -29
- package/package.json +2 -2
|
@@ -160,6 +160,17 @@ const ComponentToolbarPreview = ({ ...props })=>{
|
|
|
160
160
|
window.dispatchEvent(event);
|
|
161
161
|
return false;
|
|
162
162
|
};
|
|
163
|
+
const toolbarName = ()=>{
|
|
164
|
+
const tag = props.tag;
|
|
165
|
+
if (tag === 'IconListV2') {
|
|
166
|
+
return 'Item list';
|
|
167
|
+
}
|
|
168
|
+
if (tag === 'IconList') {
|
|
169
|
+
return 'Advanced list';
|
|
170
|
+
}
|
|
171
|
+
const name = props.customLabel || props.label;
|
|
172
|
+
return name;
|
|
173
|
+
};
|
|
163
174
|
const onZoomOut = (e)=>{
|
|
164
175
|
e.preventDefault();
|
|
165
176
|
e.stopPropagation();
|
|
@@ -252,7 +263,7 @@ const ComponentToolbarPreview = ({ ...props })=>{
|
|
|
252
263
|
children: isThemeSection ? props.name : `Section ${getIndexSection() + 1}${getSectionNumber() >= SECTION_LIMIT - 5 ? `/${SECTION_LIMIT}` : ''}`
|
|
253
264
|
}) : /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
254
265
|
"data-toolbar-name": true,
|
|
255
|
-
children:
|
|
266
|
+
children: toolbarName()
|
|
256
267
|
}),
|
|
257
268
|
props.tag !== 'Section' && parents.length > 0 && /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
258
269
|
"data-toolbar-icon-parent": true,
|
|
@@ -106,11 +106,16 @@ const ComponentWrapperPreview = ({ children, ...props })=>{
|
|
|
106
106
|
advanced: advanced
|
|
107
107
|
}),
|
|
108
108
|
/*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
109
|
-
style: style,
|
|
109
|
+
style: !props.editorConfigs?.component?.excludeApplyStyle ? style : {},
|
|
110
110
|
className: `${props.uid} ${props.advanced?.cssClass ? props.advanced?.cssClass : ''}`,
|
|
111
111
|
...builderAttrs,
|
|
112
112
|
children: [
|
|
113
|
-
children,
|
|
113
|
+
!props.editorConfigs?.component?.validate && children,
|
|
114
|
+
/*#__PURE__*/ react.isValidElement(children) && props.editorConfigs?.component?.validate && /*#__PURE__*/ jsxRuntime.jsx(children.type, {
|
|
115
|
+
...children.props,
|
|
116
|
+
style,
|
|
117
|
+
advanced
|
|
118
|
+
}),
|
|
114
119
|
/*#__PURE__*/ jsxRuntime.jsx(ComponentToolbarPreview.ComponentToolbarPreview, {
|
|
115
120
|
...props
|
|
116
121
|
})
|
|
@@ -24,6 +24,9 @@ const componentTexts = [
|
|
|
24
24
|
'Text',
|
|
25
25
|
'Heading'
|
|
26
26
|
];
|
|
27
|
+
const componentIconList = [
|
|
28
|
+
'IconListV2'
|
|
29
|
+
];
|
|
27
30
|
const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, ...passProps })=>{
|
|
28
31
|
const item = builder[uid];
|
|
29
32
|
const Component = components[item?.tag];
|
|
@@ -104,7 +107,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
104
107
|
});
|
|
105
108
|
});
|
|
106
109
|
} else {
|
|
107
|
-
liquid = render.template`<div style="${style}" class="${item.uid} ${!item?.childrens?.length && item.tag === 'IconListItemHoz' ? 'hidden' : ''}">
|
|
110
|
+
liquid = render.template`<div style="${!componentIconList.includes(item.tag) ? style : ''}" class="${item.uid} ${!item?.childrens?.length && item.tag === 'IconListItemHoz' ? 'hidden' : ''}">
|
|
108
111
|
${render.RenderIf(item?.childrens?.length, ()=>{
|
|
109
112
|
return Component({
|
|
110
113
|
builderProps: {
|
|
@@ -153,6 +156,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
153
156
|
},
|
|
154
157
|
pageContext,
|
|
155
158
|
isText: componentTexts.includes(item.tag) ? true : null,
|
|
159
|
+
style: componentIconList.includes(item.tag) ? style : null,
|
|
156
160
|
...passProps
|
|
157
161
|
});
|
|
158
162
|
})}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var constant = require('../web-components/src/helpers/styles/constant.js');
|
|
4
|
+
|
|
5
|
+
const TEXT_TOTAL_SPACING = 3; //Padding 2, margin 1
|
|
6
|
+
const composePostionIconList = (lineHeight, position, iconWidth)=>{
|
|
7
|
+
const compose = {};
|
|
8
|
+
composePositionLineHeight({
|
|
9
|
+
compose,
|
|
10
|
+
lineHeight,
|
|
11
|
+
device: 'desktop',
|
|
12
|
+
position,
|
|
13
|
+
iconWidth
|
|
14
|
+
});
|
|
15
|
+
composePositionLineHeight({
|
|
16
|
+
compose,
|
|
17
|
+
lineHeight,
|
|
18
|
+
device: 'tablet',
|
|
19
|
+
position,
|
|
20
|
+
iconWidth
|
|
21
|
+
});
|
|
22
|
+
composePositionLineHeight({
|
|
23
|
+
compose,
|
|
24
|
+
lineHeight,
|
|
25
|
+
device: 'mobile',
|
|
26
|
+
position,
|
|
27
|
+
iconWidth
|
|
28
|
+
});
|
|
29
|
+
return compose;
|
|
30
|
+
};
|
|
31
|
+
const composePositionLineHeight = ({ compose, lineHeight, device, position, iconWidth })=>{
|
|
32
|
+
const positionDevice = position?.[device];
|
|
33
|
+
const iconWidthDevice = iconWidth?.[device];
|
|
34
|
+
if (positionDevice) {
|
|
35
|
+
const suffix = constant.devicesMapping[device] ?? '';
|
|
36
|
+
if (positionDevice === 'center') {
|
|
37
|
+
compose.wrapper = {
|
|
38
|
+
...compose.wrapper,
|
|
39
|
+
[`--ai${suffix}`]: 'center'
|
|
40
|
+
};
|
|
41
|
+
compose.content = {
|
|
42
|
+
...compose.content,
|
|
43
|
+
[`--pos${suffix}`]: 'static'
|
|
44
|
+
};
|
|
45
|
+
} else if (iconWidthDevice) {
|
|
46
|
+
const computedTop = parseFloat(lineHeight.replaceAll(/[a-zA-Z]/g, '')) / 2 + TEXT_TOTAL_SPACING - iconWidthDevice / 2;
|
|
47
|
+
compose.wrapper = {
|
|
48
|
+
...compose.wrapper,
|
|
49
|
+
[`--ai${suffix}`]: 'flex-start'
|
|
50
|
+
};
|
|
51
|
+
compose.content = {
|
|
52
|
+
...compose.content,
|
|
53
|
+
[`--top${suffix}`]: `${Math.max(0, Math.ceil(computedTop))}px`,
|
|
54
|
+
[`--pos${suffix}`]: 'relative'
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
exports.composePositionLineHeight = composePositionLineHeight;
|
|
61
|
+
exports.composePostionIconList = composePostionIconList;
|
package/dist/cjs/index.js
CHANGED
|
@@ -57,6 +57,7 @@ var shadow = require('./helpers/shadow.js');
|
|
|
57
57
|
var background = require('./helpers/background.js');
|
|
58
58
|
var query = require('./helpers/query.js');
|
|
59
59
|
var composeAdvanceStyle = require('./helpers/compose-advance-style.js');
|
|
60
|
+
var iconList = require('./helpers/icon-list.js');
|
|
60
61
|
var useAddToCart = require('./hooks/cart/use-add-to-cart.js');
|
|
61
62
|
var useCartData = require('./hooks/cart/use-cart-data.js');
|
|
62
63
|
var useCartDiscountCodesUpdate = require('./hooks/cart/use-cart-discount-codes-update.js');
|
|
@@ -240,6 +241,8 @@ exports.generateProductQueryKey = query.generateProductQueryKey;
|
|
|
240
241
|
exports.generateProductsQueryKey = query.generateProductsQueryKey;
|
|
241
242
|
exports.composeAdvanceStyle = composeAdvanceStyle.composeAdvanceStyle;
|
|
242
243
|
exports.splitStyle = composeAdvanceStyle.splitStyle;
|
|
244
|
+
exports.composePositionLineHeight = iconList.composePositionLineHeight;
|
|
245
|
+
exports.composePostionIconList = iconList.composePostionIconList;
|
|
243
246
|
exports.useAddToCart = useAddToCart.useAddToCart;
|
|
244
247
|
exports.useCartData = useCartData.useCartData;
|
|
245
248
|
exports.useCartDiscountCodesUpdate = useCartDiscountCodesUpdate.useCartDiscountCodesUpdate;
|
|
@@ -158,6 +158,17 @@ const ComponentToolbarPreview = ({ ...props })=>{
|
|
|
158
158
|
window.dispatchEvent(event);
|
|
159
159
|
return false;
|
|
160
160
|
};
|
|
161
|
+
const toolbarName = ()=>{
|
|
162
|
+
const tag = props.tag;
|
|
163
|
+
if (tag === 'IconListV2') {
|
|
164
|
+
return 'Item list';
|
|
165
|
+
}
|
|
166
|
+
if (tag === 'IconList') {
|
|
167
|
+
return 'Advanced list';
|
|
168
|
+
}
|
|
169
|
+
const name = props.customLabel || props.label;
|
|
170
|
+
return name;
|
|
171
|
+
};
|
|
161
172
|
const onZoomOut = (e)=>{
|
|
162
173
|
e.preventDefault();
|
|
163
174
|
e.stopPropagation();
|
|
@@ -250,7 +261,7 @@ const ComponentToolbarPreview = ({ ...props })=>{
|
|
|
250
261
|
children: isThemeSection ? props.name : `Section ${getIndexSection() + 1}${getSectionNumber() >= SECTION_LIMIT - 5 ? `/${SECTION_LIMIT}` : ''}`
|
|
251
262
|
}) : /*#__PURE__*/ jsx("div", {
|
|
252
263
|
"data-toolbar-name": true,
|
|
253
|
-
children:
|
|
264
|
+
children: toolbarName()
|
|
254
265
|
}),
|
|
255
266
|
props.tag !== 'Section' && parents.length > 0 && /*#__PURE__*/ jsx("div", {
|
|
256
267
|
"data-toolbar-icon-parent": true,
|
|
@@ -102,11 +102,16 @@ const ComponentWrapperPreview = ({ children, ...props })=>{
|
|
|
102
102
|
advanced: advanced
|
|
103
103
|
}),
|
|
104
104
|
/*#__PURE__*/ jsxs("div", {
|
|
105
|
-
style: style,
|
|
105
|
+
style: !props.editorConfigs?.component?.excludeApplyStyle ? style : {},
|
|
106
106
|
className: `${props.uid} ${props.advanced?.cssClass ? props.advanced?.cssClass : ''}`,
|
|
107
107
|
...builderAttrs,
|
|
108
108
|
children: [
|
|
109
|
-
children,
|
|
109
|
+
!props.editorConfigs?.component?.validate && children,
|
|
110
|
+
/*#__PURE__*/ isValidElement(children) && props.editorConfigs?.component?.validate && /*#__PURE__*/ jsx(children.type, {
|
|
111
|
+
...children.props,
|
|
112
|
+
style,
|
|
113
|
+
advanced
|
|
114
|
+
}),
|
|
110
115
|
/*#__PURE__*/ jsx(ComponentToolbarPreview, {
|
|
111
116
|
...props
|
|
112
117
|
})
|
|
@@ -20,6 +20,9 @@ const componentTexts = [
|
|
|
20
20
|
'Text',
|
|
21
21
|
'Heading'
|
|
22
22
|
];
|
|
23
|
+
const componentIconList = [
|
|
24
|
+
'IconListV2'
|
|
25
|
+
];
|
|
23
26
|
const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, ...passProps })=>{
|
|
24
27
|
const item = builder[uid];
|
|
25
28
|
const Component = components[item?.tag];
|
|
@@ -100,7 +103,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
100
103
|
});
|
|
101
104
|
});
|
|
102
105
|
} else {
|
|
103
|
-
liquid = template`<div style="${style}" class="${item.uid} ${!item?.childrens?.length && item.tag === 'IconListItemHoz' ? 'hidden' : ''}">
|
|
106
|
+
liquid = template`<div style="${!componentIconList.includes(item.tag) ? style : ''}" class="${item.uid} ${!item?.childrens?.length && item.tag === 'IconListItemHoz' ? 'hidden' : ''}">
|
|
104
107
|
${RenderIf(item?.childrens?.length, ()=>{
|
|
105
108
|
return Component({
|
|
106
109
|
builderProps: {
|
|
@@ -149,6 +152,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
149
152
|
},
|
|
150
153
|
pageContext,
|
|
151
154
|
isText: componentTexts.includes(item.tag) ? true : null,
|
|
155
|
+
style: componentIconList.includes(item.tag) ? style : null,
|
|
152
156
|
...passProps
|
|
153
157
|
});
|
|
154
158
|
})}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { devicesMapping } from '../web-components/src/helpers/styles/constant.js';
|
|
2
|
+
|
|
3
|
+
const TEXT_TOTAL_SPACING = 3; //Padding 2, margin 1
|
|
4
|
+
const composePostionIconList = (lineHeight, position, iconWidth)=>{
|
|
5
|
+
const compose = {};
|
|
6
|
+
composePositionLineHeight({
|
|
7
|
+
compose,
|
|
8
|
+
lineHeight,
|
|
9
|
+
device: 'desktop',
|
|
10
|
+
position,
|
|
11
|
+
iconWidth
|
|
12
|
+
});
|
|
13
|
+
composePositionLineHeight({
|
|
14
|
+
compose,
|
|
15
|
+
lineHeight,
|
|
16
|
+
device: 'tablet',
|
|
17
|
+
position,
|
|
18
|
+
iconWidth
|
|
19
|
+
});
|
|
20
|
+
composePositionLineHeight({
|
|
21
|
+
compose,
|
|
22
|
+
lineHeight,
|
|
23
|
+
device: 'mobile',
|
|
24
|
+
position,
|
|
25
|
+
iconWidth
|
|
26
|
+
});
|
|
27
|
+
return compose;
|
|
28
|
+
};
|
|
29
|
+
const composePositionLineHeight = ({ compose, lineHeight, device, position, iconWidth })=>{
|
|
30
|
+
const positionDevice = position?.[device];
|
|
31
|
+
const iconWidthDevice = iconWidth?.[device];
|
|
32
|
+
if (positionDevice) {
|
|
33
|
+
const suffix = devicesMapping[device] ?? '';
|
|
34
|
+
if (positionDevice === 'center') {
|
|
35
|
+
compose.wrapper = {
|
|
36
|
+
...compose.wrapper,
|
|
37
|
+
[`--ai${suffix}`]: 'center'
|
|
38
|
+
};
|
|
39
|
+
compose.content = {
|
|
40
|
+
...compose.content,
|
|
41
|
+
[`--pos${suffix}`]: 'static'
|
|
42
|
+
};
|
|
43
|
+
} else if (iconWidthDevice) {
|
|
44
|
+
const computedTop = parseFloat(lineHeight.replaceAll(/[a-zA-Z]/g, '')) / 2 + TEXT_TOTAL_SPACING - iconWidthDevice / 2;
|
|
45
|
+
compose.wrapper = {
|
|
46
|
+
...compose.wrapper,
|
|
47
|
+
[`--ai${suffix}`]: 'flex-start'
|
|
48
|
+
};
|
|
49
|
+
compose.content = {
|
|
50
|
+
...compose.content,
|
|
51
|
+
[`--top${suffix}`]: `${Math.max(0, Math.ceil(computedTop))}px`,
|
|
52
|
+
[`--pos${suffix}`]: 'relative'
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export { composePositionLineHeight, composePostionIconList };
|
package/dist/esm/index.js
CHANGED
|
@@ -58,6 +58,7 @@ export { composeShadowCss, getStyleShadow, getStyleShadowState, parseValueWithUn
|
|
|
58
58
|
export { composeBackgroundCss, getStyleBackgroundByDevice, makeFixedBgAttachment } from './helpers/background.js';
|
|
59
59
|
export { generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey } from './helpers/query.js';
|
|
60
60
|
export { composeAdvanceStyle, splitStyle } from './helpers/compose-advance-style.js';
|
|
61
|
+
export { composePositionLineHeight, composePostionIconList } from './helpers/icon-list.js';
|
|
61
62
|
export { useAddToCart } from './hooks/cart/use-add-to-cart.js';
|
|
62
63
|
export { useCartData } from './hooks/cart/use-cart-data.js';
|
|
63
64
|
export { useCartDiscountCodesUpdate } from './hooks/cart/use-cart-discount-codes-update.js';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -125,8 +125,8 @@ type Component = InitComponentType & {
|
|
|
125
125
|
uid: string;
|
|
126
126
|
childrens?: Component[];
|
|
127
127
|
};
|
|
128
|
-
type NameDevices = 'desktop' | 'tablet' | 'mobile';
|
|
129
|
-
type ObjectDevices<T> = Partial<Record<NameDevices, T>>;
|
|
128
|
+
type NameDevices$1 = 'desktop' | 'tablet' | 'mobile';
|
|
129
|
+
type ObjectDevices<T> = Partial<Record<NameDevices$1, T>>;
|
|
130
130
|
type StateType = 'normal' | 'hover' | 'focus' | 'active';
|
|
131
131
|
type StateProp<T> = Partial<Record<StateType, T>>;
|
|
132
132
|
type ResponsiveStateProp<T> = ObjectDevices<StateProp<T>>;
|
|
@@ -784,6 +784,7 @@ type Mapped$1<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
784
784
|
options: Option<T>[];
|
|
785
785
|
iconViewBox?: string;
|
|
786
786
|
enableItemBackground?: boolean;
|
|
787
|
+
enableTooltip?: boolean;
|
|
787
788
|
default?: T;
|
|
788
789
|
};
|
|
789
790
|
type LayoutSegmentControlType<T> = {
|
|
@@ -933,9 +934,27 @@ type SizeSetting$1<T> = SharedControlType<T> & {
|
|
|
933
934
|
readonly?: boolean;
|
|
934
935
|
hiddenSettings?: SettingID[];
|
|
935
936
|
settingConfig?: Partial<Record<SettingID, SettingConfig>>;
|
|
937
|
+
hiddenShowMore?: boolean;
|
|
936
938
|
};
|
|
937
939
|
|
|
938
|
-
type
|
|
940
|
+
type ChildIconType<T> = SharedControlType<T> & {
|
|
941
|
+
type: 'child-icon';
|
|
942
|
+
[key: string]: any;
|
|
943
|
+
};
|
|
944
|
+
|
|
945
|
+
type DropdownInput<T> = SharedControlType<T> & {
|
|
946
|
+
type: 'dropdown:input';
|
|
947
|
+
hideUnit?: boolean;
|
|
948
|
+
inputType?: 'text' | 'number';
|
|
949
|
+
displayOptions?: {
|
|
950
|
+
label: string;
|
|
951
|
+
value: string;
|
|
952
|
+
reversed?: boolean;
|
|
953
|
+
showValue?: boolean;
|
|
954
|
+
}[];
|
|
955
|
+
};
|
|
956
|
+
|
|
957
|
+
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> | SwatchesLinkControlType<T> | VariantSwatchesPresetControlType<T> | ProductListControlType<T> | CollectionBannerControlType<T> | Ratio<T> | StickyDisplayControlType<T> | SyncProductPropertiesControlType<T> | StepsGuide<T> | ImageShape<T> | GridArrange<T> | SizeSetting$1<T> | ChildIconType<T> | DropdownInput<T>;
|
|
939
958
|
type Setting<P extends BaseProps> = {
|
|
940
959
|
id: 'setting';
|
|
941
960
|
note?: string;
|
|
@@ -963,6 +982,8 @@ type ComponentSetting<P extends BaseProps> = {
|
|
|
963
982
|
noWrap?: boolean;
|
|
964
983
|
editorConfigs?: {
|
|
965
984
|
component?: {
|
|
985
|
+
validate?: boolean;
|
|
986
|
+
excludeApplyStyle?: boolean;
|
|
966
987
|
noDelete?: boolean;
|
|
967
988
|
noDuplicate?: boolean;
|
|
968
989
|
noDragDrop?: boolean;
|
|
@@ -7870,9 +7891,9 @@ declare function cls(...classes: ClassValue[]): string;
|
|
|
7870
7891
|
*/
|
|
7871
7892
|
declare const flattenConnection: <T>(connection?: Maybe<GraphQLConnection<T>>) => Maybe<T>[];
|
|
7872
7893
|
|
|
7873
|
-
declare const getResponsiveValue: <I, K extends keyof I>(input?: Partial<Record<NameDevices, I>> | undefined, k?: K | undefined) => Partial<Record<NameDevices, I[K]>>;
|
|
7874
|
-
declare const getResponsiveStateValue: <I>(k: StateType, input?: Partial<Record<NameDevices, Partial<Record<StateType, I>>>> | undefined) => Partial<Record<NameDevices, I>>;
|
|
7875
|
-
declare const getResponsiveValueByScreen: <T>(value?: Partial<Record<NameDevices, T>> | undefined, breakpoint?: NameDevices | undefined, defaultValue?: T | undefined) => T | undefined;
|
|
7894
|
+
declare const getResponsiveValue: <I, K extends keyof I>(input?: Partial<Record<NameDevices$1, I>> | undefined, k?: K | undefined) => Partial<Record<NameDevices$1, I[K]>>;
|
|
7895
|
+
declare const getResponsiveStateValue: <I>(k: StateType, input?: Partial<Record<NameDevices$1, Partial<Record<StateType, I>>>> | undefined) => Partial<Record<NameDevices$1, I>>;
|
|
7896
|
+
declare const getResponsiveValueByScreen: <T>(value?: Partial<Record<NameDevices$1, T>> | undefined, breakpoint?: NameDevices$1 | undefined, defaultValue?: T | undefined) => T | undefined;
|
|
7876
7897
|
declare const isColumnDirectionExist: (layout: ObjectDevices<ObjectLayoutValue>, breakpoint: keyof ObjectDevices<ObjectLayoutValue>) => boolean;
|
|
7877
7898
|
|
|
7878
7899
|
declare function getShortName(name: string): string;
|
|
@@ -7897,8 +7918,8 @@ declare const makeStyle: <T extends ShortHandProperty, K>(style: Record<T, K>) =
|
|
|
7897
7918
|
[k: string]: Record<`--${T}`, K>;
|
|
7898
7919
|
};
|
|
7899
7920
|
declare const makeStyleState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<StateType, K>> | undefined) => {};
|
|
7900
|
-
declare const makeStyleResponsiveState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices, Partial<Record<StateType, K>>>> | undefined) => {};
|
|
7901
|
-
declare const makeStyleResponsive: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices, K>> | undefined) => Record<ResponsiveKey<T>, K>;
|
|
7921
|
+
declare const makeStyleResponsiveState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, Partial<Record<StateType, K>>>> | undefined) => {};
|
|
7922
|
+
declare const makeStyleResponsive: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined) => Record<ResponsiveKey<T>, K>;
|
|
7902
7923
|
declare const makeWidth: (widthValue?: ObjectDevices<string | number>, fullWidthValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
7903
7924
|
declare const makeGlobalSizeWidthResponsive: (globalSize?: ObjectDevices<SizeSettingGlobal>) => {
|
|
7904
7925
|
'--w': string | undefined;
|
|
@@ -9456,8 +9477,8 @@ declare const composeTypographyStyle: (typo?: TypographySettingV2, typography?:
|
|
|
9456
9477
|
};
|
|
9457
9478
|
|
|
9458
9479
|
declare const getCornerCSSFromGlobal: (corner?: CornerRadius) => React.CSSProperties;
|
|
9459
|
-
declare const getRadiusCSSFromGlobal: (state: StateType, key?: RoundedSize, device?: NameDevices) => React.CSSProperties;
|
|
9460
|
-
declare const getCustomRadius: (state: StateType, radius?: CornerRadius, device?: NameDevices) => React.CSSProperties;
|
|
9480
|
+
declare const getRadiusCSSFromGlobal: (state: StateType, key?: RoundedSize, device?: NameDevices$1) => React.CSSProperties;
|
|
9481
|
+
declare const getCustomRadius: (state: StateType, radius?: CornerRadius, device?: NameDevices$1) => React.CSSProperties;
|
|
9461
9482
|
declare const composeRadius: (value?: StateProp<CornerRadius> | ResponsiveStateProp<CornerRadius>) => React.CSSProperties;
|
|
9462
9483
|
declare const composeRadiusResponsive: (radiusValue?: ObjectDevices<CornerRadius>) => React.CSSProperties;
|
|
9463
9484
|
declare const getRadiusStyleActiveState: (radiusValue?: StateProp<CornerRadius>) => React.CSSProperties;
|
|
@@ -9540,10 +9561,10 @@ declare const makeGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) =>
|
|
|
9540
9561
|
height: Record<ResponsiveKey<"h">, string | number>;
|
|
9541
9562
|
padding: React.CSSProperties;
|
|
9542
9563
|
};
|
|
9543
|
-
declare const makeStyleWithDefault: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices, K>> | undefined, defaultVal?: Partial<Record<NameDevices, K>> | undefined) => Record<ResponsiveKey<T>, K>;
|
|
9544
|
-
declare const getWidthHeightGlobalSize: (type: 'width' | 'height', globalSize?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices, string | number>>;
|
|
9545
|
-
declare const getHeightByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices, string>>;
|
|
9546
|
-
declare const getWidthByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices, string>>;
|
|
9564
|
+
declare const makeStyleWithDefault: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined, defaultVal?: Partial<Record<NameDevices$1, K>> | undefined) => Record<ResponsiveKey<T>, K>;
|
|
9565
|
+
declare const getWidthHeightGlobalSize: (type: 'width' | 'height', globalSize?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices$1, string | number>>;
|
|
9566
|
+
declare const getHeightByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices$1, string>>;
|
|
9567
|
+
declare const getWidthByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices$1, string>>;
|
|
9547
9568
|
declare const getAspectRatioGlobalSize: (shape?: ObjectDevices<SizeSettingGlobal>) => ObjectDevices<string>;
|
|
9548
9569
|
declare const getPaddingGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) => React.CSSProperties;
|
|
9549
9570
|
|
|
@@ -9614,6 +9635,21 @@ type AdvanceValue = Primitive | ObjectDevices<Primitive>;
|
|
|
9614
9635
|
declare function composeAdvanceStyle(data?: Record<string, AdvanceValue>, tag?: string): React.CSSProperties;
|
|
9615
9636
|
declare const splitStyle: (keys: ShortHandProperty[], style?: React.CSSProperties) => React.CSSProperties[];
|
|
9616
9637
|
|
|
9638
|
+
type NameDevices = 'desktop' | 'tablet' | 'mobile';
|
|
9639
|
+
|
|
9640
|
+
type PostionType = {
|
|
9641
|
+
wrapper?: Record<string, string | number>;
|
|
9642
|
+
content?: Record<string, string | number>;
|
|
9643
|
+
};
|
|
9644
|
+
declare const composePostionIconList: (lineHeight: string, position?: ObjectDevices<'center' | 'baseline'>, iconWidth?: ObjectDevices<number>) => PostionType;
|
|
9645
|
+
declare const composePositionLineHeight: ({ compose, lineHeight, device, position, iconWidth, }: {
|
|
9646
|
+
compose: PostionType;
|
|
9647
|
+
lineHeight: string;
|
|
9648
|
+
device: NameDevices;
|
|
9649
|
+
position?: Partial<Record<NameDevices$1, "center" | "baseline">> | undefined;
|
|
9650
|
+
iconWidth?: Partial<Record<NameDevices$1, number>> | undefined;
|
|
9651
|
+
}) => void;
|
|
9652
|
+
|
|
9617
9653
|
type Func$6 = ReturnType<typeof addToCartOperation>;
|
|
9618
9654
|
type Response$6 = Awaited<ReturnType<Func$6>>;
|
|
9619
9655
|
type Args$5 = Parameters<Func$6>[0];
|
|
@@ -9694,7 +9730,7 @@ declare const useProductQuery: (productId?: string, options?: SWRConfiguration<P
|
|
|
9694
9730
|
|
|
9695
9731
|
declare const useProductsQuery: (ids?: string[], options?: SWRConfiguration<ProductsQueryResponse>, defaultSelectedProductCount?: number) => swr__internal.SWRResponse<ProductsQueryResponse, any, Partial<swr__internal.PublicConfiguration<ProductsQueryResponse, any, (arg: ["query/products", FetchProductsParams]) => swr__internal.FetcherResponse<ProductsQueryResponse>>> | undefined>;
|
|
9696
9732
|
|
|
9697
|
-
declare const useCurrentDevice: () => NameDevices;
|
|
9733
|
+
declare const useCurrentDevice: () => NameDevices$1;
|
|
9698
9734
|
|
|
9699
9735
|
declare const useFormatMoney: (amount: number, withCurrency: boolean) => string;
|
|
9700
9736
|
|
|
@@ -9809,23 +9845,23 @@ declare const useCheckAvailableVariantInStock: (optionId: string, optionValue: s
|
|
|
9809
9845
|
declare const useProductList: () => CollectionProductSelectFragment | undefined;
|
|
9810
9846
|
declare const useProductListProducts: () => (ProductQuickSelectFragment | undefined)[] | undefined;
|
|
9811
9847
|
declare const useProductListSettings: () => {
|
|
9812
|
-
loop?: Partial<Record<NameDevices, boolean>> | undefined;
|
|
9813
|
-
scrollMode?: Partial<Record<NameDevices, "snap" | "free" | "free-snap">> | undefined;
|
|
9814
|
-
slidesToShow?: Partial<Record<NameDevices, number | "auto">> | undefined;
|
|
9815
|
-
spacing?: Partial<Record<NameDevices, number>> | undefined;
|
|
9848
|
+
loop?: Partial<Record<NameDevices$1, boolean>> | undefined;
|
|
9849
|
+
scrollMode?: Partial<Record<NameDevices$1, "snap" | "free" | "free-snap">> | undefined;
|
|
9850
|
+
slidesToShow?: Partial<Record<NameDevices$1, number | "auto">> | undefined;
|
|
9851
|
+
spacing?: Partial<Record<NameDevices$1, number>> | undefined;
|
|
9816
9852
|
layout?: "grid" | "slider" | undefined;
|
|
9817
|
-
dot?: Partial<Record<NameDevices, boolean>> | undefined;
|
|
9818
|
-
arrow?: Partial<Record<NameDevices, boolean>> | undefined;
|
|
9819
|
-
controlOverContent?: Partial<Record<NameDevices, boolean>> | undefined;
|
|
9853
|
+
dot?: Partial<Record<NameDevices$1, boolean>> | undefined;
|
|
9854
|
+
arrow?: Partial<Record<NameDevices$1, boolean>> | undefined;
|
|
9855
|
+
controlOverContent?: Partial<Record<NameDevices$1, boolean>> | undefined;
|
|
9820
9856
|
speed?: number | undefined;
|
|
9821
9857
|
} | undefined;
|
|
9822
9858
|
declare const useProductListStyles: () => {
|
|
9823
|
-
horizontalGutter?: Partial<Record<NameDevices, string>> | undefined;
|
|
9824
|
-
verticalGutter?: Partial<Record<NameDevices, string>> | undefined;
|
|
9825
|
-
fullWidth?: Partial<Record<NameDevices, boolean>> | undefined;
|
|
9826
|
-
spacing?: Partial<Record<NameDevices, number>> | undefined;
|
|
9827
|
-
width?: Partial<Record<NameDevices, string>> | undefined;
|
|
9828
|
-
height?: Partial<Record<NameDevices, string>> | undefined;
|
|
9859
|
+
horizontalGutter?: Partial<Record<NameDevices$1, string>> | undefined;
|
|
9860
|
+
verticalGutter?: Partial<Record<NameDevices$1, string>> | undefined;
|
|
9861
|
+
fullWidth?: Partial<Record<NameDevices$1, boolean>> | undefined;
|
|
9862
|
+
spacing?: Partial<Record<NameDevices$1, number>> | undefined;
|
|
9863
|
+
width?: Partial<Record<NameDevices$1, string>> | undefined;
|
|
9864
|
+
height?: Partial<Record<NameDevices$1, string>> | undefined;
|
|
9829
9865
|
} | undefined;
|
|
9830
9866
|
|
|
9831
9867
|
declare const useSuspenseFetch: <T>(key: string | any[], promise: () => Promise<T>) => {
|
|
@@ -9847,4 +9883,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage, 'id' | 'name' |
|
|
|
9847
9883
|
|
|
9848
9884
|
declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
|
|
9849
9885
|
|
|
9850
|
-
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, DynamicCollection, DynamicProduct, 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, PageProvider, PageProviderProps, 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, SizeSettingGlobal, 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, filterToolbarPreview, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAspectRatioGlobalSize, getBorderStyle, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, 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, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleResponsive, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, 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, usePageStore, 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 };
|
|
9886
|
+
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, DynamicCollection, DynamicProduct, 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$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OptionNormalStyle, OptionSpecialStyle, PageContext, PageProvider, PageProviderProps, 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, SizeSettingGlobal, 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, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertOldLayout, dataStringify, fetchMedias, fetchVariants, filterToolbarPreview, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAspectRatioGlobalSize, getBorderStyle, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, 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, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleResponsive, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, 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, usePageStore, 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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "1.25.
|
|
3
|
+
"version": "1.25.29",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@gem-sdk/adapter-shopify": "1.25.0",
|
|
28
|
-
"@gem-sdk/styles": "1.25.
|
|
28
|
+
"@gem-sdk/styles": "1.25.29"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"react-error-boundary": "4.0.10",
|