@gem-sdk/components 2.0.0-dev.668 → 2.0.0-dev.670
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/uiV2.js +2 -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/uiV2.js +2 -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
|
{
|
|
@@ -474,7 +474,7 @@ const SettingUIV2 = [
|
|
|
474
474
|
},
|
|
475
475
|
{
|
|
476
476
|
label: {
|
|
477
|
-
en: 'Display
|
|
477
|
+
en: 'Display option'
|
|
478
478
|
},
|
|
479
479
|
controls: [
|
|
480
480
|
{
|
|
@@ -488,7 +488,7 @@ const SettingUIV2 = [
|
|
|
488
488
|
},
|
|
489
489
|
{
|
|
490
490
|
label: {
|
|
491
|
-
en: '
|
|
491
|
+
en: 'Default option'
|
|
492
492
|
},
|
|
493
493
|
setting: {
|
|
494
494
|
id: 'hasPreSelected'
|
|
@@ -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
|
{
|
|
@@ -472,7 +472,7 @@ const SettingUIV2 = [
|
|
|
472
472
|
},
|
|
473
473
|
{
|
|
474
474
|
label: {
|
|
475
|
-
en: 'Display
|
|
475
|
+
en: 'Display option'
|
|
476
476
|
},
|
|
477
477
|
controls: [
|
|
478
478
|
{
|
|
@@ -486,7 +486,7 @@ const SettingUIV2 = [
|
|
|
486
486
|
},
|
|
487
487
|
{
|
|
488
488
|
label: {
|
|
489
|
-
en: '
|
|
489
|
+
en: 'Default option'
|
|
490
490
|
},
|
|
491
491
|
setting: {
|
|
492
492
|
id: 'hasPreSelected'
|