@gem-sdk/components 2.0.0-dev.338 → 2.0.0-dev.339
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/post-purchase/link/setting/configs/uiV2.js +1 -1
- package/dist/cjs/product/setting/product-badge/configs/settings.js +13 -21
- package/dist/cjs/product/setting/product-badge/configs/uiV2.js +12 -2
- package/dist/esm/post-purchase/link/setting/configs/uiV2.js +1 -1
- package/dist/esm/product/setting/product-badge/configs/settings.js +13 -21
- package/dist/esm/product/setting/product-badge/configs/uiV2.js +12 -2
- package/package.json +1 -1
|
@@ -420,11 +420,17 @@ const ProductBadgeSettings = [
|
|
|
420
420
|
{
|
|
421
421
|
id: 'textSizeV2',
|
|
422
422
|
type: 'size-setting',
|
|
423
|
+
hiddenShowMore: true,
|
|
424
|
+
disableShapeLinkedTooltip: 'Use other badge shape to resize without proportions',
|
|
423
425
|
devices: {
|
|
424
426
|
desktop: {
|
|
425
427
|
default: {
|
|
426
428
|
width: 'auto',
|
|
427
429
|
height: 'auto',
|
|
430
|
+
shapeLinked: false,
|
|
431
|
+
disableShapeLinked: true,
|
|
432
|
+
hiddenShape: true,
|
|
433
|
+
shape: 'custom',
|
|
428
434
|
padding: {
|
|
429
435
|
top: '8px',
|
|
430
436
|
bottom: '8px',
|
|
@@ -437,35 +443,21 @@ const ProductBadgeSettings = [
|
|
|
437
443
|
settingConfig: {
|
|
438
444
|
width: {
|
|
439
445
|
displayOptions: [
|
|
440
|
-
'full',
|
|
441
446
|
'auto',
|
|
442
|
-
'
|
|
443
|
-
|
|
444
|
-
'medium'
|
|
445
|
-
],
|
|
446
|
-
sizeConfig: {
|
|
447
|
-
small: '100px',
|
|
448
|
-
medium: '116px',
|
|
449
|
-
large: '132px'
|
|
450
|
-
}
|
|
447
|
+
'default'
|
|
448
|
+
]
|
|
451
449
|
},
|
|
452
450
|
height: {
|
|
453
451
|
displayOptions: [
|
|
454
452
|
'auto',
|
|
455
|
-
'
|
|
456
|
-
|
|
457
|
-
'medium'
|
|
458
|
-
],
|
|
459
|
-
sizeConfig: {
|
|
460
|
-
small: '28px',
|
|
461
|
-
medium: '36px',
|
|
462
|
-
large: '44px'
|
|
463
|
-
}
|
|
453
|
+
'default'
|
|
454
|
+
]
|
|
464
455
|
}
|
|
465
456
|
},
|
|
466
457
|
hiddenSettings: [
|
|
467
|
-
'
|
|
468
|
-
'
|
|
458
|
+
'gap',
|
|
459
|
+
'proportion',
|
|
460
|
+
'padding'
|
|
469
461
|
]
|
|
470
462
|
},
|
|
471
463
|
{
|
|
@@ -255,6 +255,14 @@ const SettingUIV2 = [
|
|
|
255
255
|
},
|
|
256
256
|
conditionDisplay: 'contentType == "text"',
|
|
257
257
|
controls: [
|
|
258
|
+
{
|
|
259
|
+
type: 'control',
|
|
260
|
+
setting: {
|
|
261
|
+
id: 'textSizeV2'
|
|
262
|
+
},
|
|
263
|
+
layout: 'vertical',
|
|
264
|
+
conditionDisplay: '["square" ,"ribbon" ,"star","triangle"].includes(shape)'
|
|
265
|
+
},
|
|
258
266
|
{
|
|
259
267
|
id: 'Width',
|
|
260
268
|
label: {
|
|
@@ -287,7 +295,8 @@ const SettingUIV2 = [
|
|
|
287
295
|
}
|
|
288
296
|
]
|
|
289
297
|
},
|
|
290
|
-
layout: 'horizontal'
|
|
298
|
+
layout: 'horizontal',
|
|
299
|
+
conditionDisplay: '!["square" ,"ribbon" ,"star","triangle"].includes(shape)'
|
|
291
300
|
},
|
|
292
301
|
{
|
|
293
302
|
id: 'Height',
|
|
@@ -316,7 +325,8 @@ const SettingUIV2 = [
|
|
|
316
325
|
}
|
|
317
326
|
]
|
|
318
327
|
},
|
|
319
|
-
layout: 'horizontal'
|
|
328
|
+
layout: 'horizontal',
|
|
329
|
+
conditionDisplay: '!["square" ,"ribbon" ,"star","triangle"].includes(shape)'
|
|
320
330
|
},
|
|
321
331
|
{
|
|
322
332
|
label: {
|
|
@@ -418,11 +418,17 @@ const ProductBadgeSettings = [
|
|
|
418
418
|
{
|
|
419
419
|
id: 'textSizeV2',
|
|
420
420
|
type: 'size-setting',
|
|
421
|
+
hiddenShowMore: true,
|
|
422
|
+
disableShapeLinkedTooltip: 'Use other badge shape to resize without proportions',
|
|
421
423
|
devices: {
|
|
422
424
|
desktop: {
|
|
423
425
|
default: {
|
|
424
426
|
width: 'auto',
|
|
425
427
|
height: 'auto',
|
|
428
|
+
shapeLinked: false,
|
|
429
|
+
disableShapeLinked: true,
|
|
430
|
+
hiddenShape: true,
|
|
431
|
+
shape: 'custom',
|
|
426
432
|
padding: {
|
|
427
433
|
top: '8px',
|
|
428
434
|
bottom: '8px',
|
|
@@ -435,35 +441,21 @@ const ProductBadgeSettings = [
|
|
|
435
441
|
settingConfig: {
|
|
436
442
|
width: {
|
|
437
443
|
displayOptions: [
|
|
438
|
-
'full',
|
|
439
444
|
'auto',
|
|
440
|
-
'
|
|
441
|
-
|
|
442
|
-
'medium'
|
|
443
|
-
],
|
|
444
|
-
sizeConfig: {
|
|
445
|
-
small: '100px',
|
|
446
|
-
medium: '116px',
|
|
447
|
-
large: '132px'
|
|
448
|
-
}
|
|
445
|
+
'default'
|
|
446
|
+
]
|
|
449
447
|
},
|
|
450
448
|
height: {
|
|
451
449
|
displayOptions: [
|
|
452
450
|
'auto',
|
|
453
|
-
'
|
|
454
|
-
|
|
455
|
-
'medium'
|
|
456
|
-
],
|
|
457
|
-
sizeConfig: {
|
|
458
|
-
small: '28px',
|
|
459
|
-
medium: '36px',
|
|
460
|
-
large: '44px'
|
|
461
|
-
}
|
|
451
|
+
'default'
|
|
452
|
+
]
|
|
462
453
|
}
|
|
463
454
|
},
|
|
464
455
|
hiddenSettings: [
|
|
465
|
-
'
|
|
466
|
-
'
|
|
456
|
+
'gap',
|
|
457
|
+
'proportion',
|
|
458
|
+
'padding'
|
|
467
459
|
]
|
|
468
460
|
},
|
|
469
461
|
{
|
|
@@ -253,6 +253,14 @@ const SettingUIV2 = [
|
|
|
253
253
|
},
|
|
254
254
|
conditionDisplay: 'contentType == "text"',
|
|
255
255
|
controls: [
|
|
256
|
+
{
|
|
257
|
+
type: 'control',
|
|
258
|
+
setting: {
|
|
259
|
+
id: 'textSizeV2'
|
|
260
|
+
},
|
|
261
|
+
layout: 'vertical',
|
|
262
|
+
conditionDisplay: '["square" ,"ribbon" ,"star","triangle"].includes(shape)'
|
|
263
|
+
},
|
|
256
264
|
{
|
|
257
265
|
id: 'Width',
|
|
258
266
|
label: {
|
|
@@ -285,7 +293,8 @@ const SettingUIV2 = [
|
|
|
285
293
|
}
|
|
286
294
|
]
|
|
287
295
|
},
|
|
288
|
-
layout: 'horizontal'
|
|
296
|
+
layout: 'horizontal',
|
|
297
|
+
conditionDisplay: '!["square" ,"ribbon" ,"star","triangle"].includes(shape)'
|
|
289
298
|
},
|
|
290
299
|
{
|
|
291
300
|
id: 'Height',
|
|
@@ -314,7 +323,8 @@ const SettingUIV2 = [
|
|
|
314
323
|
}
|
|
315
324
|
]
|
|
316
325
|
},
|
|
317
|
-
layout: 'horizontal'
|
|
326
|
+
layout: 'horizontal',
|
|
327
|
+
conditionDisplay: '!["square" ,"ribbon" ,"star","triangle"].includes(shape)'
|
|
318
328
|
},
|
|
319
329
|
{
|
|
320
330
|
label: {
|