@gem-sdk/components 2.0.0-dev.431 → 2.0.0-dev.432

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.
@@ -29,7 +29,7 @@ const config = {
29
29
  },
30
30
  {
31
31
  id: 'slideToShow',
32
- type: 'range',
32
+ type: 'input:slider',
33
33
  min: 1,
34
34
  max: 6,
35
35
  label: 'Blogs per rows',
@@ -81,7 +81,7 @@ const config = {
81
81
  },
82
82
  {
83
83
  id: 'numberOfArticle',
84
- type: 'range',
84
+ type: 'input:slider',
85
85
  min: 1,
86
86
  max: 50,
87
87
  label: 'Number of article',
@@ -474,7 +474,7 @@ const SettingsV2 = [
474
474
  },
475
475
  {
476
476
  id: 'hoverEffectScale',
477
- type: 'range',
477
+ type: 'input:slider',
478
478
  label: 'Zoom Value',
479
479
  units: [
480
480
  '%'
@@ -482,7 +482,9 @@ const SettingsV2 = [
482
482
  min: 100,
483
483
  max: 200,
484
484
  step: 5,
485
- default: '110%'
485
+ default: '110%',
486
+ useOnlyUnitInit: true,
487
+ isNumber: true
486
488
  },
487
489
  {
488
490
  id: 'hoverEffectDuration',
@@ -440,7 +440,7 @@ const CarouselSettingsV2 = [
440
440
  {
441
441
  id: 'autoplayTimeout',
442
442
  label: 'Time out',
443
- type: 'range',
443
+ type: 'input:slider',
444
444
  min: 1,
445
445
  max: 10,
446
446
  step: 0.1,
@@ -338,7 +338,9 @@ const CouponSettings = [
338
338
  },
339
339
  {
340
340
  id: 'iconDimension',
341
- type: 'range',
341
+ type: 'input:slider',
342
+ useOnlyUnitInit: true,
343
+ isNumber: true,
342
344
  label: 'Size',
343
345
  hide: true,
344
346
  min: 0,
@@ -50,7 +50,7 @@ const MarqueeSettingsV2 = [
50
50
  {
51
51
  id: 'speed',
52
52
  label: 'speed',
53
- type: 'range',
53
+ type: 'input:slider',
54
54
  hideInput: true,
55
55
  useOnlyUnitInit: true,
56
56
  hideUnit: true,
@@ -54,7 +54,7 @@ const productFeatureImageSetting = [
54
54
  },
55
55
  {
56
56
  id: 'zoom',
57
- type: 'range',
57
+ type: 'input:slider',
58
58
  label: 'Zoom Value',
59
59
  min: 100,
60
60
  max: 200,
@@ -63,7 +63,8 @@ const productFeatureImageSetting = [
63
63
  units: [
64
64
  '%'
65
65
  ],
66
- useOnlyUnitInit: true
66
+ useOnlyUnitInit: true,
67
+ isNumber: true
67
68
  },
68
69
  {
69
70
  id: 'otherImage',
@@ -169,13 +170,15 @@ const productFeatureImageSetting = [
169
170
  },
170
171
  {
171
172
  id: 'ftAnimationSpeed',
172
- type: 'range',
173
+ type: 'input:slider',
173
174
  label: 'Speed (s)',
174
175
  hide: true,
175
176
  min: 0,
176
177
  max: 60,
177
178
  step: 1,
178
- default: 1
179
+ default: 1,
180
+ useOnlyUnitInit: true,
181
+ isNumber: true
179
182
  },
180
183
  {
181
184
  id: 'ftArrowIcon',
@@ -67,7 +67,7 @@ const productGalleryImageSetting = [
67
67
  },
68
68
  {
69
69
  id: 'galleryZoom',
70
- type: 'range',
70
+ type: 'input:slider',
71
71
  label: 'Zoom Value',
72
72
  min: 100,
73
73
  max: 200,
@@ -76,7 +76,8 @@ const productGalleryImageSetting = [
76
76
  units: [
77
77
  '%'
78
78
  ],
79
- useOnlyUnitInit: true
79
+ useOnlyUnitInit: true,
80
+ isNumber: true
80
81
  },
81
82
  {
82
83
  id: 'clickOpenLightBox',
@@ -162,7 +163,7 @@ const productGalleryImageSetting = [
162
163
  },
163
164
  {
164
165
  id: 'speed',
165
- type: 'range',
166
+ type: 'input:slider',
166
167
  label: 'Speed (s)',
167
168
  hide: true,
168
169
  min: 0,
@@ -79,7 +79,7 @@ const ProductImageSettingsV2 = [
79
79
  },
80
80
  {
81
81
  id: 'qualityPercent',
82
- type: 'range',
82
+ type: 'input:slider',
83
83
  label: '',
84
84
  units: [
85
85
  '%'
@@ -367,12 +367,14 @@ const config = {
367
367
  },
368
368
  {
369
369
  id: 'iconDimension',
370
- type: 'range',
370
+ type: 'input:slider',
371
371
  label: 'Size',
372
372
  hide: true,
373
373
  min: 0,
374
374
  max: 100,
375
375
  step: 1,
376
+ useOnlyUnitInit: true,
377
+ isNumber: true,
376
378
  units: [
377
379
  'px',
378
380
  'em',
@@ -32,13 +32,15 @@ const settings = {
32
32
  },
33
33
  {
34
34
  id: 'hoverOpacity',
35
- type: 'range',
35
+ type: 'input:slider',
36
36
  label: 'Hover Opacity',
37
37
  units: [
38
38
  '%'
39
39
  ],
40
40
  min: 0,
41
- max: 100
41
+ max: 100,
42
+ useOnlyUnitInit: true,
43
+ isNumber: true
42
44
  }
43
45
  ]
44
46
  };
@@ -25,7 +25,7 @@ const config = {
25
25
  },
26
26
  {
27
27
  id: 'slideToShow',
28
- type: 'range',
28
+ type: 'input:slider',
29
29
  min: 1,
30
30
  max: 6,
31
31
  label: 'Blogs per rows',
@@ -77,7 +77,7 @@ const config = {
77
77
  },
78
78
  {
79
79
  id: 'numberOfArticle',
80
- type: 'range',
80
+ type: 'input:slider',
81
81
  min: 1,
82
82
  max: 50,
83
83
  label: 'Number of article',
@@ -472,7 +472,7 @@ const SettingsV2 = [
472
472
  },
473
473
  {
474
474
  id: 'hoverEffectScale',
475
- type: 'range',
475
+ type: 'input:slider',
476
476
  label: 'Zoom Value',
477
477
  units: [
478
478
  '%'
@@ -480,7 +480,9 @@ const SettingsV2 = [
480
480
  min: 100,
481
481
  max: 200,
482
482
  step: 5,
483
- default: '110%'
483
+ default: '110%',
484
+ useOnlyUnitInit: true,
485
+ isNumber: true
484
486
  },
485
487
  {
486
488
  id: 'hoverEffectDuration',
@@ -438,7 +438,7 @@ const CarouselSettingsV2 = [
438
438
  {
439
439
  id: 'autoplayTimeout',
440
440
  label: 'Time out',
441
- type: 'range',
441
+ type: 'input:slider',
442
442
  min: 1,
443
443
  max: 10,
444
444
  step: 0.1,
@@ -336,7 +336,9 @@ const CouponSettings = [
336
336
  },
337
337
  {
338
338
  id: 'iconDimension',
339
- type: 'range',
339
+ type: 'input:slider',
340
+ useOnlyUnitInit: true,
341
+ isNumber: true,
340
342
  label: 'Size',
341
343
  hide: true,
342
344
  min: 0,
@@ -48,7 +48,7 @@ const MarqueeSettingsV2 = [
48
48
  {
49
49
  id: 'speed',
50
50
  label: 'speed',
51
- type: 'range',
51
+ type: 'input:slider',
52
52
  hideInput: true,
53
53
  useOnlyUnitInit: true,
54
54
  hideUnit: true,
@@ -52,7 +52,7 @@ const productFeatureImageSetting = [
52
52
  },
53
53
  {
54
54
  id: 'zoom',
55
- type: 'range',
55
+ type: 'input:slider',
56
56
  label: 'Zoom Value',
57
57
  min: 100,
58
58
  max: 200,
@@ -61,7 +61,8 @@ const productFeatureImageSetting = [
61
61
  units: [
62
62
  '%'
63
63
  ],
64
- useOnlyUnitInit: true
64
+ useOnlyUnitInit: true,
65
+ isNumber: true
65
66
  },
66
67
  {
67
68
  id: 'otherImage',
@@ -167,13 +168,15 @@ const productFeatureImageSetting = [
167
168
  },
168
169
  {
169
170
  id: 'ftAnimationSpeed',
170
- type: 'range',
171
+ type: 'input:slider',
171
172
  label: 'Speed (s)',
172
173
  hide: true,
173
174
  min: 0,
174
175
  max: 60,
175
176
  step: 1,
176
- default: 1
177
+ default: 1,
178
+ useOnlyUnitInit: true,
179
+ isNumber: true
177
180
  },
178
181
  {
179
182
  id: 'ftArrowIcon',
@@ -65,7 +65,7 @@ const productGalleryImageSetting = [
65
65
  },
66
66
  {
67
67
  id: 'galleryZoom',
68
- type: 'range',
68
+ type: 'input:slider',
69
69
  label: 'Zoom Value',
70
70
  min: 100,
71
71
  max: 200,
@@ -74,7 +74,8 @@ const productGalleryImageSetting = [
74
74
  units: [
75
75
  '%'
76
76
  ],
77
- useOnlyUnitInit: true
77
+ useOnlyUnitInit: true,
78
+ isNumber: true
78
79
  },
79
80
  {
80
81
  id: 'clickOpenLightBox',
@@ -160,7 +161,7 @@ const productGalleryImageSetting = [
160
161
  },
161
162
  {
162
163
  id: 'speed',
163
- type: 'range',
164
+ type: 'input:slider',
164
165
  label: 'Speed (s)',
165
166
  hide: true,
166
167
  min: 0,
@@ -77,7 +77,7 @@ const ProductImageSettingsV2 = [
77
77
  },
78
78
  {
79
79
  id: 'qualityPercent',
80
- type: 'range',
80
+ type: 'input:slider',
81
81
  label: '',
82
82
  units: [
83
83
  '%'
@@ -363,12 +363,14 @@ const config = {
363
363
  },
364
364
  {
365
365
  id: 'iconDimension',
366
- type: 'range',
366
+ type: 'input:slider',
367
367
  label: 'Size',
368
368
  hide: true,
369
369
  min: 0,
370
370
  max: 100,
371
371
  step: 1,
372
+ useOnlyUnitInit: true,
373
+ isNumber: true,
372
374
  units: [
373
375
  'px',
374
376
  'em',
@@ -30,13 +30,15 @@ const settings = {
30
30
  },
31
31
  {
32
32
  id: 'hoverOpacity',
33
- type: 'range',
33
+ type: 'input:slider',
34
34
  label: 'Hover Opacity',
35
35
  units: [
36
36
  '%'
37
37
  ],
38
38
  min: 0,
39
- max: 100
39
+ max: 100,
40
+ useOnlyUnitInit: true,
41
+ isNumber: true
40
42
  }
41
43
  ]
42
44
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.431",
3
+ "version": "2.0.0-dev.432",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",