@gem-sdk/components 2.0.0-dev.711 → 2.0.0-dev.712

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.
@@ -32,7 +32,8 @@ const ArticleListSettings = [
32
32
  mobile: {
33
33
  default: 2
34
34
  }
35
- }
35
+ },
36
+ isNumber: true
36
37
  },
37
38
  {
38
39
  id: 'articleOrderBy',
@@ -578,6 +578,11 @@ const SettingsV2 = [
578
578
  label: 'Bottom',
579
579
  value: 'bottom',
580
580
  iconName: 'gp-align-bottom'
581
+ },
582
+ {
583
+ label: 'Space between',
584
+ value: 'space-between',
585
+ iconName: 'gp-justify-content-space-between'
581
586
  }
582
587
  ],
583
588
  devices: {
@@ -49,6 +49,30 @@ const SettingUIV2 = [
49
49
  newValue: 'bottom'
50
50
  }
51
51
  },
52
+ {
53
+ condition: `layout.cols.length == 1 && layout.type === 'center-distributed'`,
54
+ source: [
55
+ 'layout'
56
+ ],
57
+ action: {
58
+ controlId: 'contentPosition1Col',
59
+ groupType: 'style',
60
+ controlType: 'style',
61
+ newValue: 'space-between'
62
+ }
63
+ },
64
+ {
65
+ condition: `layout.cols.length > 1 && ( layout.type === 'left-distributed' || layout.type === 'right-distributed')`,
66
+ source: [
67
+ 'layout'
68
+ ],
69
+ action: {
70
+ controlId: 'contentPosition2Col',
71
+ groupType: 'style',
72
+ controlType: 'style',
73
+ newValue: 'space-between'
74
+ }
75
+ },
52
76
  {
53
77
  condition: `layout.cols.length > 1 && ( layout.type === 'left-top' || layout.type === 'right-top')`,
54
78
  source: [
@@ -30,7 +30,8 @@ const ArticleListSettings = [
30
30
  mobile: {
31
31
  default: 2
32
32
  }
33
- }
33
+ },
34
+ isNumber: true
34
35
  },
35
36
  {
36
37
  id: 'articleOrderBy',
@@ -576,6 +576,11 @@ const SettingsV2 = [
576
576
  label: 'Bottom',
577
577
  value: 'bottom',
578
578
  iconName: 'gp-align-bottom'
579
+ },
580
+ {
581
+ label: 'Space between',
582
+ value: 'space-between',
583
+ iconName: 'gp-justify-content-space-between'
579
584
  }
580
585
  ],
581
586
  devices: {
@@ -47,6 +47,30 @@ const SettingUIV2 = [
47
47
  newValue: 'bottom'
48
48
  }
49
49
  },
50
+ {
51
+ condition: `layout.cols.length == 1 && layout.type === 'center-distributed'`,
52
+ source: [
53
+ 'layout'
54
+ ],
55
+ action: {
56
+ controlId: 'contentPosition1Col',
57
+ groupType: 'style',
58
+ controlType: 'style',
59
+ newValue: 'space-between'
60
+ }
61
+ },
62
+ {
63
+ condition: `layout.cols.length > 1 && ( layout.type === 'left-distributed' || layout.type === 'right-distributed')`,
64
+ source: [
65
+ 'layout'
66
+ ],
67
+ action: {
68
+ controlId: 'contentPosition2Col',
69
+ groupType: 'style',
70
+ controlType: 'style',
71
+ newValue: 'space-between'
72
+ }
73
+ },
50
74
  {
51
75
  condition: `layout.cols.length > 1 && ( layout.type === 'left-top' || layout.type === 'right-top')`,
52
76
  source: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.711",
3
+ "version": "2.0.0-dev.712",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",