@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 verticalTwo = [
60
60
  }
61
61
  },
62
62
  tag: 'Text',
63
- uid: 'gM8g6bIPhc',
63
+ uid: 'g7Gsjncudx',
64
64
  childrens: []
65
65
  },
66
66
  {
@@ -119,7 +119,7 @@ const verticalTwo = [
119
119
  }
120
120
  },
121
121
  tag: 'Text',
122
- uid: 'gKf_DRU8mg',
122
+ uid: 'grA1-fUIZ6',
123
123
  childrens: [],
124
124
  advanced: {
125
125
  'spacing-setting': {
@@ -136,161 +136,149 @@ const verticalTwo = [
136
136
  settings: {},
137
137
  styles: {},
138
138
  tag: 'Col',
139
- uid: 'gUsNDh7fOr'
139
+ uid: 'gxgt_apNs3'
140
140
  },
141
141
  {
142
- uid: 'g7Le3WhxZn',
142
+ uid: 'gmzHnQEbIr',
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: 'gw_kZ5wf51',
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,192 @@ const verticalTwo = [
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
+ },
468
+ tablet: {
469
+ margin: {
470
+ bottom: '0px'
471
+ }
472
+ },
473
+ mobile: {
474
+ margin: {
475
+ bottom: '0px'
476
+ }
477
+ }
478
+ }
479
+ }
311
480
  },
312
481
  {
313
482
  childrens: [
@@ -559,14 +728,16 @@ const verticalTwo = [
559
728
  }
560
729
  },
561
730
  priceType: 'compare'
562
- }
731
+ },
732
+ uid: 'gCy64ANAyg',
733
+ childrens: []
563
734
  }
564
735
  ],
565
736
  label: 'Block',
566
737
  settings: {},
567
738
  styles: {},
568
739
  tag: 'Col',
569
- uid: 'gjH1W3Ljxp'
740
+ uid: 'gNivOIdIES'
570
741
  },
571
742
  {
572
743
  tag: 'Col',
@@ -602,11 +773,11 @@ const verticalTwo = [
602
773
  }
603
774
  },
604
775
  tag: 'ProductPrice',
605
- uid: 'gzGEbvnT3K',
776
+ uid: 'g6gUSBq8mG',
606
777
  childrens: []
607
778
  }
608
779
  ],
609
- uid: 'gNSAXKYuIB'
780
+ uid: 'gxpKB1p5Zq'
610
781
  }
611
782
  ],
612
783
  label: 'Row',
@@ -672,7 +843,7 @@ const verticalTwo = [
672
843
  }
673
844
  },
674
845
  tag: 'Row',
675
- uid: 'gkZXC79fdE',
846
+ uid: 'g9d3z_8DT4',
676
847
  advanced: {
677
848
  'spacing-setting': {
678
849
  desktop: {
@@ -747,7 +918,7 @@ const verticalTwo = [
747
918
  width: {}
748
919
  },
749
920
  tag: 'Row',
750
- uid: 'g8_-a9Ub8r'
921
+ uid: 'gJyBw8niWd'
751
922
  }
752
923
  ];
753
924
 
@@ -39,6 +39,10 @@ const product1Col = {
39
39
  },
40
40
  width: {
41
41
  desktop: '600px'
42
+ },
43
+ verticalGutterMobile: {
44
+ desktop: '32px',
45
+ mobile: '16px'
42
46
  }
43
47
  },
44
48
  childrens: [
@@ -291,6 +295,10 @@ const product1ColProductPage = {
291
295
  },
292
296
  width: {
293
297
  desktop: '600px'
298
+ },
299
+ verticalGutterMobile: {
300
+ desktop: '32px',
301
+ mobile: '16px'
294
302
  }
295
303
  },
296
304
  childrens: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.718",
3
+ "version": "2.0.0-dev.720",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -25,7 +25,7 @@
25
25
  "scan-all-text": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/scan-all-text && node ./scripts/scan-all-text"
26
26
  },
27
27
  "devDependencies": {
28
- "@gem-sdk/core": "2.0.0-dev.716",
28
+ "@gem-sdk/core": "2.0.0-dev.719",
29
29
  "@gem-sdk/styles": "2.0.0-dev.703",
30
30
  "@gem-sdk/system": "2.0.0-dev.695",
31
31
  "@types/react-transition-group": "^4.4.5",