@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,514 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Storyshots basics/Tooltip/TooltipMessage default 1`] = `
4
- .emotion-0 {
5
- display: inline-block;
6
- cursor: pointer;
7
- }
8
-
9
- .emotion-6 {
10
- display: inline-block;
11
- z-index: 2147483647;
12
- margin-bottom: 10px;
13
- margin-top: 0px;
14
- margin-left: 0px;
15
- margin-right: 0px;
16
- background: rgba(255,255,255,0.95);
17
- -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
18
- filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
19
- border-radius: 8px;
20
- font-size: 12px;
21
- }
22
-
23
- .emotion-1 {
24
- position: absolute;
25
- border-style: solid;
26
- margin-bottom: 0px;
27
- margin-top: 8px;
28
- margin-right: 8px;
29
- margin-left: 8px;
30
- bottom: -8px;
31
- top: autopx;
32
- right: autopx;
33
- left: autopx;
34
- border-bottom-width: 0px;
35
- border-top-width: 8px;
36
- border-right-width: 8px;
37
- border-left-width: 8px;
38
- border-top-color: rgba(255,255,255,0.95);
39
- border-bottom-color: transparent;
40
- border-left-color: transparent;
41
- border-right-color: transparent;
42
- }
43
-
44
- .emotion-5 {
45
- padding: 15px;
46
- width: 280px;
47
- box-sizing: border-box;
48
- }
49
-
50
- .emotion-4 {
51
- color: #444444;
52
- line-height: 18px;
53
- }
54
-
55
- .emotion-2 {
56
- font-weight: 900;
57
- }
58
-
59
- <div
60
- style="height:300px"
61
- >
62
- <div
63
- class="emotion-0"
64
- >
65
- <div>
66
- Tooltip
67
- </div>
68
- </div>
69
- <div
70
- class="emotion-6"
71
- style="position:absolute;top:0;left:0;opacity:0;pointer-events:none"
72
- >
73
- <div
74
- class="emotion-1"
75
- />
76
- <div
77
- class="emotion-5"
78
- >
79
- <div
80
- class="emotion-4"
81
- >
82
- <div
83
- class="emotion-2"
84
- >
85
- Lorem ipsum dolor sit
86
- </div>
87
- <span
88
- class="emotion-3"
89
- >
90
- Amet consectatur vestibulum concet durum politu coret weirom
91
- </span>
92
- </div>
93
- </div>
94
- </div>
95
- </div>
96
- `;
97
-
98
- exports[`Storyshots basics/Tooltip/TooltipMessage minimal message 1`] = `
99
- .emotion-0 {
100
- display: inline-block;
101
- cursor: pointer;
102
- }
103
-
104
- .emotion-5 {
105
- display: inline-block;
106
- z-index: 2147483647;
107
- margin-bottom: 10px;
108
- margin-top: 0px;
109
- margin-left: 0px;
110
- margin-right: 0px;
111
- background: rgba(255,255,255,0.95);
112
- -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
113
- filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
114
- border-radius: 8px;
115
- font-size: 12px;
116
- }
117
-
118
- .emotion-1 {
119
- position: absolute;
120
- border-style: solid;
121
- margin-bottom: 0px;
122
- margin-top: 8px;
123
- margin-right: 8px;
124
- margin-left: 8px;
125
- bottom: -8px;
126
- top: autopx;
127
- right: autopx;
128
- left: autopx;
129
- border-bottom-width: 0px;
130
- border-top-width: 8px;
131
- border-right-width: 8px;
132
- border-left-width: 8px;
133
- border-top-color: rgba(255,255,255,0.95);
134
- border-bottom-color: transparent;
135
- border-left-color: transparent;
136
- border-right-color: transparent;
137
- }
138
-
139
- .emotion-4 {
140
- padding: 15px;
141
- width: 280px;
142
- box-sizing: border-box;
143
- }
144
-
145
- .emotion-3 {
146
- color: #444444;
147
- line-height: 18px;
148
- }
149
-
150
- <div
151
- style="height:300px"
152
- >
153
- <div
154
- class="emotion-0"
155
- >
156
- <div>
157
- Tooltip
158
- </div>
159
- </div>
160
- <div
161
- class="emotion-5"
162
- style="position:absolute;top:0;left:0;opacity:0;pointer-events:none"
163
- >
164
- <div
165
- class="emotion-1"
166
- />
167
- <div
168
- class="emotion-4"
169
- >
170
- <div
171
- class="emotion-3"
172
- >
173
- <span
174
- class="emotion-2"
175
- >
176
- Amet consectatur vestibulum concet durum politu coret weirom
177
- </span>
178
- </div>
179
- </div>
180
- </div>
181
- </div>
182
- `;
183
-
184
- exports[`Storyshots basics/Tooltip/TooltipMessage with link 1`] = `
185
- .emotion-0 {
186
- display: inline-block;
187
- cursor: pointer;
188
- }
189
-
190
- .emotion-6 {
191
- display: inline-block;
192
- -webkit-transition: all 150ms ease-out;
193
- transition: all 150ms ease-out;
194
- -webkit-text-decoration: none;
195
- text-decoration: none;
196
- color: #1EA7FD;
197
- }
198
-
199
- .emotion-6 svg path {
200
- fill: #1EA7FD;
201
- }
202
-
203
- .emotion-6:hover,
204
- .emotion-6:focus {
205
- cursor: pointer;
206
- color: #0297f5;
207
- }
208
-
209
- .emotion-6:hover svg path,
210
- .emotion-6:focus svg path {
211
- fill: #0297f5;
212
- }
213
-
214
- .emotion-6:active {
215
- color: #028ee6;
216
- }
217
-
218
- .emotion-6:active svg path {
219
- fill: #028ee6;
220
- }
221
-
222
- .emotion-6 svg {
223
- display: inline-block;
224
- height: 1em;
225
- width: 1em;
226
- vertical-align: text-top;
227
- position: relative;
228
- bottom: -0.125em;
229
- margin-right: 0.4em;
230
- }
231
-
232
- .emotion-9 {
233
- display: inline-block;
234
- z-index: 2147483647;
235
- margin-bottom: 10px;
236
- margin-top: 0px;
237
- margin-left: 0px;
238
- margin-right: 0px;
239
- background: rgba(255,255,255,0.95);
240
- -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
241
- filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
242
- border-radius: 8px;
243
- font-size: 12px;
244
- }
245
-
246
- .emotion-1 {
247
- position: absolute;
248
- border-style: solid;
249
- margin-bottom: 0px;
250
- margin-top: 8px;
251
- margin-right: 8px;
252
- margin-left: 8px;
253
- bottom: -8px;
254
- top: autopx;
255
- right: autopx;
256
- left: autopx;
257
- border-bottom-width: 0px;
258
- border-top-width: 8px;
259
- border-right-width: 8px;
260
- border-left-width: 8px;
261
- border-top-color: rgba(255,255,255,0.95);
262
- border-bottom-color: transparent;
263
- border-left-color: transparent;
264
- border-right-color: transparent;
265
- }
266
-
267
- .emotion-8 {
268
- padding: 15px;
269
- width: 280px;
270
- box-sizing: border-box;
271
- }
272
-
273
- .emotion-4 {
274
- color: #444444;
275
- line-height: 18px;
276
- }
277
-
278
- .emotion-2 {
279
- font-weight: 900;
280
- }
281
-
282
- .emotion-7 {
283
- margin-top: 8px;
284
- text-align: center;
285
- }
286
-
287
- .emotion-7 > * {
288
- margin: 0 8px;
289
- font-weight: 900;
290
- }
291
-
292
- <div
293
- style="height:300px"
294
- >
295
- <div
296
- class="emotion-0"
297
- >
298
- <div>
299
- Tooltip
300
- </div>
301
- </div>
302
- <div
303
- class="emotion-9"
304
- style="position:absolute;top:0;left:0;opacity:0;pointer-events:none"
305
- >
306
- <div
307
- class="emotion-1"
308
- />
309
- <div
310
- class="emotion-8"
311
- >
312
- <div
313
- class="emotion-4"
314
- >
315
- <div
316
- class="emotion-2"
317
- >
318
- Lorem ipsum dolor sit
319
- </div>
320
- <span
321
- class="emotion-3"
322
- >
323
- Amet consectatur vestibulum concet durum politu coret weirom
324
- </span>
325
- </div>
326
- <div
327
- class="emotion-7"
328
- >
329
- <a
330
- class="emotion-6"
331
- href="test"
332
- >
333
- <span
334
- class="emotion-5"
335
- >
336
- Continue
337
- </span>
338
- </a>
339
- </div>
340
- </div>
341
- </div>
342
- </div>
343
- `;
344
-
345
- exports[`Storyshots basics/Tooltip/TooltipMessage with links 1`] = `
346
- .emotion-0 {
347
- display: inline-block;
348
- cursor: pointer;
349
- }
350
-
351
- .emotion-6 {
352
- display: inline-block;
353
- -webkit-transition: all 150ms ease-out;
354
- transition: all 150ms ease-out;
355
- -webkit-text-decoration: none;
356
- text-decoration: none;
357
- color: #1EA7FD;
358
- }
359
-
360
- .emotion-6 svg path {
361
- fill: #1EA7FD;
362
- }
363
-
364
- .emotion-6:hover,
365
- .emotion-6:focus {
366
- cursor: pointer;
367
- color: #0297f5;
368
- }
369
-
370
- .emotion-6:hover svg path,
371
- .emotion-6:focus svg path {
372
- fill: #0297f5;
373
- }
374
-
375
- .emotion-6:active {
376
- color: #028ee6;
377
- }
378
-
379
- .emotion-6:active svg path {
380
- fill: #028ee6;
381
- }
382
-
383
- .emotion-6 svg {
384
- display: inline-block;
385
- height: 1em;
386
- width: 1em;
387
- vertical-align: text-top;
388
- position: relative;
389
- bottom: -0.125em;
390
- margin-right: 0.4em;
391
- }
392
-
393
- .emotion-11 {
394
- display: inline-block;
395
- z-index: 2147483647;
396
- margin-bottom: 10px;
397
- margin-top: 0px;
398
- margin-left: 0px;
399
- margin-right: 0px;
400
- background: rgba(255,255,255,0.95);
401
- -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
402
- filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
403
- border-radius: 8px;
404
- font-size: 12px;
405
- }
406
-
407
- .emotion-1 {
408
- position: absolute;
409
- border-style: solid;
410
- margin-bottom: 0px;
411
- margin-top: 8px;
412
- margin-right: 8px;
413
- margin-left: 8px;
414
- bottom: -8px;
415
- top: autopx;
416
- right: autopx;
417
- left: autopx;
418
- border-bottom-width: 0px;
419
- border-top-width: 8px;
420
- border-right-width: 8px;
421
- border-left-width: 8px;
422
- border-top-color: rgba(255,255,255,0.95);
423
- border-bottom-color: transparent;
424
- border-left-color: transparent;
425
- border-right-color: transparent;
426
- }
427
-
428
- .emotion-10 {
429
- padding: 15px;
430
- width: 280px;
431
- box-sizing: border-box;
432
- }
433
-
434
- .emotion-4 {
435
- color: #444444;
436
- line-height: 18px;
437
- }
438
-
439
- .emotion-2 {
440
- font-weight: 900;
441
- }
442
-
443
- .emotion-9 {
444
- margin-top: 8px;
445
- text-align: center;
446
- }
447
-
448
- .emotion-9 > * {
449
- margin: 0 8px;
450
- font-weight: 900;
451
- }
452
-
453
- <div
454
- style="height:300px"
455
- >
456
- <div
457
- class="emotion-0"
458
- >
459
- <div>
460
- Tooltip
461
- </div>
462
- </div>
463
- <div
464
- class="emotion-11"
465
- style="position:absolute;top:0;left:0;opacity:0;pointer-events:none"
466
- >
467
- <div
468
- class="emotion-1"
469
- />
470
- <div
471
- class="emotion-10"
472
- >
473
- <div
474
- class="emotion-4"
475
- >
476
- <div
477
- class="emotion-2"
478
- >
479
- Lorem ipsum dolor sit
480
- </div>
481
- <span
482
- class="emotion-3"
483
- >
484
- Amet consectatur vestibulum concet durum politu coret weirom
485
- </span>
486
- </div>
487
- <div
488
- class="emotion-9"
489
- >
490
- <a
491
- class="emotion-6"
492
- href="test"
493
- >
494
- <span
495
- class="emotion-5"
496
- >
497
- Get more tips
498
- </span>
499
- </a>
500
- <a
501
- class="emotion-6"
502
- href="test"
503
- >
504
- <span
505
- class="emotion-5"
506
- >
507
- Done
508
- </span>
509
- </a>
510
- </div>
511
- </div>
512
- </div>
513
- </div>
514
- `;
@@ -1,54 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Storyshots basics/Tooltip/TooltipNote default 1`] = `
4
- .emotion-0 {
5
- display: inline-block;
6
- cursor: pointer;
7
- }
8
-
9
- .emotion-2 {
10
- display: inline-block;
11
- z-index: 2147483647;
12
- margin-bottom: 8px;
13
- margin-top: 0px;
14
- margin-left: 0px;
15
- margin-right: 0px;
16
- }
17
-
18
- .emotion-1 {
19
- padding: 2px 6px;
20
- line-height: 16px;
21
- font-size: 10px;
22
- font-weight: 700;
23
- color: #FFFFFF;
24
- box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
25
- border-radius: 4px;
26
- white-space: nowrap;
27
- pointer-events: none;
28
- z-index: -1;
29
- background: rgba(0,0,0,0.4);
30
- margin: 6px;
31
- }
32
-
33
- <div
34
- style="height:300px"
35
- >
36
- <div
37
- class="emotion-0"
38
- >
39
- <div>
40
- Tooltip
41
- </div>
42
- </div>
43
- <div
44
- class="emotion-2"
45
- style="position:absolute;top:0;left:0;opacity:0;pointer-events:none"
46
- >
47
- <div
48
- class="emotion-1"
49
- >
50
- Lorem ipsum dolor
51
- </div>
52
- </div>
53
- </div>
54
- `;