@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
  {
@@ -24,6 +24,9 @@ const SettingUIV2 = [
24
24
  },
25
25
  setting: {
26
26
  id: 'label'
27
+ },
28
+ options: {
29
+ labelAlign: 'top'
27
30
  }
28
31
  }
29
32
  ]
@@ -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
  {
@@ -22,6 +22,9 @@ const SettingUIV2 = [
22
22
  },
23
23
  setting: {
24
24
  id: 'label'
25
+ },
26
+ options: {
27
+ labelAlign: 'top'
25
28
  }
26
29
  }
27
30
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.669",
3
+ "version": "2.0.0-dev.670",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",