@storybook/components 5.0.0-rc.9 → 5.0.3
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/dist/syntaxhighlighter/__snapshots__/syntaxhighlighter.stories.storyshot +148 -148
- package/dist/tabs/__snapshots__/tabs.stories.storyshot +777 -777
- package/package.json +8 -7
- package/src/syntaxhighlighter/__snapshots__/syntaxhighlighter.stories.storyshot +148 -148
- package/src/tabs/__snapshots__/tabs.stories.storyshot +777 -777
|
@@ -1,19 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`Storyshots Basics|SyntaxHighlighter bash 1`] = `
|
|
4
|
-
.emotion-0 {
|
|
5
|
-
-webkit-flex: 1;
|
|
6
|
-
-ms-flex: 1;
|
|
7
|
-
flex: 1;
|
|
8
|
-
padding-right: 0;
|
|
9
|
-
opacity: 1;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.emotion-3 {
|
|
13
|
-
position: relative;
|
|
14
|
-
overflow: hidden;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
4
|
.emotion-2 {
|
|
18
5
|
position: relative;
|
|
19
6
|
overflow: auto;
|
|
@@ -169,6 +156,19 @@ exports[`Storyshots Basics|SyntaxHighlighter bash 1`] = `
|
|
|
169
156
|
opacity: 0.7;
|
|
170
157
|
}
|
|
171
158
|
|
|
159
|
+
.emotion-0 {
|
|
160
|
+
-webkit-flex: 1;
|
|
161
|
+
-ms-flex: 1;
|
|
162
|
+
flex: 1;
|
|
163
|
+
padding-right: 0;
|
|
164
|
+
opacity: 1;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.emotion-3 {
|
|
168
|
+
position: relative;
|
|
169
|
+
overflow: hidden;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
172
|
.emotion-1 {
|
|
173
173
|
display: -webkit-box;
|
|
174
174
|
display: -webkit-flex;
|
|
@@ -220,76 +220,6 @@ exports[`Storyshots Basics|SyntaxHighlighter bordered & copy-able 1`] = `
|
|
|
220
220
|
border: 1px solid rgba(0,0,0,.1);
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
.emotion-1 {
|
|
224
|
-
display: -webkit-box;
|
|
225
|
-
display: -webkit-flex;
|
|
226
|
-
display: -ms-flexbox;
|
|
227
|
-
display: flex;
|
|
228
|
-
-webkit-box-pack: start;
|
|
229
|
-
-webkit-justify-content: flex-start;
|
|
230
|
-
-ms-flex-pack: start;
|
|
231
|
-
justify-content: flex-start;
|
|
232
|
-
margin: 0;
|
|
233
|
-
padding: 10px;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.emotion-0 {
|
|
237
|
-
-webkit-flex: 1;
|
|
238
|
-
-ms-flex: 1;
|
|
239
|
-
flex: 1;
|
|
240
|
-
padding-right: 0;
|
|
241
|
-
opacity: 1;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.emotion-4 {
|
|
245
|
-
position: absolute;
|
|
246
|
-
bottom: 0;
|
|
247
|
-
right: 0;
|
|
248
|
-
max-width: 100%;
|
|
249
|
-
display: -webkit-box;
|
|
250
|
-
display: -webkit-flex;
|
|
251
|
-
display: -ms-flexbox;
|
|
252
|
-
display: flex;
|
|
253
|
-
background: #FFFFFF;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.emotion-3 {
|
|
257
|
-
border: 0 none;
|
|
258
|
-
padding: 4px 10px;
|
|
259
|
-
cursor: pointer;
|
|
260
|
-
display: -webkit-box;
|
|
261
|
-
display: -webkit-flex;
|
|
262
|
-
display: -ms-flexbox;
|
|
263
|
-
display: flex;
|
|
264
|
-
-webkit-align-items: center;
|
|
265
|
-
-webkit-box-align: center;
|
|
266
|
-
-ms-flex-align: center;
|
|
267
|
-
align-items: center;
|
|
268
|
-
color: #333333;
|
|
269
|
-
background: #FFFFFF;
|
|
270
|
-
font-size: 12px;
|
|
271
|
-
line-height: 16px;
|
|
272
|
-
font-weight: 700;
|
|
273
|
-
border-top: 1px solid rgba(0,0,0,.1);
|
|
274
|
-
border-left: 1px solid rgba(0,0,0,.1);
|
|
275
|
-
margin-left: -1px;
|
|
276
|
-
border-radius: 4px 0 0 0;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.emotion-3:not(:last-child) {
|
|
280
|
-
border-right: 1px solid rgba(0,0,0,.1);
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
.emotion-3 + * {
|
|
284
|
-
border-left: 1px solid rgba(0,0,0,.1);
|
|
285
|
-
border-radius: 0;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.emotion-3:focus {
|
|
289
|
-
box-shadow: #1EA7FD 0 -3px 0 0 inset;
|
|
290
|
-
outline: 0 none;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
223
|
.emotion-2 {
|
|
294
224
|
position: relative;
|
|
295
225
|
overflow: auto;
|
|
@@ -445,6 +375,76 @@ exports[`Storyshots Basics|SyntaxHighlighter bordered & copy-able 1`] = `
|
|
|
445
375
|
opacity: 0.7;
|
|
446
376
|
}
|
|
447
377
|
|
|
378
|
+
.emotion-1 {
|
|
379
|
+
display: -webkit-box;
|
|
380
|
+
display: -webkit-flex;
|
|
381
|
+
display: -ms-flexbox;
|
|
382
|
+
display: flex;
|
|
383
|
+
-webkit-box-pack: start;
|
|
384
|
+
-webkit-justify-content: flex-start;
|
|
385
|
+
-ms-flex-pack: start;
|
|
386
|
+
justify-content: flex-start;
|
|
387
|
+
margin: 0;
|
|
388
|
+
padding: 10px;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.emotion-0 {
|
|
392
|
+
-webkit-flex: 1;
|
|
393
|
+
-ms-flex: 1;
|
|
394
|
+
flex: 1;
|
|
395
|
+
padding-right: 0;
|
|
396
|
+
opacity: 1;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.emotion-4 {
|
|
400
|
+
position: absolute;
|
|
401
|
+
bottom: 0;
|
|
402
|
+
right: 0;
|
|
403
|
+
max-width: 100%;
|
|
404
|
+
display: -webkit-box;
|
|
405
|
+
display: -webkit-flex;
|
|
406
|
+
display: -ms-flexbox;
|
|
407
|
+
display: flex;
|
|
408
|
+
background: #FFFFFF;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.emotion-3 {
|
|
412
|
+
border: 0 none;
|
|
413
|
+
padding: 4px 10px;
|
|
414
|
+
cursor: pointer;
|
|
415
|
+
display: -webkit-box;
|
|
416
|
+
display: -webkit-flex;
|
|
417
|
+
display: -ms-flexbox;
|
|
418
|
+
display: flex;
|
|
419
|
+
-webkit-align-items: center;
|
|
420
|
+
-webkit-box-align: center;
|
|
421
|
+
-ms-flex-align: center;
|
|
422
|
+
align-items: center;
|
|
423
|
+
color: #333333;
|
|
424
|
+
background: #FFFFFF;
|
|
425
|
+
font-size: 12px;
|
|
426
|
+
line-height: 16px;
|
|
427
|
+
font-weight: 700;
|
|
428
|
+
border-top: 1px solid rgba(0,0,0,.1);
|
|
429
|
+
border-left: 1px solid rgba(0,0,0,.1);
|
|
430
|
+
margin-left: -1px;
|
|
431
|
+
border-radius: 4px 0 0 0;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.emotion-3:not(:last-child) {
|
|
435
|
+
border-right: 1px solid rgba(0,0,0,.1);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.emotion-3 + * {
|
|
439
|
+
border-left: 1px solid rgba(0,0,0,.1);
|
|
440
|
+
border-radius: 0;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.emotion-3:focus {
|
|
444
|
+
box-shadow: #1EA7FD 0 -3px 0 0 inset;
|
|
445
|
+
outline: 0 none;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
448
|
<div
|
|
449
449
|
class="emotion-5"
|
|
450
450
|
>
|
|
@@ -653,19 +653,6 @@ exports[`Storyshots Basics|SyntaxHighlighter bordered & copy-able 1`] = `
|
|
|
653
653
|
`;
|
|
654
654
|
|
|
655
655
|
exports[`Storyshots Basics|SyntaxHighlighter jsx 1`] = `
|
|
656
|
-
.emotion-0 {
|
|
657
|
-
-webkit-flex: 1;
|
|
658
|
-
-ms-flex: 1;
|
|
659
|
-
flex: 1;
|
|
660
|
-
padding-right: 0;
|
|
661
|
-
opacity: 1;
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
.emotion-3 {
|
|
665
|
-
position: relative;
|
|
666
|
-
overflow: hidden;
|
|
667
|
-
}
|
|
668
|
-
|
|
669
656
|
.emotion-2 {
|
|
670
657
|
position: relative;
|
|
671
658
|
overflow: auto;
|
|
@@ -821,6 +808,19 @@ exports[`Storyshots Basics|SyntaxHighlighter jsx 1`] = `
|
|
|
821
808
|
opacity: 0.7;
|
|
822
809
|
}
|
|
823
810
|
|
|
811
|
+
.emotion-0 {
|
|
812
|
+
-webkit-flex: 1;
|
|
813
|
+
-ms-flex: 1;
|
|
814
|
+
flex: 1;
|
|
815
|
+
padding-right: 0;
|
|
816
|
+
opacity: 1;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
.emotion-3 {
|
|
820
|
+
position: relative;
|
|
821
|
+
overflow: hidden;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
824
|
.emotion-1 {
|
|
825
825
|
display: -webkit-box;
|
|
826
826
|
display: -webkit-flex;
|
|
@@ -1063,32 +1063,6 @@ exports[`Storyshots Basics|SyntaxHighlighter jsx 1`] = `
|
|
|
1063
1063
|
`;
|
|
1064
1064
|
|
|
1065
1065
|
exports[`Storyshots Basics|SyntaxHighlighter padded 1`] = `
|
|
1066
|
-
.emotion-1 {
|
|
1067
|
-
display: -webkit-box;
|
|
1068
|
-
display: -webkit-flex;
|
|
1069
|
-
display: -ms-flexbox;
|
|
1070
|
-
display: flex;
|
|
1071
|
-
-webkit-box-pack: start;
|
|
1072
|
-
-webkit-justify-content: flex-start;
|
|
1073
|
-
-ms-flex-pack: start;
|
|
1074
|
-
justify-content: flex-start;
|
|
1075
|
-
margin: 0;
|
|
1076
|
-
padding: 10px;
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
.emotion-0 {
|
|
1080
|
-
-webkit-flex: 1;
|
|
1081
|
-
-ms-flex: 1;
|
|
1082
|
-
flex: 1;
|
|
1083
|
-
padding-right: 0;
|
|
1084
|
-
opacity: 1;
|
|
1085
|
-
}
|
|
1086
|
-
|
|
1087
|
-
.emotion-3 {
|
|
1088
|
-
position: relative;
|
|
1089
|
-
overflow: hidden;
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
1066
|
.emotion-2 {
|
|
1093
1067
|
position: relative;
|
|
1094
1068
|
overflow: auto;
|
|
@@ -1244,6 +1218,32 @@ exports[`Storyshots Basics|SyntaxHighlighter padded 1`] = `
|
|
|
1244
1218
|
opacity: 0.7;
|
|
1245
1219
|
}
|
|
1246
1220
|
|
|
1221
|
+
.emotion-1 {
|
|
1222
|
+
display: -webkit-box;
|
|
1223
|
+
display: -webkit-flex;
|
|
1224
|
+
display: -ms-flexbox;
|
|
1225
|
+
display: flex;
|
|
1226
|
+
-webkit-box-pack: start;
|
|
1227
|
+
-webkit-justify-content: flex-start;
|
|
1228
|
+
-ms-flex-pack: start;
|
|
1229
|
+
justify-content: flex-start;
|
|
1230
|
+
margin: 0;
|
|
1231
|
+
padding: 10px;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
.emotion-0 {
|
|
1235
|
+
-webkit-flex: 1;
|
|
1236
|
+
-ms-flex: 1;
|
|
1237
|
+
flex: 1;
|
|
1238
|
+
padding-right: 0;
|
|
1239
|
+
opacity: 1;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
.emotion-3 {
|
|
1243
|
+
position: relative;
|
|
1244
|
+
overflow: hidden;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
1247
|
<div
|
|
1248
1248
|
class="emotion-3"
|
|
1249
1249
|
>
|
|
@@ -1443,19 +1443,6 @@ exports[`Storyshots Basics|SyntaxHighlighter padded 1`] = `
|
|
|
1443
1443
|
`;
|
|
1444
1444
|
|
|
1445
1445
|
exports[`Storyshots Basics|SyntaxHighlighter showLineNumbers 1`] = `
|
|
1446
|
-
.emotion-0 {
|
|
1447
|
-
-webkit-flex: 1;
|
|
1448
|
-
-ms-flex: 1;
|
|
1449
|
-
flex: 1;
|
|
1450
|
-
padding-right: 0;
|
|
1451
|
-
opacity: 1;
|
|
1452
|
-
}
|
|
1453
|
-
|
|
1454
|
-
.emotion-3 {
|
|
1455
|
-
position: relative;
|
|
1456
|
-
overflow: hidden;
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
1446
|
.emotion-2 {
|
|
1460
1447
|
position: relative;
|
|
1461
1448
|
overflow: auto;
|
|
@@ -1611,6 +1598,19 @@ exports[`Storyshots Basics|SyntaxHighlighter showLineNumbers 1`] = `
|
|
|
1611
1598
|
opacity: 0.7;
|
|
1612
1599
|
}
|
|
1613
1600
|
|
|
1601
|
+
.emotion-0 {
|
|
1602
|
+
-webkit-flex: 1;
|
|
1603
|
+
-ms-flex: 1;
|
|
1604
|
+
flex: 1;
|
|
1605
|
+
padding-right: 0;
|
|
1606
|
+
opacity: 1;
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
.emotion-3 {
|
|
1610
|
+
position: relative;
|
|
1611
|
+
overflow: hidden;
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
1614
|
.emotion-1 {
|
|
1615
1615
|
display: -webkit-box;
|
|
1616
1616
|
display: -webkit-flex;
|
|
@@ -1855,19 +1855,6 @@ exports[`Storyshots Basics|SyntaxHighlighter showLineNumbers 1`] = `
|
|
|
1855
1855
|
`;
|
|
1856
1856
|
|
|
1857
1857
|
exports[`Storyshots Basics|SyntaxHighlighter story 1`] = `
|
|
1858
|
-
.emotion-0 {
|
|
1859
|
-
-webkit-flex: 1;
|
|
1860
|
-
-ms-flex: 1;
|
|
1861
|
-
flex: 1;
|
|
1862
|
-
padding-right: 0;
|
|
1863
|
-
opacity: 1;
|
|
1864
|
-
}
|
|
1865
|
-
|
|
1866
|
-
.emotion-3 {
|
|
1867
|
-
position: relative;
|
|
1868
|
-
overflow: hidden;
|
|
1869
|
-
}
|
|
1870
|
-
|
|
1871
1858
|
.emotion-2 {
|
|
1872
1859
|
position: relative;
|
|
1873
1860
|
overflow: auto;
|
|
@@ -2023,6 +2010,19 @@ exports[`Storyshots Basics|SyntaxHighlighter story 1`] = `
|
|
|
2023
2010
|
opacity: 0.7;
|
|
2024
2011
|
}
|
|
2025
2012
|
|
|
2013
|
+
.emotion-0 {
|
|
2014
|
+
-webkit-flex: 1;
|
|
2015
|
+
-ms-flex: 1;
|
|
2016
|
+
flex: 1;
|
|
2017
|
+
padding-right: 0;
|
|
2018
|
+
opacity: 1;
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
.emotion-3 {
|
|
2022
|
+
position: relative;
|
|
2023
|
+
overflow: hidden;
|
|
2024
|
+
}
|
|
2025
|
+
|
|
2026
2026
|
.emotion-1 {
|
|
2027
2027
|
display: -webkit-box;
|
|
2028
2028
|
display: -webkit-flex;
|