@entur/typography 1.10.0-beta.9 → 2.0.0-beta.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.
Files changed (112) hide show
  1. package/README.md +37 -17
  2. package/dist/BaseHeading.d.ts +1 -1
  3. package/dist/Blockquote.d.ts +3 -4
  4. package/dist/CodeText.d.ts +1 -1
  5. package/dist/EmphasizedText.d.ts +1 -1
  6. package/dist/Heading1.d.ts +1 -1
  7. package/dist/Heading2.d.ts +1 -1
  8. package/dist/Heading3.d.ts +1 -1
  9. package/dist/Heading4.d.ts +1 -1
  10. package/dist/Heading5.d.ts +1 -1
  11. package/dist/Heading6.d.ts +1 -1
  12. package/dist/Label.d.ts +1 -1
  13. package/dist/LeadParagraph.d.ts +1 -1
  14. package/dist/Link.d.ts +1 -1
  15. package/dist/ListItem.d.ts +1 -1
  16. package/dist/NumberedList.d.ts +1 -1
  17. package/dist/Paragraph.d.ts +1 -1
  18. package/dist/PreformattedText.d.ts +1 -1
  19. package/dist/SmallText.d.ts +1 -1
  20. package/dist/StrongText.d.ts +1 -1
  21. package/dist/SubLabel.d.ts +1 -1
  22. package/dist/SubParagraph.d.ts +1 -1
  23. package/dist/UnorderedList.d.ts +1 -1
  24. package/dist/beta/cjs/components/Blockquote.cjs +29 -0
  25. package/dist/beta/cjs/components/Blockquote.cjs.map +1 -0
  26. package/dist/beta/cjs/components/Heading.cjs +37 -0
  27. package/dist/beta/cjs/components/Heading.cjs.map +1 -0
  28. package/dist/beta/cjs/components/Link.cjs +41 -0
  29. package/dist/beta/cjs/components/Link.cjs.map +1 -0
  30. package/dist/beta/cjs/components/ListItem.cjs +33 -0
  31. package/dist/beta/cjs/components/ListItem.cjs.map +1 -0
  32. package/dist/beta/cjs/components/NumberedList.cjs +32 -0
  33. package/dist/beta/cjs/components/NumberedList.cjs.map +1 -0
  34. package/dist/beta/cjs/components/Text.cjs +36 -0
  35. package/dist/beta/cjs/components/Text.cjs.map +1 -0
  36. package/dist/beta/cjs/components/UnorderedList.cjs +29 -0
  37. package/dist/beta/cjs/components/UnorderedList.cjs.map +1 -0
  38. package/dist/beta/cjs/index.cjs +18 -0
  39. package/dist/beta/cjs/index.cjs.map +1 -0
  40. package/dist/beta/cjs/utils/utils.cjs +77 -0
  41. package/dist/beta/cjs/utils/utils.cjs.map +1 -0
  42. package/dist/beta/esm/components/Blockquote.mjs +29 -0
  43. package/dist/beta/esm/components/Blockquote.mjs.map +1 -0
  44. package/dist/beta/esm/components/Heading.mjs +37 -0
  45. package/dist/beta/esm/components/Heading.mjs.map +1 -0
  46. package/dist/beta/esm/components/Link.mjs +41 -0
  47. package/dist/beta/esm/components/Link.mjs.map +1 -0
  48. package/dist/beta/esm/components/ListItem.mjs +33 -0
  49. package/dist/beta/esm/components/ListItem.mjs.map +1 -0
  50. package/dist/beta/esm/components/NumberedList.mjs +32 -0
  51. package/dist/beta/esm/components/NumberedList.mjs.map +1 -0
  52. package/dist/beta/esm/components/Text.mjs +36 -0
  53. package/dist/beta/esm/components/Text.mjs.map +1 -0
  54. package/dist/beta/esm/components/UnorderedList.mjs +29 -0
  55. package/dist/beta/esm/components/UnorderedList.mjs.map +1 -0
  56. package/dist/beta/esm/index.mjs +18 -0
  57. package/dist/beta/esm/index.mjs.map +1 -0
  58. package/dist/beta/esm/utils/utils.mjs +77 -0
  59. package/dist/beta/esm/utils/utils.mjs.map +1 -0
  60. package/dist/beta/styles/components/heading.css +458 -0
  61. package/dist/beta/styles/components/text.css +959 -0
  62. package/dist/beta/types/components/Blockquote.d.ts +12 -0
  63. package/dist/beta/{Heading.d.ts → types/components/Heading.d.ts} +2 -3
  64. package/dist/beta/types/components/Link.d.ts +22 -0
  65. package/dist/beta/types/components/ListItem.d.ts +22 -0
  66. package/dist/beta/types/components/NumberedList.d.ts +22 -0
  67. package/dist/beta/{Text.d.ts → types/components/Text.d.ts} +2 -3
  68. package/dist/beta/types/components/UnorderedList.d.ts +20 -0
  69. package/dist/beta/types/index.d.ts +8 -0
  70. package/dist/beta/types/utils/utils.d.ts +13 -0
  71. package/dist/index.d.ts +0 -5
  72. package/dist/styles.css +162 -820
  73. package/dist/typography.cjs.js +416 -0
  74. package/dist/typography.cjs.js.map +1 -0
  75. package/dist/typography.esm.js +392 -454
  76. package/dist/typography.esm.js.map +1 -1
  77. package/fonts/Entur-Nationale-Demibold.eot +0 -0
  78. package/fonts/Entur-Nationale-Demibold.woff +0 -0
  79. package/fonts/Entur-Nationale-Demibold.woff2 +0 -0
  80. package/fonts/Entur-Nationale-DemiboldItalic.eot +0 -0
  81. package/fonts/Entur-Nationale-DemiboldItalic.woff +0 -0
  82. package/fonts/Entur-Nationale-DemiboldItalic.woff2 +0 -0
  83. package/fonts/Entur-Nationale-Italic.eot +0 -0
  84. package/fonts/Entur-Nationale-Italic.woff +0 -0
  85. package/fonts/Entur-Nationale-Italic.woff2 +0 -0
  86. package/fonts/Entur-Nationale-Light.eot +0 -0
  87. package/fonts/Entur-Nationale-Light.woff +0 -0
  88. package/fonts/Entur-Nationale-Light.woff2 +0 -0
  89. package/fonts/Entur-Nationale-LightItalic.eot +0 -0
  90. package/fonts/Entur-Nationale-LightItalic.woff +0 -0
  91. package/fonts/Entur-Nationale-LightItalic.woff2 +0 -0
  92. package/fonts/Entur-Nationale-Medium.eot +0 -0
  93. package/fonts/Entur-Nationale-Medium.woff +0 -0
  94. package/fonts/Entur-Nationale-Medium.woff2 +0 -0
  95. package/fonts/Entur-Nationale-MediumItalic.eot +0 -0
  96. package/fonts/Entur-Nationale-MediumItalic.woff +0 -0
  97. package/fonts/Entur-Nationale-MediumItalic.woff2 +0 -0
  98. package/fonts/Entur-Nationale-Regular.eot +0 -0
  99. package/fonts/Entur-Nationale-Regular.woff +0 -0
  100. package/fonts/Entur-Nationale-Regular.woff2 +0 -0
  101. package/package.json +59 -19
  102. package/scripts/migrate-typography.js +415 -176
  103. package/dist/beta/BlockquoteBeta.d.ts +0 -12
  104. package/dist/beta/LinkBeta.d.ts +0 -16
  105. package/dist/beta/index.d.ts +0 -6
  106. package/dist/beta/utils.d.ts +0 -9
  107. package/dist/index.js +0 -8
  108. package/dist/typography.cjs.development.js +0 -508
  109. package/dist/typography.cjs.development.js.map +0 -1
  110. package/dist/typography.cjs.production.min.js +0 -2
  111. package/dist/typography.cjs.production.min.js.map +0 -1
  112. /package/dist/beta/{types.d.ts → types/types.d.ts} +0 -0
@@ -0,0 +1,959 @@
1
+ /*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
2
+
3
+ /*
4
+ Document
5
+ ========
6
+ */
7
+
8
+ /**
9
+ Use a better box model (opinionated).
10
+ */
11
+
12
+ *,
13
+ ::before,
14
+ ::after {
15
+ box-sizing: border-box;
16
+ }
17
+
18
+ html {
19
+ /* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
20
+ font-family:
21
+ system-ui,
22
+ 'Segoe UI',
23
+ Roboto,
24
+ Helvetica,
25
+ Arial,
26
+ sans-serif,
27
+ 'Apple Color Emoji',
28
+ 'Segoe UI Emoji';
29
+ line-height: 1.15; /* 1. Correct the line height in all browsers. */
30
+ -webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
31
+ tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
32
+ }
33
+
34
+ /*
35
+ Sections
36
+ ========
37
+ */
38
+
39
+ body {
40
+ margin: 0; /* Remove the margin in all browsers. */
41
+ }
42
+
43
+ /*
44
+ Text-level semantics
45
+ ====================
46
+ */
47
+
48
+ /**
49
+ Add the correct font weight in Chrome and Safari.
50
+ */
51
+
52
+ b,
53
+ strong {
54
+ font-weight: bolder;
55
+ }
56
+
57
+ /**
58
+ 1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
59
+ 2. Correct the odd 'em' font sizing in all browsers.
60
+ */
61
+
62
+ code,
63
+ kbd,
64
+ samp,
65
+ pre {
66
+ font-family:
67
+ ui-monospace,
68
+ SFMono-Regular,
69
+ Consolas,
70
+ 'Liberation Mono',
71
+ Menlo,
72
+ monospace; /* 1 */
73
+ font-size: 1em; /* 2 */
74
+ }
75
+
76
+ /**
77
+ Add the correct font size in all browsers.
78
+ */
79
+
80
+ small {
81
+ font-size: 80%;
82
+ }
83
+
84
+ /**
85
+ Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
86
+ */
87
+
88
+ sub,
89
+ sup {
90
+ font-size: 75%;
91
+ line-height: 0;
92
+ position: relative;
93
+ vertical-align: baseline;
94
+ }
95
+
96
+ sub {
97
+ bottom: -0.25em;
98
+ }
99
+
100
+ sup {
101
+ top: -0.5em;
102
+ }
103
+
104
+ /*
105
+ Tabular data
106
+ ============
107
+ */
108
+
109
+ /**
110
+ Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
111
+ */
112
+
113
+ table {
114
+ border-color: currentcolor;
115
+ }
116
+
117
+ /*
118
+ Forms
119
+ =====
120
+ */
121
+
122
+ /**
123
+ 1. Change the font styles in all browsers.
124
+ 2. Remove the margin in Firefox and Safari.
125
+ */
126
+
127
+ button,
128
+ input,
129
+ optgroup,
130
+ select,
131
+ textarea {
132
+ font-family: inherit; /* 1 */
133
+ font-size: 100%; /* 1 */
134
+ line-height: 1.15; /* 1 */
135
+ margin: 0; /* 2 */
136
+ }
137
+
138
+ /**
139
+ Correct the inability to style clickable types in iOS and Safari.
140
+ */
141
+
142
+ button,
143
+ [type='button'],
144
+ [type='reset'],
145
+ [type='submit'] {
146
+ -webkit-appearance: button;
147
+ }
148
+
149
+ /**
150
+ Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
151
+ */
152
+
153
+ legend {
154
+ padding: 0;
155
+ }
156
+
157
+ /**
158
+ Add the correct vertical alignment in Chrome and Firefox.
159
+ */
160
+
161
+ progress {
162
+ vertical-align: baseline;
163
+ }
164
+
165
+ /**
166
+ Correct the cursor style of increment and decrement buttons in Safari.
167
+ */
168
+
169
+ ::-webkit-inner-spin-button,
170
+ ::-webkit-outer-spin-button {
171
+ height: auto;
172
+ }
173
+
174
+ /**
175
+ 1. Correct the odd appearance in Chrome and Safari.
176
+ 2. Correct the outline style in Safari.
177
+ */
178
+
179
+ [type='search'] {
180
+ -webkit-appearance: textfield; /* 1 */
181
+ outline-offset: -2px; /* 2 */
182
+ }
183
+
184
+ /**
185
+ Remove the inner padding in Chrome and Safari on macOS.
186
+ */
187
+
188
+ ::-webkit-search-decoration {
189
+ -webkit-appearance: none;
190
+ }
191
+
192
+ /**
193
+ 1. Correct the inability to style clickable types in iOS and Safari.
194
+ 2. Change font properties to 'inherit' in Safari.
195
+ */
196
+
197
+ ::-webkit-file-upload-button {
198
+ -webkit-appearance: button; /* 1 */
199
+ font: inherit; /* 2 */
200
+ }
201
+
202
+ /*
203
+ Interactive
204
+ ===========
205
+ */
206
+
207
+ /*
208
+ Add the correct display in Chrome and Safari.
209
+ */
210
+
211
+ summary {
212
+ display: list-item;
213
+ }
214
+
215
+ /* DO NOT CHANGE!*/
216
+
217
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
218
+
219
+ /* DO NOT CHANGE!*/
220
+
221
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
222
+
223
+ /* DO NOT CHANGE!*/
224
+
225
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
226
+
227
+ /* DO NOT CHANGE!*/
228
+
229
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
230
+
231
+ /* DO NOT CHANGE!*/
232
+
233
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
234
+
235
+ [data-color-mode=light],
236
+ :root {
237
+ --basecolors-frame-contrast: #181c56;
238
+ --basecolors-frame-contrastalt: #393d79;
239
+ --basecolors-frame-contrastalt-2: #292b6a;
240
+ --basecolors-frame-default: #ffffff;
241
+ --basecolors-frame-elevated: #ffffff;
242
+ --basecolors-frame-elevatedalt: #f6f6f9;
243
+ --basecolors-frame-subdued: #d9dae8;
244
+ --basecolors-frame-tint: #f6f6f9;
245
+ --basecolors-shape-accent: #181c56;
246
+ --basecolors-shape-bicycle-contrast: #00db9b;
247
+ --basecolors-shape-bicycle-default: #388f76;
248
+ --basecolors-shape-bus-contrast: #ff6392;
249
+ --basecolors-shape-bus-default: #c5044e;
250
+ --basecolors-shape-cableway-contrast: #b482fb;
251
+ --basecolors-shape-cableway-default: #78469a;
252
+ --basecolors-shape-disabled: #6e6f73;
253
+ --basecolors-shape-disabledalt: #b6b8ba;
254
+ --basecolors-shape-ferry-contrast: #6fdfff;
255
+ --basecolors-shape-ferry-default: #0c6693;
256
+ --basecolors-shape-funicular-contrast: #b482fb;
257
+ --basecolors-shape-funicular-default: #78469a;
258
+ --basecolors-shape-helicopter-contrast: #fbafea;
259
+ --basecolors-shape-helicopter-default: #800664;
260
+ --basecolors-shape-highlight: #ff5959;
261
+ --basecolors-shape-light: #ffffff;
262
+ --basecolors-shape-mask: #ffffff;
263
+ --basecolors-shape-maskalt: #ffffff;
264
+ --basecolors-shape-metro-contrast: #f08901;
265
+ --basecolors-shape-metro-default: #bf5826;
266
+ --basecolors-shape-mobility-contrast: #00db9b;
267
+ --basecolors-shape-mobility-default: #388f76;
268
+ --basecolors-shape-plane-contrast: #fbafea;
269
+ --basecolors-shape-plane-default: #800664;
270
+ --basecolors-shape-subdued: #626493;
271
+ --basecolors-shape-subduedalt: #d9dae8;
272
+ --basecolors-shape-taxi-contrast: #ffe082;
273
+ --basecolors-shape-taxi-default: #3d3e40;
274
+ --basecolors-shape-train-contrast: #42a5f5;
275
+ --basecolors-shape-train-default: #00367f;
276
+ --basecolors-shape-tram-contrast: #b482fb;
277
+ --basecolors-shape-tram-default: #78469a;
278
+ --basecolors-shape-walk-contrast: #8284ab;
279
+ --basecolors-shape-walk-default: #8d8e9c;
280
+ --basecolors-shape-airportlinkbus-contrast: #fbafea;
281
+ --basecolors-shape-airportlinkbus-default: #800664;
282
+ --basecolors-shape-airportlinkrail-contrast: #fbafea;
283
+ --basecolors-shape-airportlinkrail-default: #800664;
284
+ --basecolors-stroke-contrast: #aeb7e2;
285
+ --basecolors-stroke-default: #181c56;
286
+ --basecolors-stroke-disabled: #949699;
287
+ --basecolors-stroke-focus-contrast: #aeb7e2;
288
+ --basecolors-stroke-focus-standard: #181c56;
289
+ --basecolors-stroke-highlight: #ff5959;
290
+ --basecolors-stroke-light: #ffffff;
291
+ --basecolors-stroke-subdued: #8284ab;
292
+ --basecolors-stroke-subduedalt: #e3e6e8;
293
+ --basecolors-text-accent: #181c56;
294
+ --basecolors-text-disabled: #6e6f73;
295
+ --basecolors-text-disabledalt: #b6b8ba;
296
+ --basecolors-text-highlight: #ff5959;
297
+ --basecolors-text-light: #ffffff;
298
+ --basecolors-text-subdued: #626493;
299
+ --basecolors-text-subduedalt: #d9dae8;
300
+ }
301
+
302
+ [data-color-mode=dark] {
303
+ --basecolors-frame-contrast: #212233;
304
+ --basecolors-frame-contrastalt: #141527;
305
+ --basecolors-frame-contrastalt-2: #08091c;
306
+ --basecolors-frame-default: #08091c;
307
+ --basecolors-frame-elevated: rgba(229, 229, 233, 0.1490196078);
308
+ --basecolors-frame-elevatedalt: #464755;
309
+ --basecolors-frame-subdued: #2d2e3e;
310
+ --basecolors-frame-tint: #141527;
311
+ --basecolors-shape-accent: #e5e5e9;
312
+ --basecolors-shape-bicycle-contrast: #4db295;
313
+ --basecolors-shape-bicycle-default: #4db295;
314
+ --basecolors-shape-bus-contrast: #ef7398;
315
+ --basecolors-shape-bus-default: #ef7398;
316
+ --basecolors-shape-cableway-contrast: #b898e5;
317
+ --basecolors-shape-cableway-default: #b898e5;
318
+ --basecolors-shape-disabled: #b6b8ba;
319
+ --basecolors-shape-disabledalt: #b3b4bd;
320
+ --basecolors-shape-ferry-contrast: #8ccfe2;
321
+ --basecolors-shape-ferry-default: #8ccfe2;
322
+ --basecolors-shape-funicular-contrast: #b898e5;
323
+ --basecolors-shape-funicular-default: #b898e5;
324
+ --basecolors-shape-helicopter-contrast: #f2b8e5;
325
+ --basecolors-shape-helicopter-default: #f2b8e5;
326
+ --basecolors-shape-highlight: #ff9494;
327
+ --basecolors-shape-light: #e5e5e9;
328
+ --basecolors-shape-mask: #2d2e3e;
329
+ --basecolors-shape-maskalt: #393a49;
330
+ --basecolors-shape-metro-contrast: #dd973c;
331
+ --basecolors-shape-metro-default: #dd973c;
332
+ --basecolors-shape-mobility-contrast: #4db295;
333
+ --basecolors-shape-mobility-default: #4db295;
334
+ --basecolors-shape-plane-contrast: #f2b8e5;
335
+ --basecolors-shape-plane-default: #f2b8e5;
336
+ --basecolors-shape-subdued: #b3b4bd;
337
+ --basecolors-shape-subduedalt: #b3b4bd;
338
+ --basecolors-shape-taxi-contrast: #ffe082;
339
+ --basecolors-shape-taxi-default: #ffe082;
340
+ --basecolors-shape-train-contrast: #60a2d7;
341
+ --basecolors-shape-train-default: #60a2d7;
342
+ --basecolors-shape-tram-contrast: #b898e5;
343
+ --basecolors-shape-tram-default: #b898e5;
344
+ --basecolors-shape-walk-contrast: #8d8e9c;
345
+ --basecolors-shape-walk-default: #8d8e9c;
346
+ --basecolors-shape-airportlinkbus-contrast: #f2b8e5;
347
+ --basecolors-shape-airportlinkbus-default: #f2b8e5;
348
+ --basecolors-shape-airportlinkrail-contrast: #f2b8e5;
349
+ --basecolors-shape-airportlinkrail-default: #f2b8e5;
350
+ --basecolors-stroke-contrast: #aeb7e2;
351
+ --basecolors-stroke-default: #b3b4bd;
352
+ --basecolors-stroke-disabled: #e3e6e8;
353
+ --basecolors-stroke-focus-contrast: #aeb7e2;
354
+ --basecolors-stroke-focus-standard: #aeb7e2;
355
+ --basecolors-stroke-highlight: #ff9494;
356
+ --basecolors-stroke-light: #b3b4bd;
357
+ --basecolors-stroke-subdued: #81828f;
358
+ --basecolors-stroke-subduedalt: #949699;
359
+ --basecolors-text-accent: #e5e5e9;
360
+ --basecolors-text-disabled: #b6b8ba;
361
+ --basecolors-text-disabledalt: #b6b8ba;
362
+ --basecolors-text-highlight: #ff9494;
363
+ --basecolors-text-light: #e5e5e9;
364
+ --basecolors-text-subdued: #b3b4bd;
365
+ --basecolors-text-subduedalt: #b3b4bd;
366
+ }
367
+
368
+ /*
369
+ * Typography Display Modes
370
+ *
371
+ * This system allows you to control typography scaling based on display size.
372
+ * Use the display-mode attribute to switch between different typography scales:
373
+ *
374
+ * - Default/Mobile: [display-mode='mobile'] or no attribute (responsive)
375
+ * - Large Display: [display-mode='large'] for big screens, kiosks, etc.
376
+ *
377
+ * Usage:
378
+ * <html display-mode="large"> or <div display-mode="large">
379
+ *
380
+ * The system automatically handles responsive behavior within each mode.
381
+ */
382
+
383
+ /* Primitive size */
384
+
385
+ :root {
386
+ /* Mode 1 */
387
+ /* number */
388
+ --size-0: 0rem;
389
+ --size-1: 0.0625rem;
390
+ --size-2: 0.125rem;
391
+ --size-3: 0.25rem;
392
+ --size-4: 0.375rem;
393
+ --size-5: 0.5rem;
394
+ --size-6: 0.75rem;
395
+ --size-7: 0.875rem;
396
+ --size-8: 1rem;
397
+ --size-9: 1.25rem;
398
+ --size-10: 1.5rem;
399
+ --size-11: 1.75rem;
400
+ --size-12: 2rem;
401
+ --size-13: 2.25rem;
402
+ --size-14: 2.5rem;
403
+ --size-15: 2.75rem;
404
+ --size-16: 3rem;
405
+ --size-17: 3.25rem;
406
+ --size-18: 3.5rem;
407
+ --size-19: 4rem;
408
+ --size-20: 4.5rem;
409
+ --size-21: 5rem;
410
+ --size-22: 5.5rem;
411
+ --size-23: 6rem;
412
+ --size-24: 6.5rem;
413
+ --size-25: 7rem;
414
+ --size-26: 7.5rem;
415
+ --size-27: 8rem;
416
+ --size-28: 8.5rem;
417
+ --size-29: 9rem;
418
+ --size-30: 9.5rem;
419
+ --size-31: 10rem;
420
+ }
421
+
422
+ :root,
423
+ [display-mode=mobile] {
424
+ /* Mobile/Default mode - number */
425
+ --font-line-height-body-xs: var(--size-7);
426
+ --font-line-height-body-s: var(--size-8);
427
+ --font-line-height-body-lg: var(--size-9);
428
+ --font-line-height-body-m: var(--size-9);
429
+ --font-line-height-body-xl: var(--size-10);
430
+ --font-line-height-heading-s: var(--size-7);
431
+ --font-line-height-heading-xs: var(--size-7);
432
+ --font-line-height-heading-m: var(--size-8);
433
+ --font-line-height-heading-lg: var(--size-9);
434
+ --font-line-height-heading-xl: var(--size-10);
435
+ --font-line-height-heading-2xl: var(--size-11);
436
+ --font-paragraph-spacing-body-xs: var(--size-4);
437
+ --font-paragraph-spacing-body-s: var(--size-5);
438
+ --font-paragraph-spacing-body-m: var(--size-7);
439
+ --font-paragraph-spacing-body-lg: var(--size-8);
440
+ --font-paragraph-spacing-body-xl: var(--size-8);
441
+ --font-paragraph-spacing-heading-s: var(--size-4);
442
+ --font-paragraph-spacing-heading-xs: var(--size-4);
443
+ --font-paragraph-spacing-heading-lg: var(--size-5);
444
+ --font-paragraph-spacing-heading-m: var(--size-5);
445
+ --font-paragraph-spacing-heading-2xl: var(--size-7);
446
+ --font-paragraph-spacing-heading-xl: var(--size-7);
447
+ --font-size-body-xs: var(--size-5);
448
+ --font-size-body-s: var(--size-6);
449
+ --font-size-body-lg: var(--size-7);
450
+ --font-size-body-m: var(--size-7);
451
+ --font-size-body-xl: var(--size-8);
452
+ --font-size-heading-xs: var(--size-5);
453
+ --font-size-heading-s: var(--size-6);
454
+ --font-size-heading-m: var(--size-7);
455
+ --font-size-heading-lg: var(--size-8);
456
+ --font-size-heading-xl: var(--size-9);
457
+ --font-size-heading-2xl: var(--size-10);
458
+ /* string */
459
+ --font-family-nationale: Nationale;
460
+ --font-weight-body: 500;
461
+ --font-weight-heading: 600;
462
+ }
463
+
464
+ @media screen and (min-width: 50rem) {
465
+ :root,
466
+ [display-mode=mobile] {
467
+ /* Desktop override for mobile mode - number */
468
+ /* number */
469
+ --font-line-height-body-xs: var(--size-7);
470
+ --font-line-height-body-s: var(--size-8);
471
+ --font-line-height-body-m: var(--size-9);
472
+ --font-line-height-body-lg: var(--size-10);
473
+ --font-line-height-body-xl: var(--size-11);
474
+ --font-line-height-heading-xs: var(--size-7);
475
+ --font-line-height-heading-s: var(--size-8);
476
+ --font-line-height-heading-m: var(--size-9);
477
+ --font-line-height-heading-lg: var(--size-10);
478
+ --font-line-height-heading-xl: var(--size-12);
479
+ --font-line-height-heading-2xl: var(--size-14);
480
+ --font-paragraph-spacing-body-xs: var(--size-4);
481
+ --font-paragraph-spacing-body-s: var(--size-5);
482
+ --font-paragraph-spacing-body-m: var(--size-7);
483
+ --font-paragraph-spacing-body-lg: var(--size-9);
484
+ --font-paragraph-spacing-body-xl: var(--size-9);
485
+ --font-paragraph-spacing-heading-xs: var(--size-4);
486
+ --font-paragraph-spacing-heading-m: var(--size-5);
487
+ --font-paragraph-spacing-heading-s: var(--size-5);
488
+ --font-paragraph-spacing-heading-lg: var(--size-7);
489
+ --font-paragraph-spacing-heading-xl: var(--size-8);
490
+ --font-paragraph-spacing-heading-2xl: var(--size-9);
491
+ --font-size-body-xs: var(--size-5);
492
+ --font-size-body-s: var(--size-6);
493
+ --font-size-body-m: var(--size-7);
494
+ --font-size-body-lg: var(--size-8);
495
+ --font-size-body-xl: var(--size-9);
496
+ --font-size-heading-xs: var(--size-6);
497
+ --font-size-heading-s: var(--size-7);
498
+ --font-size-heading-m: var(--size-8);
499
+ --font-size-heading-lg: var(--size-9);
500
+ --font-size-heading-xl: var(--size-11);
501
+ --font-size-heading-2xl: var(--size-13);
502
+ /* string */
503
+ --font-family-nationale: Nationale;
504
+ --font-weight-body: 500;
505
+ --font-weight-heading: 600;
506
+ }
507
+ }
508
+
509
+ [display-mode=large] {
510
+ /* number */
511
+ --font-line-height-body-xs: var(--size-10);
512
+ --font-line-height-body-s: var(--size-11);
513
+ --font-line-height-body-m: var(--size-14);
514
+ --font-line-height-body-lg: var(--size-17);
515
+ --font-line-height-body-xl: var(--size-18);
516
+ --font-line-height-heading-xs: var(--size-10);
517
+ --font-line-height-heading-s: var(--size-12);
518
+ --font-line-height-heading-m: var(--size-14);
519
+ --font-line-height-heading-lg: var(--size-17);
520
+ --font-line-height-heading-xl: var(--size-19);
521
+ --font-line-height-heading-2xl: var(--size-20);
522
+ --font-paragraph-spacing-body-xs: var(--size-8);
523
+ --font-paragraph-spacing-body-s: var(--size-9);
524
+ --font-paragraph-spacing-body-m: var(--size-11);
525
+ --font-paragraph-spacing-body-lg: var(--size-13);
526
+ --font-paragraph-spacing-body-xl: var(--size-15);
527
+ --font-paragraph-spacing-heading-xs: var(--size-5);
528
+ --font-paragraph-spacing-heading-s: var(--size-7);
529
+ --font-paragraph-spacing-heading-m: var(--size-8);
530
+ --font-paragraph-spacing-heading-lg: var(--size-9);
531
+ --font-paragraph-spacing-heading-xl: var(--size-11);
532
+ --font-paragraph-spacing-heading-2xl: var(--size-12);
533
+ --font-size-body-xs: var(--size-8);
534
+ --font-size-body-s: var(--size-9);
535
+ --font-size-body-m: var(--size-11);
536
+ --font-size-body-lg: var(--size-13);
537
+ --font-size-body-xl: var(--size-15);
538
+ --font-size-heading-xs: var(--size-9);
539
+ --font-size-heading-s: var(--size-11);
540
+ --font-size-heading-m: var(--size-13);
541
+ --font-size-heading-lg: var(--size-15);
542
+ --font-size-heading-xl: var(--size-18);
543
+ --font-size-heading-2xl: var(--size-19);
544
+ /* string */
545
+ --font-family-nationale: Nationale;
546
+ --font-weight-body: 500;
547
+ --font-weight-heading: 600;
548
+ }
549
+
550
+ .eds-text {
551
+ color: var(--primary-text-color);
552
+ font-weight: var(--font-weight-body);
553
+ margin: 0;
554
+ }
555
+
556
+ .eds-text--xs {
557
+ font-size: var(--font-size-body-xs);
558
+ line-height: var(--font-line-height-body-xs);
559
+ }
560
+
561
+ .eds-text--s {
562
+ font-size: var(--font-size-body-s);
563
+ line-height: var(--font-line-height-body-s);
564
+ }
565
+
566
+ .eds-text--m {
567
+ font-size: var(--font-size-body-m);
568
+ line-height: var(--font-line-height-body-m);
569
+ }
570
+
571
+ .eds-text--xl {
572
+ font-size: var(--font-size-body-xl);
573
+ line-height: var(--font-line-height-body-xl);
574
+ }
575
+
576
+ .eds-text--paragraph:has(+ .eds-heading) {
577
+ margin-bottom: calc(var(--font-line-height-body-m) + 1rem);
578
+ }
579
+
580
+ .eds-text--sub-paragraph:has(+ .eds-heading) {
581
+ margin-bottom: calc(var(--font-line-height-body-s) + 1rem);
582
+ }
583
+
584
+ .eds-text--leading:has(+ .eds-heading) {
585
+ margin-bottom: calc(var(--font-line-height-body-xl) + 1rem);
586
+ }
587
+
588
+ .eds-text--quote:has(+ .eds-heading) {
589
+ margin-bottom: calc(var(--font-line-height-body-lg) + 1rem);
590
+ }
591
+
592
+ .eds-text--caption:has(+ .eds-heading) {
593
+ margin-bottom: calc(var(--font-line-height-body-xs) + 1rem);
594
+ }
595
+
596
+ .eds-text--label:has(+ .eds-heading) {
597
+ margin-bottom: calc(var(--font-paragraph-spacing-body-xs) + 1rem);
598
+ }
599
+
600
+ .eds-text--sublabel:has(+ .eds-heading) {
601
+ margin-bottom: calc(var(--font-paragraph-spacing-body-xs) + 1rem);
602
+ }
603
+
604
+ .eds-text--unordered-list:has(+ .eds-heading) {
605
+ margin-bottom: calc(var(--font-line-height-body-lg) + 1rem);
606
+ }
607
+
608
+ .eds-text--numbered-list:has(+ .eds-heading) {
609
+ margin-bottom: calc(var(--font-line-height-body-lg) + 1rem);
610
+ }
611
+
612
+ .eds-text--blockquote:has(+ .eds-heading) {
613
+ margin-bottom: calc(var(--font-line-height-body-lg) + 1rem);
614
+ }
615
+
616
+ .eds-text--preformatted-text:has(+ .eds-heading) {
617
+ margin-bottom: calc(var(--font-line-height-body-lg) + 1rem);
618
+ }
619
+
620
+ .eds-text--code-text:has(+ .eds-heading) {
621
+ margin-bottom: calc(var(--font-line-height-body-lg) + 1rem);
622
+ }
623
+
624
+ .eds-text--leading {
625
+ font-size: var(--font-size-body-xl);
626
+ line-height: var(--font-line-height-body-xl);
627
+ margin-bottom: var(--font-line-height-body-xl);
628
+ }
629
+
630
+ .eds-text--quote {
631
+ font-size: var(--font-size-body-lg);
632
+ line-height: var(--font-line-height-body-lg);
633
+ margin-bottom: var(--font-line-height-body-lg);
634
+ }
635
+
636
+ .eds-text--paragraph {
637
+ font-size: var(--font-size-body-m);
638
+ line-height: var(--font-line-height-body-m);
639
+ margin-bottom: var(--font-line-height-body-m);
640
+ }
641
+
642
+ .eds-text--sub-paragraph {
643
+ font-size: var(--font-size-body-s);
644
+ line-height: var(--font-line-height-body-s);
645
+ margin-bottom: var(--font-line-height-body-s);
646
+ }
647
+
648
+ .eds-text--caption {
649
+ font-size: var(--font-size-body-xs);
650
+ line-height: var(--font-line-height-body-xs);
651
+ margin-bottom: var(--font-line-height-body-xs);
652
+ }
653
+
654
+ .eds-text--label {
655
+ font-size: var(--font-size-body-m);
656
+ line-height: var(--font-line-height-body-m);
657
+ margin-bottom: var(--font-paragraph-spacing-body-xs);
658
+ font-weight: 600;
659
+ }
660
+
661
+ .eds-text--sublabel {
662
+ font-size: var(--font-size-body-s);
663
+ line-height: var(--font-line-height-body-s);
664
+ margin-bottom: var(--font-paragraph-spacing-body-xs);
665
+ font-weight: 600;
666
+ }
667
+
668
+ .eds-text--overline {
669
+ font-size: var(--font-size-body-xs);
670
+ line-height: var(--font-line-height-body-xs);
671
+ margin-top: var(--font-paragraph-spacing-body-xs);
672
+ margin-bottom: var(--font-paragraph-spacing-body-m);
673
+ font-weight: 500;
674
+ text-transform: uppercase;
675
+ }
676
+
677
+ .eds-text--emphasized {
678
+ font-style: italic;
679
+ font-weight: 500;
680
+ }
681
+
682
+ .eds-text--code-text, .eds-text--preformatted-text {
683
+ background-color: var(--components-typography-codetext-standard-fill);
684
+ border: 0.0625rem solid var(--components-typography-codetext-standard-border);
685
+ border-radius: 0.25rem;
686
+ color: var(--components-typography-codetext-standard-text);
687
+ font-family: "Monaco", monospace;
688
+ font-size: 0.875rem;
689
+ }
690
+
691
+ .eds-text--preformatted-text {
692
+ padding: 1rem;
693
+ white-space: pre-wrap;
694
+ word-break: keep-all;
695
+ margin-bottom: calc(var(--font-line-height-body-lg) + 1rem);
696
+ }
697
+
698
+ .eds-text--code-text {
699
+ display: inline-block;
700
+ word-wrap: break-word;
701
+ overflow-wrap: anywhere;
702
+ padding: 0 0.25rem;
703
+ }
704
+
705
+ .eds-text--weight-400, .eds-text--weight-regular {
706
+ font-weight: 400;
707
+ }
708
+
709
+ .eds-text--weight-500, .eds-text--weight-medium {
710
+ font-weight: 500;
711
+ }
712
+
713
+ .eds-text--weight-600, .eds-text--weight-semibold {
714
+ font-weight: 600;
715
+ }
716
+
717
+ .eds-text--weight-700, .eds-text--weight-bold {
718
+ font-weight: 700;
719
+ }
720
+
721
+ .eds-text--spacing-none {
722
+ margin-top: 0;
723
+ margin-bottom: 0;
724
+ }
725
+
726
+ .eds-text--spacing-xs2 {
727
+ margin-top: 0.25rem;
728
+ margin-bottom: 0.25rem;
729
+ }
730
+
731
+ .eds-text--spacing-xs2-top {
732
+ margin-top: 0.25rem;
733
+ margin-bottom: 0;
734
+ }
735
+
736
+ .eds-text--spacing-xs2-bottom {
737
+ margin-top: 0;
738
+ margin-bottom: 0.25rem;
739
+ }
740
+
741
+ .eds-text--spacing-xs {
742
+ margin-top: 0.5rem;
743
+ margin-bottom: 0.5rem;
744
+ }
745
+
746
+ .eds-text--spacing-xs-top {
747
+ margin-top: 0.5rem;
748
+ margin-bottom: 0;
749
+ }
750
+
751
+ .eds-text--spacing-xs-bottom {
752
+ margin-top: 0;
753
+ margin-bottom: 0.5rem;
754
+ }
755
+
756
+ .eds-text--spacing-sm {
757
+ margin-top: 0.75rem;
758
+ margin-bottom: 0.75rem;
759
+ }
760
+
761
+ .eds-text--spacing-sm-top {
762
+ margin-top: 0.75rem;
763
+ margin-bottom: 0;
764
+ }
765
+
766
+ .eds-text--spacing-sm-bottom {
767
+ margin-top: 0;
768
+ margin-bottom: 0.75rem;
769
+ }
770
+
771
+ .eds-text--spacing-md {
772
+ margin-top: 1rem;
773
+ margin-bottom: 1rem;
774
+ }
775
+
776
+ .eds-text--spacing-md-top {
777
+ margin-top: 1rem;
778
+ margin-bottom: 0;
779
+ }
780
+
781
+ .eds-text--spacing-md-bottom {
782
+ margin-top: 0;
783
+ margin-bottom: 1rem;
784
+ }
785
+
786
+ .eds-text--spacing-lg {
787
+ margin-top: 1.5rem;
788
+ margin-bottom: 1.5rem;
789
+ }
790
+
791
+ .eds-text--spacing-lg-top {
792
+ margin-top: 1.5rem;
793
+ margin-bottom: 0;
794
+ }
795
+
796
+ .eds-text--spacing-lg-bottom {
797
+ margin-top: 0;
798
+ margin-bottom: 1.5rem;
799
+ }
800
+
801
+ .eds-text--spacing-xl {
802
+ margin-top: 2rem;
803
+ margin-bottom: 2rem;
804
+ }
805
+
806
+ .eds-text--spacing-xl-top {
807
+ margin-top: 2rem;
808
+ margin-bottom: 0;
809
+ }
810
+
811
+ .eds-text--spacing-xl-bottom {
812
+ margin-top: 0;
813
+ margin-bottom: 2rem;
814
+ }
815
+
816
+ .eds-text--link {
817
+ color: var(--primary-text-color);
818
+ }
819
+
820
+ .eds-text--link, .eds-text--link:link, .eds-text--link:visited {
821
+ font-size: inherit;
822
+ text-decoration: none;
823
+ position: relative;
824
+ background-image: linear-gradient(120deg, var(--primary-text-color) 0%, var(--primary-text-color) 100%);
825
+ background-repeat: no-repeat;
826
+ background-size: 100% 0.125rem;
827
+ background-position: 0 100%;
828
+ }
829
+
830
+ .eds-text--link:hover {
831
+ animation: eds-link-underline 0.3s ease-in;
832
+ cursor: pointer;
833
+ }
834
+
835
+ @keyframes eds-link-underline {
836
+ from {
837
+ background-size: 0% 0.125rem;
838
+ }
839
+ to {
840
+ background-size: 100% 0.125rem;
841
+ }
842
+ }
843
+
844
+ .eds-text--link:focus-visible {
845
+ outline: 2px solid #181c56;
846
+ outline-color: var(--basecolors-stroke-focus-standard);
847
+ outline-offset: 0.125rem;
848
+ }
849
+
850
+ .eds-contrast .eds-text--link:focus-visible {
851
+ outline-color: var(--basecolors-stroke-focus-contrast);
852
+ }
853
+
854
+ @media screen and (min-width: 50rem) {
855
+ .eds-text--link {
856
+ font-size: 1rem;
857
+ line-height: 1.5rem;
858
+ }
859
+ }
860
+
861
+ .eds-text--link--ext-icon {
862
+ margin-left: 0.25rem;
863
+ }
864
+
865
+ p .eds-text--link--ext-icon {
866
+ top: 0;
867
+ }
868
+
869
+ .eds-text--blockquote {
870
+ border-left: 0.25rem solid var(--components-typography-blockquote-standard-stroke);
871
+ font-family: inherit;
872
+ margin: 0;
873
+ padding: 0.5rem;
874
+ padding-left: 2rem;
875
+ font-size: var(--font-size-body-lg);
876
+ line-height: var(--font-line-height-body-lg);
877
+ margin-bottom: var(--font-line-height-body-lg);
878
+ }
879
+
880
+ .eds-text--blockquote__footer {
881
+ font-size: var(--font-size-body-s);
882
+ line-height: 1.375rem;
883
+ letter-spacing: 1px;
884
+ margin-top: 1.5rem;
885
+ text-transform: uppercase;
886
+ }
887
+
888
+ .eds-text--unordered-list {
889
+ list-style: none;
890
+ margin-bottom: var(--font-line-height-body-lg);
891
+ }
892
+
893
+ .eds-text--unordered-list .eds-text--list-item::before {
894
+ content: "";
895
+ background: var(--components-typography-list-standard-border);
896
+ display: block;
897
+ height: 0.125rem;
898
+ left: -1.75rem;
899
+ top: 0.75rem;
900
+ position: relative;
901
+ width: 0.75rem;
902
+ }
903
+
904
+ .eds-text--numbered-list {
905
+ counter-reset: eds-numbered-list-counter;
906
+ list-style: none;
907
+ margin-bottom: var(--font-line-height-body-lg);
908
+ }
909
+
910
+ .eds-text--numbered-list--type-a > .eds-text--list-item::before {
911
+ content: counter(eds-numbered-list-counter, lower-alpha);
912
+ }
913
+
914
+ .eds-text--numbered-list--type-A > .eds-text--list-item::before {
915
+ content: counter(eds-numbered-list-counter, upper-alpha);
916
+ }
917
+
918
+ .eds-text--numbered-list--type-1 > .eds-text--list-item::before {
919
+ content: counter(eds-numbered-list-counter, decimal);
920
+ }
921
+
922
+ .eds-text--numbered-list--type-i > .eds-text--list-item::before {
923
+ content: counter(eds-numbered-list-counter, lower-roman);
924
+ }
925
+
926
+ .eds-text--numbered-list--type-I > .eds-text--list-item::before {
927
+ content: counter(eds-numbered-list-counter, upper-roman);
928
+ }
929
+
930
+ .eds-text--list-item {
931
+ padding-left: 0.5rem;
932
+ }
933
+
934
+ .eds-text--numbered-list > .eds-text--list-item {
935
+ counter-increment: eds-numbered-list-counter;
936
+ margin-bottom: var(--font-paragraph-spacing-body-m);
937
+ position: relative;
938
+ }
939
+
940
+ .eds-text--numbered-list > .eds-text--list-item::before {
941
+ color: var(--primary-text-color);
942
+ position: absolute;
943
+ font-weight: var(--font-weight-heading);
944
+ left: -2.5rem;
945
+ border: 0.125rem solid var(--components-typography-list-standard-border);
946
+ border-radius: 50%;
947
+ height: 2rem;
948
+ width: 2rem;
949
+ display: flex;
950
+ align-items: center;
951
+ justify-content: center;
952
+ top: -0.25rem;
953
+ }
954
+
955
+ .eds-text--list-item__title {
956
+ display: block;
957
+ font-weight: var(--font-weight-heading);
958
+ margin-bottom: 0.5rem;
959
+ }