@gem-sdk/components 2.0.0-dev.488 → 2.0.0-dev.489

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.
@@ -197,7 +197,7 @@ const SectionSettings = [
197
197
  'px'
198
198
  ],
199
199
  min: 0,
200
- max: 200,
200
+ max: 120,
201
201
  devices: {
202
202
  desktop: {
203
203
  default: '32px'
@@ -211,7 +211,7 @@ const SectionSettings = [
211
211
  'px'
212
212
  ],
213
213
  min: 0,
214
- max: 200,
214
+ max: 120,
215
215
  devices: {
216
216
  desktop: {
217
217
  default: '0px'
@@ -222,7 +222,7 @@ const SectionSettings = [
222
222
  id: 'columnGap',
223
223
  type: 'input:slider',
224
224
  min: 0,
225
- max: 100,
225
+ max: 120,
226
226
  step: 1,
227
227
  units: [
228
228
  '%'
@@ -263,7 +263,7 @@ const SectionSettings = [
263
263
  desktop: {
264
264
  default: {
265
265
  type: 'color',
266
- color: '#CCCCCC',
266
+ color: '#DDDDDD',
267
267
  image: {
268
268
  src: 'https://ucarecdn.com/5e27d43d-eb1e-4e71-b7e1-4158f3071bb6/-/format/auto/',
269
269
  width: 1200,
@@ -128,6 +128,9 @@ const SettingUIV2 = [
128
128
  },
129
129
  label: {
130
130
  en: 'Page padding'
131
+ },
132
+ help: {
133
+ content: 'Page padding controls the <br> space between the browser <br> edge and sections. Adjust it in <br> Global Style > Page Padding.'
131
134
  }
132
135
  }
133
136
  ]
@@ -26,8 +26,8 @@ const itemChildrenTemplateImage = (src)=>({
26
26
  styles: {
27
27
  shape: {
28
28
  desktop: {
29
- height: '32px',
30
- width: '32px',
29
+ height: '40px',
30
+ width: '40px',
31
31
  shape: 'square',
32
32
  shapeLinked: true,
33
33
  shapeValue: '1/1'
@@ -288,8 +288,8 @@ const itemControlTemplateImage = {
288
288
  styles: {
289
289
  shape: {
290
290
  desktop: {
291
- height: '32px',
292
- width: '32px',
291
+ height: '40px',
292
+ width: '40px',
293
293
  shape: 'square',
294
294
  shapeLinked: true,
295
295
  shapeValue: '1/1'
@@ -293,12 +293,14 @@ const SettingUIV2 = [
293
293
  label: {
294
294
  en: 'Align'
295
295
  },
296
+ conditionEnable: '!(parseInt(globalSize.width) >= 100 && globalSize.width?.includes("%"))',
296
297
  setting: {
297
298
  id: 'align'
298
299
  },
299
300
  options: {
300
301
  labelVariant: 'primary',
301
- fullWidth: true
302
+ fullWidth: true,
303
+ disableMessage: `Align is not supported when width is 100%`
302
304
  }
303
305
  }
304
306
  ]
@@ -195,7 +195,7 @@ const SectionSettings = [
195
195
  'px'
196
196
  ],
197
197
  min: 0,
198
- max: 200,
198
+ max: 120,
199
199
  devices: {
200
200
  desktop: {
201
201
  default: '32px'
@@ -209,7 +209,7 @@ const SectionSettings = [
209
209
  'px'
210
210
  ],
211
211
  min: 0,
212
- max: 200,
212
+ max: 120,
213
213
  devices: {
214
214
  desktop: {
215
215
  default: '0px'
@@ -220,7 +220,7 @@ const SectionSettings = [
220
220
  id: 'columnGap',
221
221
  type: 'input:slider',
222
222
  min: 0,
223
- max: 100,
223
+ max: 120,
224
224
  step: 1,
225
225
  units: [
226
226
  '%'
@@ -261,7 +261,7 @@ const SectionSettings = [
261
261
  desktop: {
262
262
  default: {
263
263
  type: 'color',
264
- color: '#CCCCCC',
264
+ color: '#DDDDDD',
265
265
  image: {
266
266
  src: 'https://ucarecdn.com/5e27d43d-eb1e-4e71-b7e1-4158f3071bb6/-/format/auto/',
267
267
  width: 1200,
@@ -126,6 +126,9 @@ const SettingUIV2 = [
126
126
  },
127
127
  label: {
128
128
  en: 'Page padding'
129
+ },
130
+ help: {
131
+ content: 'Page padding controls the <br> space between the browser <br> edge and sections. Adjust it in <br> Global Style > Page Padding.'
129
132
  }
130
133
  }
131
134
  ]
@@ -24,8 +24,8 @@ const itemChildrenTemplateImage = (src)=>({
24
24
  styles: {
25
25
  shape: {
26
26
  desktop: {
27
- height: '32px',
28
- width: '32px',
27
+ height: '40px',
28
+ width: '40px',
29
29
  shape: 'square',
30
30
  shapeLinked: true,
31
31
  shapeValue: '1/1'
@@ -286,8 +286,8 @@ const itemControlTemplateImage = {
286
286
  styles: {
287
287
  shape: {
288
288
  desktop: {
289
- height: '32px',
290
- width: '32px',
289
+ height: '40px',
290
+ width: '40px',
291
291
  shape: 'square',
292
292
  shapeLinked: true,
293
293
  shapeValue: '1/1'
@@ -291,12 +291,14 @@ const SettingUIV2 = [
291
291
  label: {
292
292
  en: 'Align'
293
293
  },
294
+ conditionEnable: '!(parseInt(globalSize.width) >= 100 && globalSize.width?.includes("%"))',
294
295
  setting: {
295
296
  id: 'align'
296
297
  },
297
298
  options: {
298
299
  labelVariant: 'primary',
299
- fullWidth: true
300
+ fullWidth: true,
301
+ disableMessage: `Align is not supported when width is 100%`
300
302
  }
301
303
  }
302
304
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.488",
3
+ "version": "2.0.0-dev.489",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",