@entur/typography 1.9.12 → 1.9.13-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.
@@ -0,0 +1,483 @@
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 icons = require("@entur/icons");
6
+ function getDefaultExportFromCjs(x) {
7
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
8
+ }
9
+ var classnames = { exports: {} };
10
+ /*!
11
+ Copyright (c) 2018 Jed Watson.
12
+ Licensed under the MIT License (MIT), see
13
+ http://jedwatson.github.io/classnames
14
+ */
15
+ var hasRequiredClassnames;
16
+ function requireClassnames() {
17
+ if (hasRequiredClassnames) return classnames.exports;
18
+ hasRequiredClassnames = 1;
19
+ (function(module2) {
20
+ (function() {
21
+ var hasOwn = {}.hasOwnProperty;
22
+ function classNames2() {
23
+ var classes = "";
24
+ for (var i = 0; i < arguments.length; i++) {
25
+ var arg = arguments[i];
26
+ if (arg) {
27
+ classes = appendClass(classes, parseValue(arg));
28
+ }
29
+ }
30
+ return classes;
31
+ }
32
+ function parseValue(arg) {
33
+ if (typeof arg === "string" || typeof arg === "number") {
34
+ return arg;
35
+ }
36
+ if (typeof arg !== "object") {
37
+ return "";
38
+ }
39
+ if (Array.isArray(arg)) {
40
+ return classNames2.apply(null, arg);
41
+ }
42
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) {
43
+ return arg.toString();
44
+ }
45
+ var classes = "";
46
+ for (var key in arg) {
47
+ if (hasOwn.call(arg, key) && arg[key]) {
48
+ classes = appendClass(classes, key);
49
+ }
50
+ }
51
+ return classes;
52
+ }
53
+ function appendClass(value, newClass) {
54
+ if (!newClass) {
55
+ return value;
56
+ }
57
+ if (value) {
58
+ return value + " " + newClass;
59
+ }
60
+ return value + newClass;
61
+ }
62
+ if (module2.exports) {
63
+ classNames2.default = classNames2;
64
+ module2.exports = classNames2;
65
+ } else {
66
+ window.classNames = classNames2;
67
+ }
68
+ })();
69
+ })(classnames);
70
+ return classnames.exports;
71
+ }
72
+ var classnamesExports = requireClassnames();
73
+ const classNames = /* @__PURE__ */ getDefaultExportFromCjs(classnamesExports);
74
+ const Blockquote = ({ className, ref, ...rest }) => {
75
+ return /* @__PURE__ */ jsxRuntime.jsx(
76
+ "blockquote",
77
+ {
78
+ className: classNames("eds-blockquote", className),
79
+ ref,
80
+ ...rest
81
+ }
82
+ );
83
+ };
84
+ const BlockquoteFooter = ({ className, ...rest }) => {
85
+ return /* @__PURE__ */ jsxRuntime.jsx(
86
+ "footer",
87
+ {
88
+ className: classNames("eds-blockquote__footer", className),
89
+ ...rest
90
+ }
91
+ );
92
+ };
93
+ const defaultElement$h = "code";
94
+ const CodeText = ({
95
+ className,
96
+ as,
97
+ ...rest
98
+ }) => {
99
+ const Element = as || defaultElement$h;
100
+ return /* @__PURE__ */ jsxRuntime.jsx(Element, { className: classNames("eds-code-text", className), ...rest });
101
+ };
102
+ const defaultElement$g = "em";
103
+ const EmphasizedText = ({
104
+ className,
105
+ margin = "both",
106
+ as,
107
+ ...rest
108
+ }) => {
109
+ const Element = as || defaultElement$g;
110
+ return /* @__PURE__ */ jsxRuntime.jsx(
111
+ Element,
112
+ {
113
+ className: classNames(
114
+ "eds-emphasized-text",
115
+ {
116
+ [`eds-emphasized-text--margin-top`]: margin === "top",
117
+ [`eds-emphasized-text--margin-bottom`]: margin === "bottom",
118
+ [`eds-emphasized-text--margin-none`]: margin === "none"
119
+ },
120
+ className
121
+ ),
122
+ ...rest
123
+ }
124
+ );
125
+ };
126
+ const defaultElement$f = "h1";
127
+ const BaseHeading = ({
128
+ className,
129
+ level,
130
+ margin,
131
+ as,
132
+ ...rest
133
+ }) => {
134
+ const Element = as || defaultElement$f;
135
+ const baseClass = `eds-h${level}`;
136
+ return /* @__PURE__ */ jsxRuntime.jsx(
137
+ Element,
138
+ {
139
+ className: classNames(
140
+ baseClass,
141
+ {
142
+ [`${baseClass}--margin-top`]: margin === "top",
143
+ [`${baseClass}--margin-bottom`]: margin === "bottom",
144
+ [`${baseClass}--margin-none`]: margin === "none"
145
+ },
146
+ className
147
+ ),
148
+ ...rest
149
+ }
150
+ );
151
+ };
152
+ const defaultElement$e = "h1";
153
+ const Heading1 = ({
154
+ margin = "both",
155
+ children,
156
+ as,
157
+ ...rest
158
+ }) => {
159
+ const Element = as || defaultElement$e;
160
+ return /* @__PURE__ */ jsxRuntime.jsx(BaseHeading, { as: Element, margin, ...rest, level: 1, children });
161
+ };
162
+ const defaultElement$d = "h2";
163
+ const Heading2 = ({
164
+ margin = "both",
165
+ children,
166
+ as,
167
+ ...rest
168
+ }) => {
169
+ const Element = as || defaultElement$d;
170
+ return /* @__PURE__ */ jsxRuntime.jsx(BaseHeading, { as: Element, margin, ...rest, level: 2, children });
171
+ };
172
+ const defaultElement$c = "h3";
173
+ const Heading3 = ({
174
+ margin = "both",
175
+ children,
176
+ as,
177
+ ...rest
178
+ }) => {
179
+ const Element = as || defaultElement$c;
180
+ return /* @__PURE__ */ jsxRuntime.jsx(BaseHeading, { as: Element, margin, ...rest, level: 3, children });
181
+ };
182
+ const defaultElement$b = "h4";
183
+ const Heading4 = ({
184
+ margin = "both",
185
+ children,
186
+ as,
187
+ ...rest
188
+ }) => {
189
+ const Element = as || defaultElement$b;
190
+ return /* @__PURE__ */ jsxRuntime.jsx(BaseHeading, { as: Element, margin, ...rest, level: 4, children });
191
+ };
192
+ const defaultElement$a = "h5";
193
+ const Heading5 = ({
194
+ margin = "both",
195
+ children,
196
+ as,
197
+ ...rest
198
+ }) => {
199
+ const Element = as || defaultElement$a;
200
+ return /* @__PURE__ */ jsxRuntime.jsx(BaseHeading, { as: Element, margin, ...rest, level: 5, children });
201
+ };
202
+ const defaultElement$9 = "h6";
203
+ const Heading6 = ({
204
+ margin = "both",
205
+ children,
206
+ as,
207
+ ...rest
208
+ }) => {
209
+ const Element = as || defaultElement$9;
210
+ return /* @__PURE__ */ jsxRuntime.jsx(BaseHeading, { as: Element, margin, ...rest, level: 6, children });
211
+ };
212
+ const defaultElement$8 = "label";
213
+ const Label = ({
214
+ className,
215
+ margin = "both",
216
+ as,
217
+ ...rest
218
+ }) => {
219
+ const Element = as || defaultElement$8;
220
+ return /* @__PURE__ */ jsxRuntime.jsx(
221
+ Element,
222
+ {
223
+ className: classNames(
224
+ "eds-label",
225
+ {
226
+ [`eds-label--margin-top`]: margin === "top",
227
+ [`eds-label--margin-bottom`]: margin === "bottom",
228
+ [`eds-label--margin-none`]: margin === "none"
229
+ },
230
+ className
231
+ ),
232
+ ...rest
233
+ }
234
+ );
235
+ };
236
+ const defaultElement$7 = "p";
237
+ const LeadParagraph = ({
238
+ className,
239
+ margin = "both",
240
+ as,
241
+ ...rest
242
+ }) => {
243
+ const Element = as || defaultElement$7;
244
+ return /* @__PURE__ */ jsxRuntime.jsx(
245
+ Element,
246
+ {
247
+ className: classNames(
248
+ "eds-lead-paragraph",
249
+ {
250
+ [`eds-lead-paragraph--margin-top`]: margin === "top",
251
+ [`eds-lead-paragraph--margin-bottom`]: margin === "bottom",
252
+ [`eds-lead-paragraph--margin-none`]: margin === "none"
253
+ },
254
+ className
255
+ ),
256
+ ...rest
257
+ }
258
+ );
259
+ };
260
+ const defaultElement$6 = "a";
261
+ const Link = ({
262
+ external = false,
263
+ ariaLabelExternalIcon = "(ekstern lenke)",
264
+ className,
265
+ margin = "both",
266
+ children,
267
+ as,
268
+ ...rest
269
+ }) => {
270
+ const Element = as || defaultElement$6;
271
+ return /* @__PURE__ */ jsxRuntime.jsxs(
272
+ Element,
273
+ {
274
+ className: classNames(
275
+ "eds-link",
276
+ {
277
+ [`eds-link--margin-top`]: margin === "top",
278
+ [`eds-link--margin-bottom`]: margin === "bottom",
279
+ [`eds-link--margin-none`]: margin === "none"
280
+ },
281
+ className
282
+ ),
283
+ ...rest,
284
+ children: [
285
+ children,
286
+ external ? /* @__PURE__ */ jsxRuntime.jsx(
287
+ icons.ExternalIcon,
288
+ {
289
+ className: "eds-link--ext-icon",
290
+ "aria-label": ariaLabelExternalIcon
291
+ }
292
+ ) : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {})
293
+ ]
294
+ }
295
+ );
296
+ };
297
+ const defaultElement$5 = "strong";
298
+ const StrongText = ({
299
+ className,
300
+ margin = "both",
301
+ as,
302
+ ...rest
303
+ }) => {
304
+ const Element = as || defaultElement$5;
305
+ return /* @__PURE__ */ jsxRuntime.jsx(
306
+ Element,
307
+ {
308
+ className: classNames(
309
+ "eds-strong-text",
310
+ {
311
+ [`eds-strong-text--margin-top`]: margin === "top",
312
+ [`eds-strong-text--margin-bottom`]: margin === "bottom",
313
+ [`eds-strong-text--margin-none`]: margin === "none"
314
+ },
315
+ className
316
+ ),
317
+ ...rest
318
+ }
319
+ );
320
+ };
321
+ const ListItem = ({
322
+ children,
323
+ className,
324
+ title,
325
+ ...rest
326
+ }) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: classNames("eds-list-item", className), ...rest, children: [
327
+ title && /* @__PURE__ */ jsxRuntime.jsx(StrongText, { className: "eds-list-item__title", children: title }),
328
+ children
329
+ ] });
330
+ const NumberedList = ({
331
+ className,
332
+ type = "1",
333
+ ...rest
334
+ }) => /* @__PURE__ */ jsxRuntime.jsx(
335
+ "ol",
336
+ {
337
+ className: classNames(
338
+ "eds-numbered-list",
339
+ { [`eds-numbered-list--type-${type}`]: type },
340
+ className
341
+ ),
342
+ type,
343
+ ...rest
344
+ }
345
+ );
346
+ const defaultElement$4 = "p";
347
+ const Paragraph = ({
348
+ margin = "bottom",
349
+ className,
350
+ as,
351
+ ...rest
352
+ }) => {
353
+ const Element = as || defaultElement$4;
354
+ return /* @__PURE__ */ jsxRuntime.jsx(
355
+ Element,
356
+ {
357
+ className: classNames(
358
+ "eds-paragraph",
359
+ {
360
+ "eds-paragraph--margin-bottom": margin === "bottom",
361
+ "eds-paragraph--margin-none": margin === "none"
362
+ },
363
+ className
364
+ ),
365
+ ...rest
366
+ }
367
+ );
368
+ };
369
+ const defaultElement$3 = "pre";
370
+ const PreformattedText = ({
371
+ className,
372
+ as,
373
+ ...rest
374
+ }) => {
375
+ const Element = as || defaultElement$3;
376
+ return /* @__PURE__ */ jsxRuntime.jsx(
377
+ Element,
378
+ {
379
+ className: classNames("eds-preformatted-text", className),
380
+ ...rest
381
+ }
382
+ );
383
+ };
384
+ const defaultElement$2 = "span";
385
+ const SmallText = ({
386
+ className,
387
+ margin = "both",
388
+ as,
389
+ ...rest
390
+ }) => {
391
+ const Element = as || defaultElement$2;
392
+ return /* @__PURE__ */ jsxRuntime.jsx(
393
+ Element,
394
+ {
395
+ className: classNames(
396
+ "eds-small-text",
397
+ {
398
+ [`eds-small-text--margin-top`]: margin === "top",
399
+ [`eds-small-text--margin-bottom`]: margin === "bottom",
400
+ [`eds-small-text--margin-none`]: margin === "none"
401
+ },
402
+ className
403
+ ),
404
+ ...rest
405
+ }
406
+ );
407
+ };
408
+ const defaultElement$1 = "span";
409
+ const SubLabel = ({
410
+ className,
411
+ margin = "both",
412
+ as,
413
+ ...rest
414
+ }) => {
415
+ const Element = as || defaultElement$1;
416
+ return /* @__PURE__ */ jsxRuntime.jsx(
417
+ Element,
418
+ {
419
+ className: classNames(
420
+ "eds-sub-label",
421
+ {
422
+ [`eds-sub-label--margin-top`]: margin === "top",
423
+ [`eds-sub-label--margin-bottom`]: margin === "bottom",
424
+ [`eds-sub-label--margin-none`]: margin === "none"
425
+ },
426
+ className
427
+ ),
428
+ ...rest
429
+ }
430
+ );
431
+ };
432
+ const defaultElement = "p";
433
+ const SubParagraph = ({
434
+ className,
435
+ margin,
436
+ as,
437
+ ...rest
438
+ }) => {
439
+ const Element = as || defaultElement;
440
+ return /* @__PURE__ */ jsxRuntime.jsx(
441
+ Element,
442
+ {
443
+ className: classNames(
444
+ "eds-sub-paragraph",
445
+ {
446
+ [`eds-sub-paragraph--margin-top`]: margin === "top",
447
+ [`eds-sub-paragraph--margin-bottom`]: margin === "bottom",
448
+ [`eds-sub-paragraph--margin-none`]: margin === "none"
449
+ },
450
+ className
451
+ ),
452
+ ...rest
453
+ }
454
+ );
455
+ };
456
+ const UnorderedList = ({
457
+ className,
458
+ ...rest
459
+ }) => /* @__PURE__ */ jsxRuntime.jsx("ul", { className: classNames("eds-unordered-list", className), ...rest });
460
+ utils.warnAboutMissingStyles("typography");
461
+ exports.Blockquote = Blockquote;
462
+ exports.BlockquoteFooter = BlockquoteFooter;
463
+ exports.CodeText = CodeText;
464
+ exports.EmphasizedText = EmphasizedText;
465
+ exports.Heading1 = Heading1;
466
+ exports.Heading2 = Heading2;
467
+ exports.Heading3 = Heading3;
468
+ exports.Heading4 = Heading4;
469
+ exports.Heading5 = Heading5;
470
+ exports.Heading6 = Heading6;
471
+ exports.Label = Label;
472
+ exports.LeadParagraph = LeadParagraph;
473
+ exports.Link = Link;
474
+ exports.ListItem = ListItem;
475
+ exports.NumberedList = NumberedList;
476
+ exports.Paragraph = Paragraph;
477
+ exports.PreformattedText = PreformattedText;
478
+ exports.SmallText = SmallText;
479
+ exports.StrongText = StrongText;
480
+ exports.SubLabel = SubLabel;
481
+ exports.SubParagraph = SubParagraph;
482
+ exports.UnorderedList = UnorderedList;
483
+ //# sourceMappingURL=typography.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.cjs.js","sources":["../../../node_modules/classnames/index.js","../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":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","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":["classNames","module","jsx","defaultElement","jsxs","ExternalIcon","Fragment","warnAboutMissingStyles"],"mappings":";;;;;;;;;;;;;;;;;;;AAOA,KAAC,WAAY;AAGZ,UAAI,SAAS,CAAA,EAAG;AAEhB,eAASA,cAAc;AACtB,YAAI,UAAU;AAEd,iBAAS,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;AAC1C,cAAI,MAAM,UAAU,CAAC;AACrB,cAAI,KAAK;AACR,sBAAU,YAAY,SAAS,WAAW,GAAG,CAAC;AAAA,UAClD;AAAA,QACA;AAEE,eAAO;AAAA,MACT;AAEC,eAAS,WAAY,KAAK;AACzB,YAAI,OAAO,QAAQ,YAAY,OAAO,QAAQ,UAAU;AACvD,iBAAO;AAAA,QACV;AAEE,YAAI,OAAO,QAAQ,UAAU;AAC5B,iBAAO;AAAA,QACV;AAEE,YAAI,MAAM,QAAQ,GAAG,GAAG;AACvB,iBAAOA,YAAW,MAAM,MAAM,GAAG;AAAA,QACpC;AAEE,YAAI,IAAI,aAAa,OAAO,UAAU,YAAY,CAAC,IAAI,SAAS,SAAQ,EAAG,SAAS,eAAe,GAAG;AACrG,iBAAO,IAAI,SAAQ;AAAA,QACtB;AAEE,YAAI,UAAU;AAEd,iBAAS,OAAO,KAAK;AACpB,cAAI,OAAO,KAAK,KAAK,GAAG,KAAK,IAAI,GAAG,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