@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,269 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Storyshots basics/Tooltip/Tooltip basic, default 1`] = `
4
- .emotion-2 {
5
- display: inline-block;
6
- z-index: 2147483647;
7
- margin-bottom: 10px;
8
- margin-top: 0px;
9
- margin-left: 0px;
10
- margin-right: 0px;
11
- background: rgba(255,255,255,0.95);
12
- -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
13
- filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
14
- border-radius: 8px;
15
- font-size: 12px;
16
- }
17
-
18
- .emotion-0 {
19
- position: absolute;
20
- border-style: solid;
21
- margin-bottom: 0px;
22
- margin-top: 8px;
23
- margin-right: 8px;
24
- margin-left: 8px;
25
- bottom: -8px;
26
- top: autopx;
27
- right: autopx;
28
- left: autopx;
29
- border-bottom-width: 0px;
30
- border-top-width: 8px;
31
- border-right-width: 8px;
32
- border-left-width: 8px;
33
- border-top-color: rgba(255,255,255,0.95);
34
- border-bottom-color: transparent;
35
- border-left-color: transparent;
36
- border-right-color: transparent;
37
- }
38
-
39
- .emotion-1 {
40
- width: 100px;
41
- height: 100px;
42
- font-size: 16px;
43
- text-align: center;
44
- line-height: 100px;
45
- }
46
-
47
- <div
48
- class="emotion-2"
49
- color="medium"
50
- style="position:relative;top:20px;left:20px"
51
- >
52
- <div
53
- class="emotion-0"
54
- color="medium"
55
- />
56
- <div
57
- class="emotion-1"
58
- >
59
- Text
60
- </div>
61
- </div>
62
- `;
63
-
64
- exports[`Storyshots basics/Tooltip/Tooltip basic, default, bottom 1`] = `
65
- .emotion-1 {
66
- width: 100px;
67
- height: 100px;
68
- font-size: 16px;
69
- text-align: center;
70
- line-height: 100px;
71
- }
72
-
73
- .emotion-2 {
74
- display: inline-block;
75
- z-index: 2147483647;
76
- margin-bottom: 0px;
77
- margin-top: 10px;
78
- margin-left: 0px;
79
- margin-right: 0px;
80
- background: rgba(255,255,255,0.95);
81
- -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
82
- filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
83
- border-radius: 8px;
84
- font-size: 12px;
85
- }
86
-
87
- .emotion-0 {
88
- position: absolute;
89
- border-style: solid;
90
- margin-bottom: 8px;
91
- margin-top: 0px;
92
- margin-right: 8px;
93
- margin-left: 8px;
94
- bottom: autopx;
95
- top: -8px;
96
- right: autopx;
97
- left: autopx;
98
- border-bottom-width: 8px;
99
- border-top-width: 0px;
100
- border-right-width: 8px;
101
- border-left-width: 8px;
102
- border-top-color: transparent;
103
- border-bottom-color: rgba(255,255,255,0.95);
104
- border-left-color: transparent;
105
- border-right-color: transparent;
106
- }
107
-
108
- <div
109
- class="emotion-2"
110
- style="position:relative;top:20px;left:20px"
111
- >
112
- <div
113
- class="emotion-0"
114
- />
115
- <div
116
- class="emotion-1"
117
- >
118
- Text
119
- </div>
120
- </div>
121
- `;
122
-
123
- exports[`Storyshots basics/Tooltip/Tooltip basic, default, left 1`] = `
124
- .emotion-1 {
125
- width: 100px;
126
- height: 100px;
127
- font-size: 16px;
128
- text-align: center;
129
- line-height: 100px;
130
- }
131
-
132
- .emotion-2 {
133
- display: inline-block;
134
- z-index: 2147483647;
135
- margin-bottom: 0px;
136
- margin-top: 0px;
137
- margin-left: 0px;
138
- margin-right: 10px;
139
- background: rgba(255,255,255,0.95);
140
- -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
141
- filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
142
- border-radius: 8px;
143
- font-size: 12px;
144
- }
145
-
146
- .emotion-0 {
147
- position: absolute;
148
- border-style: solid;
149
- margin-bottom: 8px;
150
- margin-top: 8px;
151
- margin-right: 0px;
152
- margin-left: 8px;
153
- bottom: autopx;
154
- top: autopx;
155
- right: -8px;
156
- left: autopx;
157
- border-bottom-width: 8px;
158
- border-top-width: 8px;
159
- border-right-width: 0px;
160
- border-left-width: 8px;
161
- border-top-color: transparent;
162
- border-bottom-color: transparent;
163
- border-left-color: rgba(255,255,255,0.95);
164
- border-right-color: transparent;
165
- }
166
-
167
- <div
168
- class="emotion-2"
169
- style="position:relative;top:20px;left:20px"
170
- >
171
- <div
172
- class="emotion-0"
173
- />
174
- <div
175
- class="emotion-1"
176
- >
177
- Text
178
- </div>
179
- </div>
180
- `;
181
-
182
- exports[`Storyshots basics/Tooltip/Tooltip basic, default, right 1`] = `
183
- .emotion-1 {
184
- width: 100px;
185
- height: 100px;
186
- font-size: 16px;
187
- text-align: center;
188
- line-height: 100px;
189
- }
190
-
191
- .emotion-2 {
192
- display: inline-block;
193
- z-index: 2147483647;
194
- margin-bottom: 0px;
195
- margin-top: 0px;
196
- margin-left: 10px;
197
- margin-right: 0px;
198
- background: rgba(255,255,255,0.95);
199
- -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
200
- filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
201
- border-radius: 8px;
202
- font-size: 12px;
203
- }
204
-
205
- .emotion-0 {
206
- position: absolute;
207
- border-style: solid;
208
- margin-bottom: 8px;
209
- margin-top: 8px;
210
- margin-right: 8px;
211
- margin-left: 0px;
212
- bottom: autopx;
213
- top: autopx;
214
- right: autopx;
215
- left: -8px;
216
- border-bottom-width: 8px;
217
- border-top-width: 8px;
218
- border-right-width: 8px;
219
- border-left-width: 0px;
220
- border-top-color: transparent;
221
- border-bottom-color: transparent;
222
- border-left-color: transparent;
223
- border-right-color: rgba(255,255,255,0.95);
224
- }
225
-
226
- <div
227
- class="emotion-2"
228
- style="position:relative;top:20px;left:20px"
229
- >
230
- <div
231
- class="emotion-0"
232
- />
233
- <div
234
- class="emotion-1"
235
- >
236
- Text
237
- </div>
238
- </div>
239
- `;
240
-
241
- exports[`Storyshots basics/Tooltip/Tooltip no chrome 1`] = `
242
- .emotion-0 {
243
- width: 100px;
244
- height: 100px;
245
- font-size: 16px;
246
- text-align: center;
247
- line-height: 100px;
248
- }
249
-
250
- .emotion-1 {
251
- display: inline-block;
252
- z-index: 2147483647;
253
- margin-bottom: 8px;
254
- margin-top: 0px;
255
- margin-left: 0px;
256
- margin-right: 0px;
257
- }
258
-
259
- <div
260
- class="emotion-1"
261
- style="position:relative;top:20px;left:20px"
262
- >
263
- <div
264
- class="emotion-0"
265
- >
266
- Text
267
- </div>
268
- </div>
269
- `;
@@ -1,326 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Storyshots basics/Tooltip/TooltipLinkList links 1`] = `
4
- .emotion-8 {
5
- min-width: 180px;
6
- overflow: hidden;
7
- border-radius: 8px;
8
- }
9
-
10
- .emotion-4 {
11
- font-size: 12px;
12
- -webkit-transition: all 150ms ease-out;
13
- transition: all 150ms ease-out;
14
- color: rgba(51,51,51,0.5);
15
- -webkit-text-decoration: none;
16
- text-decoration: none;
17
- cursor: pointer;
18
- -webkit-box-pack: justify;
19
- -webkit-justify-content: space-between;
20
- -ms-flex-pack: justify;
21
- justify-content: space-between;
22
- line-height: 18px;
23
- padding: 7px 15px;
24
- display: -webkit-box;
25
- display: -webkit-flex;
26
- display: -ms-flexbox;
27
- display: flex;
28
- -webkit-align-items: center;
29
- -webkit-box-align: center;
30
- -ms-flex-align: center;
31
- align-items: center;
32
- }
33
-
34
- .emotion-4 > * + * {
35
- padding-left: 10px;
36
- }
37
-
38
- .emotion-4:hover {
39
- background: rgba(0,0,0,.05);
40
- }
41
-
42
- .emotion-4:hover svg {
43
- opacity: 1;
44
- }
45
-
46
- .emotion-3 {
47
- -webkit-flex: 1;
48
- -ms-flex: 1;
49
- flex: 1;
50
- text-align: left;
51
- display: -webkit-inline-box;
52
- display: -webkit-inline-flex;
53
- display: -ms-inline-flexbox;
54
- display: inline-flex;
55
- }
56
-
57
- .emotion-3 > * + * {
58
- padding-left: 10px;
59
- }
60
-
61
- .emotion-2 {
62
- color: #333333;
63
- font-weight: 400;
64
- }
65
-
66
- .emotion-0 {
67
- display: inline-block;
68
- cursor: pointer;
69
- }
70
-
71
- .emotion-9 {
72
- display: inline-block;
73
- z-index: 2147483647;
74
- margin-bottom: 10px;
75
- margin-top: 0px;
76
- margin-left: 0px;
77
- margin-right: 0px;
78
- background: rgba(255,255,255,0.95);
79
- -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
80
- filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
81
- border-radius: 8px;
82
- font-size: 12px;
83
- }
84
-
85
- .emotion-1 {
86
- position: absolute;
87
- border-style: solid;
88
- margin-bottom: 0px;
89
- margin-top: 8px;
90
- margin-right: 8px;
91
- margin-left: 8px;
92
- bottom: -8px;
93
- top: autopx;
94
- right: autopx;
95
- left: autopx;
96
- border-bottom-width: 0px;
97
- border-top-width: 8px;
98
- border-right-width: 8px;
99
- border-left-width: 8px;
100
- border-top-color: rgba(255,255,255,0.95);
101
- border-bottom-color: transparent;
102
- border-left-color: transparent;
103
- border-right-color: transparent;
104
- }
105
-
106
- <div
107
- style="height:300px"
108
- >
109
- <div
110
- class="emotion-0"
111
- >
112
- <div>
113
- Tooltip
114
- </div>
115
- </div>
116
- <div
117
- class="emotion-9"
118
- style="position:absolute;top:0;left:0;opacity:0;pointer-events:none"
119
- >
120
- <div
121
- class="emotion-1"
122
- />
123
- <div
124
- class="emotion-8"
125
- >
126
- <a
127
- class="emotion-4"
128
- href="http://google.com"
129
- >
130
- <span
131
- class="emotion-3"
132
- >
133
- <span
134
- class="emotion-2"
135
- >
136
- Link
137
- </span>
138
- </span>
139
- </a>
140
- <a
141
- class="emotion-4"
142
- href="http://google.com"
143
- >
144
- <span
145
- class="emotion-3"
146
- >
147
- <span
148
- class="emotion-2"
149
- >
150
- Link
151
- </span>
152
- </span>
153
- </a>
154
- </div>
155
- </div>
156
- </div>
157
- `;
158
-
159
- exports[`Storyshots basics/Tooltip/TooltipLinkList links and callback 1`] = `
160
- .emotion-11 {
161
- min-width: 180px;
162
- overflow: hidden;
163
- border-radius: 8px;
164
- }
165
-
166
- .emotion-4 {
167
- font-size: 12px;
168
- -webkit-transition: all 150ms ease-out;
169
- transition: all 150ms ease-out;
170
- color: rgba(51,51,51,0.5);
171
- -webkit-text-decoration: none;
172
- text-decoration: none;
173
- cursor: pointer;
174
- -webkit-box-pack: justify;
175
- -webkit-justify-content: space-between;
176
- -ms-flex-pack: justify;
177
- justify-content: space-between;
178
- line-height: 18px;
179
- padding: 7px 15px;
180
- display: -webkit-box;
181
- display: -webkit-flex;
182
- display: -ms-flexbox;
183
- display: flex;
184
- -webkit-align-items: center;
185
- -webkit-box-align: center;
186
- -ms-flex-align: center;
187
- align-items: center;
188
- }
189
-
190
- .emotion-4 > * + * {
191
- padding-left: 10px;
192
- }
193
-
194
- .emotion-4:hover {
195
- background: rgba(0,0,0,.05);
196
- }
197
-
198
- .emotion-4:hover svg {
199
- opacity: 1;
200
- }
201
-
202
- .emotion-3 {
203
- -webkit-flex: 1;
204
- -ms-flex: 1;
205
- flex: 1;
206
- text-align: left;
207
- display: -webkit-inline-box;
208
- display: -webkit-inline-flex;
209
- display: -ms-inline-flexbox;
210
- display: inline-flex;
211
- }
212
-
213
- .emotion-3 > * + * {
214
- padding-left: 10px;
215
- }
216
-
217
- .emotion-2 {
218
- color: #333333;
219
- font-weight: 400;
220
- }
221
-
222
- .emotion-0 {
223
- display: inline-block;
224
- cursor: pointer;
225
- }
226
-
227
- .emotion-12 {
228
- display: inline-block;
229
- z-index: 2147483647;
230
- margin-bottom: 10px;
231
- margin-top: 0px;
232
- margin-left: 0px;
233
- margin-right: 0px;
234
- background: rgba(255,255,255,0.95);
235
- -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
236
- filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
237
- border-radius: 8px;
238
- font-size: 12px;
239
- }
240
-
241
- .emotion-1 {
242
- position: absolute;
243
- border-style: solid;
244
- margin-bottom: 0px;
245
- margin-top: 8px;
246
- margin-right: 8px;
247
- margin-left: 8px;
248
- bottom: -8px;
249
- top: autopx;
250
- right: autopx;
251
- left: autopx;
252
- border-bottom-width: 0px;
253
- border-top-width: 8px;
254
- border-right-width: 8px;
255
- border-left-width: 8px;
256
- border-top-color: rgba(255,255,255,0.95);
257
- border-bottom-color: transparent;
258
- border-left-color: transparent;
259
- border-right-color: transparent;
260
- }
261
-
262
- <div
263
- style="height:300px"
264
- >
265
- <div
266
- class="emotion-0"
267
- >
268
- <div>
269
- Tooltip
270
- </div>
271
- </div>
272
- <div
273
- class="emotion-12"
274
- style="position:absolute;top:0;left:0;opacity:0;pointer-events:none"
275
- >
276
- <div
277
- class="emotion-1"
278
- />
279
- <div
280
- class="emotion-11"
281
- >
282
- <a
283
- class="emotion-4"
284
- href="http://google.com"
285
- >
286
- <span
287
- class="emotion-3"
288
- >
289
- <span
290
- class="emotion-2"
291
- >
292
- Link
293
- </span>
294
- </span>
295
- </a>
296
- <a
297
- class="emotion-4"
298
- href="http://google.com"
299
- >
300
- <span
301
- class="emotion-3"
302
- >
303
- <span
304
- class="emotion-2"
305
- >
306
- Link
307
- </span>
308
- </span>
309
- </a>
310
- <a
311
- class="emotion-4"
312
- >
313
- <span
314
- class="emotion-3"
315
- >
316
- <span
317
- class="emotion-2"
318
- >
319
- callback
320
- </span>
321
- </span>
322
- </a>
323
- </div>
324
- </div>
325
- </div>
326
- `;