@gem-sdk/components 2.6.0-staging.18 → 2.6.0-staging.20

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.
@@ -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',
@@ -47,6 +47,11 @@ const config = {
47
47
  type: 'input',
48
48
  default: ''
49
49
  },
50
+ {
51
+ id: 'productHandle',
52
+ type: 'product-handle',
53
+ hide: true
54
+ },
50
55
  {
51
56
  id: 'widgetType',
52
57
  label: 'Choose widget',
@@ -47,6 +47,11 @@ const config = {
47
47
  type: 'input',
48
48
  default: ''
49
49
  },
50
+ {
51
+ id: 'productHandle',
52
+ type: 'product-handle',
53
+ hide: true
54
+ },
50
55
  {
51
56
  id: 'install',
52
57
  type: 'open-link',
@@ -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',
@@ -43,6 +43,11 @@ const config = {
43
43
  type: 'input',
44
44
  default: ''
45
45
  },
46
+ {
47
+ id: 'productHandle',
48
+ type: 'product-handle',
49
+ hide: true
50
+ },
46
51
  {
47
52
  id: 'widgetType',
48
53
  label: 'Choose widget',
@@ -43,6 +43,11 @@ const config = {
43
43
  type: 'input',
44
44
  default: ''
45
45
  },
46
+ {
47
+ id: 'productHandle',
48
+ type: 'product-handle',
49
+ hide: true
50
+ },
46
51
  {
47
52
  id: 'install',
48
53
  type: 'open-link',
@@ -2457,6 +2457,7 @@ type RechargeSubscriptionsProps = BaseProps<{
2457
2457
  align?: ObjectDevices<AlignProp>;
2458
2458
  openApp?: any;
2459
2459
  install?: any;
2460
+ productHandle?: string;
2460
2461
  }>;
2461
2462
  declare const RechargeSubscriptions$1: React.FC<RechargeSubscriptionsProps>;
2462
2463
 
@@ -2987,6 +2988,7 @@ type SubifySubscriptionsAppProps = BaseProps<{
2987
2988
  install?: any;
2988
2989
  appBlockId?: string;
2989
2990
  widgetType?: string;
2991
+ productHandle?: string;
2990
2992
  }>;
2991
2993
  declare const SubifySubscriptionsApp$1: React.FC<SubifySubscriptionsAppProps>;
2992
2994
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.6.0-staging.18",
3
+ "version": "2.6.0-staging.20",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -21,7 +21,7 @@
21
21
  "format": "prettier --write \"./src/**/*.{ts,tsx}\""
22
22
  },
23
23
  "devDependencies": {
24
- "@gem-sdk/core": "2.6.0-staging.18",
24
+ "@gem-sdk/core": "2.6.0-staging.19",
25
25
  "@gem-sdk/styles": "2.6.0-staging.13",
26
26
  "@types/react-transition-group": "^4.4.5"
27
27
  },