@gem-sdk/components 2.0.0-dev.737 → 2.0.0-dev.738

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.
@@ -181,6 +181,25 @@ const SettingUIV2 = [
181
181
  groupType: 'style',
182
182
  controlType: 'size-setting'
183
183
  }
184
+ },
185
+ {
186
+ condition: '!!background.image.src && sizeSetting.shape == "original" && sizeSetting.height == "fit-content"',
187
+ source: [
188
+ 'background',
189
+ 'sizeSetting'
190
+ ],
191
+ action: {
192
+ controlId: 'sizeSetting',
193
+ newValue: {
194
+ hiddenShape: false,
195
+ height: ''
196
+ },
197
+ valueIfNull: {
198
+ hiddenShape: false
199
+ },
200
+ groupType: 'style',
201
+ controlType: 'size-setting'
202
+ }
184
203
  }
185
204
  ],
186
205
  options: {
@@ -179,6 +179,25 @@ const SettingUIV2 = [
179
179
  groupType: 'style',
180
180
  controlType: 'size-setting'
181
181
  }
182
+ },
183
+ {
184
+ condition: '!!background.image.src && sizeSetting.shape == "original" && sizeSetting.height == "fit-content"',
185
+ source: [
186
+ 'background',
187
+ 'sizeSetting'
188
+ ],
189
+ action: {
190
+ controlId: 'sizeSetting',
191
+ newValue: {
192
+ hiddenShape: false,
193
+ height: ''
194
+ },
195
+ valueIfNull: {
196
+ hiddenShape: false
197
+ },
198
+ groupType: 'style',
199
+ controlType: 'size-setting'
200
+ }
182
201
  }
183
202
  ],
184
203
  options: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.737",
3
+ "version": "2.0.0-dev.738",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",