@gem-sdk/components 2.0.0-dev.465 → 2.0.0-dev.466

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.
@@ -131,8 +131,9 @@ const SettingUIV2 = [
131
131
  },
132
132
  controlConfig: {
133
133
  id: 'width',
134
- type: 'input',
134
+ type: 'dropdown:input',
135
135
  label: 'Width',
136
+ inputType: 'number',
136
137
  units: [
137
138
  'px',
138
139
  '%'
@@ -142,7 +143,19 @@ const SettingUIV2 = [
142
143
  linkWithSetting: {
143
144
  name: 'globalSize',
144
145
  field: 'width'
145
- }
146
+ },
147
+ displayOptions: [
148
+ {
149
+ label: 'Fit content',
150
+ value: 'Auto',
151
+ showValue: true
152
+ },
153
+ {
154
+ label: 'Full',
155
+ value: '100%',
156
+ showValue: true
157
+ }
158
+ ]
146
159
  },
147
160
  layout: 'horizontal'
148
161
  },
@@ -129,8 +129,9 @@ const SettingUIV2 = [
129
129
  },
130
130
  controlConfig: {
131
131
  id: 'width',
132
- type: 'input',
132
+ type: 'dropdown:input',
133
133
  label: 'Width',
134
+ inputType: 'number',
134
135
  units: [
135
136
  'px',
136
137
  '%'
@@ -140,7 +141,19 @@ const SettingUIV2 = [
140
141
  linkWithSetting: {
141
142
  name: 'globalSize',
142
143
  field: 'width'
143
- }
144
+ },
145
+ displayOptions: [
146
+ {
147
+ label: 'Fit content',
148
+ value: 'Auto',
149
+ showValue: true
150
+ },
151
+ {
152
+ label: 'Full',
153
+ value: '100%',
154
+ showValue: true
155
+ }
156
+ ]
144
157
  },
145
158
  layout: 'horizontal'
146
159
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.465",
3
+ "version": "2.0.0-dev.466",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",