storybook-device-viewports 0.0.1 → 0.1.0-preview.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.
- package/LICENSE +21 -0
- package/README.ja.md +113 -0
- package/README.md +97 -29
- package/dist/apple/index.d.mts +573 -0
- package/dist/apple/index.mjs +11 -0
- package/dist/apple/mobile.d.mts +685 -0
- package/dist/apple/mobile.mjs +3 -0
- package/dist/apple/tablet.d.mts +493 -0
- package/dist/apple/tablet.mjs +3 -0
- package/dist/google/index.d.mts +157 -0
- package/dist/google/index.mjs +7 -0
- package/dist/google/mobile.d.mts +327 -0
- package/dist/google/mobile.mjs +3 -0
- package/dist/index.d.mts +725 -0
- package/dist/index.mjs +14 -0
- package/dist/mobile-B18IT4fV.mjs +181 -0
- package/dist/mobile-XOiE5maI.mjs +370 -0
- package/dist/tablet-DzGF8Wal.mjs +258 -0
- package/package.json +62 -6
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
//#region src/google/mobile.d.ts
|
|
2
|
+
declare const PIXEL_9_VIEWPORTS: {
|
|
3
|
+
readonly pixel9: {
|
|
4
|
+
readonly name: "Pixel 9";
|
|
5
|
+
readonly styles: {
|
|
6
|
+
readonly width: "412px";
|
|
7
|
+
readonly height: "915px";
|
|
8
|
+
};
|
|
9
|
+
readonly type: "mobile";
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
declare const PIXEL_8_VIEWPORTS: {
|
|
13
|
+
readonly pixel8pro: {
|
|
14
|
+
readonly name: "Pixel 8 Pro";
|
|
15
|
+
readonly styles: {
|
|
16
|
+
readonly width: "448px";
|
|
17
|
+
readonly height: "998px";
|
|
18
|
+
};
|
|
19
|
+
readonly type: "mobile";
|
|
20
|
+
};
|
|
21
|
+
readonly pixel8: {
|
|
22
|
+
readonly name: "Pixel 8";
|
|
23
|
+
readonly styles: {
|
|
24
|
+
readonly width: "412px";
|
|
25
|
+
readonly height: "915px";
|
|
26
|
+
};
|
|
27
|
+
readonly type: "mobile";
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
declare const PIXEL_7_VIEWPORTS: {
|
|
31
|
+
readonly pixel7pro: {
|
|
32
|
+
readonly name: "Pixel 7 Pro";
|
|
33
|
+
readonly styles: {
|
|
34
|
+
readonly width: "412px";
|
|
35
|
+
readonly height: "892px";
|
|
36
|
+
};
|
|
37
|
+
readonly type: "mobile";
|
|
38
|
+
};
|
|
39
|
+
readonly pixel7: {
|
|
40
|
+
readonly name: "Pixel 7";
|
|
41
|
+
readonly styles: {
|
|
42
|
+
readonly width: "412px";
|
|
43
|
+
readonly height: "915px";
|
|
44
|
+
};
|
|
45
|
+
readonly type: "mobile";
|
|
46
|
+
};
|
|
47
|
+
readonly pixel7a: {
|
|
48
|
+
readonly name: "Pixel 7a";
|
|
49
|
+
readonly styles: {
|
|
50
|
+
readonly width: "412px";
|
|
51
|
+
readonly height: "915px";
|
|
52
|
+
};
|
|
53
|
+
readonly type: "mobile";
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
declare const PIXEL_6_VIEWPORTS: {
|
|
57
|
+
readonly pixel6pro: {
|
|
58
|
+
readonly name: "Pixel 6 Pro";
|
|
59
|
+
readonly styles: {
|
|
60
|
+
readonly width: "412px";
|
|
61
|
+
readonly height: "892px";
|
|
62
|
+
};
|
|
63
|
+
readonly type: "mobile";
|
|
64
|
+
};
|
|
65
|
+
readonly pixel6: {
|
|
66
|
+
readonly name: "Pixel 6";
|
|
67
|
+
readonly styles: {
|
|
68
|
+
readonly width: "412px";
|
|
69
|
+
readonly height: "915px";
|
|
70
|
+
};
|
|
71
|
+
readonly type: "mobile";
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
declare const PIXEL_5_VIEWPORTS: {
|
|
75
|
+
readonly pixel5: {
|
|
76
|
+
readonly name: "Pixel 5";
|
|
77
|
+
readonly styles: {
|
|
78
|
+
readonly width: "393px";
|
|
79
|
+
readonly height: "851px";
|
|
80
|
+
};
|
|
81
|
+
readonly type: "mobile";
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
declare const PIXEL_4_VIEWPORTS: {
|
|
85
|
+
readonly pixel4xl: {
|
|
86
|
+
readonly name: "Pixel 4 XL";
|
|
87
|
+
readonly styles: {
|
|
88
|
+
readonly width: "412px";
|
|
89
|
+
readonly height: "869px";
|
|
90
|
+
};
|
|
91
|
+
readonly type: "mobile";
|
|
92
|
+
};
|
|
93
|
+
readonly pixel4: {
|
|
94
|
+
readonly name: "Pixel 4";
|
|
95
|
+
readonly styles: {
|
|
96
|
+
readonly width: "393px";
|
|
97
|
+
readonly height: "830px";
|
|
98
|
+
};
|
|
99
|
+
readonly type: "mobile";
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
declare const PIXEL_3_VIEWPORTS: {
|
|
103
|
+
readonly pixel3xl: {
|
|
104
|
+
readonly name: "Pixel 3 XL";
|
|
105
|
+
readonly styles: {
|
|
106
|
+
readonly width: "412px";
|
|
107
|
+
readonly height: "846px";
|
|
108
|
+
};
|
|
109
|
+
readonly type: "mobile";
|
|
110
|
+
};
|
|
111
|
+
readonly pixel3: {
|
|
112
|
+
readonly name: "Pixel 3";
|
|
113
|
+
readonly styles: {
|
|
114
|
+
readonly width: "393px";
|
|
115
|
+
readonly height: "786px";
|
|
116
|
+
};
|
|
117
|
+
readonly type: "mobile";
|
|
118
|
+
};
|
|
119
|
+
readonly pixel3axl: {
|
|
120
|
+
readonly name: "Pixel 3a XL";
|
|
121
|
+
readonly styles: {
|
|
122
|
+
readonly width: "412px";
|
|
123
|
+
readonly height: "824px";
|
|
124
|
+
};
|
|
125
|
+
readonly type: "mobile";
|
|
126
|
+
};
|
|
127
|
+
readonly pixel3a: {
|
|
128
|
+
readonly name: "Pixel 3a";
|
|
129
|
+
readonly styles: {
|
|
130
|
+
readonly width: "393px";
|
|
131
|
+
readonly height: "808px";
|
|
132
|
+
};
|
|
133
|
+
readonly type: "mobile";
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
declare const PIXEL_2_VIEWPORTS: {
|
|
137
|
+
readonly pixel2xl: {
|
|
138
|
+
readonly name: "Pixel 2 XL";
|
|
139
|
+
readonly styles: {
|
|
140
|
+
readonly width: "412px";
|
|
141
|
+
readonly height: "824px";
|
|
142
|
+
};
|
|
143
|
+
readonly type: "mobile";
|
|
144
|
+
};
|
|
145
|
+
readonly pixel2: {
|
|
146
|
+
readonly name: "Pixel 2";
|
|
147
|
+
readonly styles: {
|
|
148
|
+
readonly width: "412px";
|
|
149
|
+
readonly height: "732px";
|
|
150
|
+
};
|
|
151
|
+
readonly type: "mobile";
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
declare const PIXEL_1_VIEWPORTS: {
|
|
155
|
+
readonly pixel1xl: {
|
|
156
|
+
readonly name: "Pixel XL";
|
|
157
|
+
readonly styles: {
|
|
158
|
+
readonly width: "412px";
|
|
159
|
+
readonly height: "732px";
|
|
160
|
+
};
|
|
161
|
+
readonly type: "mobile";
|
|
162
|
+
};
|
|
163
|
+
readonly pixel1: {
|
|
164
|
+
readonly name: "Pixel";
|
|
165
|
+
readonly styles: {
|
|
166
|
+
readonly width: "412px";
|
|
167
|
+
readonly height: "732px";
|
|
168
|
+
};
|
|
169
|
+
readonly type: "mobile";
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
declare const PIXEL_VIEWPORTS: {
|
|
173
|
+
readonly pixel1xl: {
|
|
174
|
+
readonly name: "Pixel XL";
|
|
175
|
+
readonly styles: {
|
|
176
|
+
readonly width: "412px";
|
|
177
|
+
readonly height: "732px";
|
|
178
|
+
};
|
|
179
|
+
readonly type: "mobile";
|
|
180
|
+
};
|
|
181
|
+
readonly pixel1: {
|
|
182
|
+
readonly name: "Pixel";
|
|
183
|
+
readonly styles: {
|
|
184
|
+
readonly width: "412px";
|
|
185
|
+
readonly height: "732px";
|
|
186
|
+
};
|
|
187
|
+
readonly type: "mobile";
|
|
188
|
+
};
|
|
189
|
+
readonly pixel2xl: {
|
|
190
|
+
readonly name: "Pixel 2 XL";
|
|
191
|
+
readonly styles: {
|
|
192
|
+
readonly width: "412px";
|
|
193
|
+
readonly height: "824px";
|
|
194
|
+
};
|
|
195
|
+
readonly type: "mobile";
|
|
196
|
+
};
|
|
197
|
+
readonly pixel2: {
|
|
198
|
+
readonly name: "Pixel 2";
|
|
199
|
+
readonly styles: {
|
|
200
|
+
readonly width: "412px";
|
|
201
|
+
readonly height: "732px";
|
|
202
|
+
};
|
|
203
|
+
readonly type: "mobile";
|
|
204
|
+
};
|
|
205
|
+
readonly pixel3xl: {
|
|
206
|
+
readonly name: "Pixel 3 XL";
|
|
207
|
+
readonly styles: {
|
|
208
|
+
readonly width: "412px";
|
|
209
|
+
readonly height: "846px";
|
|
210
|
+
};
|
|
211
|
+
readonly type: "mobile";
|
|
212
|
+
};
|
|
213
|
+
readonly pixel3: {
|
|
214
|
+
readonly name: "Pixel 3";
|
|
215
|
+
readonly styles: {
|
|
216
|
+
readonly width: "393px";
|
|
217
|
+
readonly height: "786px";
|
|
218
|
+
};
|
|
219
|
+
readonly type: "mobile";
|
|
220
|
+
};
|
|
221
|
+
readonly pixel3axl: {
|
|
222
|
+
readonly name: "Pixel 3a XL";
|
|
223
|
+
readonly styles: {
|
|
224
|
+
readonly width: "412px";
|
|
225
|
+
readonly height: "824px";
|
|
226
|
+
};
|
|
227
|
+
readonly type: "mobile";
|
|
228
|
+
};
|
|
229
|
+
readonly pixel3a: {
|
|
230
|
+
readonly name: "Pixel 3a";
|
|
231
|
+
readonly styles: {
|
|
232
|
+
readonly width: "393px";
|
|
233
|
+
readonly height: "808px";
|
|
234
|
+
};
|
|
235
|
+
readonly type: "mobile";
|
|
236
|
+
};
|
|
237
|
+
readonly pixel4xl: {
|
|
238
|
+
readonly name: "Pixel 4 XL";
|
|
239
|
+
readonly styles: {
|
|
240
|
+
readonly width: "412px";
|
|
241
|
+
readonly height: "869px";
|
|
242
|
+
};
|
|
243
|
+
readonly type: "mobile";
|
|
244
|
+
};
|
|
245
|
+
readonly pixel4: {
|
|
246
|
+
readonly name: "Pixel 4";
|
|
247
|
+
readonly styles: {
|
|
248
|
+
readonly width: "393px";
|
|
249
|
+
readonly height: "830px";
|
|
250
|
+
};
|
|
251
|
+
readonly type: "mobile";
|
|
252
|
+
};
|
|
253
|
+
readonly pixel5: {
|
|
254
|
+
readonly name: "Pixel 5";
|
|
255
|
+
readonly styles: {
|
|
256
|
+
readonly width: "393px";
|
|
257
|
+
readonly height: "851px";
|
|
258
|
+
};
|
|
259
|
+
readonly type: "mobile";
|
|
260
|
+
};
|
|
261
|
+
readonly pixel6pro: {
|
|
262
|
+
readonly name: "Pixel 6 Pro";
|
|
263
|
+
readonly styles: {
|
|
264
|
+
readonly width: "412px";
|
|
265
|
+
readonly height: "892px";
|
|
266
|
+
};
|
|
267
|
+
readonly type: "mobile";
|
|
268
|
+
};
|
|
269
|
+
readonly pixel6: {
|
|
270
|
+
readonly name: "Pixel 6";
|
|
271
|
+
readonly styles: {
|
|
272
|
+
readonly width: "412px";
|
|
273
|
+
readonly height: "915px";
|
|
274
|
+
};
|
|
275
|
+
readonly type: "mobile";
|
|
276
|
+
};
|
|
277
|
+
readonly pixel7pro: {
|
|
278
|
+
readonly name: "Pixel 7 Pro";
|
|
279
|
+
readonly styles: {
|
|
280
|
+
readonly width: "412px";
|
|
281
|
+
readonly height: "892px";
|
|
282
|
+
};
|
|
283
|
+
readonly type: "mobile";
|
|
284
|
+
};
|
|
285
|
+
readonly pixel7: {
|
|
286
|
+
readonly name: "Pixel 7";
|
|
287
|
+
readonly styles: {
|
|
288
|
+
readonly width: "412px";
|
|
289
|
+
readonly height: "915px";
|
|
290
|
+
};
|
|
291
|
+
readonly type: "mobile";
|
|
292
|
+
};
|
|
293
|
+
readonly pixel7a: {
|
|
294
|
+
readonly name: "Pixel 7a";
|
|
295
|
+
readonly styles: {
|
|
296
|
+
readonly width: "412px";
|
|
297
|
+
readonly height: "915px";
|
|
298
|
+
};
|
|
299
|
+
readonly type: "mobile";
|
|
300
|
+
};
|
|
301
|
+
readonly pixel8pro: {
|
|
302
|
+
readonly name: "Pixel 8 Pro";
|
|
303
|
+
readonly styles: {
|
|
304
|
+
readonly width: "448px";
|
|
305
|
+
readonly height: "998px";
|
|
306
|
+
};
|
|
307
|
+
readonly type: "mobile";
|
|
308
|
+
};
|
|
309
|
+
readonly pixel8: {
|
|
310
|
+
readonly name: "Pixel 8";
|
|
311
|
+
readonly styles: {
|
|
312
|
+
readonly width: "412px";
|
|
313
|
+
readonly height: "915px";
|
|
314
|
+
};
|
|
315
|
+
readonly type: "mobile";
|
|
316
|
+
};
|
|
317
|
+
readonly pixel9: {
|
|
318
|
+
readonly name: "Pixel 9";
|
|
319
|
+
readonly styles: {
|
|
320
|
+
readonly width: "412px";
|
|
321
|
+
readonly height: "915px";
|
|
322
|
+
};
|
|
323
|
+
readonly type: "mobile";
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
//#endregion
|
|
327
|
+
export { PIXEL_1_VIEWPORTS, PIXEL_2_VIEWPORTS, PIXEL_3_VIEWPORTS, PIXEL_4_VIEWPORTS, PIXEL_5_VIEWPORTS, PIXEL_6_VIEWPORTS, PIXEL_7_VIEWPORTS, PIXEL_8_VIEWPORTS, PIXEL_9_VIEWPORTS, PIXEL_VIEWPORTS };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { a as PIXEL_5_VIEWPORTS, c as PIXEL_8_VIEWPORTS, i as PIXEL_4_VIEWPORTS, l as PIXEL_9_VIEWPORTS, n as PIXEL_2_VIEWPORTS, o as PIXEL_6_VIEWPORTS, r as PIXEL_3_VIEWPORTS, s as PIXEL_7_VIEWPORTS, t as PIXEL_1_VIEWPORTS, u as PIXEL_VIEWPORTS } from "../mobile-B18IT4fV.mjs";
|
|
2
|
+
|
|
3
|
+
export { PIXEL_1_VIEWPORTS, PIXEL_2_VIEWPORTS, PIXEL_3_VIEWPORTS, PIXEL_4_VIEWPORTS, PIXEL_5_VIEWPORTS, PIXEL_6_VIEWPORTS, PIXEL_7_VIEWPORTS, PIXEL_8_VIEWPORTS, PIXEL_9_VIEWPORTS, PIXEL_VIEWPORTS };
|