@gem-sdk/components 2.0.0-dev.669 → 2.0.0-dev.671
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/button/setting/configs/uiV2.js +20 -0
- package/dist/cjs/product/setting/product-variant/configs/settings.js +5 -2
- package/dist/cjs/product/setting/product-vendor/configs/uiV2.js +3 -0
- package/dist/esm/button/setting/configs/uiV2.js +20 -0
- package/dist/esm/product/setting/product-variant/configs/settings.js +5 -2
- package/dist/esm/product/setting/product-vendor/configs/uiV2.js +3 -0
- package/package.json +1 -1
|
@@ -258,6 +258,26 @@ const SettingUIV2 = [
|
|
|
258
258
|
options: {
|
|
259
259
|
labelVariant: 'primary',
|
|
260
260
|
toggleStyle: 'switch'
|
|
261
|
+
},
|
|
262
|
+
controlChangeTrigger: {
|
|
263
|
+
settings: [
|
|
264
|
+
{
|
|
265
|
+
condition: `enableTextStyle === true && label === ""`,
|
|
266
|
+
source: [
|
|
267
|
+
'enableTextStyle',
|
|
268
|
+
'label'
|
|
269
|
+
],
|
|
270
|
+
action: {
|
|
271
|
+
controlId: 'label',
|
|
272
|
+
groupType: 'setting',
|
|
273
|
+
controlType: 'setting',
|
|
274
|
+
newValue: 'button'
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
options: {
|
|
279
|
+
noRecordHistory: true
|
|
280
|
+
}
|
|
261
281
|
}
|
|
262
282
|
},
|
|
263
283
|
{
|
|
@@ -448,12 +448,15 @@ const ProductVariantSettings = [
|
|
|
448
448
|
attrs: {
|
|
449
449
|
color: 'text-1',
|
|
450
450
|
bold: true
|
|
451
|
+
},
|
|
452
|
+
custom: {
|
|
453
|
+
fontFamily: 'Assistant',
|
|
454
|
+
letterSpacing: '0px'
|
|
451
455
|
}
|
|
452
456
|
},
|
|
453
457
|
ignoreReRender: true,
|
|
454
458
|
hiddenSetting: {
|
|
455
|
-
textAlign: true
|
|
456
|
-
textShadow: true
|
|
459
|
+
textAlign: true
|
|
457
460
|
}
|
|
458
461
|
},
|
|
459
462
|
{
|
|
@@ -256,6 +256,26 @@ const SettingUIV2 = [
|
|
|
256
256
|
options: {
|
|
257
257
|
labelVariant: 'primary',
|
|
258
258
|
toggleStyle: 'switch'
|
|
259
|
+
},
|
|
260
|
+
controlChangeTrigger: {
|
|
261
|
+
settings: [
|
|
262
|
+
{
|
|
263
|
+
condition: `enableTextStyle === true && label === ""`,
|
|
264
|
+
source: [
|
|
265
|
+
'enableTextStyle',
|
|
266
|
+
'label'
|
|
267
|
+
],
|
|
268
|
+
action: {
|
|
269
|
+
controlId: 'label',
|
|
270
|
+
groupType: 'setting',
|
|
271
|
+
controlType: 'setting',
|
|
272
|
+
newValue: 'button'
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
options: {
|
|
277
|
+
noRecordHistory: true
|
|
278
|
+
}
|
|
259
279
|
}
|
|
260
280
|
},
|
|
261
281
|
{
|
|
@@ -446,12 +446,15 @@ const ProductVariantSettings = [
|
|
|
446
446
|
attrs: {
|
|
447
447
|
color: 'text-1',
|
|
448
448
|
bold: true
|
|
449
|
+
},
|
|
450
|
+
custom: {
|
|
451
|
+
fontFamily: 'Assistant',
|
|
452
|
+
letterSpacing: '0px'
|
|
449
453
|
}
|
|
450
454
|
},
|
|
451
455
|
ignoreReRender: true,
|
|
452
456
|
hiddenSetting: {
|
|
453
|
-
textAlign: true
|
|
454
|
-
textShadow: true
|
|
457
|
+
textAlign: true
|
|
455
458
|
}
|
|
456
459
|
},
|
|
457
460
|
{
|