@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.
@@ -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
  {
@@ -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
  {
@@ -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
  {
@@ -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.671",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",