* V2: Peek and pop * Add event when preview is dismissed in non commit mode * tslint * Refactor playground. Document preview api * Added width prop * Implement hybrid push/preview button * Fixing small linting errors
|
||
61 | 61 |
|
62 | 62 |
|
63 | 63 |
|
64 |
|
|
64 |
|
|
65 | 65 |
|
66 | 66 |
|
67 | 67 |
|
|
||
79 | 79 |
|
80 | 80 |
|
81 | 81 |
|
82 |
|
|
82 | 83 |
|
83 | 84 |
|
84 | 85 |
|
|
||
212 | 213 |
|
213 | 214 |
|
214 | 215 |
|
215 |
|
|
216 |
|
|
||
132 | 132 |
|
133 | 133 |
|
134 | 134 |
|
135 |
|
|
136 |
|
|
137 |
|
|
138 |
|
|
139 |
|
|
140 |
|
|
141 |
|
|
142 |
|
|
143 |
|
|
144 |
|
|
145 |
|
|
146 |
|
|
135 | 147 |
|
136 | 148 |
|
137 | 149 |
|
|
||
5 | 5 |
|
6 | 6 |
|
7 | 7 |
|
8 |
|
|
8 | 9 |
|
9 | 10 |
|
11 |
|
|
10 | 12 |
|
11 | 13 |
|
12 | 14 |
|
15 |
|
|
13 | 16 |
|
14 | 17 |
|
15 | 18 |
|
|
||
93 | 96 |
|
94 | 97 |
|
95 | 98 |
|
96 |
|
|
97 |
|
|
98 |
|
|
99 |
|
|
100 |
|
|
99 |
|
|
100 |
|
|
101 |
|
|
102 |
|
|
103 |
|
|
104 |
|
|
105 |
|
|
106 |
|
|
107 |
|
|
108 |
|
|
109 |
|
|
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
|
115 |
|
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
|
120 |
|
|
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
125 |
|
|
126 |
|
|
127 |
|
|
128 |
|
|
129 |
|
|
130 |
|
|
131 |
|
|
132 |
|
|
133 |
|
|
101 | 134 |
|
102 | 135 |
|
103 | 136 |
|
|
||
13 | 13 |
|
14 | 14 |
|
15 | 15 |
|
16 |
|
|
16 |
|
|
17 | 17 |
|
18 | 18 |
|
19 | 19 |
|
|
||
4 | 4 |
|
5 | 5 |
|
6 | 6 |
|
7 |
|
|
7 | 8 |
|
8 | 9 |
|
9 | 10 |
|
|
||
18 | 18 |
|
19 | 19 |
|
20 | 20 |
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
21 | 29 |
|
22 | 30 |
|
23 | 31 |
|
|
||
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
12 |
|
|
12 | 13 |
|
13 | 14 |
|
14 | 15 |
|
|
||
26 | 27 |
|
27 | 28 |
|
28 | 29 |
|
30 |
|
|
29 | 31 |
|
30 | 32 |
|
31 | 33 |
|
|
||
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
||
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
||
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
12 |
|
|
12 |
|
|
13 | 13 |
|
14 | 14 |
|
15 | 15 |
|
|
||
17 | 17 |
|
18 | 18 |
|
19 | 19 |
|
20 |
|
|
21 |
|
|
20 | 22 |
|
21 | 23 |
|
22 | 24 |
|
|
||
238 | 238 |
|
239 | 239 |
|
240 | 240 |
|
241 |
|
|
242 |
|
|
243 |
|
|
244 |
|
|
245 |
|
|
246 |
|
|
247 |
|
|
248 |
|
|
249 |
|
|
250 |
|
|
251 |
|
|
252 |
|
|
253 |
|
|
254 |
|
|
255 |
|
|
256 |
|
|
257 |
|
|
258 |
|
|
259 |
|
|
260 |
|
|
261 |
|
|
262 |
|
|
263 |
|
|
264 |
|
|
265 |
|
|
266 |
|
|
267 |
|
|
268 |
|
|
269 |
|
|
270 |
|
|
271 |
|
|
272 |
|
|
273 |
|
|
274 |
|
|
275 |
|
|
276 |
|
|
277 |
|
|
278 |
|
|
279 |
|
|
280 |
|
|
281 |
|
|
282 |
|
|
283 |
|
|
284 |
|
|
285 |
|
|
286 |
|
|
287 |
|
|
288 |
|
|
289 |
|
|
290 |
|
|
291 |
|
|
292 |
|
|
293 |
|
|
294 |
|
|
295 |
|
|
296 |
|
|
297 |
|
|
298 |
|
|
299 |
|
|
300 |
|
|
301 |
|
|
302 |
|
|
303 |
|
|
304 |
|
|
241 | 305 |
|
242 | 306 |
|
243 | 307 |
|
|
||
156 | 156 |
|
157 | 157 |
|
158 | 158 |
|
159 |
|
|
160 | 159 |
|
161 | 160 |
|
161 |
|
|
162 | 162 |
|
163 | 163 |
|
164 | 164 |
|
|
||
369 | 369 |
|
370 | 370 |
|
371 | 371 |
|
372 |
|
|
373 |
|
|
372 | 374 |
|
373 | 375 |
|
374 | 376 |
|
|
||
557 | 559 |
|
558 | 560 |
|
559 | 561 |
|
562 |
|
|
563 |
|
|
560 | 564 |
|
561 | 565 |
|
562 | 566 |
|
|
||
1025 | 1029 |
|
1026 | 1030 |
|
1027 | 1031 |
|
1032 |
|
|
1028 | 1033 |
|
1029 | 1034 |
|
1030 | 1035 |
|
|
||
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
|
74 |
|
|
75 |
|
|
76 |
|
|
77 |
|
|
78 |
|
|
79 |
|
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
|
95 |
|
|
96 |
|
|
97 |
|
|
98 |
|
|
99 |
|
|
100 |
|
|
101 |
|
|
102 |
|
|
103 |
|
|
104 |
|
|
105 |
|
|
106 |
|
|
107 |
|
|
108 |
|
|
109 |
|
|
110 |
|
|
111 |
|
|
112 |
|
|
||
3 | 3 |
|
4 | 4 |
|
5 | 5 |
|
6 |
|
|
6 |
|
|
7 | 7 |
|
8 | 8 |
|
9 |
|
|
9 | 10 |
|
10 | 11 |
|
11 | 12 |
|
|
||
29 | 30 |
|
30 | 31 |
|
31 | 32 |
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
|
32 | 61 |
|
33 | 62 |
|
34 | 63 |
|
|
||
38 | 67 |
|
39 | 68 |
|
40 | 69 |
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
|
74 |
|
|
41 | 75 |
|
42 | 76 |
|
43 | 77 |
|
|
||
48 | 82 |
|
49 | 83 |
|
50 | 84 |
|
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
|
95 |
|
|
96 |
|
|
97 |
|
|
98 |
|
|
99 |
|
|
100 |
|
|
101 |
|
|
102 |
|
|
103 |
|
|
104 |
|
|
105 |
|
|
106 |
|
|
107 |
|
|
108 |
|
|
109 |
|
|
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
|
115 |
|
|
116 |
|
|
117 |
|
|
51 | 118 |
|
119 |
|
|
120 |
|
|
121 |
|
|
122 |
|
|
52 | 123 |
|
53 | 124 |
|
54 | 125 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 |
|
|
3 |
|
|
4 | 4 |
|
5 | 5 |
|
6 |
|
|
6 | 7 |
|
7 | 8 |
|
8 | 9 |
|
|
||
38 | 39 |
|
39 | 40 |
|
40 | 41 |
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
41 | 47 |
|
42 | 48 |
|
43 | 49 |
|
|
||
312 | 318 |
|
313 | 319 |
|
314 | 320 |
|
321 |
|
|
322 |
|
|
323 |
|
|
324 |
|
|
325 |
|
|
326 |
|
|
327 |
|
|
328 |
|
|
329 |
|
|
330 |
|
|
331 |
|
|
332 |
|
|
333 |
|
|
334 |
|
|
335 |
|
|
336 |
|
|
337 |
|
|
338 |
|
|
339 |
|
|
340 |
|
|
341 |
|
|
342 |
|
|
343 |
|
|
344 |
|
|
345 |
|
|
346 |
|
|
347 |
|
|
348 |
|
|
349 |
|
|
350 |
|
|
351 |
|
|
352 |
|
|
315 | 353 |
|
316 | 354 |
|
317 | 355 |
|
|
||
61 | 61 |
|
62 | 62 |
|
63 | 63 |
|
64 |
|
|
64 | 65 |
|
65 | 66 |
|
66 | 67 |
|