storybook-device-viewports 0.0.1 → 0.1.0

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.
@@ -0,0 +1,493 @@
1
+ //#region src/apple/tablet.d.ts
2
+ declare const IPAD_PRO_VIEWPORTS: {
3
+ readonly ipadPro13_7th: {
4
+ readonly name: "iPad Pro 13 (7th Gen, 2024)";
5
+ readonly styles: {
6
+ readonly width: "1032px";
7
+ readonly height: "1376px";
8
+ };
9
+ readonly type: "tablet";
10
+ };
11
+ readonly ipadPro11_7th: {
12
+ readonly name: "iPad Pro 11 (7th Gen, 2024)";
13
+ readonly styles: {
14
+ readonly width: "834px";
15
+ readonly height: "1210px";
16
+ };
17
+ readonly type: "tablet";
18
+ };
19
+ readonly ipadPro12_9_6th: {
20
+ readonly name: "iPad Pro 12.9 (6th Gen, 2022)";
21
+ readonly styles: {
22
+ readonly width: "1024px";
23
+ readonly height: "1366px";
24
+ };
25
+ readonly type: "tablet";
26
+ };
27
+ readonly ipadPro11_6th: {
28
+ readonly name: "iPad Pro 11 (6th Gen, 2022)";
29
+ readonly styles: {
30
+ readonly width: "834px";
31
+ readonly height: "1194px";
32
+ };
33
+ readonly type: "tablet";
34
+ };
35
+ readonly ipadPro12_9_5th: {
36
+ readonly name: "iPad Pro 12.9 (5th Gen, 2021)";
37
+ readonly styles: {
38
+ readonly width: "1024px";
39
+ readonly height: "1366px";
40
+ };
41
+ readonly type: "tablet";
42
+ };
43
+ readonly ipadPro11_5th: {
44
+ readonly name: "iPad Pro 11 (5th Gen, 2021)";
45
+ readonly styles: {
46
+ readonly width: "834px";
47
+ readonly height: "1194px";
48
+ };
49
+ readonly type: "tablet";
50
+ };
51
+ readonly ipadPro12_9_4th: {
52
+ readonly name: "iPad Pro 12.9 (4th Gen, 2020)";
53
+ readonly styles: {
54
+ readonly width: "1024px";
55
+ readonly height: "1366px";
56
+ };
57
+ readonly type: "tablet";
58
+ };
59
+ readonly ipadPro11_4th: {
60
+ readonly name: "iPad Pro 11 (4th Gen, 2020)";
61
+ readonly styles: {
62
+ readonly width: "834px";
63
+ readonly height: "1194px";
64
+ };
65
+ readonly type: "tablet";
66
+ };
67
+ readonly ipadPro12_9_3rd: {
68
+ readonly name: "iPad Pro 12.9 (3rd Gen, 2018)";
69
+ readonly styles: {
70
+ readonly width: "1024px";
71
+ readonly height: "1366px";
72
+ };
73
+ readonly type: "tablet";
74
+ };
75
+ readonly ipadPro11_3rd: {
76
+ readonly name: "iPad Pro 11 (3rd Gen, 2018)";
77
+ readonly styles: {
78
+ readonly width: "834px";
79
+ readonly height: "1194px";
80
+ };
81
+ readonly type: "tablet";
82
+ };
83
+ readonly ipadPro12_9_2nd: {
84
+ readonly name: "iPad Pro 12.9 (2nd Gen, 2017)";
85
+ readonly styles: {
86
+ readonly width: "1024px";
87
+ readonly height: "1366px";
88
+ };
89
+ readonly type: "tablet";
90
+ };
91
+ readonly ipadPro10_5_2nd: {
92
+ readonly name: "iPad Pro 10.5 (2nd Gen, 2017)";
93
+ readonly styles: {
94
+ readonly width: "834px";
95
+ readonly height: "1112px";
96
+ };
97
+ readonly type: "tablet";
98
+ };
99
+ readonly ipadPro9_7_1st: {
100
+ readonly name: "iPad Pro 9.7 (1st Gen, 2016)";
101
+ readonly styles: {
102
+ readonly width: "768px";
103
+ readonly height: "1024px";
104
+ };
105
+ readonly type: "tablet";
106
+ };
107
+ readonly ipadPro12_9_1st: {
108
+ readonly name: "iPad Pro 12.9 (1st Gen, 2015)";
109
+ readonly styles: {
110
+ readonly width: "1024px";
111
+ readonly height: "1366px";
112
+ };
113
+ readonly type: "tablet";
114
+ };
115
+ };
116
+ declare const IPAD_AIR_VIEWPORTS: {
117
+ readonly ipadAir13_6th: {
118
+ readonly name: "iPad Air 13 (6th Gen, 2024)";
119
+ readonly styles: {
120
+ readonly width: "1024px";
121
+ readonly height: "1366px";
122
+ };
123
+ readonly type: "tablet";
124
+ };
125
+ readonly ipadAir11_6th: {
126
+ readonly name: "iPad Air 11 (6th Gen, 2024)";
127
+ readonly styles: {
128
+ readonly width: "820px";
129
+ readonly height: "1180px";
130
+ };
131
+ readonly type: "tablet";
132
+ };
133
+ readonly ipadAir5th: {
134
+ readonly name: "iPad Air (5th Gen, 2022)";
135
+ readonly styles: {
136
+ readonly width: "820px";
137
+ readonly height: "1180px";
138
+ };
139
+ readonly type: "tablet";
140
+ };
141
+ readonly ipadAir4th: {
142
+ readonly name: "iPad Air (4th Gen, 2020)";
143
+ readonly styles: {
144
+ readonly width: "820px";
145
+ readonly height: "1180px";
146
+ };
147
+ readonly type: "tablet";
148
+ };
149
+ readonly ipadAir3rd: {
150
+ readonly name: "iPad Air (3rd Gen, 2019)";
151
+ readonly styles: {
152
+ readonly width: "834px";
153
+ readonly height: "1112px";
154
+ };
155
+ readonly type: "tablet";
156
+ };
157
+ readonly ipadAir2: {
158
+ readonly name: "iPad Air 2 (2014/15)";
159
+ readonly styles: {
160
+ readonly width: "768px";
161
+ readonly height: "1024px";
162
+ };
163
+ readonly type: "tablet";
164
+ };
165
+ };
166
+ declare const IPAD_STANDARD_VIEWPORTS: {
167
+ readonly ipad10th: {
168
+ readonly name: "iPad (10th Gen, 2022)";
169
+ readonly styles: {
170
+ readonly width: "820px";
171
+ readonly height: "1180px";
172
+ };
173
+ readonly type: "tablet";
174
+ };
175
+ readonly ipad9th: {
176
+ readonly name: "iPad (9th Gen, 2021)";
177
+ readonly styles: {
178
+ readonly width: "810px";
179
+ readonly height: "1080px";
180
+ };
181
+ readonly type: "tablet";
182
+ };
183
+ readonly ipad8th: {
184
+ readonly name: "iPad (8th Gen, 2020)";
185
+ readonly styles: {
186
+ readonly width: "810px";
187
+ readonly height: "1080px";
188
+ };
189
+ readonly type: "tablet";
190
+ };
191
+ readonly ipad7th: {
192
+ readonly name: "iPad (7th Gen, 2019)";
193
+ readonly styles: {
194
+ readonly width: "810px";
195
+ readonly height: "1080px";
196
+ };
197
+ readonly type: "tablet";
198
+ };
199
+ readonly ipad6th: {
200
+ readonly name: "iPad (6th Gen, 2018)";
201
+ readonly styles: {
202
+ readonly width: "768px";
203
+ readonly height: "1024px";
204
+ };
205
+ readonly type: "tablet";
206
+ };
207
+ readonly ipad5th: {
208
+ readonly name: "iPad (5th Gen, 2017)";
209
+ readonly styles: {
210
+ readonly width: "768px";
211
+ readonly height: "1024px";
212
+ };
213
+ readonly type: "tablet";
214
+ };
215
+ };
216
+ declare const IPAD_MINI_VIEWPORTS: {
217
+ readonly ipadMini7th: {
218
+ readonly name: "iPad mini (7th Gen, 2024)";
219
+ readonly styles: {
220
+ readonly width: "744px";
221
+ readonly height: "1133px";
222
+ };
223
+ readonly type: "tablet";
224
+ };
225
+ readonly ipadMini6th: {
226
+ readonly name: "iPad mini (6th Gen, 2021)";
227
+ readonly styles: {
228
+ readonly width: "744px";
229
+ readonly height: "1133px";
230
+ };
231
+ readonly type: "tablet";
232
+ };
233
+ readonly ipadMini5th: {
234
+ readonly name: "iPad mini (5th Gen, 2019)";
235
+ readonly styles: {
236
+ readonly width: "768px";
237
+ readonly height: "1024px";
238
+ };
239
+ readonly type: "tablet";
240
+ };
241
+ readonly ipadMini4: {
242
+ readonly name: "iPad mini 4 (2015)";
243
+ readonly styles: {
244
+ readonly width: "768px";
245
+ readonly height: "1024px";
246
+ };
247
+ readonly type: "tablet";
248
+ };
249
+ };
250
+ declare const IPAD_VIEWPORTS: {
251
+ readonly ipadMini7th: {
252
+ readonly name: "iPad mini (7th Gen, 2024)";
253
+ readonly styles: {
254
+ readonly width: "744px";
255
+ readonly height: "1133px";
256
+ };
257
+ readonly type: "tablet";
258
+ };
259
+ readonly ipadMini6th: {
260
+ readonly name: "iPad mini (6th Gen, 2021)";
261
+ readonly styles: {
262
+ readonly width: "744px";
263
+ readonly height: "1133px";
264
+ };
265
+ readonly type: "tablet";
266
+ };
267
+ readonly ipadMini5th: {
268
+ readonly name: "iPad mini (5th Gen, 2019)";
269
+ readonly styles: {
270
+ readonly width: "768px";
271
+ readonly height: "1024px";
272
+ };
273
+ readonly type: "tablet";
274
+ };
275
+ readonly ipadMini4: {
276
+ readonly name: "iPad mini 4 (2015)";
277
+ readonly styles: {
278
+ readonly width: "768px";
279
+ readonly height: "1024px";
280
+ };
281
+ readonly type: "tablet";
282
+ };
283
+ readonly ipad10th: {
284
+ readonly name: "iPad (10th Gen, 2022)";
285
+ readonly styles: {
286
+ readonly width: "820px";
287
+ readonly height: "1180px";
288
+ };
289
+ readonly type: "tablet";
290
+ };
291
+ readonly ipad9th: {
292
+ readonly name: "iPad (9th Gen, 2021)";
293
+ readonly styles: {
294
+ readonly width: "810px";
295
+ readonly height: "1080px";
296
+ };
297
+ readonly type: "tablet";
298
+ };
299
+ readonly ipad8th: {
300
+ readonly name: "iPad (8th Gen, 2020)";
301
+ readonly styles: {
302
+ readonly width: "810px";
303
+ readonly height: "1080px";
304
+ };
305
+ readonly type: "tablet";
306
+ };
307
+ readonly ipad7th: {
308
+ readonly name: "iPad (7th Gen, 2019)";
309
+ readonly styles: {
310
+ readonly width: "810px";
311
+ readonly height: "1080px";
312
+ };
313
+ readonly type: "tablet";
314
+ };
315
+ readonly ipad6th: {
316
+ readonly name: "iPad (6th Gen, 2018)";
317
+ readonly styles: {
318
+ readonly width: "768px";
319
+ readonly height: "1024px";
320
+ };
321
+ readonly type: "tablet";
322
+ };
323
+ readonly ipad5th: {
324
+ readonly name: "iPad (5th Gen, 2017)";
325
+ readonly styles: {
326
+ readonly width: "768px";
327
+ readonly height: "1024px";
328
+ };
329
+ readonly type: "tablet";
330
+ };
331
+ readonly ipadAir13_6th: {
332
+ readonly name: "iPad Air 13 (6th Gen, 2024)";
333
+ readonly styles: {
334
+ readonly width: "1024px";
335
+ readonly height: "1366px";
336
+ };
337
+ readonly type: "tablet";
338
+ };
339
+ readonly ipadAir11_6th: {
340
+ readonly name: "iPad Air 11 (6th Gen, 2024)";
341
+ readonly styles: {
342
+ readonly width: "820px";
343
+ readonly height: "1180px";
344
+ };
345
+ readonly type: "tablet";
346
+ };
347
+ readonly ipadAir5th: {
348
+ readonly name: "iPad Air (5th Gen, 2022)";
349
+ readonly styles: {
350
+ readonly width: "820px";
351
+ readonly height: "1180px";
352
+ };
353
+ readonly type: "tablet";
354
+ };
355
+ readonly ipadAir4th: {
356
+ readonly name: "iPad Air (4th Gen, 2020)";
357
+ readonly styles: {
358
+ readonly width: "820px";
359
+ readonly height: "1180px";
360
+ };
361
+ readonly type: "tablet";
362
+ };
363
+ readonly ipadAir3rd: {
364
+ readonly name: "iPad Air (3rd Gen, 2019)";
365
+ readonly styles: {
366
+ readonly width: "834px";
367
+ readonly height: "1112px";
368
+ };
369
+ readonly type: "tablet";
370
+ };
371
+ readonly ipadAir2: {
372
+ readonly name: "iPad Air 2 (2014/15)";
373
+ readonly styles: {
374
+ readonly width: "768px";
375
+ readonly height: "1024px";
376
+ };
377
+ readonly type: "tablet";
378
+ };
379
+ readonly ipadPro13_7th: {
380
+ readonly name: "iPad Pro 13 (7th Gen, 2024)";
381
+ readonly styles: {
382
+ readonly width: "1032px";
383
+ readonly height: "1376px";
384
+ };
385
+ readonly type: "tablet";
386
+ };
387
+ readonly ipadPro11_7th: {
388
+ readonly name: "iPad Pro 11 (7th Gen, 2024)";
389
+ readonly styles: {
390
+ readonly width: "834px";
391
+ readonly height: "1210px";
392
+ };
393
+ readonly type: "tablet";
394
+ };
395
+ readonly ipadPro12_9_6th: {
396
+ readonly name: "iPad Pro 12.9 (6th Gen, 2022)";
397
+ readonly styles: {
398
+ readonly width: "1024px";
399
+ readonly height: "1366px";
400
+ };
401
+ readonly type: "tablet";
402
+ };
403
+ readonly ipadPro11_6th: {
404
+ readonly name: "iPad Pro 11 (6th Gen, 2022)";
405
+ readonly styles: {
406
+ readonly width: "834px";
407
+ readonly height: "1194px";
408
+ };
409
+ readonly type: "tablet";
410
+ };
411
+ readonly ipadPro12_9_5th: {
412
+ readonly name: "iPad Pro 12.9 (5th Gen, 2021)";
413
+ readonly styles: {
414
+ readonly width: "1024px";
415
+ readonly height: "1366px";
416
+ };
417
+ readonly type: "tablet";
418
+ };
419
+ readonly ipadPro11_5th: {
420
+ readonly name: "iPad Pro 11 (5th Gen, 2021)";
421
+ readonly styles: {
422
+ readonly width: "834px";
423
+ readonly height: "1194px";
424
+ };
425
+ readonly type: "tablet";
426
+ };
427
+ readonly ipadPro12_9_4th: {
428
+ readonly name: "iPad Pro 12.9 (4th Gen, 2020)";
429
+ readonly styles: {
430
+ readonly width: "1024px";
431
+ readonly height: "1366px";
432
+ };
433
+ readonly type: "tablet";
434
+ };
435
+ readonly ipadPro11_4th: {
436
+ readonly name: "iPad Pro 11 (4th Gen, 2020)";
437
+ readonly styles: {
438
+ readonly width: "834px";
439
+ readonly height: "1194px";
440
+ };
441
+ readonly type: "tablet";
442
+ };
443
+ readonly ipadPro12_9_3rd: {
444
+ readonly name: "iPad Pro 12.9 (3rd Gen, 2018)";
445
+ readonly styles: {
446
+ readonly width: "1024px";
447
+ readonly height: "1366px";
448
+ };
449
+ readonly type: "tablet";
450
+ };
451
+ readonly ipadPro11_3rd: {
452
+ readonly name: "iPad Pro 11 (3rd Gen, 2018)";
453
+ readonly styles: {
454
+ readonly width: "834px";
455
+ readonly height: "1194px";
456
+ };
457
+ readonly type: "tablet";
458
+ };
459
+ readonly ipadPro12_9_2nd: {
460
+ readonly name: "iPad Pro 12.9 (2nd Gen, 2017)";
461
+ readonly styles: {
462
+ readonly width: "1024px";
463
+ readonly height: "1366px";
464
+ };
465
+ readonly type: "tablet";
466
+ };
467
+ readonly ipadPro10_5_2nd: {
468
+ readonly name: "iPad Pro 10.5 (2nd Gen, 2017)";
469
+ readonly styles: {
470
+ readonly width: "834px";
471
+ readonly height: "1112px";
472
+ };
473
+ readonly type: "tablet";
474
+ };
475
+ readonly ipadPro9_7_1st: {
476
+ readonly name: "iPad Pro 9.7 (1st Gen, 2016)";
477
+ readonly styles: {
478
+ readonly width: "768px";
479
+ readonly height: "1024px";
480
+ };
481
+ readonly type: "tablet";
482
+ };
483
+ readonly ipadPro12_9_1st: {
484
+ readonly name: "iPad Pro 12.9 (1st Gen, 2015)";
485
+ readonly styles: {
486
+ readonly width: "1024px";
487
+ readonly height: "1366px";
488
+ };
489
+ readonly type: "tablet";
490
+ };
491
+ };
492
+ //#endregion
493
+ export { IPAD_AIR_VIEWPORTS, IPAD_MINI_VIEWPORTS, IPAD_PRO_VIEWPORTS, IPAD_STANDARD_VIEWPORTS, IPAD_VIEWPORTS };
@@ -0,0 +1,3 @@
1
+ import { a as IPAD_VIEWPORTS, i as IPAD_STANDARD_VIEWPORTS, n as IPAD_MINI_VIEWPORTS, r as IPAD_PRO_VIEWPORTS, t as IPAD_AIR_VIEWPORTS } from "../tablet-DzGF8Wal.mjs";
2
+
3
+ export { IPAD_AIR_VIEWPORTS, IPAD_MINI_VIEWPORTS, IPAD_PRO_VIEWPORTS, IPAD_STANDARD_VIEWPORTS, IPAD_VIEWPORTS };
@@ -0,0 +1,157 @@
1
+ //#region src/google/index.d.ts
2
+ declare const GOOGLE_DEVICE_VIEWPORTS: {
3
+ readonly pixel1xl: {
4
+ readonly name: "Pixel XL";
5
+ readonly styles: {
6
+ readonly width: "412px";
7
+ readonly height: "732px";
8
+ };
9
+ readonly type: "mobile";
10
+ };
11
+ readonly pixel1: {
12
+ readonly name: "Pixel";
13
+ readonly styles: {
14
+ readonly width: "412px";
15
+ readonly height: "732px";
16
+ };
17
+ readonly type: "mobile";
18
+ };
19
+ readonly pixel2xl: {
20
+ readonly name: "Pixel 2 XL";
21
+ readonly styles: {
22
+ readonly width: "412px";
23
+ readonly height: "824px";
24
+ };
25
+ readonly type: "mobile";
26
+ };
27
+ readonly pixel2: {
28
+ readonly name: "Pixel 2";
29
+ readonly styles: {
30
+ readonly width: "412px";
31
+ readonly height: "732px";
32
+ };
33
+ readonly type: "mobile";
34
+ };
35
+ readonly pixel3xl: {
36
+ readonly name: "Pixel 3 XL";
37
+ readonly styles: {
38
+ readonly width: "412px";
39
+ readonly height: "846px";
40
+ };
41
+ readonly type: "mobile";
42
+ };
43
+ readonly pixel3: {
44
+ readonly name: "Pixel 3";
45
+ readonly styles: {
46
+ readonly width: "393px";
47
+ readonly height: "786px";
48
+ };
49
+ readonly type: "mobile";
50
+ };
51
+ readonly pixel3axl: {
52
+ readonly name: "Pixel 3a XL";
53
+ readonly styles: {
54
+ readonly width: "412px";
55
+ readonly height: "824px";
56
+ };
57
+ readonly type: "mobile";
58
+ };
59
+ readonly pixel3a: {
60
+ readonly name: "Pixel 3a";
61
+ readonly styles: {
62
+ readonly width: "393px";
63
+ readonly height: "808px";
64
+ };
65
+ readonly type: "mobile";
66
+ };
67
+ readonly pixel4xl: {
68
+ readonly name: "Pixel 4 XL";
69
+ readonly styles: {
70
+ readonly width: "412px";
71
+ readonly height: "869px";
72
+ };
73
+ readonly type: "mobile";
74
+ };
75
+ readonly pixel4: {
76
+ readonly name: "Pixel 4";
77
+ readonly styles: {
78
+ readonly width: "393px";
79
+ readonly height: "830px";
80
+ };
81
+ readonly type: "mobile";
82
+ };
83
+ readonly pixel5: {
84
+ readonly name: "Pixel 5";
85
+ readonly styles: {
86
+ readonly width: "393px";
87
+ readonly height: "851px";
88
+ };
89
+ readonly type: "mobile";
90
+ };
91
+ readonly pixel6pro: {
92
+ readonly name: "Pixel 6 Pro";
93
+ readonly styles: {
94
+ readonly width: "412px";
95
+ readonly height: "892px";
96
+ };
97
+ readonly type: "mobile";
98
+ };
99
+ readonly pixel6: {
100
+ readonly name: "Pixel 6";
101
+ readonly styles: {
102
+ readonly width: "412px";
103
+ readonly height: "915px";
104
+ };
105
+ readonly type: "mobile";
106
+ };
107
+ readonly pixel7pro: {
108
+ readonly name: "Pixel 7 Pro";
109
+ readonly styles: {
110
+ readonly width: "412px";
111
+ readonly height: "892px";
112
+ };
113
+ readonly type: "mobile";
114
+ };
115
+ readonly pixel7: {
116
+ readonly name: "Pixel 7";
117
+ readonly styles: {
118
+ readonly width: "412px";
119
+ readonly height: "915px";
120
+ };
121
+ readonly type: "mobile";
122
+ };
123
+ readonly pixel7a: {
124
+ readonly name: "Pixel 7a";
125
+ readonly styles: {
126
+ readonly width: "412px";
127
+ readonly height: "915px";
128
+ };
129
+ readonly type: "mobile";
130
+ };
131
+ readonly pixel8pro: {
132
+ readonly name: "Pixel 8 Pro";
133
+ readonly styles: {
134
+ readonly width: "448px";
135
+ readonly height: "998px";
136
+ };
137
+ readonly type: "mobile";
138
+ };
139
+ readonly pixel8: {
140
+ readonly name: "Pixel 8";
141
+ readonly styles: {
142
+ readonly width: "412px";
143
+ readonly height: "915px";
144
+ };
145
+ readonly type: "mobile";
146
+ };
147
+ readonly pixel9: {
148
+ readonly name: "Pixel 9";
149
+ readonly styles: {
150
+ readonly width: "412px";
151
+ readonly height: "915px";
152
+ };
153
+ readonly type: "mobile";
154
+ };
155
+ };
156
+ //#endregion
157
+ export { GOOGLE_DEVICE_VIEWPORTS };
@@ -0,0 +1,7 @@
1
+ import { u as PIXEL_VIEWPORTS } from "../mobile-B18IT4fV.mjs";
2
+
3
+ //#region src/google/index.ts
4
+ const GOOGLE_DEVICE_VIEWPORTS = { ...PIXEL_VIEWPORTS };
5
+
6
+ //#endregion
7
+ export { GOOGLE_DEVICE_VIEWPORTS };