@gem-sdk/components 2.0.0-dev.551 → 2.0.0-dev.553

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 (29) hide show
  1. package/dist/cjs/coupon/common/classes.js +1 -1
  2. package/dist/cjs/coupon/common/styles.js +4 -2
  3. package/dist/cjs/coupon/setting/config/settings.js +7 -3
  4. package/dist/cjs/coupon/setting/config/uiV2.js +65 -64
  5. package/dist/cjs/marquee/setting/configs/settingsV2.js +3 -3
  6. package/dist/cjs/product/components/ProductBadge/common/getAttrs.js +2 -19
  7. package/dist/cjs/product/components/ProductBadge/index.liquid.js +15 -0
  8. package/dist/cjs/product/components/ProductPrice/hooks/useGpPrice.js +1 -1
  9. package/dist/cjs/product/setting/constant/bundle-layout/horizontalOne.js +230 -14
  10. package/dist/cjs/product/setting/constant/bundle-layout/horizontalThree.js +684 -464
  11. package/dist/cjs/product/setting/constant/bundle-layout/horizontalTwo.js +235 -15
  12. package/dist/cjs/product/setting/constant/bundle-layout/verticalOne.js +230 -13
  13. package/dist/cjs/product/setting/constant/bundle-layout/verticalThree.js +579 -359
  14. package/dist/cjs/product/setting/constant/bundle-layout/verticalTwo.js +579 -359
  15. package/dist/esm/coupon/common/classes.js +1 -1
  16. package/dist/esm/coupon/common/styles.js +4 -2
  17. package/dist/esm/coupon/setting/config/settings.js +7 -3
  18. package/dist/esm/coupon/setting/config/uiV2.js +65 -64
  19. package/dist/esm/marquee/setting/configs/settingsV2.js +3 -3
  20. package/dist/esm/product/components/ProductBadge/common/getAttrs.js +2 -19
  21. package/dist/esm/product/components/ProductBadge/index.liquid.js +17 -2
  22. package/dist/esm/product/components/ProductPrice/hooks/useGpPrice.js +1 -1
  23. package/dist/esm/product/setting/constant/bundle-layout/horizontalOne.js +230 -14
  24. package/dist/esm/product/setting/constant/bundle-layout/horizontalThree.js +684 -464
  25. package/dist/esm/product/setting/constant/bundle-layout/horizontalTwo.js +235 -15
  26. package/dist/esm/product/setting/constant/bundle-layout/verticalOne.js +230 -13
  27. package/dist/esm/product/setting/constant/bundle-layout/verticalThree.js +579 -359
  28. package/dist/esm/product/setting/constant/bundle-layout/verticalTwo.js +579 -359
  29. package/package.json +2 -2
@@ -81,7 +81,11 @@ const horizontalTwo = [
81
81
  align: {
82
82
  desktop: 'left'
83
83
  },
84
- badgeColor: '#FF614C',
84
+ badgeColorV2: {
85
+ desktop: {
86
+ normal: '#FF614C'
87
+ }
88
+ },
85
89
  borderRadius: {
86
90
  bblr: '0px',
87
91
  bbrr: '0px',
@@ -417,36 +421,252 @@ const horizontalTwo = [
417
421
  {
418
422
  childrens: [
419
423
  {
420
- childrens: [],
424
+ tag: 'ProductPrice',
421
425
  label: 'Product Price',
422
426
  settings: {
423
- priceType: 'compare',
424
- hasOnlyDefaultVariant: false
427
+ priceType: 'compare'
425
428
  },
426
429
  styles: {
430
+ typo: {
431
+ type: 'subheading-2',
432
+ default: {
433
+ type: 'subheading-2'
434
+ }
435
+ },
427
436
  color: {
428
- normal: '#B4B4B4'
437
+ normal: 'text-1'
429
438
  },
439
+ lineThrough: true,
440
+ thickness: 2,
441
+ lineColor: 'text-1',
442
+ disableHoverColor: true,
430
443
  hasTextShadow: {
431
444
  normal: false
432
445
  },
433
- lineColor: 'text-1',
434
- lineThrough: true,
435
- textAlign: {
436
- desktop: 'right'
437
- },
438
446
  textShadow: {
439
447
  normal: {
440
448
  type: 'shadow-1'
441
449
  }
442
450
  },
443
- thickness: '1px',
444
- typo: {
445
- type: 'paragraph-1'
451
+ textAlign: {
452
+ desktop: 'left'
446
453
  }
447
454
  },
448
- tag: 'ProductPrice',
449
- uid: 'g2PNxAjBjP'
455
+ advanced: {
456
+ 'spacing-setting': {
457
+ desktop: {
458
+ margin: {
459
+ bottom: 0
460
+ }
461
+ }
462
+ },
463
+ d: {
464
+ desktop: true,
465
+ tablet: true,
466
+ mobile: true
467
+ },
468
+ border: {
469
+ desktop: {
470
+ normal: {
471
+ borderType: 'none',
472
+ border: 'none',
473
+ borderWidth: '1px',
474
+ width: '1px 1px 1px 1px',
475
+ color: '#121212',
476
+ isCustom: true
477
+ }
478
+ }
479
+ },
480
+ rounded: {
481
+ desktop: {
482
+ normal: {
483
+ btrr: '0px',
484
+ bblr: '0px',
485
+ bbrr: '0px',
486
+ btlr: '0px',
487
+ radiusType: 'none'
488
+ }
489
+ }
490
+ },
491
+ hasBoxShadow: {
492
+ desktop: {
493
+ normal: false
494
+ }
495
+ },
496
+ boxShadow: {
497
+ desktop: {
498
+ normal: {}
499
+ }
500
+ },
501
+ op: {
502
+ desktop: '100%'
503
+ }
504
+ },
505
+ defaultPresetConfig: {
506
+ typo: {
507
+ type: 'subheading-2',
508
+ default: {
509
+ type: 'subheading-2'
510
+ }
511
+ },
512
+ color: {
513
+ normal: 'text-1'
514
+ },
515
+ lineThrough: true,
516
+ thickness: 2,
517
+ lineColor: 'text-1',
518
+ disableHoverColor: true,
519
+ hasTextShadow: {
520
+ normal: false
521
+ },
522
+ textShadow: {
523
+ normal: {
524
+ type: 'shadow-1'
525
+ }
526
+ },
527
+ textAlign: {
528
+ desktop: 'left'
529
+ },
530
+ 'spacing-setting': {
531
+ desktop: {
532
+ margin: {
533
+ bottom: 'var(--g-s-l)'
534
+ }
535
+ }
536
+ },
537
+ d: {
538
+ desktop: true,
539
+ tablet: true,
540
+ mobile: true
541
+ },
542
+ border: {
543
+ desktop: {
544
+ normal: {
545
+ borderType: 'none',
546
+ border: 'none',
547
+ borderWidth: '1px',
548
+ width: '1px 1px 1px 1px',
549
+ color: '#121212',
550
+ isCustom: true
551
+ }
552
+ }
553
+ },
554
+ rounded: {
555
+ desktop: {
556
+ normal: {
557
+ btrr: '0px',
558
+ bblr: '0px',
559
+ bbrr: '0px',
560
+ btlr: '0px',
561
+ radiusType: 'none'
562
+ }
563
+ }
564
+ },
565
+ hasBoxShadow: {
566
+ desktop: {
567
+ normal: false
568
+ }
569
+ },
570
+ boxShadow: {
571
+ desktop: {
572
+ normal: {}
573
+ }
574
+ },
575
+ op: {
576
+ desktop: '100%'
577
+ },
578
+ animation: {
579
+ desktop: {
580
+ enabled: false,
581
+ trigger: 'appear',
582
+ triggerConfig: {
583
+ appear: {
584
+ animation: 'fade',
585
+ setting: {
586
+ fade: {
587
+ delay: '0',
588
+ speed: 1.7,
589
+ easing: 'ease-out'
590
+ },
591
+ zoom: {
592
+ delay: '0',
593
+ speed: 1.7,
594
+ isFade: true,
595
+ easing: 'ease-out',
596
+ zoomDirection: 'in',
597
+ scale: {
598
+ in: [
599
+ 80,
600
+ 100
601
+ ],
602
+ out: [
603
+ 120,
604
+ 100
605
+ ]
606
+ }
607
+ },
608
+ slide: {
609
+ delay: '0',
610
+ speed: 1.7,
611
+ easing: 'ease-out',
612
+ direction: 'left',
613
+ isCustomDistance: false
614
+ },
615
+ shake: {
616
+ delay: '0',
617
+ speed: 0.7,
618
+ loop: false,
619
+ intensity: 11,
620
+ easing: 'linear'
621
+ }
622
+ }
623
+ },
624
+ hover: {
625
+ animation: 'none',
626
+ setting: {
627
+ fade: {
628
+ delay: '0',
629
+ speed: 1.7,
630
+ easing: 'ease-out'
631
+ },
632
+ zoom: {
633
+ delay: '0',
634
+ speed: 1.7,
635
+ isFade: false,
636
+ easing: 'ease-out',
637
+ zoomDirection: 'in',
638
+ scale: {
639
+ in: [
640
+ 100,
641
+ 120
642
+ ],
643
+ out: [
644
+ 100,
645
+ 80
646
+ ]
647
+ }
648
+ },
649
+ slide: {
650
+ delay: '0',
651
+ speed: 1.7,
652
+ easing: 'ease-out',
653
+ direction: 'left',
654
+ isCustomDistance: false
655
+ },
656
+ shake: {
657
+ delay: '0',
658
+ speed: 0.7,
659
+ loop: false,
660
+ intensity: 11,
661
+ easing: 'linear'
662
+ }
663
+ }
664
+ }
665
+ }
666
+ }
667
+ },
668
+ priceType: 'compare'
669
+ }
450
670
  }
451
671
  ],
452
672
  label: 'Block',
@@ -136,35 +136,252 @@ const verticalOne = [
136
136
  {
137
137
  childrens: [
138
138
  {
139
+ tag: 'ProductPrice',
139
140
  label: 'Product Price',
140
141
  settings: {
141
- priceType: 'compare',
142
- hasOnlyDefaultVariant: false
142
+ priceType: 'compare'
143
143
  },
144
144
  styles: {
145
+ typo: {
146
+ type: 'subheading-2',
147
+ default: {
148
+ type: 'subheading-2'
149
+ }
150
+ },
145
151
  color: {
146
- normal: '#B4B4B4'
152
+ normal: 'text-1'
147
153
  },
154
+ lineThrough: true,
155
+ thickness: 2,
156
+ lineColor: 'text-1',
157
+ disableHoverColor: true,
148
158
  hasTextShadow: {
149
159
  normal: false
150
160
  },
151
- lineColor: 'text-1',
152
- lineThrough: true,
153
- textAlign: {
154
- desktop: 'right'
155
- },
156
161
  textShadow: {
157
162
  normal: {
158
163
  type: 'shadow-1'
159
164
  }
160
165
  },
161
- thickness: '1px',
162
- typo: {
163
- type: 'paragraph-2'
166
+ textAlign: {
167
+ desktop: 'left'
164
168
  }
165
169
  },
166
- tag: 'ProductPrice',
167
- childrens: []
170
+ advanced: {
171
+ 'spacing-setting': {
172
+ desktop: {
173
+ margin: {
174
+ bottom: 0
175
+ }
176
+ }
177
+ },
178
+ d: {
179
+ desktop: true,
180
+ tablet: true,
181
+ mobile: true
182
+ },
183
+ border: {
184
+ desktop: {
185
+ normal: {
186
+ borderType: 'none',
187
+ border: 'none',
188
+ borderWidth: '1px',
189
+ width: '1px 1px 1px 1px',
190
+ color: '#121212',
191
+ isCustom: true
192
+ }
193
+ }
194
+ },
195
+ rounded: {
196
+ desktop: {
197
+ normal: {
198
+ btrr: '0px',
199
+ bblr: '0px',
200
+ bbrr: '0px',
201
+ btlr: '0px',
202
+ radiusType: 'none'
203
+ }
204
+ }
205
+ },
206
+ hasBoxShadow: {
207
+ desktop: {
208
+ normal: false
209
+ }
210
+ },
211
+ boxShadow: {
212
+ desktop: {
213
+ normal: {}
214
+ }
215
+ },
216
+ op: {
217
+ desktop: '100%'
218
+ }
219
+ },
220
+ defaultPresetConfig: {
221
+ typo: {
222
+ type: 'subheading-2',
223
+ default: {
224
+ type: 'subheading-2'
225
+ }
226
+ },
227
+ color: {
228
+ normal: 'text-1'
229
+ },
230
+ lineThrough: true,
231
+ thickness: 2,
232
+ lineColor: 'text-1',
233
+ disableHoverColor: true,
234
+ hasTextShadow: {
235
+ normal: false
236
+ },
237
+ textShadow: {
238
+ normal: {
239
+ type: 'shadow-1'
240
+ }
241
+ },
242
+ textAlign: {
243
+ desktop: 'left'
244
+ },
245
+ 'spacing-setting': {
246
+ desktop: {
247
+ margin: {
248
+ bottom: 'var(--g-s-l)'
249
+ }
250
+ }
251
+ },
252
+ d: {
253
+ desktop: true,
254
+ tablet: true,
255
+ mobile: true
256
+ },
257
+ border: {
258
+ desktop: {
259
+ normal: {
260
+ borderType: 'none',
261
+ border: 'none',
262
+ borderWidth: '1px',
263
+ width: '1px 1px 1px 1px',
264
+ color: '#121212',
265
+ isCustom: true
266
+ }
267
+ }
268
+ },
269
+ rounded: {
270
+ desktop: {
271
+ normal: {
272
+ btrr: '0px',
273
+ bblr: '0px',
274
+ bbrr: '0px',
275
+ btlr: '0px',
276
+ radiusType: 'none'
277
+ }
278
+ }
279
+ },
280
+ hasBoxShadow: {
281
+ desktop: {
282
+ normal: false
283
+ }
284
+ },
285
+ boxShadow: {
286
+ desktop: {
287
+ normal: {}
288
+ }
289
+ },
290
+ op: {
291
+ desktop: '100%'
292
+ },
293
+ animation: {
294
+ desktop: {
295
+ enabled: false,
296
+ trigger: 'appear',
297
+ triggerConfig: {
298
+ appear: {
299
+ animation: 'fade',
300
+ setting: {
301
+ fade: {
302
+ delay: '0',
303
+ speed: 1.7,
304
+ easing: 'ease-out'
305
+ },
306
+ zoom: {
307
+ delay: '0',
308
+ speed: 1.7,
309
+ isFade: true,
310
+ easing: 'ease-out',
311
+ zoomDirection: 'in',
312
+ scale: {
313
+ in: [
314
+ 80,
315
+ 100
316
+ ],
317
+ out: [
318
+ 120,
319
+ 100
320
+ ]
321
+ }
322
+ },
323
+ slide: {
324
+ delay: '0',
325
+ speed: 1.7,
326
+ easing: 'ease-out',
327
+ direction: 'left',
328
+ isCustomDistance: false
329
+ },
330
+ shake: {
331
+ delay: '0',
332
+ speed: 0.7,
333
+ loop: false,
334
+ intensity: 11,
335
+ easing: 'linear'
336
+ }
337
+ }
338
+ },
339
+ hover: {
340
+ animation: 'none',
341
+ setting: {
342
+ fade: {
343
+ delay: '0',
344
+ speed: 1.7,
345
+ easing: 'ease-out'
346
+ },
347
+ zoom: {
348
+ delay: '0',
349
+ speed: 1.7,
350
+ isFade: false,
351
+ easing: 'ease-out',
352
+ zoomDirection: 'in',
353
+ scale: {
354
+ in: [
355
+ 100,
356
+ 120
357
+ ],
358
+ out: [
359
+ 100,
360
+ 80
361
+ ]
362
+ }
363
+ },
364
+ slide: {
365
+ delay: '0',
366
+ speed: 1.7,
367
+ easing: 'ease-out',
368
+ direction: 'left',
369
+ isCustomDistance: false
370
+ },
371
+ shake: {
372
+ delay: '0',
373
+ speed: 0.7,
374
+ loop: false,
375
+ intensity: 11,
376
+ easing: 'linear'
377
+ }
378
+ }
379
+ }
380
+ }
381
+ }
382
+ },
383
+ priceType: 'compare'
384
+ }
168
385
  }
169
386
  ],
170
387
  label: 'Block',