@gem-sdk/core 2.0.0-dev.703 → 2.0.0-dev.704
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/helpers/backgroundImage.js +29 -83
- package/dist/cjs/helpers/third-party/appSetting.js +2 -2
- package/dist/cjs/helpers/typography.js +2 -2
- package/dist/cjs/index.js +1 -1
- package/dist/esm/helpers/backgroundImage.js +30 -84
- package/dist/esm/helpers/third-party/appSetting.js +2 -2
- package/dist/esm/helpers/typography.js +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/types/index.d.ts +13 -13
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var makeStyle = require('./make-style.js');
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const getStyleBackgroundImage = (backgroundImage, options)=>{
|
|
6
6
|
if (!backgroundImage) {
|
|
7
7
|
return {};
|
|
8
8
|
}
|
|
@@ -20,27 +20,13 @@ const getStyleBackgroundImageByDevice = (backgroundImage, options)=>{
|
|
|
20
20
|
};
|
|
21
21
|
const getStyleBgImageSource = (backgroundImage, options)=>{
|
|
22
22
|
const bgImage = {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
hover: getBgImageSourceByDevice(backgroundImage, 'desktop', 'hover', options)
|
|
26
|
-
},
|
|
27
|
-
...backgroundImage?.tablet && {
|
|
28
|
-
tablet: {
|
|
29
|
-
normal: getBgImageSourceByDevice(backgroundImage, 'tablet', 'normal', options),
|
|
30
|
-
hover: getBgImageSourceByDevice(backgroundImage, 'tablet', 'hover', options)
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
...backgroundImage?.mobile && {
|
|
34
|
-
mobile: {
|
|
35
|
-
normal: getBgImageSourceByDevice(backgroundImage, 'mobile', 'normal', options),
|
|
36
|
-
hover: getBgImageSourceByDevice(backgroundImage, 'mobile', 'hover', options)
|
|
37
|
-
}
|
|
38
|
-
}
|
|
23
|
+
normal: getBgImageSourceByDevice(backgroundImage, 'normal', options),
|
|
24
|
+
hover: getBgImageSourceByDevice(backgroundImage, 'hover', options)
|
|
39
25
|
};
|
|
40
|
-
return makeStyle.
|
|
26
|
+
return makeStyle.makeStyleState('bgi', bgImage);
|
|
41
27
|
};
|
|
42
|
-
const getBgImageSourceByDevice = (backgroundImage,
|
|
43
|
-
const stateValue = backgroundImage?.[
|
|
28
|
+
const getBgImageSourceByDevice = (backgroundImage, state, options)=>{
|
|
29
|
+
const stateValue = backgroundImage?.[state];
|
|
44
30
|
const backupFileKey = stateValue?.image?.backupFileKey;
|
|
45
31
|
const storage = stateValue?.image?.storage;
|
|
46
32
|
let imageByDevice = stateValue?.image?.src;
|
|
@@ -64,90 +50,50 @@ const getBgImageSourceByDevice = (backgroundImage, device, state, options)=>{
|
|
|
64
50
|
};
|
|
65
51
|
const getStyleBgImagePosition = (backgroundImage)=>{
|
|
66
52
|
const bgPosition = {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
hover: getBgImagePositionByDevice(backgroundImage, 'desktop', 'hover')
|
|
70
|
-
},
|
|
71
|
-
tablet: {
|
|
72
|
-
normal: getBgImagePositionByDevice(backgroundImage, 'tablet', 'normal'),
|
|
73
|
-
hover: getBgImagePositionByDevice(backgroundImage, 'tablet', 'hover')
|
|
74
|
-
},
|
|
75
|
-
mobile: {
|
|
76
|
-
normal: getBgImagePositionByDevice(backgroundImage, 'mobile', 'normal'),
|
|
77
|
-
hover: getBgImagePositionByDevice(backgroundImage, 'mobile', 'hover')
|
|
78
|
-
}
|
|
53
|
+
normal: getBgImagePositionByDevice(backgroundImage, 'normal'),
|
|
54
|
+
hover: getBgImagePositionByDevice(backgroundImage, 'hover')
|
|
79
55
|
};
|
|
80
|
-
return makeStyle.
|
|
56
|
+
return makeStyle.makeStyleState('bgp', bgPosition);
|
|
81
57
|
};
|
|
82
|
-
const getBgImagePositionByDevice = (backgroundImage,
|
|
83
|
-
const position = backgroundImage?.[
|
|
58
|
+
const getBgImagePositionByDevice = (backgroundImage, state)=>{
|
|
59
|
+
const position = backgroundImage?.[state]?.position;
|
|
84
60
|
return position && `${position.x}% ${position.y}%`;
|
|
85
61
|
};
|
|
86
62
|
const getStyleBgImageSize = (backgroundImage)=>{
|
|
87
63
|
const bgSize = {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
hover: getBgImageSizeByDevice(backgroundImage, 'desktop', 'hover')
|
|
91
|
-
},
|
|
92
|
-
tablet: {
|
|
93
|
-
normal: getBgImageSizeByDevice(backgroundImage, 'tablet', 'normal'),
|
|
94
|
-
hover: getBgImageSizeByDevice(backgroundImage, 'tablet', 'hover')
|
|
95
|
-
},
|
|
96
|
-
mobile: {
|
|
97
|
-
normal: getBgImageSizeByDevice(backgroundImage, 'mobile', 'normal'),
|
|
98
|
-
hover: getBgImageSizeByDevice(backgroundImage, 'mobile', 'hover')
|
|
99
|
-
}
|
|
64
|
+
normal: getBgImageSizeByDevice(backgroundImage, 'normal'),
|
|
65
|
+
hover: getBgImageSizeByDevice(backgroundImage, 'hover')
|
|
100
66
|
};
|
|
101
|
-
return makeStyle.
|
|
67
|
+
return makeStyle.makeStyleState('bgs', bgSize);
|
|
102
68
|
};
|
|
103
|
-
const getBgImageSizeByDevice = (backgroundImage,
|
|
104
|
-
return backgroundImage?.[
|
|
69
|
+
const getBgImageSizeByDevice = (backgroundImage, state)=>{
|
|
70
|
+
return backgroundImage?.[state]?.size;
|
|
105
71
|
};
|
|
106
72
|
const getStyleBgImageRepeat = (backgroundImage)=>{
|
|
107
73
|
const bgRepeat = {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
hover: getBgImageRepeatByDevice(backgroundImage, 'desktop', 'hover')
|
|
111
|
-
},
|
|
112
|
-
tablet: {
|
|
113
|
-
normal: getBgImageRepeatByDevice(backgroundImage, 'tablet', 'normal'),
|
|
114
|
-
hover: getBgImageRepeatByDevice(backgroundImage, 'tablet', 'hover')
|
|
115
|
-
},
|
|
116
|
-
mobile: {
|
|
117
|
-
normal: getBgImageRepeatByDevice(backgroundImage, 'mobile', 'normal'),
|
|
118
|
-
hover: getBgImageRepeatByDevice(backgroundImage, 'mobile', 'hover')
|
|
119
|
-
}
|
|
74
|
+
normal: getBgImageRepeatByDevice(backgroundImage, 'normal'),
|
|
75
|
+
hover: getBgImageRepeatByDevice(backgroundImage, 'hover')
|
|
120
76
|
};
|
|
121
|
-
return makeStyle.
|
|
77
|
+
return makeStyle.makeStyleState('bgr', bgRepeat);
|
|
122
78
|
};
|
|
123
|
-
const getBgImageRepeatByDevice = (backgroundImage,
|
|
124
|
-
return backgroundImage?.[
|
|
79
|
+
const getBgImageRepeatByDevice = (backgroundImage, state)=>{
|
|
80
|
+
return backgroundImage?.[state]?.repeat;
|
|
125
81
|
};
|
|
126
82
|
const getStyleBgImageAttachment = (backgroundImage)=>{
|
|
127
83
|
const bgAttachment = {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
hover: getBgImageAttachmentByDevice(backgroundImage, 'desktop', 'hover')
|
|
131
|
-
},
|
|
132
|
-
tablet: {
|
|
133
|
-
normal: getBgImageAttachmentByDevice(backgroundImage, 'tablet', 'normal'),
|
|
134
|
-
hover: getBgImageAttachmentByDevice(backgroundImage, 'tablet', 'hover')
|
|
135
|
-
},
|
|
136
|
-
mobile: {
|
|
137
|
-
normal: getBgImageAttachmentByDevice(backgroundImage, 'mobile', 'normal'),
|
|
138
|
-
hover: getBgImageAttachmentByDevice(backgroundImage, 'mobile', 'hover')
|
|
139
|
-
}
|
|
84
|
+
normal: getBgImageAttachmentByDevice(backgroundImage, 'normal'),
|
|
85
|
+
hover: getBgImageAttachmentByDevice(backgroundImage, 'hover')
|
|
140
86
|
};
|
|
141
|
-
return makeStyle.
|
|
87
|
+
return makeStyle.makeStyleState('bga', bgAttachment);
|
|
142
88
|
};
|
|
143
|
-
const getBgImageAttachmentByDevice = (backgroundImage,
|
|
144
|
-
return backgroundImage?.[
|
|
89
|
+
const getBgImageAttachmentByDevice = (backgroundImage, state)=>{
|
|
90
|
+
return backgroundImage?.[state]?.attachment;
|
|
145
91
|
};
|
|
146
92
|
const composeBackgroundImageCss = (config, options = {})=>{
|
|
147
93
|
if (!config) return undefined;
|
|
148
|
-
const { device = 'desktop', state = 'normal', useLiquid = false } = options;
|
|
94
|
+
const { device = 'desktop', state = 'normal', useLiquid = false, responsive } = options;
|
|
149
95
|
const styles = [];
|
|
150
|
-
const bgConfig = config?.[device]?.[state];
|
|
96
|
+
const bgConfig = responsive ? config?.[device]?.[state] : config?.[state];
|
|
151
97
|
if (!bgConfig) return '';
|
|
152
98
|
// Handle background image source
|
|
153
99
|
if (bgConfig.image?.src) {
|
|
@@ -183,5 +129,5 @@ const composeBackgroundImageCss = (config, options = {})=>{
|
|
|
183
129
|
|
|
184
130
|
exports.composeBackgroundImageCss = composeBackgroundImageCss;
|
|
185
131
|
exports.getBgImageSourceByDevice = getBgImageSourceByDevice;
|
|
186
|
-
exports.
|
|
132
|
+
exports.getStyleBackgroundImage = getStyleBackgroundImage;
|
|
187
133
|
exports.getStyleBgImageSource = getStyleBgImageSource;
|
|
@@ -53,10 +53,10 @@ const composeTextShadowCss = (textShadow)=>{
|
|
|
53
53
|
const yOffset = Math.round(Math.sin(angleInRadians) * distance * 100) / 100;
|
|
54
54
|
return `${xOffset}px ${yOffset}px ${textShadow?.blur ?? '0'} ${textShadow.color}`;
|
|
55
55
|
};
|
|
56
|
-
const composeTextHoverColorCss = (
|
|
56
|
+
const composeTextHoverColorCss = (colorHoverConfig, isImportant)=>{
|
|
57
57
|
if (colorHoverConfig) {
|
|
58
58
|
const composeImportant = isImportant ? '!important' : '';
|
|
59
|
-
const color = colorHoverConfig
|
|
59
|
+
const color = colorHoverConfig.hover;
|
|
60
60
|
return `${color ? `color: ${color} ${composeImportant}` : ''}`;
|
|
61
61
|
}
|
|
62
62
|
};
|
package/dist/cjs/index.js
CHANGED
|
@@ -232,7 +232,7 @@ exports.getStyleBgColor = background.getStyleBgColor;
|
|
|
232
232
|
exports.makeFixedBgAttachment = background.makeFixedBgAttachment;
|
|
233
233
|
exports.composeBackgroundImageCss = backgroundImage.composeBackgroundImageCss;
|
|
234
234
|
exports.getBgImageSourceByDevice = backgroundImage.getBgImageSourceByDevice;
|
|
235
|
-
exports.
|
|
235
|
+
exports.getStyleBackgroundImage = backgroundImage.getStyleBackgroundImage;
|
|
236
236
|
exports.getStyleBgImageSource = backgroundImage.getStyleBgImageSource;
|
|
237
237
|
exports.composeTextColorCss = colors.composeTextColorCss;
|
|
238
238
|
exports.getGlobalColorCSSProp = colors.getGlobalColorCSSProp;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { makeStyleState } from './make-style.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const getStyleBackgroundImage = (backgroundImage, options)=>{
|
|
4
4
|
if (!backgroundImage) {
|
|
5
5
|
return {};
|
|
6
6
|
}
|
|
@@ -18,27 +18,13 @@ const getStyleBackgroundImageByDevice = (backgroundImage, options)=>{
|
|
|
18
18
|
};
|
|
19
19
|
const getStyleBgImageSource = (backgroundImage, options)=>{
|
|
20
20
|
const bgImage = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
hover: getBgImageSourceByDevice(backgroundImage, 'desktop', 'hover', options)
|
|
24
|
-
},
|
|
25
|
-
...backgroundImage?.tablet && {
|
|
26
|
-
tablet: {
|
|
27
|
-
normal: getBgImageSourceByDevice(backgroundImage, 'tablet', 'normal', options),
|
|
28
|
-
hover: getBgImageSourceByDevice(backgroundImage, 'tablet', 'hover', options)
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
...backgroundImage?.mobile && {
|
|
32
|
-
mobile: {
|
|
33
|
-
normal: getBgImageSourceByDevice(backgroundImage, 'mobile', 'normal', options),
|
|
34
|
-
hover: getBgImageSourceByDevice(backgroundImage, 'mobile', 'hover', options)
|
|
35
|
-
}
|
|
36
|
-
}
|
|
21
|
+
normal: getBgImageSourceByDevice(backgroundImage, 'normal', options),
|
|
22
|
+
hover: getBgImageSourceByDevice(backgroundImage, 'hover', options)
|
|
37
23
|
};
|
|
38
|
-
return
|
|
24
|
+
return makeStyleState('bgi', bgImage);
|
|
39
25
|
};
|
|
40
|
-
const getBgImageSourceByDevice = (backgroundImage,
|
|
41
|
-
const stateValue = backgroundImage?.[
|
|
26
|
+
const getBgImageSourceByDevice = (backgroundImage, state, options)=>{
|
|
27
|
+
const stateValue = backgroundImage?.[state];
|
|
42
28
|
const backupFileKey = stateValue?.image?.backupFileKey;
|
|
43
29
|
const storage = stateValue?.image?.storage;
|
|
44
30
|
let imageByDevice = stateValue?.image?.src;
|
|
@@ -62,90 +48,50 @@ const getBgImageSourceByDevice = (backgroundImage, device, state, options)=>{
|
|
|
62
48
|
};
|
|
63
49
|
const getStyleBgImagePosition = (backgroundImage)=>{
|
|
64
50
|
const bgPosition = {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
hover: getBgImagePositionByDevice(backgroundImage, 'desktop', 'hover')
|
|
68
|
-
},
|
|
69
|
-
tablet: {
|
|
70
|
-
normal: getBgImagePositionByDevice(backgroundImage, 'tablet', 'normal'),
|
|
71
|
-
hover: getBgImagePositionByDevice(backgroundImage, 'tablet', 'hover')
|
|
72
|
-
},
|
|
73
|
-
mobile: {
|
|
74
|
-
normal: getBgImagePositionByDevice(backgroundImage, 'mobile', 'normal'),
|
|
75
|
-
hover: getBgImagePositionByDevice(backgroundImage, 'mobile', 'hover')
|
|
76
|
-
}
|
|
51
|
+
normal: getBgImagePositionByDevice(backgroundImage, 'normal'),
|
|
52
|
+
hover: getBgImagePositionByDevice(backgroundImage, 'hover')
|
|
77
53
|
};
|
|
78
|
-
return
|
|
54
|
+
return makeStyleState('bgp', bgPosition);
|
|
79
55
|
};
|
|
80
|
-
const getBgImagePositionByDevice = (backgroundImage,
|
|
81
|
-
const position = backgroundImage?.[
|
|
56
|
+
const getBgImagePositionByDevice = (backgroundImage, state)=>{
|
|
57
|
+
const position = backgroundImage?.[state]?.position;
|
|
82
58
|
return position && `${position.x}% ${position.y}%`;
|
|
83
59
|
};
|
|
84
60
|
const getStyleBgImageSize = (backgroundImage)=>{
|
|
85
61
|
const bgSize = {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
hover: getBgImageSizeByDevice(backgroundImage, 'desktop', 'hover')
|
|
89
|
-
},
|
|
90
|
-
tablet: {
|
|
91
|
-
normal: getBgImageSizeByDevice(backgroundImage, 'tablet', 'normal'),
|
|
92
|
-
hover: getBgImageSizeByDevice(backgroundImage, 'tablet', 'hover')
|
|
93
|
-
},
|
|
94
|
-
mobile: {
|
|
95
|
-
normal: getBgImageSizeByDevice(backgroundImage, 'mobile', 'normal'),
|
|
96
|
-
hover: getBgImageSizeByDevice(backgroundImage, 'mobile', 'hover')
|
|
97
|
-
}
|
|
62
|
+
normal: getBgImageSizeByDevice(backgroundImage, 'normal'),
|
|
63
|
+
hover: getBgImageSizeByDevice(backgroundImage, 'hover')
|
|
98
64
|
};
|
|
99
|
-
return
|
|
65
|
+
return makeStyleState('bgs', bgSize);
|
|
100
66
|
};
|
|
101
|
-
const getBgImageSizeByDevice = (backgroundImage,
|
|
102
|
-
return backgroundImage?.[
|
|
67
|
+
const getBgImageSizeByDevice = (backgroundImage, state)=>{
|
|
68
|
+
return backgroundImage?.[state]?.size;
|
|
103
69
|
};
|
|
104
70
|
const getStyleBgImageRepeat = (backgroundImage)=>{
|
|
105
71
|
const bgRepeat = {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
hover: getBgImageRepeatByDevice(backgroundImage, 'desktop', 'hover')
|
|
109
|
-
},
|
|
110
|
-
tablet: {
|
|
111
|
-
normal: getBgImageRepeatByDevice(backgroundImage, 'tablet', 'normal'),
|
|
112
|
-
hover: getBgImageRepeatByDevice(backgroundImage, 'tablet', 'hover')
|
|
113
|
-
},
|
|
114
|
-
mobile: {
|
|
115
|
-
normal: getBgImageRepeatByDevice(backgroundImage, 'mobile', 'normal'),
|
|
116
|
-
hover: getBgImageRepeatByDevice(backgroundImage, 'mobile', 'hover')
|
|
117
|
-
}
|
|
72
|
+
normal: getBgImageRepeatByDevice(backgroundImage, 'normal'),
|
|
73
|
+
hover: getBgImageRepeatByDevice(backgroundImage, 'hover')
|
|
118
74
|
};
|
|
119
|
-
return
|
|
75
|
+
return makeStyleState('bgr', bgRepeat);
|
|
120
76
|
};
|
|
121
|
-
const getBgImageRepeatByDevice = (backgroundImage,
|
|
122
|
-
return backgroundImage?.[
|
|
77
|
+
const getBgImageRepeatByDevice = (backgroundImage, state)=>{
|
|
78
|
+
return backgroundImage?.[state]?.repeat;
|
|
123
79
|
};
|
|
124
80
|
const getStyleBgImageAttachment = (backgroundImage)=>{
|
|
125
81
|
const bgAttachment = {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
hover: getBgImageAttachmentByDevice(backgroundImage, 'desktop', 'hover')
|
|
129
|
-
},
|
|
130
|
-
tablet: {
|
|
131
|
-
normal: getBgImageAttachmentByDevice(backgroundImage, 'tablet', 'normal'),
|
|
132
|
-
hover: getBgImageAttachmentByDevice(backgroundImage, 'tablet', 'hover')
|
|
133
|
-
},
|
|
134
|
-
mobile: {
|
|
135
|
-
normal: getBgImageAttachmentByDevice(backgroundImage, 'mobile', 'normal'),
|
|
136
|
-
hover: getBgImageAttachmentByDevice(backgroundImage, 'mobile', 'hover')
|
|
137
|
-
}
|
|
82
|
+
normal: getBgImageAttachmentByDevice(backgroundImage, 'normal'),
|
|
83
|
+
hover: getBgImageAttachmentByDevice(backgroundImage, 'hover')
|
|
138
84
|
};
|
|
139
|
-
return
|
|
85
|
+
return makeStyleState('bga', bgAttachment);
|
|
140
86
|
};
|
|
141
|
-
const getBgImageAttachmentByDevice = (backgroundImage,
|
|
142
|
-
return backgroundImage?.[
|
|
87
|
+
const getBgImageAttachmentByDevice = (backgroundImage, state)=>{
|
|
88
|
+
return backgroundImage?.[state]?.attachment;
|
|
143
89
|
};
|
|
144
90
|
const composeBackgroundImageCss = (config, options = {})=>{
|
|
145
91
|
if (!config) return undefined;
|
|
146
|
-
const { device = 'desktop', state = 'normal', useLiquid = false } = options;
|
|
92
|
+
const { device = 'desktop', state = 'normal', useLiquid = false, responsive } = options;
|
|
147
93
|
const styles = [];
|
|
148
|
-
const bgConfig = config?.[device]?.[state];
|
|
94
|
+
const bgConfig = responsive ? config?.[device]?.[state] : config?.[state];
|
|
149
95
|
if (!bgConfig) return '';
|
|
150
96
|
// Handle background image source
|
|
151
97
|
if (bgConfig.image?.src) {
|
|
@@ -179,4 +125,4 @@ const composeBackgroundImageCss = (config, options = {})=>{
|
|
|
179
125
|
return styles.join('\n ');
|
|
180
126
|
};
|
|
181
127
|
|
|
182
|
-
export { composeBackgroundImageCss, getBgImageSourceByDevice,
|
|
128
|
+
export { composeBackgroundImageCss, getBgImageSourceByDevice, getStyleBackgroundImage, getStyleBgImageSource };
|
|
@@ -51,10 +51,10 @@ const composeTextShadowCss = (textShadow)=>{
|
|
|
51
51
|
const yOffset = Math.round(Math.sin(angleInRadians) * distance * 100) / 100;
|
|
52
52
|
return `${xOffset}px ${yOffset}px ${textShadow?.blur ?? '0'} ${textShadow.color}`;
|
|
53
53
|
};
|
|
54
|
-
const composeTextHoverColorCss = (
|
|
54
|
+
const composeTextHoverColorCss = (colorHoverConfig, isImportant)=>{
|
|
55
55
|
if (colorHoverConfig) {
|
|
56
56
|
const composeImportant = isImportant ? '!important' : '';
|
|
57
|
-
const color = colorHoverConfig
|
|
57
|
+
const color = colorHoverConfig.hover;
|
|
58
58
|
return `${color ? `color: ${color} ${composeImportant}` : ''}`;
|
|
59
59
|
}
|
|
60
60
|
};
|
package/dist/esm/index.js
CHANGED
|
@@ -60,7 +60,7 @@ export { gtag };
|
|
|
60
60
|
import * as tiktokpixel from './helpers/tracking/tiktokpixel.js';
|
|
61
61
|
export { tiktokpixel };
|
|
62
62
|
export { GRADIENT_BGR_KEY, composeBackgroundCss, getBgByDevice, getBgImageByDevice, getBgVideoByDevice, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getStyleBackgroundByDevice, getStyleBgColor, makeFixedBgAttachment } from './helpers/background.js';
|
|
63
|
-
export { composeBackgroundImageCss, getBgImageSourceByDevice,
|
|
63
|
+
export { composeBackgroundImageCss, getBgImageSourceByDevice, getStyleBackgroundImage, getStyleBgImageSource } from './helpers/backgroundImage.js';
|
|
64
64
|
export { composeTextColorCss, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getSingleColorVariable, isColor } from './helpers/colors.js';
|
|
65
65
|
export { composeAdvanceStyle, composeAdvanceStyleForPostPurchase, convertBoxShadowV1ToV2, filterAttrInStyle, getCornerStyle, removeAttrInStyle, removePaddingYInStyle, splitStyle } from './helpers/compose-advance-style.js';
|
|
66
66
|
export { composeClasses } from './helpers/composeClasses.js';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -37644,7 +37644,7 @@ type ComponentPreset = {
|
|
|
37644
37644
|
rootOverride?: Record<string, any>;
|
|
37645
37645
|
};
|
|
37646
37646
|
|
|
37647
|
-
type Devices
|
|
37647
|
+
type Devices = 'desktop' | 'tablet' | 'mobile';
|
|
37648
37648
|
type Options$1 = {
|
|
37649
37649
|
liquid?: boolean;
|
|
37650
37650
|
ignoreBgAttachment?: boolean;
|
|
@@ -37652,7 +37652,7 @@ type Options$1 = {
|
|
|
37652
37652
|
ignoreBackgroundImageProperties?: boolean;
|
|
37653
37653
|
ignoreBackgroundColor?: boolean;
|
|
37654
37654
|
};
|
|
37655
|
-
declare const getBgVideoByDevice: (value?: Partial<Record<Devices
|
|
37655
|
+
declare const getBgVideoByDevice: (value?: Partial<Record<Devices, Background>>, device?: Devices) => Background | undefined;
|
|
37656
37656
|
declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options$1) => {
|
|
37657
37657
|
"--bga"?: string | undefined;
|
|
37658
37658
|
"--bga-tablet"?: string | undefined;
|
|
@@ -37674,7 +37674,7 @@ declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background
|
|
|
37674
37674
|
"--bgc-mobile"?: string | undefined;
|
|
37675
37675
|
};
|
|
37676
37676
|
declare const getStyleBgColor: (background: ObjectDevices<Background>) => Record<ResponsiveKey<"bgc">, string>;
|
|
37677
|
-
declare const getBgImageByDevice: (background: ObjectDevices<Background>, device: Devices
|
|
37677
|
+
declare const getBgImageByDevice: (background: ObjectDevices<Background>, device: Devices, options?: Options$1) => string | undefined;
|
|
37678
37678
|
declare const composeBackgroundCss: (backgroundColor?: ColorValueType) => string;
|
|
37679
37679
|
declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) => {
|
|
37680
37680
|
wrapper: {
|
|
@@ -37686,26 +37686,26 @@ declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) =>
|
|
|
37686
37686
|
} | undefined;
|
|
37687
37687
|
declare const GRADIENT_BGR_KEY = "linear-gradient";
|
|
37688
37688
|
declare const getGradientBgrStyleForButton: (backgroundStyle: Partial<Record<StateType, ColorValueType>> | undefined) => {} | undefined;
|
|
37689
|
-
declare const getGradientBgrStyleByDevice: (backgroundStyle: Partial<Record<Devices
|
|
37689
|
+
declare const getGradientBgrStyleByDevice: (backgroundStyle: Partial<Record<Devices, Background>> | undefined, ignoreBackgroundImage?: Record<Devices, boolean>) => {} | undefined;
|
|
37690
37690
|
declare const getBgByDevice: (data: {
|
|
37691
|
-
backgroundColor: Partial<Record<Devices
|
|
37692
|
-
backgroundImage: Partial<Record<Devices
|
|
37691
|
+
backgroundColor: Partial<Record<Devices, string>> | undefined;
|
|
37692
|
+
backgroundImage: Partial<Record<Devices, BackgroundImageValue>> | undefined;
|
|
37693
37693
|
}) => {} | undefined;
|
|
37694
37694
|
|
|
37695
|
-
type Devices = 'desktop' | 'tablet' | 'mobile';
|
|
37696
37695
|
type Options = {
|
|
37697
37696
|
liquid?: boolean;
|
|
37698
37697
|
ignoreBgAttachment?: boolean;
|
|
37699
37698
|
ignoreBackgroundImage?: boolean;
|
|
37700
37699
|
ignoreBackgroundImageProperties?: boolean;
|
|
37701
37700
|
};
|
|
37702
|
-
declare const
|
|
37703
|
-
declare const getStyleBgImageSource: (backgroundImage:
|
|
37704
|
-
declare const getBgImageSourceByDevice: (backgroundImage:
|
|
37705
|
-
declare const composeBackgroundImageCss: (config?: ObjectDevices<StateProp<BackgroundImageValue
|
|
37701
|
+
declare const getStyleBackgroundImage: (backgroundImage?: StateProp<BackgroundImageValue>, options?: Options) => {};
|
|
37702
|
+
declare const getStyleBgImageSource: (backgroundImage: StateProp<BackgroundImageValue>, options?: Options) => {};
|
|
37703
|
+
declare const getBgImageSourceByDevice: (backgroundImage: StateProp<BackgroundImageValue>, state: StateType, options?: Options) => string;
|
|
37704
|
+
declare const composeBackgroundImageCss: (config?: ObjectDevices<StateProp<BackgroundImageValue>> | StateProp<BackgroundImageValue>, options?: {
|
|
37706
37705
|
useLiquid?: boolean;
|
|
37707
37706
|
device?: 'desktop' | 'tablet' | 'mobile';
|
|
37708
37707
|
state?: 'normal' | 'hover';
|
|
37708
|
+
responsive?: boolean;
|
|
37709
37709
|
}) => string | undefined;
|
|
37710
37710
|
|
|
37711
37711
|
type ColorType = 'bg' | 'text' | 'border' | 'decoration';
|
|
@@ -45990,7 +45990,7 @@ type TypographyClass = `gp-g-${TypographyType}`;
|
|
|
45990
45990
|
declare const genTypoClass: (name: TypographyType) => TypographyClass;
|
|
45991
45991
|
declare const composeTypographyCss: (typography: TypographySetting | undefined) => string;
|
|
45992
45992
|
declare const composeTypographyV2Css: (typography: TypographySettingV2 | undefined, isImportant?: boolean) => string;
|
|
45993
|
-
declare const composeTextHoverColorCss: (
|
|
45993
|
+
declare const composeTextHoverColorCss: (colorHoverConfig?: StateProp<ColorValueType>, isImportant?: boolean) => string | undefined;
|
|
45994
45994
|
declare const composeTypography: (typography?: ObjectDevices<TypographyProps>) => React.CSSProperties;
|
|
45995
45995
|
declare const composeTypographyV2: (value?: TypographyV2Props, attrs?: TypographyV2Attrs) => React.CSSProperties;
|
|
45996
45996
|
declare const composeFontFamilyTypographyV2: (value?: TypographyV2Props & {
|
|
@@ -47954,4 +47954,4 @@ declare const useInteraction: () => {
|
|
|
47954
47954
|
|
|
47955
47955
|
declare const DEVICES: NameDevices$1[];
|
|
47956
47956
|
|
|
47957
|
-
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, 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, getStyleBackgroundImageByDevice, 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, 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 };
|
|
47957
|
+
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, 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, 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 };
|