@gem-sdk/components 2.0.0-dev.664 → 2.0.0-dev.666

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.
@@ -185,7 +185,7 @@ const SettingUIV2 = [
185
185
  options: {
186
186
  labelVariant: 'primary',
187
187
  fullWidth: true,
188
- disableMessage: `Align is not supported when width is 100%`
188
+ disableMessage: `Horizontal alignment is disabled when the width is set to 100% or greater`
189
189
  }
190
190
  }
191
191
  ]
@@ -45,7 +45,7 @@ const ProductDescriptionSettings = [
45
45
  disableDecimal: true,
46
46
  devices: {
47
47
  desktop: {
48
- default: 12
48
+ default: 3
49
49
  }
50
50
  }
51
51
  },
@@ -65,18 +65,42 @@ const SettingUIV2 = [
65
65
  label: {
66
66
  en: 'Show more label'
67
67
  },
68
- setting: {
69
- id: 'viewMoreText'
70
- },
68
+ type: 'combo',
69
+ iconName: 'polaris-text-block',
70
+ getValueFromSettingID: 'viewMoreText',
71
+ isHideClear: true,
72
+ controls: [
73
+ {
74
+ label: {
75
+ en: 'Content'
76
+ },
77
+ setting: {
78
+ id: 'viewMoreText'
79
+ },
80
+ layout: 'vertical'
81
+ }
82
+ ],
71
83
  conditionDisplay: 'hasLineClamp == true'
72
84
  },
73
85
  {
74
86
  label: {
75
87
  en: 'Show less label'
76
88
  },
77
- setting: {
78
- id: 'viewLessText'
79
- },
89
+ type: 'combo',
90
+ iconName: 'polaris-text-block',
91
+ getValueFromSettingID: 'viewLessText',
92
+ isHideClear: true,
93
+ controls: [
94
+ {
95
+ label: {
96
+ en: 'Content'
97
+ },
98
+ setting: {
99
+ id: 'viewLessText'
100
+ },
101
+ layout: 'vertical'
102
+ }
103
+ ],
80
104
  conditionDisplay: 'hasLineClamp == true'
81
105
  },
82
106
  {
@@ -169,7 +169,7 @@ const SettingUIV2 = [
169
169
  options: {
170
170
  labelVariant: 'primary',
171
171
  fullWidth: true,
172
- disableMessage: `Align is not supported when width is 100%`
172
+ disableMessage: 'Horizontal alignment is disabled when the width is set to 100% or greater'
173
173
  }
174
174
  }
175
175
  ]
@@ -183,7 +183,7 @@ const SettingUIV2 = [
183
183
  options: {
184
184
  labelVariant: 'primary',
185
185
  fullWidth: true,
186
- disableMessage: `Align is not supported when width is 100%`
186
+ disableMessage: `Horizontal alignment is disabled when the width is set to 100% or greater`
187
187
  }
188
188
  }
189
189
  ]
@@ -43,7 +43,7 @@ const ProductDescriptionSettings = [
43
43
  disableDecimal: true,
44
44
  devices: {
45
45
  desktop: {
46
- default: 12
46
+ default: 3
47
47
  }
48
48
  }
49
49
  },
@@ -63,18 +63,42 @@ const SettingUIV2 = [
63
63
  label: {
64
64
  en: 'Show more label'
65
65
  },
66
- setting: {
67
- id: 'viewMoreText'
68
- },
66
+ type: 'combo',
67
+ iconName: 'polaris-text-block',
68
+ getValueFromSettingID: 'viewMoreText',
69
+ isHideClear: true,
70
+ controls: [
71
+ {
72
+ label: {
73
+ en: 'Content'
74
+ },
75
+ setting: {
76
+ id: 'viewMoreText'
77
+ },
78
+ layout: 'vertical'
79
+ }
80
+ ],
69
81
  conditionDisplay: 'hasLineClamp == true'
70
82
  },
71
83
  {
72
84
  label: {
73
85
  en: 'Show less label'
74
86
  },
75
- setting: {
76
- id: 'viewLessText'
77
- },
87
+ type: 'combo',
88
+ iconName: 'polaris-text-block',
89
+ getValueFromSettingID: 'viewLessText',
90
+ isHideClear: true,
91
+ controls: [
92
+ {
93
+ label: {
94
+ en: 'Content'
95
+ },
96
+ setting: {
97
+ id: 'viewLessText'
98
+ },
99
+ layout: 'vertical'
100
+ }
101
+ ],
78
102
  conditionDisplay: 'hasLineClamp == true'
79
103
  },
80
104
  {
@@ -167,7 +167,7 @@ const SettingUIV2 = [
167
167
  options: {
168
168
  labelVariant: 'primary',
169
169
  fullWidth: true,
170
- disableMessage: `Align is not supported when width is 100%`
170
+ disableMessage: 'Horizontal alignment is disabled when the width is set to 100% or greater'
171
171
  }
172
172
  }
173
173
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.664",
3
+ "version": "2.0.0-dev.666",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",