@gem-sdk/components 2.6.0-staging.19 → 2.6.0-staging.22

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.
@@ -266,12 +266,12 @@ const config = {
266
266
  {
267
267
  label: 'Full',
268
268
  value: '100%',
269
- tooltip: 'Stretch to fill <br> vertical space around'
269
+ tooltip: 'Stretch to fill <br> vertical space'
270
270
  },
271
271
  {
272
272
  label: 'Fit',
273
273
  value: 'auto',
274
- tooltip: 'Auto-resize <br> based on content'
274
+ tooltip: 'Adjust size <br> based on content'
275
275
  }
276
276
  ]
277
277
  },
@@ -368,7 +368,6 @@ const config = {
368
368
  label: {
369
369
  en: 'Align'
370
370
  },
371
- condition: `(layout.display !== 'fill' || (layout.display === 'fill' && !!layout.cols && layout.cols.length > 1)) && pageType != "POST_PURCHASE"`,
372
371
  controls: [
373
372
  {
374
373
  type: 'control',
@@ -378,7 +377,7 @@ const config = {
378
377
  setting: {
379
378
  id: 'verticalAlign'
380
379
  },
381
- condition: `!!layout.cols && layout.cols.length > 1 && pageType != "POST_PURCHASE"`
380
+ condition: `((!!layout.cols && layout.cols.length > 1) || (!!layout.cols && layout.cols.length == 1 && height == '100%')) && pageType != "POST_PURCHASE"`
382
381
  },
383
382
  {
384
383
  type: 'control',
@@ -262,12 +262,12 @@ const config = {
262
262
  {
263
263
  label: 'Full',
264
264
  value: '100%',
265
- tooltip: 'Stretch to fill <br> vertical space around'
265
+ tooltip: 'Stretch to fill <br> vertical space'
266
266
  },
267
267
  {
268
268
  label: 'Fit',
269
269
  value: 'auto',
270
- tooltip: 'Auto-resize <br> based on content'
270
+ tooltip: 'Adjust size <br> based on content'
271
271
  }
272
272
  ]
273
273
  },
@@ -364,7 +364,6 @@ const config = {
364
364
  label: {
365
365
  en: 'Align'
366
366
  },
367
- condition: `(layout.display !== 'fill' || (layout.display === 'fill' && !!layout.cols && layout.cols.length > 1)) && pageType != "POST_PURCHASE"`,
368
367
  controls: [
369
368
  {
370
369
  type: 'control',
@@ -374,7 +373,7 @@ const config = {
374
373
  setting: {
375
374
  id: 'verticalAlign'
376
375
  },
377
- condition: `!!layout.cols && layout.cols.length > 1 && pageType != "POST_PURCHASE"`
376
+ condition: `((!!layout.cols && layout.cols.length > 1) || (!!layout.cols && layout.cols.length == 1 && height == '100%')) && pageType != "POST_PURCHASE"`
378
377
  },
379
378
  {
380
379
  type: 'control',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.6.0-staging.19",
3
+ "version": "2.6.0-staging.22",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",