@gem-sdk/components 2.0.0-dev.417 → 2.0.0-dev.419

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.
Files changed (24) hide show
  1. package/dist/cjs/button/components/common/styles.js +1 -1
  2. package/dist/cjs/collection/components/collection-description/common/styles.js +1 -1
  3. package/dist/cjs/form/setting/form-dropdown/configs/settings.js +5 -5
  4. package/dist/cjs/form/setting/form-dropdown/configs/uiV2.js +76 -87
  5. package/dist/cjs/image-comparison/components/common/styles.js +1 -1
  6. package/dist/cjs/product/components/FileUpload/components/config/setting.js +2 -3
  7. package/dist/cjs/product/components/ProductDescription/common/getStyle.js +1 -1
  8. package/dist/cjs/product/components/ProductQuantity/common/getStyles.js +8 -1
  9. package/dist/cjs/product/setting/product-quantity/configs/settings.js +25 -0
  10. package/dist/cjs/product/setting/product-quantity/configs/uiV2.js +1 -45
  11. package/dist/cjs/stock-counter/components/common/getStyles.js +1 -1
  12. package/dist/esm/button/components/common/styles.js +1 -1
  13. package/dist/esm/collection/components/collection-description/common/styles.js +1 -1
  14. package/dist/esm/form/setting/form-dropdown/configs/settings.js +5 -5
  15. package/dist/esm/form/setting/form-dropdown/configs/uiV2.js +76 -87
  16. package/dist/esm/image-comparison/components/common/styles.js +1 -1
  17. package/dist/esm/product/components/FileUpload/components/config/setting.js +2 -3
  18. package/dist/esm/product/components/ProductDescription/common/getStyle.js +1 -1
  19. package/dist/esm/product/components/ProductQuantity/common/getStyles.js +8 -1
  20. package/dist/esm/product/setting/product-quantity/configs/settings.js +25 -0
  21. package/dist/esm/product/setting/product-quantity/configs/uiV2.js +1 -45
  22. package/dist/esm/stock-counter/components/common/getStyles.js +1 -1
  23. package/dist/types/index.d.ts +1 -0
  24. package/package.json +1 -1
@@ -59,7 +59,7 @@ const getTypoStyles = (styles)=>{
59
59
  ...core.getStyleShadow({
60
60
  styleAppliedFor: 'text-shadow',
61
61
  value: styles?.typo?.custom?.textShadow,
62
- isEnableShadow: styles?.typo?.custom?.textShadow?.type !== 'none' && styles?.typo?.custom?.hasShadowText
62
+ isEnableShadow: styles?.typo?.custom?.hasShadowText
63
63
  })
64
64
  };
65
65
  };
@@ -31,7 +31,7 @@ const getDefaultStyleCollectionDes = (setting)=>{
31
31
  ...core.getStyleShadow({
32
32
  value: setting?.typo?.custom?.textShadow,
33
33
  styleAppliedFor: 'text-shadow',
34
- isEnableShadow: setting?.typo?.custom?.textShadow?.type !== 'none'
34
+ isEnableShadow: setting?.typo?.custom?.hasShadowText
35
35
  }),
36
36
  ...core.makeStyleResponsive('ta', setting?.textAlign),
37
37
  ...core.makeStyle({
@@ -49,7 +49,7 @@ const FormDropdownSettings = [
49
49
  id: 'required',
50
50
  type: 'toggle',
51
51
  label: 'Placeholder',
52
- default: false
52
+ default: true
53
53
  },
54
54
  {
55
55
  id: 'typo',
@@ -168,10 +168,10 @@ const FormDropdownSettings = [
168
168
  height: 'Auto',
169
169
  padding: {
170
170
  type: 'medium',
171
- top: '12px',
172
- bottom: '12px',
173
- left: '12px',
174
- right: '12px'
171
+ top: '4px',
172
+ bottom: '4px',
173
+ left: '16px',
174
+ right: '16px'
175
175
  }
176
176
  }
177
177
  }
@@ -6,33 +6,33 @@ const SettingUIV2 = [
6
6
  en: 'Item management'
7
7
  },
8
8
  controls: [
9
- {
10
- type: 'combo',
11
- label: {
12
- en: 'Placeholder'
13
- },
14
- iconName: 'polaris-text-block',
15
- getValueFromSettingID: 'placeholder',
16
- isHideClear: true,
17
- controls: [
18
- {
19
- label: {
20
- en: 'Content'
21
- },
22
- setting: {
23
- id: 'placeholder'
24
- }
25
- },
26
- {
27
- setting: {
28
- id: 'placeholderColor'
29
- },
30
- label: {
31
- en: 'Color'
32
- }
33
- }
34
- ]
35
- },
9
+ // {
10
+ // type: 'combo',
11
+ // label: {
12
+ // en: 'Placeholder',
13
+ // },
14
+ // iconName: 'polaris-text-block',
15
+ // getValueFromSettingID: 'placeholder',
16
+ // isHideClear: true,
17
+ // controls: [
18
+ // {
19
+ // label: {
20
+ // en: 'Content',
21
+ // },
22
+ // setting: {
23
+ // id: 'placeholder',
24
+ // },
25
+ // },
26
+ // {
27
+ // setting: {
28
+ // id: 'placeholderColor',
29
+ // },
30
+ // label: {
31
+ // en: 'Color',
32
+ // },
33
+ // },
34
+ // ],
35
+ // },
36
36
  {
37
37
  label: {
38
38
  en: 'Options'
@@ -40,14 +40,6 @@ const SettingUIV2 = [
40
40
  setting: {
41
41
  id: 'childItem'
42
42
  }
43
- },
44
- {
45
- label: {
46
- en: 'Default option'
47
- },
48
- setting: {
49
- id: 'defaultOption'
50
- }
51
43
  }
52
44
  ]
53
45
  },
@@ -118,45 +110,42 @@ const SettingUIV2 = [
118
110
  },
119
111
  layout: 'horizontal'
120
112
  },
121
- {
122
- id: 'height',
123
- label: {
124
- en: 'Height'
125
- },
126
- controlConfig: {
127
- id: 'height',
128
- type: 'dropdown:input',
129
- label: 'Height',
130
- inputType: 'number',
131
- units: [
132
- 'px',
133
- '%'
134
- ],
135
- hideUnit: false,
136
- linkWithSetting: {
137
- name: 'globalSize',
138
- field: 'height'
139
- },
140
- displayOptions: [
141
- {
142
- label: 'Fit content',
143
- value: 'Auto',
144
- showValue: true
145
- },
146
- {
147
- label: 'Full',
148
- value: '100%',
149
- showValue: true
150
- },
151
- {
152
- label: 'Default',
153
- value: 'default',
154
- showValue: true
155
- }
156
- ]
157
- },
158
- layout: 'horizontal'
159
- },
113
+ // {
114
+ // id: 'height',
115
+ // label: {
116
+ // en: 'Height',
117
+ // },
118
+ // controlConfig: {
119
+ // id: 'height',
120
+ // type: 'dropdown:input',
121
+ // label: 'Height',
122
+ // inputType: 'number',
123
+ // units: ['px', '%'],
124
+ // hideUnit: false,
125
+ // linkWithSetting: {
126
+ // name: 'globalSize',
127
+ // field: 'height',
128
+ // },
129
+ // displayOptions: [
130
+ // {
131
+ // label: 'Fit content',
132
+ // value: 'Auto',
133
+ // showValue: true,
134
+ // },
135
+ // {
136
+ // label: 'Full',
137
+ // value: '100%',
138
+ // showValue: true,
139
+ // },
140
+ // {
141
+ // label: 'Default',
142
+ // value: 'default',
143
+ // showValue: true,
144
+ // },
145
+ // ],
146
+ // },
147
+ // layout: 'horizontal',
148
+ // },
160
149
  {
161
150
  label: {
162
151
  en: 'Padding'
@@ -183,19 +172,19 @@ const SettingUIV2 = [
183
172
  }
184
173
  ]
185
174
  },
186
- {
187
- label: {
188
- en: 'Background'
189
- },
190
- controls: [
191
- {
192
- setting: {
193
- id: 'background'
194
- },
195
- layout: 'vertical'
196
- }
197
- ]
198
- },
175
+ // {
176
+ // label: {
177
+ // en: 'Background',
178
+ // },
179
+ // controls: [
180
+ // {
181
+ // setting: {
182
+ // id: 'background',
183
+ // },
184
+ // layout: 'vertical',
185
+ // },
186
+ // ],
187
+ // },
199
188
  // {
200
189
  // label: {
201
190
  // en: 'Shape',
@@ -70,7 +70,7 @@ const getLabelStyles = ({ type, styles, isHorizontal })=>{
70
70
  ...core.getStyleShadow({
71
71
  styleAppliedFor: 'text-shadow',
72
72
  value: styles?.typo?.custom?.textShadow,
73
- isEnableShadow: styles?.typo?.custom?.textShadow?.type !== 'none'
73
+ isEnableShadow: styles?.typo?.custom?.hasShadowText
74
74
  }),
75
75
  ...core.makeStyle({
76
76
  tt: styles?.transform,
@@ -343,8 +343,7 @@ const Settings = [
343
343
  type: 'color-picker-v2',
344
344
  label: 'Text Color',
345
345
  default: {
346
- normal: 'text-1',
347
- hover: 'transparent'
346
+ normal: 'text-1'
348
347
  },
349
348
  state: {
350
349
  hover: true,
@@ -388,7 +387,7 @@ const Settings = [
388
387
  },
389
388
  {
390
389
  id: 'boxShadowBtn',
391
- type: 'boxShadow',
390
+ type: 'shadow-v2',
392
391
  label: 'Shadow Style',
393
392
  hideOnState: {
394
393
  normal: true,
@@ -24,7 +24,7 @@ const getTextStyle = ({ setting, renderMaxHeight })=>{
24
24
  ...core.getStyleShadow({
25
25
  value: setting?.typo?.custom?.textShadow,
26
26
  styleAppliedFor: 'text-shadow',
27
- isEnableShadow: setting?.typo?.custom?.textShadow?.type !== 'none'
27
+ isEnableShadow: setting?.typo?.custom?.hasShadowText
28
28
  }),
29
29
  ...core.makeStyleResponsive('ta', setting?.textAlign),
30
30
  ...core.getGlobalColorStyle(setting?.color),
@@ -118,9 +118,16 @@ const getContainerStyles = ({ inputHeight, align })=>{
118
118
  };
119
119
  };
120
120
  const getWrapperStyles = ({ backgroundColor, styles })=>{
121
+ const shapeShadow = styles?.shapeShadow;
122
+ const styleShadow = core.getResponsiveStyleShadow(shapeShadow, 'box-shadow', {
123
+ desktop: shapeShadow?.desktop ?? {},
124
+ tablet: shapeShadow?.tablet ?? shapeShadow?.desktop ?? {},
125
+ mobile: shapeShadow?.mobile ?? shapeShadow?.tablet ?? shapeShadow?.desktop ?? {}
126
+ });
121
127
  return {
122
128
  ...core.getGlobalColorStateStyle('bg', backgroundColor),
123
- ...core.makeStyleResponsive('maxw', styles?.quantityWidth)
129
+ ...core.makeStyleResponsive('maxw', styles?.quantityWidth),
130
+ ...styleShadow
124
131
  };
125
132
  };
126
133
 
@@ -407,6 +407,31 @@ const ProductQuantitySettings = [
407
407
  }
408
408
  }
409
409
  },
410
+ {
411
+ id: 'shapeShadow',
412
+ type: 'shadow-v2',
413
+ devices: {
414
+ desktop: {
415
+ default: {
416
+ normal: {}
417
+ }
418
+ }
419
+ },
420
+ compoDefaultValue: {
421
+ desktop: {
422
+ default: {
423
+ normal: {
424
+ type: 'shadow-1',
425
+ distance: '4px',
426
+ blur: '4px',
427
+ spread: '0px',
428
+ color: '#121212',
429
+ angle: 90
430
+ }
431
+ }
432
+ }
433
+ }
434
+ },
410
435
  {
411
436
  id: 'buttonBoxShadow',
412
437
  type: 'shadow-v2',
@@ -521,52 +521,8 @@ const SettingUIV2 = [
521
521
  en: 'Shadow'
522
522
  },
523
523
  setting: {
524
- id: 'boxShadow',
524
+ id: 'shapeShadow',
525
525
  state: 'normal'
526
- },
527
- options: {
528
- updateFields: [
529
- {
530
- field: 'normal.enable',
531
- settingId: 'advanced.hasBoxShadow',
532
- state: 'normal'
533
- }
534
- ]
535
- },
536
- controlChangeTrigger: {
537
- settings: [
538
- {
539
- condition: `boxShadow.normal.enable === true`,
540
- source: [
541
- 'boxShadow',
542
- 'hasBoxShadow'
543
- ],
544
- action: {
545
- controlId: 'hasBoxShadow',
546
- groupType: 'advanced',
547
- controlType: 'advanced',
548
- state: 'normal',
549
- newValue: true
550
- }
551
- },
552
- {
553
- condition: `boxShadow.normal.enable === false`,
554
- source: [
555
- 'boxShadow',
556
- 'hasBoxShadow'
557
- ],
558
- action: {
559
- controlId: 'hasBoxShadow',
560
- groupType: 'advanced',
561
- controlType: 'advanced',
562
- state: 'normal',
563
- newValue: false
564
- }
565
- }
566
- ],
567
- options: {
568
- noRecordHistory: true
569
- }
570
526
  }
571
527
  }
572
528
  ]
@@ -61,7 +61,7 @@ const getTextStyles = (styles, isOutOfStock)=>{
61
61
  ...core.getStyleShadow({
62
62
  value: typo?.custom?.textShadow,
63
63
  styleAppliedFor: 'text-shadow',
64
- isEnableShadow: typo?.custom?.textShadow?.type !== 'none'
64
+ isEnableShadow: typo?.custom?.hasShadowText
65
65
  })
66
66
  };
67
67
  };
@@ -57,7 +57,7 @@ const getTypoStyles = (styles)=>{
57
57
  ...getStyleShadow({
58
58
  styleAppliedFor: 'text-shadow',
59
59
  value: styles?.typo?.custom?.textShadow,
60
- isEnableShadow: styles?.typo?.custom?.textShadow?.type !== 'none' && styles?.typo?.custom?.hasShadowText
60
+ isEnableShadow: styles?.typo?.custom?.hasShadowText
61
61
  })
62
62
  };
63
63
  };
@@ -29,7 +29,7 @@ const getDefaultStyleCollectionDes = (setting)=>{
29
29
  ...getStyleShadow({
30
30
  value: setting?.typo?.custom?.textShadow,
31
31
  styleAppliedFor: 'text-shadow',
32
- isEnableShadow: setting?.typo?.custom?.textShadow?.type !== 'none'
32
+ isEnableShadow: setting?.typo?.custom?.hasShadowText
33
33
  }),
34
34
  ...makeStyleResponsive('ta', setting?.textAlign),
35
35
  ...makeStyle({
@@ -45,7 +45,7 @@ const FormDropdownSettings = [
45
45
  id: 'required',
46
46
  type: 'toggle',
47
47
  label: 'Placeholder',
48
- default: false
48
+ default: true
49
49
  },
50
50
  {
51
51
  id: 'typo',
@@ -164,10 +164,10 @@ const FormDropdownSettings = [
164
164
  height: 'Auto',
165
165
  padding: {
166
166
  type: 'medium',
167
- top: '12px',
168
- bottom: '12px',
169
- left: '12px',
170
- right: '12px'
167
+ top: '4px',
168
+ bottom: '4px',
169
+ left: '16px',
170
+ right: '16px'
171
171
  }
172
172
  }
173
173
  }
@@ -4,33 +4,33 @@ const SettingUIV2 = [
4
4
  en: 'Item management'
5
5
  },
6
6
  controls: [
7
- {
8
- type: 'combo',
9
- label: {
10
- en: 'Placeholder'
11
- },
12
- iconName: 'polaris-text-block',
13
- getValueFromSettingID: 'placeholder',
14
- isHideClear: true,
15
- controls: [
16
- {
17
- label: {
18
- en: 'Content'
19
- },
20
- setting: {
21
- id: 'placeholder'
22
- }
23
- },
24
- {
25
- setting: {
26
- id: 'placeholderColor'
27
- },
28
- label: {
29
- en: 'Color'
30
- }
31
- }
32
- ]
33
- },
7
+ // {
8
+ // type: 'combo',
9
+ // label: {
10
+ // en: 'Placeholder',
11
+ // },
12
+ // iconName: 'polaris-text-block',
13
+ // getValueFromSettingID: 'placeholder',
14
+ // isHideClear: true,
15
+ // controls: [
16
+ // {
17
+ // label: {
18
+ // en: 'Content',
19
+ // },
20
+ // setting: {
21
+ // id: 'placeholder',
22
+ // },
23
+ // },
24
+ // {
25
+ // setting: {
26
+ // id: 'placeholderColor',
27
+ // },
28
+ // label: {
29
+ // en: 'Color',
30
+ // },
31
+ // },
32
+ // ],
33
+ // },
34
34
  {
35
35
  label: {
36
36
  en: 'Options'
@@ -38,14 +38,6 @@ const SettingUIV2 = [
38
38
  setting: {
39
39
  id: 'childItem'
40
40
  }
41
- },
42
- {
43
- label: {
44
- en: 'Default option'
45
- },
46
- setting: {
47
- id: 'defaultOption'
48
- }
49
41
  }
50
42
  ]
51
43
  },
@@ -116,45 +108,42 @@ const SettingUIV2 = [
116
108
  },
117
109
  layout: 'horizontal'
118
110
  },
119
- {
120
- id: 'height',
121
- label: {
122
- en: 'Height'
123
- },
124
- controlConfig: {
125
- id: 'height',
126
- type: 'dropdown:input',
127
- label: 'Height',
128
- inputType: 'number',
129
- units: [
130
- 'px',
131
- '%'
132
- ],
133
- hideUnit: false,
134
- linkWithSetting: {
135
- name: 'globalSize',
136
- field: 'height'
137
- },
138
- displayOptions: [
139
- {
140
- label: 'Fit content',
141
- value: 'Auto',
142
- showValue: true
143
- },
144
- {
145
- label: 'Full',
146
- value: '100%',
147
- showValue: true
148
- },
149
- {
150
- label: 'Default',
151
- value: 'default',
152
- showValue: true
153
- }
154
- ]
155
- },
156
- layout: 'horizontal'
157
- },
111
+ // {
112
+ // id: 'height',
113
+ // label: {
114
+ // en: 'Height',
115
+ // },
116
+ // controlConfig: {
117
+ // id: 'height',
118
+ // type: 'dropdown:input',
119
+ // label: 'Height',
120
+ // inputType: 'number',
121
+ // units: ['px', '%'],
122
+ // hideUnit: false,
123
+ // linkWithSetting: {
124
+ // name: 'globalSize',
125
+ // field: 'height',
126
+ // },
127
+ // displayOptions: [
128
+ // {
129
+ // label: 'Fit content',
130
+ // value: 'Auto',
131
+ // showValue: true,
132
+ // },
133
+ // {
134
+ // label: 'Full',
135
+ // value: '100%',
136
+ // showValue: true,
137
+ // },
138
+ // {
139
+ // label: 'Default',
140
+ // value: 'default',
141
+ // showValue: true,
142
+ // },
143
+ // ],
144
+ // },
145
+ // layout: 'horizontal',
146
+ // },
158
147
  {
159
148
  label: {
160
149
  en: 'Padding'
@@ -181,19 +170,19 @@ const SettingUIV2 = [
181
170
  }
182
171
  ]
183
172
  },
184
- {
185
- label: {
186
- en: 'Background'
187
- },
188
- controls: [
189
- {
190
- setting: {
191
- id: 'background'
192
- },
193
- layout: 'vertical'
194
- }
195
- ]
196
- },
173
+ // {
174
+ // label: {
175
+ // en: 'Background',
176
+ // },
177
+ // controls: [
178
+ // {
179
+ // setting: {
180
+ // id: 'background',
181
+ // },
182
+ // layout: 'vertical',
183
+ // },
184
+ // ],
185
+ // },
197
186
  // {
198
187
  // label: {
199
188
  // en: 'Shape',
@@ -68,7 +68,7 @@ const getLabelStyles = ({ type, styles, isHorizontal })=>{
68
68
  ...getStyleShadow({
69
69
  styleAppliedFor: 'text-shadow',
70
70
  value: styles?.typo?.custom?.textShadow,
71
- isEnableShadow: styles?.typo?.custom?.textShadow?.type !== 'none'
71
+ isEnableShadow: styles?.typo?.custom?.hasShadowText
72
72
  }),
73
73
  ...makeStyle({
74
74
  tt: styles?.transform,
@@ -341,8 +341,7 @@ const Settings = [
341
341
  type: 'color-picker-v2',
342
342
  label: 'Text Color',
343
343
  default: {
344
- normal: 'text-1',
345
- hover: 'transparent'
344
+ normal: 'text-1'
346
345
  },
347
346
  state: {
348
347
  hover: true,
@@ -386,7 +385,7 @@ const Settings = [
386
385
  },
387
386
  {
388
387
  id: 'boxShadowBtn',
389
- type: 'boxShadow',
388
+ type: 'shadow-v2',
390
389
  label: 'Shadow Style',
391
390
  hideOnState: {
392
391
  normal: true,
@@ -22,7 +22,7 @@ const getTextStyle = ({ setting, renderMaxHeight })=>{
22
22
  ...getStyleShadow({
23
23
  value: setting?.typo?.custom?.textShadow,
24
24
  styleAppliedFor: 'text-shadow',
25
- isEnableShadow: setting?.typo?.custom?.textShadow?.type !== 'none'
25
+ isEnableShadow: setting?.typo?.custom?.hasShadowText
26
26
  }),
27
27
  ...makeStyleResponsive('ta', setting?.textAlign),
28
28
  ...getGlobalColorStyle(setting?.color),
@@ -116,9 +116,16 @@ const getContainerStyles = ({ inputHeight, align })=>{
116
116
  };
117
117
  };
118
118
  const getWrapperStyles = ({ backgroundColor, styles })=>{
119
+ const shapeShadow = styles?.shapeShadow;
120
+ const styleShadow = getResponsiveStyleShadow(shapeShadow, 'box-shadow', {
121
+ desktop: shapeShadow?.desktop ?? {},
122
+ tablet: shapeShadow?.tablet ?? shapeShadow?.desktop ?? {},
123
+ mobile: shapeShadow?.mobile ?? shapeShadow?.tablet ?? shapeShadow?.desktop ?? {}
124
+ });
119
125
  return {
120
126
  ...getGlobalColorStateStyle('bg', backgroundColor),
121
- ...makeStyleResponsive('maxw', styles?.quantityWidth)
127
+ ...makeStyleResponsive('maxw', styles?.quantityWidth),
128
+ ...styleShadow
122
129
  };
123
130
  };
124
131
 
@@ -405,6 +405,31 @@ const ProductQuantitySettings = [
405
405
  }
406
406
  }
407
407
  },
408
+ {
409
+ id: 'shapeShadow',
410
+ type: 'shadow-v2',
411
+ devices: {
412
+ desktop: {
413
+ default: {
414
+ normal: {}
415
+ }
416
+ }
417
+ },
418
+ compoDefaultValue: {
419
+ desktop: {
420
+ default: {
421
+ normal: {
422
+ type: 'shadow-1',
423
+ distance: '4px',
424
+ blur: '4px',
425
+ spread: '0px',
426
+ color: '#121212',
427
+ angle: 90
428
+ }
429
+ }
430
+ }
431
+ }
432
+ },
408
433
  {
409
434
  id: 'buttonBoxShadow',
410
435
  type: 'shadow-v2',
@@ -519,52 +519,8 @@ const SettingUIV2 = [
519
519
  en: 'Shadow'
520
520
  },
521
521
  setting: {
522
- id: 'boxShadow',
522
+ id: 'shapeShadow',
523
523
  state: 'normal'
524
- },
525
- options: {
526
- updateFields: [
527
- {
528
- field: 'normal.enable',
529
- settingId: 'advanced.hasBoxShadow',
530
- state: 'normal'
531
- }
532
- ]
533
- },
534
- controlChangeTrigger: {
535
- settings: [
536
- {
537
- condition: `boxShadow.normal.enable === true`,
538
- source: [
539
- 'boxShadow',
540
- 'hasBoxShadow'
541
- ],
542
- action: {
543
- controlId: 'hasBoxShadow',
544
- groupType: 'advanced',
545
- controlType: 'advanced',
546
- state: 'normal',
547
- newValue: true
548
- }
549
- },
550
- {
551
- condition: `boxShadow.normal.enable === false`,
552
- source: [
553
- 'boxShadow',
554
- 'hasBoxShadow'
555
- ],
556
- action: {
557
- controlId: 'hasBoxShadow',
558
- groupType: 'advanced',
559
- controlType: 'advanced',
560
- state: 'normal',
561
- newValue: false
562
- }
563
- }
564
- ],
565
- options: {
566
- noRecordHistory: true
567
- }
568
524
  }
569
525
  }
570
526
  ]
@@ -59,7 +59,7 @@ const getTextStyles = (styles, isOutOfStock)=>{
59
59
  ...getStyleShadow({
60
60
  value: typo?.custom?.textShadow,
61
61
  styleAppliedFor: 'text-shadow',
62
- isEnableShadow: typo?.custom?.textShadow?.type !== 'none'
62
+ isEnableShadow: typo?.custom?.hasShadowText
63
63
  })
64
64
  };
65
65
  };
@@ -4041,6 +4041,7 @@ type ProductQuantityProps = BaseProps<{
4041
4041
  borderBtn?: ObjectDevices$1<StateProp<Border>>;
4042
4042
  iconSizeCustom?: ObjectDevices$1<number>;
4043
4043
  corner?: ObjectDevices$1<StateProp<CornerRadius>>;
4044
+ shapeShadow?: ObjectDevices$1<StateProp<ShadowProps$1>>;
4044
4045
  buttonBoxShadow?: ObjectDevices$1<StateProp<ShadowProps$1>>;
4045
4046
  inputBoxShadow?: ObjectDevices$1<StateProp<ShadowProps$1>>;
4046
4047
  backgroundColor?: StateProp<ColorValueType$1>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.417",
3
+ "version": "2.0.0-dev.419",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",