@gem-sdk/components 2.0.0-dev.717 → 2.0.0-dev.720
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/banner/components/common/getClasses.js +1 -1
- package/dist/cjs/banner/setting/uiV2.js +18 -2
- package/dist/cjs/button/components/common/styles.js +3 -3
- package/dist/cjs/button/setting/configs/settings.js +1 -37
- package/dist/cjs/button/setting/configs/uiV2.js +18 -18
- package/dist/cjs/coupon/common/styles.js +2 -2
- package/dist/cjs/coupon/setting/config/settings.js +1 -1
- package/dist/cjs/coupon/setting/config/uiV2.js +135 -3
- package/dist/cjs/form/setting/submit-button/configs/settings.js +1 -24
- package/dist/cjs/form/setting/submit-button/configs/uiV2.js +18 -18
- package/dist/cjs/form/setting/text-field/configs/uiV2.js +1 -1
- package/dist/cjs/product/components/DynamicCheckout/common/styles.js +4 -4
- package/dist/cjs/product/components/ProductButton/common/styles.js +1 -1
- package/dist/cjs/product/setting/constant/bundle-layout/verticalThree.js +297 -125
- package/dist/cjs/product/setting/constant/bundle-layout/verticalTwo.js +296 -125
- package/dist/cjs/product/setting/dynamic-checkout/configs/settings.js +0 -23
- package/dist/cjs/product/setting/dynamic-checkout/configs/uiV2.js +18 -18
- package/dist/cjs/product/setting/product/configs/product-presets/product-1-col.js +8 -0
- package/dist/cjs/product/setting/product-button/configs/settings.js +1 -24
- package/dist/cjs/product/setting/product-button/configs/uiV2.js +18 -18
- package/dist/cjs/product/setting/product-view-more/configs/settings.js +0 -23
- package/dist/cjs/product/setting/product-view-more/configs/uiV2.js +18 -18
- package/dist/esm/banner/components/common/getClasses.js +1 -1
- package/dist/esm/banner/setting/uiV2.js +18 -2
- package/dist/esm/button/components/common/styles.js +3 -3
- package/dist/esm/button/setting/configs/settings.js +1 -37
- package/dist/esm/button/setting/configs/uiV2.js +18 -18
- package/dist/esm/coupon/common/styles.js +2 -2
- package/dist/esm/coupon/setting/config/settings.js +1 -1
- package/dist/esm/coupon/setting/config/uiV2.js +135 -3
- package/dist/esm/form/setting/submit-button/configs/settings.js +1 -24
- package/dist/esm/form/setting/submit-button/configs/uiV2.js +18 -18
- package/dist/esm/form/setting/text-field/configs/uiV2.js +1 -1
- package/dist/esm/product/components/DynamicCheckout/common/styles.js +4 -4
- package/dist/esm/product/components/ProductButton/common/styles.js +1 -1
- package/dist/esm/product/setting/constant/bundle-layout/verticalThree.js +297 -125
- package/dist/esm/product/setting/constant/bundle-layout/verticalTwo.js +296 -125
- package/dist/esm/product/setting/dynamic-checkout/configs/settings.js +0 -23
- package/dist/esm/product/setting/dynamic-checkout/configs/uiV2.js +18 -18
- package/dist/esm/product/setting/product/configs/product-presets/product-1-col.js +8 -0
- package/dist/esm/product/setting/product-button/configs/settings.js +1 -24
- package/dist/esm/product/setting/product-button/configs/uiV2.js +18 -18
- package/dist/esm/product/setting/product-view-more/configs/settings.js +0 -23
- package/dist/esm/product/setting/product-view-more/configs/uiV2.js +18 -18
- package/package.json +2 -2
|
@@ -60,7 +60,7 @@ const verticalTwo = [
|
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
tag: 'Text',
|
|
63
|
-
uid: '
|
|
63
|
+
uid: 'g7Gsjncudx',
|
|
64
64
|
childrens: []
|
|
65
65
|
},
|
|
66
66
|
{
|
|
@@ -119,7 +119,7 @@ const verticalTwo = [
|
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
121
|
tag: 'Text',
|
|
122
|
-
uid: '
|
|
122
|
+
uid: 'grA1-fUIZ6',
|
|
123
123
|
childrens: [],
|
|
124
124
|
advanced: {
|
|
125
125
|
'spacing-setting': {
|
|
@@ -136,161 +136,149 @@ const verticalTwo = [
|
|
|
136
136
|
settings: {},
|
|
137
137
|
styles: {},
|
|
138
138
|
tag: 'Col',
|
|
139
|
-
uid: '
|
|
139
|
+
uid: 'gxgt_apNs3'
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
|
-
uid: '
|
|
142
|
+
uid: 'gmzHnQEbIr',
|
|
143
143
|
tag: 'Col',
|
|
144
144
|
label: 'Block',
|
|
145
145
|
settings: {},
|
|
146
146
|
childrens: [
|
|
147
147
|
{
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
desktop: true,
|
|
151
|
-
mobile: true,
|
|
152
|
-
tablet: true
|
|
153
|
-
},
|
|
154
|
-
editorData: {
|
|
155
|
-
css: '.{{rootClassName}} > div > div{\nwidth:100%;\n}',
|
|
156
|
-
rootClassName: '{{rootClassName}}'
|
|
157
|
-
},
|
|
158
|
-
hasBoxShadow: {
|
|
159
|
-
desktop: {
|
|
160
|
-
normal: false
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
left: {
|
|
164
|
-
desktop: '0px'
|
|
165
|
-
},
|
|
166
|
-
op: {
|
|
167
|
-
desktop: '100%'
|
|
168
|
-
},
|
|
169
|
-
pos: {
|
|
170
|
-
desktop: 'static'
|
|
171
|
-
},
|
|
172
|
-
right: {
|
|
173
|
-
desktop: '0px'
|
|
174
|
-
},
|
|
175
|
-
rounded: {
|
|
176
|
-
desktop: {
|
|
177
|
-
normal: {
|
|
178
|
-
bblr: '0px',
|
|
179
|
-
bbrr: '0px',
|
|
180
|
-
btlr: '0px',
|
|
181
|
-
btrr: '0px',
|
|
182
|
-
radiusType: 'none'
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
'spacing-setting': {
|
|
187
|
-
desktop: {
|
|
188
|
-
margin: {
|
|
189
|
-
bottom: '8px'
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
z: {
|
|
194
|
-
desktop: 1
|
|
195
|
-
}
|
|
196
|
-
},
|
|
148
|
+
uid: 'gw_kZ5wf51',
|
|
149
|
+
tag: 'ProductBadge',
|
|
197
150
|
label: 'Product Badge',
|
|
198
151
|
settings: {
|
|
199
|
-
contentType: 'text',
|
|
200
|
-
displayContent: 'SALE {percent_discount}',
|
|
201
|
-
translate: 'displayContent',
|
|
202
152
|
displayTrigger: [
|
|
203
153
|
{
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
priority: 0,
|
|
154
|
+
triggerEvent: 'inventory_status',
|
|
155
|
+
type: 'in_stock',
|
|
207
156
|
quantityType: 'exact_or_above',
|
|
157
|
+
from: '1',
|
|
208
158
|
to: '15',
|
|
209
|
-
|
|
210
|
-
|
|
159
|
+
priority: 0,
|
|
160
|
+
conditionType: 'exact_or_above'
|
|
211
161
|
}
|
|
212
162
|
],
|
|
213
163
|
image: {
|
|
214
164
|
src: 'https://cdn.shopify.com/s/files/1/0697/6182/7064/files/gempages_523190969722471488-fc9fecb6-26b8-4836-b417-2dfb9ea43bd5.png?v=1723733677'
|
|
215
165
|
},
|
|
216
|
-
|
|
217
|
-
|
|
166
|
+
shape: 'horizontal_rectangle',
|
|
167
|
+
displayContent: 'Sale {percent_discount} off',
|
|
168
|
+
translate: 'displayContent',
|
|
169
|
+
contentType: 'text',
|
|
170
|
+
positionWithImage: 'outside'
|
|
218
171
|
},
|
|
219
172
|
styles: {
|
|
220
|
-
|
|
221
|
-
|
|
173
|
+
typo: {
|
|
174
|
+
type: 'paragraph-1',
|
|
175
|
+
attrs: {
|
|
176
|
+
color: '#121212'
|
|
177
|
+
}
|
|
222
178
|
},
|
|
179
|
+
position: {
|
|
180
|
+
desktop: {
|
|
181
|
+
placement: 'top-left',
|
|
182
|
+
topGap: '0',
|
|
183
|
+
leftGap: '0',
|
|
184
|
+
bottomGap: '0',
|
|
185
|
+
rightGap: '0'
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
badgeColor: '#FF614C',
|
|
223
189
|
badgeColorV2: {
|
|
224
190
|
desktop: {
|
|
225
191
|
normal: '#FF614C'
|
|
226
192
|
}
|
|
227
193
|
},
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
bbrr: '0px',
|
|
231
|
-
btlr: '0px',
|
|
232
|
-
btrr: '0px',
|
|
233
|
-
radiusType: 'custom'
|
|
234
|
-
},
|
|
235
|
-
hasShadow: false,
|
|
236
|
-
imageSize: {
|
|
194
|
+
textColor: 'text-3',
|
|
195
|
+
textBadgeBorder: {
|
|
237
196
|
desktop: {
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
197
|
+
normal: {
|
|
198
|
+
borderType: 'none',
|
|
199
|
+
border: 'none',
|
|
200
|
+
borderWidth: '1px',
|
|
201
|
+
width: '1px 1px 1px 1px',
|
|
202
|
+
color: '#121212',
|
|
203
|
+
isCustom: true
|
|
204
|
+
},
|
|
205
|
+
hover: {
|
|
206
|
+
borderType: 'none',
|
|
207
|
+
border: 'none',
|
|
208
|
+
borderWidth: '1px',
|
|
209
|
+
width: '1px 1px 1px 1px',
|
|
210
|
+
color: '#121212',
|
|
211
|
+
isCustom: true
|
|
212
|
+
}
|
|
243
213
|
}
|
|
244
214
|
},
|
|
245
|
-
|
|
215
|
+
imageBadgeBorder: {
|
|
246
216
|
desktop: {
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
217
|
+
normal: {
|
|
218
|
+
borderType: 'none',
|
|
219
|
+
border: 'none',
|
|
220
|
+
borderWidth: '1px',
|
|
221
|
+
width: '1px 1px 1px 1px',
|
|
222
|
+
color: '#121212',
|
|
223
|
+
isCustom: true
|
|
224
|
+
},
|
|
225
|
+
hover: {
|
|
226
|
+
borderType: 'none',
|
|
227
|
+
border: 'none',
|
|
228
|
+
borderWidth: '1px',
|
|
229
|
+
width: '1px 1px 1px 1px',
|
|
230
|
+
color: '#121212',
|
|
231
|
+
isCustom: true
|
|
232
|
+
}
|
|
252
233
|
}
|
|
253
234
|
},
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
type: 'shadow-1'
|
|
235
|
+
borderRadius: {
|
|
236
|
+
btrr: '3px',
|
|
237
|
+
bblr: '3px',
|
|
238
|
+
bbrr: '3px',
|
|
239
|
+
btlr: '3px',
|
|
240
|
+
radiusType: 'custom'
|
|
261
241
|
},
|
|
262
|
-
|
|
263
|
-
textSize: {
|
|
242
|
+
textBadgeCorner: {
|
|
264
243
|
desktop: {
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
left: '12px',
|
|
272
|
-
right: '12px',
|
|
273
|
-
top: '8px'
|
|
244
|
+
normal: {
|
|
245
|
+
btrr: '0px',
|
|
246
|
+
bblr: '0px',
|
|
247
|
+
bbrr: '0px',
|
|
248
|
+
btlr: '0px',
|
|
249
|
+
radiusType: 'none'
|
|
274
250
|
},
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
251
|
+
hover: {
|
|
252
|
+
btrr: '0px',
|
|
253
|
+
bblr: '0px',
|
|
254
|
+
bbrr: '0px',
|
|
255
|
+
btlr: '0px',
|
|
256
|
+
radiusType: 'none'
|
|
257
|
+
}
|
|
278
258
|
}
|
|
279
259
|
},
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
260
|
+
imageBadgeCorner: {
|
|
261
|
+
desktop: {
|
|
262
|
+
normal: {
|
|
263
|
+
btrr: '0px',
|
|
264
|
+
bblr: '0px',
|
|
265
|
+
bbrr: '0px',
|
|
266
|
+
btlr: '0px',
|
|
267
|
+
radiusType: 'none'
|
|
268
|
+
},
|
|
269
|
+
hover: {
|
|
270
|
+
btrr: '0px',
|
|
271
|
+
bblr: '0px',
|
|
272
|
+
bbrr: '0px',
|
|
273
|
+
btlr: '0px',
|
|
274
|
+
radiusType: 'none'
|
|
287
275
|
}
|
|
288
|
-
}
|
|
289
|
-
type: 'paragraph-1'
|
|
276
|
+
}
|
|
290
277
|
},
|
|
278
|
+
hasShadow: false,
|
|
291
279
|
textSizeV2: {
|
|
292
280
|
desktop: {
|
|
293
|
-
width: '
|
|
281
|
+
width: 'auto',
|
|
294
282
|
height: 'auto',
|
|
295
283
|
shapeLinked: false,
|
|
296
284
|
disableShapeLinked: true,
|
|
@@ -303,11 +291,192 @@ const verticalTwo = [
|
|
|
303
291
|
right: '12px'
|
|
304
292
|
}
|
|
305
293
|
}
|
|
294
|
+
},
|
|
295
|
+
imageSizeV2: {
|
|
296
|
+
desktop: {
|
|
297
|
+
width: '20%',
|
|
298
|
+
height: 'auto',
|
|
299
|
+
shapeLinked: true,
|
|
300
|
+
hiddenShape: false,
|
|
301
|
+
shape: 'original',
|
|
302
|
+
disableShapeLinked: true
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
align: {
|
|
306
|
+
desktop: 'right'
|
|
307
|
+
},
|
|
308
|
+
shapeShadow: {
|
|
309
|
+
type: 'shadow-1',
|
|
310
|
+
distance: '4px',
|
|
311
|
+
blur: '12px',
|
|
312
|
+
spread: '0px',
|
|
313
|
+
color: '#121212',
|
|
314
|
+
angle: 90
|
|
315
|
+
},
|
|
316
|
+
textBadgeShadow: {
|
|
317
|
+
desktop: {
|
|
318
|
+
normal: {}
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
imageBadgeShadow: {
|
|
322
|
+
desktop: {
|
|
323
|
+
normal: {}
|
|
324
|
+
}
|
|
306
325
|
}
|
|
307
326
|
},
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
327
|
+
advanced: {
|
|
328
|
+
d: {
|
|
329
|
+
desktop: true,
|
|
330
|
+
tablet: true,
|
|
331
|
+
mobile: true
|
|
332
|
+
},
|
|
333
|
+
border: {
|
|
334
|
+
desktop: {
|
|
335
|
+
normal: {
|
|
336
|
+
borderType: 'none',
|
|
337
|
+
border: 'none',
|
|
338
|
+
borderWidth: '1px',
|
|
339
|
+
width: '1px 1px 1px 1px',
|
|
340
|
+
color: '#121212',
|
|
341
|
+
isCustom: true
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
rounded: {
|
|
346
|
+
desktop: {
|
|
347
|
+
normal: {
|
|
348
|
+
btrr: '0px',
|
|
349
|
+
bblr: '0px',
|
|
350
|
+
bbrr: '0px',
|
|
351
|
+
btlr: '0px',
|
|
352
|
+
radiusType: 'none'
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
hasBoxShadow: {
|
|
357
|
+
desktop: {
|
|
358
|
+
normal: false
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
boxShadow: {
|
|
362
|
+
desktop: {
|
|
363
|
+
normal: {}
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
op: {
|
|
367
|
+
desktop: '100%'
|
|
368
|
+
},
|
|
369
|
+
animation: {
|
|
370
|
+
desktop: {
|
|
371
|
+
enabled: false,
|
|
372
|
+
trigger: 'appear',
|
|
373
|
+
triggerConfig: {
|
|
374
|
+
appear: {
|
|
375
|
+
animation: 'fade',
|
|
376
|
+
setting: {
|
|
377
|
+
fade: {
|
|
378
|
+
delay: '0',
|
|
379
|
+
speed: 1.7,
|
|
380
|
+
easing: 'ease-out'
|
|
381
|
+
},
|
|
382
|
+
zoom: {
|
|
383
|
+
delay: '0',
|
|
384
|
+
speed: 1.7,
|
|
385
|
+
isFade: true,
|
|
386
|
+
easing: 'ease-out',
|
|
387
|
+
zoomDirection: 'in',
|
|
388
|
+
scale: {
|
|
389
|
+
in: [
|
|
390
|
+
80,
|
|
391
|
+
100
|
|
392
|
+
],
|
|
393
|
+
out: [
|
|
394
|
+
120,
|
|
395
|
+
100
|
|
396
|
+
]
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
slide: {
|
|
400
|
+
delay: '0',
|
|
401
|
+
speed: 1.7,
|
|
402
|
+
easing: 'ease-out',
|
|
403
|
+
direction: 'left',
|
|
404
|
+
isCustomDistance: false
|
|
405
|
+
},
|
|
406
|
+
shake: {
|
|
407
|
+
delay: '0',
|
|
408
|
+
speed: 0.7,
|
|
409
|
+
loop: false,
|
|
410
|
+
intensity: 11,
|
|
411
|
+
easing: 'linear'
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
hover: {
|
|
416
|
+
animation: 'none',
|
|
417
|
+
setting: {
|
|
418
|
+
fade: {
|
|
419
|
+
delay: '0',
|
|
420
|
+
speed: 1.7,
|
|
421
|
+
easing: 'ease-out'
|
|
422
|
+
},
|
|
423
|
+
zoom: {
|
|
424
|
+
delay: '0',
|
|
425
|
+
speed: 1.7,
|
|
426
|
+
isFade: false,
|
|
427
|
+
easing: 'ease-out',
|
|
428
|
+
zoomDirection: 'in',
|
|
429
|
+
scale: {
|
|
430
|
+
in: [
|
|
431
|
+
100,
|
|
432
|
+
120
|
|
433
|
+
],
|
|
434
|
+
out: [
|
|
435
|
+
100,
|
|
436
|
+
80
|
|
437
|
+
]
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
slide: {
|
|
441
|
+
delay: '0',
|
|
442
|
+
speed: 1.7,
|
|
443
|
+
easing: 'ease-out',
|
|
444
|
+
direction: 'left',
|
|
445
|
+
isCustomDistance: false
|
|
446
|
+
},
|
|
447
|
+
shake: {
|
|
448
|
+
delay: '0',
|
|
449
|
+
speed: 0.7,
|
|
450
|
+
loop: false,
|
|
451
|
+
intensity: 11,
|
|
452
|
+
easing: 'linear'
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
'spacing-setting': {
|
|
460
|
+
edited: [
|
|
461
|
+
'desktop'
|
|
462
|
+
],
|
|
463
|
+
desktop: {
|
|
464
|
+
margin: {
|
|
465
|
+
bottom: '0px'
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
tablet: {
|
|
469
|
+
margin: {
|
|
470
|
+
bottom: '0px'
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
mobile: {
|
|
474
|
+
margin: {
|
|
475
|
+
bottom: '0px'
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
}
|
|
311
480
|
},
|
|
312
481
|
{
|
|
313
482
|
childrens: [
|
|
@@ -559,14 +728,16 @@ const verticalTwo = [
|
|
|
559
728
|
}
|
|
560
729
|
},
|
|
561
730
|
priceType: 'compare'
|
|
562
|
-
}
|
|
731
|
+
},
|
|
732
|
+
uid: 'gCy64ANAyg',
|
|
733
|
+
childrens: []
|
|
563
734
|
}
|
|
564
735
|
],
|
|
565
736
|
label: 'Block',
|
|
566
737
|
settings: {},
|
|
567
738
|
styles: {},
|
|
568
739
|
tag: 'Col',
|
|
569
|
-
uid: '
|
|
740
|
+
uid: 'gNivOIdIES'
|
|
570
741
|
},
|
|
571
742
|
{
|
|
572
743
|
tag: 'Col',
|
|
@@ -602,11 +773,11 @@ const verticalTwo = [
|
|
|
602
773
|
}
|
|
603
774
|
},
|
|
604
775
|
tag: 'ProductPrice',
|
|
605
|
-
uid: '
|
|
776
|
+
uid: 'g6gUSBq8mG',
|
|
606
777
|
childrens: []
|
|
607
778
|
}
|
|
608
779
|
],
|
|
609
|
-
uid: '
|
|
780
|
+
uid: 'gxpKB1p5Zq'
|
|
610
781
|
}
|
|
611
782
|
],
|
|
612
783
|
label: 'Row',
|
|
@@ -672,7 +843,7 @@ const verticalTwo = [
|
|
|
672
843
|
}
|
|
673
844
|
},
|
|
674
845
|
tag: 'Row',
|
|
675
|
-
uid: '
|
|
846
|
+
uid: 'g9d3z_8DT4',
|
|
676
847
|
advanced: {
|
|
677
848
|
'spacing-setting': {
|
|
678
849
|
desktop: {
|
|
@@ -747,7 +918,7 @@ const verticalTwo = [
|
|
|
747
918
|
width: {}
|
|
748
919
|
},
|
|
749
920
|
tag: 'Row',
|
|
750
|
-
uid: '
|
|
921
|
+
uid: 'gJyBw8niWd'
|
|
751
922
|
}
|
|
752
923
|
];
|
|
753
924
|
|
|
@@ -197,29 +197,6 @@ const DynamicCheckoutSettings = [
|
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
199
|
id: 'boxShadowBtn',
|
|
200
|
-
type: 'boxShadow',
|
|
201
|
-
label: 'Shadow Style',
|
|
202
|
-
hideOnState: {
|
|
203
|
-
normal: true,
|
|
204
|
-
hover: true
|
|
205
|
-
},
|
|
206
|
-
default: {
|
|
207
|
-
normal: {
|
|
208
|
-
type: 'shadow-1',
|
|
209
|
-
distance: '4px',
|
|
210
|
-
blur: '12px',
|
|
211
|
-
spread: '0px',
|
|
212
|
-
color: 'rgba(0, 0, 0, 0.20)',
|
|
213
|
-
angle: 90
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
state: {
|
|
217
|
-
normal: true,
|
|
218
|
-
hover: true
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
id: 'boxShadowBtnV2',
|
|
223
200
|
type: 'shadow-v2',
|
|
224
201
|
default: {
|
|
225
202
|
normal: {}
|
|
@@ -177,7 +177,7 @@ const SettingUIV2 = [
|
|
|
177
177
|
en: 'Shadow'
|
|
178
178
|
},
|
|
179
179
|
setting: {
|
|
180
|
-
id: '
|
|
180
|
+
id: 'boxShadowBtn',
|
|
181
181
|
state: 'normal'
|
|
182
182
|
},
|
|
183
183
|
options: {
|
|
@@ -192,29 +192,29 @@ const SettingUIV2 = [
|
|
|
192
192
|
controlChangeTrigger: {
|
|
193
193
|
settings: [
|
|
194
194
|
{
|
|
195
|
-
condition: `
|
|
195
|
+
condition: `boxShadowBtn.normal.enable === true`,
|
|
196
196
|
source: [
|
|
197
|
-
'
|
|
197
|
+
'boxShadowBtn',
|
|
198
198
|
'hasBoxShadowBtn'
|
|
199
199
|
],
|
|
200
200
|
action: {
|
|
201
201
|
controlId: 'hasBoxShadowBtn',
|
|
202
|
-
groupType: '
|
|
203
|
-
controlType: '
|
|
202
|
+
groupType: 'styles',
|
|
203
|
+
controlType: 'styles',
|
|
204
204
|
state: 'normal',
|
|
205
205
|
newValue: true
|
|
206
206
|
}
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
|
-
condition: `
|
|
209
|
+
condition: `boxShadowBtn.normal.enable === false`,
|
|
210
210
|
source: [
|
|
211
|
-
'
|
|
211
|
+
'boxShadowBtn',
|
|
212
212
|
'hasBoxShadowBtn'
|
|
213
213
|
],
|
|
214
214
|
action: {
|
|
215
215
|
controlId: 'hasBoxShadowBtn',
|
|
216
|
-
groupType: '
|
|
217
|
-
controlType: '
|
|
216
|
+
groupType: 'styles',
|
|
217
|
+
controlType: 'styles',
|
|
218
218
|
state: 'normal',
|
|
219
219
|
newValue: false
|
|
220
220
|
}
|
|
@@ -371,7 +371,7 @@ const SettingUIV2 = [
|
|
|
371
371
|
en: 'Shadow'
|
|
372
372
|
},
|
|
373
373
|
setting: {
|
|
374
|
-
id: '
|
|
374
|
+
id: 'boxShadowBtn',
|
|
375
375
|
state: 'hover'
|
|
376
376
|
},
|
|
377
377
|
options: {
|
|
@@ -386,29 +386,29 @@ const SettingUIV2 = [
|
|
|
386
386
|
controlChangeTrigger: {
|
|
387
387
|
settings: [
|
|
388
388
|
{
|
|
389
|
-
condition: `
|
|
389
|
+
condition: `boxShadowBtn.hover.enable === true`,
|
|
390
390
|
source: [
|
|
391
|
-
'
|
|
391
|
+
'boxShadowBtn',
|
|
392
392
|
'hasBoxShadowBtn'
|
|
393
393
|
],
|
|
394
394
|
action: {
|
|
395
395
|
controlId: 'hasBoxShadowBtn',
|
|
396
|
-
groupType: '
|
|
397
|
-
controlType: '
|
|
396
|
+
groupType: 'styles',
|
|
397
|
+
controlType: 'styles',
|
|
398
398
|
state: 'hover',
|
|
399
399
|
newValue: true
|
|
400
400
|
}
|
|
401
401
|
},
|
|
402
402
|
{
|
|
403
|
-
condition: `
|
|
403
|
+
condition: `boxShadowBtn.hover.enable === false`,
|
|
404
404
|
source: [
|
|
405
|
-
'
|
|
405
|
+
'boxShadowBtn',
|
|
406
406
|
'hasBoxShadowBtn'
|
|
407
407
|
],
|
|
408
408
|
action: {
|
|
409
409
|
controlId: 'hasBoxShadowBtn',
|
|
410
|
-
groupType: '
|
|
411
|
-
controlType: '
|
|
410
|
+
groupType: 'styles',
|
|
411
|
+
controlType: 'styles',
|
|
412
412
|
state: 'hover',
|
|
413
413
|
newValue: false
|
|
414
414
|
}
|