@gem-sdk/components 2.0.0-dev.716 → 2.0.0-dev.718

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 (49) hide show
  1. package/dist/cjs/button/components/common/styles.js +3 -3
  2. package/dist/cjs/button/setting/configs/settings.js +1 -37
  3. package/dist/cjs/button/setting/configs/uiV2.js +18 -18
  4. package/dist/cjs/code/common/classes.js +1 -1
  5. package/dist/cjs/coupon/common/styles.js +2 -2
  6. package/dist/cjs/coupon/setting/config/settings.js +1 -1
  7. package/dist/cjs/coupon/setting/config/uiV2.js +135 -3
  8. package/dist/cjs/form/setting/submit-button/configs/settings.js +1 -24
  9. package/dist/cjs/form/setting/submit-button/configs/uiV2.js +18 -18
  10. package/dist/cjs/form/setting/text-field/configs/uiV2.js +1 -1
  11. package/dist/cjs/product/components/DynamicCheckout/common/styles.js +4 -4
  12. package/dist/cjs/product/components/ProductButton/common/styles.js +1 -1
  13. package/dist/cjs/product/components/ProductImagesV2/components/feature-gallery/FeatureImageWithGallery.liquid.js +1 -1
  14. package/dist/cjs/product/setting/constant/bundle-layout/horizontalThree.js +17 -1
  15. package/dist/cjs/product/setting/constant/bundle-layout/horizontalTwo.js +17 -1
  16. package/dist/cjs/product/setting/constant/bundle-layout/verticalThree.js +17 -1
  17. package/dist/cjs/product/setting/constant/bundle-layout/verticalTwo.js +17 -1
  18. package/dist/cjs/product/setting/dynamic-checkout/configs/settings.js +0 -23
  19. package/dist/cjs/product/setting/dynamic-checkout/configs/uiV2.js +18 -18
  20. package/dist/cjs/product/setting/product-button/configs/settings.js +1 -24
  21. package/dist/cjs/product/setting/product-button/configs/uiV2.js +18 -18
  22. package/dist/cjs/product/setting/product-view-more/configs/settings.js +0 -23
  23. package/dist/cjs/product/setting/product-view-more/configs/uiV2.js +18 -18
  24. package/dist/cjs/text/setting/configs/settings.js +1 -0
  25. package/dist/esm/button/components/common/styles.js +3 -3
  26. package/dist/esm/button/setting/configs/settings.js +1 -37
  27. package/dist/esm/button/setting/configs/uiV2.js +18 -18
  28. package/dist/esm/code/common/classes.js +1 -1
  29. package/dist/esm/coupon/common/styles.js +2 -2
  30. package/dist/esm/coupon/setting/config/settings.js +1 -1
  31. package/dist/esm/coupon/setting/config/uiV2.js +135 -3
  32. package/dist/esm/form/setting/submit-button/configs/settings.js +1 -24
  33. package/dist/esm/form/setting/submit-button/configs/uiV2.js +18 -18
  34. package/dist/esm/form/setting/text-field/configs/uiV2.js +1 -1
  35. package/dist/esm/product/components/DynamicCheckout/common/styles.js +4 -4
  36. package/dist/esm/product/components/ProductButton/common/styles.js +1 -1
  37. package/dist/esm/product/components/ProductImagesV2/components/feature-gallery/FeatureImageWithGallery.liquid.js +1 -1
  38. package/dist/esm/product/setting/constant/bundle-layout/horizontalThree.js +17 -1
  39. package/dist/esm/product/setting/constant/bundle-layout/horizontalTwo.js +17 -1
  40. package/dist/esm/product/setting/constant/bundle-layout/verticalThree.js +17 -1
  41. package/dist/esm/product/setting/constant/bundle-layout/verticalTwo.js +17 -1
  42. package/dist/esm/product/setting/dynamic-checkout/configs/settings.js +0 -23
  43. package/dist/esm/product/setting/dynamic-checkout/configs/uiV2.js +18 -18
  44. package/dist/esm/product/setting/product-button/configs/settings.js +1 -24
  45. package/dist/esm/product/setting/product-button/configs/uiV2.js +18 -18
  46. package/dist/esm/product/setting/product-view-more/configs/settings.js +0 -23
  47. package/dist/esm/product/setting/product-view-more/configs/uiV2.js +18 -18
  48. package/dist/esm/text/setting/configs/settings.js +1 -0
  49. package/package.json +1 -1
@@ -289,10 +289,26 @@ const verticalTwo = [
289
289
  }
290
290
  },
291
291
  type: 'paragraph-1'
292
+ },
293
+ textSizeV2: {
294
+ desktop: {
295
+ width: 'Auto',
296
+ height: 'auto',
297
+ shapeLinked: false,
298
+ disableShapeLinked: true,
299
+ hiddenShape: true,
300
+ shape: 'custom',
301
+ padding: {
302
+ top: '12px',
303
+ bottom: '12px',
304
+ left: '12px',
305
+ right: '12px'
306
+ }
307
+ }
292
308
  }
293
309
  },
294
310
  tag: 'ProductBadge',
295
- uid: 'gHRinlrdow',
311
+ uid: 'gXAaVIfN3P',
296
312
  childrens: []
297
313
  },
298
314
  {
@@ -199,29 +199,6 @@ const DynamicCheckoutSettings = [
199
199
  },
200
200
  {
201
201
  id: 'boxShadowBtn',
202
- type: 'boxShadow',
203
- label: 'Shadow Style',
204
- hideOnState: {
205
- normal: true,
206
- hover: true
207
- },
208
- default: {
209
- normal: {
210
- type: 'shadow-1',
211
- distance: '4px',
212
- blur: '12px',
213
- spread: '0px',
214
- color: 'rgba(0, 0, 0, 0.20)',
215
- angle: 90
216
- }
217
- },
218
- state: {
219
- normal: true,
220
- hover: true
221
- }
222
- },
223
- {
224
- id: 'boxShadowBtnV2',
225
202
  type: 'shadow-v2',
226
203
  default: {
227
204
  normal: {}
@@ -179,7 +179,7 @@ const SettingUIV2 = [
179
179
  en: 'Shadow'
180
180
  },
181
181
  setting: {
182
- id: 'boxShadowBtnV2',
182
+ id: 'boxShadowBtn',
183
183
  state: 'normal'
184
184
  },
185
185
  options: {
@@ -194,29 +194,29 @@ const SettingUIV2 = [
194
194
  controlChangeTrigger: {
195
195
  settings: [
196
196
  {
197
- condition: `boxShadowBtnV2.normal.enable === true`,
197
+ condition: `boxShadowBtn.normal.enable === true`,
198
198
  source: [
199
- 'boxShadowBtnV2',
199
+ 'boxShadowBtn',
200
200
  'hasBoxShadowBtn'
201
201
  ],
202
202
  action: {
203
203
  controlId: 'hasBoxShadowBtn',
204
- groupType: 'advanced',
205
- controlType: 'advanced',
204
+ groupType: 'styles',
205
+ controlType: 'styles',
206
206
  state: 'normal',
207
207
  newValue: true
208
208
  }
209
209
  },
210
210
  {
211
- condition: `boxShadowBtnV2.normal.enable === false`,
211
+ condition: `boxShadowBtn.normal.enable === false`,
212
212
  source: [
213
- 'boxShadowBtnV2',
213
+ 'boxShadowBtn',
214
214
  'hasBoxShadowBtn'
215
215
  ],
216
216
  action: {
217
217
  controlId: 'hasBoxShadowBtn',
218
- groupType: 'advanced',
219
- controlType: 'advanced',
218
+ groupType: 'styles',
219
+ controlType: 'styles',
220
220
  state: 'normal',
221
221
  newValue: false
222
222
  }
@@ -373,7 +373,7 @@ const SettingUIV2 = [
373
373
  en: 'Shadow'
374
374
  },
375
375
  setting: {
376
- id: 'boxShadowBtnV2',
376
+ id: 'boxShadowBtn',
377
377
  state: 'hover'
378
378
  },
379
379
  options: {
@@ -388,29 +388,29 @@ const SettingUIV2 = [
388
388
  controlChangeTrigger: {
389
389
  settings: [
390
390
  {
391
- condition: `boxShadowBtnV2.hover.enable === true`,
391
+ condition: `boxShadowBtn.hover.enable === true`,
392
392
  source: [
393
- 'boxShadowBtnV2',
393
+ 'boxShadowBtn',
394
394
  'hasBoxShadowBtn'
395
395
  ],
396
396
  action: {
397
397
  controlId: 'hasBoxShadowBtn',
398
- groupType: 'advanced',
399
- controlType: 'advanced',
398
+ groupType: 'styles',
399
+ controlType: 'styles',
400
400
  state: 'hover',
401
401
  newValue: true
402
402
  }
403
403
  },
404
404
  {
405
- condition: `boxShadowBtnV2.hover.enable === false`,
405
+ condition: `boxShadowBtn.hover.enable === false`,
406
406
  source: [
407
- 'boxShadowBtnV2',
407
+ 'boxShadowBtn',
408
408
  'hasBoxShadowBtn'
409
409
  ],
410
410
  action: {
411
411
  controlId: 'hasBoxShadowBtn',
412
- groupType: 'advanced',
413
- controlType: 'advanced',
412
+ groupType: 'styles',
413
+ controlType: 'styles',
414
414
  state: 'hover',
415
415
  newValue: false
416
416
  }
@@ -378,29 +378,6 @@ const ProductButtonSettings = [
378
378
  hover: true
379
379
  }
380
380
  },
381
- {
382
- id: 'boxShadowBtn',
383
- type: 'boxShadow',
384
- label: 'Shadow Style',
385
- hideOnState: {
386
- normal: true,
387
- hover: true
388
- },
389
- default: {
390
- normal: {
391
- type: 'shadow-1',
392
- distance: '4px',
393
- blur: '12px',
394
- spread: '0px',
395
- color: 'rgba(0, 0, 0, 0.20)',
396
- angle: 90
397
- }
398
- },
399
- state: {
400
- normal: true,
401
- hover: true
402
- }
403
- },
404
381
  {
405
382
  id: 'roundedBtn',
406
383
  type: 'radius-preset',
@@ -431,7 +408,7 @@ const ProductButtonSettings = [
431
408
  enableGradient: true
432
409
  },
433
410
  {
434
- id: 'boxShadowBtnV2',
411
+ id: 'boxShadowBtn',
435
412
  type: 'shadow-v2',
436
413
  default: {
437
414
  normal: {}
@@ -448,7 +448,7 @@ const SettingUIV2 = [
448
448
  en: 'Shadow'
449
449
  },
450
450
  setting: {
451
- id: 'boxShadowBtnV2',
451
+ id: 'boxShadowBtn',
452
452
  state: 'normal'
453
453
  },
454
454
  options: {
@@ -463,29 +463,29 @@ const SettingUIV2 = [
463
463
  controlChangeTrigger: {
464
464
  settings: [
465
465
  {
466
- condition: `boxShadowBtnV2.normal.enable === true`,
466
+ condition: `boxShadowBtn.normal.enable === true`,
467
467
  source: [
468
- 'boxShadowBtnV2',
468
+ 'boxShadowBtn',
469
469
  'hasBoxShadowBtn'
470
470
  ],
471
471
  action: {
472
472
  controlId: 'hasBoxShadowBtn',
473
- groupType: 'advanced',
474
- controlType: 'advanced',
473
+ groupType: 'styles',
474
+ controlType: 'styles',
475
475
  state: 'normal',
476
476
  newValue: true
477
477
  }
478
478
  },
479
479
  {
480
- condition: `boxShadowBtnV2.normal.enable === false`,
480
+ condition: `boxShadowBtn.normal.enable === false`,
481
481
  source: [
482
- 'boxShadowBtnV2',
482
+ 'boxShadowBtn',
483
483
  'hasBoxShadowBtn'
484
484
  ],
485
485
  action: {
486
486
  controlId: 'hasBoxShadowBtn',
487
- groupType: 'advanced',
488
- controlType: 'advanced',
487
+ groupType: 'styles',
488
+ controlType: 'styles',
489
489
  state: 'normal',
490
490
  newValue: false
491
491
  }
@@ -724,7 +724,7 @@ const SettingUIV2 = [
724
724
  en: 'Shadow'
725
725
  },
726
726
  setting: {
727
- id: 'boxShadowBtnV2',
727
+ id: 'boxShadowBtn',
728
728
  state: 'hover'
729
729
  },
730
730
  options: {
@@ -739,29 +739,29 @@ const SettingUIV2 = [
739
739
  controlChangeTrigger: {
740
740
  settings: [
741
741
  {
742
- condition: `boxShadowBtnV2.hover.enable === true`,
742
+ condition: `boxShadowBtn.hover.enable === true`,
743
743
  source: [
744
- 'boxShadowBtnV2',
744
+ 'boxShadowBtn',
745
745
  'hasBoxShadowBtn'
746
746
  ],
747
747
  action: {
748
748
  controlId: 'hasBoxShadowBtn',
749
- groupType: 'advanced',
750
- controlType: 'advanced',
749
+ groupType: 'styles',
750
+ controlType: 'styles',
751
751
  state: 'hover',
752
752
  newValue: true
753
753
  }
754
754
  },
755
755
  {
756
- condition: `boxShadowBtnV2.hover.enable === false`,
756
+ condition: `boxShadowBtn.hover.enable === false`,
757
757
  source: [
758
- 'boxShadowBtnV2',
758
+ 'boxShadowBtn',
759
759
  'hasBoxShadowBtn'
760
760
  ],
761
761
  action: {
762
762
  controlId: 'hasBoxShadowBtn',
763
- groupType: 'advanced',
764
- controlType: 'advanced',
763
+ groupType: 'styles',
764
+ controlType: 'styles',
765
765
  state: 'hover',
766
766
  newValue: false
767
767
  }
@@ -217,29 +217,6 @@ const ProductViewMoreSettings = [
217
217
  },
218
218
  {
219
219
  id: 'boxShadowBtn',
220
- type: 'boxShadow',
221
- label: 'Button Shadow',
222
- hideOnState: {
223
- normal: true,
224
- hover: true
225
- },
226
- default: {
227
- normal: {
228
- type: 'shadow-1',
229
- distance: '4px',
230
- blur: '12px',
231
- spread: '0px',
232
- color: 'rgba(0, 0, 0, 0.20)',
233
- angle: 90
234
- }
235
- },
236
- state: {
237
- normal: true,
238
- hover: true
239
- }
240
- },
241
- {
242
- id: 'boxShadowBtnV2',
243
220
  type: 'shadow-v2',
244
221
  default: {
245
222
  normal: {}
@@ -149,7 +149,7 @@ const SettingUIV2 = [
149
149
  en: 'Shadow'
150
150
  },
151
151
  setting: {
152
- id: 'boxShadowBtnV2',
152
+ id: 'boxShadowBtn',
153
153
  state: 'normal'
154
154
  },
155
155
  options: {
@@ -164,29 +164,29 @@ const SettingUIV2 = [
164
164
  controlChangeTrigger: {
165
165
  settings: [
166
166
  {
167
- condition: `boxShadowBtnV2.normal.enable === true`,
167
+ condition: `boxShadowBtn.normal.enable === true`,
168
168
  source: [
169
- 'boxShadowBtnV2',
169
+ 'boxShadowBtn',
170
170
  'hasBoxShadowBtn'
171
171
  ],
172
172
  action: {
173
173
  controlId: 'hasBoxShadowBtn',
174
- groupType: 'advanced',
175
- controlType: 'advanced',
174
+ groupType: 'styles',
175
+ controlType: 'styles',
176
176
  state: 'normal',
177
177
  newValue: true
178
178
  }
179
179
  },
180
180
  {
181
- condition: `boxShadowBtnV2.normal.enable === false`,
181
+ condition: `boxShadowBtn.normal.enable === false`,
182
182
  source: [
183
- 'boxShadowBtnV2',
183
+ 'boxShadowBtn',
184
184
  'hasBoxShadowBtn'
185
185
  ],
186
186
  action: {
187
187
  controlId: 'hasBoxShadowBtn',
188
- groupType: 'advanced',
189
- controlType: 'advanced',
188
+ groupType: 'styles',
189
+ controlType: 'styles',
190
190
  state: 'normal',
191
191
  newValue: false
192
192
  }
@@ -376,7 +376,7 @@ const SettingUIV2 = [
376
376
  en: 'Shadow'
377
377
  },
378
378
  setting: {
379
- id: 'boxShadowBtnV2',
379
+ id: 'boxShadowBtn',
380
380
  state: 'hover'
381
381
  },
382
382
  options: {
@@ -391,29 +391,29 @@ const SettingUIV2 = [
391
391
  controlChangeTrigger: {
392
392
  settings: [
393
393
  {
394
- condition: `boxShadowBtnV2.hover.enable === true`,
394
+ condition: `boxShadowBtn.hover.enable === true`,
395
395
  source: [
396
- 'boxShadowBtnV2',
396
+ 'boxShadowBtn',
397
397
  'hasBoxShadowBtn'
398
398
  ],
399
399
  action: {
400
400
  controlId: 'hasBoxShadowBtn',
401
- groupType: 'advanced',
402
- controlType: 'advanced',
401
+ groupType: 'styles',
402
+ controlType: 'styles',
403
403
  state: 'hover',
404
404
  newValue: true
405
405
  }
406
406
  },
407
407
  {
408
- condition: `boxShadowBtnV2.normal.enable === false`,
408
+ condition: `boxShadowBtn.normal.enable === false`,
409
409
  source: [
410
- 'boxShadowBtnV2',
410
+ 'boxShadowBtn',
411
411
  'hasBoxShadowBtn'
412
412
  ],
413
413
  action: {
414
414
  controlId: 'hasBoxShadowBtn',
415
- groupType: 'advanced',
416
- controlType: 'advanced',
415
+ groupType: 'styles',
416
+ controlType: 'styles',
417
417
  state: 'normal',
418
418
  newValue: false
419
419
  }
@@ -170,6 +170,7 @@ const TextSettings = [
170
170
  type: 'paragraph-1',
171
171
  attrs: {
172
172
  color: 'text-1',
173
+ transform: 'none',
173
174
  isAlwaysLoadBold: false
174
175
  }
175
176
  },
@@ -38,10 +38,10 @@ const ignoreStateNoneValue = (obj, condition)=>{
38
38
  }, {});
39
39
  };
40
40
  const getShadowStyles = (styles1)=>{
41
- const { boxShadowBtnV2: boxShadowBtnV21 } = styles1 || {};
42
- const ignoreNoneValueObjectShadow1 = ignoreStateNoneValue(boxShadowBtnV21 || {}, 'value?.enable !== false');
41
+ const { boxShadowBtn: boxShadowBtn1 } = styles1 || {};
42
+ const ignoreNoneValueObjectShadow1 = ignoreStateNoneValue(boxShadowBtn1 || {}, 'value?.enable !== false');
43
43
  return {
44
- ...getStyleShadowState(ignoreNoneValueObjectShadow1, 'box-shadow', isEnableShadowStateForDevice(boxShadowBtnV21))
44
+ ...getStyleShadowState(ignoreNoneValueObjectShadow1, 'box-shadow', isEnableShadowStateForDevice(boxShadowBtn1))
45
45
  };
46
46
  };
47
47
  const getRadiusStyles = (styles1)=>{
@@ -108,19 +108,6 @@ const ButtonSettings = [
108
108
  {
109
109
  id: 'style',
110
110
  controls: [
111
- {
112
- id: 'hasBoxShadowBtn',
113
- type: 'toggle',
114
- label: 'Enable Button Shadow',
115
- default: {
116
- normal: false,
117
- hover: false
118
- },
119
- state: {
120
- normal: true,
121
- hover: true
122
- }
123
- },
124
111
  {
125
112
  id: 'borderBtnV2',
126
113
  type: 'border-v2',
@@ -211,29 +198,6 @@ const ButtonSettings = [
211
198
  normal: true
212
199
  }
213
200
  },
214
- {
215
- id: 'boxShadowBtn',
216
- type: 'boxShadow',
217
- label: 'Button Shadow',
218
- hideOnState: {
219
- normal: true,
220
- hover: true
221
- },
222
- default: {
223
- normal: {
224
- type: 'shadow-1',
225
- distance: '4px',
226
- blur: '12px',
227
- spread: '0px',
228
- color: 'rgba(0, 0, 0, 0.20)',
229
- angle: 90
230
- }
231
- },
232
- state: {
233
- normal: true,
234
- hover: true
235
- }
236
- },
237
201
  {
238
202
  id: 'hasBoxShadowBtn',
239
203
  type: 'toggle',
@@ -248,7 +212,7 @@ const ButtonSettings = [
248
212
  }
249
213
  },
250
214
  {
251
- id: 'boxShadowBtnV2',
215
+ id: 'boxShadowBtn',
252
216
  type: 'shadow-v2',
253
217
  default: {
254
218
  normal: {}
@@ -149,7 +149,7 @@ const SettingUIV2 = [
149
149
  en: 'Shadow'
150
150
  },
151
151
  setting: {
152
- id: 'boxShadowBtnV2',
152
+ id: 'boxShadowBtn',
153
153
  state: 'normal'
154
154
  },
155
155
  options: {
@@ -164,29 +164,29 @@ const SettingUIV2 = [
164
164
  controlChangeTrigger: {
165
165
  settings: [
166
166
  {
167
- condition: `boxShadowBtnV2.normal.enable === true`,
167
+ condition: `boxShadowBtn.normal.enable === true`,
168
168
  source: [
169
- 'boxShadowBtnV2',
169
+ 'boxShadowBtn',
170
170
  'hasBoxShadowBtn'
171
171
  ],
172
172
  action: {
173
173
  controlId: 'hasBoxShadowBtn',
174
- groupType: 'advanced',
175
- controlType: 'advanced',
174
+ groupType: 'styles',
175
+ controlType: 'styles',
176
176
  state: 'normal',
177
177
  newValue: true
178
178
  }
179
179
  },
180
180
  {
181
- condition: `boxShadowBtnV2.normal.enable === false`,
181
+ condition: `boxShadowBtn.normal.enable === false`,
182
182
  source: [
183
- 'boxShadowBtnV2',
183
+ 'boxShadowBtn',
184
184
  'hasBoxShadowBtn'
185
185
  ],
186
186
  action: {
187
187
  controlId: 'hasBoxShadowBtn',
188
- groupType: 'advanced',
189
- controlType: 'advanced',
188
+ groupType: 'styles',
189
+ controlType: 'styles',
190
190
  state: 'normal',
191
191
  newValue: false
192
192
  }
@@ -376,7 +376,7 @@ const SettingUIV2 = [
376
376
  en: 'Shadow'
377
377
  },
378
378
  setting: {
379
- id: 'boxShadowBtnV2',
379
+ id: 'boxShadowBtn',
380
380
  state: 'hover'
381
381
  },
382
382
  options: {
@@ -391,29 +391,29 @@ const SettingUIV2 = [
391
391
  controlChangeTrigger: {
392
392
  settings: [
393
393
  {
394
- condition: `boxShadowBtnV2.hover.enable === true`,
394
+ condition: `boxShadowBtn.hover.enable === true`,
395
395
  source: [
396
- 'boxShadowBtnV2',
396
+ 'boxShadowBtn',
397
397
  'hasBoxShadowBtn'
398
398
  ],
399
399
  action: {
400
400
  controlId: 'hasBoxShadowBtn',
401
- groupType: 'advanced',
402
- controlType: 'advanced',
401
+ groupType: 'styles',
402
+ controlType: 'styles',
403
403
  state: 'hover',
404
404
  newValue: true
405
405
  }
406
406
  },
407
407
  {
408
- condition: `boxShadowBtnV2.hover.enable === false`,
408
+ condition: `boxShadowBtn.hover.enable === false`,
409
409
  source: [
410
- 'boxShadowBtnV2',
410
+ 'boxShadowBtn',
411
411
  'hasBoxShadowBtn'
412
412
  ],
413
413
  action: {
414
414
  controlId: 'hasBoxShadowBtn',
415
- groupType: 'advanced',
416
- controlType: 'advanced',
415
+ groupType: 'styles',
416
+ controlType: 'styles',
417
417
  state: 'hover',
418
418
  newValue: false
419
419
  }
@@ -3,7 +3,7 @@ import { composeClasses, cls } from '@gem-sdk/core';
3
3
  const getCodeClasses = (uid, condition, cssClass)=>{
4
4
  return composeClasses(cls(uid, {
5
5
  'gp-sr-only': condition
6
- }, 'gp-cursor-pointer', cssClass));
6
+ }, 'gp-cursor-pointer', 'gp-custom-code', cssClass));
7
7
  };
8
8
 
9
9
  export { getCodeClasses };
@@ -16,7 +16,7 @@ const getInnerBorderCornerCss = (data)=>{
16
16
  const { uid, styles } = data;
17
17
  const borderBtnV2 = styles?.borderBtnV2;
18
18
  const roundedBtnV2 = styles?.roundedBtnV2;
19
- const boxShadowBtnV2 = styles?.boxShadowBtnV2;
19
+ const boxShadowBtn = styles?.boxShadowBtn;
20
20
  const getShadowValue = (value)=>value ? getStyleShadow({
21
21
  value,
22
22
  state: 'active',
@@ -38,7 +38,7 @@ const getInnerBorderCornerCss = (data)=>{
38
38
  important: true
39
39
  })};
40
40
  ${composeCornerCss(roundedBtnV2?.active, true)};
41
- box-shadow: ${getShadowValue(boxShadowBtnV2?.active ?? {})} !important;
41
+ box-shadow: ${getShadowValue(boxShadowBtn?.active ?? {})} !important;
42
42
  }
43
43
  .gp-coupon[data-active="true"] .${uid} {
44
44
  ${composeCornerCss(roundedBtnV2?.active, true)};
@@ -466,7 +466,7 @@ const CouponSettings = [
466
466
  }
467
467
  },
468
468
  {
469
- id: 'boxShadowBtnV2',
469
+ id: 'boxShadowBtn',
470
470
  type: 'shadow-v2',
471
471
  default: {
472
472
  normal: {}