@gem-sdk/components 2.0.0-staging.134 → 2.0.0-staging.136
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.js +2 -2
- package/dist/cjs/icon-list-v2/components/IconList.liquid.js +3 -1
- package/dist/cjs/text/components/Text.liquid.js +5 -8
- package/dist/cjs/third-party/components/Stamped.liquid.js +3 -2
- package/dist/cjs/third-party/setting/Stamped/BadgeDouble.js +1 -1
- package/dist/cjs/third-party/setting/Stamped/BadgeRibbon.js +1 -1
- package/dist/cjs/third-party/setting/Stamped/BadgeSingle.js +1 -1
- package/dist/cjs/third-party/setting/Stamped/Carousel.js +1 -1
- package/dist/cjs/third-party/setting/Stamped/FullPage.js +1 -1
- package/dist/cjs/third-party/setting/Stamped/MainWidget.js +1 -1
- package/dist/cjs/third-party/setting/Stamped/ProductRating.js +1 -1
- package/dist/cjs/third-party/setting/Stamped/SiteBadge.js +1 -1
- package/dist/cjs/third-party/setting/Stamped/VisualGallery.js +1 -1
- package/dist/cjs/third-party/setting/Stamped/WallPhotos.js +61 -1
- package/dist/cjs/third-party/setting/Stamped.js +105 -1
- package/dist/esm/helpers.js +2 -2
- package/dist/esm/icon-list-v2/components/IconList.liquid.js +3 -1
- package/dist/esm/text/components/Text.liquid.js +5 -8
- package/dist/esm/third-party/components/Stamped.liquid.js +3 -2
- package/dist/esm/third-party/setting/Stamped/BadgeDouble.js +1 -1
- package/dist/esm/third-party/setting/Stamped/BadgeRibbon.js +1 -1
- package/dist/esm/third-party/setting/Stamped/BadgeSingle.js +1 -1
- package/dist/esm/third-party/setting/Stamped/Carousel.js +1 -1
- package/dist/esm/third-party/setting/Stamped/FullPage.js +1 -1
- package/dist/esm/third-party/setting/Stamped/MainWidget.js +1 -1
- package/dist/esm/third-party/setting/Stamped/ProductRating.js +1 -1
- package/dist/esm/third-party/setting/Stamped/SiteBadge.js +1 -1
- package/dist/esm/third-party/setting/Stamped/VisualGallery.js +1 -1
- package/dist/esm/third-party/setting/Stamped/WallPhotos.js +61 -1
- package/dist/esm/third-party/setting/Stamped.js +105 -1
- package/dist/types/index.d.ts +5 -2
- package/package.json +2 -2
package/dist/cjs/helpers.js
CHANGED
|
@@ -101,7 +101,7 @@ const getInsertLinkData = (defaultWrap, setting, htmlType)=>{
|
|
|
101
101
|
shouldRenderLink
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
|
-
const replaceLinkData = (text)=>{
|
|
104
|
+
const replaceLinkData = (text, isTranslate)=>{
|
|
105
105
|
const regex = /<a\s[^>]*>.*?<\/a>/;
|
|
106
106
|
if (text && regex.test(text)) {
|
|
107
107
|
const regex = // eslint-disable-next-line regexp/no-super-linear-backtracking, regexp/no-unused-capturing-group
|
|
@@ -112,7 +112,7 @@ const replaceLinkData = (text)=>{
|
|
|
112
112
|
const href = match[1];
|
|
113
113
|
const { urlData } = getInsertLinkData('', {
|
|
114
114
|
link: href,
|
|
115
|
-
isTranslate
|
|
115
|
+
isTranslate
|
|
116
116
|
});
|
|
117
117
|
newText = newText.replace(match[0], match[0].replace(/(href=['"])([^'"]*)(['"])/i, `$1${urlData.href}$3`));
|
|
118
118
|
}
|
|
@@ -53,7 +53,9 @@ const IconListV2 = ({ builderProps, style, setting, styles, advanced, pageContex
|
|
|
53
53
|
translate,
|
|
54
54
|
isLiquid: true
|
|
55
55
|
});
|
|
56
|
-
|
|
56
|
+
if (!pageContext?.isPreviewing) {
|
|
57
|
+
textVal = `{{ ${textVal} | replace: '$locationOrigin', locationOrigin }}`;
|
|
58
|
+
}
|
|
57
59
|
return core.template`
|
|
58
60
|
<div
|
|
59
61
|
class="gp-icon-list-wrapper gp-flex gp-child-item-${builderProps?.uid}"
|
|
@@ -18,14 +18,11 @@ const Text = ({ styles, builderAttrs, style, setting, advanced, builderProps, cl
|
|
|
18
18
|
return classList;
|
|
19
19
|
};
|
|
20
20
|
let displayText = '';
|
|
21
|
-
const
|
|
21
|
+
const isViewliveHeadingOrTextComponent = [
|
|
22
22
|
'Heading',
|
|
23
23
|
'Text'
|
|
24
|
-
].includes(builderProps?.builderData?.tag ?? '');
|
|
25
|
-
|
|
26
|
-
if (isHeadingOrTextComponent) {
|
|
27
|
-
renderText = helpers.replaceLinkData(text?.toString());
|
|
28
|
-
}
|
|
24
|
+
].includes(builderProps?.builderData?.tag ?? '') && !pageContext?.isPreviewing;
|
|
25
|
+
const renderText = helpers.replaceLinkData(text?.toString(), isViewliveHeadingOrTextComponent);
|
|
29
26
|
if (isForceValue) {
|
|
30
27
|
displayText = renderText;
|
|
31
28
|
} else if (setting?.translate) {
|
|
@@ -36,9 +33,9 @@ const Text = ({ styles, builderAttrs, style, setting, advanced, builderProps, cl
|
|
|
36
33
|
pageContext,
|
|
37
34
|
isCapitalize: styles?.typo?.attrs?.transform === 'capitalize',
|
|
38
35
|
translate: setting.translate,
|
|
39
|
-
isLiquid:
|
|
36
|
+
isLiquid: isViewliveHeadingOrTextComponent
|
|
40
37
|
});
|
|
41
|
-
if (
|
|
38
|
+
if (isViewliveHeadingOrTextComponent) {
|
|
42
39
|
displayText = `{{ ${displayText} | replace: '$locationOrigin', locationOrigin }}`;
|
|
43
40
|
}
|
|
44
41
|
} else {
|
|
@@ -4,11 +4,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var core = require('@gem-sdk/core');
|
|
6
6
|
var LiquidTemplateByWidget = require('./Stamped/LiquidTemplateByWidget.js');
|
|
7
|
+
var thirdParty = require('../helpers/thirdParty.js');
|
|
7
8
|
|
|
8
9
|
const Stamped = ({ setting, advanced })=>{
|
|
9
|
-
const { align } = setting ?? {};
|
|
10
|
+
const { align, version, appBlockId } = setting ?? {};
|
|
10
11
|
const currentTemplate = LiquidTemplateByWidget.getTemplateByWidget(setting);
|
|
11
|
-
return core.template`
|
|
12
|
+
return version === 'v2' ? thirdParty.getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block [&_*]:gp-max-w-none`) : core.template`
|
|
12
13
|
<div
|
|
13
14
|
class="${advanced?.cssClass}"
|
|
14
15
|
style="${{
|
|
@@ -7,7 +7,7 @@ const ui = {
|
|
|
7
7
|
label: {
|
|
8
8
|
en: 'Badge Double'
|
|
9
9
|
},
|
|
10
|
-
condition: `widgetType === 'badge-double'`,
|
|
10
|
+
condition: `(widgetType === 'badge-double' && version === 'v1') || (widgetTypeV2 === 'badge-double-image' && version === 'v2')`,
|
|
11
11
|
controls: [
|
|
12
12
|
...Badge.badge.ui
|
|
13
13
|
],
|
|
@@ -7,7 +7,7 @@ const ui = {
|
|
|
7
7
|
label: {
|
|
8
8
|
en: 'Badge Single'
|
|
9
9
|
},
|
|
10
|
-
condition: `widgetType === 'badge-single'`,
|
|
10
|
+
condition: `(widgetType === 'badge-single' && version === 'v1') || (widgetTypeV2 === 'badge-single-image' && version === 'v2')`,
|
|
11
11
|
controls: [
|
|
12
12
|
...Badge.badge.ui
|
|
13
13
|
],
|
|
@@ -58,7 +58,7 @@ const ui = {
|
|
|
58
58
|
label: {
|
|
59
59
|
en: 'Main Widget'
|
|
60
60
|
},
|
|
61
|
-
condition: `widgetType === 'main-widget'`,
|
|
61
|
+
condition: `(widgetType === 'main-widget' && version === 'v1') || (widgetTypeV2 === 'main-widget' && version === 'v2')`,
|
|
62
62
|
controls: [
|
|
63
63
|
{
|
|
64
64
|
type: 'control',
|
|
@@ -5,7 +5,7 @@ const ui = {
|
|
|
5
5
|
label: {
|
|
6
6
|
en: 'Product Rating'
|
|
7
7
|
},
|
|
8
|
-
condition: `widgetType === 'product-rating'`,
|
|
8
|
+
condition: `(widgetType === 'product-rating' && version === 'v1') || (widgetTypeV2 === 'product-rating-image' && version === 'v2')`,
|
|
9
9
|
controls: [
|
|
10
10
|
{
|
|
11
11
|
type: 'control',
|
|
@@ -47,7 +47,7 @@ const ui = {
|
|
|
47
47
|
label: {
|
|
48
48
|
en: 'Visual Gallery'
|
|
49
49
|
},
|
|
50
|
-
condition: `widgetType === 'visual-gallery'`,
|
|
50
|
+
condition: `(widgetType === 'visual-gallery' && version === 'v1') || (widgetTypeV2 === 'visual-gallery' && version === 'v2')`,
|
|
51
51
|
controls: [
|
|
52
52
|
{
|
|
53
53
|
type: 'control',
|
|
@@ -7,8 +7,48 @@ const ui = {
|
|
|
7
7
|
label: {
|
|
8
8
|
en: 'Wall photos'
|
|
9
9
|
},
|
|
10
|
-
condition: `widgetType === 'wall-photos'`,
|
|
10
|
+
condition: ` (widgetType === 'wall-photos' && version === 'v1') || (widgetTypeV2 === 'wall-photos' && version === 'v2')`,
|
|
11
11
|
controls: [
|
|
12
|
+
{
|
|
13
|
+
type: 'control',
|
|
14
|
+
condition: `widgetTypeV2 === 'wall-photos' && version === 'v2'`,
|
|
15
|
+
label: {
|
|
16
|
+
en: 'Type'
|
|
17
|
+
},
|
|
18
|
+
setting: {
|
|
19
|
+
id: 'visualGalleryType'
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
type: 'control',
|
|
24
|
+
condition: `visualGalleryType === 'carousel' && widgetTypeV2 === 'wall-photos' && version === 'v2'`,
|
|
25
|
+
label: {
|
|
26
|
+
en: 'Height'
|
|
27
|
+
},
|
|
28
|
+
setting: {
|
|
29
|
+
id: 'carouselHeight'
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
type: 'control',
|
|
34
|
+
condition: `visualGalleryType === 'carousel' && widgetTypeV2 === 'wall-photos' && version === 'v2'`,
|
|
35
|
+
label: {
|
|
36
|
+
en: 'Auto Slide'
|
|
37
|
+
},
|
|
38
|
+
setting: {
|
|
39
|
+
id: 'autoSlide'
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
type: 'control',
|
|
44
|
+
condition: `visualGalleryType === 'carousel' && widgetTypeV2 === 'wall-photos' && version === 'v2'`,
|
|
45
|
+
label: {
|
|
46
|
+
en: 'Auto Slide Interval (ms)'
|
|
47
|
+
},
|
|
48
|
+
setting: {
|
|
49
|
+
id: 'autoSlideInterval'
|
|
50
|
+
}
|
|
51
|
+
},
|
|
12
52
|
{
|
|
13
53
|
type: 'control',
|
|
14
54
|
label: {
|
|
@@ -18,6 +58,26 @@ const ui = {
|
|
|
18
58
|
id: 'starColor'
|
|
19
59
|
}
|
|
20
60
|
},
|
|
61
|
+
{
|
|
62
|
+
type: 'control',
|
|
63
|
+
condition: `widgetTypeV2 === 'wall-photos' && version === 'v2'`,
|
|
64
|
+
label: {
|
|
65
|
+
en: 'Hover Color'
|
|
66
|
+
},
|
|
67
|
+
setting: {
|
|
68
|
+
id: 'hoverColor'
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
type: 'control',
|
|
73
|
+
condition: `widgetTypeV2 === 'wall-photos' && version === 'v2'`,
|
|
74
|
+
label: {
|
|
75
|
+
en: 'Hover Opacity'
|
|
76
|
+
},
|
|
77
|
+
setting: {
|
|
78
|
+
id: 'hoverOpacity'
|
|
79
|
+
}
|
|
80
|
+
},
|
|
21
81
|
...Filters.filters.ui
|
|
22
82
|
],
|
|
23
83
|
setting: {
|
|
@@ -40,6 +40,11 @@ const config = {
|
|
|
40
40
|
{
|
|
41
41
|
id: 'setting',
|
|
42
42
|
controls: [
|
|
43
|
+
{
|
|
44
|
+
id: 'appBlockId',
|
|
45
|
+
type: 'input',
|
|
46
|
+
default: ''
|
|
47
|
+
},
|
|
43
48
|
{
|
|
44
49
|
id: 'install',
|
|
45
50
|
type: 'open-link',
|
|
@@ -56,6 +61,22 @@ const config = {
|
|
|
56
61
|
href: 'https://admin.shopify.com/?redirect=/apps/product-reviews-addon',
|
|
57
62
|
appName: Stamped.default.label
|
|
58
63
|
},
|
|
64
|
+
{
|
|
65
|
+
id: 'version',
|
|
66
|
+
label: 'Choose version',
|
|
67
|
+
type: 'select',
|
|
68
|
+
default: 'v1',
|
|
69
|
+
options: [
|
|
70
|
+
{
|
|
71
|
+
label: 'V1',
|
|
72
|
+
value: 'v1'
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
label: 'V2',
|
|
76
|
+
value: 'v2'
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
59
80
|
{
|
|
60
81
|
id: 'widgetType',
|
|
61
82
|
label: 'Choose widget',
|
|
@@ -104,6 +125,69 @@ const config = {
|
|
|
104
125
|
}
|
|
105
126
|
]
|
|
106
127
|
},
|
|
128
|
+
{
|
|
129
|
+
id: 'widgetTypeV2',
|
|
130
|
+
label: 'Choose widget',
|
|
131
|
+
type: 'select',
|
|
132
|
+
default: 'main-widget',
|
|
133
|
+
options: [
|
|
134
|
+
{
|
|
135
|
+
label: 'Main Widget',
|
|
136
|
+
value: 'main-widget'
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
label: 'Product Rating',
|
|
140
|
+
value: 'product-rating-image'
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
label: 'Badge Double',
|
|
144
|
+
value: 'badge-double-image'
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
label: 'Badge Ribbon',
|
|
148
|
+
value: 'badge-ribbon-image'
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
label: 'Badge Single',
|
|
152
|
+
value: 'badge-single-image'
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
label: 'Carousel',
|
|
156
|
+
value: 'carousel'
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
label: 'Full Page',
|
|
160
|
+
value: 'full-page'
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
label: 'Site Badge',
|
|
164
|
+
value: 'site-badge'
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
label: 'Star Rating',
|
|
168
|
+
value: 'star-rating-badge',
|
|
169
|
+
hideOnPage: [
|
|
170
|
+
'ARTICLE',
|
|
171
|
+
'BLOG',
|
|
172
|
+
'COLLECTION',
|
|
173
|
+
'GP_ARTICLE',
|
|
174
|
+
'GP_BLOG',
|
|
175
|
+
'GP_COLLECTION',
|
|
176
|
+
'GP_INDEX',
|
|
177
|
+
'GP_STATIC',
|
|
178
|
+
'STATIC'
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
label: 'Visual Gallery',
|
|
183
|
+
value: 'visual-gallery'
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
label: 'Wall Photos',
|
|
187
|
+
value: 'wall-photos'
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
},
|
|
107
191
|
...index.widgetSettings
|
|
108
192
|
]
|
|
109
193
|
}
|
|
@@ -115,6 +199,15 @@ const config = {
|
|
|
115
199
|
id: 'install'
|
|
116
200
|
}
|
|
117
201
|
},
|
|
202
|
+
{
|
|
203
|
+
type: 'control',
|
|
204
|
+
label: {
|
|
205
|
+
en: 'Choose version'
|
|
206
|
+
},
|
|
207
|
+
setting: {
|
|
208
|
+
id: 'version'
|
|
209
|
+
}
|
|
210
|
+
},
|
|
118
211
|
{
|
|
119
212
|
type: 'control',
|
|
120
213
|
label: {
|
|
@@ -122,7 +215,18 @@ const config = {
|
|
|
122
215
|
},
|
|
123
216
|
setting: {
|
|
124
217
|
id: 'widgetType'
|
|
125
|
-
}
|
|
218
|
+
},
|
|
219
|
+
condition: 'version === "v1"'
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
type: 'control',
|
|
223
|
+
label: {
|
|
224
|
+
en: 'Choose widget'
|
|
225
|
+
},
|
|
226
|
+
setting: {
|
|
227
|
+
id: 'widgetTypeV2'
|
|
228
|
+
},
|
|
229
|
+
condition: 'version === "v2"'
|
|
126
230
|
},
|
|
127
231
|
...index.widgetUIs,
|
|
128
232
|
{
|
package/dist/esm/helpers.js
CHANGED
|
@@ -99,7 +99,7 @@ const getInsertLinkData = (defaultWrap, setting, htmlType)=>{
|
|
|
99
99
|
shouldRenderLink
|
|
100
100
|
};
|
|
101
101
|
};
|
|
102
|
-
const replaceLinkData = (text)=>{
|
|
102
|
+
const replaceLinkData = (text, isTranslate)=>{
|
|
103
103
|
const regex = /<a\s[^>]*>.*?<\/a>/;
|
|
104
104
|
if (text && regex.test(text)) {
|
|
105
105
|
const regex = // eslint-disable-next-line regexp/no-super-linear-backtracking, regexp/no-unused-capturing-group
|
|
@@ -110,7 +110,7 @@ const replaceLinkData = (text)=>{
|
|
|
110
110
|
const href = match[1];
|
|
111
111
|
const { urlData } = getInsertLinkData('', {
|
|
112
112
|
link: href,
|
|
113
|
-
isTranslate
|
|
113
|
+
isTranslate
|
|
114
114
|
});
|
|
115
115
|
newText = newText.replace(match[0], match[0].replace(/(href=['"])([^'"]*)(['"])/i, `$1${urlData.href}$3`));
|
|
116
116
|
}
|
|
@@ -49,7 +49,9 @@ const IconListV2 = ({ builderProps, style, setting, styles, advanced, pageContex
|
|
|
49
49
|
translate,
|
|
50
50
|
isLiquid: true
|
|
51
51
|
});
|
|
52
|
-
|
|
52
|
+
if (!pageContext?.isPreviewing) {
|
|
53
|
+
textVal = `{{ ${textVal} | replace: '$locationOrigin', locationOrigin }}`;
|
|
54
|
+
}
|
|
53
55
|
return template`
|
|
54
56
|
<div
|
|
55
57
|
class="gp-icon-list-wrapper gp-flex gp-child-item-${builderProps?.uid}"
|
|
@@ -14,14 +14,11 @@ const Text = ({ styles, builderAttrs, style, setting, advanced, builderProps, cl
|
|
|
14
14
|
return classList;
|
|
15
15
|
};
|
|
16
16
|
let displayText = '';
|
|
17
|
-
const
|
|
17
|
+
const isViewliveHeadingOrTextComponent = [
|
|
18
18
|
'Heading',
|
|
19
19
|
'Text'
|
|
20
|
-
].includes(builderProps?.builderData?.tag ?? '');
|
|
21
|
-
|
|
22
|
-
if (isHeadingOrTextComponent) {
|
|
23
|
-
renderText = replaceLinkData(text?.toString());
|
|
24
|
-
}
|
|
20
|
+
].includes(builderProps?.builderData?.tag ?? '') && !pageContext?.isPreviewing;
|
|
21
|
+
const renderText = replaceLinkData(text?.toString(), isViewliveHeadingOrTextComponent);
|
|
25
22
|
if (isForceValue) {
|
|
26
23
|
displayText = renderText;
|
|
27
24
|
} else if (setting?.translate) {
|
|
@@ -32,9 +29,9 @@ const Text = ({ styles, builderAttrs, style, setting, advanced, builderProps, cl
|
|
|
32
29
|
pageContext,
|
|
33
30
|
isCapitalize: styles?.typo?.attrs?.transform === 'capitalize',
|
|
34
31
|
translate: setting.translate,
|
|
35
|
-
isLiquid:
|
|
32
|
+
isLiquid: isViewliveHeadingOrTextComponent
|
|
36
33
|
});
|
|
37
|
-
if (
|
|
34
|
+
if (isViewliveHeadingOrTextComponent) {
|
|
38
35
|
displayText = `{{ ${displayText} | replace: '$locationOrigin', locationOrigin }}`;
|
|
39
36
|
}
|
|
40
37
|
} else {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { template, makeStyleResponsive } from '@gem-sdk/core';
|
|
2
2
|
import { getTemplateByWidget } from './Stamped/LiquidTemplateByWidget.js';
|
|
3
|
+
import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
|
|
3
4
|
|
|
4
5
|
const Stamped = ({ setting, advanced })=>{
|
|
5
|
-
const { align } = setting ?? {};
|
|
6
|
+
const { align, version, appBlockId } = setting ?? {};
|
|
6
7
|
const currentTemplate = getTemplateByWidget(setting);
|
|
7
|
-
return template`
|
|
8
|
+
return version === 'v2' ? getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block [&_*]:gp-max-w-none`) : template`
|
|
8
9
|
<div
|
|
9
10
|
class="${advanced?.cssClass}"
|
|
10
11
|
style="${{
|
|
@@ -56,7 +56,7 @@ const ui = {
|
|
|
56
56
|
label: {
|
|
57
57
|
en: 'Main Widget'
|
|
58
58
|
},
|
|
59
|
-
condition: `widgetType === 'main-widget'`,
|
|
59
|
+
condition: `(widgetType === 'main-widget' && version === 'v1') || (widgetTypeV2 === 'main-widget' && version === 'v2')`,
|
|
60
60
|
controls: [
|
|
61
61
|
{
|
|
62
62
|
type: 'control',
|
|
@@ -3,7 +3,7 @@ const ui = {
|
|
|
3
3
|
label: {
|
|
4
4
|
en: 'Product Rating'
|
|
5
5
|
},
|
|
6
|
-
condition: `widgetType === 'product-rating'`,
|
|
6
|
+
condition: `(widgetType === 'product-rating' && version === 'v1') || (widgetTypeV2 === 'product-rating-image' && version === 'v2')`,
|
|
7
7
|
controls: [
|
|
8
8
|
{
|
|
9
9
|
type: 'control',
|
|
@@ -45,7 +45,7 @@ const ui = {
|
|
|
45
45
|
label: {
|
|
46
46
|
en: 'Visual Gallery'
|
|
47
47
|
},
|
|
48
|
-
condition: `widgetType === 'visual-gallery'`,
|
|
48
|
+
condition: `(widgetType === 'visual-gallery' && version === 'v1') || (widgetTypeV2 === 'visual-gallery' && version === 'v2')`,
|
|
49
49
|
controls: [
|
|
50
50
|
{
|
|
51
51
|
type: 'control',
|
|
@@ -5,8 +5,48 @@ const ui = {
|
|
|
5
5
|
label: {
|
|
6
6
|
en: 'Wall photos'
|
|
7
7
|
},
|
|
8
|
-
condition: `widgetType === 'wall-photos'`,
|
|
8
|
+
condition: ` (widgetType === 'wall-photos' && version === 'v1') || (widgetTypeV2 === 'wall-photos' && version === 'v2')`,
|
|
9
9
|
controls: [
|
|
10
|
+
{
|
|
11
|
+
type: 'control',
|
|
12
|
+
condition: `widgetTypeV2 === 'wall-photos' && version === 'v2'`,
|
|
13
|
+
label: {
|
|
14
|
+
en: 'Type'
|
|
15
|
+
},
|
|
16
|
+
setting: {
|
|
17
|
+
id: 'visualGalleryType'
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
type: 'control',
|
|
22
|
+
condition: `visualGalleryType === 'carousel' && widgetTypeV2 === 'wall-photos' && version === 'v2'`,
|
|
23
|
+
label: {
|
|
24
|
+
en: 'Height'
|
|
25
|
+
},
|
|
26
|
+
setting: {
|
|
27
|
+
id: 'carouselHeight'
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
type: 'control',
|
|
32
|
+
condition: `visualGalleryType === 'carousel' && widgetTypeV2 === 'wall-photos' && version === 'v2'`,
|
|
33
|
+
label: {
|
|
34
|
+
en: 'Auto Slide'
|
|
35
|
+
},
|
|
36
|
+
setting: {
|
|
37
|
+
id: 'autoSlide'
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
type: 'control',
|
|
42
|
+
condition: `visualGalleryType === 'carousel' && widgetTypeV2 === 'wall-photos' && version === 'v2'`,
|
|
43
|
+
label: {
|
|
44
|
+
en: 'Auto Slide Interval (ms)'
|
|
45
|
+
},
|
|
46
|
+
setting: {
|
|
47
|
+
id: 'autoSlideInterval'
|
|
48
|
+
}
|
|
49
|
+
},
|
|
10
50
|
{
|
|
11
51
|
type: 'control',
|
|
12
52
|
label: {
|
|
@@ -16,6 +56,26 @@ const ui = {
|
|
|
16
56
|
id: 'starColor'
|
|
17
57
|
}
|
|
18
58
|
},
|
|
59
|
+
{
|
|
60
|
+
type: 'control',
|
|
61
|
+
condition: `widgetTypeV2 === 'wall-photos' && version === 'v2'`,
|
|
62
|
+
label: {
|
|
63
|
+
en: 'Hover Color'
|
|
64
|
+
},
|
|
65
|
+
setting: {
|
|
66
|
+
id: 'hoverColor'
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
type: 'control',
|
|
71
|
+
condition: `widgetTypeV2 === 'wall-photos' && version === 'v2'`,
|
|
72
|
+
label: {
|
|
73
|
+
en: 'Hover Opacity'
|
|
74
|
+
},
|
|
75
|
+
setting: {
|
|
76
|
+
id: 'hoverOpacity'
|
|
77
|
+
}
|
|
78
|
+
},
|
|
19
79
|
...filters.ui
|
|
20
80
|
],
|
|
21
81
|
setting: {
|
|
@@ -36,6 +36,11 @@ const config = {
|
|
|
36
36
|
{
|
|
37
37
|
id: 'setting',
|
|
38
38
|
controls: [
|
|
39
|
+
{
|
|
40
|
+
id: 'appBlockId',
|
|
41
|
+
type: 'input',
|
|
42
|
+
default: ''
|
|
43
|
+
},
|
|
39
44
|
{
|
|
40
45
|
id: 'install',
|
|
41
46
|
type: 'open-link',
|
|
@@ -52,6 +57,22 @@ const config = {
|
|
|
52
57
|
href: 'https://admin.shopify.com/?redirect=/apps/product-reviews-addon',
|
|
53
58
|
appName: StampedConfig.label
|
|
54
59
|
},
|
|
60
|
+
{
|
|
61
|
+
id: 'version',
|
|
62
|
+
label: 'Choose version',
|
|
63
|
+
type: 'select',
|
|
64
|
+
default: 'v1',
|
|
65
|
+
options: [
|
|
66
|
+
{
|
|
67
|
+
label: 'V1',
|
|
68
|
+
value: 'v1'
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
label: 'V2',
|
|
72
|
+
value: 'v2'
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
},
|
|
55
76
|
{
|
|
56
77
|
id: 'widgetType',
|
|
57
78
|
label: 'Choose widget',
|
|
@@ -100,6 +121,69 @@ const config = {
|
|
|
100
121
|
}
|
|
101
122
|
]
|
|
102
123
|
},
|
|
124
|
+
{
|
|
125
|
+
id: 'widgetTypeV2',
|
|
126
|
+
label: 'Choose widget',
|
|
127
|
+
type: 'select',
|
|
128
|
+
default: 'main-widget',
|
|
129
|
+
options: [
|
|
130
|
+
{
|
|
131
|
+
label: 'Main Widget',
|
|
132
|
+
value: 'main-widget'
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
label: 'Product Rating',
|
|
136
|
+
value: 'product-rating-image'
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
label: 'Badge Double',
|
|
140
|
+
value: 'badge-double-image'
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
label: 'Badge Ribbon',
|
|
144
|
+
value: 'badge-ribbon-image'
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
label: 'Badge Single',
|
|
148
|
+
value: 'badge-single-image'
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
label: 'Carousel',
|
|
152
|
+
value: 'carousel'
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
label: 'Full Page',
|
|
156
|
+
value: 'full-page'
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
label: 'Site Badge',
|
|
160
|
+
value: 'site-badge'
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
label: 'Star Rating',
|
|
164
|
+
value: 'star-rating-badge',
|
|
165
|
+
hideOnPage: [
|
|
166
|
+
'ARTICLE',
|
|
167
|
+
'BLOG',
|
|
168
|
+
'COLLECTION',
|
|
169
|
+
'GP_ARTICLE',
|
|
170
|
+
'GP_BLOG',
|
|
171
|
+
'GP_COLLECTION',
|
|
172
|
+
'GP_INDEX',
|
|
173
|
+
'GP_STATIC',
|
|
174
|
+
'STATIC'
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
label: 'Visual Gallery',
|
|
179
|
+
value: 'visual-gallery'
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
label: 'Wall Photos',
|
|
183
|
+
value: 'wall-photos'
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
},
|
|
103
187
|
...widgetSettings
|
|
104
188
|
]
|
|
105
189
|
}
|
|
@@ -111,6 +195,15 @@ const config = {
|
|
|
111
195
|
id: 'install'
|
|
112
196
|
}
|
|
113
197
|
},
|
|
198
|
+
{
|
|
199
|
+
type: 'control',
|
|
200
|
+
label: {
|
|
201
|
+
en: 'Choose version'
|
|
202
|
+
},
|
|
203
|
+
setting: {
|
|
204
|
+
id: 'version'
|
|
205
|
+
}
|
|
206
|
+
},
|
|
114
207
|
{
|
|
115
208
|
type: 'control',
|
|
116
209
|
label: {
|
|
@@ -118,7 +211,18 @@ const config = {
|
|
|
118
211
|
},
|
|
119
212
|
setting: {
|
|
120
213
|
id: 'widgetType'
|
|
121
|
-
}
|
|
214
|
+
},
|
|
215
|
+
condition: 'version === "v1"'
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
type: 'control',
|
|
219
|
+
label: {
|
|
220
|
+
en: 'Choose widget'
|
|
221
|
+
},
|
|
222
|
+
setting: {
|
|
223
|
+
id: 'widgetTypeV2'
|
|
224
|
+
},
|
|
225
|
+
condition: 'version === "v2"'
|
|
122
226
|
},
|
|
123
227
|
...widgetUIs,
|
|
124
228
|
{
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _gem_sdk_core from '@gem-sdk/core';
|
|
2
|
-
import { BaseProps, TypographySettingV2, ObjectDevices, Background, SizeSettingGlobal, StateProp, ColorValueType, TypographySetting, Border, SizeSetting, CornerRadius, ShadowProps, BasePropsWrap, AlignProp, NameDevices, ResponsiveStateProp, Ratio, ObjectLayoutValue, TransformProp, PageContext, ProductProviderProps, JudgeMeReviewsWidgetType, LooxReviewsWidgetType, LooxReviewsWidgetTypeV2, ProductReviewsWidgetType, RyviuWidgetType, RivyoWidgetType, VitalsWidgetType, OmnisendWidgetType, TrustooWidgetType, TrustooWidgetTypeV2, FeraReviewsWidgetType, FeraReviewsV3WidgetType, BoldSubscriptionsWidgetType, PickyStoryWidgetType, WiserWidgetType, WiserV2WidgetType, StampedWidgetType, LaiProductReviewsWidgetType, LaiProductReviewsAdvancedWidgetType, GrowaveWidgetTypeV2, GrowaveWidgetTypeV1, OpinewWidgetType, OpinewDesignWidgetType, UltimateSalesBoostWidgetType, YotpoReviewsWidgetType, AliReviewsWidgetType, BogosWidgetType, FastBundleWidgetType, PreOrderNowWodWidgetType, TagShopWidgetType, AirProductReview, InstantJudgeMeReviewsWidgetType, InstantLooxReviewsWidgetType, PostPurchaseTypo, AdvancedType, RawChild } from '@gem-sdk/core';
|
|
2
|
+
import { BaseProps, TypographySettingV2, ObjectDevices, Background, SizeSettingGlobal, StateProp, ColorValueType, TypographySetting, Border, SizeSetting, CornerRadius, ShadowProps, BasePropsWrap, AlignProp, NameDevices, ResponsiveStateProp, Ratio, ObjectLayoutValue, TransformProp, PageContext, ProductProviderProps, JudgeMeReviewsWidgetType, LooxReviewsWidgetType, LooxReviewsWidgetTypeV2, ProductReviewsWidgetType, RyviuWidgetType, RivyoWidgetType, VitalsWidgetType, OmnisendWidgetType, TrustooWidgetType, TrustooWidgetTypeV2, FeraReviewsWidgetType, FeraReviewsV3WidgetType, BoldSubscriptionsWidgetType, PickyStoryWidgetType, WiserWidgetType, WiserV2WidgetType, StampedWidgetType, StampedWidgetTypeV2, LaiProductReviewsWidgetType, LaiProductReviewsAdvancedWidgetType, GrowaveWidgetTypeV2, GrowaveWidgetTypeV1, OpinewWidgetType, OpinewDesignWidgetType, UltimateSalesBoostWidgetType, YotpoReviewsWidgetType, AliReviewsWidgetType, BogosWidgetType, FastBundleWidgetType, PreOrderNowWodWidgetType, TagShopWidgetType, AirProductReview, InstantJudgeMeReviewsWidgetType, InstantLooxReviewsWidgetType, PostPurchaseTypo, AdvancedType, RawChild } from '@gem-sdk/core';
|
|
3
3
|
import * as csstype from 'csstype';
|
|
4
4
|
import { Property } from 'csstype';
|
|
5
5
|
import * as _gem_sdk_keen_slider_react from '@gem-sdk/keen-slider/react';
|
|
@@ -2643,6 +2643,7 @@ declare const Wiser$1: React.FC<WiserProps>;
|
|
|
2643
2643
|
|
|
2644
2644
|
type StampedProps = BaseProps<{
|
|
2645
2645
|
widgetType?: StampedWidgetType;
|
|
2646
|
+
widgetTypeV2?: StampedWidgetTypeV2;
|
|
2646
2647
|
openApp?: any;
|
|
2647
2648
|
install?: any;
|
|
2648
2649
|
align?: ObjectDevices<AlignProp>;
|
|
@@ -2698,6 +2699,8 @@ type StampedProps = BaseProps<{
|
|
|
2698
2699
|
siteBadgeTextSize?: string;
|
|
2699
2700
|
siteBadgeHeight?: string;
|
|
2700
2701
|
siteBadgeText?: string;
|
|
2702
|
+
appBlockId?: string;
|
|
2703
|
+
version?: 'v1' | 'v2';
|
|
2701
2704
|
}>;
|
|
2702
2705
|
declare const Stamped$1: React.FC<StampedProps>;
|
|
2703
2706
|
|
|
@@ -7845,6 +7848,6 @@ declare const getInsertLinkData: (defaultWrap: string, setting?: {
|
|
|
7845
7848
|
urlData: Record<string, any>;
|
|
7846
7849
|
shouldRenderLink: boolean;
|
|
7847
7850
|
};
|
|
7848
|
-
declare const replaceLinkData: (text?: string) => string | undefined;
|
|
7851
|
+
declare const replaceLinkData: (text?: string, isTranslate?: boolean) => string | undefined;
|
|
7849
7852
|
|
|
7850
7853
|
export { Accordion$1 as Accordion, AccordionItem$1 as AccordionItem, AccordionItemProps, AccordionProps, AftershipEmailMarketingsms$1 as AftershipEmailMarketingsms, AftershipEmailMarketingsmsProps, AirProductReviewsAppUgc$1 as AirProductReviewsAppUgc, AirProductReviewsAppUgcProps, AliReviews$1 as AliReviews, AliReviewsProps, AppointmentBookingCowlendar$1 as AppointmentBookingCowlendar, AppointmentBookingCowlendarProps, AppstleSubscriptions$1 as AppstleSubscriptions, AppstleSubscriptionsProps, ArticleAuthor$1 as ArticleAuthor, ArticleCategory$1 as ArticleCategory, ArticleContent$1 as ArticleContent, ArticleDate$1 as ArticleDate, ArticleExcerpt$1 as ArticleExcerpt, ArticleImage$1 as ArticleImage, ArticleList$1 as ArticleList, ArticlePagination$1 as ArticlePagination, ArticleReadMore$1 as ArticleReadMore, ArticleTag$1 as ArticleTag, ArticleTitle$1 as ArticleTitle, BgImage as BackgroundImage, BackgroundImageProps, BasicHeader, BestBuyFulfillment$1 as BestBuyFulfillment, BestBuyFulfillmentProps, BirdChime$1 as BirdChime, BirdChimeProps, Bogos$1 as Bogos, BogosProps, BoldProductOptions$1 as BoldProductOptions, BoldProductOptionsProps, BoldSubscriptions$1 as BoldSubscriptions, BoldSubscriptionsProps, BonLoyaltyRewardsReferrals$1 as BonLoyaltyRewardsReferrals, BonLoyaltyRewardsReferralsProps, BoostAISearchDiscovery$1 as BoostAISearchDiscovery, BoostAISearchDiscoveryProps, Breadcrumb$1 as Breadcrumb, Breadcrumb$1 as BreadcrumbProps, Bundler$1 as Bundler, BundlerProps, Button$2 as Button, ButtonProps, CSSCode$1 as CSSCode, CSSCodeProps, Carousel$1 as Carousel, CarouselItem$1 as CarouselItem, CarouselItemProps, CarouselProps, CarouselSettings, CarouselStyles, Cart, CartCheckout, CartDiscount, CartLineAttribute, CartLineImage, CartLinePrice, CartLineVariant, CartList, CartOrderNote, CartProps, CartTotalItem, CartTotalPrice, CheckoutNow, CleanSizeChartProps, CleanSizeCharts$1 as CleanSizeCharts, Column$1 as Col, ColProps$1 as ColProps, CollectionBanner$1 as CollectionBanner, CollectionBannerProps, CollectionDescription$1 as CollectionDescription, CollectionDescriptionProps, CollectionPaginator$1 as CollectionPaginator, CollectionPaginatorProps, CollectionTitle$1 as CollectionTitle, CollectionTitleProps, CollectionToolbar$1 as CollectionToolbar, CollectionToolbarProps, ContactForm$1 as ContactForm, Countdown$1 as Countdown, CountdownProps, Coupon$1 as Coupon, CouponList, CouponProps, CrossSellCartUpsell$1 as CrossSellCartUpsell, CrossSellCartUpsellProps, CustomProductOptionsVariant$1 as CustomProductOptionsVariant, CustomProductOptionsVariantProps, DataVideoType, DesktopMenu, Dialog$1 as Dialog, DiscountInput, DiscountyBulkDiscountSales$1 as DiscountyBulkDiscountSales, DiscountyBulkDiscountSalesProps, DynamicCheckout$1 as DynamicCheckout, DynamicCheckoutProps, ELEMENT_Z_INDEX, EasifyProductOptions$1 as EasifyProductOptions, EasifyProductOptionsProps, EasyBundleBuilderSkailama$1 as EasyBundleBuilderSkailama, EasyBundleBuilderSkailamaProps, EasySell as EasySellCOD, EasySellProps, EstimateDate$1 as EstimateDate, EstimateDateProps, FastBundleBundlesDiscounts$1 as FastBundleBundlesDiscounts, FastBundleBundlesDiscountsProps, FeraReviews$1 as FeraReviews, FeraReviewsProps, FileUpload$1 as FileUpload, FileUploadProps, FirePush$1 as FirePush, FirePushProps, FlyBundlesUpsellsFbt$1 as FlyBundlesUpsellsFbt, FlyBundlesUpsellsFbtProps, FordeerProductLabels$1 as FordeerProductLabels, FordeerProductLabelsProps, FormCheckbox, FormCheckboxProps, FormDropdown$1 as FormDropdown, FormDropdownProps, FormEmail$1 as FormEmail, FormEmailProps, FormTextArea as FormTextarea, FrequentlyBoughtTogether$1 as FrequentlyBoughtTogether, FrequentlyBoughtTogetherProps, GloboProductOptionsVariant$1 as GloboProductOptionsVariant, GloboProductOptionsVariantProps, GoogleReviewsByReputon$1 as GoogleReviewsByReputon, GoogleReviewsByReputonProps, Growave$1 as Growave, GrowaveProps, Header, HeaderProps, Heading$1 as Heading, HeadingProps, HeroBanner$1 as HeroBanner, HeroBannerProps, HulkFormBuilder$1 as HulkFormBuilder, HulkFormBuilderProps, HulkProductOptions$1 as HulkProductOptions, HulkProductOptionsProps, Icon$1 as Icon, IconList$1 as IconList, IconListHoz$1 as IconListHoz, IconListHozItem, IconListHozProps, IconListItem$1 as IconListItem, IconListItemProps$3 as IconListItemProps, IconListProps$2 as IconListProps, IconListV2$1 as IconListV2, IconProps$1 as IconProps, Image$1 as Image, ImageComparison$1 as ImageComparison, ImageDetection, ImageDetectionProps, ImageProps, InfiniteOptions$1 as InfiniteOptions, InfiniteOptionsProps, Input, InputProps, Instafeed$1 as Instafeed, InstafeedProps, InstantJudgemeReviews, InstantJudgemeReviewsProps, InstantKlaviyo, InstantKlaviyoProps, InstantLooxReviews, InstantLooxReviewsProps, InstantYotpoLoyalty, InstantYotpoLoyaltyProps, InstasellShoppableInstagram$1 as InstasellShoppableInstagram, InstasellShoppableInstagramProps, JudgemeReviews$1 as JudgemeReviews, JudgemeReviewsProps, JunipProductReviewsUgc$1 as JunipProductReviewsUgc, JunipProductReviewsUgcProps, KachingBundles$1 as KachingBundles, KachingBundlesProps, KingProductOptions$1 as KingProductOptions, KingProductOptionsProps, KiteFreeGiftDiscount$1 as KiteFreeGiftDiscount, KiteFreeGiftDiscountProps, KlarnaMessaging$1 as KlarnaMessaging, KlarnaMessagingProps, Klaviyo$1 as Klaviyo, KlaviyoProps, KoalaBundleQuantityDiscount$1 as KoalaBundleQuantityDiscount, KoalaBundleQuantityDiscountProps, LaiProductReviews$1 as LaiProductReviews, LaiProductReviewsProps, Line$2 as Line, LineProps$1 as LineProps, Link$1 as Link, LinkProps$1 as LinkProps, LoloyalLoyaltyReferrals$1 as LoloyalLoyaltyReferrals, LoloyalLoyaltyReferralsProps, LoopSubscriptions$1 as LoopSubscriptions, LoopSubscriptionsProps, LooxReviews$1 as LooxReviews, LooxReviewsProps, Marquee$1 as Marquee, _default$3 as MarqueeItem, MarqueeItemProps, MarqueeProps, MaxbundleProductBundles$1 as MaxbundleProductBundles, MaxbundleProductBundlesProps, MbcBundleVolumeDiscount$1 as MbcBundleVolumeDiscount, MbcBundleVolumeDiscountProps, Menu, MenuProps, MobileMenu, Modal, ModernHeader, MyappgurusProductReviews$1 as MyappgurusProductReviews, MyappgurusProductReviewsProps, Newsletter$1 as Newsletter, NewsletterProps, Notify as Notice, NotificationAPI, NotificationConfig, NotifyBackInStockPreOrder$1 as NotifyBackInStockPreOrder, NotifyBackInStockPreOrderProps, Omnisend$1 as Omnisend, OmnisendProps, Opinew$1 as Opinew, OpinewProps, Pagination, PaginationProps, ParcelPanel$1 as ParcelPanel, ParcelPanelProps, PickyStory$1 as PickyStory, PickyStoryProps, PostPurchaseAcceptButton, PostPurchaseAcceptButtonProps, PostPurchaseAdvancedList, PostPurchaseAdvancedListItem, PostPurchaseAdvancedListProps, Button$1 as PostPurchaseButton, PostPurchaseButtonProps, CalloutBox as PostPurchaseCalloutBox, CalloutText as PostPurchaseCalloutText, PostPurchaseCountdownTimer, PostPurchaseHeading, PostPurchaseImage, PostPurchaseImageProps, Line$1 as PostPurchaseLine, PostPurchaseLineProps, Link as PostPurchaseLink, PostPurchaseLinkProps, PostPurchaseProductDescription, PostPurchaseProductDescriptionProps, PostPurchaseProductDiscountTag, PostPurchaseProductDiscountTagProps, PostPurchaseProductImages, PostPurchaseProductImagesProps, PostPurchaseProductOffer, PostPurchaseProductOfferProps, PostPurchaseProductPrice, PostPurchaseProductPriceBreakdown, PostPurchaseProductPriceBreakdownProps, PostPurchaseProductPriceProps, PostPurchaseProductQuantity, PostPurchaseProductQuantityProps, PostPurchaseProductTitle, PostPurchaseProductTitleProps, PostPurchaseProductVariants, PostPurchaseProductVariantsProps, Text$1 as PostPurchaseText, PostPurchaseTextProps, PowerfulContactFormBuilder$1 as PowerfulContactFormBuilder, PowerfulContactFormBuilderProps, PreorderNowPreOrderPq$1 as PreorderNowPreOrderPq, PreorderNowPreOrderPqProps, PreorderNowWodPresale$1 as PreorderNowWodPresale, PreorderNowWodPresaleProps, Product$1 as Product, ProductBadge$1 as ProductBadge, ProductBadgeProps, ProductBundleDiscount$1 as ProductBundleDiscount, ProductBundleDiscountItem$1 as ProductBundleDiscountItem, ProductButton$1 as ProductButton, ProductButtonProps, ProductDescription$1 as ProductDescription, ProductDescriptionProps$1 as ProductDescriptionProps, ProductImages$2 as ProductImages, ProductImagesProps, ProductImagesV2, ProductList$1 as ProductList, ProductList$1 as ProductListProps, ProductOptionsCustomizer$1 as ProductOptionsCustomizer, ProductOptionsCustomizerProps, ProductOptionsVariantOption$1 as ProductOptionsVariantOption, ProductOptionsVariantOptionProps, ProductPrice$1 as ProductPrice, ProductPriceProps, ProductPropertiesProps, ProductProperties$1 as ProductPropertyInput, ProductProps, ProductQuantity$1 as ProductQuantity, ProductQuantityBreakItemProps, ProductQuantityBreakProps, ProductQuantityProps, QuickView as ProductQuickView, ProductReviews$1 as ProductReviews, ProductReviewsProps, ProductSku$1 as ProductSku, ProductTag$1 as ProductTag, ProductTagProps, ProductTitle$1 as ProductTitle, ProductTitleProps, ProductVariants$1 as ProductVariants, ProductVariantsProps, ProductVendor$1 as ProductVendor, ProductViewMore$1 as ProductViewMore, ProductViewMoreProps, PumperBundlesVolumeDiscount$1 as PumperBundlesVolumeDiscount, PumperBundlesVolumeDiscountProps, PushOwl$1 as PushOwl, PushOwlProps, QikifyUpsell$1 as QikifyUpsell, QikifyUpsellProps, Radio, RadioProps, RapiBundleQuantityBreaks$1 as RapiBundleQuantityBreaks, RapiBundleQuantityBreaksProps, RechargeSubscriptions$1 as RechargeSubscriptions, RechargeSubscriptionsProps, RecurpaySubscriptionApp$1 as RecurpaySubscriptionApp, RecurpaySubscriptionAppProps, Releasit$1 as Releasit, ReleasitProps, RequestQuoteHidePrice$1 as RequestQuoteHidePrice, RequestQuoteHidePriceProps, ReviewxpoProductReviewsApp$1 as ReviewxpoProductReviewsApp, ReviewxpoProductReviewsAppProps, Rivyo$1 as Rivyo, RivyoProps, Root$1 as Root, RootProps$1 as RootProps, Row$1 as Row, RowProps$1 as RowProps, Ryviu$1 as Ryviu, RyviuProps, SealSubscriptions$1 as SealSubscriptions, SealSubscriptionsProps, Section$1 as Section, SegunoEmailMarketing$1 as SegunoEmailMarketing, SegunoEmailMarketingProps, Select, SelectProps, Selleasy$1 as Selleasy, SelleasyProps, SeoantTrustBadgesIcon$1 as SeoantTrustBadgesIcon, SeoantTrustBadgesIconProps, ShopPayButton$1 as ShopPayButton, ShopPayButtonProps, ShopPayInstallments$1 as ShopPayInstallments, ShopifyForms$1 as ShopifyForms, ShopifyFormsProps, ShopifySubscriptions$1 as ShopifySubscriptions, ShopifySubscriptionsProps, SimpleBundlesKits$1 as SimpleBundlesKits, SimpleBundlesKitsProps, SkioSubscriptionsYcS20$1 as SkioSubscriptionsYcS20, SkioSubscriptionsYcS20Props, SkuProps, SmartSearchBarAndFilters$1 as SmartSearchBarAndFilters, SmartSearchBarAndFiltersProps, SproutPlantTreesGrowSales$1 as SproutPlantTreesGrowSales, SproutPlantTreesGrowSalesProps, Stamped$1 as Stamped, StampedProps, StellarDeliveryDatePickup$1 as StellarDeliveryDatePickup, StellarDeliveryDatePickupProps, Sticky$1 as Sticky, StickyProps, StockCounter$1 as StockCounter, StockCounterProps$1 as StockCounterProps, SubifySubscriptionsApp$1 as SubifySubscriptionsApp, SubifySubscriptionsAppProps, SubmitButton$1 as SubmitButton, SubmitButtonProps, TabItem$1 as TabItem, TabItemProps, Tabs$1 as Tabs, TabsProps, TagembedSocialPostReview$1 as TagembedSocialPostReview, TagembedSocialPostReviewProps, TagshopShoppableVideosUgc$1 as TagshopShoppableVideosUgc, TagshopShoppableVideosUgcProps, TeeinblueProductPersonalizer$1 as TeeinblueProductPersonalizer, TeeinblueProductPersonalizerProps, Text$2 as Text, TextAreaProps, TextField$1 as TextField, TextFieldProps, TextProps$1 as TextProps, TextArea as Textarea, TextareaProps, ThirdPartySlot$1 as ThirdPartySlot, TrustMe$1 as TrustMe, TrustMeProps, Trustoo$1 as Trustoo, TrustooProps, TrustreviewsProductReviews$1 as TrustreviewsProductReviews, TrustreviewsProductReviewsProps, TrustshopProductReviews$1 as TrustshopProductReviews, TrustshopProductReviewsProps, UltimateSalesBoost$1 as UltimateSalesBoost, UltimateSalesBoostProps, UnlimitedBundlesDiscounts$1 as UnlimitedBundlesDiscounts, UnlimitedBundlesDiscountsProps, VendorProps, Video$1 as Video, Vitals$1 as Vitals, VitalsProps, WhatmoreShoppableVideosreel$1 as WhatmoreShoppableVideosreel, WhatmoreShoppableVideosreelProps, WideBundle$1 as WideBundle, WideBundleProps, Wiser$1 as Wiser, WiserProps, WishlistKing$1 as WishlistKing, WishlistKingProps, WishlistPlus$1 as WishlistPlus, WishlistPlusProps, YotpoLoyalty, YotpoLoyaltyProps, YotpoReviews$1 as YotpoReviews, YotpoReviewsProps, _default$U as accordionSetting, _default$5 as articleListSetting, _default$s as bannerSetting, _default$T as breadcrumbSetting, _default$1 as builderComponent, _default$S as buttonSetting, _default$Q as carouselSetting, _default$N as cartSetting, _default$q as codeSetting, _default$M as collectionSetting, _default as componentSettings, _default$m as contactFormSetting, _default$L as countdownSetting, _default$R as couponSetting, _default$n as dialogSetting, _default$6 as estimateDeliverySetting, getDynamicSourceLocales, getInsertLinkData, getSettingPreloadData, getStaticLocale, _default$O as gridSetting, _default$J as headerSetting, _default$K as headingSetting, _default$p as iconListHozSetting, _default$r as iconListSetting, _default$g as iconListSettingV2, _default$I as iconSetting, _default$k as imageComparisonSetting, _default$l as imageDetectionSetting, _default$P as imageSetting, _default$H as inputSetting, isHexTransparent, isTransparentColor, isTransparentRGBA, _default$G as lineSetting, _default$F as linkSetting, index_liquid as liquidComponents, _default$4 as marqueeSetting, _default$v as menuSetting, _default$E as modalSetting, _default$2 as nextComponent, openConfirm, _default$D as paginationSetting, _default$9 as postPurchaseAdvancedListSetting, _default$d as postPurchaseButtonSetting, _default$b as postPurchaseCalloutBoxSetting, _default$8 as postPurchaseCountdownTimerSetting, _default$e as postPurchaseImageSetting, _default$a as postPurchaseLineSetting, _default$7 as postPurchaseLinkSetting, postPurchaseProduct1Col, postPurchaseProduct2Col, postPurchaseProductDefault, _default$c as postPurchaseProductSetting, _default$f as postPurchaseTextSetting, _default$C as productSetting, _default$A as radioSetting, replaceLinkData, _default$z as selectSetting, _default$i as shopPayInstallmentSetting, _default$h as stickySetting, _default$o as stockCounterSetting, _default$y as tabSetting, _default$B as textSetting, _default$x as textareaSetting, _default$t as thirdPartyInstantSetting, _default$u as thirdPartySetting, _default$j as thirdPartySlotSetting, useInView, useNotification, _default$w as videoSetting, youtubeShortsRegex };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/components",
|
|
3
|
-
"version": "2.0.0-staging.
|
|
3
|
+
"version": "2.0.0-staging.136",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"relationship": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/get-control-relationship.js && node ./scripts/get-element-relationship.js"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@gem-sdk/core": "2.0.0-staging.
|
|
25
|
+
"@gem-sdk/core": "2.0.0-staging.136",
|
|
26
26
|
"@gem-sdk/styles": "2.0.0-staging.127",
|
|
27
27
|
"@types/react-transition-group": "^4.4.5"
|
|
28
28
|
},
|