@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.
Files changed (32) hide show
  1. package/dist/cjs/article/setting/configs/ArticleReadMore/settings.js +86 -134
  2. package/dist/cjs/button/components/common/helpers.js +2 -9
  3. package/dist/cjs/button/components/common/styles.js +14 -81
  4. package/dist/cjs/button/setting/configs/settings.js +85 -133
  5. package/dist/cjs/coupon/common/classes.js +3 -12
  6. package/dist/cjs/coupon/common/styles.js +7 -17
  7. package/dist/cjs/coupon/setting/config/settings.js +60 -100
  8. package/dist/cjs/form/setting/submit-button/configs/settings.js +103 -250
  9. package/dist/cjs/product/components/DynamicCheckout/common/styles.js +12 -12
  10. package/dist/cjs/product/components/ProductButton/common/styles.js +4 -14
  11. package/dist/cjs/product/components/ProductImagesV2/common/common.js +1 -1
  12. package/dist/cjs/product/setting/dynamic-checkout/configs/settings.js +86 -134
  13. package/dist/cjs/product/setting/product-button/configs/settings.js +142 -222
  14. package/dist/cjs/product/setting/product-view-more/configs/settings.js +100 -148
  15. package/dist/cjs/third-party/setting/Selleasy/index.js +5 -5
  16. package/dist/esm/article/setting/configs/ArticleReadMore/settings.js +86 -134
  17. package/dist/esm/button/components/common/helpers.js +2 -9
  18. package/dist/esm/button/components/common/styles.js +16 -81
  19. package/dist/esm/button/setting/configs/settings.js +85 -133
  20. package/dist/esm/coupon/common/classes.js +3 -12
  21. package/dist/esm/coupon/common/styles.js +7 -17
  22. package/dist/esm/coupon/setting/config/settings.js +60 -100
  23. package/dist/esm/form/setting/submit-button/configs/settings.js +103 -250
  24. package/dist/esm/product/components/DynamicCheckout/common/styles.js +12 -12
  25. package/dist/esm/product/components/ProductButton/common/styles.js +4 -14
  26. package/dist/esm/product/components/ProductImagesV2/common/common.js +1 -1
  27. package/dist/esm/product/setting/dynamic-checkout/configs/settings.js +86 -134
  28. package/dist/esm/product/setting/product-button/configs/settings.js +142 -222
  29. package/dist/esm/product/setting/product-view-more/configs/settings.js +100 -148
  30. package/dist/esm/third-party/setting/Selleasy/index.js +5 -5
  31. package/dist/types/index.d.ts +23 -23
  32. package/package.json +2 -2
@@ -59,52 +59,36 @@ const DynamicCheckoutSettings = [
59
59
  {
60
60
  id: 'backgroundColorV2',
61
61
  type: 'color-picker-v2',
62
- devices: {
63
- desktop: {
64
- default: {
65
- normal: 'brand',
66
- hover: 'highlight'
67
- }
68
- }
62
+ default: {
63
+ normal: 'brand',
64
+ hover: 'highlight'
69
65
  },
70
66
  compoDefaultValue: {
71
- desktop: {
72
- default: {
73
- normal: 'brand',
74
- hover: 'highlight'
75
- }
76
- }
67
+ normal: 'brand',
68
+ hover: 'highlight'
77
69
  },
78
70
  enableGradient: true
79
71
  },
80
72
  {
81
73
  id: 'backgroundImage',
82
74
  type: 'background-image',
83
- devices: {
84
- desktop: {
85
- default: {
86
- normal: {},
87
- hover: {}
88
- }
89
- }
75
+ default: {
76
+ normal: {},
77
+ hover: {}
90
78
  },
91
79
  compoDefaultValue: {
92
- desktop: {
93
- default: {
94
- normal: {
95
- image: {
96
- src: 'https://ucarecdn.com/06075225-af9e-460c-8e3c-6be63c0b773a/-/format/auto/',
97
- width: 1200,
98
- height: 480
99
- }
100
- },
101
- hover: {
102
- image: {
103
- src: 'https://ucarecdn.com/06075225-af9e-460c-8e3c-6be63c0b773a/-/format/auto/',
104
- width: 1200,
105
- height: 480
106
- }
107
- }
80
+ normal: {
81
+ image: {
82
+ src: 'https://ucarecdn.com/06075225-af9e-460c-8e3c-6be63c0b773a/-/format/auto/',
83
+ width: 1200,
84
+ height: 480
85
+ }
86
+ },
87
+ hover: {
88
+ image: {
89
+ src: 'https://ucarecdn.com/06075225-af9e-460c-8e3c-6be63c0b773a/-/format/auto/',
90
+ width: 1200,
91
+ height: 480
108
92
  }
109
93
  }
110
94
  }
@@ -141,44 +125,36 @@ const DynamicCheckoutSettings = [
141
125
  {
142
126
  id: 'borderBtnV2',
143
127
  type: 'border-v2',
144
- devices: {
145
- desktop: {
146
- default: {
147
- normal: {
148
- borderType: 'none',
149
- border: 'none',
150
- borderWidth: '1px',
151
- width: '1px 1px 1px 1px',
152
- color: '#121212',
153
- isCustom: true
154
- },
155
- hover: {
156
- borderType: 'none',
157
- border: 'none',
158
- borderWidth: '1px',
159
- width: '1px 1px 1px 1px',
160
- color: '#121212',
161
- isCustom: true
162
- }
163
- }
128
+ default: {
129
+ normal: {
130
+ borderType: 'none',
131
+ border: 'none',
132
+ borderWidth: '1px',
133
+ width: '1px 1px 1px 1px',
134
+ color: '#121212',
135
+ isCustom: true
136
+ },
137
+ hover: {
138
+ borderType: 'none',
139
+ border: 'none',
140
+ borderWidth: '1px',
141
+ width: '1px 1px 1px 1px',
142
+ color: '#121212',
143
+ isCustom: true
164
144
  }
165
145
  },
166
146
  compoDefaultValue: {
167
- desktop: {
168
- default: {
169
- normal: {
170
- border: 'solid',
171
- color: '#212121',
172
- width: '1px',
173
- borderWidth: '1px'
174
- },
175
- hover: {
176
- border: 'solid',
177
- color: '#212121',
178
- width: '1px',
179
- borderWidth: '1px'
180
- }
181
- }
147
+ normal: {
148
+ border: 'solid',
149
+ color: '#212121',
150
+ width: '1px',
151
+ borderWidth: '1px'
152
+ },
153
+ hover: {
154
+ border: 'solid',
155
+ color: '#212121',
156
+ width: '1px',
157
+ borderWidth: '1px'
182
158
  }
183
159
  }
184
160
  },
@@ -247,69 +223,53 @@ const DynamicCheckoutSettings = [
247
223
  {
248
224
  id: 'boxShadowBtnV2',
249
225
  type: 'shadow-v2',
250
- devices: {
251
- desktop: {
252
- default: {
253
- normal: {}
254
- }
255
- }
226
+ default: {
227
+ normal: {}
256
228
  },
257
229
  compoDefaultValue: {
258
- desktop: {
259
- default: {
260
- normal: {
261
- type: 'shadow-1',
262
- distance: '4px',
263
- blur: '4px',
264
- spread: '0px',
265
- color: '#121212',
266
- angle: 45
267
- }
268
- }
230
+ normal: {
231
+ type: 'shadow-1',
232
+ distance: '4px',
233
+ blur: '4px',
234
+ spread: '0px',
235
+ color: '#121212',
236
+ angle: 45
269
237
  }
270
238
  }
271
239
  },
272
240
  {
273
241
  id: 'roundedBtnV2',
274
242
  type: 'corner-v2',
275
- devices: {
276
- desktop: {
277
- default: {
278
- normal: {
279
- btrr: '0px',
280
- bblr: '0px',
281
- bbrr: '0px',
282
- btlr: '0px',
283
- radiusType: 'none'
284
- },
285
- hover: {
286
- btrr: '0px',
287
- bblr: '0px',
288
- bbrr: '0px',
289
- btlr: '0px',
290
- radiusType: 'none'
291
- }
292
- }
243
+ default: {
244
+ normal: {
245
+ btrr: '0px',
246
+ bblr: '0px',
247
+ bbrr: '0px',
248
+ btlr: '0px',
249
+ radiusType: 'none'
250
+ },
251
+ hover: {
252
+ btrr: '0px',
253
+ bblr: '0px',
254
+ bbrr: '0px',
255
+ btlr: '0px',
256
+ radiusType: 'none'
293
257
  }
294
258
  },
295
259
  compoDefaultValue: {
296
- desktop: {
297
- default: {
298
- normal: {
299
- btrr: '8px',
300
- bblr: '8px',
301
- bbrr: '8px',
302
- btlr: '8px',
303
- radiusType: 'rounded'
304
- },
305
- hover: {
306
- btrr: '8px',
307
- bblr: '8px',
308
- bbrr: '8px',
309
- btlr: '8px',
310
- radiusType: 'rounded'
311
- }
312
- }
260
+ normal: {
261
+ btrr: '8px',
262
+ bblr: '8px',
263
+ bbrr: '8px',
264
+ btlr: '8px',
265
+ radiusType: 'rounded'
266
+ },
267
+ hover: {
268
+ btrr: '8px',
269
+ bblr: '8px',
270
+ bbrr: '8px',
271
+ btlr: '8px',
272
+ radiusType: 'rounded'
313
273
  }
314
274
  }
315
275
  },
@@ -408,19 +368,11 @@ const DynamicCheckoutSettings = [
408
368
  {
409
369
  id: 'textColorHover',
410
370
  type: 'color-picker-v2',
411
- devices: {
412
- desktop: {
413
- default: {
414
- hover: 'text-3'
415
- }
416
- }
371
+ default: {
372
+ hover: 'text-3'
417
373
  },
418
374
  compoDefaultValue: {
419
- desktop: {
420
- default: {
421
- hover: 'text-3'
422
- }
423
- }
375
+ hover: 'text-3'
424
376
  }
425
377
  },
426
378
  {