@developer_tribe/react-builder 0.1.0 → 0.1.4

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 (137) hide show
  1. package/dist/build-components/Button/Button.d.ts +2 -2
  2. package/dist/build-components/Carousel/Carousel.d.ts +2 -2
  3. package/dist/build-components/CarouselButtons/CarouselButtons.d.ts +2 -2
  4. package/dist/build-components/CarouselDots/CarouselDots.d.ts +2 -2
  5. package/dist/build-components/CarouselItem/CarouselItem.d.ts +2 -2
  6. package/dist/build-components/CarouselProvider/CarouselProvider.d.ts +2 -2
  7. package/dist/build-components/Image/Image.d.ts +2 -2
  8. package/dist/build-components/Onboard/Onboard.d.ts +2 -2
  9. package/dist/build-components/OnboardBoardTitle/OnboardBoardTitle.d.ts +2 -2
  10. package/dist/build-components/OnboardButton/OnboardButton.d.ts +2 -2
  11. package/dist/build-components/OnboardButtons/OnboardButtons.d.ts +2 -2
  12. package/dist/build-components/OnboardExpandingDot/OnboardExpandingDot.d.ts +2 -2
  13. package/dist/build-components/OnboardFooter/OnboardFooter.d.ts +2 -2
  14. package/dist/build-components/OnboardImage/OnboardImage.d.ts +2 -2
  15. package/dist/build-components/OnboardItem/OnboardItem.d.ts +2 -2
  16. package/dist/build-components/OnboardProvider/OnboardProvider.d.ts +2 -2
  17. package/dist/build-components/OnboardSubtitle/OnboardSubtitle.d.ts +2 -2
  18. package/dist/build-components/RenderNode.generated.d.ts +1 -1
  19. package/dist/build-components/Text/Text.d.ts +2 -2
  20. package/dist/build-components/View/View.d.ts +2 -2
  21. package/dist/build-components/other.d.ts +3 -0
  22. package/dist/utils/generateRandomKeyForNode.d.ts +1 -0
  23. package/package.json +12 -5
  24. package/scripts/prebuild/build-components.js +528 -0
  25. package/scripts/prebuild/prebuild.js +11 -0
  26. package/scripts/public/bin.js +57 -0
  27. package/scripts/public/scripts/build/index.js +31 -0
  28. package/scripts/public/scripts/build/info.json +11 -0
  29. package/scripts/public/scripts/build/utils/checkFolderAndFilesValid.js +41 -0
  30. package/scripts/public/scripts/build/utils/checkPathExists.js +9 -0
  31. package/scripts/public/scripts/build/utils/createMissingFoldersAndFiles.js +54 -0
  32. package/scripts/public/scripts/build/utils/createRenderNodeGenerated.js +82 -0
  33. package/scripts/public/scripts/build/utils/getAllComponents.js +11 -0
  34. package/src/AttributesEditor.tsx +107 -0
  35. package/src/RenderMainNode.tsx +37 -0
  36. package/src/RenderPage.tsx +61 -0
  37. package/src/assets/devices.json +730 -0
  38. package/src/assets/samples/carousel-sample.json +108 -0
  39. package/src/assets/samples/getSamples.ts +28 -0
  40. package/src/assets/samples/simple-1.json +46 -0
  41. package/src/assets/samples/simple-2.json +233 -0
  42. package/src/assets/samples/vpn-onboard-1.json +799 -0
  43. package/src/assets/samples/vpn-onboard-2.json +790 -0
  44. package/src/assets/samples/vpn-onboard-3.json +803 -0
  45. package/src/assets/samples/vpn-onboard-4.json +804 -0
  46. package/src/build-components/Button/Button.tsx +13 -0
  47. package/src/build-components/Button/ButtonProps.generated.ts +21 -0
  48. package/src/build-components/Button/pattern.json +25 -0
  49. package/src/build-components/Carousel/Carousel.tsx +27 -0
  50. package/src/build-components/Carousel/CarouselProps.generated.ts +6 -0
  51. package/src/build-components/Carousel/pattern.json +9 -0
  52. package/src/build-components/CarouselButtons/CarouselButtons.tsx +47 -0
  53. package/src/build-components/CarouselButtons/CarouselButtonsProps.generated.ts +9 -0
  54. package/src/build-components/CarouselButtons/pattern.json +12 -0
  55. package/src/build-components/CarouselDots/CarouselDots.tsx +40 -0
  56. package/src/build-components/CarouselDots/CarouselDotsProps.generated.ts +14 -0
  57. package/src/build-components/CarouselDots/pattern.json +18 -0
  58. package/src/build-components/CarouselItem/CarouselItem.tsx +18 -0
  59. package/src/build-components/CarouselItem/CarouselItemProps.generated.ts +6 -0
  60. package/src/build-components/CarouselItem/pattern.json +9 -0
  61. package/src/build-components/CarouselProvider/CarouselProvider.tsx +26 -0
  62. package/src/build-components/CarouselProvider/CarouselProviderProps.generated.ts +6 -0
  63. package/src/build-components/CarouselProvider/pattern.json +9 -0
  64. package/src/build-components/Image/Image.tsx +35 -0
  65. package/src/build-components/Image/ImageProps.generated.ts +12 -0
  66. package/src/build-components/Image/pattern.json +15 -0
  67. package/src/build-components/Onboard/Onboard.tsx +14 -0
  68. package/src/build-components/Onboard/OnboardProps.generated.ts +6 -0
  69. package/src/build-components/Onboard/pattern.json +9 -0
  70. package/src/build-components/OnboardBoardTitle/OnboardBoardTitle.tsx +28 -0
  71. package/src/build-components/OnboardBoardTitle/OnboardBoardTitleProps.generated.ts +21 -0
  72. package/src/build-components/OnboardBoardTitle/pattern.json +25 -0
  73. package/src/build-components/OnboardButton/OnboardButton.tsx +59 -0
  74. package/src/build-components/OnboardButton/OnboardButtonProps.generated.ts +13 -0
  75. package/src/build-components/OnboardButton/pattern.json +16 -0
  76. package/src/build-components/OnboardButtons/OnboardButtons.tsx +76 -0
  77. package/src/build-components/OnboardButtons/OnboardButtonsProps.generated.ts +12 -0
  78. package/src/build-components/OnboardButtons/pattern.json +15 -0
  79. package/src/build-components/OnboardExpandingDot/OnboardExpandingDot.tsx +14 -0
  80. package/src/build-components/OnboardExpandingDot/OnboardExpandingDotProps.generated.ts +14 -0
  81. package/src/build-components/OnboardExpandingDot/pattern.json +18 -0
  82. package/src/build-components/OnboardFooter/OnboardFooter.tsx +13 -0
  83. package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +24 -0
  84. package/src/build-components/OnboardFooter/pattern.json +28 -0
  85. package/src/build-components/OnboardImage/OnboardImage.tsx +14 -0
  86. package/src/build-components/OnboardImage/OnboardImageProps.generated.ts +12 -0
  87. package/src/build-components/OnboardImage/pattern.json +15 -0
  88. package/src/build-components/OnboardItem/OnboardItem.tsx +29 -0
  89. package/src/build-components/OnboardItem/OnboardItemProps.generated.ts +6 -0
  90. package/src/build-components/OnboardItem/pattern.json +9 -0
  91. package/src/build-components/OnboardProvider/OnboardProvider.tsx +65 -0
  92. package/src/build-components/OnboardProvider/OnboardProviderProps.generated.ts +6 -0
  93. package/src/build-components/OnboardProvider/pattern.json +9 -0
  94. package/src/build-components/OnboardSubtitle/OnboardSubtitle.tsx +28 -0
  95. package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +21 -0
  96. package/src/build-components/OnboardSubtitle/pattern.json +25 -0
  97. package/src/build-components/RenderNode.generated.tsx +97 -0
  98. package/src/build-components/Text/Text.tsx +23 -0
  99. package/src/build-components/Text/TextProps.generated.ts +21 -0
  100. package/src/build-components/Text/pattern.json +26 -0
  101. package/src/build-components/View/View.tsx +62 -0
  102. package/src/build-components/View/ViewProps.generated.ts +24 -0
  103. package/src/build-components/View/pattern.json +28 -0
  104. package/src/build-components/other.ts +6 -0
  105. package/src/index.ts +24 -0
  106. package/src/styles/index.scss +114 -0
  107. package/src/types/Device.ts +12 -0
  108. package/src/types/Node.ts +19 -0
  109. package/src/types/PreviewConfig.ts +19 -0
  110. package/src/types/Project.ts +11 -0
  111. package/src/types/TargetedScreenSize.ts +4 -0
  112. package/src/utils/analyseNode.ts +77 -0
  113. package/src/utils/generateRandomKeyForNode.ts +3 -0
  114. package/src/utils/getDevices.ts +6 -0
  115. package/src/utils/isCarousel.ts +36 -0
  116. package/src/utils/isOnboard.ts +54 -0
  117. package/src/utils/novaToJson.ts +253 -0
  118. package/src/utils/patterns.ts +63 -0
  119. package/dist/build-components/Button/ButtonProps.d.ts +0 -3
  120. package/dist/build-components/Carousel/CarouselProps.d.ts +0 -3
  121. package/dist/build-components/CarouselButtons/CarouselButtonsProps.d.ts +0 -3
  122. package/dist/build-components/CarouselDots/CarouselDotsProps.d.ts +0 -3
  123. package/dist/build-components/CarouselItem/CarouselItemProps.d.ts +0 -3
  124. package/dist/build-components/CarouselProvider/CarouselProviderProps.d.ts +0 -3
  125. package/dist/build-components/Image/ImageProps.d.ts +0 -3
  126. package/dist/build-components/Onboard/OnboardProps.d.ts +0 -3
  127. package/dist/build-components/OnboardBoardTitle/OnboardBoardTitleProps.d.ts +0 -3
  128. package/dist/build-components/OnboardButton/OnboardButtonProps.d.ts +0 -3
  129. package/dist/build-components/OnboardButtons/OnboardButtonsProps.d.ts +0 -3
  130. package/dist/build-components/OnboardExpandingDot/OnboardExpandingDotProps.d.ts +0 -3
  131. package/dist/build-components/OnboardFooter/OnboardFooterProps.d.ts +0 -3
  132. package/dist/build-components/OnboardImage/OnboardImageProps.d.ts +0 -3
  133. package/dist/build-components/OnboardItem/OnboardItemProps.d.ts +0 -3
  134. package/dist/build-components/OnboardProvider/OnboardProviderProps.d.ts +0 -3
  135. package/dist/build-components/OnboardSubtitle/OnboardSubtitleProps.d.ts +0 -3
  136. package/dist/build-components/Text/TextProps.d.ts +0 -3
  137. package/dist/build-components/View/ViewProps.d.ts +0 -3
@@ -0,0 +1,730 @@
1
+ [
2
+ {
3
+ "name": "iphone 12",
4
+ "platform": "ios",
5
+ "width": 390,
6
+ "height": 844,
7
+ "type": "phone",
8
+ "importance": 1
9
+ },
10
+ {
11
+ "name": "iphone 12 pro",
12
+ "platform": "ios",
13
+ "width": 390,
14
+ "height": 844,
15
+ "type": "phone",
16
+ "importance": 1
17
+ },
18
+ {
19
+ "name": "iphone 13",
20
+ "platform": "ios",
21
+ "width": 390,
22
+ "height": 844,
23
+ "type": "phone",
24
+ "importance": 1
25
+ },
26
+ {
27
+ "name": "iphone 13 pro",
28
+ "platform": "ios",
29
+ "width": 390,
30
+ "height": 844,
31
+ "type": "phone",
32
+ "importance": 1
33
+ },
34
+ {
35
+ "name": "iphone 14",
36
+ "platform": "ios",
37
+ "width": 390,
38
+ "height": 844,
39
+ "type": "phone",
40
+ "importance": 1
41
+ },
42
+ {
43
+ "name": "iphone 14 pro",
44
+ "platform": "ios",
45
+ "width": 393,
46
+ "height": 852,
47
+ "type": "phone",
48
+ "importance": 1
49
+ },
50
+ {
51
+ "name": "iphone 15",
52
+ "platform": "ios",
53
+ "width": 393,
54
+ "height": 852,
55
+ "type": "phone",
56
+ "importance": 1
57
+ },
58
+ {
59
+ "name": "iphone 15 pro",
60
+ "platform": "ios",
61
+ "width": 393,
62
+ "height": 852,
63
+ "type": "phone",
64
+ "importance": 1
65
+ },
66
+ {
67
+ "name": "pixel 3 xl",
68
+ "platform": "android",
69
+ "width": 412,
70
+ "height": 847,
71
+ "type": "phone",
72
+ "importance": 1
73
+ },
74
+ {
75
+ "name": "pixel 4 xl",
76
+ "platform": "android",
77
+ "width": 412,
78
+ "height": 869,
79
+ "type": "phone",
80
+ "importance": 1
81
+ },
82
+ {
83
+ "name": "pixel 6",
84
+ "platform": "android",
85
+ "width": 412,
86
+ "height": 915,
87
+ "type": "phone",
88
+ "importance": 1
89
+ },
90
+ {
91
+ "name": "pixel 6 pro",
92
+ "platform": "android",
93
+ "width": 412,
94
+ "height": 892,
95
+ "type": "phone",
96
+ "importance": 1
97
+ },
98
+ {
99
+ "name": "pixel 7",
100
+ "platform": "android",
101
+ "width": 412,
102
+ "height": 915,
103
+ "type": "phone",
104
+ "importance": 1
105
+ },
106
+ {
107
+ "name": "pixel 7 pro",
108
+ "platform": "android",
109
+ "width": 412,
110
+ "height": 892,
111
+ "type": "phone",
112
+ "importance": 1
113
+ },
114
+ {
115
+ "name": "pixel 8",
116
+ "platform": "android",
117
+ "width": 412,
118
+ "height": 915,
119
+ "type": "phone",
120
+ "importance": 1
121
+ },
122
+ {
123
+ "name": "pixel 8 pro",
124
+ "platform": "android",
125
+ "width": 412,
126
+ "height": 919,
127
+ "type": "phone",
128
+ "importance": 1
129
+ },
130
+ {
131
+ "name": "galaxy s8",
132
+ "platform": "android",
133
+ "width": 360,
134
+ "height": 740,
135
+ "type": "phone",
136
+ "importance": 1
137
+ },
138
+ {
139
+ "name": "galaxy s8+",
140
+ "platform": "android",
141
+ "width": 360,
142
+ "height": 740,
143
+ "type": "phone",
144
+ "importance": 1
145
+ },
146
+ {
147
+ "name": "galaxy s9",
148
+ "platform": "android",
149
+ "width": 360,
150
+ "height": 740,
151
+ "type": "phone",
152
+ "importance": 1
153
+ },
154
+ {
155
+ "name": "galaxy s9+",
156
+ "platform": "android",
157
+ "width": 360,
158
+ "height": 740,
159
+ "type": "phone",
160
+ "importance": 1
161
+ },
162
+ {
163
+ "name": "galaxy s10",
164
+ "platform": "android",
165
+ "width": 360,
166
+ "height": 760,
167
+ "type": "phone",
168
+ "importance": 1
169
+ },
170
+ {
171
+ "name": "galaxy s10+",
172
+ "platform": "android",
173
+ "width": 412,
174
+ "height": 869,
175
+ "type": "phone",
176
+ "importance": 1
177
+ },
178
+ {
179
+ "name": "galaxy s20",
180
+ "platform": "android",
181
+ "width": 360,
182
+ "height": 800,
183
+ "type": "phone",
184
+ "importance": 1
185
+ },
186
+ {
187
+ "name": "galaxy s20+",
188
+ "platform": "android",
189
+ "width": 412,
190
+ "height": 915,
191
+ "type": "phone",
192
+ "importance": 1
193
+ },
194
+ {
195
+ "name": "galaxy s20 ultra",
196
+ "platform": "android",
197
+ "width": 412,
198
+ "height": 915,
199
+ "type": "phone",
200
+ "importance": 1
201
+ },
202
+ {
203
+ "name": "galaxy s21",
204
+ "platform": "android",
205
+ "width": 360,
206
+ "height": 800,
207
+ "type": "phone",
208
+ "importance": 1
209
+ },
210
+ {
211
+ "name": "galaxy s21+",
212
+ "platform": "android",
213
+ "width": 412,
214
+ "height": 915,
215
+ "type": "phone",
216
+ "importance": 1
217
+ },
218
+ {
219
+ "name": "galaxy s21 ultra",
220
+ "platform": "android",
221
+ "width": 412,
222
+ "height": 915,
223
+ "type": "phone",
224
+ "importance": 1
225
+ },
226
+ {
227
+ "name": "galaxy s22",
228
+ "platform": "android",
229
+ "width": 360,
230
+ "height": 780,
231
+ "type": "phone",
232
+ "importance": 1
233
+ },
234
+ {
235
+ "name": "galaxy s22+",
236
+ "platform": "android",
237
+ "width": 412,
238
+ "height": 915,
239
+ "type": "phone",
240
+ "importance": 1
241
+ },
242
+ {
243
+ "name": "galaxy s22 ultra",
244
+ "platform": "android",
245
+ "width": 412,
246
+ "height": 915,
247
+ "type": "phone",
248
+ "importance": 1
249
+ },
250
+ {
251
+ "name": "galaxy s23",
252
+ "platform": "android",
253
+ "width": 360,
254
+ "height": 780,
255
+ "type": "phone",
256
+ "importance": 1
257
+ },
258
+ {
259
+ "name": "galaxy s23+",
260
+ "platform": "android",
261
+ "width": 412,
262
+ "height": 915,
263
+ "type": "phone",
264
+ "importance": 1
265
+ },
266
+ {
267
+ "name": "galaxy s23 ultra",
268
+ "platform": "android",
269
+ "width": 412,
270
+ "height": 915,
271
+ "type": "phone",
272
+ "importance": 1
273
+ },
274
+ {
275
+ "name": "oneplus 8",
276
+ "platform": "android",
277
+ "width": 412,
278
+ "height": 915,
279
+ "type": "phone",
280
+ "importance": 1
281
+ },
282
+ {
283
+ "name": "oneplus 8 pro",
284
+ "platform": "android",
285
+ "width": 412,
286
+ "height": 915,
287
+ "type": "phone",
288
+ "importance": 1
289
+ },
290
+ {
291
+ "name": "oneplus 9",
292
+ "platform": "android",
293
+ "width": 412,
294
+ "height": 915,
295
+ "type": "phone",
296
+ "importance": 1
297
+ },
298
+ {
299
+ "name": "oneplus 9 pro",
300
+ "platform": "android",
301
+ "width": 412,
302
+ "height": 915,
303
+ "type": "phone",
304
+ "importance": 1
305
+ },
306
+ {
307
+ "name": "xiaomi mi 11",
308
+ "platform": "android",
309
+ "width": 412,
310
+ "height": 915,
311
+ "type": "phone",
312
+ "importance": 1
313
+ },
314
+ {
315
+ "name": "huawei p30",
316
+ "platform": "android",
317
+ "width": 360,
318
+ "height": 750,
319
+ "type": "phone",
320
+ "importance": 1
321
+ },
322
+ {
323
+ "name": "huawei p30 pro",
324
+ "platform": "android",
325
+ "width": 360,
326
+ "height": 780,
327
+ "type": "phone",
328
+ "importance": 1
329
+ },
330
+ {
331
+ "name": "oppo find x3 pro",
332
+ "platform": "android",
333
+ "width": 412,
334
+ "height": 915,
335
+ "type": "phone",
336
+ "importance": 1
337
+ },
338
+ {
339
+ "name": "iphone 6 plus",
340
+ "platform": "ios",
341
+ "width": 414,
342
+ "height": 736,
343
+ "type": "phone",
344
+ "importance": 2
345
+ },
346
+ {
347
+ "name": "iphone 6s plus",
348
+ "platform": "ios",
349
+ "width": 414,
350
+ "height": 736,
351
+ "type": "phone",
352
+ "importance": 2
353
+ },
354
+ {
355
+ "name": "iphone 7 plus",
356
+ "platform": "ios",
357
+ "width": 414,
358
+ "height": 736,
359
+ "type": "phone",
360
+ "importance": 2
361
+ },
362
+ {
363
+ "name": "iphone 8 plus",
364
+ "platform": "ios",
365
+ "width": 414,
366
+ "height": 736,
367
+ "type": "phone",
368
+ "importance": 2
369
+ },
370
+ {
371
+ "name": "iphone xs max",
372
+ "platform": "ios",
373
+ "width": 414,
374
+ "height": 896,
375
+ "type": "phone",
376
+ "importance": 2
377
+ },
378
+ {
379
+ "name": "iphone xr",
380
+ "platform": "ios",
381
+ "width": 414,
382
+ "height": 896,
383
+ "type": "phone",
384
+ "importance": 2
385
+ },
386
+ {
387
+ "name": "iphone 11",
388
+ "platform": "ios",
389
+ "width": 414,
390
+ "height": 896,
391
+ "type": "phone",
392
+ "importance": 2
393
+ },
394
+ {
395
+ "name": "iphone 11 pro max",
396
+ "platform": "ios",
397
+ "width": 414,
398
+ "height": 896,
399
+ "type": "phone",
400
+ "importance": 2
401
+ },
402
+ {
403
+ "name": "iphone 12 pro max",
404
+ "platform": "ios",
405
+ "width": 428,
406
+ "height": 926,
407
+ "type": "phone",
408
+ "importance": 2
409
+ },
410
+ {
411
+ "name": "iphone 13 pro max",
412
+ "platform": "ios",
413
+ "width": 428,
414
+ "height": 926,
415
+ "type": "phone",
416
+ "importance": 2
417
+ },
418
+ {
419
+ "name": "iphone 14 plus",
420
+ "platform": "ios",
421
+ "width": 428,
422
+ "height": 926,
423
+ "type": "phone",
424
+ "importance": 2
425
+ },
426
+ {
427
+ "name": "iphone 14 pro max",
428
+ "platform": "ios",
429
+ "width": 430,
430
+ "height": 932,
431
+ "type": "phone",
432
+ "importance": 2
433
+ },
434
+ {
435
+ "name": "iphone 15 plus",
436
+ "platform": "ios",
437
+ "width": 430,
438
+ "height": 932,
439
+ "type": "phone",
440
+ "importance": 2
441
+ },
442
+ {
443
+ "name": "iphone 15 pro max",
444
+ "platform": "ios",
445
+ "width": 430,
446
+ "height": 932,
447
+ "type": "phone",
448
+ "importance": 2
449
+ },
450
+ {
451
+ "name": "pixel 2",
452
+ "platform": "android",
453
+ "width": 411,
454
+ "height": 731,
455
+ "type": "phone",
456
+ "importance": 2
457
+ },
458
+ {
459
+ "name": "pixel 2 xl",
460
+ "platform": "android",
461
+ "width": 411,
462
+ "height": 823,
463
+ "type": "phone",
464
+ "importance": 2
465
+ },
466
+ {
467
+ "name": "pixel 3",
468
+ "platform": "android",
469
+ "width": 393,
470
+ "height": 786,
471
+ "type": "phone",
472
+ "importance": 2
473
+ },
474
+ {
475
+ "name": "pixel 4",
476
+ "platform": "android",
477
+ "width": 411,
478
+ "height": 869,
479
+ "type": "phone",
480
+ "importance": 2
481
+ },
482
+ {
483
+ "name": "pixel 5",
484
+ "platform": "android",
485
+ "width": 393,
486
+ "height": 851,
487
+ "type": "phone",
488
+ "importance": 2
489
+ },
490
+ {
491
+ "name": "xiaomi mi 9",
492
+ "platform": "android",
493
+ "width": 393,
494
+ "height": 851,
495
+ "type": "phone",
496
+ "importance": 2
497
+ },
498
+ {
499
+ "name": "iphone 6",
500
+ "platform": "ios",
501
+ "width": 375,
502
+ "height": 667,
503
+ "type": "phone",
504
+ "importance": 3
505
+ },
506
+ {
507
+ "name": "iphone 6s",
508
+ "platform": "ios",
509
+ "width": 375,
510
+ "height": 667,
511
+ "type": "phone",
512
+ "importance": 3
513
+ },
514
+ {
515
+ "name": "iphone 7",
516
+ "platform": "ios",
517
+ "width": 375,
518
+ "height": 667,
519
+ "type": "phone",
520
+ "importance": 3
521
+ },
522
+ {
523
+ "name": "iphone 8",
524
+ "platform": "ios",
525
+ "width": 375,
526
+ "height": 667,
527
+ "type": "phone",
528
+ "importance": 3
529
+ },
530
+ {
531
+ "name": "iphone x",
532
+ "platform": "ios",
533
+ "width": 375,
534
+ "height": 812,
535
+ "type": "phone",
536
+ "importance": 3
537
+ },
538
+ {
539
+ "name": "iphone xs",
540
+ "platform": "ios",
541
+ "width": 375,
542
+ "height": 812,
543
+ "type": "phone",
544
+ "importance": 3
545
+ },
546
+ {
547
+ "name": "iphone 11 pro",
548
+ "platform": "ios",
549
+ "width": 375,
550
+ "height": 812,
551
+ "type": "phone",
552
+ "importance": 3
553
+ },
554
+ {
555
+ "name": "iphone se (2nd gen)",
556
+ "platform": "ios",
557
+ "width": 375,
558
+ "height": 667,
559
+ "type": "phone",
560
+ "importance": 3
561
+ },
562
+ {
563
+ "name": "iphone se (3rd gen)",
564
+ "platform": "ios",
565
+ "width": 375,
566
+ "height": 667,
567
+ "type": "phone",
568
+ "importance": 3
569
+ },
570
+ {
571
+ "name": "iphone 12 mini",
572
+ "platform": "ios",
573
+ "width": 360,
574
+ "height": 780,
575
+ "type": "phone",
576
+ "importance": 4
577
+ },
578
+ {
579
+ "name": "iphone 13 mini",
580
+ "platform": "ios",
581
+ "width": 360,
582
+ "height": 780,
583
+ "type": "phone",
584
+ "importance": 4
585
+ },
586
+ {
587
+ "name": "iphone (1st gen)",
588
+ "platform": "ios",
589
+ "width": 320,
590
+ "height": 480,
591
+ "type": "phone",
592
+ "importance": 5
593
+ },
594
+ {
595
+ "name": "iphone 3g",
596
+ "platform": "ios",
597
+ "width": 320,
598
+ "height": 480,
599
+ "type": "phone",
600
+ "importance": 5
601
+ },
602
+ {
603
+ "name": "iphone 3gs",
604
+ "platform": "ios",
605
+ "width": 320,
606
+ "height": 480,
607
+ "type": "phone",
608
+ "importance": 5
609
+ },
610
+ {
611
+ "name": "iphone 4",
612
+ "platform": "ios",
613
+ "width": 320,
614
+ "height": 480,
615
+ "type": "phone",
616
+ "importance": 5
617
+ },
618
+ {
619
+ "name": "iphone 4s",
620
+ "platform": "ios",
621
+ "width": 320,
622
+ "height": 480,
623
+ "type": "phone",
624
+ "importance": 5
625
+ },
626
+ {
627
+ "name": "iphone 5",
628
+ "platform": "ios",
629
+ "width": 320,
630
+ "height": 568,
631
+ "type": "phone",
632
+ "importance": 5
633
+ },
634
+ {
635
+ "name": "iphone 5c",
636
+ "platform": "ios",
637
+ "width": 320,
638
+ "height": 568,
639
+ "type": "phone",
640
+ "importance": 5
641
+ },
642
+ {
643
+ "name": "iphone 5s",
644
+ "platform": "ios",
645
+ "width": 320,
646
+ "height": 568,
647
+ "type": "phone",
648
+ "importance": 5
649
+ },
650
+ {
651
+ "name": "iphone se (1st gen)",
652
+ "platform": "ios",
653
+ "width": 320,
654
+ "height": 568,
655
+ "type": "phone",
656
+ "importance": 5
657
+ },
658
+ {
659
+ "name": "nexus 7 (2013)",
660
+ "platform": "android",
661
+ "width": 600,
662
+ "height": 960,
663
+ "type": "tablet",
664
+ "importance": 5
665
+ },
666
+ {
667
+ "name": "nexus 9",
668
+ "platform": "android",
669
+ "width": 768,
670
+ "height": 1024,
671
+ "type": "tablet",
672
+ "importance": 5
673
+ },
674
+ {
675
+ "name": "pixel c",
676
+ "platform": "android",
677
+ "width": 900,
678
+ "height": 1280,
679
+ "type": "tablet",
680
+ "importance": 5
681
+ },
682
+ {
683
+ "name": "galaxy tab s6",
684
+ "platform": "android",
685
+ "width": 800,
686
+ "height": 1280,
687
+ "type": "tablet",
688
+ "importance": 5
689
+ },
690
+ {
691
+ "name": "galaxy tab s7",
692
+ "platform": "android",
693
+ "width": 800,
694
+ "height": 1280,
695
+ "type": "tablet",
696
+ "importance": 5
697
+ },
698
+ {
699
+ "name": "galaxy tab s8",
700
+ "platform": "android",
701
+ "width": 800,
702
+ "height": 1280,
703
+ "type": "tablet",
704
+ "importance": 5
705
+ },
706
+ {
707
+ "name": "galaxy tab a 10.1",
708
+ "platform": "android",
709
+ "width": 800,
710
+ "height": 1280,
711
+ "type": "tablet",
712
+ "importance": 5
713
+ },
714
+ {
715
+ "name": "lenovo tab p11",
716
+ "platform": "android",
717
+ "width": 800,
718
+ "height": 1280,
719
+ "type": "tablet",
720
+ "importance": 5
721
+ },
722
+ {
723
+ "name": "fire hd 10",
724
+ "platform": "android",
725
+ "width": 800,
726
+ "height": 1280,
727
+ "type": "tablet",
728
+ "importance": 5
729
+ }
730
+ ]