@zohodesk/components 1.6.6 → 1.6.7-exp-0
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/README.md +10 -0
- package/es/Avatar/Avatar.module.css +8 -8
- package/es/AvatarTeam/AvatarTeam.module.css +30 -30
- package/es/Button/css/Button.module.css +19 -19
- package/es/Buttongroup/Buttongroup.module.css +3 -5
- package/es/Card/Card.module.css +6 -4
- package/es/DateTime/DateWidget.module.css +1 -1
- package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +2 -2
- package/es/DropDown/DropDownHeading.module.css +4 -4
- package/es/DropDown/DropDownItem.module.css +4 -4
- package/es/DropDown/DropDownSearch.module.css +3 -3
- package/es/Label/Label.module.css +5 -5
- package/es/ListItem/ListItem.module.css +19 -30
- package/es/MultiSelect/MobileHeader/MobileHeader.module.css +1 -1
- package/es/Radio/Radio.module.css +8 -9
- package/es/Ribbon/Ribbon.module.css +16 -19
- package/es/RippleEffect/RippleEffect.module.css +55 -17
- package/es/Stencils/Stencils.module.css +30 -14
- package/es/Tag/Tag.module.css +17 -18
- package/es/TextBox/TextBox.module.css +9 -9
- package/es/TextBoxIcon/TextBoxIcon.module.css +1 -1
- package/es/Textarea/Textarea.module.css +18 -18
- package/es/Tooltip/Tooltip.module.css +2 -2
- package/es/Typography/Typography.js +18 -8
- package/es/Typography/__tests__/Typography.spec.js +198 -6
- package/es/Typography/__tests__/__snapshots__/Typography.spec.js.snap +1235 -2
- package/es/Typography/css/Typography.module.css +4 -0
- package/es/Typography/css/cssJSLogic.js +53 -21
- package/es/Typography/props/defaultProps.js +4 -3
- package/es/Typography/props/propTypes.js +68 -26
- package/es/Typography/utils/textHighlighter.js +2 -2
- package/es/common/avatarsizes.module.css +16 -16
- package/es/shared/InputFieldLine/InputFieldLine.module.css +2 -2
- package/es/v1/Switch/css/Switch_v1.module.css +28 -28
- package/lib/Avatar/Avatar.module.css +8 -8
- package/lib/AvatarTeam/AvatarTeam.module.css +30 -30
- package/lib/Button/css/Button.module.css +19 -19
- package/lib/Buttongroup/Buttongroup.module.css +3 -5
- package/lib/Card/Card.module.css +6 -4
- package/lib/DateTime/DateWidget.module.css +1 -1
- package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +2 -2
- package/lib/DropDown/DropDownHeading.module.css +4 -4
- package/lib/DropDown/DropDownItem.module.css +4 -4
- package/lib/DropDown/DropDownSearch.module.css +3 -3
- package/lib/Label/Label.module.css +5 -5
- package/lib/ListItem/ListItem.module.css +19 -30
- package/lib/MultiSelect/MobileHeader/MobileHeader.module.css +1 -1
- package/lib/Radio/Radio.module.css +8 -9
- package/lib/Ribbon/Ribbon.module.css +16 -19
- package/lib/RippleEffect/RippleEffect.module.css +55 -17
- package/lib/Stencils/Stencils.module.css +30 -14
- package/lib/Tag/Tag.module.css +17 -18
- package/lib/TextBox/TextBox.module.css +9 -9
- package/lib/TextBoxIcon/TextBoxIcon.module.css +1 -1
- package/lib/Textarea/Textarea.module.css +18 -18
- package/lib/Tooltip/Tooltip.module.css +2 -2
- package/lib/Typography/Typography.js +15 -5
- package/lib/Typography/__tests__/Typography.spec.js +284 -92
- package/lib/Typography/__tests__/__snapshots__/Typography.spec.js.snap +1235 -2
- package/lib/Typography/css/Typography.module.css +4 -0
- package/lib/Typography/css/cssJSLogic.js +38 -6
- package/lib/Typography/props/defaultProps.js +6 -3
- package/lib/Typography/props/propTypes.js +67 -23
- package/lib/Typography/utils/textHighlighter.js +3 -3
- package/lib/common/avatarsizes.module.css +16 -16
- package/lib/shared/InputFieldLine/InputFieldLine.module.css +2 -2
- package/lib/v1/Switch/css/Switch_v1.module.css +28 -28
- package/package.json +13 -10
- package/_react-cli.config.js +0 -24
|
@@ -1,5 +1,975 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
+
exports[`Typography Should render decoration - default 1`] = `
|
|
4
|
+
<DocumentFragment>
|
|
5
|
+
<div
|
|
6
|
+
class="decoration_default"
|
|
7
|
+
>
|
|
8
|
+
Heading
|
|
9
|
+
</div>
|
|
10
|
+
</DocumentFragment>
|
|
11
|
+
`;
|
|
12
|
+
|
|
13
|
+
exports[`Typography Should render decoration - overline 1`] = `
|
|
14
|
+
<DocumentFragment>
|
|
15
|
+
<div
|
|
16
|
+
class="decoration_overline"
|
|
17
|
+
>
|
|
18
|
+
Heading
|
|
19
|
+
</div>
|
|
20
|
+
</DocumentFragment>
|
|
21
|
+
`;
|
|
22
|
+
|
|
23
|
+
exports[`Typography Should render decoration - strike 1`] = `
|
|
24
|
+
<DocumentFragment>
|
|
25
|
+
<div
|
|
26
|
+
class="decoration_strike"
|
|
27
|
+
>
|
|
28
|
+
Heading
|
|
29
|
+
</div>
|
|
30
|
+
</DocumentFragment>
|
|
31
|
+
`;
|
|
32
|
+
|
|
33
|
+
exports[`Typography Should render decoration - underline 1`] = `
|
|
34
|
+
<DocumentFragment>
|
|
35
|
+
<div
|
|
36
|
+
class="decoration_underline"
|
|
37
|
+
>
|
|
38
|
+
Heading
|
|
39
|
+
</div>
|
|
40
|
+
</DocumentFragment>
|
|
41
|
+
`;
|
|
42
|
+
|
|
43
|
+
exports[`Typography Should render display - block 1`] = `
|
|
44
|
+
<DocumentFragment>
|
|
45
|
+
<div
|
|
46
|
+
class="display_block"
|
|
47
|
+
>
|
|
48
|
+
Heading
|
|
49
|
+
</div>
|
|
50
|
+
</DocumentFragment>
|
|
51
|
+
`;
|
|
52
|
+
|
|
53
|
+
exports[`Typography Should render display - initial 1`] = `
|
|
54
|
+
<DocumentFragment>
|
|
55
|
+
<div
|
|
56
|
+
class="display_initial"
|
|
57
|
+
>
|
|
58
|
+
Heading
|
|
59
|
+
</div>
|
|
60
|
+
</DocumentFragment>
|
|
61
|
+
`;
|
|
62
|
+
|
|
63
|
+
exports[`Typography Should render display - inline 1`] = `
|
|
64
|
+
<DocumentFragment>
|
|
65
|
+
<div
|
|
66
|
+
class="display_inline"
|
|
67
|
+
>
|
|
68
|
+
Heading
|
|
69
|
+
</div>
|
|
70
|
+
</DocumentFragment>
|
|
71
|
+
`;
|
|
72
|
+
|
|
73
|
+
exports[`Typography Should render display - inlineBlock 1`] = `
|
|
74
|
+
<DocumentFragment>
|
|
75
|
+
<div
|
|
76
|
+
class="display_inlineBlock"
|
|
77
|
+
>
|
|
78
|
+
Heading
|
|
79
|
+
</div>
|
|
80
|
+
</DocumentFragment>
|
|
81
|
+
`;
|
|
82
|
+
|
|
83
|
+
exports[`Typography Should render letterSpacing - 0.1 1`] = `
|
|
84
|
+
<DocumentFragment>
|
|
85
|
+
<div
|
|
86
|
+
class="letterspacing_0_1"
|
|
87
|
+
>
|
|
88
|
+
Heading
|
|
89
|
+
</div>
|
|
90
|
+
</DocumentFragment>
|
|
91
|
+
`;
|
|
92
|
+
|
|
93
|
+
exports[`Typography Should render letterSpacing - 0.2 1`] = `
|
|
94
|
+
<DocumentFragment>
|
|
95
|
+
<div
|
|
96
|
+
class="letterspacing_0_2"
|
|
97
|
+
>
|
|
98
|
+
Heading
|
|
99
|
+
</div>
|
|
100
|
+
</DocumentFragment>
|
|
101
|
+
`;
|
|
102
|
+
|
|
103
|
+
exports[`Typography Should render letterSpacing - 0.3 1`] = `
|
|
104
|
+
<DocumentFragment>
|
|
105
|
+
<div
|
|
106
|
+
class="letterspacing_0_3"
|
|
107
|
+
>
|
|
108
|
+
Heading
|
|
109
|
+
</div>
|
|
110
|
+
</DocumentFragment>
|
|
111
|
+
`;
|
|
112
|
+
|
|
113
|
+
exports[`Typography Should render letterSpacing - 0.4 1`] = `
|
|
114
|
+
<DocumentFragment>
|
|
115
|
+
<div
|
|
116
|
+
class="letterspacing_0_4"
|
|
117
|
+
>
|
|
118
|
+
Heading
|
|
119
|
+
</div>
|
|
120
|
+
</DocumentFragment>
|
|
121
|
+
`;
|
|
122
|
+
|
|
123
|
+
exports[`Typography Should render letterSpacing - 0.5 1`] = `
|
|
124
|
+
<DocumentFragment>
|
|
125
|
+
<div
|
|
126
|
+
class="letterspacing_0_5"
|
|
127
|
+
>
|
|
128
|
+
Heading
|
|
129
|
+
</div>
|
|
130
|
+
</DocumentFragment>
|
|
131
|
+
`;
|
|
132
|
+
|
|
133
|
+
exports[`Typography Should render letterSpacing - 0.6 1`] = `
|
|
134
|
+
<DocumentFragment>
|
|
135
|
+
<div
|
|
136
|
+
class="letterspacing_0_6"
|
|
137
|
+
>
|
|
138
|
+
Heading
|
|
139
|
+
</div>
|
|
140
|
+
</DocumentFragment>
|
|
141
|
+
`;
|
|
142
|
+
|
|
143
|
+
exports[`Typography Should render letterSpacing - 0.7 1`] = `
|
|
144
|
+
<DocumentFragment>
|
|
145
|
+
<div
|
|
146
|
+
class="letterspacing_0_7"
|
|
147
|
+
>
|
|
148
|
+
Heading
|
|
149
|
+
</div>
|
|
150
|
+
</DocumentFragment>
|
|
151
|
+
`;
|
|
152
|
+
|
|
153
|
+
exports[`Typography Should render letterSpacing - 0.8 1`] = `
|
|
154
|
+
<DocumentFragment>
|
|
155
|
+
<div
|
|
156
|
+
class="letterspacing_0_8"
|
|
157
|
+
>
|
|
158
|
+
Heading
|
|
159
|
+
</div>
|
|
160
|
+
</DocumentFragment>
|
|
161
|
+
`;
|
|
162
|
+
|
|
163
|
+
exports[`Typography Should render letterSpacing - 0.9 1`] = `
|
|
164
|
+
<DocumentFragment>
|
|
165
|
+
<div
|
|
166
|
+
class="letterspacing_0_9"
|
|
167
|
+
>
|
|
168
|
+
Heading
|
|
169
|
+
</div>
|
|
170
|
+
</DocumentFragment>
|
|
171
|
+
`;
|
|
172
|
+
|
|
173
|
+
exports[`Typography Should render letterSpacing - 1 1`] = `
|
|
174
|
+
<DocumentFragment>
|
|
175
|
+
<div
|
|
176
|
+
class="letterspacing_1"
|
|
177
|
+
>
|
|
178
|
+
Heading
|
|
179
|
+
</div>
|
|
180
|
+
</DocumentFragment>
|
|
181
|
+
`;
|
|
182
|
+
|
|
183
|
+
exports[`Typography Should render letterSpacing - 1.1 1`] = `
|
|
184
|
+
<DocumentFragment>
|
|
185
|
+
<div
|
|
186
|
+
class="letterspacing_1_1"
|
|
187
|
+
>
|
|
188
|
+
Heading
|
|
189
|
+
</div>
|
|
190
|
+
</DocumentFragment>
|
|
191
|
+
`;
|
|
192
|
+
|
|
193
|
+
exports[`Typography Should render letterSpacing - 1.2 1`] = `
|
|
194
|
+
<DocumentFragment>
|
|
195
|
+
<div
|
|
196
|
+
class="letterspacing_1_2"
|
|
197
|
+
>
|
|
198
|
+
Heading
|
|
199
|
+
</div>
|
|
200
|
+
</DocumentFragment>
|
|
201
|
+
`;
|
|
202
|
+
|
|
203
|
+
exports[`Typography Should render letterSpacing - 1.3 1`] = `
|
|
204
|
+
<DocumentFragment>
|
|
205
|
+
<div
|
|
206
|
+
class="letterspacing_1_3"
|
|
207
|
+
>
|
|
208
|
+
Heading
|
|
209
|
+
</div>
|
|
210
|
+
</DocumentFragment>
|
|
211
|
+
`;
|
|
212
|
+
|
|
213
|
+
exports[`Typography Should render letterSpacing - 1.4 1`] = `
|
|
214
|
+
<DocumentFragment>
|
|
215
|
+
<div
|
|
216
|
+
class="letterspacing_1_4"
|
|
217
|
+
>
|
|
218
|
+
Heading
|
|
219
|
+
</div>
|
|
220
|
+
</DocumentFragment>
|
|
221
|
+
`;
|
|
222
|
+
|
|
223
|
+
exports[`Typography Should render letterSpacing - 1.5 1`] = `
|
|
224
|
+
<DocumentFragment>
|
|
225
|
+
<div
|
|
226
|
+
class="letterspacing_1_5"
|
|
227
|
+
>
|
|
228
|
+
Heading
|
|
229
|
+
</div>
|
|
230
|
+
</DocumentFragment>
|
|
231
|
+
`;
|
|
232
|
+
|
|
233
|
+
exports[`Typography Should render letterSpacing - 1.6 1`] = `
|
|
234
|
+
<DocumentFragment>
|
|
235
|
+
<div
|
|
236
|
+
class="letterspacing_1_6"
|
|
237
|
+
>
|
|
238
|
+
Heading
|
|
239
|
+
</div>
|
|
240
|
+
</DocumentFragment>
|
|
241
|
+
`;
|
|
242
|
+
|
|
243
|
+
exports[`Typography Should render letterSpacing - 1.7 1`] = `
|
|
244
|
+
<DocumentFragment>
|
|
245
|
+
<div
|
|
246
|
+
class="letterspacing_1_7"
|
|
247
|
+
>
|
|
248
|
+
Heading
|
|
249
|
+
</div>
|
|
250
|
+
</DocumentFragment>
|
|
251
|
+
`;
|
|
252
|
+
|
|
253
|
+
exports[`Typography Should render letterSpacing - 1.8 1`] = `
|
|
254
|
+
<DocumentFragment>
|
|
255
|
+
<div
|
|
256
|
+
class="letterspacing_1_8"
|
|
257
|
+
>
|
|
258
|
+
Heading
|
|
259
|
+
</div>
|
|
260
|
+
</DocumentFragment>
|
|
261
|
+
`;
|
|
262
|
+
|
|
263
|
+
exports[`Typography Should render letterSpacing - 1.9 1`] = `
|
|
264
|
+
<DocumentFragment>
|
|
265
|
+
<div
|
|
266
|
+
class="letterspacing_1_9"
|
|
267
|
+
>
|
|
268
|
+
Heading
|
|
269
|
+
</div>
|
|
270
|
+
</DocumentFragment>
|
|
271
|
+
`;
|
|
272
|
+
|
|
273
|
+
exports[`Typography Should render letterSpacing - 2 1`] = `
|
|
274
|
+
<DocumentFragment>
|
|
275
|
+
<div
|
|
276
|
+
class="letterspacing_2"
|
|
277
|
+
>
|
|
278
|
+
Heading
|
|
279
|
+
</div>
|
|
280
|
+
</DocumentFragment>
|
|
281
|
+
`;
|
|
282
|
+
|
|
283
|
+
exports[`Typography Should render letterSpacing - inherit 1`] = `
|
|
284
|
+
<DocumentFragment>
|
|
285
|
+
<div
|
|
286
|
+
class="letterspacing_inherit"
|
|
287
|
+
>
|
|
288
|
+
Heading
|
|
289
|
+
</div>
|
|
290
|
+
</DocumentFragment>
|
|
291
|
+
`;
|
|
292
|
+
|
|
293
|
+
exports[`Typography Should render lineClamp - 1 1`] = `
|
|
294
|
+
<DocumentFragment>
|
|
295
|
+
<div
|
|
296
|
+
class="lineclamp_1"
|
|
297
|
+
>
|
|
298
|
+
Heading
|
|
299
|
+
</div>
|
|
300
|
+
</DocumentFragment>
|
|
301
|
+
`;
|
|
302
|
+
|
|
303
|
+
exports[`Typography Should render lineClamp - 2 1`] = `
|
|
304
|
+
<DocumentFragment>
|
|
305
|
+
<div
|
|
306
|
+
class="lineclamp_2"
|
|
307
|
+
>
|
|
308
|
+
Heading
|
|
309
|
+
</div>
|
|
310
|
+
</DocumentFragment>
|
|
311
|
+
`;
|
|
312
|
+
|
|
313
|
+
exports[`Typography Should render lineClamp - 3 1`] = `
|
|
314
|
+
<DocumentFragment>
|
|
315
|
+
<div
|
|
316
|
+
class="lineclamp_3"
|
|
317
|
+
>
|
|
318
|
+
Heading
|
|
319
|
+
</div>
|
|
320
|
+
</DocumentFragment>
|
|
321
|
+
`;
|
|
322
|
+
|
|
323
|
+
exports[`Typography Should render lineClamp - 4 1`] = `
|
|
324
|
+
<DocumentFragment>
|
|
325
|
+
<div
|
|
326
|
+
class="lineclamp_4"
|
|
327
|
+
>
|
|
328
|
+
Heading
|
|
329
|
+
</div>
|
|
330
|
+
</DocumentFragment>
|
|
331
|
+
`;
|
|
332
|
+
|
|
333
|
+
exports[`Typography Should render lineClamp - 5 1`] = `
|
|
334
|
+
<DocumentFragment>
|
|
335
|
+
<div
|
|
336
|
+
class="lineclamp_5"
|
|
337
|
+
>
|
|
338
|
+
Heading
|
|
339
|
+
</div>
|
|
340
|
+
</DocumentFragment>
|
|
341
|
+
`;
|
|
342
|
+
|
|
343
|
+
exports[`Typography Should render lineHeight - 0 1`] = `
|
|
344
|
+
<DocumentFragment>
|
|
345
|
+
<div
|
|
346
|
+
class="lineheight_0"
|
|
347
|
+
>
|
|
348
|
+
Heading
|
|
349
|
+
</div>
|
|
350
|
+
</DocumentFragment>
|
|
351
|
+
`;
|
|
352
|
+
|
|
353
|
+
exports[`Typography Should render lineHeight - 0.1 1`] = `
|
|
354
|
+
<DocumentFragment>
|
|
355
|
+
<div
|
|
356
|
+
class="lineheight_0_1"
|
|
357
|
+
>
|
|
358
|
+
Heading
|
|
359
|
+
</div>
|
|
360
|
+
</DocumentFragment>
|
|
361
|
+
`;
|
|
362
|
+
|
|
363
|
+
exports[`Typography Should render lineHeight - 0.2 1`] = `
|
|
364
|
+
<DocumentFragment>
|
|
365
|
+
<div
|
|
366
|
+
class="lineheight_0_2"
|
|
367
|
+
>
|
|
368
|
+
Heading
|
|
369
|
+
</div>
|
|
370
|
+
</DocumentFragment>
|
|
371
|
+
`;
|
|
372
|
+
|
|
373
|
+
exports[`Typography Should render lineHeight - 0.3 1`] = `
|
|
374
|
+
<DocumentFragment>
|
|
375
|
+
<div
|
|
376
|
+
class="lineheight_0_3"
|
|
377
|
+
>
|
|
378
|
+
Heading
|
|
379
|
+
</div>
|
|
380
|
+
</DocumentFragment>
|
|
381
|
+
`;
|
|
382
|
+
|
|
383
|
+
exports[`Typography Should render lineHeight - 0.4 1`] = `
|
|
384
|
+
<DocumentFragment>
|
|
385
|
+
<div
|
|
386
|
+
class="lineheight_0_4"
|
|
387
|
+
>
|
|
388
|
+
Heading
|
|
389
|
+
</div>
|
|
390
|
+
</DocumentFragment>
|
|
391
|
+
`;
|
|
392
|
+
|
|
393
|
+
exports[`Typography Should render lineHeight - 0.5 1`] = `
|
|
394
|
+
<DocumentFragment>
|
|
395
|
+
<div
|
|
396
|
+
class="lineheight_0_5"
|
|
397
|
+
>
|
|
398
|
+
Heading
|
|
399
|
+
</div>
|
|
400
|
+
</DocumentFragment>
|
|
401
|
+
`;
|
|
402
|
+
|
|
403
|
+
exports[`Typography Should render lineHeight - 0.6 1`] = `
|
|
404
|
+
<DocumentFragment>
|
|
405
|
+
<div
|
|
406
|
+
class="lineheight_0_6"
|
|
407
|
+
>
|
|
408
|
+
Heading
|
|
409
|
+
</div>
|
|
410
|
+
</DocumentFragment>
|
|
411
|
+
`;
|
|
412
|
+
|
|
413
|
+
exports[`Typography Should render lineHeight - 0.7 1`] = `
|
|
414
|
+
<DocumentFragment>
|
|
415
|
+
<div
|
|
416
|
+
class="lineheight_0_7"
|
|
417
|
+
>
|
|
418
|
+
Heading
|
|
419
|
+
</div>
|
|
420
|
+
</DocumentFragment>
|
|
421
|
+
`;
|
|
422
|
+
|
|
423
|
+
exports[`Typography Should render lineHeight - 0.8 1`] = `
|
|
424
|
+
<DocumentFragment>
|
|
425
|
+
<div
|
|
426
|
+
class="lineheight_0_8"
|
|
427
|
+
>
|
|
428
|
+
Heading
|
|
429
|
+
</div>
|
|
430
|
+
</DocumentFragment>
|
|
431
|
+
`;
|
|
432
|
+
|
|
433
|
+
exports[`Typography Should render lineHeight - 0.9 1`] = `
|
|
434
|
+
<DocumentFragment>
|
|
435
|
+
<div
|
|
436
|
+
class="lineheight_0_9"
|
|
437
|
+
>
|
|
438
|
+
Heading
|
|
439
|
+
</div>
|
|
440
|
+
</DocumentFragment>
|
|
441
|
+
`;
|
|
442
|
+
|
|
443
|
+
exports[`Typography Should render lineHeight - 1 1`] = `
|
|
444
|
+
<DocumentFragment>
|
|
445
|
+
<div
|
|
446
|
+
class="lineheight_1"
|
|
447
|
+
>
|
|
448
|
+
Heading
|
|
449
|
+
</div>
|
|
450
|
+
</DocumentFragment>
|
|
451
|
+
`;
|
|
452
|
+
|
|
453
|
+
exports[`Typography Should render lineHeight - 1.1 1`] = `
|
|
454
|
+
<DocumentFragment>
|
|
455
|
+
<div
|
|
456
|
+
class="lineheight_1_1"
|
|
457
|
+
>
|
|
458
|
+
Heading
|
|
459
|
+
</div>
|
|
460
|
+
</DocumentFragment>
|
|
461
|
+
`;
|
|
462
|
+
|
|
463
|
+
exports[`Typography Should render lineHeight - 1.2 1`] = `
|
|
464
|
+
<DocumentFragment>
|
|
465
|
+
<div
|
|
466
|
+
class="lineheight_1_2"
|
|
467
|
+
>
|
|
468
|
+
Heading
|
|
469
|
+
</div>
|
|
470
|
+
</DocumentFragment>
|
|
471
|
+
`;
|
|
472
|
+
|
|
473
|
+
exports[`Typography Should render lineHeight - 1.3 1`] = `
|
|
474
|
+
<DocumentFragment>
|
|
475
|
+
<div
|
|
476
|
+
class="lineheight_1_3"
|
|
477
|
+
>
|
|
478
|
+
Heading
|
|
479
|
+
</div>
|
|
480
|
+
</DocumentFragment>
|
|
481
|
+
`;
|
|
482
|
+
|
|
483
|
+
exports[`Typography Should render lineHeight - 1.4 1`] = `
|
|
484
|
+
<DocumentFragment>
|
|
485
|
+
<div
|
|
486
|
+
class="lineheight_1_4"
|
|
487
|
+
>
|
|
488
|
+
Heading
|
|
489
|
+
</div>
|
|
490
|
+
</DocumentFragment>
|
|
491
|
+
`;
|
|
492
|
+
|
|
493
|
+
exports[`Typography Should render lineHeight - 1.5 1`] = `
|
|
494
|
+
<DocumentFragment>
|
|
495
|
+
<div
|
|
496
|
+
class="lineheight_1_5"
|
|
497
|
+
>
|
|
498
|
+
Heading
|
|
499
|
+
</div>
|
|
500
|
+
</DocumentFragment>
|
|
501
|
+
`;
|
|
502
|
+
|
|
503
|
+
exports[`Typography Should render lineHeight - 1.6 1`] = `
|
|
504
|
+
<DocumentFragment>
|
|
505
|
+
<div
|
|
506
|
+
class="lineheight_1_6"
|
|
507
|
+
>
|
|
508
|
+
Heading
|
|
509
|
+
</div>
|
|
510
|
+
</DocumentFragment>
|
|
511
|
+
`;
|
|
512
|
+
|
|
513
|
+
exports[`Typography Should render lineHeight - 1.7 1`] = `
|
|
514
|
+
<DocumentFragment>
|
|
515
|
+
<div
|
|
516
|
+
class="lineheight_1_7"
|
|
517
|
+
>
|
|
518
|
+
Heading
|
|
519
|
+
</div>
|
|
520
|
+
</DocumentFragment>
|
|
521
|
+
`;
|
|
522
|
+
|
|
523
|
+
exports[`Typography Should render lineHeight - 1.8 1`] = `
|
|
524
|
+
<DocumentFragment>
|
|
525
|
+
<div
|
|
526
|
+
class="lineheight_1_8"
|
|
527
|
+
>
|
|
528
|
+
Heading
|
|
529
|
+
</div>
|
|
530
|
+
</DocumentFragment>
|
|
531
|
+
`;
|
|
532
|
+
|
|
533
|
+
exports[`Typography Should render lineHeight - 1.9 1`] = `
|
|
534
|
+
<DocumentFragment>
|
|
535
|
+
<div
|
|
536
|
+
class="lineheight_1_9"
|
|
537
|
+
>
|
|
538
|
+
Heading
|
|
539
|
+
</div>
|
|
540
|
+
</DocumentFragment>
|
|
541
|
+
`;
|
|
542
|
+
|
|
543
|
+
exports[`Typography Should render lineHeight - 2 1`] = `
|
|
544
|
+
<DocumentFragment>
|
|
545
|
+
<div
|
|
546
|
+
class="lineheight_2"
|
|
547
|
+
>
|
|
548
|
+
Heading
|
|
549
|
+
</div>
|
|
550
|
+
</DocumentFragment>
|
|
551
|
+
`;
|
|
552
|
+
|
|
553
|
+
exports[`Typography Should render lineHeight - inherit 1`] = `
|
|
554
|
+
<DocumentFragment>
|
|
555
|
+
<div
|
|
556
|
+
class="lineheight_inherit"
|
|
557
|
+
>
|
|
558
|
+
Heading
|
|
559
|
+
</div>
|
|
560
|
+
</DocumentFragment>
|
|
561
|
+
`;
|
|
562
|
+
|
|
563
|
+
exports[`Typography Should render lineHeight - initial 1`] = `
|
|
564
|
+
<DocumentFragment>
|
|
565
|
+
<div
|
|
566
|
+
class="lineheight_initial"
|
|
567
|
+
>
|
|
568
|
+
Heading
|
|
569
|
+
</div>
|
|
570
|
+
</DocumentFragment>
|
|
571
|
+
`;
|
|
572
|
+
|
|
573
|
+
exports[`Typography Should render lineHeight - normal 1`] = `
|
|
574
|
+
<DocumentFragment>
|
|
575
|
+
<div
|
|
576
|
+
class="lineheight_normal"
|
|
577
|
+
>
|
|
578
|
+
Heading
|
|
579
|
+
</div>
|
|
580
|
+
</DocumentFragment>
|
|
581
|
+
`;
|
|
582
|
+
|
|
583
|
+
exports[`Typography Should render size - 7 1`] = `
|
|
584
|
+
<DocumentFragment>
|
|
585
|
+
<div
|
|
586
|
+
class="size7"
|
|
587
|
+
>
|
|
588
|
+
Heading
|
|
589
|
+
</div>
|
|
590
|
+
</DocumentFragment>
|
|
591
|
+
`;
|
|
592
|
+
|
|
593
|
+
exports[`Typography Should render size - 8 1`] = `
|
|
594
|
+
<DocumentFragment>
|
|
595
|
+
<div
|
|
596
|
+
class="size8"
|
|
597
|
+
>
|
|
598
|
+
Heading
|
|
599
|
+
</div>
|
|
600
|
+
</DocumentFragment>
|
|
601
|
+
`;
|
|
602
|
+
|
|
603
|
+
exports[`Typography Should render size - 9 1`] = `
|
|
604
|
+
<DocumentFragment>
|
|
605
|
+
<div
|
|
606
|
+
class="size9"
|
|
607
|
+
>
|
|
608
|
+
Heading
|
|
609
|
+
</div>
|
|
610
|
+
</DocumentFragment>
|
|
611
|
+
`;
|
|
612
|
+
|
|
613
|
+
exports[`Typography Should render size - 10 1`] = `
|
|
614
|
+
<DocumentFragment>
|
|
615
|
+
<div
|
|
616
|
+
class="size10"
|
|
617
|
+
>
|
|
618
|
+
Heading
|
|
619
|
+
</div>
|
|
620
|
+
</DocumentFragment>
|
|
621
|
+
`;
|
|
622
|
+
|
|
623
|
+
exports[`Typography Should render size - 11 1`] = `
|
|
624
|
+
<DocumentFragment>
|
|
625
|
+
<div
|
|
626
|
+
class="size11"
|
|
627
|
+
>
|
|
628
|
+
Heading
|
|
629
|
+
</div>
|
|
630
|
+
</DocumentFragment>
|
|
631
|
+
`;
|
|
632
|
+
|
|
633
|
+
exports[`Typography Should render size - 12 1`] = `
|
|
634
|
+
<DocumentFragment>
|
|
635
|
+
<div
|
|
636
|
+
class="size12"
|
|
637
|
+
>
|
|
638
|
+
Heading
|
|
639
|
+
</div>
|
|
640
|
+
</DocumentFragment>
|
|
641
|
+
`;
|
|
642
|
+
|
|
643
|
+
exports[`Typography Should render size - 13 1`] = `
|
|
644
|
+
<DocumentFragment>
|
|
645
|
+
<div
|
|
646
|
+
class="size13"
|
|
647
|
+
>
|
|
648
|
+
Heading
|
|
649
|
+
</div>
|
|
650
|
+
</DocumentFragment>
|
|
651
|
+
`;
|
|
652
|
+
|
|
653
|
+
exports[`Typography Should render size - 14 1`] = `
|
|
654
|
+
<DocumentFragment>
|
|
655
|
+
<div
|
|
656
|
+
class="size14"
|
|
657
|
+
>
|
|
658
|
+
Heading
|
|
659
|
+
</div>
|
|
660
|
+
</DocumentFragment>
|
|
661
|
+
`;
|
|
662
|
+
|
|
663
|
+
exports[`Typography Should render size - 15 1`] = `
|
|
664
|
+
<DocumentFragment>
|
|
665
|
+
<div
|
|
666
|
+
class="size15"
|
|
667
|
+
>
|
|
668
|
+
Heading
|
|
669
|
+
</div>
|
|
670
|
+
</DocumentFragment>
|
|
671
|
+
`;
|
|
672
|
+
|
|
673
|
+
exports[`Typography Should render size - 16 1`] = `
|
|
674
|
+
<DocumentFragment>
|
|
675
|
+
<div
|
|
676
|
+
class="size16"
|
|
677
|
+
>
|
|
678
|
+
Heading
|
|
679
|
+
</div>
|
|
680
|
+
</DocumentFragment>
|
|
681
|
+
`;
|
|
682
|
+
|
|
683
|
+
exports[`Typography Should render size - 17 1`] = `
|
|
684
|
+
<DocumentFragment>
|
|
685
|
+
<div
|
|
686
|
+
class="size17"
|
|
687
|
+
>
|
|
688
|
+
Heading
|
|
689
|
+
</div>
|
|
690
|
+
</DocumentFragment>
|
|
691
|
+
`;
|
|
692
|
+
|
|
693
|
+
exports[`Typography Should render size - 18 1`] = `
|
|
694
|
+
<DocumentFragment>
|
|
695
|
+
<div
|
|
696
|
+
class="size18"
|
|
697
|
+
>
|
|
698
|
+
Heading
|
|
699
|
+
</div>
|
|
700
|
+
</DocumentFragment>
|
|
701
|
+
`;
|
|
702
|
+
|
|
703
|
+
exports[`Typography Should render size - 19 1`] = `
|
|
704
|
+
<DocumentFragment>
|
|
705
|
+
<div
|
|
706
|
+
class="size19"
|
|
707
|
+
>
|
|
708
|
+
Heading
|
|
709
|
+
</div>
|
|
710
|
+
</DocumentFragment>
|
|
711
|
+
`;
|
|
712
|
+
|
|
713
|
+
exports[`Typography Should render size - 20 1`] = `
|
|
714
|
+
<DocumentFragment>
|
|
715
|
+
<div
|
|
716
|
+
class="size20"
|
|
717
|
+
>
|
|
718
|
+
Heading
|
|
719
|
+
</div>
|
|
720
|
+
</DocumentFragment>
|
|
721
|
+
`;
|
|
722
|
+
|
|
723
|
+
exports[`Typography Should render size - 21 1`] = `
|
|
724
|
+
<DocumentFragment>
|
|
725
|
+
<div
|
|
726
|
+
class="size21"
|
|
727
|
+
>
|
|
728
|
+
Heading
|
|
729
|
+
</div>
|
|
730
|
+
</DocumentFragment>
|
|
731
|
+
`;
|
|
732
|
+
|
|
733
|
+
exports[`Typography Should render size - 22 1`] = `
|
|
734
|
+
<DocumentFragment>
|
|
735
|
+
<div
|
|
736
|
+
class="size22"
|
|
737
|
+
>
|
|
738
|
+
Heading
|
|
739
|
+
</div>
|
|
740
|
+
</DocumentFragment>
|
|
741
|
+
`;
|
|
742
|
+
|
|
743
|
+
exports[`Typography Should render size - 24 1`] = `
|
|
744
|
+
<DocumentFragment>
|
|
745
|
+
<div
|
|
746
|
+
class="size24"
|
|
747
|
+
>
|
|
748
|
+
Heading
|
|
749
|
+
</div>
|
|
750
|
+
</DocumentFragment>
|
|
751
|
+
`;
|
|
752
|
+
|
|
753
|
+
exports[`Typography Should render size - 25 1`] = `
|
|
754
|
+
<DocumentFragment>
|
|
755
|
+
<div
|
|
756
|
+
class="size25"
|
|
757
|
+
>
|
|
758
|
+
Heading
|
|
759
|
+
</div>
|
|
760
|
+
</DocumentFragment>
|
|
761
|
+
`;
|
|
762
|
+
|
|
763
|
+
exports[`Typography Should render size - 26 1`] = `
|
|
764
|
+
<DocumentFragment>
|
|
765
|
+
<div
|
|
766
|
+
class="size26"
|
|
767
|
+
>
|
|
768
|
+
Heading
|
|
769
|
+
</div>
|
|
770
|
+
</DocumentFragment>
|
|
771
|
+
`;
|
|
772
|
+
|
|
773
|
+
exports[`Typography Should render size - 28 1`] = `
|
|
774
|
+
<DocumentFragment>
|
|
775
|
+
<div
|
|
776
|
+
class="size28"
|
|
777
|
+
>
|
|
778
|
+
Heading
|
|
779
|
+
</div>
|
|
780
|
+
</DocumentFragment>
|
|
781
|
+
`;
|
|
782
|
+
|
|
783
|
+
exports[`Typography Should render size - 29 1`] = `
|
|
784
|
+
<DocumentFragment>
|
|
785
|
+
<div
|
|
786
|
+
class="size29"
|
|
787
|
+
>
|
|
788
|
+
Heading
|
|
789
|
+
</div>
|
|
790
|
+
</DocumentFragment>
|
|
791
|
+
`;
|
|
792
|
+
|
|
793
|
+
exports[`Typography Should render size - 30 1`] = `
|
|
794
|
+
<DocumentFragment>
|
|
795
|
+
<div
|
|
796
|
+
class="size30"
|
|
797
|
+
>
|
|
798
|
+
Heading
|
|
799
|
+
</div>
|
|
800
|
+
</DocumentFragment>
|
|
801
|
+
`;
|
|
802
|
+
|
|
803
|
+
exports[`Typography Should render size - 32 1`] = `
|
|
804
|
+
<DocumentFragment>
|
|
805
|
+
<div
|
|
806
|
+
class="size32"
|
|
807
|
+
>
|
|
808
|
+
Heading
|
|
809
|
+
</div>
|
|
810
|
+
</DocumentFragment>
|
|
811
|
+
`;
|
|
812
|
+
|
|
813
|
+
exports[`Typography Should render size - 34 1`] = `
|
|
814
|
+
<DocumentFragment>
|
|
815
|
+
<div
|
|
816
|
+
class="size34"
|
|
817
|
+
>
|
|
818
|
+
Heading
|
|
819
|
+
</div>
|
|
820
|
+
</DocumentFragment>
|
|
821
|
+
`;
|
|
822
|
+
|
|
823
|
+
exports[`Typography Should render size - 35 1`] = `
|
|
824
|
+
<DocumentFragment>
|
|
825
|
+
<div
|
|
826
|
+
class="size35"
|
|
827
|
+
>
|
|
828
|
+
Heading
|
|
829
|
+
</div>
|
|
830
|
+
</DocumentFragment>
|
|
831
|
+
`;
|
|
832
|
+
|
|
833
|
+
exports[`Typography Should render size - 36 1`] = `
|
|
834
|
+
<DocumentFragment>
|
|
835
|
+
<div
|
|
836
|
+
class="size36"
|
|
837
|
+
>
|
|
838
|
+
Heading
|
|
839
|
+
</div>
|
|
840
|
+
</DocumentFragment>
|
|
841
|
+
`;
|
|
842
|
+
|
|
843
|
+
exports[`Typography Should render size - 40 1`] = `
|
|
844
|
+
<DocumentFragment>
|
|
845
|
+
<div
|
|
846
|
+
class="size40"
|
|
847
|
+
>
|
|
848
|
+
Heading
|
|
849
|
+
</div>
|
|
850
|
+
</DocumentFragment>
|
|
851
|
+
`;
|
|
852
|
+
|
|
853
|
+
exports[`Typography Should render size - 50 1`] = `
|
|
854
|
+
<DocumentFragment>
|
|
855
|
+
<div
|
|
856
|
+
class="size50"
|
|
857
|
+
>
|
|
858
|
+
Heading
|
|
859
|
+
</div>
|
|
860
|
+
</DocumentFragment>
|
|
861
|
+
`;
|
|
862
|
+
|
|
863
|
+
exports[`Typography Should render size - inherit 1`] = `
|
|
864
|
+
<DocumentFragment>
|
|
865
|
+
<div
|
|
866
|
+
class="sizeinherit"
|
|
867
|
+
>
|
|
868
|
+
Heading
|
|
869
|
+
</div>
|
|
870
|
+
</DocumentFragment>
|
|
871
|
+
`;
|
|
872
|
+
|
|
873
|
+
exports[`Typography Should render textAlign - center 1`] = `
|
|
874
|
+
<DocumentFragment>
|
|
875
|
+
<div
|
|
876
|
+
class="textalign_center"
|
|
877
|
+
>
|
|
878
|
+
Heading
|
|
879
|
+
</div>
|
|
880
|
+
</DocumentFragment>
|
|
881
|
+
`;
|
|
882
|
+
|
|
883
|
+
exports[`Typography Should render textAlign - justify 1`] = `
|
|
884
|
+
<DocumentFragment>
|
|
885
|
+
<div
|
|
886
|
+
class="textalign_justify"
|
|
887
|
+
>
|
|
888
|
+
Heading
|
|
889
|
+
</div>
|
|
890
|
+
</DocumentFragment>
|
|
891
|
+
`;
|
|
892
|
+
|
|
893
|
+
exports[`Typography Should render textAlign - left 1`] = `
|
|
894
|
+
<DocumentFragment>
|
|
895
|
+
<div
|
|
896
|
+
class="textalign_left"
|
|
897
|
+
>
|
|
898
|
+
Heading
|
|
899
|
+
</div>
|
|
900
|
+
</DocumentFragment>
|
|
901
|
+
`;
|
|
902
|
+
|
|
903
|
+
exports[`Typography Should render textAlign - right 1`] = `
|
|
904
|
+
<DocumentFragment>
|
|
905
|
+
<div
|
|
906
|
+
class="textalign_right"
|
|
907
|
+
>
|
|
908
|
+
Heading
|
|
909
|
+
</div>
|
|
910
|
+
</DocumentFragment>
|
|
911
|
+
`;
|
|
912
|
+
|
|
913
|
+
exports[`Typography Should render transform - capital 1`] = `
|
|
914
|
+
<DocumentFragment>
|
|
915
|
+
<div
|
|
916
|
+
class="transform_capital"
|
|
917
|
+
>
|
|
918
|
+
Heading
|
|
919
|
+
</div>
|
|
920
|
+
</DocumentFragment>
|
|
921
|
+
`;
|
|
922
|
+
|
|
923
|
+
exports[`Typography Should render transform - default 1`] = `
|
|
924
|
+
<DocumentFragment>
|
|
925
|
+
<div
|
|
926
|
+
class="transform_default"
|
|
927
|
+
>
|
|
928
|
+
Heading
|
|
929
|
+
</div>
|
|
930
|
+
</DocumentFragment>
|
|
931
|
+
`;
|
|
932
|
+
|
|
933
|
+
exports[`Typography Should render transform - lower 1`] = `
|
|
934
|
+
<DocumentFragment>
|
|
935
|
+
<div
|
|
936
|
+
class="transform_lower"
|
|
937
|
+
>
|
|
938
|
+
Heading
|
|
939
|
+
</div>
|
|
940
|
+
</DocumentFragment>
|
|
941
|
+
`;
|
|
942
|
+
|
|
943
|
+
exports[`Typography Should render transform - upper 1`] = `
|
|
944
|
+
<DocumentFragment>
|
|
945
|
+
<div
|
|
946
|
+
class="transform_upper"
|
|
947
|
+
>
|
|
948
|
+
Heading
|
|
949
|
+
</div>
|
|
950
|
+
</DocumentFragment>
|
|
951
|
+
`;
|
|
952
|
+
|
|
953
|
+
exports[`Typography Should render typeFace - italic 1`] = `
|
|
954
|
+
<DocumentFragment>
|
|
955
|
+
<div
|
|
956
|
+
class="fontStyles_italic"
|
|
957
|
+
>
|
|
958
|
+
Heading
|
|
959
|
+
</div>
|
|
960
|
+
</DocumentFragment>
|
|
961
|
+
`;
|
|
962
|
+
|
|
963
|
+
exports[`Typography Should render typeFace - normal 1`] = `
|
|
964
|
+
<DocumentFragment>
|
|
965
|
+
<div
|
|
966
|
+
class="fontStyles_normal"
|
|
967
|
+
>
|
|
968
|
+
Heading
|
|
969
|
+
</div>
|
|
970
|
+
</DocumentFragment>
|
|
971
|
+
`;
|
|
972
|
+
|
|
3
973
|
exports[`Typography Should render ui_decoration - default 1`] = `
|
|
4
974
|
<DocumentFragment>
|
|
5
975
|
<div
|
|
@@ -1010,6 +1980,16 @@ exports[`Typography Should render ui_weight - semibold 1`] = `
|
|
|
1010
1980
|
</DocumentFragment>
|
|
1011
1981
|
`;
|
|
1012
1982
|
|
|
1983
|
+
exports[`Typography Should render ui_whiteSpace - breakSpaces 1`] = `
|
|
1984
|
+
<DocumentFragment>
|
|
1985
|
+
<div
|
|
1986
|
+
class="whiteSpace_breakSpaces"
|
|
1987
|
+
>
|
|
1988
|
+
Heading
|
|
1989
|
+
</div>
|
|
1990
|
+
</DocumentFragment>
|
|
1991
|
+
`;
|
|
1992
|
+
|
|
1013
1993
|
exports[`Typography Should render ui_whiteSpace - noWrap 1`] = `
|
|
1014
1994
|
<DocumentFragment>
|
|
1015
1995
|
<div
|
|
@@ -1110,6 +2090,169 @@ exports[`Typography Should render ui_wordWrap - normal 1`] = `
|
|
|
1110
2090
|
</DocumentFragment>
|
|
1111
2091
|
`;
|
|
1112
2092
|
|
|
2093
|
+
exports[`Typography Should render weight - bold 1`] = `
|
|
2094
|
+
<DocumentFragment>
|
|
2095
|
+
<div
|
|
2096
|
+
class="font_bold"
|
|
2097
|
+
>
|
|
2098
|
+
Heading
|
|
2099
|
+
</div>
|
|
2100
|
+
</DocumentFragment>
|
|
2101
|
+
`;
|
|
2102
|
+
|
|
2103
|
+
exports[`Typography Should render weight - light 1`] = `
|
|
2104
|
+
<DocumentFragment>
|
|
2105
|
+
<div
|
|
2106
|
+
class="font_light"
|
|
2107
|
+
>
|
|
2108
|
+
Heading
|
|
2109
|
+
</div>
|
|
2110
|
+
</DocumentFragment>
|
|
2111
|
+
`;
|
|
2112
|
+
|
|
2113
|
+
exports[`Typography Should render weight - regular 1`] = `
|
|
2114
|
+
<DocumentFragment>
|
|
2115
|
+
<div
|
|
2116
|
+
class="font_regular"
|
|
2117
|
+
>
|
|
2118
|
+
Heading
|
|
2119
|
+
</div>
|
|
2120
|
+
</DocumentFragment>
|
|
2121
|
+
`;
|
|
2122
|
+
|
|
2123
|
+
exports[`Typography Should render weight - semibold 1`] = `
|
|
2124
|
+
<DocumentFragment>
|
|
2125
|
+
<div
|
|
2126
|
+
class="font_semibold"
|
|
2127
|
+
>
|
|
2128
|
+
Heading
|
|
2129
|
+
</div>
|
|
2130
|
+
</DocumentFragment>
|
|
2131
|
+
`;
|
|
2132
|
+
|
|
2133
|
+
exports[`Typography Should render whiteSpace - breakSpaces 1`] = `
|
|
2134
|
+
<DocumentFragment>
|
|
2135
|
+
<div
|
|
2136
|
+
class="whiteSpace_breakSpaces"
|
|
2137
|
+
>
|
|
2138
|
+
Heading
|
|
2139
|
+
</div>
|
|
2140
|
+
</DocumentFragment>
|
|
2141
|
+
`;
|
|
2142
|
+
|
|
2143
|
+
exports[`Typography Should render whiteSpace - noWrap 1`] = `
|
|
2144
|
+
<DocumentFragment>
|
|
2145
|
+
<div
|
|
2146
|
+
class="whiteSpace_noWrap"
|
|
2147
|
+
>
|
|
2148
|
+
Heading
|
|
2149
|
+
</div>
|
|
2150
|
+
</DocumentFragment>
|
|
2151
|
+
`;
|
|
2152
|
+
|
|
2153
|
+
exports[`Typography Should render whiteSpace - normal 1`] = `
|
|
2154
|
+
<DocumentFragment>
|
|
2155
|
+
<div
|
|
2156
|
+
class="whiteSpace_normal"
|
|
2157
|
+
>
|
|
2158
|
+
Heading
|
|
2159
|
+
</div>
|
|
2160
|
+
</DocumentFragment>
|
|
2161
|
+
`;
|
|
2162
|
+
|
|
2163
|
+
exports[`Typography Should render whiteSpace - pre 1`] = `
|
|
2164
|
+
<DocumentFragment>
|
|
2165
|
+
<div
|
|
2166
|
+
class="whiteSpace_pre"
|
|
2167
|
+
>
|
|
2168
|
+
Heading
|
|
2169
|
+
</div>
|
|
2170
|
+
</DocumentFragment>
|
|
2171
|
+
`;
|
|
2172
|
+
|
|
2173
|
+
exports[`Typography Should render whiteSpace - preLine 1`] = `
|
|
2174
|
+
<DocumentFragment>
|
|
2175
|
+
<div
|
|
2176
|
+
class="whiteSpace_preLine"
|
|
2177
|
+
>
|
|
2178
|
+
Heading
|
|
2179
|
+
</div>
|
|
2180
|
+
</DocumentFragment>
|
|
2181
|
+
`;
|
|
2182
|
+
|
|
2183
|
+
exports[`Typography Should render whiteSpace - preWrap 1`] = `
|
|
2184
|
+
<DocumentFragment>
|
|
2185
|
+
<div
|
|
2186
|
+
class="whiteSpace_preWrap"
|
|
2187
|
+
>
|
|
2188
|
+
Heading
|
|
2189
|
+
</div>
|
|
2190
|
+
</DocumentFragment>
|
|
2191
|
+
`;
|
|
2192
|
+
|
|
2193
|
+
exports[`Typography Should render wordBreak - breakAll 1`] = `
|
|
2194
|
+
<DocumentFragment>
|
|
2195
|
+
<div
|
|
2196
|
+
class="wordBreak_breakAll"
|
|
2197
|
+
>
|
|
2198
|
+
Heading
|
|
2199
|
+
</div>
|
|
2200
|
+
</DocumentFragment>
|
|
2201
|
+
`;
|
|
2202
|
+
|
|
2203
|
+
exports[`Typography Should render wordBreak - breakWord 1`] = `
|
|
2204
|
+
<DocumentFragment>
|
|
2205
|
+
<div
|
|
2206
|
+
class="wordBreak_breakWord"
|
|
2207
|
+
>
|
|
2208
|
+
Heading
|
|
2209
|
+
</div>
|
|
2210
|
+
</DocumentFragment>
|
|
2211
|
+
`;
|
|
2212
|
+
|
|
2213
|
+
exports[`Typography Should render wordBreak - keepAll 1`] = `
|
|
2214
|
+
<DocumentFragment>
|
|
2215
|
+
<div
|
|
2216
|
+
class="wordBreak_keepAll"
|
|
2217
|
+
>
|
|
2218
|
+
Heading
|
|
2219
|
+
</div>
|
|
2220
|
+
</DocumentFragment>
|
|
2221
|
+
`;
|
|
2222
|
+
|
|
2223
|
+
exports[`Typography Should render wordWrap - break 1`] = `
|
|
2224
|
+
<DocumentFragment>
|
|
2225
|
+
<div
|
|
2226
|
+
class="wordWrap_break"
|
|
2227
|
+
>
|
|
2228
|
+
Heading
|
|
2229
|
+
</div>
|
|
2230
|
+
</DocumentFragment>
|
|
2231
|
+
`;
|
|
2232
|
+
|
|
2233
|
+
exports[`Typography Should render wordWrap - normal 1`] = `
|
|
2234
|
+
<DocumentFragment>
|
|
2235
|
+
<div
|
|
2236
|
+
class="wordWrap_normal"
|
|
2237
|
+
>
|
|
2238
|
+
Heading
|
|
2239
|
+
</div>
|
|
2240
|
+
</DocumentFragment>
|
|
2241
|
+
`;
|
|
2242
|
+
|
|
2243
|
+
exports[`Typography rendering a11yAttributes 1`] = `
|
|
2244
|
+
<DocumentFragment>
|
|
2245
|
+
<div
|
|
2246
|
+
aria-controls="uniqueId"
|
|
2247
|
+
aria-expanded="true"
|
|
2248
|
+
aria-haspopup="true"
|
|
2249
|
+
class=""
|
|
2250
|
+
>
|
|
2251
|
+
Heading 2 Test
|
|
2252
|
+
</div>
|
|
2253
|
+
</DocumentFragment>
|
|
2254
|
+
`;
|
|
2255
|
+
|
|
1113
2256
|
exports[`Typography rendering a11yAttributes_text 1`] = `
|
|
1114
2257
|
<DocumentFragment>
|
|
1115
2258
|
<div
|
|
@@ -1123,6 +2266,16 @@ exports[`Typography rendering a11yAttributes_text 1`] = `
|
|
|
1123
2266
|
</DocumentFragment>
|
|
1124
2267
|
`;
|
|
1125
2268
|
|
|
2269
|
+
exports[`Typography rendering customClass 1`] = `
|
|
2270
|
+
<DocumentFragment>
|
|
2271
|
+
<div
|
|
2272
|
+
class="custom-class"
|
|
2273
|
+
>
|
|
2274
|
+
Heading 2 Test
|
|
2275
|
+
</div>
|
|
2276
|
+
</DocumentFragment>
|
|
2277
|
+
`;
|
|
2278
|
+
|
|
1126
2279
|
exports[`Typography rendering customId 1`] = `
|
|
1127
2280
|
<DocumentFragment>
|
|
1128
2281
|
<div
|
|
@@ -1134,6 +2287,17 @@ exports[`Typography rendering customId 1`] = `
|
|
|
1134
2287
|
</DocumentFragment>
|
|
1135
2288
|
`;
|
|
1136
2289
|
|
|
2290
|
+
exports[`Typography rendering dataTitle 1`] = `
|
|
2291
|
+
<DocumentFragment>
|
|
2292
|
+
<div
|
|
2293
|
+
class=""
|
|
2294
|
+
data-title="typoDataTitle"
|
|
2295
|
+
>
|
|
2296
|
+
Heading 2 Test
|
|
2297
|
+
</div>
|
|
2298
|
+
</DocumentFragment>
|
|
2299
|
+
`;
|
|
2300
|
+
|
|
1137
2301
|
exports[`Typography rendering flag_dotted 1`] = `
|
|
1138
2302
|
<DocumentFragment>
|
|
1139
2303
|
<div
|
|
@@ -1154,6 +2318,16 @@ exports[`Typography rendering flag_reset 1`] = `
|
|
|
1154
2318
|
</DocumentFragment>
|
|
1155
2319
|
`;
|
|
1156
2320
|
|
|
2321
|
+
exports[`Typography rendering h2 tag name with using as 1`] = `
|
|
2322
|
+
<DocumentFragment>
|
|
2323
|
+
<h2
|
|
2324
|
+
class=""
|
|
2325
|
+
>
|
|
2326
|
+
Heading 2 Test
|
|
2327
|
+
</h2>
|
|
2328
|
+
</DocumentFragment>
|
|
2329
|
+
`;
|
|
2330
|
+
|
|
1157
2331
|
exports[`Typography rendering i18n_dataTitle 1`] = `
|
|
1158
2332
|
<DocumentFragment>
|
|
1159
2333
|
<div
|
|
@@ -1165,6 +2339,37 @@ exports[`Typography rendering i18n_dataTitle 1`] = `
|
|
|
1165
2339
|
</DocumentFragment>
|
|
1166
2340
|
`;
|
|
1167
2341
|
|
|
2342
|
+
exports[`Typography rendering isDotted 1`] = `
|
|
2343
|
+
<DocumentFragment>
|
|
2344
|
+
<div
|
|
2345
|
+
class="dotted"
|
|
2346
|
+
>
|
|
2347
|
+
Heading 2 Test
|
|
2348
|
+
</div>
|
|
2349
|
+
</DocumentFragment>
|
|
2350
|
+
`;
|
|
2351
|
+
|
|
2352
|
+
exports[`Typography rendering shouldReset 1`] = `
|
|
2353
|
+
<DocumentFragment>
|
|
2354
|
+
<div
|
|
2355
|
+
class="reset"
|
|
2356
|
+
>
|
|
2357
|
+
Heading 2 Test
|
|
2358
|
+
</div>
|
|
2359
|
+
</DocumentFragment>
|
|
2360
|
+
`;
|
|
2361
|
+
|
|
2362
|
+
exports[`Typography rendering tagAttributes 1`] = `
|
|
2363
|
+
<DocumentFragment>
|
|
2364
|
+
<div
|
|
2365
|
+
class=""
|
|
2366
|
+
id="TypoCustomId"
|
|
2367
|
+
>
|
|
2368
|
+
Heading 2 Test
|
|
2369
|
+
</div>
|
|
2370
|
+
</DocumentFragment>
|
|
2371
|
+
`;
|
|
2372
|
+
|
|
1168
2373
|
exports[`Typography rendering tagAttributes_text 1`] = `
|
|
1169
2374
|
<DocumentFragment>
|
|
1170
2375
|
<div
|
|
@@ -1417,6 +2622,34 @@ exports[`Typography with highlight should render highlighted word 1`] = `
|
|
|
1417
2622
|
</DocumentFragment>
|
|
1418
2623
|
`;
|
|
1419
2624
|
|
|
2625
|
+
exports[`Typography with highlight should render highlighted word with highlightConfig 1`] = `
|
|
2626
|
+
<DocumentFragment>
|
|
2627
|
+
<div
|
|
2628
|
+
class=""
|
|
2629
|
+
>
|
|
2630
|
+
The
|
|
2631
|
+
<span
|
|
2632
|
+
class="font_bold"
|
|
2633
|
+
>
|
|
2634
|
+
sun
|
|
2635
|
+
</span>
|
|
2636
|
+
was bright, the
|
|
2637
|
+
<span
|
|
2638
|
+
class="font_bold"
|
|
2639
|
+
>
|
|
2640
|
+
sun
|
|
2641
|
+
</span>
|
|
2642
|
+
was warm, the
|
|
2643
|
+
<span
|
|
2644
|
+
class="font_bold"
|
|
2645
|
+
>
|
|
2646
|
+
sun
|
|
2647
|
+
</span>
|
|
2648
|
+
was high in the sky.
|
|
2649
|
+
</div>
|
|
2650
|
+
</DocumentFragment>
|
|
2651
|
+
`;
|
|
2652
|
+
|
|
1420
2653
|
exports[`Typography with highlight should render separate Styles per Word 1`] = `
|
|
1421
2654
|
<DocumentFragment>
|
|
1422
2655
|
<div
|
|
@@ -1569,7 +2802,7 @@ exports[`Typography with highlight should render with global custom style for al
|
|
|
1569
2802
|
</DocumentFragment>
|
|
1570
2803
|
`;
|
|
1571
2804
|
|
|
1572
|
-
exports[`Typography with highlight should render with global
|
|
2805
|
+
exports[`Typography with highlight should render with global tag name applied to all highlights 1`] = `
|
|
1573
2806
|
<DocumentFragment>
|
|
1574
2807
|
<div
|
|
1575
2808
|
class=""
|
|
@@ -1691,7 +2924,7 @@ exports[`Typography with highlight should render with separate excluded index op
|
|
|
1691
2924
|
</DocumentFragment>
|
|
1692
2925
|
`;
|
|
1693
2926
|
|
|
1694
|
-
exports[`Typography with highlight should render with separate
|
|
2927
|
+
exports[`Typography with highlight should render with separate tag name for each highlighted word 1`] = `
|
|
1695
2928
|
<DocumentFragment>
|
|
1696
2929
|
<div
|
|
1697
2930
|
class=""
|