@entur/typography 1.9.13 → 1.10.0-beta.10
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 +101 -4
- package/dist/BaseHeading.d.ts +18 -0
- package/dist/Blockquote.d.ts +12 -0
- package/dist/CodeText.d.ts +16 -0
- package/dist/EmphasizedText.d.ts +20 -0
- package/dist/Heading1.d.ts +20 -0
- package/dist/Heading2.d.ts +20 -0
- package/dist/Heading3.d.ts +20 -0
- package/dist/Heading4.d.ts +20 -0
- package/dist/Heading5.d.ts +20 -0
- package/dist/Heading6.d.ts +20 -0
- package/dist/Label.d.ts +20 -0
- package/dist/LeadParagraph.d.ts +20 -0
- package/dist/Link.d.ts +22 -0
- package/dist/ListItem.d.ts +11 -0
- package/dist/NumberedList.d.ts +8 -0
- package/dist/Paragraph.d.ts +20 -0
- package/dist/PreformattedText.d.ts +16 -0
- package/dist/SmallText.d.ts +20 -0
- package/dist/StrongText.d.ts +20 -0
- package/dist/SubLabel.d.ts +20 -0
- package/dist/SubParagraph.d.ts +20 -0
- package/dist/UnorderedList.d.ts +8 -0
- package/dist/beta/BlockquoteBeta.d.ts +12 -0
- package/dist/beta/Heading.d.ts +21 -0
- package/dist/beta/LinkBeta.d.ts +16 -0
- package/dist/beta/Text.d.ts +21 -0
- package/dist/beta/index.d.ts +6 -0
- package/dist/beta/types.d.ts +5 -0
- package/dist/beta/utils.d.ts +10 -0
- package/dist/index.d.ts +26 -426
- package/dist/index.js +8 -0
- package/dist/styles.css +838 -2
- package/dist/typography.cjs.development.js +528 -0
- package/dist/typography.cjs.development.js.map +1 -0
- package/dist/typography.cjs.production.min.js +2 -0
- package/dist/typography.cjs.production.min.js.map +1 -0
- package/dist/typography.esm.js +474 -392
- package/dist/typography.esm.js.map +1 -1
- package/package.json +21 -25
- package/scripts/migrate-typography.js +1259 -0
- package/dist/typography.cjs.js +0 -416
- package/dist/typography.cjs.js.map +0 -1
package/dist/typography.cjs.js
DELETED
|
@@ -1,416 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const utils = require("@entur/utils");
|
|
4
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
5
|
-
const classNames = require("classnames");
|
|
6
|
-
const icons = require("@entur/icons");
|
|
7
|
-
const Blockquote = ({ className, ref, ...rest }) => {
|
|
8
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
|
-
"blockquote",
|
|
10
|
-
{
|
|
11
|
-
className: classNames("eds-blockquote", className),
|
|
12
|
-
ref,
|
|
13
|
-
...rest
|
|
14
|
-
}
|
|
15
|
-
);
|
|
16
|
-
};
|
|
17
|
-
const BlockquoteFooter = ({ className, ...rest }) => {
|
|
18
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19
|
-
"footer",
|
|
20
|
-
{
|
|
21
|
-
className: classNames("eds-blockquote__footer", className),
|
|
22
|
-
...rest
|
|
23
|
-
}
|
|
24
|
-
);
|
|
25
|
-
};
|
|
26
|
-
const defaultElement$h = "code";
|
|
27
|
-
const CodeText = ({
|
|
28
|
-
className,
|
|
29
|
-
as,
|
|
30
|
-
...rest
|
|
31
|
-
}) => {
|
|
32
|
-
const Element = as || defaultElement$h;
|
|
33
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Element, { className: classNames("eds-code-text", className), ...rest });
|
|
34
|
-
};
|
|
35
|
-
const defaultElement$g = "em";
|
|
36
|
-
const EmphasizedText = ({
|
|
37
|
-
className,
|
|
38
|
-
margin = "both",
|
|
39
|
-
as,
|
|
40
|
-
...rest
|
|
41
|
-
}) => {
|
|
42
|
-
const Element = as || defaultElement$g;
|
|
43
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44
|
-
Element,
|
|
45
|
-
{
|
|
46
|
-
className: classNames(
|
|
47
|
-
"eds-emphasized-text",
|
|
48
|
-
{
|
|
49
|
-
[`eds-emphasized-text--margin-top`]: margin === "top",
|
|
50
|
-
[`eds-emphasized-text--margin-bottom`]: margin === "bottom",
|
|
51
|
-
[`eds-emphasized-text--margin-none`]: margin === "none"
|
|
52
|
-
},
|
|
53
|
-
className
|
|
54
|
-
),
|
|
55
|
-
...rest
|
|
56
|
-
}
|
|
57
|
-
);
|
|
58
|
-
};
|
|
59
|
-
const defaultElement$f = "h1";
|
|
60
|
-
const BaseHeading = ({
|
|
61
|
-
className,
|
|
62
|
-
level,
|
|
63
|
-
margin,
|
|
64
|
-
as,
|
|
65
|
-
...rest
|
|
66
|
-
}) => {
|
|
67
|
-
const Element = as || defaultElement$f;
|
|
68
|
-
const baseClass = `eds-h${level}`;
|
|
69
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
70
|
-
Element,
|
|
71
|
-
{
|
|
72
|
-
className: classNames(
|
|
73
|
-
baseClass,
|
|
74
|
-
{
|
|
75
|
-
[`${baseClass}--margin-top`]: margin === "top",
|
|
76
|
-
[`${baseClass}--margin-bottom`]: margin === "bottom",
|
|
77
|
-
[`${baseClass}--margin-none`]: margin === "none"
|
|
78
|
-
},
|
|
79
|
-
className
|
|
80
|
-
),
|
|
81
|
-
...rest
|
|
82
|
-
}
|
|
83
|
-
);
|
|
84
|
-
};
|
|
85
|
-
const defaultElement$e = "h1";
|
|
86
|
-
const Heading1 = ({
|
|
87
|
-
margin = "both",
|
|
88
|
-
children,
|
|
89
|
-
as,
|
|
90
|
-
...rest
|
|
91
|
-
}) => {
|
|
92
|
-
const Element = as || defaultElement$e;
|
|
93
|
-
return /* @__PURE__ */ jsxRuntime.jsx(BaseHeading, { as: Element, margin, ...rest, level: 1, children });
|
|
94
|
-
};
|
|
95
|
-
const defaultElement$d = "h2";
|
|
96
|
-
const Heading2 = ({
|
|
97
|
-
margin = "both",
|
|
98
|
-
children,
|
|
99
|
-
as,
|
|
100
|
-
...rest
|
|
101
|
-
}) => {
|
|
102
|
-
const Element = as || defaultElement$d;
|
|
103
|
-
return /* @__PURE__ */ jsxRuntime.jsx(BaseHeading, { as: Element, margin, ...rest, level: 2, children });
|
|
104
|
-
};
|
|
105
|
-
const defaultElement$c = "h3";
|
|
106
|
-
const Heading3 = ({
|
|
107
|
-
margin = "both",
|
|
108
|
-
children,
|
|
109
|
-
as,
|
|
110
|
-
...rest
|
|
111
|
-
}) => {
|
|
112
|
-
const Element = as || defaultElement$c;
|
|
113
|
-
return /* @__PURE__ */ jsxRuntime.jsx(BaseHeading, { as: Element, margin, ...rest, level: 3, children });
|
|
114
|
-
};
|
|
115
|
-
const defaultElement$b = "h4";
|
|
116
|
-
const Heading4 = ({
|
|
117
|
-
margin = "both",
|
|
118
|
-
children,
|
|
119
|
-
as,
|
|
120
|
-
...rest
|
|
121
|
-
}) => {
|
|
122
|
-
const Element = as || defaultElement$b;
|
|
123
|
-
return /* @__PURE__ */ jsxRuntime.jsx(BaseHeading, { as: Element, margin, ...rest, level: 4, children });
|
|
124
|
-
};
|
|
125
|
-
const defaultElement$a = "h5";
|
|
126
|
-
const Heading5 = ({
|
|
127
|
-
margin = "both",
|
|
128
|
-
children,
|
|
129
|
-
as,
|
|
130
|
-
...rest
|
|
131
|
-
}) => {
|
|
132
|
-
const Element = as || defaultElement$a;
|
|
133
|
-
return /* @__PURE__ */ jsxRuntime.jsx(BaseHeading, { as: Element, margin, ...rest, level: 5, children });
|
|
134
|
-
};
|
|
135
|
-
const defaultElement$9 = "h6";
|
|
136
|
-
const Heading6 = ({
|
|
137
|
-
margin = "both",
|
|
138
|
-
children,
|
|
139
|
-
as,
|
|
140
|
-
...rest
|
|
141
|
-
}) => {
|
|
142
|
-
const Element = as || defaultElement$9;
|
|
143
|
-
return /* @__PURE__ */ jsxRuntime.jsx(BaseHeading, { as: Element, margin, ...rest, level: 6, children });
|
|
144
|
-
};
|
|
145
|
-
const defaultElement$8 = "label";
|
|
146
|
-
const Label = ({
|
|
147
|
-
className,
|
|
148
|
-
margin = "both",
|
|
149
|
-
as,
|
|
150
|
-
...rest
|
|
151
|
-
}) => {
|
|
152
|
-
const Element = as || defaultElement$8;
|
|
153
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
154
|
-
Element,
|
|
155
|
-
{
|
|
156
|
-
className: classNames(
|
|
157
|
-
"eds-label",
|
|
158
|
-
{
|
|
159
|
-
[`eds-label--margin-top`]: margin === "top",
|
|
160
|
-
[`eds-label--margin-bottom`]: margin === "bottom",
|
|
161
|
-
[`eds-label--margin-none`]: margin === "none"
|
|
162
|
-
},
|
|
163
|
-
className
|
|
164
|
-
),
|
|
165
|
-
...rest
|
|
166
|
-
}
|
|
167
|
-
);
|
|
168
|
-
};
|
|
169
|
-
const defaultElement$7 = "p";
|
|
170
|
-
const LeadParagraph = ({
|
|
171
|
-
className,
|
|
172
|
-
margin = "both",
|
|
173
|
-
as,
|
|
174
|
-
...rest
|
|
175
|
-
}) => {
|
|
176
|
-
const Element = as || defaultElement$7;
|
|
177
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
178
|
-
Element,
|
|
179
|
-
{
|
|
180
|
-
className: classNames(
|
|
181
|
-
"eds-lead-paragraph",
|
|
182
|
-
{
|
|
183
|
-
[`eds-lead-paragraph--margin-top`]: margin === "top",
|
|
184
|
-
[`eds-lead-paragraph--margin-bottom`]: margin === "bottom",
|
|
185
|
-
[`eds-lead-paragraph--margin-none`]: margin === "none"
|
|
186
|
-
},
|
|
187
|
-
className
|
|
188
|
-
),
|
|
189
|
-
...rest
|
|
190
|
-
}
|
|
191
|
-
);
|
|
192
|
-
};
|
|
193
|
-
const defaultElement$6 = "a";
|
|
194
|
-
const Link = ({
|
|
195
|
-
external = false,
|
|
196
|
-
ariaLabelExternalIcon = "(ekstern lenke)",
|
|
197
|
-
className,
|
|
198
|
-
margin = "both",
|
|
199
|
-
children,
|
|
200
|
-
as,
|
|
201
|
-
...rest
|
|
202
|
-
}) => {
|
|
203
|
-
const Element = as || defaultElement$6;
|
|
204
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
205
|
-
Element,
|
|
206
|
-
{
|
|
207
|
-
className: classNames(
|
|
208
|
-
"eds-link",
|
|
209
|
-
{
|
|
210
|
-
[`eds-link--margin-top`]: margin === "top",
|
|
211
|
-
[`eds-link--margin-bottom`]: margin === "bottom",
|
|
212
|
-
[`eds-link--margin-none`]: margin === "none"
|
|
213
|
-
},
|
|
214
|
-
className
|
|
215
|
-
),
|
|
216
|
-
...rest,
|
|
217
|
-
children: [
|
|
218
|
-
children,
|
|
219
|
-
external ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
220
|
-
icons.ExternalIcon,
|
|
221
|
-
{
|
|
222
|
-
className: "eds-link--ext-icon",
|
|
223
|
-
"aria-label": ariaLabelExternalIcon
|
|
224
|
-
}
|
|
225
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {})
|
|
226
|
-
]
|
|
227
|
-
}
|
|
228
|
-
);
|
|
229
|
-
};
|
|
230
|
-
const defaultElement$5 = "strong";
|
|
231
|
-
const StrongText = ({
|
|
232
|
-
className,
|
|
233
|
-
margin = "both",
|
|
234
|
-
as,
|
|
235
|
-
...rest
|
|
236
|
-
}) => {
|
|
237
|
-
const Element = as || defaultElement$5;
|
|
238
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
239
|
-
Element,
|
|
240
|
-
{
|
|
241
|
-
className: classNames(
|
|
242
|
-
"eds-strong-text",
|
|
243
|
-
{
|
|
244
|
-
[`eds-strong-text--margin-top`]: margin === "top",
|
|
245
|
-
[`eds-strong-text--margin-bottom`]: margin === "bottom",
|
|
246
|
-
[`eds-strong-text--margin-none`]: margin === "none"
|
|
247
|
-
},
|
|
248
|
-
className
|
|
249
|
-
),
|
|
250
|
-
...rest
|
|
251
|
-
}
|
|
252
|
-
);
|
|
253
|
-
};
|
|
254
|
-
const ListItem = ({
|
|
255
|
-
children,
|
|
256
|
-
className,
|
|
257
|
-
title,
|
|
258
|
-
...rest
|
|
259
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: classNames("eds-list-item", className), ...rest, children: [
|
|
260
|
-
title && /* @__PURE__ */ jsxRuntime.jsx(StrongText, { className: "eds-list-item__title", children: title }),
|
|
261
|
-
children
|
|
262
|
-
] });
|
|
263
|
-
const NumberedList = ({
|
|
264
|
-
className,
|
|
265
|
-
type = "1",
|
|
266
|
-
...rest
|
|
267
|
-
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
268
|
-
"ol",
|
|
269
|
-
{
|
|
270
|
-
className: classNames(
|
|
271
|
-
"eds-numbered-list",
|
|
272
|
-
{ [`eds-numbered-list--type-${type}`]: type },
|
|
273
|
-
className
|
|
274
|
-
),
|
|
275
|
-
type,
|
|
276
|
-
...rest
|
|
277
|
-
}
|
|
278
|
-
);
|
|
279
|
-
const defaultElement$4 = "p";
|
|
280
|
-
const Paragraph = ({
|
|
281
|
-
margin = "bottom",
|
|
282
|
-
className,
|
|
283
|
-
as,
|
|
284
|
-
...rest
|
|
285
|
-
}) => {
|
|
286
|
-
const Element = as || defaultElement$4;
|
|
287
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
288
|
-
Element,
|
|
289
|
-
{
|
|
290
|
-
className: classNames(
|
|
291
|
-
"eds-paragraph",
|
|
292
|
-
{
|
|
293
|
-
"eds-paragraph--margin-bottom": margin === "bottom",
|
|
294
|
-
"eds-paragraph--margin-none": margin === "none"
|
|
295
|
-
},
|
|
296
|
-
className
|
|
297
|
-
),
|
|
298
|
-
...rest
|
|
299
|
-
}
|
|
300
|
-
);
|
|
301
|
-
};
|
|
302
|
-
const defaultElement$3 = "pre";
|
|
303
|
-
const PreformattedText = ({
|
|
304
|
-
className,
|
|
305
|
-
as,
|
|
306
|
-
...rest
|
|
307
|
-
}) => {
|
|
308
|
-
const Element = as || defaultElement$3;
|
|
309
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
310
|
-
Element,
|
|
311
|
-
{
|
|
312
|
-
className: classNames("eds-preformatted-text", className),
|
|
313
|
-
...rest
|
|
314
|
-
}
|
|
315
|
-
);
|
|
316
|
-
};
|
|
317
|
-
const defaultElement$2 = "span";
|
|
318
|
-
const SmallText = ({
|
|
319
|
-
className,
|
|
320
|
-
margin = "both",
|
|
321
|
-
as,
|
|
322
|
-
...rest
|
|
323
|
-
}) => {
|
|
324
|
-
const Element = as || defaultElement$2;
|
|
325
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
326
|
-
Element,
|
|
327
|
-
{
|
|
328
|
-
className: classNames(
|
|
329
|
-
"eds-small-text",
|
|
330
|
-
{
|
|
331
|
-
[`eds-small-text--margin-top`]: margin === "top",
|
|
332
|
-
[`eds-small-text--margin-bottom`]: margin === "bottom",
|
|
333
|
-
[`eds-small-text--margin-none`]: margin === "none"
|
|
334
|
-
},
|
|
335
|
-
className
|
|
336
|
-
),
|
|
337
|
-
...rest
|
|
338
|
-
}
|
|
339
|
-
);
|
|
340
|
-
};
|
|
341
|
-
const defaultElement$1 = "span";
|
|
342
|
-
const SubLabel = ({
|
|
343
|
-
className,
|
|
344
|
-
margin = "both",
|
|
345
|
-
as,
|
|
346
|
-
...rest
|
|
347
|
-
}) => {
|
|
348
|
-
const Element = as || defaultElement$1;
|
|
349
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
350
|
-
Element,
|
|
351
|
-
{
|
|
352
|
-
className: classNames(
|
|
353
|
-
"eds-sub-label",
|
|
354
|
-
{
|
|
355
|
-
[`eds-sub-label--margin-top`]: margin === "top",
|
|
356
|
-
[`eds-sub-label--margin-bottom`]: margin === "bottom",
|
|
357
|
-
[`eds-sub-label--margin-none`]: margin === "none"
|
|
358
|
-
},
|
|
359
|
-
className
|
|
360
|
-
),
|
|
361
|
-
...rest
|
|
362
|
-
}
|
|
363
|
-
);
|
|
364
|
-
};
|
|
365
|
-
const defaultElement = "p";
|
|
366
|
-
const SubParagraph = ({
|
|
367
|
-
className,
|
|
368
|
-
margin,
|
|
369
|
-
as,
|
|
370
|
-
...rest
|
|
371
|
-
}) => {
|
|
372
|
-
const Element = as || defaultElement;
|
|
373
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
374
|
-
Element,
|
|
375
|
-
{
|
|
376
|
-
className: classNames(
|
|
377
|
-
"eds-sub-paragraph",
|
|
378
|
-
{
|
|
379
|
-
[`eds-sub-paragraph--margin-top`]: margin === "top",
|
|
380
|
-
[`eds-sub-paragraph--margin-bottom`]: margin === "bottom",
|
|
381
|
-
[`eds-sub-paragraph--margin-none`]: margin === "none"
|
|
382
|
-
},
|
|
383
|
-
className
|
|
384
|
-
),
|
|
385
|
-
...rest
|
|
386
|
-
}
|
|
387
|
-
);
|
|
388
|
-
};
|
|
389
|
-
const UnorderedList = ({
|
|
390
|
-
className,
|
|
391
|
-
...rest
|
|
392
|
-
}) => /* @__PURE__ */ jsxRuntime.jsx("ul", { className: classNames("eds-unordered-list", className), ...rest });
|
|
393
|
-
utils.warnAboutMissingStyles("typography");
|
|
394
|
-
exports.Blockquote = Blockquote;
|
|
395
|
-
exports.BlockquoteFooter = BlockquoteFooter;
|
|
396
|
-
exports.CodeText = CodeText;
|
|
397
|
-
exports.EmphasizedText = EmphasizedText;
|
|
398
|
-
exports.Heading1 = Heading1;
|
|
399
|
-
exports.Heading2 = Heading2;
|
|
400
|
-
exports.Heading3 = Heading3;
|
|
401
|
-
exports.Heading4 = Heading4;
|
|
402
|
-
exports.Heading5 = Heading5;
|
|
403
|
-
exports.Heading6 = Heading6;
|
|
404
|
-
exports.Label = Label;
|
|
405
|
-
exports.LeadParagraph = LeadParagraph;
|
|
406
|
-
exports.Link = Link;
|
|
407
|
-
exports.ListItem = ListItem;
|
|
408
|
-
exports.NumberedList = NumberedList;
|
|
409
|
-
exports.Paragraph = Paragraph;
|
|
410
|
-
exports.PreformattedText = PreformattedText;
|
|
411
|
-
exports.SmallText = SmallText;
|
|
412
|
-
exports.StrongText = StrongText;
|
|
413
|
-
exports.SubLabel = SubLabel;
|
|
414
|
-
exports.SubParagraph = SubParagraph;
|
|
415
|
-
exports.UnorderedList = UnorderedList;
|
|
416
|
-
//# sourceMappingURL=typography.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typography.cjs.js","sources":["../src/Blockquote.tsx","../src/CodeText.tsx","../src/EmphasizedText.tsx","../src/BaseHeading.tsx","../src/Heading1.tsx","../src/Heading2.tsx","../src/Heading3.tsx","../src/Heading4.tsx","../src/Heading5.tsx","../src/Heading6.tsx","../src/Label.tsx","../src/LeadParagraph.tsx","../src/Link.tsx","../src/StrongText.tsx","../src/ListItem.tsx","../src/NumberedList.tsx","../src/Paragraph.tsx","../src/PreformattedText.tsx","../src/SmallText.tsx","../src/SubLabel.tsx","../src/SubParagraph.tsx","../src/UnorderedList.tsx","../src/index.tsx"],"sourcesContent":["import React from 'react';\nimport classNames from 'classnames';\n\ntype BlockquoteProps = {\n /** Ekstra klassenavn */\n className?: string;\n} & React.DetailedHTMLProps<\n React.BlockquoteHTMLAttributes<HTMLElement>,\n HTMLQuoteElement\n>;\n\nexport const Blockquote = ({ className, ref, ...rest }: BlockquoteProps) => {\n return (\n <blockquote\n className={classNames('eds-blockquote', className)}\n ref={ref}\n {...rest}\n />\n );\n};\n\ntype BlockquoteFooterProps = {\n /** Ekstra klassenavn */\n className?: string;\n} & React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;\n\nexport const BlockquoteFooter: React.FunctionComponent<\n BlockquoteFooterProps\n> = ({ className, ...rest }) => {\n return (\n <footer\n className={classNames('eds-blockquote__footer', className)}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type CodeTextOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"code\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n};\n\nexport type CodeTextProps<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, CodeTextOwnProps>;\n\nconst defaultElement = 'code';\n\nexport const CodeText = <E extends React.ElementType = typeof defaultElement>({\n className,\n as,\n ...rest\n}: CodeTextProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element className={classNames('eds-code-text', className)} {...rest} />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type EmphasizedTextOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"em\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type EmphasizedTextProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, EmphasizedTextOwnProps>;\n\nconst defaultElement = 'em';\n\nexport const EmphasizedText = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n margin = 'both',\n as,\n ...rest\n}: EmphasizedTextProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-emphasized-text',\n {\n [`eds-emphasized-text--margin-top`]: margin === 'top',\n [`eds-emphasized-text--margin-bottom`]: margin === 'bottom',\n [`eds-emphasized-text--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\ntype BaseHeadingOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres */\n as: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer */\n margin: 'top' | 'bottom' | 'both' | 'none';\n /** Nivået på overskriften */\n level: 1 | 2 | 3 | 4 | 5 | 6;\n};\nconst defaultElement = 'h1';\n\nexport type BaseHeadingProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, BaseHeadingOwnProps>;\n\nexport const BaseHeading = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n level,\n margin,\n as,\n ...rest\n}: BaseHeadingProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n const baseClass = `eds-h${level}`;\n return (\n <Element\n className={classNames(\n baseClass,\n {\n [`${baseClass}--margin-top`]: margin === 'top',\n [`${baseClass}--margin-bottom`]: margin === 'bottom',\n [`${baseClass}--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading1OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h1\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nconst defaultElement = 'h1';\n\nexport type Heading1Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading1OwnProps>;\n\nexport const Heading1 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading1Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={1}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading2OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h2\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type Heading2Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading2OwnProps>;\n\nconst defaultElement = 'h2';\n\nexport const Heading2 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading2Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={2}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading3OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h3\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type Heading3Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading3OwnProps>;\n\nconst defaultElement = 'h3';\n\nexport const Heading3 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading3Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={3}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading4OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h4\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type Heading4Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading4OwnProps>;\n\nconst defaultElement = 'h4';\nexport const Heading4 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading4Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={4}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading5OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h5\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type Heading5Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading5OwnProps>;\n\nconst defaultElement = 'h5';\n\nexport const Heading5 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading5Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={5}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading6OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h6\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type Heading6Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading6OwnProps>;\n\nconst defaultElement = 'h6';\n\nexport const Heading6 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading6Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={6}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type LabelOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"label\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type LabelProps<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, LabelOwnProps>;\n\nconst defaultElement = 'label';\n\nexport const Label = <E extends React.ElementType = typeof defaultElement>({\n className,\n margin = 'both',\n as,\n ...rest\n}: LabelProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-label',\n {\n [`eds-label--margin-top`]: margin === 'top',\n [`eds-label--margin-bottom`]: margin === 'bottom',\n [`eds-label--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type LeadParagraphOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"p\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type LeadParagraphProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, LeadParagraphOwnProps>;\n\nconst defaultElement = 'p';\n\nexport const LeadParagraph = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n margin = 'both',\n as,\n ...rest\n}: LeadParagraphProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-lead-paragraph',\n {\n [`eds-lead-paragraph--margin-top`]: margin === 'top',\n [`eds-lead-paragraph--margin-bottom`]: margin === 'bottom',\n [`eds-lead-paragraph--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\nimport { ExternalIcon } from '@entur/icons';\n\nexport type LinkOwnProps = {\n external?: boolean;\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"a\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n ariaLabelExternalIcon?: string;\n};\n\nexport type LinkProps<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, LinkOwnProps>;\n\nconst defaultElement = 'a';\n\nexport const Link = <E extends React.ElementType = typeof defaultElement>({\n external = false,\n ariaLabelExternalIcon = '(ekstern lenke)',\n className,\n margin = 'both',\n children,\n as,\n ...rest\n}: LinkProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-link',\n {\n [`eds-link--margin-top`]: margin === 'top',\n [`eds-link--margin-bottom`]: margin === 'bottom',\n [`eds-link--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n >\n {children}\n {external ? (\n <ExternalIcon\n className=\"eds-link--ext-icon\"\n aria-label={ariaLabelExternalIcon}\n />\n ) : (\n <></>\n )}\n </Element>\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type StrongTextOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"strong\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type StrongTextProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, StrongTextOwnProps>;\n\nconst defaultElement = 'strong';\n\nexport const StrongText = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n margin = 'both',\n as,\n ...rest\n}: StrongTextProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-strong-text',\n {\n [`eds-strong-text--margin-top`]: margin === 'top',\n [`eds-strong-text--margin-bottom`]: margin === 'bottom',\n [`eds-strong-text--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { StrongText } from './StrongText';\n\nexport type ListItemProps = {\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Tittel */\n title?: React.ReactNode;\n [key: string]: any;\n};\n\nexport const ListItem: React.FC<ListItemProps> = ({\n children,\n className,\n title,\n ...rest\n}) => (\n <li className={classNames('eds-list-item', className)} {...rest}>\n {title && <StrongText className=\"eds-list-item__title\">{title}</StrongText>}\n {children}\n </li>\n);\n","import React from 'react';\nimport classNames from 'classnames';\n\nexport type NumberedListProps = {\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n} & React.OlHTMLAttributes<HTMLOListElement>;\n\nexport const NumberedList: React.FC<NumberedListProps> = ({\n className,\n type = '1',\n ...rest\n}) => (\n <ol\n className={classNames(\n 'eds-numbered-list',\n { [`eds-numbered-list--type-${type}`]: type },\n className,\n )}\n type={type}\n {...rest}\n />\n);\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type ParagraphOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"p\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"bottom\"\n */\n margin?: 'bottom' | 'none';\n};\n\nexport type ParagraphProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, ParagraphOwnProps>;\n\nconst defaultElement = 'p';\n\nexport const Paragraph = <E extends React.ElementType = typeof defaultElement>({\n margin = 'bottom',\n className,\n as,\n ...rest\n}: ParagraphProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-paragraph',\n {\n 'eds-paragraph--margin-bottom': margin === 'bottom',\n 'eds-paragraph--margin-none': margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type PreformattedTextOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"pre\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n};\n\nexport type PreformattedTextProps<T extends React.ElementType> =\n PolymorphicComponentProps<T, PreformattedTextOwnProps>;\n\nconst defaultElement = 'pre';\n\nexport const PreformattedText = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n as,\n ...rest\n}: PreformattedTextProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames('eds-preformatted-text', className)}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type SmallTextOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"span\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type SmallTextProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, SmallTextOwnProps>;\nconst defaultElement = 'span';\n\nexport const SmallText = <E extends React.ElementType = typeof defaultElement>({\n className,\n margin = 'both',\n as,\n ...rest\n}: SmallTextProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-small-text',\n {\n [`eds-small-text--margin-top`]: margin === 'top',\n [`eds-small-text--margin-bottom`]: margin === 'bottom',\n [`eds-small-text--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type SubLabelOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"span\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type SubLabelProps<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, SubLabelOwnProps>;\n\nconst defaultElement = 'span';\n\nexport const SubLabel = <E extends React.ElementType = typeof defaultElement>({\n className,\n margin = 'both',\n as,\n ...rest\n}: SubLabelProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-sub-label',\n {\n [`eds-sub-label--margin-top`]: margin === 'top',\n [`eds-sub-label--margin-bottom`]: margin === 'bottom',\n [`eds-sub-label--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type SubParagraphOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"p\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type SubParagraphProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, SubParagraphOwnProps>;\n\nconst defaultElement = 'p';\n\nexport const SubParagraph = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n margin,\n as,\n ...rest\n}: SubParagraphProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-sub-paragraph',\n {\n [`eds-sub-paragraph--margin-top`]: margin === 'top',\n [`eds-sub-paragraph--margin-bottom`]: margin === 'bottom',\n [`eds-sub-paragraph--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\n\nexport type UnorderedListProps = {\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n} & React.DetailedHTMLProps<\n React.HTMLAttributes<HTMLUListElement>,\n HTMLUListElement\n>;\n\nexport const UnorderedList: React.FC<UnorderedListProps> = ({\n className,\n ...rest\n}) => <ul className={classNames('eds-unordered-list', className)} {...rest} />;\n","import { warnAboutMissingStyles } from '@entur/utils';\nimport './index.scss';\n\nwarnAboutMissingStyles('typography');\n\nexport * from './Blockquote';\nexport * from './CodeText';\nexport * from './EmphasizedText';\nexport * from './Heading1';\nexport * from './Heading2';\nexport * from './Heading3';\nexport * from './Heading4';\nexport * from './Heading5';\nexport * from './Heading6';\nexport * from './Label';\nexport * from './LeadParagraph';\nexport * from './Link';\nexport * from './ListItem';\nexport * from './NumberedList';\nexport * from './Paragraph';\nexport * from './PreformattedText';\nexport * from './SmallText';\nexport * from './StrongText';\nexport * from './SubLabel';\nexport * from './SubParagraph';\nexport * from './UnorderedList';\n"],"names":["jsx","defaultElement","jsxs","ExternalIcon","Fragment","warnAboutMissingStyles"],"mappings":";;;;;;AAWO,MAAM,aAAa,CAAC,EAAE,WAAW,KAAK,GAAG,WAA4B;AAC1E,SACEA,2BAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW,WAAW,kBAAkB,SAAS;AAAA,MACjD;AAAA,MACC,GAAG;AAAA,IAAA;AAAA,EAAA;AAGV;AAOO,MAAM,mBAET,CAAC,E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