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