@gem-sdk/components 2.0.0-dev.703 → 2.0.0-dev.704
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.
- package/dist/cjs/article/setting/configs/ArticleReadMore/settings.js +86 -134
- package/dist/cjs/button/components/common/helpers.js +2 -9
- package/dist/cjs/button/components/common/styles.js +14 -81
- package/dist/cjs/button/setting/configs/settings.js +85 -133
- package/dist/cjs/coupon/common/classes.js +3 -12
- package/dist/cjs/coupon/common/styles.js +7 -17
- package/dist/cjs/coupon/setting/config/settings.js +60 -100
- package/dist/cjs/form/setting/submit-button/configs/settings.js +103 -250
- package/dist/cjs/product/components/DynamicCheckout/common/styles.js +12 -12
- package/dist/cjs/product/components/ProductButton/common/styles.js +4 -14
- package/dist/cjs/product/components/ProductImagesV2/common/common.js +1 -1
- package/dist/cjs/product/setting/dynamic-checkout/configs/settings.js +86 -134
- package/dist/cjs/product/setting/product-button/configs/settings.js +142 -222
- package/dist/cjs/product/setting/product-view-more/configs/settings.js +100 -148
- package/dist/cjs/third-party/setting/Selleasy/index.js +5 -5
- package/dist/esm/article/setting/configs/ArticleReadMore/settings.js +86 -134
- package/dist/esm/button/components/common/helpers.js +2 -9
- package/dist/esm/button/components/common/styles.js +16 -81
- package/dist/esm/button/setting/configs/settings.js +85 -133
- package/dist/esm/coupon/common/classes.js +3 -12
- package/dist/esm/coupon/common/styles.js +7 -17
- package/dist/esm/coupon/setting/config/settings.js +60 -100
- package/dist/esm/form/setting/submit-button/configs/settings.js +103 -250
- package/dist/esm/product/components/DynamicCheckout/common/styles.js +12 -12
- package/dist/esm/product/components/ProductButton/common/styles.js +4 -14
- package/dist/esm/product/components/ProductImagesV2/common/common.js +1 -1
- package/dist/esm/product/setting/dynamic-checkout/configs/settings.js +86 -134
- package/dist/esm/product/setting/product-button/configs/settings.js +142 -222
- package/dist/esm/product/setting/product-view-more/configs/settings.js +100 -148
- package/dist/esm/third-party/setting/Selleasy/index.js +5 -5
- package/dist/types/index.d.ts +23 -23
- package/package.json +2 -2
|
@@ -93,44 +93,36 @@ const ProductViewMoreSettings = [
|
|
|
93
93
|
{
|
|
94
94
|
id: 'borderBtnV2',
|
|
95
95
|
type: 'border-v2',
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
color: '#121212',
|
|
113
|
-
isCustom: true
|
|
114
|
-
}
|
|
115
|
-
}
|
|
96
|
+
default: {
|
|
97
|
+
normal: {
|
|
98
|
+
borderType: 'none',
|
|
99
|
+
border: 'none',
|
|
100
|
+
borderWidth: '1px',
|
|
101
|
+
width: '1px 1px 1px 1px',
|
|
102
|
+
color: '#121212',
|
|
103
|
+
isCustom: true
|
|
104
|
+
},
|
|
105
|
+
hover: {
|
|
106
|
+
borderType: 'none',
|
|
107
|
+
border: 'none',
|
|
108
|
+
borderWidth: '1px',
|
|
109
|
+
width: '1px 1px 1px 1px',
|
|
110
|
+
color: '#121212',
|
|
111
|
+
isCustom: true
|
|
116
112
|
}
|
|
117
113
|
},
|
|
118
114
|
compoDefaultValue: {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
width: '1px',
|
|
131
|
-
borderWidth: '1px'
|
|
132
|
-
}
|
|
133
|
-
}
|
|
115
|
+
normal: {
|
|
116
|
+
border: 'solid',
|
|
117
|
+
color: '#121212',
|
|
118
|
+
width: '1px',
|
|
119
|
+
borderWidth: '1px'
|
|
120
|
+
},
|
|
121
|
+
hover: {
|
|
122
|
+
border: 'solid',
|
|
123
|
+
color: '#121212',
|
|
124
|
+
width: '1px',
|
|
125
|
+
borderWidth: '1px'
|
|
134
126
|
}
|
|
135
127
|
}
|
|
136
128
|
},
|
|
@@ -150,66 +142,50 @@ const ProductViewMoreSettings = [
|
|
|
150
142
|
{
|
|
151
143
|
id: 'backgroundColorV2',
|
|
152
144
|
type: 'color-picker-v2',
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
normal: 'brand',
|
|
157
|
-
hover: 'highlight'
|
|
158
|
-
}
|
|
159
|
-
}
|
|
145
|
+
default: {
|
|
146
|
+
normal: 'brand',
|
|
147
|
+
hover: 'highlight'
|
|
160
148
|
},
|
|
161
149
|
compoDefaultValue: {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
normal: 'brand',
|
|
165
|
-
hover: 'highlight'
|
|
166
|
-
}
|
|
167
|
-
}
|
|
150
|
+
normal: 'brand',
|
|
151
|
+
hover: 'highlight'
|
|
168
152
|
},
|
|
169
153
|
enableGradient: true
|
|
170
154
|
},
|
|
171
155
|
{
|
|
172
156
|
id: 'backgroundImage',
|
|
173
157
|
type: 'background-image',
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
normal: {},
|
|
178
|
-
hover: {}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
158
|
+
default: {
|
|
159
|
+
normal: {},
|
|
160
|
+
hover: {}
|
|
181
161
|
},
|
|
182
162
|
compoDefaultValue: {
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
width: 1200,
|
|
210
|
-
height: 480
|
|
211
|
-
}
|
|
212
|
-
}
|
|
163
|
+
normal: {
|
|
164
|
+
size: 'cover',
|
|
165
|
+
position: {
|
|
166
|
+
x: 50,
|
|
167
|
+
y: 50
|
|
168
|
+
},
|
|
169
|
+
repeat: 'no-repeat',
|
|
170
|
+
attachment: 'scroll',
|
|
171
|
+
image: {
|
|
172
|
+
src: 'https://ucarecdn.com/06075225-af9e-460c-8e3c-6be63c0b773a/-/format/auto/',
|
|
173
|
+
width: 1200,
|
|
174
|
+
height: 480
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
hover: {
|
|
178
|
+
size: 'cover',
|
|
179
|
+
position: {
|
|
180
|
+
x: 50,
|
|
181
|
+
y: 50
|
|
182
|
+
},
|
|
183
|
+
repeat: 'no-repeat',
|
|
184
|
+
attachment: 'scroll',
|
|
185
|
+
image: {
|
|
186
|
+
src: 'https://ucarecdn.com/06075225-af9e-460c-8e3c-6be63c0b773a/-/format/auto/',
|
|
187
|
+
width: 1200,
|
|
188
|
+
height: 480
|
|
213
189
|
}
|
|
214
190
|
}
|
|
215
191
|
}
|
|
@@ -265,25 +241,17 @@ const ProductViewMoreSettings = [
|
|
|
265
241
|
{
|
|
266
242
|
id: 'boxShadowBtnV2',
|
|
267
243
|
type: 'shadow-v2',
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
default: {
|
|
271
|
-
normal: {}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
244
|
+
default: {
|
|
245
|
+
normal: {}
|
|
274
246
|
},
|
|
275
247
|
compoDefaultValue: {
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
color: 'rgba(18, 18, 18, 0.2)',
|
|
284
|
-
angle: 45
|
|
285
|
-
}
|
|
286
|
-
}
|
|
248
|
+
normal: {
|
|
249
|
+
type: 'shadow-2',
|
|
250
|
+
distance: '12px',
|
|
251
|
+
blur: '12px',
|
|
252
|
+
spread: '0px',
|
|
253
|
+
color: 'rgba(18, 18, 18, 0.2)',
|
|
254
|
+
angle: 45
|
|
287
255
|
}
|
|
288
256
|
}
|
|
289
257
|
},
|
|
@@ -304,63 +272,47 @@ const ProductViewMoreSettings = [
|
|
|
304
272
|
{
|
|
305
273
|
id: 'roundedBtnV2',
|
|
306
274
|
type: 'corner-v2',
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
btlr: '0px',
|
|
322
|
-
radiusType: 'none'
|
|
323
|
-
}
|
|
324
|
-
}
|
|
275
|
+
default: {
|
|
276
|
+
normal: {
|
|
277
|
+
btrr: '0px',
|
|
278
|
+
bblr: '0px',
|
|
279
|
+
bbrr: '0px',
|
|
280
|
+
btlr: '0px',
|
|
281
|
+
radiusType: 'none'
|
|
282
|
+
},
|
|
283
|
+
hover: {
|
|
284
|
+
btrr: '0px',
|
|
285
|
+
bblr: '0px',
|
|
286
|
+
bbrr: '0px',
|
|
287
|
+
btlr: '0px',
|
|
288
|
+
radiusType: 'none'
|
|
325
289
|
}
|
|
326
290
|
},
|
|
327
291
|
compoDefaultValue: {
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
btlr: '8px',
|
|
342
|
-
radiusType: 'rounded'
|
|
343
|
-
}
|
|
344
|
-
}
|
|
292
|
+
normal: {
|
|
293
|
+
btrr: '8px',
|
|
294
|
+
bblr: '8px',
|
|
295
|
+
bbrr: '8px',
|
|
296
|
+
btlr: '8px',
|
|
297
|
+
radiusType: 'rounded'
|
|
298
|
+
},
|
|
299
|
+
hover: {
|
|
300
|
+
btrr: '8px',
|
|
301
|
+
bblr: '8px',
|
|
302
|
+
bbrr: '8px',
|
|
303
|
+
btlr: '8px',
|
|
304
|
+
radiusType: 'rounded'
|
|
345
305
|
}
|
|
346
306
|
}
|
|
347
307
|
},
|
|
348
308
|
{
|
|
349
309
|
id: 'textColorHover',
|
|
350
310
|
type: 'color-picker-v2',
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
default: {
|
|
354
|
-
hover: 'text-3'
|
|
355
|
-
}
|
|
356
|
-
}
|
|
311
|
+
default: {
|
|
312
|
+
hover: 'text-3'
|
|
357
313
|
},
|
|
358
314
|
compoDefaultValue: {
|
|
359
|
-
|
|
360
|
-
default: {
|
|
361
|
-
hover: 'text-3'
|
|
362
|
-
}
|
|
363
|
-
}
|
|
315
|
+
hover: 'text-3'
|
|
364
316
|
}
|
|
365
317
|
},
|
|
366
318
|
{
|
|
@@ -56,17 +56,17 @@ const config = {
|
|
|
56
56
|
type: 'select',
|
|
57
57
|
options: [
|
|
58
58
|
{
|
|
59
|
-
label: '
|
|
60
|
-
value: 'lb-upsell-
|
|
59
|
+
label: 'FBT List',
|
|
60
|
+
value: 'lb-upsell-widget-bl',
|
|
61
61
|
maxOption: 1
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
|
-
label: '
|
|
65
|
-
value: 'lb-upsell-
|
|
64
|
+
label: 'Add-ons List',
|
|
65
|
+
value: 'lb-upsell-widget-pal',
|
|
66
66
|
maxOption: 1
|
|
67
67
|
}
|
|
68
68
|
],
|
|
69
|
-
default: 'lb-upsell-
|
|
69
|
+
default: 'lb-upsell-widget-bl'
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
id: 'install',
|
|
@@ -265,65 +265,49 @@ const ArticleReadMoreSettings = [
|
|
|
265
265
|
{
|
|
266
266
|
id: 'borderBtnV2',
|
|
267
267
|
type: 'border-v2',
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
color: '#121212',
|
|
285
|
-
isCustom: true
|
|
286
|
-
}
|
|
287
|
-
}
|
|
268
|
+
default: {
|
|
269
|
+
normal: {
|
|
270
|
+
borderType: 'none',
|
|
271
|
+
border: 'none',
|
|
272
|
+
borderWidth: '1px',
|
|
273
|
+
width: '1px 1px 1px 1px',
|
|
274
|
+
color: '#121212',
|
|
275
|
+
isCustom: true
|
|
276
|
+
},
|
|
277
|
+
hover: {
|
|
278
|
+
borderType: 'none',
|
|
279
|
+
border: 'none',
|
|
280
|
+
borderWidth: '1px',
|
|
281
|
+
width: '1px 1px 1px 1px',
|
|
282
|
+
color: '#121212',
|
|
283
|
+
isCustom: true
|
|
288
284
|
}
|
|
289
285
|
},
|
|
290
286
|
compoDefaultValue: {
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
width: '1px',
|
|
303
|
-
borderWidth: '1px'
|
|
304
|
-
}
|
|
305
|
-
}
|
|
287
|
+
normal: {
|
|
288
|
+
border: 'solid',
|
|
289
|
+
color: '#121212',
|
|
290
|
+
width: '1px',
|
|
291
|
+
borderWidth: '1px'
|
|
292
|
+
},
|
|
293
|
+
hover: {
|
|
294
|
+
border: 'solid',
|
|
295
|
+
color: '#121212',
|
|
296
|
+
width: '1px',
|
|
297
|
+
borderWidth: '1px'
|
|
306
298
|
}
|
|
307
299
|
}
|
|
308
300
|
},
|
|
309
301
|
{
|
|
310
302
|
id: 'backgroundColorV2',
|
|
311
303
|
type: 'color-picker-v2',
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
normal: 'brand',
|
|
316
|
-
hover: 'highlight'
|
|
317
|
-
}
|
|
318
|
-
}
|
|
304
|
+
default: {
|
|
305
|
+
normal: 'brand',
|
|
306
|
+
hover: 'highlight'
|
|
319
307
|
},
|
|
320
308
|
compoDefaultValue: {
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
normal: 'brand',
|
|
324
|
-
hover: 'highlight'
|
|
325
|
-
}
|
|
326
|
-
}
|
|
309
|
+
normal: 'brand',
|
|
310
|
+
hover: 'highlight'
|
|
327
311
|
}
|
|
328
312
|
},
|
|
329
313
|
{
|
|
@@ -342,31 +326,23 @@ const ArticleReadMoreSettings = [
|
|
|
342
326
|
{
|
|
343
327
|
id: 'backgroundImage',
|
|
344
328
|
type: 'background-image',
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
normal: {},
|
|
349
|
-
hover: {}
|
|
350
|
-
}
|
|
351
|
-
}
|
|
329
|
+
default: {
|
|
330
|
+
normal: {},
|
|
331
|
+
hover: {}
|
|
352
332
|
},
|
|
353
333
|
compoDefaultValue: {
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
width: 1200,
|
|
367
|
-
height: 480
|
|
368
|
-
}
|
|
369
|
-
}
|
|
334
|
+
normal: {
|
|
335
|
+
image: {
|
|
336
|
+
src: 'https://ucarecdn.com/06075225-af9e-460c-8e3c-6be63c0b773a/-/format/auto/',
|
|
337
|
+
width: 1200,
|
|
338
|
+
height: 480
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
hover: {
|
|
342
|
+
image: {
|
|
343
|
+
src: 'https://ucarecdn.com/06075225-af9e-460c-8e3c-6be63c0b773a/-/format/auto/',
|
|
344
|
+
width: 1200,
|
|
345
|
+
height: 480
|
|
370
346
|
}
|
|
371
347
|
}
|
|
372
348
|
}
|
|
@@ -387,19 +363,11 @@ const ArticleReadMoreSettings = [
|
|
|
387
363
|
{
|
|
388
364
|
id: 'textColorHover',
|
|
389
365
|
type: 'color-picker-v2',
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
default: {
|
|
393
|
-
hover: 'text-3'
|
|
394
|
-
}
|
|
395
|
-
}
|
|
366
|
+
default: {
|
|
367
|
+
hover: 'text-3'
|
|
396
368
|
},
|
|
397
369
|
compoDefaultValue: {
|
|
398
|
-
|
|
399
|
-
default: {
|
|
400
|
-
hover: 'text-3'
|
|
401
|
-
}
|
|
402
|
-
}
|
|
370
|
+
hover: 'text-3'
|
|
403
371
|
},
|
|
404
372
|
enableGradient: true
|
|
405
373
|
},
|
|
@@ -420,69 +388,53 @@ const ArticleReadMoreSettings = [
|
|
|
420
388
|
{
|
|
421
389
|
id: 'roundedBtnV2',
|
|
422
390
|
type: 'corner-v2',
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
btlr: '0px',
|
|
438
|
-
radiusType: 'none'
|
|
439
|
-
}
|
|
440
|
-
}
|
|
391
|
+
default: {
|
|
392
|
+
normal: {
|
|
393
|
+
btrr: '0px',
|
|
394
|
+
bblr: '0px',
|
|
395
|
+
bbrr: '0px',
|
|
396
|
+
btlr: '0px',
|
|
397
|
+
radiusType: 'none'
|
|
398
|
+
},
|
|
399
|
+
hover: {
|
|
400
|
+
btrr: '0px',
|
|
401
|
+
bblr: '0px',
|
|
402
|
+
bbrr: '0px',
|
|
403
|
+
btlr: '0px',
|
|
404
|
+
radiusType: 'none'
|
|
441
405
|
}
|
|
442
406
|
},
|
|
443
407
|
compoDefaultValue: {
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
btlr: '8px',
|
|
458
|
-
radiusType: 'rounded'
|
|
459
|
-
}
|
|
460
|
-
}
|
|
408
|
+
normal: {
|
|
409
|
+
btrr: '8px',
|
|
410
|
+
bblr: '8px',
|
|
411
|
+
bbrr: '8px',
|
|
412
|
+
btlr: '8px',
|
|
413
|
+
radiusType: 'rounded'
|
|
414
|
+
},
|
|
415
|
+
hover: {
|
|
416
|
+
btrr: '8px',
|
|
417
|
+
bblr: '8px',
|
|
418
|
+
bbrr: '8px',
|
|
419
|
+
btlr: '8px',
|
|
420
|
+
radiusType: 'rounded'
|
|
461
421
|
}
|
|
462
422
|
}
|
|
463
423
|
},
|
|
464
424
|
{
|
|
465
425
|
id: 'boxShadowBtnV2',
|
|
466
426
|
type: 'shadow-v2',
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
default: {
|
|
470
|
-
normal: {}
|
|
471
|
-
}
|
|
472
|
-
}
|
|
427
|
+
default: {
|
|
428
|
+
normal: {}
|
|
473
429
|
},
|
|
474
430
|
compoDefaultValue: {
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
color: 'rgba(18, 18, 18, 0.2)',
|
|
483
|
-
angle: 45
|
|
484
|
-
}
|
|
485
|
-
}
|
|
431
|
+
normal: {
|
|
432
|
+
type: 'shadow-2',
|
|
433
|
+
distance: '12px',
|
|
434
|
+
blur: '12px',
|
|
435
|
+
spread: '0px',
|
|
436
|
+
color: 'rgba(18, 18, 18, 0.2)',
|
|
437
|
+
angle: 45
|
|
486
438
|
}
|
|
487
439
|
}
|
|
488
440
|
}
|
|
@@ -12,15 +12,8 @@ const getCleanedStyles = (styles, disabled)=>{
|
|
|
12
12
|
'hover',
|
|
13
13
|
'focus'
|
|
14
14
|
];
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
'mobile',
|
|
18
|
-
'desktop'
|
|
19
|
-
];
|
|
20
|
-
devices.forEach((device)=>{
|
|
21
|
-
states.forEach((state)=>{
|
|
22
|
-
delete cleanedStyles?.backgroundColorV2?.[device]?.[state];
|
|
23
|
-
});
|
|
15
|
+
states.forEach((state)=>{
|
|
16
|
+
delete cleanedStyles?.backgroundColorV2?.[state];
|
|
24
17
|
});
|
|
25
18
|
return cleanedStyles;
|
|
26
19
|
};
|