@gem-sdk/components 2.0.0-dev.718 → 2.0.0-dev.720

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.
@@ -60,7 +60,7 @@ const verticalThree = [
60
60
  }
61
61
  },
62
62
  tag: 'Text',
63
- uid: 'gM8g6bIPhc',
63
+ uid: 'godgbN4jmg',
64
64
  childrens: []
65
65
  },
66
66
  {
@@ -119,7 +119,7 @@ const verticalThree = [
119
119
  }
120
120
  },
121
121
  tag: 'Text',
122
- uid: 'gKf_DRU8mg',
122
+ uid: 'g2DhS6UmRK',
123
123
  childrens: [],
124
124
  advanced: {
125
125
  'spacing-setting': {
@@ -136,161 +136,149 @@ const verticalThree = [
136
136
  settings: {},
137
137
  styles: {},
138
138
  tag: 'Col',
139
- uid: 'gUsNDh7fOr'
139
+ uid: 'gMkPFmgV5y'
140
140
  },
141
141
  {
142
- uid: 'g7Le3WhxZn',
142
+ uid: 'g6mN1dFWRS',
143
143
  tag: 'Col',
144
144
  label: 'Block',
145
145
  settings: {},
146
146
  childrens: [
147
147
  {
148
- advanced: {
149
- d: {
150
- desktop: true,
151
- mobile: true,
152
- tablet: true
153
- },
154
- editorData: {
155
- css: '.{{rootClassName}} > div > div{\nwidth:100%;\n}',
156
- rootClassName: '{{rootClassName}}'
157
- },
158
- hasBoxShadow: {
159
- desktop: {
160
- normal: false
161
- }
162
- },
163
- left: {
164
- desktop: '0px'
165
- },
166
- op: {
167
- desktop: '100%'
168
- },
169
- pos: {
170
- desktop: 'static'
171
- },
172
- right: {
173
- desktop: '0px'
174
- },
175
- rounded: {
176
- desktop: {
177
- normal: {
178
- bblr: '0px',
179
- bbrr: '0px',
180
- btlr: '0px',
181
- btrr: '0px',
182
- radiusType: 'none'
183
- }
184
- }
185
- },
186
- 'spacing-setting': {
187
- desktop: {
188
- margin: {
189
- bottom: '8px'
190
- }
191
- }
192
- },
193
- z: {
194
- desktop: 1
195
- }
196
- },
148
+ uid: 'gmWNX_9YGJ',
149
+ tag: 'ProductBadge',
197
150
  label: 'Product Badge',
198
151
  settings: {
199
- contentType: 'text',
200
- displayContent: 'SALE {percent_discount}',
201
- translate: 'displayContent',
202
152
  displayTrigger: [
203
153
  {
204
- conditionType: 'exact_or_above',
205
- from: '1',
206
- priority: 0,
154
+ triggerEvent: 'inventory_status',
155
+ type: 'in_stock',
207
156
  quantityType: 'exact_or_above',
157
+ from: '1',
208
158
  to: '15',
209
- triggerEvent: 'inventory_status',
210
- type: 'in_stock'
159
+ priority: 0,
160
+ conditionType: 'exact_or_above'
211
161
  }
212
162
  ],
213
163
  image: {
214
164
  src: 'https://cdn.shopify.com/s/files/1/0697/6182/7064/files/gempages_523190969722471488-fc9fecb6-26b8-4836-b417-2dfb9ea43bd5.png?v=1723733677'
215
165
  },
216
- positionWithImage: 'outside',
217
- shape: 'horizontal_rectangle'
166
+ shape: 'horizontal_rectangle',
167
+ displayContent: 'Sale {percent_discount} off',
168
+ translate: 'displayContent',
169
+ contentType: 'text',
170
+ positionWithImage: 'outside'
218
171
  },
219
172
  styles: {
220
- align: {
221
- desktop: 'left'
173
+ typo: {
174
+ type: 'paragraph-1',
175
+ attrs: {
176
+ color: '#121212'
177
+ }
222
178
  },
179
+ position: {
180
+ desktop: {
181
+ placement: 'top-left',
182
+ topGap: '0',
183
+ leftGap: '0',
184
+ bottomGap: '0',
185
+ rightGap: '0'
186
+ }
187
+ },
188
+ badgeColor: '#FF614C',
223
189
  badgeColorV2: {
224
190
  desktop: {
225
191
  normal: '#FF614C'
226
192
  }
227
193
  },
228
- borderRadius: {
229
- bblr: '0px',
230
- bbrr: '0px',
231
- btlr: '0px',
232
- btrr: '0px',
233
- radiusType: 'custom'
234
- },
235
- hasShadow: false,
236
- imageSize: {
194
+ textColor: 'text-3',
195
+ textBadgeBorder: {
237
196
  desktop: {
238
- disableShapeLinked: true,
239
- height: 'auto',
240
- shape: 'original',
241
- shapeLinked: true,
242
- width: '20%'
197
+ normal: {
198
+ borderType: 'none',
199
+ border: 'none',
200
+ borderWidth: '1px',
201
+ width: '1px 1px 1px 1px',
202
+ color: '#121212',
203
+ isCustom: true
204
+ },
205
+ hover: {
206
+ borderType: 'none',
207
+ border: 'none',
208
+ borderWidth: '1px',
209
+ width: '1px 1px 1px 1px',
210
+ color: '#121212',
211
+ isCustom: true
212
+ }
243
213
  }
244
214
  },
245
- position: {
215
+ imageBadgeBorder: {
246
216
  desktop: {
247
- bottomGap: '0',
248
- leftGap: '0',
249
- placement: 'top-left',
250
- rightGap: '0',
251
- topGap: '0'
217
+ normal: {
218
+ borderType: 'none',
219
+ border: 'none',
220
+ borderWidth: '1px',
221
+ width: '1px 1px 1px 1px',
222
+ color: '#121212',
223
+ isCustom: true
224
+ },
225
+ hover: {
226
+ borderType: 'none',
227
+ border: 'none',
228
+ borderWidth: '1px',
229
+ width: '1px 1px 1px 1px',
230
+ color: '#121212',
231
+ isCustom: true
232
+ }
252
233
  }
253
234
  },
254
- shapeShadow: {
255
- angle: 90,
256
- blur: '12px',
257
- color: '#121212',
258
- distance: '4px',
259
- spread: '0px',
260
- type: 'shadow-1'
235
+ borderRadius: {
236
+ btrr: '3px',
237
+ bblr: '3px',
238
+ bbrr: '3px',
239
+ btlr: '3px',
240
+ radiusType: 'custom'
261
241
  },
262
- textColor: 'text-3',
263
- textSize: {
242
+ textBadgeCorner: {
264
243
  desktop: {
265
- disableShapeLinked: true,
266
- gap: '',
267
- height: 'Auto',
268
- hiddenShape: true,
269
- padding: {
270
- bottom: '8px',
271
- left: '12px',
272
- right: '12px',
273
- top: '8px'
244
+ normal: {
245
+ btrr: '0px',
246
+ bblr: '0px',
247
+ bbrr: '0px',
248
+ btlr: '0px',
249
+ radiusType: 'none'
274
250
  },
275
- shape: 'custom',
276
- shapeLinked: false,
277
- width: '100%'
251
+ hover: {
252
+ btrr: '0px',
253
+ bblr: '0px',
254
+ bbrr: '0px',
255
+ btlr: '0px',
256
+ radiusType: 'none'
257
+ }
278
258
  }
279
259
  },
280
- typo: {
281
- attrs: {
282
- color: 'text-3'
283
- },
284
- custom: {
285
- fontSize: {
286
- desktop: '15px'
260
+ imageBadgeCorner: {
261
+ desktop: {
262
+ normal: {
263
+ btrr: '0px',
264
+ bblr: '0px',
265
+ bbrr: '0px',
266
+ btlr: '0px',
267
+ radiusType: 'none'
268
+ },
269
+ hover: {
270
+ btrr: '0px',
271
+ bblr: '0px',
272
+ bbrr: '0px',
273
+ btlr: '0px',
274
+ radiusType: 'none'
287
275
  }
288
- },
289
- type: 'paragraph-1'
276
+ }
290
277
  },
278
+ hasShadow: false,
291
279
  textSizeV2: {
292
280
  desktop: {
293
- width: 'Auto',
281
+ width: 'auto',
294
282
  height: 'auto',
295
283
  shapeLinked: false,
296
284
  disableShapeLinked: true,
@@ -303,11 +291,193 @@ const verticalThree = [
303
291
  right: '12px'
304
292
  }
305
293
  }
294
+ },
295
+ imageSizeV2: {
296
+ desktop: {
297
+ width: '20%',
298
+ height: 'auto',
299
+ shapeLinked: true,
300
+ hiddenShape: false,
301
+ shape: 'original',
302
+ disableShapeLinked: true
303
+ }
304
+ },
305
+ align: {
306
+ desktop: 'right'
307
+ },
308
+ shapeShadow: {
309
+ type: 'shadow-1',
310
+ distance: '4px',
311
+ blur: '12px',
312
+ spread: '0px',
313
+ color: '#121212',
314
+ angle: 90
315
+ },
316
+ textBadgeShadow: {
317
+ desktop: {
318
+ normal: {}
319
+ }
320
+ },
321
+ imageBadgeShadow: {
322
+ desktop: {
323
+ normal: {}
324
+ }
306
325
  }
307
326
  },
308
- tag: 'ProductBadge',
309
- uid: 'gXAaVIfN3P',
310
- childrens: []
327
+ advanced: {
328
+ d: {
329
+ desktop: true,
330
+ tablet: true,
331
+ mobile: true
332
+ },
333
+ border: {
334
+ desktop: {
335
+ normal: {
336
+ borderType: 'none',
337
+ border: 'none',
338
+ borderWidth: '1px',
339
+ width: '1px 1px 1px 1px',
340
+ color: '#121212',
341
+ isCustom: true
342
+ }
343
+ }
344
+ },
345
+ rounded: {
346
+ desktop: {
347
+ normal: {
348
+ btrr: '0px',
349
+ bblr: '0px',
350
+ bbrr: '0px',
351
+ btlr: '0px',
352
+ radiusType: 'none'
353
+ }
354
+ }
355
+ },
356
+ hasBoxShadow: {
357
+ desktop: {
358
+ normal: false
359
+ }
360
+ },
361
+ boxShadow: {
362
+ desktop: {
363
+ normal: {}
364
+ }
365
+ },
366
+ op: {
367
+ desktop: '100%'
368
+ },
369
+ animation: {
370
+ desktop: {
371
+ enabled: false,
372
+ trigger: 'appear',
373
+ triggerConfig: {
374
+ appear: {
375
+ animation: 'fade',
376
+ setting: {
377
+ fade: {
378
+ delay: '0',
379
+ speed: 1.7,
380
+ easing: 'ease-out'
381
+ },
382
+ zoom: {
383
+ delay: '0',
384
+ speed: 1.7,
385
+ isFade: true,
386
+ easing: 'ease-out',
387
+ zoomDirection: 'in',
388
+ scale: {
389
+ in: [
390
+ 80,
391
+ 100
392
+ ],
393
+ out: [
394
+ 120,
395
+ 100
396
+ ]
397
+ }
398
+ },
399
+ slide: {
400
+ delay: '0',
401
+ speed: 1.7,
402
+ easing: 'ease-out',
403
+ direction: 'left',
404
+ isCustomDistance: false
405
+ },
406
+ shake: {
407
+ delay: '0',
408
+ speed: 0.7,
409
+ loop: false,
410
+ intensity: 11,
411
+ easing: 'linear'
412
+ }
413
+ }
414
+ },
415
+ hover: {
416
+ animation: 'none',
417
+ setting: {
418
+ fade: {
419
+ delay: '0',
420
+ speed: 1.7,
421
+ easing: 'ease-out'
422
+ },
423
+ zoom: {
424
+ delay: '0',
425
+ speed: 1.7,
426
+ isFade: false,
427
+ easing: 'ease-out',
428
+ zoomDirection: 'in',
429
+ scale: {
430
+ in: [
431
+ 100,
432
+ 120
433
+ ],
434
+ out: [
435
+ 100,
436
+ 80
437
+ ]
438
+ }
439
+ },
440
+ slide: {
441
+ delay: '0',
442
+ speed: 1.7,
443
+ easing: 'ease-out',
444
+ direction: 'left',
445
+ isCustomDistance: false
446
+ },
447
+ shake: {
448
+ delay: '0',
449
+ speed: 0.7,
450
+ loop: false,
451
+ intensity: 11,
452
+ easing: 'linear'
453
+ }
454
+ }
455
+ }
456
+ }
457
+ }
458
+ },
459
+ 'spacing-setting': {
460
+ edited: [
461
+ 'desktop'
462
+ ],
463
+ desktop: {
464
+ margin: {
465
+ bottom: '0px'
466
+ },
467
+ link: false
468
+ },
469
+ tablet: {
470
+ margin: {
471
+ bottom: '0px'
472
+ }
473
+ },
474
+ mobile: {
475
+ margin: {
476
+ bottom: '0px'
477
+ }
478
+ }
479
+ }
480
+ }
311
481
  },
312
482
  {
313
483
  childrens: [
@@ -559,14 +729,16 @@ const verticalThree = [
559
729
  }
560
730
  },
561
731
  priceType: 'compare'
562
- }
732
+ },
733
+ uid: 'gLhCbsXpVC',
734
+ childrens: []
563
735
  }
564
736
  ],
565
737
  label: 'Block',
566
738
  settings: {},
567
739
  styles: {},
568
740
  tag: 'Col',
569
- uid: 'gjH1W3Ljxp'
741
+ uid: 'gN16E_m65q'
570
742
  },
571
743
  {
572
744
  tag: 'Col',
@@ -602,11 +774,11 @@ const verticalThree = [
602
774
  }
603
775
  },
604
776
  tag: 'ProductPrice',
605
- uid: 'gzGEbvnT3K',
777
+ uid: 'geI0yJ5vya',
606
778
  childrens: []
607
779
  }
608
780
  ],
609
- uid: 'gNSAXKYuIB'
781
+ uid: 'g5Ae3_ghD4'
610
782
  }
611
783
  ],
612
784
  label: 'Row',
@@ -672,7 +844,7 @@ const verticalThree = [
672
844
  }
673
845
  },
674
846
  tag: 'Row',
675
- uid: 'gkZXC79fdE',
847
+ uid: 'grH2p9Ef3R',
676
848
  advanced: {
677
849
  'spacing-setting': {
678
850
  desktop: {
@@ -747,7 +919,7 @@ const verticalThree = [
747
919
  width: {}
748
920
  },
749
921
  tag: 'Row',
750
- uid: 'g8_-a9Ub8r'
922
+ uid: 'g3DN13uD09'
751
923
  }
752
924
  ];
753
925