@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,664 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Storyshots Basics|Link cancel w/ href 1`] = `
4
- .emotion-1 {
5
- display: inline-block;
6
- -webkit-transition: all 150ms ease-out;
7
- transition: all 150ms ease-out;
8
- -webkit-text-decoration: none;
9
- text-decoration: none;
10
- color: #1EA7FD;
11
- }
12
-
13
- .emotion-1 svg path {
14
- fill: #1EA7FD;
15
- }
16
-
17
- .emotion-1:hover,
18
- .emotion-1:focus {
19
- cursor: pointer;
20
- color: #0297f5;
21
- }
22
-
23
- .emotion-1:hover svg path,
24
- .emotion-1:focus svg path {
25
- fill: #0297f5;
26
- }
27
-
28
- .emotion-1:active {
29
- color: #028ee6;
30
- }
31
-
32
- .emotion-1:active svg path {
33
- fill: #028ee6;
34
- }
35
-
36
- .emotion-1 svg {
37
- display: inline-block;
38
- height: 1em;
39
- width: 1em;
40
- vertical-align: text-top;
41
- position: relative;
42
- bottom: -0.125em;
43
- margin-right: 0.4em;
44
- }
45
-
46
- <a
47
- class="emotion-1"
48
- href="http://example.com"
49
- >
50
- <span
51
- class="emotion-0"
52
- >
53
- Link
54
- </span>
55
- </a>
56
- `;
57
-
58
- exports[`Storyshots Basics|Link cancel w/ onClick 1`] = `
59
- .emotion-1 {
60
- display: inline-block;
61
- -webkit-transition: all 150ms ease-out;
62
- transition: all 150ms ease-out;
63
- -webkit-text-decoration: none;
64
- text-decoration: none;
65
- color: #1EA7FD;
66
- }
67
-
68
- .emotion-1 svg path {
69
- fill: #1EA7FD;
70
- }
71
-
72
- .emotion-1:hover,
73
- .emotion-1:focus {
74
- cursor: pointer;
75
- color: #0297f5;
76
- }
77
-
78
- .emotion-1:hover svg path,
79
- .emotion-1:focus svg path {
80
- fill: #0297f5;
81
- }
82
-
83
- .emotion-1:active {
84
- color: #028ee6;
85
- }
86
-
87
- .emotion-1:active svg path {
88
- fill: #028ee6;
89
- }
90
-
91
- .emotion-1 svg {
92
- display: inline-block;
93
- height: 1em;
94
- width: 1em;
95
- vertical-align: text-top;
96
- position: relative;
97
- bottom: -0.125em;
98
- margin-right: 0.4em;
99
- }
100
-
101
- <a
102
- class="emotion-1"
103
- href="/"
104
- >
105
- <span
106
- class="emotion-0"
107
- >
108
- Try clicking with different mouse buttons and modifier keys (shift/ctrl/alt/cmd)
109
- </span>
110
- </a>
111
- `;
112
-
113
- exports[`Storyshots Basics|Link no-cancel w/ href 1`] = `
114
- .emotion-1 {
115
- display: inline-block;
116
- -webkit-transition: all 150ms ease-out;
117
- transition: all 150ms ease-out;
118
- -webkit-text-decoration: none;
119
- text-decoration: none;
120
- color: #1EA7FD;
121
- }
122
-
123
- .emotion-1 svg path {
124
- fill: #1EA7FD;
125
- }
126
-
127
- .emotion-1:hover,
128
- .emotion-1:focus {
129
- cursor: pointer;
130
- color: #0297f5;
131
- }
132
-
133
- .emotion-1:hover svg path,
134
- .emotion-1:focus svg path {
135
- fill: #0297f5;
136
- }
137
-
138
- .emotion-1:active {
139
- color: #028ee6;
140
- }
141
-
142
- .emotion-1:active svg path {
143
- fill: #028ee6;
144
- }
145
-
146
- .emotion-1 svg {
147
- display: inline-block;
148
- height: 1em;
149
- width: 1em;
150
- vertical-align: text-top;
151
- position: relative;
152
- bottom: -0.125em;
153
- margin-right: 0.4em;
154
- }
155
-
156
- <a
157
- class="emotion-1"
158
- href="http://example.com"
159
- >
160
- <span
161
- class="emotion-0"
162
- >
163
- Link
164
- </span>
165
- </a>
166
- `;
167
-
168
- exports[`Storyshots Basics|Link no-cancel w/ onClick 1`] = `
169
- .emotion-1 {
170
- display: inline-block;
171
- -webkit-transition: all 150ms ease-out;
172
- transition: all 150ms ease-out;
173
- -webkit-text-decoration: none;
174
- text-decoration: none;
175
- color: #1EA7FD;
176
- }
177
-
178
- .emotion-1 svg path {
179
- fill: #1EA7FD;
180
- }
181
-
182
- .emotion-1:hover,
183
- .emotion-1:focus {
184
- cursor: pointer;
185
- color: #0297f5;
186
- }
187
-
188
- .emotion-1:hover svg path,
189
- .emotion-1:focus svg path {
190
- fill: #0297f5;
191
- }
192
-
193
- .emotion-1:active {
194
- color: #028ee6;
195
- }
196
-
197
- .emotion-1:active svg path {
198
- fill: #028ee6;
199
- }
200
-
201
- .emotion-1 svg {
202
- display: inline-block;
203
- height: 1em;
204
- width: 1em;
205
- vertical-align: text-top;
206
- position: relative;
207
- bottom: -0.125em;
208
- margin-right: 0.4em;
209
- }
210
-
211
- <a
212
- class="emotion-1"
213
- href="/"
214
- >
215
- <span
216
- class="emotion-0"
217
- >
218
- any click will go through
219
- </span>
220
- </a>
221
- `;
222
-
223
- exports[`Storyshots Basics|Link styled links 1`] = `
224
- .emotion-9 {
225
- shape-rendering: inherit;
226
- -webkit-transform: translate3d(0,0,0);
227
- -ms-transform: translate3d(0,0,0);
228
- transform: translate3d(0,0,0);
229
- display: block;
230
- }
231
-
232
- .emotion-8 {
233
- fill: currentColor;
234
- }
235
-
236
- .emotion-1 {
237
- display: inline-block;
238
- -webkit-transition: all 150ms ease-out;
239
- transition: all 150ms ease-out;
240
- -webkit-text-decoration: none;
241
- text-decoration: none;
242
- color: #1EA7FD;
243
- }
244
-
245
- .emotion-1 svg path {
246
- fill: #1EA7FD;
247
- }
248
-
249
- .emotion-1:hover,
250
- .emotion-1:focus {
251
- cursor: pointer;
252
- color: #0297f5;
253
- }
254
-
255
- .emotion-1:hover svg path,
256
- .emotion-1:focus svg path {
257
- fill: #0297f5;
258
- }
259
-
260
- .emotion-1:active {
261
- color: #028ee6;
262
- }
263
-
264
- .emotion-1:active svg path {
265
- fill: #028ee6;
266
- }
267
-
268
- .emotion-1 svg {
269
- display: inline-block;
270
- height: 1em;
271
- width: 1em;
272
- vertical-align: text-top;
273
- position: relative;
274
- bottom: -0.125em;
275
- margin-right: 0.4em;
276
- }
277
-
278
- .emotion-3 {
279
- display: inline-block;
280
- -webkit-transition: all 150ms ease-out;
281
- transition: all 150ms ease-out;
282
- -webkit-text-decoration: none;
283
- text-decoration: none;
284
- color: #1EA7FD;
285
- color: #999999;
286
- }
287
-
288
- .emotion-3 svg path {
289
- fill: #1EA7FD;
290
- }
291
-
292
- .emotion-3:hover,
293
- .emotion-3:focus {
294
- cursor: pointer;
295
- color: #0297f5;
296
- }
297
-
298
- .emotion-3:hover svg path,
299
- .emotion-3:focus svg path {
300
- fill: #0297f5;
301
- }
302
-
303
- .emotion-3:active {
304
- color: #028ee6;
305
- }
306
-
307
- .emotion-3:active svg path {
308
- fill: #028ee6;
309
- }
310
-
311
- .emotion-3 svg {
312
- display: inline-block;
313
- height: 1em;
314
- width: 1em;
315
- vertical-align: text-top;
316
- position: relative;
317
- bottom: -0.125em;
318
- margin-right: 0.4em;
319
- }
320
-
321
- .emotion-3 svg path {
322
- fill: #999999;
323
- }
324
-
325
- .emotion-3:hover {
326
- color: #666666;
327
- }
328
-
329
- .emotion-3:hover svg path {
330
- fill: #666666;
331
- }
332
-
333
- .emotion-3:active {
334
- color: #444444;
335
- }
336
-
337
- .emotion-3:active svg path {
338
- fill: #444444;
339
- }
340
-
341
- .emotion-5 {
342
- display: inline-block;
343
- -webkit-transition: all 150ms ease-out;
344
- transition: all 150ms ease-out;
345
- -webkit-text-decoration: none;
346
- text-decoration: none;
347
- color: #1EA7FD;
348
- color: #666666;
349
- }
350
-
351
- .emotion-5 svg path {
352
- fill: #1EA7FD;
353
- }
354
-
355
- .emotion-5:hover,
356
- .emotion-5:focus {
357
- cursor: pointer;
358
- color: #0297f5;
359
- }
360
-
361
- .emotion-5:hover svg path,
362
- .emotion-5:focus svg path {
363
- fill: #0297f5;
364
- }
365
-
366
- .emotion-5:active {
367
- color: #028ee6;
368
- }
369
-
370
- .emotion-5:active svg path {
371
- fill: #028ee6;
372
- }
373
-
374
- .emotion-5 svg {
375
- display: inline-block;
376
- height: 1em;
377
- width: 1em;
378
- vertical-align: text-top;
379
- position: relative;
380
- bottom: -0.125em;
381
- margin-right: 0.4em;
382
- }
383
-
384
- .emotion-5 svg path {
385
- fill: #666666;
386
- }
387
-
388
- .emotion-5:hover {
389
- color: #333333;
390
- }
391
-
392
- .emotion-5:hover svg path {
393
- fill: #333333;
394
- }
395
-
396
- .emotion-5:active {
397
- color: #999999;
398
- }
399
-
400
- .emotion-5:active svg path {
401
- fill: #999999;
402
- }
403
-
404
- .emotion-7 {
405
- display: inline-block;
406
- -webkit-transition: all 150ms ease-out;
407
- transition: all 150ms ease-out;
408
- -webkit-text-decoration: none;
409
- text-decoration: none;
410
- color: #1EA7FD;
411
- color: inherit;
412
- }
413
-
414
- .emotion-7 svg path {
415
- fill: #1EA7FD;
416
- }
417
-
418
- .emotion-7:hover,
419
- .emotion-7:focus {
420
- cursor: pointer;
421
- color: #0297f5;
422
- }
423
-
424
- .emotion-7:hover svg path,
425
- .emotion-7:focus svg path {
426
- fill: #0297f5;
427
- }
428
-
429
- .emotion-7:active {
430
- color: #028ee6;
431
- }
432
-
433
- .emotion-7:active svg path {
434
- fill: #028ee6;
435
- }
436
-
437
- .emotion-7 svg {
438
- display: inline-block;
439
- height: 1em;
440
- width: 1em;
441
- vertical-align: text-top;
442
- position: relative;
443
- bottom: -0.125em;
444
- margin-right: 0.4em;
445
- }
446
-
447
- .emotion-7:hover,
448
- .emotion-7:active {
449
- color: inherit;
450
- -webkit-text-decoration: underline;
451
- text-decoration: underline;
452
- }
453
-
454
- .emotion-14 svg {
455
- height: 1em;
456
- width: 1em;
457
- vertical-align: middle;
458
- position: relative;
459
- bottom: 0;
460
- margin-right: 0;
461
- }
462
-
463
- .emotion-18 > svg:last-of-type {
464
- height: 0.7em;
465
- width: 0.7em;
466
- margin-right: 0;
467
- margin-left: 0.25em;
468
- bottom: auto;
469
- vertical-align: inherit;
470
- }
471
-
472
- .emotion-18 svg {
473
- height: 1em;
474
- width: 1em;
475
- vertical-align: middle;
476
- position: relative;
477
- bottom: 0;
478
- margin-right: 0;
479
- }
480
-
481
- .emotion-21 {
482
- display: inline-block;
483
- -webkit-transition: all 150ms ease-out;
484
- transition: all 150ms ease-out;
485
- -webkit-text-decoration: none;
486
- text-decoration: none;
487
- color: #1EA7FD;
488
- color: #FFFFFF;
489
- }
490
-
491
- .emotion-21 svg path {
492
- fill: #1EA7FD;
493
- }
494
-
495
- .emotion-21:hover,
496
- .emotion-21:focus {
497
- cursor: pointer;
498
- color: #0297f5;
499
- }
500
-
501
- .emotion-21:hover svg path,
502
- .emotion-21:focus svg path {
503
- fill: #0297f5;
504
- }
505
-
506
- .emotion-21:active {
507
- color: #028ee6;
508
- }
509
-
510
- .emotion-21:active svg path {
511
- fill: #028ee6;
512
- }
513
-
514
- .emotion-21 svg {
515
- display: inline-block;
516
- height: 1em;
517
- width: 1em;
518
- vertical-align: text-top;
519
- position: relative;
520
- bottom: -0.125em;
521
- margin-right: 0.4em;
522
- }
523
-
524
- .emotion-21 svg path {
525
- fill: #FFFFFF;
526
- }
527
-
528
- .emotion-21:hover {
529
- color: #F8F8F8;
530
- }
531
-
532
- .emotion-21:hover svg path {
533
- fill: #F8F8F8;
534
- }
535
-
536
- .emotion-21:active {
537
- color: #F3F3F3;
538
- }
539
-
540
- .emotion-21:active svg path {
541
- fill: #F3F3F3;
542
- }
543
-
544
- <div>
545
- <a
546
- class="emotion-1"
547
- href="http://google.com"
548
- >
549
- <span
550
- class="emotion-0"
551
- >
552
- Default
553
- </span>
554
- </a>
555
- <br />
556
- <a
557
- class="emotion-3"
558
- href="http://google.com"
559
- >
560
- <span
561
- class="emotion-0"
562
- >
563
- Secondary
564
- </span>
565
- </a>
566
- <br />
567
- <a
568
- class="emotion-5"
569
- href="http://google.com"
570
- >
571
- <span
572
- class="emotion-0"
573
- >
574
- tertiary
575
- </span>
576
- </a>
577
- <br />
578
- <a
579
- class="emotion-7"
580
- href="http://google.com"
581
- >
582
- <span
583
- class="emotion-0"
584
- >
585
- nochrome
586
- </span>
587
- </a>
588
- <br />
589
- <a
590
- class="emotion-1"
591
- href="http://google.com"
592
- >
593
- <span
594
- class="emotion-0"
595
- >
596
- <svg
597
- class="emotion-9"
598
- viewBox="0 0 1024 1024"
599
- >
600
- <path
601
- class="emotion-8"
602
- d="M371 147c-14 0-126 3-245 91 0 0-126 227-126 507 0 0 74 126 268 132l58-71c-111-34-153-103-153-103l24 15 4 2 8 4a668 668 0 0 0 420 68 629 629 0 0 0 228-89s-44 71-159 103l58 71c194-7 268-133 268-132 0-280-126-507-126-507-126-94-246-91-246-91l-12 14a576 576 0 0 1 218 110 729 729 0 0 0-441-81l-15 1c-31 4-105 14-199 56-33 14-52 24-52 24s72-69 230-114l-9-10h-1zm-23 323c50 0 91 43 90 97 0 53-40 96-90 96-49 0-89-43-89-96 0-54 39-97 89-97zm321 0c49 0 89 43 89 97 0 53-39 96-89 96s-90-43-90-96c0-54 40-97 90-97z"
603
- />
604
- </svg>
605
- With icon in front
606
- </span>
607
- </a>
608
- <br />
609
- <a
610
- class="emotion-1"
611
- href="http://google.com"
612
- >
613
- <span
614
- class="emotion-14"
615
- >
616
- <svg
617
- class="emotion-9"
618
- viewBox="0 0 1024 1024"
619
- >
620
- <path
621
- class="emotion-8"
622
- d="M920.032 127.858h-816c-22.092 0-40 17.908-40 40v688c0 22.092 17.908 40 40 40h316.578c1.13 0.096 2.266 0.172 3.422 0.172s2.292-0.078 3.424-0.172h492.576c22.092 0 40-17.908 40-40v-688c0-22.092-17.908-40-40-40zM144.032 207.858h240v608h-240v-608zM880.032 815.858h-416v-608h416v608zM198.734 288.030c0-17.674 14.328-32 32.002-32h66.396c17.672 0 32 14.326 32 32 0 17.676-14.324 32-32 32h-66.398c-17.674 0-32-14.326-32-32zM198.734 416.030c0-17.674 14.328-32 32.002-32h66.396c17.672 0 32 14.326 32 32 0 17.676-14.324 32-32 32h-66.398c-17.674 0-32-14.326-32-32zM198.734 544.030c0-17.674 14.328-32 32.002-32h66.396c17.672 0 32 14.326 32 32 0 17.676-14.324 32-32 32h-66.398c-17.674 0-32-14.326-32-32z"
623
- />
624
- </svg>
625
- </span>
626
- </a>
627
- <br />
628
- <a
629
- class="emotion-1"
630
- href="http://google.com"
631
- >
632
- <span
633
- class="emotion-18"
634
- >
635
- With arrow behind
636
- <svg
637
- class="emotion-9"
638
- viewBox="0 0 1024 1024"
639
- >
640
- <path
641
- class="emotion-8"
642
- d="M768.072 514.022c0 10.236-3.904 20.47-11.712 28.282l-344.098 344.156c-15.62 15.624-40.946 15.624-56.568 0.006-15.622-15.622-15.624-40.948-0.006-56.568l315.82-315.876-315.868-315.922c-15.618-15.624-15.618-40.952 0.004-56.568 15.624-15.62 40.95-15.618 56.57 0.006l344.144 344.204c7.81 7.81 11.714 18.044 11.714 28.28z"
643
- />
644
- </svg>
645
- </span>
646
- </a>
647
- <br />
648
- <span
649
- style="background:#333"
650
- >
651
- <a
652
- class="emotion-21"
653
- href="http://google.com"
654
- >
655
- <span
656
- class="emotion-0"
657
- >
658
- Inverted colors
659
- </span>
660
- </a>
661
- </span>
662
- <br />
663
- </div>
664
- `;
@@ -1 +0,0 @@
1
- export {};