@gem-sdk/components 2.0.0-dev.519 → 2.0.0-dev.520

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.
@@ -96,7 +96,7 @@ const Row = (props)=>{
96
96
  key: el.key,
97
97
  order: setting?.order,
98
98
  layout: setting?.layout,
99
- justifyContent: isPostPurchase ? postPurchaseVerticalAlign : setting?.verticalAlign
99
+ justifyContent: isPostPurchase ? postPurchaseVerticalAlign() : setting?.verticalAlign
100
100
  });
101
101
  return null;
102
102
  })
@@ -104,7 +104,7 @@ const CountdownTimerSettings = [
104
104
  {
105
105
  id: 'direction',
106
106
  label: 'Direction',
107
- type: 'segment',
107
+ type: 'option:value',
108
108
  options: [
109
109
  {
110
110
  label: 'LTR',
@@ -146,18 +146,16 @@ const ImagePostPurchaseSettingV2 = [
146
146
  },
147
147
  {
148
148
  id: 'enableBorder',
149
- type: 'segment',
149
+ type: 'option:value',
150
150
  default: 'none',
151
151
  options: [
152
152
  {
153
153
  value: 'none',
154
- icon: 'gp-cursor-none',
155
- type: 'border'
154
+ iconName: 'gp-cursor-none'
156
155
  },
157
156
  {
158
157
  value: 'solid',
159
- icon: 'gp-line',
160
- type: 'border'
158
+ iconName: 'gp-line'
161
159
  }
162
160
  ]
163
161
  }
@@ -92,7 +92,7 @@ const Row = (props)=>{
92
92
  key: el.key,
93
93
  order: setting?.order,
94
94
  layout: setting?.layout,
95
- justifyContent: isPostPurchase ? postPurchaseVerticalAlign : setting?.verticalAlign
95
+ justifyContent: isPostPurchase ? postPurchaseVerticalAlign() : setting?.verticalAlign
96
96
  });
97
97
  return null;
98
98
  })
@@ -102,7 +102,7 @@ const CountdownTimerSettings = [
102
102
  {
103
103
  id: 'direction',
104
104
  label: 'Direction',
105
- type: 'segment',
105
+ type: 'option:value',
106
106
  options: [
107
107
  {
108
108
  label: 'LTR',
@@ -144,18 +144,16 @@ const ImagePostPurchaseSettingV2 = [
144
144
  },
145
145
  {
146
146
  id: 'enableBorder',
147
- type: 'segment',
147
+ type: 'option:value',
148
148
  default: 'none',
149
149
  options: [
150
150
  {
151
151
  value: 'none',
152
- icon: 'gp-cursor-none',
153
- type: 'border'
152
+ iconName: 'gp-cursor-none'
154
153
  },
155
154
  {
156
155
  value: 'solid',
157
- icon: 'gp-line',
158
- type: 'border'
156
+ iconName: 'gp-line'
159
157
  }
160
158
  ]
161
159
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.519",
3
+ "version": "2.0.0-dev.520",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",