@gem-sdk/components 2.0.0-dev.552 → 2.0.0-dev.554

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/image/components/NextImage.js +1 -2
  6. package/dist/cjs/image/components/NextImage.liquid.js +1 -1
  7. package/dist/cjs/marquee/setting/configs/settingsV2.js +3 -3
  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 +230 -14
  11. package/dist/cjs/product/setting/constant/bundle-layout/horizontalTwo.js +230 -14
  12. package/dist/cjs/product/setting/constant/bundle-layout/verticalOne.js +230 -13
  13. package/dist/cjs/product/setting/constant/bundle-layout/verticalThree.js +230 -14
  14. package/dist/cjs/product/setting/constant/bundle-layout/verticalTwo.js +230 -14
  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/image/components/NextImage.js +1 -2
  20. package/dist/esm/image/components/NextImage.liquid.js +1 -1
  21. package/dist/esm/marquee/setting/configs/settingsV2.js +3 -3
  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 +230 -14
  25. package/dist/esm/product/setting/constant/bundle-layout/horizontalTwo.js +230 -14
  26. package/dist/esm/product/setting/constant/bundle-layout/verticalOne.js +230 -13
  27. package/dist/esm/product/setting/constant/bundle-layout/verticalThree.js +230 -14
  28. package/dist/esm/product/setting/constant/bundle-layout/verticalTwo.js +230 -14
  29. package/package.json +2 -2
@@ -275,36 +275,252 @@ const horizontalOne = [
275
275
  {
276
276
  childrens: [
277
277
  {
278
- childrens: [],
278
+ tag: 'ProductPrice',
279
279
  label: 'Product Price',
280
280
  settings: {
281
- priceType: 'compare',
282
- hasOnlyDefaultVariant: false
281
+ priceType: 'compare'
283
282
  },
284
283
  styles: {
284
+ typo: {
285
+ type: 'subheading-2',
286
+ default: {
287
+ type: 'subheading-2'
288
+ }
289
+ },
285
290
  color: {
286
- normal: '#B4B4B4'
291
+ normal: 'text-1'
287
292
  },
293
+ lineThrough: true,
294
+ thickness: 2,
295
+ lineColor: 'text-1',
296
+ disableHoverColor: true,
288
297
  hasTextShadow: {
289
298
  normal: false
290
299
  },
291
- lineColor: 'text-1',
292
- lineThrough: true,
293
- textAlign: {
294
- desktop: 'right'
295
- },
296
300
  textShadow: {
297
301
  normal: {
298
302
  type: 'shadow-1'
299
303
  }
300
304
  },
301
- thickness: '1px',
302
- typo: {
303
- type: 'paragraph-2'
305
+ textAlign: {
306
+ desktop: 'left'
304
307
  }
305
308
  },
306
- tag: 'ProductPrice',
307
- uid: 'ggRh1uHyP9'
309
+ advanced: {
310
+ 'spacing-setting': {
311
+ desktop: {
312
+ margin: {
313
+ bottom: 0
314
+ }
315
+ }
316
+ },
317
+ d: {
318
+ desktop: true,
319
+ tablet: true,
320
+ mobile: true
321
+ },
322
+ border: {
323
+ desktop: {
324
+ normal: {
325
+ borderType: 'none',
326
+ border: 'none',
327
+ borderWidth: '1px',
328
+ width: '1px 1px 1px 1px',
329
+ color: '#121212',
330
+ isCustom: true
331
+ }
332
+ }
333
+ },
334
+ rounded: {
335
+ desktop: {
336
+ normal: {
337
+ btrr: '0px',
338
+ bblr: '0px',
339
+ bbrr: '0px',
340
+ btlr: '0px',
341
+ radiusType: 'none'
342
+ }
343
+ }
344
+ },
345
+ hasBoxShadow: {
346
+ desktop: {
347
+ normal: false
348
+ }
349
+ },
350
+ boxShadow: {
351
+ desktop: {
352
+ normal: {}
353
+ }
354
+ },
355
+ op: {
356
+ desktop: '100%'
357
+ }
358
+ },
359
+ defaultPresetConfig: {
360
+ typo: {
361
+ type: 'subheading-2',
362
+ default: {
363
+ type: 'subheading-2'
364
+ }
365
+ },
366
+ color: {
367
+ normal: 'text-1'
368
+ },
369
+ lineThrough: true,
370
+ thickness: 2,
371
+ lineColor: 'text-1',
372
+ disableHoverColor: true,
373
+ hasTextShadow: {
374
+ normal: false
375
+ },
376
+ textShadow: {
377
+ normal: {
378
+ type: 'shadow-1'
379
+ }
380
+ },
381
+ textAlign: {
382
+ desktop: 'left'
383
+ },
384
+ 'spacing-setting': {
385
+ desktop: {
386
+ margin: {
387
+ bottom: 'var(--g-s-l)'
388
+ }
389
+ }
390
+ },
391
+ d: {
392
+ desktop: true,
393
+ tablet: true,
394
+ mobile: true
395
+ },
396
+ border: {
397
+ desktop: {
398
+ normal: {
399
+ borderType: 'none',
400
+ border: 'none',
401
+ borderWidth: '1px',
402
+ width: '1px 1px 1px 1px',
403
+ color: '#121212',
404
+ isCustom: true
405
+ }
406
+ }
407
+ },
408
+ rounded: {
409
+ desktop: {
410
+ normal: {
411
+ btrr: '0px',
412
+ bblr: '0px',
413
+ bbrr: '0px',
414
+ btlr: '0px',
415
+ radiusType: 'none'
416
+ }
417
+ }
418
+ },
419
+ hasBoxShadow: {
420
+ desktop: {
421
+ normal: false
422
+ }
423
+ },
424
+ boxShadow: {
425
+ desktop: {
426
+ normal: {}
427
+ }
428
+ },
429
+ op: {
430
+ desktop: '100%'
431
+ },
432
+ animation: {
433
+ desktop: {
434
+ enabled: false,
435
+ trigger: 'appear',
436
+ triggerConfig: {
437
+ appear: {
438
+ animation: 'fade',
439
+ setting: {
440
+ fade: {
441
+ delay: '0',
442
+ speed: 1.7,
443
+ easing: 'ease-out'
444
+ },
445
+ zoom: {
446
+ delay: '0',
447
+ speed: 1.7,
448
+ isFade: true,
449
+ easing: 'ease-out',
450
+ zoomDirection: 'in',
451
+ scale: {
452
+ in: [
453
+ 80,
454
+ 100
455
+ ],
456
+ out: [
457
+ 120,
458
+ 100
459
+ ]
460
+ }
461
+ },
462
+ slide: {
463
+ delay: '0',
464
+ speed: 1.7,
465
+ easing: 'ease-out',
466
+ direction: 'left',
467
+ isCustomDistance: false
468
+ },
469
+ shake: {
470
+ delay: '0',
471
+ speed: 0.7,
472
+ loop: false,
473
+ intensity: 11,
474
+ easing: 'linear'
475
+ }
476
+ }
477
+ },
478
+ hover: {
479
+ animation: 'none',
480
+ setting: {
481
+ fade: {
482
+ delay: '0',
483
+ speed: 1.7,
484
+ easing: 'ease-out'
485
+ },
486
+ zoom: {
487
+ delay: '0',
488
+ speed: 1.7,
489
+ isFade: false,
490
+ easing: 'ease-out',
491
+ zoomDirection: 'in',
492
+ scale: {
493
+ in: [
494
+ 100,
495
+ 120
496
+ ],
497
+ out: [
498
+ 100,
499
+ 80
500
+ ]
501
+ }
502
+ },
503
+ slide: {
504
+ delay: '0',
505
+ speed: 1.7,
506
+ easing: 'ease-out',
507
+ direction: 'left',
508
+ isCustomDistance: false
509
+ },
510
+ shake: {
511
+ delay: '0',
512
+ speed: 0.7,
513
+ loop: false,
514
+ intensity: 11,
515
+ easing: 'linear'
516
+ }
517
+ }
518
+ }
519
+ }
520
+ }
521
+ },
522
+ priceType: 'compare'
523
+ }
308
524
  }
309
525
  ],
310
526
  label: 'Block',
@@ -425,36 +425,252 @@ const horizontalThree = [
425
425
  {
426
426
  childrens: [
427
427
  {
428
- childrens: [],
428
+ tag: 'ProductPrice',
429
429
  label: 'Product Price',
430
430
  settings: {
431
- hasOnlyDefaultVariant: false
431
+ priceType: 'compare'
432
432
  },
433
433
  styles: {
434
+ typo: {
435
+ type: 'subheading-2',
436
+ default: {
437
+ type: 'subheading-2'
438
+ }
439
+ },
434
440
  color: {
435
- normal: '#B4B4B4'
441
+ normal: 'text-1'
436
442
  },
443
+ lineThrough: true,
444
+ thickness: 2,
445
+ lineColor: 'text-1',
446
+ disableHoverColor: true,
437
447
  hasTextShadow: {
438
448
  normal: false
439
449
  },
440
- lineColor: 'text-1',
441
- lineThrough: true,
442
- priceType: 'compare',
443
- textAlign: {
444
- desktop: 'right'
445
- },
446
450
  textShadow: {
447
451
  normal: {
448
452
  type: 'shadow-1'
449
453
  }
450
454
  },
451
- thickness: '1px',
452
- typo: {
453
- type: 'paragraph-1'
455
+ textAlign: {
456
+ desktop: 'left'
454
457
  }
455
458
  },
456
- tag: 'ProductPrice',
457
- uid: 'gaMnk8EatB'
459
+ advanced: {
460
+ 'spacing-setting': {
461
+ desktop: {
462
+ margin: {
463
+ bottom: 0
464
+ }
465
+ }
466
+ },
467
+ d: {
468
+ desktop: true,
469
+ tablet: true,
470
+ mobile: true
471
+ },
472
+ border: {
473
+ desktop: {
474
+ normal: {
475
+ borderType: 'none',
476
+ border: 'none',
477
+ borderWidth: '1px',
478
+ width: '1px 1px 1px 1px',
479
+ color: '#121212',
480
+ isCustom: true
481
+ }
482
+ }
483
+ },
484
+ rounded: {
485
+ desktop: {
486
+ normal: {
487
+ btrr: '0px',
488
+ bblr: '0px',
489
+ bbrr: '0px',
490
+ btlr: '0px',
491
+ radiusType: 'none'
492
+ }
493
+ }
494
+ },
495
+ hasBoxShadow: {
496
+ desktop: {
497
+ normal: false
498
+ }
499
+ },
500
+ boxShadow: {
501
+ desktop: {
502
+ normal: {}
503
+ }
504
+ },
505
+ op: {
506
+ desktop: '100%'
507
+ }
508
+ },
509
+ defaultPresetConfig: {
510
+ typo: {
511
+ type: 'subheading-2',
512
+ default: {
513
+ type: 'subheading-2'
514
+ }
515
+ },
516
+ color: {
517
+ normal: 'text-1'
518
+ },
519
+ lineThrough: true,
520
+ thickness: 2,
521
+ lineColor: 'text-1',
522
+ disableHoverColor: true,
523
+ hasTextShadow: {
524
+ normal: false
525
+ },
526
+ textShadow: {
527
+ normal: {
528
+ type: 'shadow-1'
529
+ }
530
+ },
531
+ textAlign: {
532
+ desktop: 'left'
533
+ },
534
+ 'spacing-setting': {
535
+ desktop: {
536
+ margin: {
537
+ bottom: 'var(--g-s-l)'
538
+ }
539
+ }
540
+ },
541
+ d: {
542
+ desktop: true,
543
+ tablet: true,
544
+ mobile: true
545
+ },
546
+ border: {
547
+ desktop: {
548
+ normal: {
549
+ borderType: 'none',
550
+ border: 'none',
551
+ borderWidth: '1px',
552
+ width: '1px 1px 1px 1px',
553
+ color: '#121212',
554
+ isCustom: true
555
+ }
556
+ }
557
+ },
558
+ rounded: {
559
+ desktop: {
560
+ normal: {
561
+ btrr: '0px',
562
+ bblr: '0px',
563
+ bbrr: '0px',
564
+ btlr: '0px',
565
+ radiusType: 'none'
566
+ }
567
+ }
568
+ },
569
+ hasBoxShadow: {
570
+ desktop: {
571
+ normal: false
572
+ }
573
+ },
574
+ boxShadow: {
575
+ desktop: {
576
+ normal: {}
577
+ }
578
+ },
579
+ op: {
580
+ desktop: '100%'
581
+ },
582
+ animation: {
583
+ desktop: {
584
+ enabled: false,
585
+ trigger: 'appear',
586
+ triggerConfig: {
587
+ appear: {
588
+ animation: 'fade',
589
+ setting: {
590
+ fade: {
591
+ delay: '0',
592
+ speed: 1.7,
593
+ easing: 'ease-out'
594
+ },
595
+ zoom: {
596
+ delay: '0',
597
+ speed: 1.7,
598
+ isFade: true,
599
+ easing: 'ease-out',
600
+ zoomDirection: 'in',
601
+ scale: {
602
+ in: [
603
+ 80,
604
+ 100
605
+ ],
606
+ out: [
607
+ 120,
608
+ 100
609
+ ]
610
+ }
611
+ },
612
+ slide: {
613
+ delay: '0',
614
+ speed: 1.7,
615
+ easing: 'ease-out',
616
+ direction: 'left',
617
+ isCustomDistance: false
618
+ },
619
+ shake: {
620
+ delay: '0',
621
+ speed: 0.7,
622
+ loop: false,
623
+ intensity: 11,
624
+ easing: 'linear'
625
+ }
626
+ }
627
+ },
628
+ hover: {
629
+ animation: 'none',
630
+ setting: {
631
+ fade: {
632
+ delay: '0',
633
+ speed: 1.7,
634
+ easing: 'ease-out'
635
+ },
636
+ zoom: {
637
+ delay: '0',
638
+ speed: 1.7,
639
+ isFade: false,
640
+ easing: 'ease-out',
641
+ zoomDirection: 'in',
642
+ scale: {
643
+ in: [
644
+ 100,
645
+ 120
646
+ ],
647
+ out: [
648
+ 100,
649
+ 80
650
+ ]
651
+ }
652
+ },
653
+ slide: {
654
+ delay: '0',
655
+ speed: 1.7,
656
+ easing: 'ease-out',
657
+ direction: 'left',
658
+ isCustomDistance: false
659
+ },
660
+ shake: {
661
+ delay: '0',
662
+ speed: 0.7,
663
+ loop: false,
664
+ intensity: 11,
665
+ easing: 'linear'
666
+ }
667
+ }
668
+ }
669
+ }
670
+ }
671
+ },
672
+ priceType: 'compare'
673
+ }
458
674
  }
459
675
  ],
460
676
  label: 'Block',