@storybook/components 5.1.7 → 5.1.11

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 (25) hide show
  1. package/dist/syntaxhighlighter/syntaxhighlighter.js +1 -1
  2. package/dist/typings.d.js +1 -0
  3. package/package.json +4 -4
  4. package/src/syntaxhighlighter/__snapshots__/syntaxhighlighter.stories.storyshot +1 -1
  5. package/src/syntaxhighlighter/syntaxhighlighter.tsx +1 -1
  6. package/dist/Badge/__snapshots__/Badge.stories.storyshot +0 -96
  7. package/dist/Button/__snapshots__/Button.stories.storyshot +0 -1028
  8. package/dist/brand/__snapshots__/StorybookIcon.stories.storyshot +0 -36
  9. package/dist/form/__snapshots__/form.stories.storyshot +0 -2756
  10. package/dist/icon/__snapshots__/icon.stories.storyshot +0 -4960
  11. package/dist/spaced/__snapshots__/Spaced.stories.storyshot +0 -249
  12. package/dist/syntaxhighlighter/__snapshots__/syntaxhighlighter.stories.storyshot +0 -3971
  13. package/dist/syntaxhighlighter/formatter.test.js +0 -59
  14. package/dist/tabs/__snapshots__/tabs.stories.storyshot +0 -2029
  15. package/dist/tooltip/__snapshots__/ListItem.stories.storyshot +0 -1212
  16. package/dist/tooltip/__snapshots__/Tooltip.stories.storyshot +0 -269
  17. package/dist/tooltip/__snapshots__/TooltipLinkList.stories.storyshot +0 -326
  18. package/dist/tooltip/__snapshots__/TooltipMessage.stories.storyshot +0 -514
  19. package/dist/tooltip/__snapshots__/TooltipNote.stories.storyshot +0 -54
  20. package/dist/tooltip/__snapshots__/WithTooltip.stories.storyshot +0 -448
  21. package/dist/typings.d.ts +0 -4
  22. package/dist/typography/__snapshots__/typography.stories.storyshot +0 -186
  23. package/dist/typography/link/__snapshots__/link.stories.storyshot +0 -664
  24. package/dist/typography/link/link.test.d.ts +0 -1
  25. package/dist/typography/link/link.test.js +0 -162
@@ -1,448 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Storyshots basics/Tooltip/WithTooltip no chrome 1`] = `
4
- .emotion-2 {
5
- display: inline-block;
6
- cursor: pointer;
7
- }
8
-
9
- .emotion-4 {
10
- height: 300px;
11
- }
12
-
13
- .emotion-3 {
14
- width: 500px;
15
- height: 500px;
16
- overflow-y: scroll;
17
- background: #eee;
18
- position: relative;
19
- }
20
-
21
- .emotion-0 {
22
- height: 100px;
23
- }
24
-
25
- .emotion-1 {
26
- width: 200px;
27
- height: 100px;
28
- background-color: red;
29
- color: white;
30
- }
31
-
32
- <div
33
- class="emotion-4"
34
- >
35
- <div
36
- class="emotion-3"
37
- >
38
- <div
39
- class="emotion-0"
40
- />
41
- <div
42
- class="emotion-2"
43
- >
44
- <div
45
- class="emotion-1"
46
- >
47
- Click me!
48
- </div>
49
- </div>
50
- </div>
51
- </div>
52
- `;
53
-
54
- exports[`Storyshots basics/Tooltip/WithTooltip simple click 1`] = `
55
- .emotion-2 {
56
- display: inline-block;
57
- cursor: pointer;
58
- }
59
-
60
- .emotion-4 {
61
- height: 300px;
62
- }
63
-
64
- .emotion-3 {
65
- width: 500px;
66
- height: 500px;
67
- overflow-y: scroll;
68
- background: #eee;
69
- position: relative;
70
- }
71
-
72
- .emotion-0 {
73
- height: 100px;
74
- }
75
-
76
- .emotion-1 {
77
- width: 200px;
78
- height: 100px;
79
- background-color: red;
80
- color: white;
81
- }
82
-
83
- <div
84
- class="emotion-4"
85
- >
86
- <div
87
- class="emotion-3"
88
- >
89
- <div
90
- class="emotion-0"
91
- />
92
- <div
93
- class="emotion-2"
94
- >
95
- <div
96
- class="emotion-1"
97
- >
98
- Click me!
99
- </div>
100
- </div>
101
- </div>
102
- </div>
103
- `;
104
-
105
- exports[`Storyshots basics/Tooltip/WithTooltip simple click closeOnClick 1`] = `
106
- .emotion-2 {
107
- display: inline-block;
108
- cursor: pointer;
109
- }
110
-
111
- .emotion-4 {
112
- height: 300px;
113
- }
114
-
115
- .emotion-3 {
116
- width: 500px;
117
- height: 500px;
118
- overflow-y: scroll;
119
- background: #eee;
120
- position: relative;
121
- }
122
-
123
- .emotion-0 {
124
- height: 100px;
125
- }
126
-
127
- .emotion-1 {
128
- width: 200px;
129
- height: 100px;
130
- background-color: red;
131
- color: white;
132
- }
133
-
134
- <div
135
- class="emotion-4"
136
- >
137
- <div
138
- class="emotion-3"
139
- >
140
- <div
141
- class="emotion-0"
142
- />
143
- <div
144
- class="emotion-2"
145
- >
146
- <div
147
- class="emotion-1"
148
- >
149
- Click me!
150
- </div>
151
- </div>
152
- </div>
153
- </div>
154
- `;
155
-
156
- exports[`Storyshots basics/Tooltip/WithTooltip simple click start open 1`] = `
157
- .emotion-2 {
158
- display: inline-block;
159
- cursor: pointer;
160
- }
161
-
162
- .emotion-8 {
163
- display: inline-block;
164
- -webkit-transition: all 150ms ease-out;
165
- transition: all 150ms ease-out;
166
- -webkit-text-decoration: none;
167
- text-decoration: none;
168
- color: #1EA7FD;
169
- }
170
-
171
- .emotion-8 svg path {
172
- fill: #1EA7FD;
173
- }
174
-
175
- .emotion-8:hover,
176
- .emotion-8:focus {
177
- cursor: pointer;
178
- color: #0297f5;
179
- }
180
-
181
- .emotion-8:hover svg path,
182
- .emotion-8:focus svg path {
183
- fill: #0297f5;
184
- }
185
-
186
- .emotion-8:active {
187
- color: #028ee6;
188
- }
189
-
190
- .emotion-8:active svg path {
191
- fill: #028ee6;
192
- }
193
-
194
- .emotion-8 svg {
195
- display: inline-block;
196
- height: 1em;
197
- width: 1em;
198
- vertical-align: text-top;
199
- position: relative;
200
- bottom: -0.125em;
201
- margin-right: 0.4em;
202
- }
203
-
204
- .emotion-11 {
205
- display: inline-block;
206
- z-index: 2147483647;
207
- margin-bottom: 10px;
208
- margin-top: 0px;
209
- margin-left: 0px;
210
- margin-right: 0px;
211
- background: rgba(255,255,255,0.95);
212
- -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
213
- filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
214
- border-radius: 8px;
215
- font-size: 12px;
216
- }
217
-
218
- .emotion-3 {
219
- position: absolute;
220
- border-style: solid;
221
- margin-bottom: 0px;
222
- margin-top: 8px;
223
- margin-right: 8px;
224
- margin-left: 8px;
225
- bottom: -8px;
226
- top: autopx;
227
- right: autopx;
228
- left: autopx;
229
- border-bottom-width: 0px;
230
- border-top-width: 8px;
231
- border-right-width: 8px;
232
- border-left-width: 8px;
233
- border-top-color: rgba(255,255,255,0.95);
234
- border-bottom-color: transparent;
235
- border-left-color: transparent;
236
- border-right-color: transparent;
237
- }
238
-
239
- .emotion-10 {
240
- padding: 15px;
241
- width: 280px;
242
- box-sizing: border-box;
243
- }
244
-
245
- .emotion-6 {
246
- color: #444444;
247
- line-height: 18px;
248
- }
249
-
250
- .emotion-4 {
251
- font-weight: 900;
252
- }
253
-
254
- .emotion-9 {
255
- margin-top: 8px;
256
- text-align: center;
257
- }
258
-
259
- .emotion-9 > * {
260
- margin: 0 8px;
261
- font-weight: 900;
262
- }
263
-
264
- .emotion-13 {
265
- height: 300px;
266
- }
267
-
268
- .emotion-12 {
269
- width: 500px;
270
- height: 500px;
271
- overflow-y: scroll;
272
- background: #eee;
273
- position: relative;
274
- }
275
-
276
- .emotion-0 {
277
- height: 100px;
278
- }
279
-
280
- .emotion-1 {
281
- width: 200px;
282
- height: 100px;
283
- background-color: red;
284
- color: white;
285
- }
286
-
287
- <div
288
- class="emotion-13"
289
- >
290
- <div
291
- class="emotion-12"
292
- >
293
- <div
294
- class="emotion-0"
295
- />
296
- <div
297
- class="emotion-2"
298
- >
299
- <div
300
- class="emotion-1"
301
- >
302
- Click me!
303
- </div>
304
- </div>
305
- <div
306
- class="emotion-11"
307
- style="position:absolute;top:0;left:0;opacity:0;pointer-events:none"
308
- >
309
- <div
310
- class="emotion-3"
311
- />
312
- <div
313
- class="emotion-10"
314
- >
315
- <div
316
- class="emotion-6"
317
- >
318
- <div
319
- class="emotion-4"
320
- >
321
- Lorem ipsum dolor sit
322
- </div>
323
- <span
324
- class="emotion-5"
325
- >
326
- Amet consectatur vestibulum concet durum politu coret weirom
327
- </span>
328
- </div>
329
- <div
330
- class="emotion-9"
331
- >
332
- <a
333
- class="emotion-8"
334
- >
335
- <span
336
- class="emotion-7"
337
- >
338
- Continue
339
- </span>
340
- </a>
341
- </div>
342
- </div>
343
- </div>
344
- </div>
345
- </div>
346
- `;
347
-
348
- exports[`Storyshots basics/Tooltip/WithTooltip simple hover 1`] = `
349
- .emotion-2 {
350
- display: inline-block;
351
- cursor: pointer;
352
- }
353
-
354
- .emotion-4 {
355
- height: 300px;
356
- }
357
-
358
- .emotion-3 {
359
- width: 500px;
360
- height: 500px;
361
- overflow-y: scroll;
362
- background: #eee;
363
- position: relative;
364
- }
365
-
366
- .emotion-0 {
367
- height: 100px;
368
- }
369
-
370
- .emotion-1 {
371
- width: 200px;
372
- height: 100px;
373
- background-color: red;
374
- color: white;
375
- }
376
-
377
- <div
378
- class="emotion-4"
379
- >
380
- <div
381
- class="emotion-3"
382
- >
383
- <div
384
- class="emotion-0"
385
- />
386
- <div
387
- class="emotion-2"
388
- >
389
- <div
390
- class="emotion-1"
391
- >
392
- Hover me!
393
- </div>
394
- </div>
395
- </div>
396
- </div>
397
- `;
398
-
399
- exports[`Storyshots basics/Tooltip/WithTooltip simple hover, functional 1`] = `
400
- .emotion-2 {
401
- display: inline-block;
402
- cursor: pointer;
403
- }
404
-
405
- .emotion-4 {
406
- height: 300px;
407
- }
408
-
409
- .emotion-3 {
410
- width: 500px;
411
- height: 500px;
412
- overflow-y: scroll;
413
- background: #eee;
414
- position: relative;
415
- }
416
-
417
- .emotion-0 {
418
- height: 100px;
419
- }
420
-
421
- .emotion-1 {
422
- width: 200px;
423
- height: 100px;
424
- background-color: red;
425
- color: white;
426
- }
427
-
428
- <div
429
- class="emotion-4"
430
- >
431
- <div
432
- class="emotion-3"
433
- >
434
- <div
435
- class="emotion-0"
436
- />
437
- <div
438
- class="emotion-2"
439
- >
440
- <div
441
- class="emotion-1"
442
- >
443
- Hover me!
444
- </div>
445
- </div>
446
- </div>
447
- </div>
448
- `;
package/dist/typings.d.ts DELETED
@@ -1,4 +0,0 @@
1
- declare module 'global';
2
- declare module 'simplebar-react';
3
- declare module 'markdown-to-jsx';
4
- declare module '*.md';
@@ -1,186 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Storyshots Basics|typography all 1`] = `
4
- .emotion-16 {
5
- padding: 3rem;
6
- }
7
-
8
- .emotion-0 {
9
- margin-bottom: 3rem;
10
- }
11
-
12
- .emotion-15 {
13
- display: -webkit-box;
14
- display: -webkit-flex;
15
- display: -ms-flexbox;
16
- display: flex;
17
- -webkit-flex-direction: row;
18
- -ms-flex-direction: row;
19
- flex-direction: row;
20
- }
21
-
22
- .emotion-15 > * {
23
- -webkit-flex: 1;
24
- -ms-flex: 1;
25
- flex: 1;
26
- padding-right: 40px;
27
- }
28
-
29
- .emotion-10 {
30
- font-weight: 900;
31
- }
32
-
33
- .emotion-10 > * {
34
- margin-bottom: 1rem;
35
- }
36
-
37
- .emotion-1 {
38
- font-size: 48px;
39
- }
40
-
41
- .emotion-2 {
42
- font-size: 40px;
43
- }
44
-
45
- .emotion-3 {
46
- font-size: 32px;
47
- }
48
-
49
- .emotion-4 {
50
- font-size: 28px;
51
- }
52
-
53
- .emotion-6 {
54
- font-size: 20px;
55
- }
56
-
57
- .emotion-7 {
58
- font-size: 16px;
59
- }
60
-
61
- .emotion-8 {
62
- font-size: 14px;
63
- }
64
-
65
- .emotion-9 {
66
- font-size: 12px;
67
- }
68
-
69
- .emotion-14 > * {
70
- margin-bottom: 1rem;
71
- }
72
-
73
- <div
74
- class="emotion-16"
75
- >
76
- <div
77
- class="emotion-0"
78
- >
79
- <div>
80
- <b>
81
- Font-family:
82
- </b>
83
- "Nunito sans", Apple system font ... sans-serif
84
- </div>
85
- <div>
86
- <b>
87
- UI text size:
88
- </b>
89
- 13px
90
- </div>
91
- <div>
92
- <b>
93
- Document/Markdown text size:
94
- </b>
95
- 14px
96
- </div>
97
- <div>
98
- <b>
99
- Code font:
100
- </b>
101
-
102
- <code>
103
- Operator Mono, Fira Code, Consolas ... monospace
104
- </code>
105
- </div>
106
- <div>
107
- <b>
108
- Weights:
109
- </b>
110
- 400(normal), 600(bold), 900(black)
111
- </div>
112
- </div>
113
- <div
114
- class="emotion-15"
115
- >
116
- <div
117
- class="emotion-10"
118
- >
119
- <div
120
- class="emotion-1"
121
- >
122
- 48 heading
123
- </div>
124
- <div
125
- class="emotion-2"
126
- >
127
- 40 heading
128
- </div>
129
- <div
130
- class="emotion-3"
131
- >
132
- 32 heading
133
- </div>
134
- <div
135
- class="emotion-4"
136
- >
137
- 28 heading
138
- </div>
139
- <div
140
- class="emotion-4"
141
- >
142
- 24 heading
143
- </div>
144
- <div
145
- class="emotion-6"
146
- >
147
- 20 heading
148
- </div>
149
- <div
150
- class="emotion-7"
151
- >
152
- 16 heading
153
- </div>
154
- <div
155
- class="emotion-8"
156
- >
157
- 14 heading
158
- </div>
159
- <div
160
- class="emotion-9"
161
- >
162
- 12 heading
163
- </div>
164
- </div>
165
- <div
166
- class="emotion-14"
167
- >
168
- <div
169
- class="emotion-7"
170
- >
171
- 16 The quick brown fox jumps over the lazy dog
172
- </div>
173
- <div
174
- class="emotion-8"
175
- >
176
- 14 The quick brown fox jumps over the lazy dog
177
- </div>
178
- <div
179
- class="emotion-9"
180
- >
181
- 12 The quick brown fox jumps over the lazy dog
182
- </div>
183
- </div>
184
- </div>
185
- </div>
186
- `;