@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
@@ -296,36 +296,252 @@ const verticalThree = [
296
296
  {
297
297
  childrens: [
298
298
  {
299
+ tag: 'ProductPrice',
299
300
  label: 'Product Price',
300
301
  settings: {
301
- hasOnlyDefaultVariant: false
302
+ priceType: 'compare'
302
303
  },
303
304
  styles: {
305
+ typo: {
306
+ type: 'subheading-2',
307
+ default: {
308
+ type: 'subheading-2'
309
+ }
310
+ },
304
311
  color: {
305
- normal: '#B4B4B4'
312
+ normal: 'text-1'
306
313
  },
314
+ lineThrough: true,
315
+ thickness: 2,
316
+ lineColor: 'text-1',
317
+ disableHoverColor: true,
307
318
  hasTextShadow: {
308
319
  normal: false
309
320
  },
310
- lineColor: 'text-1',
311
- lineThrough: true,
312
- priceType: 'compare',
313
- textAlign: {
314
- desktop: 'right'
315
- },
316
321
  textShadow: {
317
322
  normal: {
318
323
  type: 'shadow-1'
319
324
  }
320
325
  },
321
- thickness: '1px',
322
- typo: {
323
- type: 'paragraph-1'
326
+ textAlign: {
327
+ desktop: 'left'
324
328
  }
325
329
  },
326
- tag: 'ProductPrice',
327
- uid: 'g6nLP4HJHr',
328
- childrens: []
330
+ advanced: {
331
+ 'spacing-setting': {
332
+ desktop: {
333
+ margin: {
334
+ bottom: 0
335
+ }
336
+ }
337
+ },
338
+ d: {
339
+ desktop: true,
340
+ tablet: true,
341
+ mobile: true
342
+ },
343
+ border: {
344
+ desktop: {
345
+ normal: {
346
+ borderType: 'none',
347
+ border: 'none',
348
+ borderWidth: '1px',
349
+ width: '1px 1px 1px 1px',
350
+ color: '#121212',
351
+ isCustom: true
352
+ }
353
+ }
354
+ },
355
+ rounded: {
356
+ desktop: {
357
+ normal: {
358
+ btrr: '0px',
359
+ bblr: '0px',
360
+ bbrr: '0px',
361
+ btlr: '0px',
362
+ radiusType: 'none'
363
+ }
364
+ }
365
+ },
366
+ hasBoxShadow: {
367
+ desktop: {
368
+ normal: false
369
+ }
370
+ },
371
+ boxShadow: {
372
+ desktop: {
373
+ normal: {}
374
+ }
375
+ },
376
+ op: {
377
+ desktop: '100%'
378
+ }
379
+ },
380
+ defaultPresetConfig: {
381
+ typo: {
382
+ type: 'subheading-2',
383
+ default: {
384
+ type: 'subheading-2'
385
+ }
386
+ },
387
+ color: {
388
+ normal: 'text-1'
389
+ },
390
+ lineThrough: true,
391
+ thickness: 2,
392
+ lineColor: 'text-1',
393
+ disableHoverColor: true,
394
+ hasTextShadow: {
395
+ normal: false
396
+ },
397
+ textShadow: {
398
+ normal: {
399
+ type: 'shadow-1'
400
+ }
401
+ },
402
+ textAlign: {
403
+ desktop: 'left'
404
+ },
405
+ 'spacing-setting': {
406
+ desktop: {
407
+ margin: {
408
+ bottom: 'var(--g-s-l)'
409
+ }
410
+ }
411
+ },
412
+ d: {
413
+ desktop: true,
414
+ tablet: true,
415
+ mobile: true
416
+ },
417
+ border: {
418
+ desktop: {
419
+ normal: {
420
+ borderType: 'none',
421
+ border: 'none',
422
+ borderWidth: '1px',
423
+ width: '1px 1px 1px 1px',
424
+ color: '#121212',
425
+ isCustom: true
426
+ }
427
+ }
428
+ },
429
+ rounded: {
430
+ desktop: {
431
+ normal: {
432
+ btrr: '0px',
433
+ bblr: '0px',
434
+ bbrr: '0px',
435
+ btlr: '0px',
436
+ radiusType: 'none'
437
+ }
438
+ }
439
+ },
440
+ hasBoxShadow: {
441
+ desktop: {
442
+ normal: false
443
+ }
444
+ },
445
+ boxShadow: {
446
+ desktop: {
447
+ normal: {}
448
+ }
449
+ },
450
+ op: {
451
+ desktop: '100%'
452
+ },
453
+ animation: {
454
+ desktop: {
455
+ enabled: false,
456
+ trigger: 'appear',
457
+ triggerConfig: {
458
+ appear: {
459
+ animation: 'fade',
460
+ setting: {
461
+ fade: {
462
+ delay: '0',
463
+ speed: 1.7,
464
+ easing: 'ease-out'
465
+ },
466
+ zoom: {
467
+ delay: '0',
468
+ speed: 1.7,
469
+ isFade: true,
470
+ easing: 'ease-out',
471
+ zoomDirection: 'in',
472
+ scale: {
473
+ in: [
474
+ 80,
475
+ 100
476
+ ],
477
+ out: [
478
+ 120,
479
+ 100
480
+ ]
481
+ }
482
+ },
483
+ slide: {
484
+ delay: '0',
485
+ speed: 1.7,
486
+ easing: 'ease-out',
487
+ direction: 'left',
488
+ isCustomDistance: false
489
+ },
490
+ shake: {
491
+ delay: '0',
492
+ speed: 0.7,
493
+ loop: false,
494
+ intensity: 11,
495
+ easing: 'linear'
496
+ }
497
+ }
498
+ },
499
+ hover: {
500
+ animation: 'none',
501
+ setting: {
502
+ fade: {
503
+ delay: '0',
504
+ speed: 1.7,
505
+ easing: 'ease-out'
506
+ },
507
+ zoom: {
508
+ delay: '0',
509
+ speed: 1.7,
510
+ isFade: false,
511
+ easing: 'ease-out',
512
+ zoomDirection: 'in',
513
+ scale: {
514
+ in: [
515
+ 100,
516
+ 120
517
+ ],
518
+ out: [
519
+ 100,
520
+ 80
521
+ ]
522
+ }
523
+ },
524
+ slide: {
525
+ delay: '0',
526
+ speed: 1.7,
527
+ easing: 'ease-out',
528
+ direction: 'left',
529
+ isCustomDistance: false
530
+ },
531
+ shake: {
532
+ delay: '0',
533
+ speed: 0.7,
534
+ loop: false,
535
+ intensity: 11,
536
+ easing: 'linear'
537
+ }
538
+ }
539
+ }
540
+ }
541
+ }
542
+ },
543
+ priceType: 'compare'
544
+ }
329
545
  }
330
546
  ],
331
547
  label: 'Block',
@@ -296,36 +296,252 @@ const verticalTwo = [
296
296
  {
297
297
  childrens: [
298
298
  {
299
+ tag: 'ProductPrice',
299
300
  label: 'Product Price',
300
301
  settings: {
301
- hasOnlyDefaultVariant: false
302
+ priceType: 'compare'
302
303
  },
303
304
  styles: {
305
+ typo: {
306
+ type: 'subheading-2',
307
+ default: {
308
+ type: 'subheading-2'
309
+ }
310
+ },
304
311
  color: {
305
- normal: '#B4B4B4'
312
+ normal: 'text-1'
306
313
  },
314
+ lineThrough: true,
315
+ thickness: 2,
316
+ lineColor: 'text-1',
317
+ disableHoverColor: true,
307
318
  hasTextShadow: {
308
319
  normal: false
309
320
  },
310
- lineColor: 'text-1',
311
- lineThrough: true,
312
- priceType: 'compare',
313
- textAlign: {
314
- desktop: 'right'
315
- },
316
321
  textShadow: {
317
322
  normal: {
318
323
  type: 'shadow-1'
319
324
  }
320
325
  },
321
- thickness: '1px',
322
- typo: {
323
- type: 'paragraph-1'
326
+ textAlign: {
327
+ desktop: 'left'
324
328
  }
325
329
  },
326
- tag: 'ProductPrice',
327
- uid: 'g6nLP4HJHr',
328
- childrens: []
330
+ advanced: {
331
+ 'spacing-setting': {
332
+ desktop: {
333
+ margin: {
334
+ bottom: 0
335
+ }
336
+ }
337
+ },
338
+ d: {
339
+ desktop: true,
340
+ tablet: true,
341
+ mobile: true
342
+ },
343
+ border: {
344
+ desktop: {
345
+ normal: {
346
+ borderType: 'none',
347
+ border: 'none',
348
+ borderWidth: '1px',
349
+ width: '1px 1px 1px 1px',
350
+ color: '#121212',
351
+ isCustom: true
352
+ }
353
+ }
354
+ },
355
+ rounded: {
356
+ desktop: {
357
+ normal: {
358
+ btrr: '0px',
359
+ bblr: '0px',
360
+ bbrr: '0px',
361
+ btlr: '0px',
362
+ radiusType: 'none'
363
+ }
364
+ }
365
+ },
366
+ hasBoxShadow: {
367
+ desktop: {
368
+ normal: false
369
+ }
370
+ },
371
+ boxShadow: {
372
+ desktop: {
373
+ normal: {}
374
+ }
375
+ },
376
+ op: {
377
+ desktop: '100%'
378
+ }
379
+ },
380
+ defaultPresetConfig: {
381
+ typo: {
382
+ type: 'subheading-2',
383
+ default: {
384
+ type: 'subheading-2'
385
+ }
386
+ },
387
+ color: {
388
+ normal: 'text-1'
389
+ },
390
+ lineThrough: true,
391
+ thickness: 2,
392
+ lineColor: 'text-1',
393
+ disableHoverColor: true,
394
+ hasTextShadow: {
395
+ normal: false
396
+ },
397
+ textShadow: {
398
+ normal: {
399
+ type: 'shadow-1'
400
+ }
401
+ },
402
+ textAlign: {
403
+ desktop: 'left'
404
+ },
405
+ 'spacing-setting': {
406
+ desktop: {
407
+ margin: {
408
+ bottom: 'var(--g-s-l)'
409
+ }
410
+ }
411
+ },
412
+ d: {
413
+ desktop: true,
414
+ tablet: true,
415
+ mobile: true
416
+ },
417
+ border: {
418
+ desktop: {
419
+ normal: {
420
+ borderType: 'none',
421
+ border: 'none',
422
+ borderWidth: '1px',
423
+ width: '1px 1px 1px 1px',
424
+ color: '#121212',
425
+ isCustom: true
426
+ }
427
+ }
428
+ },
429
+ rounded: {
430
+ desktop: {
431
+ normal: {
432
+ btrr: '0px',
433
+ bblr: '0px',
434
+ bbrr: '0px',
435
+ btlr: '0px',
436
+ radiusType: 'none'
437
+ }
438
+ }
439
+ },
440
+ hasBoxShadow: {
441
+ desktop: {
442
+ normal: false
443
+ }
444
+ },
445
+ boxShadow: {
446
+ desktop: {
447
+ normal: {}
448
+ }
449
+ },
450
+ op: {
451
+ desktop: '100%'
452
+ },
453
+ animation: {
454
+ desktop: {
455
+ enabled: false,
456
+ trigger: 'appear',
457
+ triggerConfig: {
458
+ appear: {
459
+ animation: 'fade',
460
+ setting: {
461
+ fade: {
462
+ delay: '0',
463
+ speed: 1.7,
464
+ easing: 'ease-out'
465
+ },
466
+ zoom: {
467
+ delay: '0',
468
+ speed: 1.7,
469
+ isFade: true,
470
+ easing: 'ease-out',
471
+ zoomDirection: 'in',
472
+ scale: {
473
+ in: [
474
+ 80,
475
+ 100
476
+ ],
477
+ out: [
478
+ 120,
479
+ 100
480
+ ]
481
+ }
482
+ },
483
+ slide: {
484
+ delay: '0',
485
+ speed: 1.7,
486
+ easing: 'ease-out',
487
+ direction: 'left',
488
+ isCustomDistance: false
489
+ },
490
+ shake: {
491
+ delay: '0',
492
+ speed: 0.7,
493
+ loop: false,
494
+ intensity: 11,
495
+ easing: 'linear'
496
+ }
497
+ }
498
+ },
499
+ hover: {
500
+ animation: 'none',
501
+ setting: {
502
+ fade: {
503
+ delay: '0',
504
+ speed: 1.7,
505
+ easing: 'ease-out'
506
+ },
507
+ zoom: {
508
+ delay: '0',
509
+ speed: 1.7,
510
+ isFade: false,
511
+ easing: 'ease-out',
512
+ zoomDirection: 'in',
513
+ scale: {
514
+ in: [
515
+ 100,
516
+ 120
517
+ ],
518
+ out: [
519
+ 100,
520
+ 80
521
+ ]
522
+ }
523
+ },
524
+ slide: {
525
+ delay: '0',
526
+ speed: 1.7,
527
+ easing: 'ease-out',
528
+ direction: 'left',
529
+ isCustomDistance: false
530
+ },
531
+ shake: {
532
+ delay: '0',
533
+ speed: 0.7,
534
+ loop: false,
535
+ intensity: 11,
536
+ easing: 'linear'
537
+ }
538
+ }
539
+ }
540
+ }
541
+ }
542
+ },
543
+ priceType: 'compare'
544
+ }
329
545
  }
330
546
  ],
331
547
  label: 'Block',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.552",
3
+ "version": "2.0.0-dev.554",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -23,7 +23,7 @@
23
23
  "update-img-src-3rd": "node ./scripts/update-img-src-3rd.js"
24
24
  },
25
25
  "devDependencies": {
26
- "@gem-sdk/core": "2.0.0-dev.540",
26
+ "@gem-sdk/core": "2.0.0-dev.553",
27
27
  "@gem-sdk/styles": "2.0.0-dev.535",
28
28
  "@gem-sdk/system": "2.0.0-dev.504",
29
29
  "@types/react-transition-group": "^4.4.5"