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