@entur/typography 1.9.11 → 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.
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { PolymorphicComponentProps } from '@entur/utils';
3
- export type StrongTextOwnProps = {
4
- /** HTML-elementet eller React-komponenten som rendres
5
- * @default "strong"
6
- */
7
- as?: string | React.ElementType;
8
- /** Ekstra klassenavn */
9
- className?: string;
10
- /** Innholdet */
11
- children: React.ReactNode;
12
- /** Hvor du vil ha marginer
13
- * @default "both"
14
- */
15
- margin?: 'top' | 'bottom' | 'both' | 'none';
16
- };
17
- export type StrongTextProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, StrongTextOwnProps>;
18
- declare const defaultElement = "strong";
19
- export declare const StrongText: <E extends React.ElementType = "strong">({ className, margin, as, ...rest }: StrongTextProps<E>) => JSX.Element;
20
- export {};
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { PolymorphicComponentProps } from '@entur/utils';
3
- export type SubLabelOwnProps = {
4
- /** HTML-elementet eller React-komponenten som rendres
5
- * @default "span"
6
- */
7
- as?: string | React.ElementType;
8
- /** Ekstra klassenavn */
9
- className?: string;
10
- /** Innholdet */
11
- children: React.ReactNode;
12
- /** Hvor du vil ha marginer
13
- * @default "both"
14
- */
15
- margin?: 'top' | 'bottom' | 'both' | 'none';
16
- };
17
- export type SubLabelProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, SubLabelOwnProps>;
18
- declare const defaultElement = "span";
19
- export declare const SubLabel: <E extends React.ElementType = "span">({ className, margin, as, ...rest }: SubLabelProps<E>) => JSX.Element;
20
- export {};
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { PolymorphicComponentProps } from '@entur/utils';
3
- export type SubParagraphOwnProps = {
4
- /** HTML-elementet eller React-komponenten som rendres
5
- * @default "p"
6
- */
7
- as?: string | React.ElementType;
8
- /** Ekstra klassenavn */
9
- className?: string;
10
- /** Innholdet */
11
- children: React.ReactNode;
12
- /** Hvor du vil ha marginer
13
- * @default "both"
14
- */
15
- margin?: 'top' | 'bottom' | 'both' | 'none';
16
- };
17
- export type SubParagraphProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, SubParagraphOwnProps>;
18
- declare const defaultElement = "p";
19
- export declare const SubParagraph: <E extends React.ElementType = "p">({ className, margin, as, ...rest }: SubParagraphProps<E>) => JSX.Element;
20
- export {};
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- export type UnorderedListProps = {
3
- /** Ekstra klassenavn */
4
- className?: string;
5
- /** Innholdet */
6
- children: React.ReactNode;
7
- } & React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>;
8
- export declare const UnorderedList: React.FC<UnorderedListProps>;
package/dist/index.js DELETED
@@ -1,8 +0,0 @@
1
-
2
- 'use strict'
3
-
4
- if (process.env.NODE_ENV === 'production') {
5
- module.exports = require('./typography.cjs.production.min.js')
6
- } else {
7
- module.exports = require('./typography.cjs.development.js')
8
- }
@@ -1,393 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var utils = require('@entur/utils');
6
- var React = require('react');
7
- var classNames = require('classnames');
8
- var icons = require('@entur/icons');
9
-
10
- function _extends() {
11
- return _extends = Object.assign ? Object.assign.bind() : function (n) {
12
- for (var e = 1; e < arguments.length; e++) {
13
- var t = arguments[e];
14
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
15
- }
16
- return n;
17
- }, _extends.apply(null, arguments);
18
- }
19
- function _objectWithoutPropertiesLoose(r, e) {
20
- if (null == r) return {};
21
- var t = {};
22
- for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
23
- if (e.includes(n)) continue;
24
- t[n] = r[n];
25
- }
26
- return t;
27
- }
28
-
29
- var _excluded$l = ["className", "ref"],
30
- _excluded2 = ["className"];
31
- var Blockquote = function Blockquote(_ref) {
32
- var className = _ref.className,
33
- ref = _ref.ref,
34
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$l);
35
- return React.createElement("blockquote", _extends({
36
- className: classNames('eds-blockquote', className),
37
- ref: ref
38
- }, rest));
39
- };
40
- var BlockquoteFooter = function BlockquoteFooter(_ref2) {
41
- var className = _ref2.className,
42
- rest = _objectWithoutPropertiesLoose(_ref2, _excluded2);
43
- return React.createElement("footer", _extends({
44
- className: classNames('eds-blockquote__footer', className)
45
- }, rest));
46
- };
47
-
48
- var _excluded$k = ["className", "as"];
49
- var defaultElement$h = 'code';
50
- var CodeText = function CodeText(_ref) {
51
- var className = _ref.className,
52
- as = _ref.as,
53
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$k);
54
- var Element = as || defaultElement$h;
55
- return React.createElement(Element, _extends({
56
- className: classNames('eds-code-text', className)
57
- }, rest));
58
- };
59
-
60
- var _excluded$j = ["className", "margin", "as"];
61
- var defaultElement$g = 'em';
62
- var EmphasizedText = function EmphasizedText(_ref) {
63
- var _classNames;
64
- var className = _ref.className,
65
- _ref$margin = _ref.margin,
66
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
67
- as = _ref.as,
68
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$j);
69
- var Element = as || defaultElement$g;
70
- return React.createElement(Element, _extends({
71
- className: classNames('eds-emphasized-text', (_classNames = {}, _classNames["eds-emphasized-text--margin-top"] = margin === 'top', _classNames["eds-emphasized-text--margin-bottom"] = margin === 'bottom', _classNames["eds-emphasized-text--margin-none"] = margin === 'none', _classNames), className)
72
- }, rest));
73
- };
74
-
75
- var _excluded$i = ["className", "level", "margin", "as"];
76
- var defaultElement$f = 'h1';
77
- var BaseHeading = function BaseHeading(_ref) {
78
- var _classNames;
79
- var className = _ref.className,
80
- level = _ref.level,
81
- margin = _ref.margin,
82
- as = _ref.as,
83
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$i);
84
- var Element = as || defaultElement$f;
85
- var baseClass = "eds-h" + level;
86
- return React.createElement(Element, _extends({
87
- className: classNames(baseClass, (_classNames = {}, _classNames[baseClass + "--margin-top"] = margin === 'top', _classNames[baseClass + "--margin-bottom"] = margin === 'bottom', _classNames[baseClass + "--margin-none"] = margin === 'none', _classNames), className)
88
- }, rest));
89
- };
90
-
91
- var _excluded$h = ["margin", "children", "as"];
92
- var defaultElement$e = 'h1';
93
- var Heading1 = function Heading1(_ref) {
94
- var _ref$margin = _ref.margin,
95
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
96
- children = _ref.children,
97
- as = _ref.as,
98
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$h);
99
- var Element = as || defaultElement$e;
100
- return React.createElement(BaseHeading, _extends({
101
- as: Element,
102
- margin: margin
103
- }, rest, {
104
- level: 1
105
- }), children);
106
- };
107
-
108
- var _excluded$g = ["margin", "children", "as"];
109
- var defaultElement$d = 'h2';
110
- var Heading2 = function Heading2(_ref) {
111
- var _ref$margin = _ref.margin,
112
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
113
- children = _ref.children,
114
- as = _ref.as,
115
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$g);
116
- var Element = as || defaultElement$d;
117
- return React.createElement(BaseHeading, _extends({
118
- as: Element,
119
- margin: margin
120
- }, rest, {
121
- level: 2
122
- }), children);
123
- };
124
-
125
- var _excluded$f = ["margin", "children", "as"];
126
- var defaultElement$c = 'h3';
127
- var Heading3 = function Heading3(_ref) {
128
- var _ref$margin = _ref.margin,
129
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
130
- children = _ref.children,
131
- as = _ref.as,
132
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$f);
133
- var Element = as || defaultElement$c;
134
- return React.createElement(BaseHeading, _extends({
135
- as: Element,
136
- margin: margin
137
- }, rest, {
138
- level: 3
139
- }), children);
140
- };
141
-
142
- var _excluded$e = ["margin", "children", "as"];
143
- var defaultElement$b = 'h4';
144
- var Heading4 = function Heading4(_ref) {
145
- var _ref$margin = _ref.margin,
146
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
147
- children = _ref.children,
148
- as = _ref.as,
149
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$e);
150
- var Element = as || defaultElement$b;
151
- return React.createElement(BaseHeading, _extends({
152
- as: Element,
153
- margin: margin
154
- }, rest, {
155
- level: 4
156
- }), children);
157
- };
158
-
159
- var _excluded$d = ["margin", "children", "as"];
160
- var defaultElement$a = 'h5';
161
- var Heading5 = function Heading5(_ref) {
162
- var _ref$margin = _ref.margin,
163
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
164
- children = _ref.children,
165
- as = _ref.as,
166
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$d);
167
- var Element = as || defaultElement$a;
168
- return React.createElement(BaseHeading, _extends({
169
- as: Element,
170
- margin: margin
171
- }, rest, {
172
- level: 5
173
- }), children);
174
- };
175
-
176
- var _excluded$c = ["margin", "children", "as"];
177
- var defaultElement$9 = 'h6';
178
- var Heading6 = function Heading6(_ref) {
179
- var _ref$margin = _ref.margin,
180
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
181
- children = _ref.children,
182
- as = _ref.as,
183
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$c);
184
- var Element = as || defaultElement$9;
185
- return React.createElement(BaseHeading, _extends({
186
- as: Element,
187
- margin: margin
188
- }, rest, {
189
- level: 6
190
- }), children);
191
- };
192
-
193
- var _excluded$b = ["className", "margin", "as"];
194
- var defaultElement$8 = 'label';
195
- var Label = function Label(_ref) {
196
- var _classNames;
197
- var className = _ref.className,
198
- _ref$margin = _ref.margin,
199
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
200
- as = _ref.as,
201
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$b);
202
- var Element = as || defaultElement$8;
203
- return React.createElement(Element, _extends({
204
- className: classNames('eds-label', (_classNames = {}, _classNames["eds-label--margin-top"] = margin === 'top', _classNames["eds-label--margin-bottom"] = margin === 'bottom', _classNames["eds-label--margin-none"] = margin === 'none', _classNames), className)
205
- }, rest));
206
- };
207
-
208
- var _excluded$a = ["className", "margin", "as"];
209
- var defaultElement$7 = 'p';
210
- var LeadParagraph = function LeadParagraph(_ref) {
211
- var _classNames;
212
- var className = _ref.className,
213
- _ref$margin = _ref.margin,
214
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
215
- as = _ref.as,
216
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$a);
217
- var Element = as || defaultElement$7;
218
- return React.createElement(Element, _extends({
219
- className: classNames('eds-lead-paragraph', (_classNames = {}, _classNames["eds-lead-paragraph--margin-top"] = margin === 'top', _classNames["eds-lead-paragraph--margin-bottom"] = margin === 'bottom', _classNames["eds-lead-paragraph--margin-none"] = margin === 'none', _classNames), className)
220
- }, rest));
221
- };
222
-
223
- var _excluded$9 = ["external", "ariaLabelExternalIcon", "className", "margin", "children", "as"];
224
- var defaultElement$6 = 'a';
225
- var Link = function Link(_ref) {
226
- var _classNames;
227
- var _ref$external = _ref.external,
228
- external = _ref$external === void 0 ? false : _ref$external,
229
- _ref$ariaLabelExterna = _ref.ariaLabelExternalIcon,
230
- ariaLabelExternalIcon = _ref$ariaLabelExterna === void 0 ? '(ekstern lenke)' : _ref$ariaLabelExterna,
231
- className = _ref.className,
232
- _ref$margin = _ref.margin,
233
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
234
- children = _ref.children,
235
- as = _ref.as,
236
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$9);
237
- var Element = as || defaultElement$6;
238
- return React.createElement(Element, _extends({
239
- className: classNames('eds-link', (_classNames = {}, _classNames["eds-link--margin-top"] = margin === 'top', _classNames["eds-link--margin-bottom"] = margin === 'bottom', _classNames["eds-link--margin-none"] = margin === 'none', _classNames), className)
240
- }, rest), children, external ? React.createElement(icons.ExternalIcon, {
241
- className: "eds-link--ext-icon",
242
- "aria-label": ariaLabelExternalIcon
243
- }) : React.createElement(React.Fragment, null));
244
- };
245
-
246
- var _excluded$8 = ["className", "margin", "as"];
247
- var defaultElement$5 = 'strong';
248
- var StrongText = function StrongText(_ref) {
249
- var _classNames;
250
- var className = _ref.className,
251
- _ref$margin = _ref.margin,
252
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
253
- as = _ref.as,
254
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$8);
255
- var Element = as || defaultElement$5;
256
- return React.createElement(Element, _extends({
257
- className: classNames('eds-strong-text', (_classNames = {}, _classNames["eds-strong-text--margin-top"] = margin === 'top', _classNames["eds-strong-text--margin-bottom"] = margin === 'bottom', _classNames["eds-strong-text--margin-none"] = margin === 'none', _classNames), className)
258
- }, rest));
259
- };
260
-
261
- var _excluded$7 = ["children", "className", "title"];
262
- var ListItem = function ListItem(_ref) {
263
- var children = _ref.children,
264
- className = _ref.className,
265
- title = _ref.title,
266
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$7);
267
- return React.createElement("li", _extends({
268
- className: classNames('eds-list-item', className)
269
- }, rest), title && React.createElement(StrongText, {
270
- className: "eds-list-item__title"
271
- }, title), children);
272
- };
273
-
274
- var _excluded$6 = ["className", "type"];
275
- var NumberedList = function NumberedList(_ref) {
276
- var _classNames;
277
- var className = _ref.className,
278
- _ref$type = _ref.type,
279
- type = _ref$type === void 0 ? '1' : _ref$type,
280
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$6);
281
- return React.createElement("ol", _extends({
282
- className: classNames('eds-numbered-list', (_classNames = {}, _classNames["eds-numbered-list--type-" + type] = type, _classNames), className),
283
- type: type
284
- }, rest));
285
- };
286
-
287
- var _excluded$5 = ["margin", "className", "as"];
288
- var defaultElement$4 = 'p';
289
- var Paragraph = function Paragraph(_ref) {
290
- var _ref$margin = _ref.margin,
291
- margin = _ref$margin === void 0 ? 'bottom' : _ref$margin,
292
- className = _ref.className,
293
- as = _ref.as,
294
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$5);
295
- var Element = as || defaultElement$4;
296
- return React.createElement(Element, _extends({
297
- className: classNames('eds-paragraph', {
298
- 'eds-paragraph--margin-bottom': margin === 'bottom',
299
- 'eds-paragraph--margin-none': margin === 'none'
300
- }, className)
301
- }, rest));
302
- };
303
-
304
- var _excluded$4 = ["className", "as"];
305
- var defaultElement$3 = 'pre';
306
- var PreformattedText = function PreformattedText(_ref) {
307
- var className = _ref.className,
308
- as = _ref.as,
309
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$4);
310
- var Element = as || defaultElement$3;
311
- return React.createElement(Element, _extends({
312
- className: classNames('eds-preformatted-text', className)
313
- }, rest));
314
- };
315
-
316
- var _excluded$3 = ["className", "margin", "as"];
317
- var defaultElement$2 = 'span';
318
- var SmallText = function SmallText(_ref) {
319
- var _classNames;
320
- var className = _ref.className,
321
- _ref$margin = _ref.margin,
322
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
323
- as = _ref.as,
324
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$3);
325
- var Element = as || defaultElement$2;
326
- return React.createElement(Element, _extends({
327
- className: classNames('eds-small-text', (_classNames = {}, _classNames["eds-small-text--margin-top"] = margin === 'top', _classNames["eds-small-text--margin-bottom"] = margin === 'bottom', _classNames["eds-small-text--margin-none"] = margin === 'none', _classNames), className)
328
- }, rest));
329
- };
330
-
331
- var _excluded$2 = ["className", "margin", "as"];
332
- var defaultElement$1 = 'span';
333
- var SubLabel = function SubLabel(_ref) {
334
- var _classNames;
335
- var className = _ref.className,
336
- _ref$margin = _ref.margin,
337
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
338
- as = _ref.as,
339
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$2);
340
- var Element = as || defaultElement$1;
341
- return React.createElement(Element, _extends({
342
- className: classNames('eds-sub-label', (_classNames = {}, _classNames["eds-sub-label--margin-top"] = margin === 'top', _classNames["eds-sub-label--margin-bottom"] = margin === 'bottom', _classNames["eds-sub-label--margin-none"] = margin === 'none', _classNames), className)
343
- }, rest));
344
- };
345
-
346
- var _excluded$1 = ["className", "margin", "as"];
347
- var defaultElement = 'p';
348
- var SubParagraph = function SubParagraph(_ref) {
349
- var _classNames;
350
- var className = _ref.className,
351
- margin = _ref.margin,
352
- as = _ref.as,
353
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$1);
354
- var Element = as || defaultElement;
355
- return React.createElement(Element, _extends({
356
- className: classNames('eds-sub-paragraph', (_classNames = {}, _classNames["eds-sub-paragraph--margin-top"] = margin === 'top', _classNames["eds-sub-paragraph--margin-bottom"] = margin === 'bottom', _classNames["eds-sub-paragraph--margin-none"] = margin === 'none', _classNames), className)
357
- }, rest));
358
- };
359
-
360
- var _excluded = ["className"];
361
- var UnorderedList = function UnorderedList(_ref) {
362
- var className = _ref.className,
363
- rest = _objectWithoutPropertiesLoose(_ref, _excluded);
364
- return React.createElement("ul", _extends({
365
- className: classNames('eds-unordered-list', className)
366
- }, rest));
367
- };
368
-
369
- utils.warnAboutMissingStyles('typography');
370
-
371
- exports.Blockquote = Blockquote;
372
- exports.BlockquoteFooter = BlockquoteFooter;
373
- exports.CodeText = CodeText;
374
- exports.EmphasizedText = EmphasizedText;
375
- exports.Heading1 = Heading1;
376
- exports.Heading2 = Heading2;
377
- exports.Heading3 = Heading3;
378
- exports.Heading4 = Heading4;
379
- exports.Heading5 = Heading5;
380
- exports.Heading6 = Heading6;
381
- exports.Label = Label;
382
- exports.LeadParagraph = LeadParagraph;
383
- exports.Link = Link;
384
- exports.ListItem = ListItem;
385
- exports.NumberedList = NumberedList;
386
- exports.Paragraph = Paragraph;
387
- exports.PreformattedText = PreformattedText;
388
- exports.SmallText = SmallText;
389
- exports.StrongText = StrongText;
390
- exports.SubLabel = SubLabel;
391
- exports.SubParagraph = SubParagraph;
392
- exports.UnorderedList = UnorderedList;
393
- //# sourceMappingURL=typography.cjs.development.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"typography.cjs.development.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<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":["Blockquote","_ref","className","ref","rest","_objectWithoutPropertiesLoose","_excluded","React","createElement","_extends","classNames","BlockquoteFooter","_ref2","_excluded2","defaultElement","CodeText","as","Element","EmphasizedText","_classNames","_ref$margin","margin","BaseHeading","level","baseClass","Heading1","children","Heading2","Heading3","Heading4","Heading5","Heading6","Label","LeadParagraph","Link","_ref$external","external","_ref$ariaLabelExterna","ariaLabelExternalIcon","ExternalIcon","Fragment","StrongText","ListItem","title","NumberedList","_ref$type","type","Paragraph","PreformattedText","SmallText","SubLabel","SubParagraph","UnorderedList","warnAboutMissingStyles"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWaA,UAAU,GAAG,SAAbA,UAAUA,CAAAC,IAAA,EAAoD;AAAA,EAAA,IAA9CC,SAAS,GAAAD,IAAA,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AC,QAAA,CAAA;AAAAP,IAAAA,SAAS,EAAEQ,UAAU,CAAC,oBAAoB,EAAER,SAAS,CAAA;GAAOE,EAAAA,IAAI,CAAA,CAAI,CAAA;AAAA;;ACb9EiD,4BAAsB,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@entur/utils"),a=require("react"),r=require("classnames"),t=require("@entur/icons");function n(){return n=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var r=arguments[a];for(var t in r)({}).hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},n.apply(null,arguments)}function s(e,a){if(null==e)return{};var r={};for(var t in e)if({}.hasOwnProperty.call(e,t)){if(a.includes(t))continue;r[t]=e[t]}return r}var o=["className","ref"],l=["className"],m=["className","as"],i=["className","margin","as"],c=["className","level","margin","as"],d=function(e){var t,o=e.className,l=e.level,m=e.margin,i=e.as,d=s(e,c),g="eds-h"+l;return a.createElement(i||"h1",n({className:r(g,(t={},t[g+"--margin-top"]="top"===m,t[g+"--margin-bottom"]="bottom"===m,t[g+"--margin-none"]="none"===m,t),o)},d))},g=["margin","children","as"],p=["margin","children","as"],u=["margin","children","as"],b=["margin","children","as"],h=["margin","children","as"],v=["margin","children","as"],N=["className","margin","as"],x=["className","margin","as"],f=["external","ariaLabelExternalIcon","className","margin","children","as"],E=["className","margin","as"],k=function(e){var t,o=e.className,l=e.margin,m=void 0===l?"both":l,i=e.as,c=s(e,E);return a.createElement(i||"strong",n({className:r("eds-strong-text",(t={},t["eds-strong-text--margin-top"]="top"===m,t["eds-strong-text--margin-bottom"]="bottom"===m,t["eds-strong-text--margin-none"]="none"===m,t),o)},c))},y=["children","className","title"],q=["className","type"],L=["margin","className","as"],P=["className","as"],H=["className","margin","as"],_=["className","margin","as"],z=["className","margin","as"],O=["className"];e.warnAboutMissingStyles("typography"),exports.Blockquote=function(e){var t=e.className,l=e.ref,m=s(e,o);return a.createElement("blockquote",n({className:r("eds-blockquote",t),ref:l},m))},exports.BlockquoteFooter=function(e){var t=e.className,o=s(e,l);return a.createElement("footer",n({className:r("eds-blockquote__footer",t)},o))},exports.CodeText=function(e){var t=e.className,o=e.as,l=s(e,m);return a.createElement(o||"code",n({className:r("eds-code-text",t)},l))},exports.EmphasizedText=function(e){var t,o=e.className,l=e.margin,m=void 0===l?"both":l,c=e.as,d=s(e,i);return a.createElement(c||"em",n({className:r("eds-emphasized-text",(t={},t["eds-emphasized-text--margin-top"]="top"===m,t["eds-emphasized-text--margin-bottom"]="bottom"===m,t["eds-emphasized-text--margin-none"]="none"===m,t),o)},d))},exports.Heading1=function(e){var r=e.margin,t=void 0===r?"both":r,o=e.children,l=e.as,m=s(e,g);return a.createElement(d,n({as:l||"h1",margin:t},m,{level:1}),o)},exports.Heading2=function(e){var r=e.margin,t=void 0===r?"both":r,o=e.children,l=e.as,m=s(e,p);return a.createElement(d,n({as:l||"h2",margin:t},m,{level:2}),o)},exports.Heading3=function(e){var r=e.margin,t=void 0===r?"both":r,o=e.children,l=e.as,m=s(e,u);return a.createElement(d,n({as:l||"h3",margin:t},m,{level:3}),o)},exports.Heading4=function(e){var r=e.margin,t=void 0===r?"both":r,o=e.children,l=e.as,m=s(e,b);return a.createElement(d,n({as:l||"h4",margin:t},m,{level:4}),o)},exports.Heading5=function(e){var r=e.margin,t=void 0===r?"both":r,o=e.children,l=e.as,m=s(e,h);return a.createElement(d,n({as:l||"h5",margin:t},m,{level:5}),o)},exports.Heading6=function(e){var r=e.margin,t=void 0===r?"both":r,o=e.children,l=e.as,m=s(e,v);return a.createElement(d,n({as:l||"h6",margin:t},m,{level:6}),o)},exports.Label=function(e){var t,o=e.className,l=e.margin,m=void 0===l?"both":l,i=e.as,c=s(e,N);return a.createElement(i||"label",n({className:r("eds-label",(t={},t["eds-label--margin-top"]="top"===m,t["eds-label--margin-bottom"]="bottom"===m,t["eds-label--margin-none"]="none"===m,t),o)},c))},exports.LeadParagraph=function(e){var t,o=e.className,l=e.margin,m=void 0===l?"both":l,i=e.as,c=s(e,x);return a.createElement(i||"p",n({className:r("eds-lead-paragraph",(t={},t["eds-lead-paragraph--margin-top"]="top"===m,t["eds-lead-paragraph--margin-bottom"]="bottom"===m,t["eds-lead-paragraph--margin-none"]="none"===m,t),o)},c))},exports.Link=function(e){var o,l=e.external,m=void 0!==l&&l,i=e.ariaLabelExternalIcon,c=void 0===i?"(ekstern lenke)":i,d=e.className,g=e.margin,p=void 0===g?"both":g,u=e.children,b=e.as,h=s(e,f);return a.createElement(b||"a",n({className:r("eds-link",(o={},o["eds-link--margin-top"]="top"===p,o["eds-link--margin-bottom"]="bottom"===p,o["eds-link--margin-none"]="none"===p,o),d)},h),u,m?a.createElement(t.ExternalIcon,{className:"eds-link--ext-icon","aria-label":c}):a.createElement(a.Fragment,null))},exports.ListItem=function(e){var t=e.children,o=e.className,l=e.title,m=s(e,y);return a.createElement("li",n({className:r("eds-list-item",o)},m),l&&a.createElement(k,{className:"eds-list-item__title"},l),t)},exports.NumberedList=function(e){var t,o=e.className,l=e.type,m=void 0===l?"1":l,i=s(e,q);return a.createElement("ol",n({className:r("eds-numbered-list",(t={},t["eds-numbered-list--type-"+m]=m,t),o),type:m},i))},exports.Paragraph=function(e){var t=e.margin,o=void 0===t?"bottom":t,l=e.className,m=e.as,i=s(e,L);return a.createElement(m||"p",n({className:r("eds-paragraph",{"eds-paragraph--margin-bottom":"bottom"===o,"eds-paragraph--margin-none":"none"===o},l)},i))},exports.PreformattedText=function(e){var t=e.className,o=e.as,l=s(e,P);return a.createElement(o||"pre",n({className:r("eds-preformatted-text",t)},l))},exports.SmallText=function(e){var t,o=e.className,l=e.margin,m=void 0===l?"both":l,i=e.as,c=s(e,H);return a.createElement(i||"span",n({className:r("eds-small-text",(t={},t["eds-small-text--margin-top"]="top"===m,t["eds-small-text--margin-bottom"]="bottom"===m,t["eds-small-text--margin-none"]="none"===m,t),o)},c))},exports.StrongText=k,exports.SubLabel=function(e){var t,o=e.className,l=e.margin,m=void 0===l?"both":l,i=e.as,c=s(e,_);return a.createElement(i||"span",n({className:r("eds-sub-label",(t={},t["eds-sub-label--margin-top"]="top"===m,t["eds-sub-label--margin-bottom"]="bottom"===m,t["eds-sub-label--margin-none"]="none"===m,t),o)},c))},exports.SubParagraph=function(e){var t,o=e.className,l=e.margin,m=e.as,i=s(e,z);return a.createElement(m||"p",n({className:r("eds-sub-paragraph",(t={},t["eds-sub-paragraph--margin-top"]="top"===l,t["eds-sub-paragraph--margin-bottom"]="bottom"===l,t["eds-sub-paragraph--margin-none"]="none"===l,t),o)},i))},exports.UnorderedList=function(e){var t=e.className,o=s(e,O);return a.createElement("ul",n({className:r("eds-unordered-list",t)},o))};
2
- //# sourceMappingURL=typography.cjs.production.min.js.map