@gem-sdk/components 2.0.0-dev.669 → 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.
|
@@ -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
|
{
|
|
@@ -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
|
{
|