@entur/typography 1.7.2 → 1.7.3

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.
@@ -15,41 +15,49 @@ function _extends() {
15
15
  _extends = Object.assign || function (target) {
16
16
  for (var i = 1; i < arguments.length; i++) {
17
17
  var source = arguments[i];
18
+
18
19
  for (var key in source) {
19
20
  if (Object.prototype.hasOwnProperty.call(source, key)) {
20
21
  target[key] = source[key];
21
22
  }
22
23
  }
23
24
  }
25
+
24
26
  return target;
25
27
  };
28
+
26
29
  return _extends.apply(this, arguments);
27
30
  }
31
+
28
32
  function _objectWithoutPropertiesLoose(source, excluded) {
29
33
  if (source == null) return {};
30
34
  var target = {};
31
35
  var sourceKeys = Object.keys(source);
32
36
  var key, i;
37
+
33
38
  for (i = 0; i < sourceKeys.length; i++) {
34
39
  key = sourceKeys[i];
35
40
  if (excluded.indexOf(key) >= 0) continue;
36
41
  target[key] = source[key];
37
42
  }
43
+
38
44
  return target;
39
45
  }
40
46
 
41
47
  var _excluded$l = ["className"],
42
- _excluded2 = ["className"];
48
+ _excluded2 = ["className"];
43
49
  var Blockquote = function Blockquote(_ref) {
44
50
  var className = _ref.className,
45
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$l);
51
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$l);
52
+
46
53
  return React__default["default"].createElement("blockquote", _extends({
47
54
  className: classNames__default["default"]('eds-blockquote', className)
48
55
  }, rest));
49
56
  };
50
57
  var BlockquoteFooter = function BlockquoteFooter(_ref2) {
51
58
  var className = _ref2.className,
52
- rest = _objectWithoutPropertiesLoose(_ref2, _excluded2);
59
+ rest = _objectWithoutPropertiesLoose(_ref2, _excluded2);
60
+
53
61
  return React__default["default"].createElement("footer", _extends({
54
62
  className: classNames__default["default"]('eds-blockquote__footer', className)
55
63
  }, rest));
@@ -59,8 +67,9 @@ var _excluded$k = ["className", "as"];
59
67
  var defaultElement$h = 'code';
60
68
  var CodeText = function CodeText(_ref) {
61
69
  var className = _ref.className,
62
- as = _ref.as,
63
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$k);
70
+ as = _ref.as,
71
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$k);
72
+
64
73
  var Element = as || defaultElement$h;
65
74
  return React__default["default"].createElement(Element, _extends({
66
75
  className: classNames__default["default"]('eds-code-text', className)
@@ -71,11 +80,13 @@ var _excluded$j = ["className", "margin", "as"];
71
80
  var defaultElement$g = 'em';
72
81
  var EmphasizedText = function EmphasizedText(_ref) {
73
82
  var _classNames;
83
+
74
84
  var className = _ref.className,
75
- _ref$margin = _ref.margin,
76
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
77
- as = _ref.as,
78
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$j);
85
+ _ref$margin = _ref.margin,
86
+ margin = _ref$margin === void 0 ? 'both' : _ref$margin,
87
+ as = _ref.as,
88
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$j);
89
+
79
90
  var Element = as || defaultElement$g;
80
91
  return React__default["default"].createElement(Element, _extends({
81
92
  className: classNames__default["default"]('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)
@@ -86,11 +97,13 @@ var _excluded$i = ["className", "level", "margin", "as"];
86
97
  var defaultElement$f = 'h1';
87
98
  var BaseHeading = function BaseHeading(_ref) {
88
99
  var _classNames;
100
+
89
101
  var className = _ref.className,
90
- level = _ref.level,
91
- margin = _ref.margin,
92
- as = _ref.as,
93
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$i);
102
+ level = _ref.level,
103
+ margin = _ref.margin,
104
+ as = _ref.as,
105
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$i);
106
+
94
107
  var Element = as || defaultElement$f;
95
108
  var baseClass = "eds-h" + level;
96
109
  return React__default["default"].createElement(Element, _extends({
@@ -102,10 +115,11 @@ var _excluded$h = ["margin", "children", "as"];
102
115
  var defaultElement$e = 'h1';
103
116
  var Heading1 = function Heading1(_ref) {
104
117
  var _ref$margin = _ref.margin,
105
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
106
- children = _ref.children,
107
- as = _ref.as,
108
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$h);
118
+ margin = _ref$margin === void 0 ? 'both' : _ref$margin,
119
+ children = _ref.children,
120
+ as = _ref.as,
121
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$h);
122
+
109
123
  var Element = as || defaultElement$e;
110
124
  return React__default["default"].createElement(BaseHeading, _extends({
111
125
  as: Element,
@@ -119,10 +133,11 @@ var _excluded$g = ["margin", "children", "as"];
119
133
  var defaultElement$d = 'h2';
120
134
  var Heading2 = function Heading2(_ref) {
121
135
  var _ref$margin = _ref.margin,
122
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
123
- children = _ref.children,
124
- as = _ref.as,
125
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$g);
136
+ margin = _ref$margin === void 0 ? 'both' : _ref$margin,
137
+ children = _ref.children,
138
+ as = _ref.as,
139
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$g);
140
+
126
141
  var Element = as || defaultElement$d;
127
142
  return React__default["default"].createElement(BaseHeading, _extends({
128
143
  as: Element,
@@ -136,10 +151,11 @@ var _excluded$f = ["margin", "children", "as"];
136
151
  var defaultElement$c = 'h3';
137
152
  var Heading3 = function Heading3(_ref) {
138
153
  var _ref$margin = _ref.margin,
139
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
140
- children = _ref.children,
141
- as = _ref.as,
142
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$f);
154
+ margin = _ref$margin === void 0 ? 'both' : _ref$margin,
155
+ children = _ref.children,
156
+ as = _ref.as,
157
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$f);
158
+
143
159
  var Element = as || defaultElement$c;
144
160
  return React__default["default"].createElement(BaseHeading, _extends({
145
161
  as: Element,
@@ -153,10 +169,11 @@ var _excluded$e = ["margin", "children", "as"];
153
169
  var defaultElement$b = 'h4';
154
170
  var Heading4 = function Heading4(_ref) {
155
171
  var _ref$margin = _ref.margin,
156
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
157
- children = _ref.children,
158
- as = _ref.as,
159
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$e);
172
+ margin = _ref$margin === void 0 ? 'both' : _ref$margin,
173
+ children = _ref.children,
174
+ as = _ref.as,
175
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$e);
176
+
160
177
  var Element = as || defaultElement$b;
161
178
  return React__default["default"].createElement(BaseHeading, _extends({
162
179
  as: Element,
@@ -170,10 +187,11 @@ var _excluded$d = ["margin", "children", "as"];
170
187
  var defaultElement$a = 'h5';
171
188
  var Heading5 = function Heading5(_ref) {
172
189
  var _ref$margin = _ref.margin,
173
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
174
- children = _ref.children,
175
- as = _ref.as,
176
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$d);
190
+ margin = _ref$margin === void 0 ? 'both' : _ref$margin,
191
+ children = _ref.children,
192
+ as = _ref.as,
193
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$d);
194
+
177
195
  var Element = as || defaultElement$a;
178
196
  return React__default["default"].createElement(BaseHeading, _extends({
179
197
  as: Element,
@@ -187,10 +205,11 @@ var _excluded$c = ["margin", "children", "as"];
187
205
  var defaultElement$9 = 'h6';
188
206
  var Heading6 = function Heading6(_ref) {
189
207
  var _ref$margin = _ref.margin,
190
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
191
- children = _ref.children,
192
- as = _ref.as,
193
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$c);
208
+ margin = _ref$margin === void 0 ? 'both' : _ref$margin,
209
+ children = _ref.children,
210
+ as = _ref.as,
211
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$c);
212
+
194
213
  var Element = as || defaultElement$9;
195
214
  return React__default["default"].createElement(BaseHeading, _extends({
196
215
  as: Element,
@@ -204,11 +223,13 @@ var _excluded$b = ["className", "margin", "as"];
204
223
  var defaultElement$8 = 'label';
205
224
  var Label = function Label(_ref) {
206
225
  var _classNames;
226
+
207
227
  var className = _ref.className,
208
- _ref$margin = _ref.margin,
209
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
210
- as = _ref.as,
211
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$b);
228
+ _ref$margin = _ref.margin,
229
+ margin = _ref$margin === void 0 ? 'both' : _ref$margin,
230
+ as = _ref.as,
231
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$b);
232
+
212
233
  var Element = as || defaultElement$8;
213
234
  return React__default["default"].createElement(Element, _extends({
214
235
  className: classNames__default["default"]('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)
@@ -219,11 +240,13 @@ var _excluded$a = ["className", "margin", "as"];
219
240
  var defaultElement$7 = 'p';
220
241
  var LeadParagraph = function LeadParagraph(_ref) {
221
242
  var _classNames;
243
+
222
244
  var className = _ref.className,
223
- _ref$margin = _ref.margin,
224
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
225
- as = _ref.as,
226
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$a);
245
+ _ref$margin = _ref.margin,
246
+ margin = _ref$margin === void 0 ? 'both' : _ref$margin,
247
+ as = _ref.as,
248
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$a);
249
+
227
250
  var Element = as || defaultElement$7;
228
251
  return React__default["default"].createElement(Element, _extends({
229
252
  className: classNames__default["default"]('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)
@@ -234,11 +257,13 @@ var _excluded$9 = ["className", "margin", "as"];
234
257
  var defaultElement$6 = 'a';
235
258
  var Link = function Link(_ref) {
236
259
  var _classNames;
260
+
237
261
  var className = _ref.className,
238
- _ref$margin = _ref.margin,
239
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
240
- as = _ref.as,
241
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$9);
262
+ _ref$margin = _ref.margin,
263
+ margin = _ref$margin === void 0 ? 'both' : _ref$margin,
264
+ as = _ref.as,
265
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$9);
266
+
242
267
  var Element = as || defaultElement$6;
243
268
  return React__default["default"].createElement(Element, _extends({
244
269
  className: classNames__default["default"]('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)
@@ -249,11 +274,13 @@ var _excluded$8 = ["className", "margin", "as"];
249
274
  var defaultElement$5 = 'strong';
250
275
  var StrongText = function StrongText(_ref) {
251
276
  var _classNames;
277
+
252
278
  var className = _ref.className,
253
- _ref$margin = _ref.margin,
254
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
255
- as = _ref.as,
256
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$8);
279
+ _ref$margin = _ref.margin,
280
+ margin = _ref$margin === void 0 ? 'both' : _ref$margin,
281
+ as = _ref.as,
282
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$8);
283
+
257
284
  var Element = as || defaultElement$5;
258
285
  return React__default["default"].createElement(Element, _extends({
259
286
  className: classNames__default["default"]('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)
@@ -263,9 +290,10 @@ var StrongText = function StrongText(_ref) {
263
290
  var _excluded$7 = ["children", "className", "title"];
264
291
  var ListItem = function ListItem(_ref) {
265
292
  var children = _ref.children,
266
- className = _ref.className,
267
- title = _ref.title,
268
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$7);
293
+ className = _ref.className,
294
+ title = _ref.title,
295
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$7);
296
+
269
297
  return React__default["default"].createElement("li", _extends({
270
298
  className: classNames__default["default"]('eds-list-item', className)
271
299
  }, rest), title && React__default["default"].createElement(StrongText, {
@@ -276,10 +304,12 @@ var ListItem = function ListItem(_ref) {
276
304
  var _excluded$6 = ["className", "type"];
277
305
  var NumberedList = function NumberedList(_ref) {
278
306
  var _classNames;
307
+
279
308
  var className = _ref.className,
280
- _ref$type = _ref.type,
281
- type = _ref$type === void 0 ? '1' : _ref$type,
282
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$6);
309
+ _ref$type = _ref.type,
310
+ type = _ref$type === void 0 ? '1' : _ref$type,
311
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$6);
312
+
283
313
  return React__default["default"].createElement("ol", _extends({
284
314
  className: classNames__default["default"]('eds-numbered-list', (_classNames = {}, _classNames["eds-numbered-list--type-" + type] = type, _classNames), className),
285
315
  type: type
@@ -290,10 +320,11 @@ var _excluded$5 = ["margin", "className", "as"];
290
320
  var defaultElement$4 = 'p';
291
321
  var Paragraph = function Paragraph(_ref) {
292
322
  var _ref$margin = _ref.margin,
293
- margin = _ref$margin === void 0 ? 'bottom' : _ref$margin,
294
- className = _ref.className,
295
- as = _ref.as,
296
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$5);
323
+ margin = _ref$margin === void 0 ? 'bottom' : _ref$margin,
324
+ className = _ref.className,
325
+ as = _ref.as,
326
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$5);
327
+
297
328
  var Element = as || defaultElement$4;
298
329
  return React__default["default"].createElement(Element, _extends({
299
330
  className: classNames__default["default"]('eds-paragraph', {
@@ -307,8 +338,9 @@ var _excluded$4 = ["className", "as"];
307
338
  var defaultElement$3 = 'pre';
308
339
  var PreformattedText = function PreformattedText(_ref) {
309
340
  var className = _ref.className,
310
- as = _ref.as,
311
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$4);
341
+ as = _ref.as,
342
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$4);
343
+
312
344
  var Element = as || defaultElement$3;
313
345
  return React__default["default"].createElement(Element, _extends({
314
346
  className: classNames__default["default"]('eds-preformatted-text', className)
@@ -319,11 +351,13 @@ var _excluded$3 = ["className", "margin", "as"];
319
351
  var defaultElement$2 = 'span';
320
352
  var SmallText = function SmallText(_ref) {
321
353
  var _classNames;
354
+
322
355
  var className = _ref.className,
323
- _ref$margin = _ref.margin,
324
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
325
- as = _ref.as,
326
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$3);
356
+ _ref$margin = _ref.margin,
357
+ margin = _ref$margin === void 0 ? 'both' : _ref$margin,
358
+ as = _ref.as,
359
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$3);
360
+
327
361
  var Element = as || defaultElement$2;
328
362
  return React__default["default"].createElement(Element, _extends({
329
363
  className: classNames__default["default"]('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)
@@ -334,11 +368,13 @@ var _excluded$2 = ["className", "margin", "as"];
334
368
  var defaultElement$1 = 'span';
335
369
  var SubLabel = function SubLabel(_ref) {
336
370
  var _classNames;
371
+
337
372
  var className = _ref.className,
338
- _ref$margin = _ref.margin,
339
- margin = _ref$margin === void 0 ? 'both' : _ref$margin,
340
- as = _ref.as,
341
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$2);
373
+ _ref$margin = _ref.margin,
374
+ margin = _ref$margin === void 0 ? 'both' : _ref$margin,
375
+ as = _ref.as,
376
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$2);
377
+
342
378
  var Element = as || defaultElement$1;
343
379
  return React__default["default"].createElement(Element, _extends({
344
380
  className: classNames__default["default"]('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)
@@ -349,10 +385,12 @@ var _excluded$1 = ["className", "margin", "as"];
349
385
  var defaultElement = 'p';
350
386
  var SubParagraph = function SubParagraph(_ref) {
351
387
  var _classNames;
388
+
352
389
  var className = _ref.className,
353
- margin = _ref.margin,
354
- as = _ref.as,
355
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$1);
390
+ margin = _ref.margin,
391
+ as = _ref.as,
392
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$1);
393
+
356
394
  var Element = as || defaultElement;
357
395
  return React__default["default"].createElement(Element, _extends({
358
396
  className: classNames__default["default"]('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)
@@ -362,7 +400,8 @@ var SubParagraph = function SubParagraph(_ref) {
362
400
  var _excluded = ["className"];
363
401
  var UnorderedList = function UnorderedList(_ref) {
364
402
  var className = _ref.className,
365
- rest = _objectWithoutPropertiesLoose(_ref, _excluded);
403
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded);
404
+
366
405
  return React__default["default"].createElement("ul", _extends({
367
406
  className: classNames__default["default"]('eds-unordered-list', className)
368
407
  }, rest));
@@ -1 +1 @@
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 HTMLElement\n>;\n\nexport const Blockquote: React.FunctionComponent<BlockquoteProps> = ({\n className,\n ...rest\n}) => {\n return (\n <blockquote className={classNames('eds-blockquote', className)} {...rest} />\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 { PolymorphicPropsWithoutRef } 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<E extends React.ElementType = typeof defaultElement> =\n PolymorphicPropsWithoutRef<CodeTextOwnProps, E>;\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 { PolymorphicPropsWithoutRef } 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 E extends React.ElementType = typeof defaultElement,\n> = PolymorphicPropsWithoutRef<EmphasizedTextOwnProps, E>;\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 { PolymorphicPropsWithoutRef } 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> = PolymorphicPropsWithoutRef<BaseHeadingOwnProps, T>;\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 { PolymorphicPropsWithoutRef } 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 PolymorphicPropsWithoutRef<Heading1OwnProps, T>;\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 { PolymorphicPropsWithoutRef } 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 PolymorphicPropsWithoutRef<Heading2OwnProps, T>;\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 { PolymorphicPropsWithoutRef } 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 PolymorphicPropsWithoutRef<Heading3OwnProps, T>;\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 { PolymorphicPropsWithoutRef } 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 PolymorphicPropsWithoutRef<Heading4OwnProps, T>;\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 { PolymorphicPropsWithoutRef } 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 PolymorphicPropsWithoutRef<Heading5OwnProps, T>;\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 { PolymorphicPropsWithoutRef } 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 PolymorphicPropsWithoutRef<Heading6OwnProps, T>;\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 { PolymorphicPropsWithoutRef } 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<E extends React.ElementType = typeof defaultElement> =\n PolymorphicPropsWithoutRef<LabelOwnProps, E>;\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 { PolymorphicPropsWithoutRef } 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 E extends React.ElementType = typeof defaultElement,\n> = PolymorphicPropsWithoutRef<LeadParagraphOwnProps, E>;\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 { PolymorphicPropsWithoutRef } from '@entur/utils';\n\nexport type LinkOwnProps = {\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};\n\nexport type LinkProps<E extends React.ElementType = typeof defaultElement> =\n PolymorphicPropsWithoutRef<LinkOwnProps, E>;\n\nconst defaultElement = 'a';\n\nexport const Link = <E extends React.ElementType = typeof defaultElement>({\n className,\n margin = 'both',\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 );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicPropsWithoutRef } 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 E extends React.ElementType = typeof defaultElement,\n> = PolymorphicPropsWithoutRef<StrongTextOwnProps, E>;\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 { PolymorphicPropsWithoutRef } 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 E extends React.ElementType = typeof defaultElement,\n> = PolymorphicPropsWithoutRef<ParagraphOwnProps, E>;\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 { PolymorphicPropsWithoutRef } 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<E extends React.ElementType> =\n PolymorphicPropsWithoutRef<PreformattedTextOwnProps, E>;\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 { PolymorphicPropsWithoutRef } 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> = PolymorphicPropsWithoutRef<SmallTextOwnProps, T>;\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 { PolymorphicPropsWithoutRef } 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<E extends React.ElementType = typeof defaultElement> =\n PolymorphicPropsWithoutRef<SubLabelOwnProps, E>;\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 { PolymorphicPropsWithoutRef } 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 E extends React.ElementType = typeof defaultElement,\n> = PolymorphicPropsWithoutRef<SubParagraphOwnProps, E>;\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","className","rest","React","classNames","BlockquoteFooter","defaultElement","CodeText","as","Element","EmphasizedText","margin","BaseHeading","level","baseClass","Heading1","children","Heading2","Heading3","Heading4","Heading5","Heading6","Label","LeadParagraph","Link","StrongText","ListItem","title","NumberedList","type","Paragraph","PreformattedText","SmallText","SubLabel","SubParagraph","UnorderedList","warnAboutMissingStyles"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWaA,UAAU,GAA6C,SAAvDA,UAAU;MACrBC,SAAS,QAATA,SAAS;IACNC,IAAI;EAEP,OACEC;IAAYF,SAAS,EAAEG,8BAAU,CAAC,gBAAgB,EAAEH,SAAS;KAAOC,IAAI,EAAI;AAEhF;IAOaG,gBAAgB,GAC3B,SADWA,gBAAgB;MACxBJ,SAAS,SAATA,SAAS;IAAKC,IAAI;EACnB,OACEC;IACEF,SAAS,EAAEG,8BAAU,CAAC,wBAAwB,EAAEH,SAAS;KACrDC,IAAI,EACR;AAEN;;;ACfF,IAAMI,gBAAc,GAAG,MAAM;IAEhBC,QAA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,MAAM,gBAEvDV,SAAS;KAEPC,IAAI,EACR;AAEN;;;ICnCaiC,aAAa,GAAiC,SAA9CA,aAAa;EAAA,IACxBlC,SAAS,QAATA,SAAS;IACNC,IAAI;EAAA,OACHC;IAAIF,SAAS,EAAEG,8BAAU,CAAC,oBAAoB,EAAEH,SAAS;KAAOC,IAAI,EAAI;AAAA;;ACb9EkC,4BAAsB,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;"}
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 HTMLElement\n>;\n\nexport const Blockquote: React.FunctionComponent<BlockquoteProps> = ({\n className,\n ...rest\n}) => {\n return (\n <blockquote className={classNames('eds-blockquote', className)} {...rest} />\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 { PolymorphicPropsWithoutRef } 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<E extends React.ElementType = typeof defaultElement> =\n PolymorphicPropsWithoutRef<CodeTextOwnProps, E>;\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 { PolymorphicPropsWithoutRef } 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 E extends React.ElementType = typeof defaultElement,\n> = PolymorphicPropsWithoutRef<EmphasizedTextOwnProps, E>;\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 { PolymorphicPropsWithoutRef } 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> = PolymorphicPropsWithoutRef<BaseHeadingOwnProps, T>;\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 { PolymorphicPropsWithoutRef } 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 PolymorphicPropsWithoutRef<Heading1OwnProps, T>;\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 { PolymorphicPropsWithoutRef } 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 PolymorphicPropsWithoutRef<Heading2OwnProps, T>;\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 { PolymorphicPropsWithoutRef } 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 PolymorphicPropsWithoutRef<Heading3OwnProps, T>;\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 { PolymorphicPropsWithoutRef } 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 PolymorphicPropsWithoutRef<Heading4OwnProps, T>;\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 { PolymorphicPropsWithoutRef } 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 PolymorphicPropsWithoutRef<Heading5OwnProps, T>;\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 { PolymorphicPropsWithoutRef } 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 PolymorphicPropsWithoutRef<Heading6OwnProps, T>;\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 { PolymorphicPropsWithoutRef } 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<E extends React.ElementType = typeof defaultElement> =\n PolymorphicPropsWithoutRef<LabelOwnProps, E>;\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 { PolymorphicPropsWithoutRef } 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 E extends React.ElementType = typeof defaultElement,\n> = PolymorphicPropsWithoutRef<LeadParagraphOwnProps, E>;\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 { PolymorphicPropsWithoutRef } from '@entur/utils';\n\nexport type LinkOwnProps = {\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};\n\nexport type LinkProps<E extends React.ElementType = typeof defaultElement> =\n PolymorphicPropsWithoutRef<LinkOwnProps, E>;\n\nconst defaultElement = 'a';\n\nexport const Link = <E extends React.ElementType = typeof defaultElement>({\n className,\n margin = 'both',\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 );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicPropsWithoutRef } 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 E extends React.ElementType = typeof defaultElement,\n> = PolymorphicPropsWithoutRef<StrongTextOwnProps, E>;\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 { PolymorphicPropsWithoutRef } 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 E extends React.ElementType = typeof defaultElement,\n> = PolymorphicPropsWithoutRef<ParagraphOwnProps, E>;\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 { PolymorphicPropsWithoutRef } 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<E extends React.ElementType> =\n PolymorphicPropsWithoutRef<PreformattedTextOwnProps, E>;\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 { PolymorphicPropsWithoutRef } 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> = PolymorphicPropsWithoutRef<SmallTextOwnProps, T>;\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 { PolymorphicPropsWithoutRef } 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<E extends React.ElementType = typeof defaultElement> =\n PolymorphicPropsWithoutRef<SubLabelOwnProps, E>;\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 { PolymorphicPropsWithoutRef } 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 E extends React.ElementType = typeof defaultElement,\n> = PolymorphicPropsWithoutRef<SubParagraphOwnProps, E>;\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","className","rest","React","classNames","BlockquoteFooter","defaultElement","CodeText","as","Element","EmphasizedText","margin","BaseHeading","level","baseClass","Heading1","children","Heading2","Heading3","Heading4","Heading5","Heading6","Label","LeadParagraph","Link","StrongText","ListItem","title","NumberedList","type","Paragraph","PreformattedText","SmallText","SubLabel","SubParagraph","UnorderedList","warnAboutMissingStyles"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWaA,UAAU,GAA6C,SAAvDA,UAAuD;MAClEC,iBAAAA;MACGC;;AAEH,SACEC,uCAAA,aAAA;AAAYF,IAAAA,SAAS,EAAEG,8BAAU,CAAC,gBAAD,EAAmBH,SAAnB;AAAjC,KAAoEC,IAApE,EADF;AAGD;IAOYG,gBAAgB,GAC3B,SADWA,gBACX;MAAGJ,kBAAAA;MAAcC;;AACf,SACEC,uCAAA,SAAA;AACEF,IAAAA,SAAS,EAAEG,8BAAU,CAAC,wBAAD,EAA2BH,SAA3B;AADvB,KAEMC,IAFN,EADF;AAMD;;;ACfH,IAAMI,gBAAc,GAAG,MAAvB;IAEaC,QAAQ,GAAG,SAAXA,QAAW;MACtBN,iBAAAA;MACAO,UAAAA;MACGN;;AAEH,MAAMO,OAAO,GAAsBD,EAAE,IAAIF,gBAAzC;AACA,SACEH,uCAAA,CAACM,OAAD;AAASR,IAAAA,SAAS,EAAEG,8BAAU,CAAC,eAAD,EAAkBH,SAAlB;AAA9B,KAAgEC,IAAhE,EADF;AAGD;;;ACND,IAAMI,gBAAc,GAAG,IAAvB;IAEaI,cAAc,GAAG,SAAjBA,cAAiB;;;MAG5BT,iBAAAA;yBACAU;MAAAA,kCAAS;MACTH,UAAAA;MACGN;;AAEH,MAAMO,OAAO,GAAsBD,EAAE,IAAIF,gBAAzC;AACA,SACEH,uCAAA,CAACM,OAAD;AACER,IAAAA,SAAS,EAAEG,8BAAU,CACnB,qBADmB,sEAGoBO,MAAM,KAAK,KAH/B,sDAIuBA,MAAM,KAAK,QAJlC,oDAKqBA,MAAM,KAAK,MALhC,gBAOnBV,SAPmB;AADvB,KAUMC,IAVN,EADF;AAcD;;;AChCD,IAAMI,gBAAc,GAAG,IAAvB;AAMO,IAA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