@folkehelseinstituttet/designsystem 0.31.0 → 0.33.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.
@@ -2,104 +2,6 @@
2
2
  "schemaVersion": "1.0.0",
3
3
  "readme": "",
4
4
  "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "src/components/fhi-body/fhi-body.component.ts",
8
- "declarations": [
9
- {
10
- "kind": "class",
11
- "description": "## FHI Body\n\nhttps://designsystem.fhi.no/?path=/story/komponenter-typography-body--preview\n\nThe `<fhi-body>` component is used to display body text in accordance with the FHI Design System guidelines.\nUse this component instead of the standard HTML paragraph element, `<p>`, to ensure consistent styling across your application.",
12
- "name": "FhiBody",
13
- "slots": [
14
- {
15
- "description": "The content of the fhi-body component. This should be pure text.",
16
- "name": ""
17
- }
18
- ],
19
- "members": [
20
- {
21
- "kind": "field",
22
- "name": "color",
23
- "type": {
24
- "text": "string"
25
- },
26
- "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-body color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-body>\n```",
27
- "attribute": "color"
28
- },
29
- {
30
- "kind": "field",
31
- "name": "size",
32
- "type": {
33
- "text": "'large' | 'medium' | 'small'"
34
- },
35
- "default": "'medium'",
36
- "description": "Sets the font size of the given text.",
37
- "reflects": true,
38
- "attribute": "size"
39
- }
40
- ],
41
- "attributes": [
42
- {
43
- "name": "color",
44
- "type": {
45
- "text": "string"
46
- },
47
- "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-body color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-body>\n```",
48
- "fieldName": "color"
49
- },
50
- {
51
- "name": "size",
52
- "type": {
53
- "text": "'large' | 'medium' | 'small'"
54
- },
55
- "default": "'medium'",
56
- "description": "Sets the font size of the given text.",
57
- "fieldName": "size"
58
- }
59
- ],
60
- "superclass": {
61
- "name": "LitElement",
62
- "package": "lit"
63
- },
64
- "tagName": "fhi-body",
65
- "customElement": true
66
- },
67
- {
68
- "kind": "variable",
69
- "name": "FhiBodySelector",
70
- "type": {
71
- "text": "string"
72
- },
73
- "default": "'fhi-body'"
74
- }
75
- ],
76
- "exports": [
77
- {
78
- "kind": "custom-element-definition",
79
- "name": "",
80
- "declaration": {
81
- "name": "FhiBody",
82
- "module": "src/components/fhi-body/fhi-body.component.ts"
83
- }
84
- },
85
- {
86
- "kind": "js",
87
- "name": "FhiBody",
88
- "declaration": {
89
- "name": "FhiBody",
90
- "module": "src/components/fhi-body/fhi-body.component.ts"
91
- }
92
- },
93
- {
94
- "kind": "js",
95
- "name": "FhiBodySelector",
96
- "declaration": {
97
- "name": "FhiBodySelector",
98
- "module": "src/components/fhi-body/fhi-body.component.ts"
99
- }
100
- }
101
- ]
102
- },
103
5
  {
104
6
  "kind": "javascript-module",
105
7
  "path": "src/components/fhi-button/fhi-button.component.ts",
@@ -1066,121 +968,6 @@
1066
968
  }
1067
969
  ]
1068
970
  },
1069
- {
1070
- "kind": "javascript-module",
1071
- "path": "src/components/fhi-display/fhi-display.component.ts",
1072
- "declarations": [
1073
- {
1074
- "kind": "class",
1075
- "description": "## FHI Display\n\nhttps://designsystem.fhi.no/?path=/story/komponenter-typography-display--preview\n\nThe `<fhi-display>` component is used to display large headline text in accordance with the FHI Design System guidelines.\nUse this component instead of the standard HTML heading elements, `<h1>` - `<h6>`, to ensure consistent styling across your application.",
1076
- "name": "FhiDisplay",
1077
- "slots": [
1078
- {
1079
- "description": "The content of the fhi-display component. This should be pure text.",
1080
- "name": ""
1081
- }
1082
- ],
1083
- "members": [
1084
- {
1085
- "kind": "field",
1086
- "name": "color",
1087
- "type": {
1088
- "text": "string"
1089
- },
1090
- "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-display color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-display>\n```",
1091
- "attribute": "color"
1092
- },
1093
- {
1094
- "kind": "field",
1095
- "name": "level",
1096
- "type": {
1097
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1098
- },
1099
- "description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
1100
- "attribute": "level"
1101
- },
1102
- {
1103
- "kind": "field",
1104
- "name": "size",
1105
- "type": {
1106
- "text": "'large' | 'medium' | 'small'"
1107
- },
1108
- "default": "'medium'",
1109
- "description": "Sets the font size of the given text.",
1110
- "reflects": true,
1111
- "attribute": "size"
1112
- }
1113
- ],
1114
- "attributes": [
1115
- {
1116
- "name": "color",
1117
- "type": {
1118
- "text": "string"
1119
- },
1120
- "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-display color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-display>\n```",
1121
- "fieldName": "color"
1122
- },
1123
- {
1124
- "name": "level",
1125
- "type": {
1126
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1127
- },
1128
- "description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
1129
- "fieldName": "level"
1130
- },
1131
- {
1132
- "name": "size",
1133
- "type": {
1134
- "text": "'large' | 'medium' | 'small'"
1135
- },
1136
- "default": "'medium'",
1137
- "description": "Sets the font size of the given text.",
1138
- "fieldName": "size"
1139
- }
1140
- ],
1141
- "superclass": {
1142
- "name": "LitElement",
1143
- "package": "lit"
1144
- },
1145
- "tagName": "fhi-display",
1146
- "customElement": true
1147
- },
1148
- {
1149
- "kind": "variable",
1150
- "name": "FhiDisplaySelector",
1151
- "type": {
1152
- "text": "string"
1153
- },
1154
- "default": "'fhi-display'"
1155
- }
1156
- ],
1157
- "exports": [
1158
- {
1159
- "kind": "custom-element-definition",
1160
- "name": "",
1161
- "declaration": {
1162
- "name": "FhiDisplay",
1163
- "module": "src/components/fhi-display/fhi-display.component.ts"
1164
- }
1165
- },
1166
- {
1167
- "kind": "js",
1168
- "name": "FhiDisplay",
1169
- "declaration": {
1170
- "name": "FhiDisplay",
1171
- "module": "src/components/fhi-display/fhi-display.component.ts"
1172
- }
1173
- },
1174
- {
1175
- "kind": "js",
1176
- "name": "FhiDisplaySelector",
1177
- "declaration": {
1178
- "name": "FhiDisplaySelector",
1179
- "module": "src/components/fhi-display/fhi-display.component.ts"
1180
- }
1181
- }
1182
- ]
1183
- },
1184
971
  {
1185
972
  "kind": "javascript-module",
1186
973
  "path": "src/components/fhi-flex/fhi-flex.component.ts",
@@ -1368,6 +1155,16 @@
1368
1155
  "default": "'medium'",
1369
1156
  "description": "Sets the gap between items within the grid container. It can be one of the preset values, a rem or px value, or a number.\nIf you give a number, it will be treated as pixels.",
1370
1157
  "attribute": "gap"
1158
+ },
1159
+ {
1160
+ "kind": "field",
1161
+ "name": "rows",
1162
+ "type": {
1163
+ "text": "number"
1164
+ },
1165
+ "default": "1",
1166
+ "description": "Sets the number of rows in the grid layout.",
1167
+ "attribute": "rows"
1371
1168
  }
1372
1169
  ],
1373
1170
  "attributes": [
@@ -1388,6 +1185,15 @@
1388
1185
  "default": "'medium'",
1389
1186
  "description": "Sets the gap between items within the grid container. It can be one of the preset values, a rem or px value, or a number.\nIf you give a number, it will be treated as pixels.",
1390
1187
  "fieldName": "gap"
1188
+ },
1189
+ {
1190
+ "name": "rows",
1191
+ "type": {
1192
+ "text": "number"
1193
+ },
1194
+ "default": "1",
1195
+ "description": "Sets the number of rows in the grid layout.",
1196
+ "fieldName": "rows"
1391
1197
  }
1392
1198
  ],
1393
1199
  "superclass": {
@@ -1435,252 +1241,39 @@
1435
1241
  },
1436
1242
  {
1437
1243
  "kind": "javascript-module",
1438
- "path": "src/components/fhi-headline/fhi-headline.component.ts",
1244
+ "path": "src/components/fhi-modal-dialog/fhi-modal-dialog.component.ts",
1439
1245
  "declarations": [
1440
1246
  {
1441
1247
  "kind": "class",
1442
- "description": "## FHI Headline\n\nhttps://designsystem.fhi.no/?path=/story/komponenter-typography-headline--preview\n\nThe `<fhi-headline>` component is used to display headline text in accordance with the FHI Design System guidelines.\nUse this component instead of the standard HTML heading elements, `<h1>` - `<h6>`, to ensure consistent styling across your application.",
1443
- "name": "FhiHeadline",
1248
+ "description": "## FHI Modal Dialog\n\nhttps://designsystem.fhi.no/?path=/docs/komponenter-modal-dialog--docs\n\nThe `fhi-modal-dialog` component is used to display important information or prompt the user for input in a modal window.\nIt overlays the main content and usually requires user interaction before returning to the underlying page.",
1249
+ "name": "FhiModalDialog",
1444
1250
  "slots": [
1445
1251
  {
1446
- "description": "The content of the fhi-headline component. This should be pure text.",
1447
- "name": ""
1252
+ "description": "The main content of the dialog. Typically contains text or form elements.",
1253
+ "name": "body"
1254
+ },
1255
+ {
1256
+ "description": "The footer content of the dialog, typically containing action buttons.",
1257
+ "name": "footer"
1448
1258
  }
1449
1259
  ],
1450
1260
  "members": [
1451
1261
  {
1452
1262
  "kind": "field",
1453
- "name": "color",
1263
+ "name": "_bodyOverflowStyle",
1454
1264
  "type": {
1455
1265
  "text": "string"
1456
1266
  },
1457
- "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-headline color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-headline>\n```",
1458
- "attribute": "color"
1267
+ "privacy": "private",
1268
+ "default": "''"
1459
1269
  },
1460
1270
  {
1461
1271
  "kind": "field",
1462
- "name": "level",
1272
+ "name": "_dialog",
1463
1273
  "type": {
1464
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1274
+ "text": "HTMLDialogElement"
1465
1275
  },
1466
- "description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
1467
- "attribute": "level"
1468
- },
1469
- {
1470
- "kind": "field",
1471
- "name": "size",
1472
- "type": {
1473
- "text": "'large' | 'medium' | 'small'"
1474
- },
1475
- "default": "'medium'",
1476
- "description": "Sets the size of the text styles.",
1477
- "reflects": true,
1478
- "attribute": "size"
1479
- }
1480
- ],
1481
- "attributes": [
1482
- {
1483
- "name": "color",
1484
- "type": {
1485
- "text": "string"
1486
- },
1487
- "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-headline color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-headline>\n```",
1488
- "fieldName": "color"
1489
- },
1490
- {
1491
- "name": "level",
1492
- "type": {
1493
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1494
- },
1495
- "description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
1496
- "fieldName": "level"
1497
- },
1498
- {
1499
- "name": "size",
1500
- "type": {
1501
- "text": "'large' | 'medium' | 'small'"
1502
- },
1503
- "default": "'medium'",
1504
- "description": "Sets the size of the text styles.",
1505
- "fieldName": "size"
1506
- }
1507
- ],
1508
- "superclass": {
1509
- "name": "LitElement",
1510
- "package": "lit"
1511
- },
1512
- "tagName": "fhi-headline",
1513
- "customElement": true
1514
- },
1515
- {
1516
- "kind": "variable",
1517
- "name": "FhiHeadlineSelector",
1518
- "type": {
1519
- "text": "string"
1520
- },
1521
- "default": "'fhi-headline'"
1522
- }
1523
- ],
1524
- "exports": [
1525
- {
1526
- "kind": "custom-element-definition",
1527
- "name": "",
1528
- "declaration": {
1529
- "name": "FhiHeadline",
1530
- "module": "src/components/fhi-headline/fhi-headline.component.ts"
1531
- }
1532
- },
1533
- {
1534
- "kind": "js",
1535
- "name": "FhiHeadline",
1536
- "declaration": {
1537
- "name": "FhiHeadline",
1538
- "module": "src/components/fhi-headline/fhi-headline.component.ts"
1539
- }
1540
- },
1541
- {
1542
- "kind": "js",
1543
- "name": "FhiHeadlineSelector",
1544
- "declaration": {
1545
- "name": "FhiHeadlineSelector",
1546
- "module": "src/components/fhi-headline/fhi-headline.component.ts"
1547
- }
1548
- }
1549
- ]
1550
- },
1551
- {
1552
- "kind": "javascript-module",
1553
- "path": "src/components/fhi-label/fhi-label.component.ts",
1554
- "declarations": [
1555
- {
1556
- "kind": "class",
1557
- "description": "## FHI Label\n\nhttps://designsystem.fhi.no/?path=/story/komponenter-typography-label--preview\n\nThe `<fhi-label>` component is used to display label text in accordance with the FHI Design System guidelines.\nUse this component instead of the standard HTML `<label>` element to ensure consistent styling across your application.",
1558
- "name": "FhiLabel",
1559
- "slots": [
1560
- {
1561
- "description": "The content of the fhi-label component. This should be pure text.",
1562
- "name": ""
1563
- }
1564
- ],
1565
- "members": [
1566
- {
1567
- "kind": "field",
1568
- "name": "color",
1569
- "type": {
1570
- "text": "string"
1571
- },
1572
- "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-label color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-label>\n```",
1573
- "attribute": "color"
1574
- },
1575
- {
1576
- "kind": "field",
1577
- "name": "size",
1578
- "type": {
1579
- "text": "'large' | 'medium' | 'small'"
1580
- },
1581
- "default": "'medium'",
1582
- "description": "Sets the font size of the given text.",
1583
- "reflects": true,
1584
- "attribute": "size"
1585
- }
1586
- ],
1587
- "attributes": [
1588
- {
1589
- "name": "color",
1590
- "type": {
1591
- "text": "string"
1592
- },
1593
- "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-label color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-label>\n```",
1594
- "fieldName": "color"
1595
- },
1596
- {
1597
- "name": "size",
1598
- "type": {
1599
- "text": "'large' | 'medium' | 'small'"
1600
- },
1601
- "default": "'medium'",
1602
- "description": "Sets the font size of the given text.",
1603
- "fieldName": "size"
1604
- }
1605
- ],
1606
- "superclass": {
1607
- "name": "LitElement",
1608
- "package": "lit"
1609
- },
1610
- "tagName": "fhi-label",
1611
- "customElement": true
1612
- },
1613
- {
1614
- "kind": "variable",
1615
- "name": "FhiLabelSelector",
1616
- "type": {
1617
- "text": "string"
1618
- },
1619
- "default": "'fhi-label'"
1620
- }
1621
- ],
1622
- "exports": [
1623
- {
1624
- "kind": "custom-element-definition",
1625
- "name": "",
1626
- "declaration": {
1627
- "name": "FhiLabel",
1628
- "module": "src/components/fhi-label/fhi-label.component.ts"
1629
- }
1630
- },
1631
- {
1632
- "kind": "js",
1633
- "name": "FhiLabel",
1634
- "declaration": {
1635
- "name": "FhiLabel",
1636
- "module": "src/components/fhi-label/fhi-label.component.ts"
1637
- }
1638
- },
1639
- {
1640
- "kind": "js",
1641
- "name": "FhiLabelSelector",
1642
- "declaration": {
1643
- "name": "FhiLabelSelector",
1644
- "module": "src/components/fhi-label/fhi-label.component.ts"
1645
- }
1646
- }
1647
- ]
1648
- },
1649
- {
1650
- "kind": "javascript-module",
1651
- "path": "src/components/fhi-modal-dialog/fhi-modal-dialog.component.ts",
1652
- "declarations": [
1653
- {
1654
- "kind": "class",
1655
- "description": "## FHI Modal Dialog\n\nhttps://designsystem.fhi.no/?path=/docs/komponenter-modal-dialog--docs\n\nThe `fhi-modal-dialog` component is used to display important information or prompt the user for input in a modal window.\nIt overlays the main content and usually requires user interaction before returning to the underlying page.",
1656
- "name": "FhiModalDialog",
1657
- "slots": [
1658
- {
1659
- "description": "The main content of the dialog. Typically contains text or form elements.",
1660
- "name": "body"
1661
- },
1662
- {
1663
- "description": "The footer content of the dialog, typically containing action buttons.",
1664
- "name": "footer"
1665
- }
1666
- ],
1667
- "members": [
1668
- {
1669
- "kind": "field",
1670
- "name": "_bodyOverflowStyle",
1671
- "type": {
1672
- "text": "string"
1673
- },
1674
- "privacy": "private",
1675
- "default": "''"
1676
- },
1677
- {
1678
- "kind": "field",
1679
- "name": "_dialog",
1680
- "type": {
1681
- "text": "HTMLDialogElement"
1682
- },
1683
- "privacy": "private"
1276
+ "privacy": "private"
1684
1277
  },
1685
1278
  {
1686
1279
  "kind": "method",
@@ -2444,6 +2037,16 @@
2444
2037
  "reflects": true,
2445
2038
  "attribute": "disabled"
2446
2039
  },
2040
+ {
2041
+ "kind": "field",
2042
+ "name": "formAssociated",
2043
+ "type": {
2044
+ "text": "boolean"
2045
+ },
2046
+ "static": true,
2047
+ "readonly": true,
2048
+ "default": "true"
2049
+ },
2447
2050
  {
2448
2051
  "kind": "method",
2449
2052
  "name": "formResetCallback",
@@ -2732,156 +2335,41 @@
2732
2335
  },
2733
2336
  {
2734
2337
  "kind": "javascript-module",
2735
- "path": "src/components/fhi-title/fhi-title.component.ts",
2338
+ "path": "src/components/fhi-tooltip/fhi-tooltip.component.ts",
2736
2339
  "declarations": [
2737
2340
  {
2738
2341
  "kind": "class",
2739
- "description": "## FHI Title\n\nhttps://designsystem.fhi.no/?path=/story/komponenter-typography-title--preview\n\nThe `<fhi-title>` component is used to display title text in accordance with the FHI Design System guidelines.\nUse this component instead of the standard HTML heading elements, `<h1>` - `<h6>`, to ensure consistent styling across your application.",
2740
- "name": "FhiTitle",
2342
+ "description": "## FHI Tooltip\n\nhttps://designsystem.fhi.no/?path=/docs/komponenter-tooltip--docs\n\nThe `<fhi-tooltip>` component provides contextual information when users hover over or focus on an element.\nIt is designed to enhance user experience by offering additional details without cluttering the interface.",
2343
+ "name": "FhiTooltip",
2741
2344
  "slots": [
2742
2345
  {
2743
- "description": "The content of the fhi-title component. This should be pure text.",
2346
+ "description": "The content that will trigger the tooltip.",
2744
2347
  "name": ""
2745
2348
  }
2746
2349
  ],
2747
2350
  "members": [
2748
2351
  {
2749
2352
  "kind": "field",
2750
- "name": "color",
2751
- "type": {
2752
- "text": "string"
2753
- },
2754
- "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-title color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-title>\n```",
2755
- "attribute": "color"
2353
+ "name": "__handlePotentialEscapeKeyPress",
2354
+ "privacy": "private"
2756
2355
  },
2757
2356
  {
2758
2357
  "kind": "field",
2759
- "name": "level",
2358
+ "name": "_anchor",
2760
2359
  "type": {
2761
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2360
+ "text": "HTMLElement"
2762
2361
  },
2763
- "description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
2764
- "attribute": "level"
2362
+ "privacy": "private"
2765
2363
  },
2766
2364
  {
2767
- "kind": "field",
2768
- "name": "size",
2769
- "type": {
2770
- "text": "'large' | 'medium' | 'small'"
2771
- },
2772
- "default": "'medium'",
2773
- "description": "Sets the size of the text styles.",
2774
- "reflects": true,
2775
- "attribute": "size"
2776
- }
2777
- ],
2778
- "attributes": [
2365
+ "kind": "method",
2366
+ "name": "_handleClick",
2367
+ "privacy": "private"
2368
+ },
2779
2369
  {
2780
- "name": "color",
2781
- "type": {
2782
- "text": "string"
2783
- },
2784
- "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-title color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-title>\n```",
2785
- "fieldName": "color"
2786
- },
2787
- {
2788
- "name": "level",
2789
- "type": {
2790
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2791
- },
2792
- "description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
2793
- "fieldName": "level"
2794
- },
2795
- {
2796
- "name": "size",
2797
- "type": {
2798
- "text": "'large' | 'medium' | 'small'"
2799
- },
2800
- "default": "'medium'",
2801
- "description": "Sets the size of the text styles.",
2802
- "fieldName": "size"
2803
- }
2804
- ],
2805
- "superclass": {
2806
- "name": "LitElement",
2807
- "package": "lit"
2808
- },
2809
- "tagName": "fhi-title",
2810
- "customElement": true
2811
- },
2812
- {
2813
- "kind": "variable",
2814
- "name": "FhiTitleSelector",
2815
- "type": {
2816
- "text": "string"
2817
- },
2818
- "default": "'fhi-title'"
2819
- }
2820
- ],
2821
- "exports": [
2822
- {
2823
- "kind": "custom-element-definition",
2824
- "name": "",
2825
- "declaration": {
2826
- "name": "FhiTitle",
2827
- "module": "src/components/fhi-title/fhi-title.component.ts"
2828
- }
2829
- },
2830
- {
2831
- "kind": "js",
2832
- "name": "FhiTitle",
2833
- "declaration": {
2834
- "name": "FhiTitle",
2835
- "module": "src/components/fhi-title/fhi-title.component.ts"
2836
- }
2837
- },
2838
- {
2839
- "kind": "js",
2840
- "name": "FhiTitleSelector",
2841
- "declaration": {
2842
- "name": "FhiTitleSelector",
2843
- "module": "src/components/fhi-title/fhi-title.component.ts"
2844
- }
2845
- }
2846
- ]
2847
- },
2848
- {
2849
- "kind": "javascript-module",
2850
- "path": "src/components/fhi-tooltip/fhi-tooltip.component.ts",
2851
- "declarations": [
2852
- {
2853
- "kind": "class",
2854
- "description": "## FHI Tooltip\n\nhttps://designsystem.fhi.no/?path=/docs/komponenter-tooltip--docs\n\nThe `<fhi-tooltip>` component provides contextual information when users hover over or focus on an element.\nIt is designed to enhance user experience by offering additional details without cluttering the interface.",
2855
- "name": "FhiTooltip",
2856
- "slots": [
2857
- {
2858
- "description": "The content that will trigger the tooltip.",
2859
- "name": ""
2860
- }
2861
- ],
2862
- "members": [
2863
- {
2864
- "kind": "field",
2865
- "name": "__handlePotentialEscapeKeyPress",
2866
- "privacy": "private"
2867
- },
2868
- {
2869
- "kind": "field",
2870
- "name": "_anchor",
2871
- "type": {
2872
- "text": "HTMLElement"
2873
- },
2874
- "privacy": "private"
2875
- },
2876
- {
2877
- "kind": "method",
2878
- "name": "_handleClick",
2879
- "privacy": "private"
2880
- },
2881
- {
2882
- "kind": "method",
2883
- "name": "_handleMouseEnter",
2884
- "privacy": "private"
2370
+ "kind": "method",
2371
+ "name": "_handleMouseEnter",
2372
+ "privacy": "private"
2885
2373
  },
2886
2374
  {
2887
2375
  "kind": "method",
@@ -13570,6 +13058,547 @@
13570
13058
  }
13571
13059
  }
13572
13060
  ]
13061
+ },
13062
+ {
13063
+ "kind": "javascript-module",
13064
+ "path": "src/components/typography/fhi-body/fhi-body.component.ts",
13065
+ "declarations": [
13066
+ {
13067
+ "kind": "class",
13068
+ "description": "## FHI Body\n\nhttps://designsystem.fhi.no/?path=/story/komponenter-typography-body--preview\n\nThe `<fhi-body>` component is used to display body text in accordance with the FHI Design System guidelines.\nUse this component instead of the standard HTML paragraph element, `<p>`, to ensure consistent styling across your application.",
13069
+ "name": "FhiBody",
13070
+ "slots": [
13071
+ {
13072
+ "description": "The content of the fhi-body component. This should be pure text.",
13073
+ "name": ""
13074
+ }
13075
+ ],
13076
+ "members": [
13077
+ {
13078
+ "kind": "field",
13079
+ "name": "color",
13080
+ "type": {
13081
+ "text": "string"
13082
+ },
13083
+ "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-body color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-body>\n```",
13084
+ "attribute": "color"
13085
+ },
13086
+ {
13087
+ "kind": "field",
13088
+ "name": "size",
13089
+ "type": {
13090
+ "text": "'large' | 'medium' | 'small'"
13091
+ },
13092
+ "default": "'medium'",
13093
+ "description": "Sets the font size of the given text.",
13094
+ "reflects": true,
13095
+ "attribute": "size"
13096
+ }
13097
+ ],
13098
+ "attributes": [
13099
+ {
13100
+ "name": "color",
13101
+ "type": {
13102
+ "text": "string"
13103
+ },
13104
+ "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-body color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-body>\n```",
13105
+ "fieldName": "color"
13106
+ },
13107
+ {
13108
+ "name": "size",
13109
+ "type": {
13110
+ "text": "'large' | 'medium' | 'small'"
13111
+ },
13112
+ "default": "'medium'",
13113
+ "description": "Sets the font size of the given text.",
13114
+ "fieldName": "size"
13115
+ }
13116
+ ],
13117
+ "superclass": {
13118
+ "name": "LitElement",
13119
+ "package": "lit"
13120
+ },
13121
+ "tagName": "fhi-body",
13122
+ "customElement": true
13123
+ },
13124
+ {
13125
+ "kind": "variable",
13126
+ "name": "FhiBodySelector",
13127
+ "type": {
13128
+ "text": "string"
13129
+ },
13130
+ "default": "'fhi-body'"
13131
+ }
13132
+ ],
13133
+ "exports": [
13134
+ {
13135
+ "kind": "custom-element-definition",
13136
+ "name": "",
13137
+ "declaration": {
13138
+ "name": "FhiBody",
13139
+ "module": "src/components/typography/fhi-body/fhi-body.component.ts"
13140
+ }
13141
+ },
13142
+ {
13143
+ "kind": "js",
13144
+ "name": "FhiBody",
13145
+ "declaration": {
13146
+ "name": "FhiBody",
13147
+ "module": "src/components/typography/fhi-body/fhi-body.component.ts"
13148
+ }
13149
+ },
13150
+ {
13151
+ "kind": "js",
13152
+ "name": "FhiBodySelector",
13153
+ "declaration": {
13154
+ "name": "FhiBodySelector",
13155
+ "module": "src/components/typography/fhi-body/fhi-body.component.ts"
13156
+ }
13157
+ }
13158
+ ]
13159
+ },
13160
+ {
13161
+ "kind": "javascript-module",
13162
+ "path": "src/components/typography/fhi-display/fhi-display.component.ts",
13163
+ "declarations": [
13164
+ {
13165
+ "kind": "class",
13166
+ "description": "## FHI Display\n\nhttps://designsystem.fhi.no/?path=/story/komponenter-typography-display--preview\n\nThe `<fhi-display>` component is used to display large headline text in accordance with the FHI Design System guidelines.\nUse this component instead of the standard HTML heading elements, `<h1>` - `<h6>`, to ensure consistent styling across your application.",
13167
+ "name": "FhiDisplay",
13168
+ "slots": [
13169
+ {
13170
+ "description": "The content of the fhi-display component. This should be pure text.",
13171
+ "name": ""
13172
+ }
13173
+ ],
13174
+ "members": [
13175
+ {
13176
+ "kind": "field",
13177
+ "name": "color",
13178
+ "type": {
13179
+ "text": "string"
13180
+ },
13181
+ "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-display color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-display>\n```",
13182
+ "attribute": "color"
13183
+ },
13184
+ {
13185
+ "kind": "field",
13186
+ "name": "level",
13187
+ "type": {
13188
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
13189
+ },
13190
+ "description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
13191
+ "attribute": "level"
13192
+ },
13193
+ {
13194
+ "kind": "field",
13195
+ "name": "size",
13196
+ "type": {
13197
+ "text": "'large' | 'medium' | 'small'"
13198
+ },
13199
+ "default": "'medium'",
13200
+ "description": "Sets the font size of the given text.",
13201
+ "reflects": true,
13202
+ "attribute": "size"
13203
+ }
13204
+ ],
13205
+ "attributes": [
13206
+ {
13207
+ "name": "color",
13208
+ "type": {
13209
+ "text": "string"
13210
+ },
13211
+ "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-display color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-display>\n```",
13212
+ "fieldName": "color"
13213
+ },
13214
+ {
13215
+ "name": "level",
13216
+ "type": {
13217
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
13218
+ },
13219
+ "description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
13220
+ "fieldName": "level"
13221
+ },
13222
+ {
13223
+ "name": "size",
13224
+ "type": {
13225
+ "text": "'large' | 'medium' | 'small'"
13226
+ },
13227
+ "default": "'medium'",
13228
+ "description": "Sets the font size of the given text.",
13229
+ "fieldName": "size"
13230
+ }
13231
+ ],
13232
+ "superclass": {
13233
+ "name": "LitElement",
13234
+ "package": "lit"
13235
+ },
13236
+ "tagName": "fhi-display",
13237
+ "customElement": true
13238
+ },
13239
+ {
13240
+ "kind": "variable",
13241
+ "name": "FhiDisplaySelector",
13242
+ "type": {
13243
+ "text": "string"
13244
+ },
13245
+ "default": "'fhi-display'"
13246
+ }
13247
+ ],
13248
+ "exports": [
13249
+ {
13250
+ "kind": "custom-element-definition",
13251
+ "name": "",
13252
+ "declaration": {
13253
+ "name": "FhiDisplay",
13254
+ "module": "src/components/typography/fhi-display/fhi-display.component.ts"
13255
+ }
13256
+ },
13257
+ {
13258
+ "kind": "js",
13259
+ "name": "FhiDisplay",
13260
+ "declaration": {
13261
+ "name": "FhiDisplay",
13262
+ "module": "src/components/typography/fhi-display/fhi-display.component.ts"
13263
+ }
13264
+ },
13265
+ {
13266
+ "kind": "js",
13267
+ "name": "FhiDisplaySelector",
13268
+ "declaration": {
13269
+ "name": "FhiDisplaySelector",
13270
+ "module": "src/components/typography/fhi-display/fhi-display.component.ts"
13271
+ }
13272
+ }
13273
+ ]
13274
+ },
13275
+ {
13276
+ "kind": "javascript-module",
13277
+ "path": "src/components/typography/fhi-headline/fhi-headline.component.ts",
13278
+ "declarations": [
13279
+ {
13280
+ "kind": "class",
13281
+ "description": "## FHI Headline\n\nhttps://designsystem.fhi.no/?path=/story/komponenter-typography-headline--preview\n\nThe `<fhi-headline>` component is used to display headline text in accordance with the FHI Design System guidelines.\nUse this component instead of the standard HTML heading elements, `<h1>` - `<h6>`, to ensure consistent styling across your application.",
13282
+ "name": "FhiHeadline",
13283
+ "slots": [
13284
+ {
13285
+ "description": "The content of the fhi-headline component. This should be pure text.",
13286
+ "name": ""
13287
+ }
13288
+ ],
13289
+ "members": [
13290
+ {
13291
+ "kind": "field",
13292
+ "name": "color",
13293
+ "type": {
13294
+ "text": "string"
13295
+ },
13296
+ "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-headline color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-headline>\n```",
13297
+ "attribute": "color"
13298
+ },
13299
+ {
13300
+ "kind": "field",
13301
+ "name": "level",
13302
+ "type": {
13303
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
13304
+ },
13305
+ "description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
13306
+ "attribute": "level"
13307
+ },
13308
+ {
13309
+ "kind": "field",
13310
+ "name": "size",
13311
+ "type": {
13312
+ "text": "'large' | 'medium' | 'small'"
13313
+ },
13314
+ "default": "'medium'",
13315
+ "description": "Sets the size of the text styles.",
13316
+ "reflects": true,
13317
+ "attribute": "size"
13318
+ }
13319
+ ],
13320
+ "attributes": [
13321
+ {
13322
+ "name": "color",
13323
+ "type": {
13324
+ "text": "string"
13325
+ },
13326
+ "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-headline color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-headline>\n```",
13327
+ "fieldName": "color"
13328
+ },
13329
+ {
13330
+ "name": "level",
13331
+ "type": {
13332
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
13333
+ },
13334
+ "description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
13335
+ "fieldName": "level"
13336
+ },
13337
+ {
13338
+ "name": "size",
13339
+ "type": {
13340
+ "text": "'large' | 'medium' | 'small'"
13341
+ },
13342
+ "default": "'medium'",
13343
+ "description": "Sets the size of the text styles.",
13344
+ "fieldName": "size"
13345
+ }
13346
+ ],
13347
+ "superclass": {
13348
+ "name": "LitElement",
13349
+ "package": "lit"
13350
+ },
13351
+ "tagName": "fhi-headline",
13352
+ "customElement": true
13353
+ },
13354
+ {
13355
+ "kind": "variable",
13356
+ "name": "FhiHeadlineSelector",
13357
+ "type": {
13358
+ "text": "string"
13359
+ },
13360
+ "default": "'fhi-headline'"
13361
+ }
13362
+ ],
13363
+ "exports": [
13364
+ {
13365
+ "kind": "custom-element-definition",
13366
+ "name": "",
13367
+ "declaration": {
13368
+ "name": "FhiHeadline",
13369
+ "module": "src/components/typography/fhi-headline/fhi-headline.component.ts"
13370
+ }
13371
+ },
13372
+ {
13373
+ "kind": "js",
13374
+ "name": "FhiHeadline",
13375
+ "declaration": {
13376
+ "name": "FhiHeadline",
13377
+ "module": "src/components/typography/fhi-headline/fhi-headline.component.ts"
13378
+ }
13379
+ },
13380
+ {
13381
+ "kind": "js",
13382
+ "name": "FhiHeadlineSelector",
13383
+ "declaration": {
13384
+ "name": "FhiHeadlineSelector",
13385
+ "module": "src/components/typography/fhi-headline/fhi-headline.component.ts"
13386
+ }
13387
+ }
13388
+ ]
13389
+ },
13390
+ {
13391
+ "kind": "javascript-module",
13392
+ "path": "src/components/typography/fhi-label/fhi-label.component.ts",
13393
+ "declarations": [
13394
+ {
13395
+ "kind": "class",
13396
+ "description": "## FHI Label\n\nhttps://designsystem.fhi.no/?path=/story/komponenter-typography-label--preview\n\nThe `<fhi-label>` component is used to display label text in accordance with the FHI Design System guidelines.\nUse this component instead of the standard HTML `<label>` element to ensure consistent styling across your application.",
13397
+ "name": "FhiLabel",
13398
+ "slots": [
13399
+ {
13400
+ "description": "The content of the fhi-label component. This should be pure text.",
13401
+ "name": ""
13402
+ }
13403
+ ],
13404
+ "members": [
13405
+ {
13406
+ "kind": "field",
13407
+ "name": "color",
13408
+ "type": {
13409
+ "text": "string"
13410
+ },
13411
+ "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-label color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-label>\n```",
13412
+ "attribute": "color"
13413
+ },
13414
+ {
13415
+ "kind": "field",
13416
+ "name": "size",
13417
+ "type": {
13418
+ "text": "'large' | 'medium' | 'small'"
13419
+ },
13420
+ "default": "'medium'",
13421
+ "description": "Sets the font size of the given text.",
13422
+ "reflects": true,
13423
+ "attribute": "size"
13424
+ }
13425
+ ],
13426
+ "attributes": [
13427
+ {
13428
+ "name": "color",
13429
+ "type": {
13430
+ "text": "string"
13431
+ },
13432
+ "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-label color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-label>\n```",
13433
+ "fieldName": "color"
13434
+ },
13435
+ {
13436
+ "name": "size",
13437
+ "type": {
13438
+ "text": "'large' | 'medium' | 'small'"
13439
+ },
13440
+ "default": "'medium'",
13441
+ "description": "Sets the font size of the given text.",
13442
+ "fieldName": "size"
13443
+ }
13444
+ ],
13445
+ "superclass": {
13446
+ "name": "LitElement",
13447
+ "package": "lit"
13448
+ },
13449
+ "tagName": "fhi-label",
13450
+ "customElement": true
13451
+ },
13452
+ {
13453
+ "kind": "variable",
13454
+ "name": "FhiLabelSelector",
13455
+ "type": {
13456
+ "text": "string"
13457
+ },
13458
+ "default": "'fhi-label'"
13459
+ }
13460
+ ],
13461
+ "exports": [
13462
+ {
13463
+ "kind": "custom-element-definition",
13464
+ "name": "",
13465
+ "declaration": {
13466
+ "name": "FhiLabel",
13467
+ "module": "src/components/typography/fhi-label/fhi-label.component.ts"
13468
+ }
13469
+ },
13470
+ {
13471
+ "kind": "js",
13472
+ "name": "FhiLabel",
13473
+ "declaration": {
13474
+ "name": "FhiLabel",
13475
+ "module": "src/components/typography/fhi-label/fhi-label.component.ts"
13476
+ }
13477
+ },
13478
+ {
13479
+ "kind": "js",
13480
+ "name": "FhiLabelSelector",
13481
+ "declaration": {
13482
+ "name": "FhiLabelSelector",
13483
+ "module": "src/components/typography/fhi-label/fhi-label.component.ts"
13484
+ }
13485
+ }
13486
+ ]
13487
+ },
13488
+ {
13489
+ "kind": "javascript-module",
13490
+ "path": "src/components/typography/fhi-title/fhi-title.component.ts",
13491
+ "declarations": [
13492
+ {
13493
+ "kind": "class",
13494
+ "description": "## FHI Title\n\nhttps://designsystem.fhi.no/?path=/story/komponenter-typography-title--preview\n\nThe `<fhi-title>` component is used to display title text in accordance with the FHI Design System guidelines.\nUse this component instead of the standard HTML heading elements, `<h1>` - `<h6>`, to ensure consistent styling across your application.",
13495
+ "name": "FhiTitle",
13496
+ "slots": [
13497
+ {
13498
+ "description": "The content of the fhi-title component. This should be pure text.",
13499
+ "name": ""
13500
+ }
13501
+ ],
13502
+ "members": [
13503
+ {
13504
+ "kind": "field",
13505
+ "name": "color",
13506
+ "type": {
13507
+ "text": "string"
13508
+ },
13509
+ "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-title color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-title>\n```",
13510
+ "attribute": "color"
13511
+ },
13512
+ {
13513
+ "kind": "field",
13514
+ "name": "level",
13515
+ "type": {
13516
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
13517
+ },
13518
+ "description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
13519
+ "attribute": "level"
13520
+ },
13521
+ {
13522
+ "kind": "field",
13523
+ "name": "size",
13524
+ "type": {
13525
+ "text": "'large' | 'medium' | 'small'"
13526
+ },
13527
+ "default": "'medium'",
13528
+ "description": "Sets the size of the text styles.",
13529
+ "reflects": true,
13530
+ "attribute": "size"
13531
+ }
13532
+ ],
13533
+ "attributes": [
13534
+ {
13535
+ "name": "color",
13536
+ "type": {
13537
+ "text": "string"
13538
+ },
13539
+ "description": "Sets color of the given text. It supports any valid CSS color value (e.g. hex, rgb, rgba, hsl, hsla, color names).\n\nIt is recommended to use Design Tokens for colors defined in the FHI Design System.\nSee: https://designsystem.fhi.no/?path=/docs/design-tokens-farger--docs\n\nExample:\n```html\n <fhi-title color=\"var(--fhi-color-primary-text-default)\">\n This text will be in the primary text color.\n </fhi-title>\n```",
13540
+ "fieldName": "color"
13541
+ },
13542
+ {
13543
+ "name": "level",
13544
+ "type": {
13545
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
13546
+ },
13547
+ "description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
13548
+ "fieldName": "level"
13549
+ },
13550
+ {
13551
+ "name": "size",
13552
+ "type": {
13553
+ "text": "'large' | 'medium' | 'small'"
13554
+ },
13555
+ "default": "'medium'",
13556
+ "description": "Sets the size of the text styles.",
13557
+ "fieldName": "size"
13558
+ }
13559
+ ],
13560
+ "superclass": {
13561
+ "name": "LitElement",
13562
+ "package": "lit"
13563
+ },
13564
+ "tagName": "fhi-title",
13565
+ "customElement": true
13566
+ },
13567
+ {
13568
+ "kind": "variable",
13569
+ "name": "FhiTitleSelector",
13570
+ "type": {
13571
+ "text": "string"
13572
+ },
13573
+ "default": "'fhi-title'"
13574
+ }
13575
+ ],
13576
+ "exports": [
13577
+ {
13578
+ "kind": "custom-element-definition",
13579
+ "name": "",
13580
+ "declaration": {
13581
+ "name": "FhiTitle",
13582
+ "module": "src/components/typography/fhi-title/fhi-title.component.ts"
13583
+ }
13584
+ },
13585
+ {
13586
+ "kind": "js",
13587
+ "name": "FhiTitle",
13588
+ "declaration": {
13589
+ "name": "FhiTitle",
13590
+ "module": "src/components/typography/fhi-title/fhi-title.component.ts"
13591
+ }
13592
+ },
13593
+ {
13594
+ "kind": "js",
13595
+ "name": "FhiTitleSelector",
13596
+ "declaration": {
13597
+ "name": "FhiTitleSelector",
13598
+ "module": "src/components/typography/fhi-title/fhi-title.component.ts"
13599
+ }
13600
+ }
13601
+ ]
13573
13602
  }
13574
13603
  ]
13575
13604
  }