@gem-sdk/core 2.0.0-dev.726 → 2.0.0-dev.737
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/resize/Spacing.js +2 -6
- package/dist/cjs/helpers/align.js +4 -12
- package/dist/cjs/helpers/background.js +12 -14
- package/dist/cjs/helpers/carousel.js +2 -6
- package/dist/cjs/helpers/compose-advance-style.js +2 -6
- package/dist/cjs/helpers/layout.js +2 -6
- package/dist/esm/components/resize/Spacing.js +2 -6
- package/dist/esm/helpers/align.js +4 -12
- package/dist/esm/helpers/background.js +12 -14
- package/dist/esm/helpers/carousel.js +2 -6
- package/dist/esm/helpers/compose-advance-style.js +2 -6
- package/dist/esm/helpers/layout.js +2 -6
- package/dist/types/index.d.ts +61 -53
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
7
7
|
var react = require('react');
|
|
8
8
|
require('zustand');
|
|
9
9
|
var BuilderPreviewContext = require('../../contexts/BuilderPreviewContext.js');
|
|
10
|
+
var device = require('../../constants/device.js');
|
|
10
11
|
require('react-transition-group');
|
|
11
12
|
require('@gem-sdk/core');
|
|
12
13
|
require('swr');
|
|
@@ -189,12 +190,7 @@ function Spacing(props) {
|
|
|
189
190
|
updateSpacing
|
|
190
191
|
]);
|
|
191
192
|
const verifyMarginBottomChanged = (prevValue, newValue)=>{
|
|
192
|
-
|
|
193
|
-
'desktop',
|
|
194
|
-
'tablet',
|
|
195
|
-
'mobile'
|
|
196
|
-
];
|
|
197
|
-
return listDevices.some((device)=>JSON.stringify(prevValue?.[device]?.margin?.bottom) !== JSON.stringify(newValue?.[device]?.margin?.bottom));
|
|
193
|
+
return device.DEVICES.some((device)=>JSON.stringify(prevValue?.[device]?.margin?.bottom) !== JSON.stringify(newValue?.[device]?.margin?.bottom));
|
|
198
194
|
};
|
|
199
195
|
const onWindowResize = react.useCallback(()=>{
|
|
200
196
|
updateSpacing();
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var device = require('../constants/device.js');
|
|
4
|
+
|
|
3
5
|
const convertTextAlignToJustify = (align)=>{
|
|
4
|
-
const devices = [
|
|
5
|
-
'desktop',
|
|
6
|
-
'tablet',
|
|
7
|
-
'mobile'
|
|
8
|
-
];
|
|
9
6
|
const result = {};
|
|
10
|
-
|
|
7
|
+
device.DEVICES.forEach((device)=>{
|
|
11
8
|
const deviceType = device === 'desktop' ? '' : `${device}:`;
|
|
12
9
|
result[`${deviceType}gp-justify-start`] = align?.[device] === 'left';
|
|
13
10
|
result[`${deviceType}gp-justify-center`] = align?.[device] === 'center';
|
|
@@ -16,12 +13,7 @@ const convertTextAlignToJustify = (align)=>{
|
|
|
16
13
|
return result;
|
|
17
14
|
};
|
|
18
15
|
const getAlignmentClasses = (align)=>{
|
|
19
|
-
|
|
20
|
-
'desktop',
|
|
21
|
-
'tablet',
|
|
22
|
-
'mobile'
|
|
23
|
-
];
|
|
24
|
-
return breakpoints.reduce((classes, bp)=>{
|
|
16
|
+
return device.DEVICES.reduce((classes, bp)=>{
|
|
25
17
|
const prefix = bp === 'desktop' ? '' : `${bp}:`;
|
|
26
18
|
const alignment = align?.[bp];
|
|
27
19
|
if (alignment) {
|
|
@@ -4,6 +4,7 @@ var constant = require('./constant.js');
|
|
|
4
4
|
var colors = require('./colors.js');
|
|
5
5
|
var makeStyle = require('./make-style.js');
|
|
6
6
|
var getResonsiveValue = require('./get-resonsive-value.js');
|
|
7
|
+
var device = require('../constants/device.js');
|
|
7
8
|
|
|
8
9
|
const isEmptyBg = (value)=>{
|
|
9
10
|
return value?.videoHtml5 === undefined && value?.video === undefined && !value?.videoType;
|
|
@@ -95,7 +96,7 @@ const getBgImageByDevice = (background, device, options)=>{
|
|
|
95
96
|
};
|
|
96
97
|
const getStyleBgPosition = (background)=>{
|
|
97
98
|
const bgPosition = {
|
|
98
|
-
desktop: getBgPositionByDevice(background, 'desktop'),
|
|
99
|
+
desktop: getBgPositionByDevice(background, 'desktop') || '50% 50%',
|
|
99
100
|
tablet: getBgPositionByDevice(background, 'tablet'),
|
|
100
101
|
mobile: getBgPositionByDevice(background, 'mobile')
|
|
101
102
|
};
|
|
@@ -107,7 +108,7 @@ const getBgPositionByDevice = (background, device)=>{
|
|
|
107
108
|
};
|
|
108
109
|
const getStyleBgSize = (background)=>{
|
|
109
110
|
const bgSize = {
|
|
110
|
-
desktop: getBgSizeByDevice(background, 'desktop'),
|
|
111
|
+
desktop: getBgSizeByDevice(background, 'desktop') || 'cover',
|
|
111
112
|
tablet: getBgSizeByDevice(background, 'tablet'),
|
|
112
113
|
mobile: getBgSizeByDevice(background, 'mobile')
|
|
113
114
|
};
|
|
@@ -118,7 +119,7 @@ const getBgSizeByDevice = (background, device)=>{
|
|
|
118
119
|
};
|
|
119
120
|
const getStyleBgRepeat = (background)=>{
|
|
120
121
|
const bgRepeat = {
|
|
121
|
-
desktop: getBgRepeatByDevice(background, 'desktop'),
|
|
122
|
+
desktop: getBgRepeatByDevice(background, 'desktop') || 'no-repeat',
|
|
122
123
|
tablet: getBgRepeatByDevice(background, 'tablet'),
|
|
123
124
|
mobile: getBgRepeatByDevice(background, 'mobile')
|
|
124
125
|
};
|
|
@@ -222,11 +223,7 @@ const getGradientBgrStyleForButton = (backgroundStyle)=>{
|
|
|
222
223
|
const getGradientBgrStyleByDevice = (backgroundStyle, ignoreBackgroundImage)=>{
|
|
223
224
|
if (!backgroundStyle) return;
|
|
224
225
|
const bgrStyle = {};
|
|
225
|
-
|
|
226
|
-
'desktop',
|
|
227
|
-
'tablet',
|
|
228
|
-
'mobile'
|
|
229
|
-
].forEach((device)=>{
|
|
226
|
+
device.DEVICES.forEach((device)=>{
|
|
230
227
|
if (backgroundStyle[device]?.color?.includes(GRADIENT_BGR_KEY)) {
|
|
231
228
|
const bgImage = `${getBgImageByDevice(backgroundStyle, device) || 'url()'}, ${backgroundStyle[device]?.color}`;
|
|
232
229
|
Object.assign(bgrStyle, {
|
|
@@ -246,11 +243,7 @@ const getBgByDevice = (data)=>{
|
|
|
246
243
|
mobile: getResonsiveValue.getResponsiveValueByScreen(backgroundImage, 'mobile')
|
|
247
244
|
};
|
|
248
245
|
const bgrStyle = {};
|
|
249
|
-
|
|
250
|
-
'desktop',
|
|
251
|
-
'tablet',
|
|
252
|
-
'mobile'
|
|
253
|
-
].forEach((device)=>{
|
|
246
|
+
device.DEVICES.forEach((device)=>{
|
|
254
247
|
const colorValue = getResonsiveValue.getResponsiveValueByScreen(backgroundColor, device);
|
|
255
248
|
const imageValue = backgroundImage ? getBgImageByDevice(mapBgImage, device) : undefined;
|
|
256
249
|
if (colorValue?.includes(GRADIENT_BGR_KEY)) {
|
|
@@ -269,7 +262,12 @@ const getBgByDevice = (data)=>{
|
|
|
269
262
|
});
|
|
270
263
|
}
|
|
271
264
|
});
|
|
272
|
-
return
|
|
265
|
+
return {
|
|
266
|
+
...bgrStyle,
|
|
267
|
+
...getStyleBgPosition(backgroundImage),
|
|
268
|
+
...getStyleBgSize(backgroundImage),
|
|
269
|
+
...getStyleBgRepeat(backgroundImage)
|
|
270
|
+
};
|
|
273
271
|
};
|
|
274
272
|
|
|
275
273
|
exports.GRADIENT_BGR_KEY = GRADIENT_BGR_KEY;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var getResonsiveValue = require('./get-resonsive-value.js');
|
|
4
|
+
var device = require('../constants/device.js');
|
|
4
5
|
|
|
5
6
|
const getCarouselContainerHeight = (dotStyle)=>{
|
|
6
7
|
const getVal = (dotStyle)=>{
|
|
@@ -25,18 +26,13 @@ const makeContainerWidthOrHeight = (setting)=>{
|
|
|
25
26
|
};
|
|
26
27
|
const makeDotGapToCarouselStyle = (dotStyle, dotGapToCarousel, vertical)=>{
|
|
27
28
|
let result = {};
|
|
28
|
-
const devices = [
|
|
29
|
-
'desktop',
|
|
30
|
-
'tablet',
|
|
31
|
-
'mobile'
|
|
32
|
-
];
|
|
33
29
|
const getStyleName = (dotStyle, vertical)=>{
|
|
34
30
|
if (dotStyle === 'outside') {
|
|
35
31
|
return vertical ? 'ml' : 'mt';
|
|
36
32
|
}
|
|
37
33
|
return vertical ? 'right' : 'bottom';
|
|
38
34
|
};
|
|
39
|
-
|
|
35
|
+
device.DEVICES.map((device)=>{
|
|
40
36
|
const gapToCarousel = getResonsiveValue.getResponsiveValueByScreen(dotGapToCarousel, device, 0);
|
|
41
37
|
result = {
|
|
42
38
|
...result,
|
|
@@ -6,6 +6,7 @@ var constant = require('./constant.js');
|
|
|
6
6
|
var makeStyle = require('./make-style.js');
|
|
7
7
|
var radius = require('./radius.js');
|
|
8
8
|
var shadow = require('./shadow.js');
|
|
9
|
+
var device = require('../constants/device.js');
|
|
9
10
|
|
|
10
11
|
const composeSpacing = ({ source, spacing, type, suffix = '' })=>{
|
|
11
12
|
const { top, left, bottom, right } = spacing;
|
|
@@ -84,11 +85,6 @@ const composeAdvanceStyleForPostPurchase = (data, tag)=>{
|
|
|
84
85
|
function composeAdvanceStyle(data, tag, pageType) {
|
|
85
86
|
if (!data) return {};
|
|
86
87
|
const styles = {};
|
|
87
|
-
const devices = [
|
|
88
|
-
'desktop',
|
|
89
|
-
'tablet',
|
|
90
|
-
'mobile'
|
|
91
|
-
];
|
|
92
88
|
const states = [
|
|
93
89
|
'hover',
|
|
94
90
|
'normal'
|
|
@@ -101,7 +97,7 @@ function composeAdvanceStyle(data, tag, pageType) {
|
|
|
101
97
|
if (typeof value === 'object') {
|
|
102
98
|
if (Array.isArray(value)) return;
|
|
103
99
|
Object.keys(value).forEach((composeAttr)=>{
|
|
104
|
-
if (
|
|
100
|
+
if (device.DEVICES.includes(composeAttr)) {
|
|
105
101
|
const deviceValue = value[composeAttr];
|
|
106
102
|
if (deviceValue !== undefined) {
|
|
107
103
|
// Responsive border with state
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var device = require('../constants/device.js');
|
|
3
4
|
var constant = require('./constant.js');
|
|
4
5
|
var getResonsiveValue = require('./get-resonsive-value.js');
|
|
5
6
|
|
|
@@ -53,12 +54,7 @@ const convertOldLayout = (layout)=>{
|
|
|
53
54
|
};
|
|
54
55
|
};
|
|
55
56
|
const getLayoutClasses = (layout)=>{
|
|
56
|
-
|
|
57
|
-
'desktop',
|
|
58
|
-
'tablet',
|
|
59
|
-
'mobile'
|
|
60
|
-
];
|
|
61
|
-
return breakpoints.reduce((classes, bp)=>{
|
|
57
|
+
return device.DEVICES.reduce((classes, bp)=>{
|
|
62
58
|
const prefix = bp === 'desktop' ? '' : `${bp}:`;
|
|
63
59
|
const layoutValue = layout?.[bp];
|
|
64
60
|
if (layoutValue) {
|
|
@@ -3,6 +3,7 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
|
3
3
|
import { useRef, useState, useCallback, useEffect } from 'react';
|
|
4
4
|
import 'zustand';
|
|
5
5
|
import { useBuilderPreviewStore } from '../../contexts/BuilderPreviewContext.js';
|
|
6
|
+
import { DEVICES } from '../../constants/device.js';
|
|
6
7
|
import 'react-transition-group';
|
|
7
8
|
import '@gem-sdk/core';
|
|
8
9
|
import 'swr';
|
|
@@ -185,12 +186,7 @@ function Spacing(props) {
|
|
|
185
186
|
updateSpacing
|
|
186
187
|
]);
|
|
187
188
|
const verifyMarginBottomChanged = (prevValue, newValue)=>{
|
|
188
|
-
|
|
189
|
-
'desktop',
|
|
190
|
-
'tablet',
|
|
191
|
-
'mobile'
|
|
192
|
-
];
|
|
193
|
-
return listDevices.some((device)=>JSON.stringify(prevValue?.[device]?.margin?.bottom) !== JSON.stringify(newValue?.[device]?.margin?.bottom));
|
|
189
|
+
return DEVICES.some((device)=>JSON.stringify(prevValue?.[device]?.margin?.bottom) !== JSON.stringify(newValue?.[device]?.margin?.bottom));
|
|
194
190
|
};
|
|
195
191
|
const onWindowResize = useCallback(()=>{
|
|
196
192
|
updateSpacing();
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
+
import { DEVICES } from '../constants/device.js';
|
|
2
|
+
|
|
1
3
|
const convertTextAlignToJustify = (align)=>{
|
|
2
|
-
const devices = [
|
|
3
|
-
'desktop',
|
|
4
|
-
'tablet',
|
|
5
|
-
'mobile'
|
|
6
|
-
];
|
|
7
4
|
const result = {};
|
|
8
|
-
|
|
5
|
+
DEVICES.forEach((device)=>{
|
|
9
6
|
const deviceType = device === 'desktop' ? '' : `${device}:`;
|
|
10
7
|
result[`${deviceType}gp-justify-start`] = align?.[device] === 'left';
|
|
11
8
|
result[`${deviceType}gp-justify-center`] = align?.[device] === 'center';
|
|
@@ -14,12 +11,7 @@ const convertTextAlignToJustify = (align)=>{
|
|
|
14
11
|
return result;
|
|
15
12
|
};
|
|
16
13
|
const getAlignmentClasses = (align)=>{
|
|
17
|
-
|
|
18
|
-
'desktop',
|
|
19
|
-
'tablet',
|
|
20
|
-
'mobile'
|
|
21
|
-
];
|
|
22
|
-
return breakpoints.reduce((classes, bp)=>{
|
|
14
|
+
return DEVICES.reduce((classes, bp)=>{
|
|
23
15
|
const prefix = bp === 'desktop' ? '' : `${bp}:`;
|
|
24
16
|
const alignment = align?.[bp];
|
|
25
17
|
if (alignment) {
|
|
@@ -2,6 +2,7 @@ import { devicesMapping } from './constant.js';
|
|
|
2
2
|
import { isColor, getSingleColorVariable } from './colors.js';
|
|
3
3
|
import { makeStyleResponsive } from './make-style.js';
|
|
4
4
|
import { getResponsiveValueByScreen } from './get-resonsive-value.js';
|
|
5
|
+
import { DEVICES } from '../constants/device.js';
|
|
5
6
|
|
|
6
7
|
const isEmptyBg = (value)=>{
|
|
7
8
|
return value?.videoHtml5 === undefined && value?.video === undefined && !value?.videoType;
|
|
@@ -93,7 +94,7 @@ const getBgImageByDevice = (background, device, options)=>{
|
|
|
93
94
|
};
|
|
94
95
|
const getStyleBgPosition = (background)=>{
|
|
95
96
|
const bgPosition = {
|
|
96
|
-
desktop: getBgPositionByDevice(background, 'desktop'),
|
|
97
|
+
desktop: getBgPositionByDevice(background, 'desktop') || '50% 50%',
|
|
97
98
|
tablet: getBgPositionByDevice(background, 'tablet'),
|
|
98
99
|
mobile: getBgPositionByDevice(background, 'mobile')
|
|
99
100
|
};
|
|
@@ -105,7 +106,7 @@ const getBgPositionByDevice = (background, device)=>{
|
|
|
105
106
|
};
|
|
106
107
|
const getStyleBgSize = (background)=>{
|
|
107
108
|
const bgSize = {
|
|
108
|
-
desktop: getBgSizeByDevice(background, 'desktop'),
|
|
109
|
+
desktop: getBgSizeByDevice(background, 'desktop') || 'cover',
|
|
109
110
|
tablet: getBgSizeByDevice(background, 'tablet'),
|
|
110
111
|
mobile: getBgSizeByDevice(background, 'mobile')
|
|
111
112
|
};
|
|
@@ -116,7 +117,7 @@ const getBgSizeByDevice = (background, device)=>{
|
|
|
116
117
|
};
|
|
117
118
|
const getStyleBgRepeat = (background)=>{
|
|
118
119
|
const bgRepeat = {
|
|
119
|
-
desktop: getBgRepeatByDevice(background, 'desktop'),
|
|
120
|
+
desktop: getBgRepeatByDevice(background, 'desktop') || 'no-repeat',
|
|
120
121
|
tablet: getBgRepeatByDevice(background, 'tablet'),
|
|
121
122
|
mobile: getBgRepeatByDevice(background, 'mobile')
|
|
122
123
|
};
|
|
@@ -220,11 +221,7 @@ const getGradientBgrStyleForButton = (backgroundStyle)=>{
|
|
|
220
221
|
const getGradientBgrStyleByDevice = (backgroundStyle, ignoreBackgroundImage)=>{
|
|
221
222
|
if (!backgroundStyle) return;
|
|
222
223
|
const bgrStyle = {};
|
|
223
|
-
|
|
224
|
-
'desktop',
|
|
225
|
-
'tablet',
|
|
226
|
-
'mobile'
|
|
227
|
-
].forEach((device)=>{
|
|
224
|
+
DEVICES.forEach((device)=>{
|
|
228
225
|
if (backgroundStyle[device]?.color?.includes(GRADIENT_BGR_KEY)) {
|
|
229
226
|
const bgImage = `${getBgImageByDevice(backgroundStyle, device) || 'url()'}, ${backgroundStyle[device]?.color}`;
|
|
230
227
|
Object.assign(bgrStyle, {
|
|
@@ -244,11 +241,7 @@ const getBgByDevice = (data)=>{
|
|
|
244
241
|
mobile: getResponsiveValueByScreen(backgroundImage, 'mobile')
|
|
245
242
|
};
|
|
246
243
|
const bgrStyle = {};
|
|
247
|
-
|
|
248
|
-
'desktop',
|
|
249
|
-
'tablet',
|
|
250
|
-
'mobile'
|
|
251
|
-
].forEach((device)=>{
|
|
244
|
+
DEVICES.forEach((device)=>{
|
|
252
245
|
const colorValue = getResponsiveValueByScreen(backgroundColor, device);
|
|
253
246
|
const imageValue = backgroundImage ? getBgImageByDevice(mapBgImage, device) : undefined;
|
|
254
247
|
if (colorValue?.includes(GRADIENT_BGR_KEY)) {
|
|
@@ -267,7 +260,12 @@ const getBgByDevice = (data)=>{
|
|
|
267
260
|
});
|
|
268
261
|
}
|
|
269
262
|
});
|
|
270
|
-
return
|
|
263
|
+
return {
|
|
264
|
+
...bgrStyle,
|
|
265
|
+
...getStyleBgPosition(backgroundImage),
|
|
266
|
+
...getStyleBgSize(backgroundImage),
|
|
267
|
+
...getStyleBgRepeat(backgroundImage)
|
|
268
|
+
};
|
|
271
269
|
};
|
|
272
270
|
|
|
273
271
|
export { GRADIENT_BGR_KEY, composeBackgroundCss, getBgByDevice, getBgImageByDevice, getBgVideoByDevice, getColor, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getStyleBackgroundByDevice, getStyleBgColor, makeFixedBgAttachment };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getResponsiveValueByScreen } from './get-resonsive-value.js';
|
|
2
|
+
import { DEVICES } from '../constants/device.js';
|
|
2
3
|
|
|
3
4
|
const getCarouselContainerHeight = (dotStyle)=>{
|
|
4
5
|
const getVal = (dotStyle)=>{
|
|
@@ -23,18 +24,13 @@ const makeContainerWidthOrHeight = (setting)=>{
|
|
|
23
24
|
};
|
|
24
25
|
const makeDotGapToCarouselStyle = (dotStyle, dotGapToCarousel, vertical)=>{
|
|
25
26
|
let result = {};
|
|
26
|
-
const devices = [
|
|
27
|
-
'desktop',
|
|
28
|
-
'tablet',
|
|
29
|
-
'mobile'
|
|
30
|
-
];
|
|
31
27
|
const getStyleName = (dotStyle, vertical)=>{
|
|
32
28
|
if (dotStyle === 'outside') {
|
|
33
29
|
return vertical ? 'ml' : 'mt';
|
|
34
30
|
}
|
|
35
31
|
return vertical ? 'right' : 'bottom';
|
|
36
32
|
};
|
|
37
|
-
|
|
33
|
+
DEVICES.map((device)=>{
|
|
38
34
|
const gapToCarousel = getResponsiveValueByScreen(dotGapToCarousel, device, 0);
|
|
39
35
|
result = {
|
|
40
36
|
...result,
|
|
@@ -4,6 +4,7 @@ import { layoutComponent } from './constant.js';
|
|
|
4
4
|
import { makeStyleKey } from './make-style.js';
|
|
5
5
|
import { composeRadius, getCornerCSSFromGlobal } from './radius.js';
|
|
6
6
|
import { getResponsiveStyleShadow, getStyleShadowState, getStyleShadow } from './shadow.js';
|
|
7
|
+
import { DEVICES } from '../constants/device.js';
|
|
7
8
|
|
|
8
9
|
const composeSpacing = ({ source, spacing, type, suffix = '' })=>{
|
|
9
10
|
const { top, left, bottom, right } = spacing;
|
|
@@ -82,11 +83,6 @@ const composeAdvanceStyleForPostPurchase = (data, tag)=>{
|
|
|
82
83
|
function composeAdvanceStyle(data, tag, pageType) {
|
|
83
84
|
if (!data) return {};
|
|
84
85
|
const styles = {};
|
|
85
|
-
const devices = [
|
|
86
|
-
'desktop',
|
|
87
|
-
'tablet',
|
|
88
|
-
'mobile'
|
|
89
|
-
];
|
|
90
86
|
const states = [
|
|
91
87
|
'hover',
|
|
92
88
|
'normal'
|
|
@@ -99,7 +95,7 @@ function composeAdvanceStyle(data, tag, pageType) {
|
|
|
99
95
|
if (typeof value === 'object') {
|
|
100
96
|
if (Array.isArray(value)) return;
|
|
101
97
|
Object.keys(value).forEach((composeAttr)=>{
|
|
102
|
-
if (
|
|
98
|
+
if (DEVICES.includes(composeAttr)) {
|
|
103
99
|
const deviceValue = value[composeAttr];
|
|
104
100
|
if (deviceValue !== undefined) {
|
|
105
101
|
// Responsive border with state
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DEVICES } from '../constants/device.js';
|
|
1
2
|
import { devicesMapping } from './constant.js';
|
|
2
3
|
import { getResponsiveValueByScreen, getResponsiveValue } from './get-resonsive-value.js';
|
|
3
4
|
|
|
@@ -51,12 +52,7 @@ const convertOldLayout = (layout)=>{
|
|
|
51
52
|
};
|
|
52
53
|
};
|
|
53
54
|
const getLayoutClasses = (layout)=>{
|
|
54
|
-
|
|
55
|
-
'desktop',
|
|
56
|
-
'tablet',
|
|
57
|
-
'mobile'
|
|
58
|
-
];
|
|
59
|
-
return breakpoints.reduce((classes, bp)=>{
|
|
55
|
+
return DEVICES.reduce((classes, bp)=>{
|
|
60
56
|
const prefix = bp === 'desktop' ? '' : `${bp}:`;
|
|
61
57
|
const layoutValue = layout?.[bp];
|
|
62
58
|
if (layoutValue) {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -34201,8 +34201,8 @@ type BasePropsWrap<S = unknown, Style = unknown, A = Record<string, any>> = Base
|
|
|
34201
34201
|
builderAttrs?: Record<string, any>;
|
|
34202
34202
|
style?: React.CSSProperties;
|
|
34203
34203
|
};
|
|
34204
|
-
type NameDevices
|
|
34205
|
-
type ObjectDevices<T> = Partial<Record<NameDevices
|
|
34204
|
+
type NameDevices = 'desktop' | 'tablet' | 'mobile';
|
|
34205
|
+
type ObjectDevices<T> = Partial<Record<NameDevices, T>>;
|
|
34206
34206
|
type StateType = 'normal' | 'hover' | 'focus' | 'active' | 'price' | 'compareAtPrice';
|
|
34207
34207
|
type StateProp<T> = Partial<Record<StateType, T>>;
|
|
34208
34208
|
type ResponsiveStateProp<T> = ObjectDevices<StateProp<T>>;
|
|
@@ -34251,7 +34251,6 @@ type AirProductReview = 'review_box' | 'star_rating' | 'review_carousel';
|
|
|
34251
34251
|
type FastBundleWidgetType = 'fbt_position' | 'product_bundles' | 'product_bundle_with_ids' | 'volume_position';
|
|
34252
34252
|
type DotStyle = 'none' | 'inside' | 'outside';
|
|
34253
34253
|
|
|
34254
|
-
type NameDevices = 'desktop' | 'tablet' | 'mobile';
|
|
34255
34254
|
type TypographyV2Family = string | {
|
|
34256
34255
|
value: string;
|
|
34257
34256
|
type: TypographyV2FontFamilyType;
|
|
@@ -35404,7 +35403,7 @@ declare const composeBorderCss: (borderV?: Border | undefined, options?: {
|
|
|
35404
35403
|
}) => string;
|
|
35405
35404
|
declare const composeBorderResponsive: (borderValue?: ObjectDevices<Border>) => React.CSSProperties;
|
|
35406
35405
|
|
|
35407
|
-
declare const getCarouselContainerHeight: <T>(dotStyle?: Partial<Record<NameDevices
|
|
35406
|
+
declare const getCarouselContainerHeight: <T>(dotStyle?: Partial<Record<NameDevices, T>> | undefined) => {
|
|
35408
35407
|
desktop: string | undefined;
|
|
35409
35408
|
tablet: string | undefined;
|
|
35410
35409
|
mobile: string | undefined;
|
|
@@ -35415,7 +35414,7 @@ declare const makeContainerWidthOrHeight: <T extends ShortHandProperty>(setting:
|
|
|
35415
35414
|
}) => {
|
|
35416
35415
|
[x: string]: string | undefined;
|
|
35417
35416
|
};
|
|
35418
|
-
declare const makeDotGapToCarouselStyle: <T extends ShortHandProperty, K>(dotStyle?: ObjectDevices<DotStyle>, dotGapToCarousel?: Partial<Record<NameDevices
|
|
35417
|
+
declare const makeDotGapToCarouselStyle: <T extends ShortHandProperty, K>(dotStyle?: ObjectDevices<DotStyle>, dotGapToCarousel?: Partial<Record<NameDevices, K>> | undefined, vertical?: ObjectDevices<boolean>) => {
|
|
35419
35418
|
[x: string]: string | undefined;
|
|
35420
35419
|
};
|
|
35421
35420
|
|
|
@@ -35437,9 +35436,9 @@ declare const filterToolbarPreview: (children: React.ReactNode, keep?: boolean)
|
|
|
35437
35436
|
*/
|
|
35438
35437
|
declare const flattenConnection: <T>(connection?: Maybe$1<GraphQLConnection<T>>) => Maybe$1<T>[];
|
|
35439
35438
|
|
|
35440
|
-
declare const getResponsiveValue: <I, K extends keyof I>(input?: Partial<Record<NameDevices
|
|
35441
|
-
declare const getResponsiveStateValue: <I>(k: StateType, input?: Partial<Record<NameDevices
|
|
35442
|
-
declare const getResponsiveValueByScreen: <T>(value?: Partial<Record<NameDevices
|
|
35439
|
+
declare const getResponsiveValue: <I, K extends keyof I>(input?: Partial<Record<NameDevices, I>> | undefined, k?: K | undefined) => Partial<Record<NameDevices, I[K]>>;
|
|
35440
|
+
declare const getResponsiveStateValue: <I>(k: StateType, input?: Partial<Record<NameDevices, Partial<Record<StateType, I>>>> | undefined) => Partial<Record<NameDevices, I>>;
|
|
35441
|
+
declare const getResponsiveValueByScreen: <T>(value?: Partial<Record<NameDevices, T>> | undefined, breakpoint?: NameDevices | undefined, defaultValue?: T | undefined) => T | undefined;
|
|
35443
35442
|
declare const isColumnDirectionExist: (layout: ObjectDevices<ObjectLayoutValue>, breakpoint: keyof ObjectDevices<ObjectLayoutValue>) => boolean;
|
|
35444
35443
|
|
|
35445
35444
|
declare function getShortName(name: string): string;
|
|
@@ -35545,9 +35544,9 @@ declare const makeStyle: <T extends ShortHandProperty, K>(style: Record<T, K>) =
|
|
|
35545
35544
|
[k: string]: Record<`--${T}`, K>;
|
|
35546
35545
|
};
|
|
35547
35546
|
declare const makeStyleState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<StateType, K>> | undefined) => {};
|
|
35548
|
-
declare const makeStyleResponsiveState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices
|
|
35549
|
-
declare const makeStyleResponsive: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices
|
|
35550
|
-
declare const makeStyleResponsiveByScreen: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices
|
|
35547
|
+
declare const makeStyleResponsiveState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices, Partial<Record<StateType, K>>>> | undefined) => {};
|
|
35548
|
+
declare const makeStyleResponsive: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
|
|
35549
|
+
declare const makeStyleResponsiveByScreen: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
|
|
35551
35550
|
declare const makeWidth: (widthValue?: ObjectDevices<string | number>, fullWidthValue?: ObjectDevices<boolean>) => ObjectDevices<string | number>;
|
|
35552
35551
|
declare const makeGlobalSizeWidthResponsive: (globalSize?: ObjectDevices<SizeSettingGlobal>) => {
|
|
35553
35552
|
'--w': string | undefined;
|
|
@@ -35562,8 +35561,8 @@ declare const makeGlobalSizeHeightResponsive: (globalSize?: ObjectDevices<SizeSe
|
|
|
35562
35561
|
declare const makeHeight: (heighValue?: ObjectDevices<string | number>, autoHeight?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
35563
35562
|
declare const makeAspectRatio: (aspectRatio?: ObjectDevices<string>, aspectWidth?: ObjectDevices<string | number>, aspectHeight?: ObjectDevices<string | number>) => ObjectDevices<string>;
|
|
35564
35563
|
declare const makeLineClamp: (lineClampValue?: ObjectDevices<number>, hasLineClampValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
35565
|
-
declare const makeStyleResponsiveWidth: <T extends ShortHandProperty, K>(value?: Partial<Record<NameDevices
|
|
35566
|
-
declare const makeStyleResponsiveWidthWithoutAuto: <T extends ShortHandProperty, K>(value?: Partial<Record<NameDevices
|
|
35564
|
+
declare const makeStyleResponsiveWidth: <T extends ShortHandProperty, K>(value?: Partial<Record<NameDevices, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
|
|
35565
|
+
declare const makeStyleResponsiveWidthWithoutAuto: <T extends ShortHandProperty, K>(value?: Partial<Record<NameDevices, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
|
|
35567
35566
|
|
|
35568
35567
|
type ResponsiveConfig<T> = {
|
|
35569
35568
|
desktop: {
|
|
@@ -36308,7 +36307,7 @@ type SettingUIControl = {
|
|
|
36308
36307
|
controlChangeTrigger?: ControlTrigger;
|
|
36309
36308
|
tabs?: SettingUITab[];
|
|
36310
36309
|
info?: LabelWithLang;
|
|
36311
|
-
compoDefaultValue?: any | Record<NameDevices
|
|
36310
|
+
compoDefaultValue?: any | Record<NameDevices, any>;
|
|
36312
36311
|
} & SettingUICompo & SettingUIGroup;
|
|
36313
36312
|
type ControlTriggerAction$1 = {
|
|
36314
36313
|
controlId: string;
|
|
@@ -37648,7 +37647,6 @@ type ComponentPreset = {
|
|
|
37648
37647
|
rootOverride?: Record<string, any>;
|
|
37649
37648
|
};
|
|
37650
37649
|
|
|
37651
|
-
type Devices = 'desktop' | 'tablet' | 'mobile';
|
|
37652
37650
|
type Options$1 = {
|
|
37653
37651
|
liquid?: boolean;
|
|
37654
37652
|
ignoreBgAttachment?: boolean;
|
|
@@ -37656,7 +37654,7 @@ type Options$1 = {
|
|
|
37656
37654
|
ignoreBackgroundImageProperties?: boolean;
|
|
37657
37655
|
ignoreBackgroundColor?: boolean;
|
|
37658
37656
|
};
|
|
37659
|
-
declare const getBgVideoByDevice: (value?: Partial<Record<
|
|
37657
|
+
declare const getBgVideoByDevice: (value?: Partial<Record<NameDevices, Background>>, device?: NameDevices) => Background | undefined;
|
|
37660
37658
|
declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options$1) => {
|
|
37661
37659
|
"--bga"?: string | undefined;
|
|
37662
37660
|
"--bga-tablet"?: string | undefined;
|
|
@@ -37679,7 +37677,7 @@ declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background
|
|
|
37679
37677
|
};
|
|
37680
37678
|
declare const getStyleBgColor: (background: ObjectDevices<Background>) => Record<ResponsiveKey<"bgc">, string>;
|
|
37681
37679
|
declare const getColor: (color?: string) => string | undefined;
|
|
37682
|
-
declare const getBgImageByDevice: (background: ObjectDevices<Background>, device:
|
|
37680
|
+
declare const getBgImageByDevice: (background: ObjectDevices<Background>, device: NameDevices, options?: Options$1) => string | undefined;
|
|
37683
37681
|
declare const composeBackgroundCss: (backgroundColor?: ColorValueType) => string;
|
|
37684
37682
|
declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) => {
|
|
37685
37683
|
wrapper: {
|
|
@@ -37691,11 +37689,21 @@ declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) =>
|
|
|
37691
37689
|
} | undefined;
|
|
37692
37690
|
declare const GRADIENT_BGR_KEY = "linear-gradient";
|
|
37693
37691
|
declare const getGradientBgrStyleForButton: (backgroundStyle: Partial<Record<StateType, ColorValueType>> | undefined) => Record<string, string> | undefined;
|
|
37694
|
-
declare const getGradientBgrStyleByDevice: (backgroundStyle: Partial<Record<
|
|
37692
|
+
declare const getGradientBgrStyleByDevice: (backgroundStyle: Partial<Record<NameDevices, Background>> | undefined, ignoreBackgroundImage?: Record<NameDevices, boolean>) => {} | undefined;
|
|
37695
37693
|
declare const getBgByDevice: (data: {
|
|
37696
|
-
backgroundColor: Partial<Record<
|
|
37697
|
-
backgroundImage: Partial<Record<
|
|
37698
|
-
}) => {
|
|
37694
|
+
backgroundColor: Partial<Record<NameDevices, string>> | undefined;
|
|
37695
|
+
backgroundImage: Partial<Record<NameDevices, BackgroundImageValue>> | undefined;
|
|
37696
|
+
}) => {
|
|
37697
|
+
"--bgr": string;
|
|
37698
|
+
"--bgr-tablet": string;
|
|
37699
|
+
"--bgr-mobile": string;
|
|
37700
|
+
"--bgs": string;
|
|
37701
|
+
"--bgs-tablet": string;
|
|
37702
|
+
"--bgs-mobile": string;
|
|
37703
|
+
"--bgp": string;
|
|
37704
|
+
"--bgp-tablet": string;
|
|
37705
|
+
"--bgp-mobile": string;
|
|
37706
|
+
} | undefined;
|
|
37699
37707
|
|
|
37700
37708
|
type Options = {
|
|
37701
37709
|
liquid?: boolean;
|
|
@@ -37708,7 +37716,7 @@ declare const getStyleBgImageSource: (backgroundImage: StateProp<BackgroundImage
|
|
|
37708
37716
|
declare const getBgImageSourceByDevice: (backgroundImage: StateProp<BackgroundImageValue>, state: StateType, options?: Options) => string;
|
|
37709
37717
|
declare const composeBackgroundImageCss: (config?: ObjectDevices<StateProp<BackgroundImageValue>> | StateProp<BackgroundImageValue>, options?: {
|
|
37710
37718
|
useLiquid?: boolean;
|
|
37711
|
-
device?:
|
|
37719
|
+
device?: NameDevices;
|
|
37712
37720
|
state?: 'normal' | 'hover';
|
|
37713
37721
|
responsive?: boolean;
|
|
37714
37722
|
}) => string | undefined;
|
|
@@ -37733,7 +37741,7 @@ declare const composeTextColorCss: (color?: ColorValueType) => string;
|
|
|
37733
37741
|
type AdvanceValue = Primitive | ObjectDevices<Primitive>;
|
|
37734
37742
|
declare const composeAdvanceStyleForPostPurchase: (data?: Record<string, AdvanceValue>, tag?: string) => React.CSSProperties;
|
|
37735
37743
|
declare function composeAdvanceStyle(data?: Record<string, AdvanceValue>, tag?: string, pageType?: PublishedThemePageType$1): React.CSSProperties;
|
|
37736
|
-
declare const convertBoxShadowV1ToV2: (hasBoxShadow: Partial<Record<StateType, boolean>>, value: Partial<Record<NameDevices
|
|
37744
|
+
declare const convertBoxShadowV1ToV2: (hasBoxShadow: Partial<Record<StateType, boolean>>, value: Partial<Record<NameDevices, Primitive>>, tag: string | undefined) => Partial<Record<StateType, boolean>>;
|
|
37737
37745
|
declare const splitStyle: (keys: ShortHandProperty[], style?: React.CSSProperties) => React.CSSProperties[];
|
|
37738
37746
|
declare const filterAttrInStyle: (style?: React.CSSProperties, filterKeys?: string[]) => {
|
|
37739
37747
|
[x: string]: any;
|
|
@@ -42616,8 +42624,8 @@ declare const composePositionLineHeight: ({ compose, lineHeight, device, positio
|
|
|
42616
42624
|
compose: PostionType;
|
|
42617
42625
|
lineHeight: string;
|
|
42618
42626
|
device: NameDevices;
|
|
42619
|
-
position?: Partial<Record<NameDevices
|
|
42620
|
-
iconWidth?: Partial<Record<NameDevices
|
|
42627
|
+
position?: Partial<Record<NameDevices, "center" | "baseline">> | undefined;
|
|
42628
|
+
iconWidth?: Partial<Record<NameDevices, number>> | undefined;
|
|
42621
42629
|
}) => void;
|
|
42622
42630
|
|
|
42623
42631
|
declare function isDefined<T>(argument: T | undefined): argument is T;
|
|
@@ -42626,10 +42634,10 @@ declare const gridToArrayRegex: RegExp;
|
|
|
42626
42634
|
declare const optionLayoutStyle: (column?: ObjectDevices<string | number>) => React.CSSProperties;
|
|
42627
42635
|
declare const composeGridLayout: (layout?: ObjectDevices<ObjectLayoutValue>) => React.CSSProperties;
|
|
42628
42636
|
declare const convertOldLayout: (layout?: ObjectDevices<string>) => ObjectDevices<ObjectLayoutValue>;
|
|
42629
|
-
declare const getLayoutClasses: (layout: Partial<Record<NameDevices
|
|
42637
|
+
declare const getLayoutClasses: (layout: Partial<Record<NameDevices, string>> | undefined) => Record<string, boolean>;
|
|
42630
42638
|
|
|
42631
|
-
declare const convertTextAlignToJustify: (align: Partial<Record<NameDevices
|
|
42632
|
-
declare const getAlignmentClasses: (align: Partial<Record<NameDevices
|
|
42639
|
+
declare const convertTextAlignToJustify: (align: Partial<Record<NameDevices, AlignProp>> | undefined) => Record<string, boolean>;
|
|
42640
|
+
declare const getAlignmentClasses: (align: Partial<Record<NameDevices, AlignProp>> | undefined) => Record<string, boolean>;
|
|
42633
42641
|
|
|
42634
42642
|
declare function filterTruthyStyles<T extends Record<string, any>>(styles: T): Partial<T>;
|
|
42635
42643
|
|
|
@@ -42678,8 +42686,8 @@ declare const generateCollectionQueryKey: (args: FetchCollectionArgs) => ['query
|
|
|
42678
42686
|
declare const generateProductsQueryKey: (args: FetchProductsParams) => ['query/products', FetchProductsParams];
|
|
42679
42687
|
|
|
42680
42688
|
declare const getCornerCSSFromGlobal: (corner?: CornerRadius) => React.CSSProperties;
|
|
42681
|
-
declare const getRadiusCSSFromGlobal: (state: StateType, key?: RoundedSize, device?: NameDevices
|
|
42682
|
-
declare const getCustomRadius: (state: StateType, radius?: CornerRadius, device?: NameDevices
|
|
42689
|
+
declare const getRadiusCSSFromGlobal: (state: StateType, key?: RoundedSize, device?: NameDevices) => React.CSSProperties;
|
|
42690
|
+
declare const getCustomRadius: (state: StateType, radius?: CornerRadius, device?: NameDevices) => React.CSSProperties;
|
|
42683
42691
|
declare const composeRadius: (value?: StateProp<CornerRadius> | ResponsiveStateProp<CornerRadius>) => React.CSSProperties;
|
|
42684
42692
|
declare const composeRadiusResponsive: (radiusValue?: ObjectDevices<CornerRadius>) => React.CSSProperties;
|
|
42685
42693
|
declare const getRadiusStyleActiveState: (radiusValue?: StateProp<CornerRadius>) => React.CSSProperties;
|
|
@@ -45977,14 +45985,14 @@ declare const getGlobalSizeGap: (globalSize?: ObjectDevices<SizeSettingGlobal>)
|
|
|
45977
45985
|
'--gg-tablet': string | undefined;
|
|
45978
45986
|
'--gg-mobile': string | undefined;
|
|
45979
45987
|
};
|
|
45980
|
-
declare const makeStyleWithDefault: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices
|
|
45981
|
-
declare const getWidthHeightGlobalSize: (type: 'width' | 'height', globalSize?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices
|
|
45982
|
-
declare const getHeightByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices
|
|
45983
|
-
declare const getWidthByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>, defaultAuto?: boolean, defaultFull?: boolean) => Partial<Record<NameDevices
|
|
45988
|
+
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>;
|
|
45989
|
+
declare const getWidthHeightGlobalSize: (type: 'width' | 'height', globalSize?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices, string | number>>;
|
|
45990
|
+
declare const getHeightByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices, string>>;
|
|
45991
|
+
declare const getWidthByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>, defaultAuto?: boolean, defaultFull?: boolean) => Partial<Record<NameDevices, string>>;
|
|
45984
45992
|
declare const getAspectRatioGlobalSize: (shape?: ObjectDevices<SizeSettingGlobal>) => ObjectDevices<string>;
|
|
45985
45993
|
declare const getPaddingGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) => React.CSSProperties;
|
|
45986
|
-
declare const getValueByDevice: <T>(value: any, device: NameDevices
|
|
45987
|
-
declare const getPaddingStyleByDevice: (value?: PaddingType, device?: NameDevices
|
|
45994
|
+
declare const getValueByDevice: <T>(value: any, device: NameDevices) => T;
|
|
45995
|
+
declare const getPaddingStyleByDevice: (value?: PaddingType, device?: NameDevices) => {
|
|
45988
45996
|
[x: string]: string | undefined;
|
|
45989
45997
|
};
|
|
45990
45998
|
declare const getResponsiveStylePadding: (value?: ObjectDevices<PaddingType>) => {
|
|
@@ -47718,7 +47726,7 @@ declare const useProductsQuery: (ids?: string[], options?: SWRConfiguration<Prod
|
|
|
47718
47726
|
}) => swr__internal.SWRResponse<ProductsQueryResponse, any, Partial<swr__internal.PublicConfiguration<ProductsQueryResponse, any, (arg: ["query/products", FetchProductsParams]) => swr__internal.FetcherResponse<ProductsQueryResponse>>> | undefined>;
|
|
47719
47727
|
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>;
|
|
47720
47728
|
|
|
47721
|
-
declare const useCurrentDevice: () => NameDevices
|
|
47729
|
+
declare const useCurrentDevice: () => NameDevices;
|
|
47722
47730
|
|
|
47723
47731
|
declare const useLazyVideo: () => void;
|
|
47724
47732
|
|
|
@@ -47876,24 +47884,24 @@ declare const useShopifyLink: ({ productId, articleId }: ShopifyLinkParam) => {
|
|
|
47876
47884
|
declare const useProductList: () => CollectionProductSelectFragment | undefined;
|
|
47877
47885
|
declare const useProductListProducts: () => (ProductQuickSelectFragment | undefined)[] | undefined;
|
|
47878
47886
|
declare const useProductListSettings: () => {
|
|
47879
|
-
loop?: Partial<Record<NameDevices
|
|
47880
|
-
scrollMode?: Partial<Record<NameDevices
|
|
47881
|
-
slidesToShow?: Partial<Record<NameDevices
|
|
47882
|
-
spacing?: Partial<Record<NameDevices
|
|
47887
|
+
loop?: Partial<Record<NameDevices, boolean>> | undefined;
|
|
47888
|
+
scrollMode?: Partial<Record<NameDevices, "snap" | "free" | "free-snap">> | undefined;
|
|
47889
|
+
slidesToShow?: Partial<Record<NameDevices, number | "auto">> | undefined;
|
|
47890
|
+
spacing?: Partial<Record<NameDevices, number>> | undefined;
|
|
47883
47891
|
layout?: "slider" | "grid" | undefined;
|
|
47884
|
-
dot?: Partial<Record<NameDevices
|
|
47885
|
-
dotStyle?: Partial<Record<NameDevices
|
|
47886
|
-
arrow?: Partial<Record<NameDevices
|
|
47887
|
-
controlOverContent?: Partial<Record<NameDevices
|
|
47892
|
+
dot?: Partial<Record<NameDevices, boolean>> | undefined;
|
|
47893
|
+
dotStyle?: Partial<Record<NameDevices, "none" | "inside" | "outside">> | undefined;
|
|
47894
|
+
arrow?: Partial<Record<NameDevices, boolean>> | undefined;
|
|
47895
|
+
controlOverContent?: Partial<Record<NameDevices, boolean>> | undefined;
|
|
47888
47896
|
speed?: number | undefined;
|
|
47889
47897
|
} | undefined;
|
|
47890
47898
|
declare const useProductListStyles: () => {
|
|
47891
|
-
horizontalGutter?: Partial<Record<NameDevices
|
|
47892
|
-
verticalGutter?: Partial<Record<NameDevices
|
|
47893
|
-
fullWidth?: Partial<Record<NameDevices
|
|
47894
|
-
spacing?: Partial<Record<NameDevices
|
|
47895
|
-
width?: Partial<Record<NameDevices
|
|
47896
|
-
height?: Partial<Record<NameDevices
|
|
47899
|
+
horizontalGutter?: Partial<Record<NameDevices, string>> | undefined;
|
|
47900
|
+
verticalGutter?: Partial<Record<NameDevices, string>> | undefined;
|
|
47901
|
+
fullWidth?: Partial<Record<NameDevices, boolean>> | undefined;
|
|
47902
|
+
spacing?: Partial<Record<NameDevices, number>> | undefined;
|
|
47903
|
+
width?: Partial<Record<NameDevices, string>> | undefined;
|
|
47904
|
+
height?: Partial<Record<NameDevices, string>> | undefined;
|
|
47897
47905
|
} | undefined;
|
|
47898
47906
|
|
|
47899
47907
|
declare const useSuspenseFetch: <T>(key: string | any[], promise: () => Promise<T>) => {
|
|
@@ -47958,6 +47966,6 @@ declare const useInteraction: () => {
|
|
|
47958
47966
|
interactionListenerLoaded: (callback: () => void) => void;
|
|
47959
47967
|
};
|
|
47960
47968
|
|
|
47961
|
-
declare const DEVICES: NameDevices
|
|
47969
|
+
declare const DEVICES: NameDevices[];
|
|
47962
47970
|
|
|
47963
|
-
export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AirProductReview, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, appAPI as AppAPIType, ArticleListProvider, ArticleListProviderProps, ArticleProvider, ArticleProviderProps, ArticlesDocument, ArticlesQueryResponse, ArticlesQueryVariables, Background, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, BaseProps, BasePropsWrap, BlockEntity, BlogsDocument, BlogsQueryResponse, BlogsQueryVariables, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CSSStateKey, 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, DEVICES, DeepPartial, DotStyle, Dropdown, DynamicCollection, DynamicProduct, ExtractState, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, I18nProvider, I18nProviderProps, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEvent, InteractionTargetEventObject, InteractionTriggerEvent, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, LooxReviewsWidgetTypeV2, MediaSelectFragment, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, Option$4 as Option, OptionNormalStyle, OptionSpecialStyle, Options$1 as Options, PaddingType, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedShopMetasDocument, PublishedShopMetasQueryResponse, PublishedShopMetasQueryVariables, 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, SaleFunnelOfferDocument, SaleFunnelOfferQueryResponse, SaleFunnelOfferQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, Setting, SettingByAnimationType, SettingByAnimationValues, SettingUIControl, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, ShopShopifyDocument, ShopShopifyQueryResponse, ShopShopifyQueryVariables, shop as ShopType, SizeProps, SizeSetting$1 as SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StampedWidgetTypeV2, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, ValidateType, VariableRelatedStyles, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBackgroundImageCss, composeBorderCss, composeBorderResponsive, composeClasses, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadow, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTextHoverColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertBoxShadowV1ToV2, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterToolbarPreview, filterTruthyStyles, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAlignmentClasses, getAppBlocks, getAspectRatioGlobalSize, getBgByDevice, getBgImageByDevice, getBgImageSourceByDevice, getBgVideoByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getColor, getCornerCSSFromGlobal, getCornerStyle, getCustomRadius, getFlexGrowClassByShapeGlobalSize, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getLayoutClasses, getPaddingGlobalSize, getPaddingStyleByDevice, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStylePadding, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBackgroundImage, getStyleBgColor, getStyleBgImageSource, getStyleShadow, getStyleShadowState, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, handleConvertInputBorderColor, handleConvertInputBorderWidth, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleResponsiveWidth, makeStyleResponsiveWidthWithoutAuto, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, sanitizeLiquid, 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, useHasPreSelected, useI18n, useI18nStore, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, useStickyStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useTimezone, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
|
47971
|
+
export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AirProductReview, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, appAPI as AppAPIType, ArticleListProvider, ArticleListProviderProps, ArticleProvider, ArticleProviderProps, ArticlesDocument, ArticlesQueryResponse, ArticlesQueryVariables, Background, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, BaseProps, BasePropsWrap, BlockEntity, BlogsDocument, BlogsQueryResponse, BlogsQueryVariables, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CSSStateKey, 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, DEVICES, DeepPartial, DotStyle, Dropdown, DynamicCollection, DynamicProduct, ExtractState, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, I18nProvider, I18nProviderProps, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEvent, InteractionTargetEventObject, InteractionTriggerEvent, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, LooxReviewsWidgetTypeV2, MediaSelectFragment, ModalProvider, ModalProviderProps, NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, Option$4 as Option, OptionNormalStyle, OptionSpecialStyle, Options$1 as Options, PaddingType, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedShopMetasDocument, PublishedShopMetasQueryResponse, PublishedShopMetasQueryVariables, 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, SaleFunnelOfferDocument, SaleFunnelOfferQueryResponse, SaleFunnelOfferQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, Setting, SettingByAnimationType, SettingByAnimationValues, SettingUIControl, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, ShopShopifyDocument, ShopShopifyQueryResponse, ShopShopifyQueryVariables, shop as ShopType, SizeProps, SizeSetting$1 as SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StampedWidgetTypeV2, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, ValidateType, VariableRelatedStyles, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBackgroundImageCss, composeBorderCss, composeBorderResponsive, composeClasses, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadow, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTextHoverColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertBoxShadowV1ToV2, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterToolbarPreview, filterTruthyStyles, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAlignmentClasses, getAppBlocks, getAspectRatioGlobalSize, getBgByDevice, getBgImageByDevice, getBgImageSourceByDevice, getBgVideoByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getColor, getCornerCSSFromGlobal, getCornerStyle, getCustomRadius, getFlexGrowClassByShapeGlobalSize, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getLayoutClasses, getPaddingGlobalSize, getPaddingStyleByDevice, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStylePadding, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBackgroundImage, getStyleBgColor, getStyleBgImageSource, getStyleShadow, getStyleShadowState, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, handleConvertInputBorderColor, handleConvertInputBorderWidth, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleResponsiveWidth, makeStyleResponsiveWidthWithoutAuto, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, sanitizeLiquid, 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, useHasPreSelected, useI18n, useI18nStore, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, useStickyStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useTimezone, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|