@folkehelseinstituttet/designsystem 0.31.0 → 0.32.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.
- package/custom-elements.json +589 -579
- package/fhi-body.js +10 -10
- package/fhi-body.js.map +1 -1
- package/fhi-button.js +2 -2
- package/fhi-button.js.map +1 -1
- package/fhi-display.js +13 -9
- package/fhi-display.js.map +1 -1
- package/fhi-headline.js +13 -9
- package/fhi-headline.js.map +1 -1
- package/fhi-label.js +10 -10
- package/fhi-label.js.map +1 -1
- package/fhi-modal-dialog.js +2 -2
- package/fhi-modal-dialog.js.map +1 -1
- package/fhi-tag.js +1 -1
- package/fhi-tag.js.map +1 -1
- package/fhi-text-input.js.map +1 -1
- package/fhi-title.js +13 -9
- package/fhi-title.js.map +1 -1
- package/fhi-tooltip.js +397 -395
- package/fhi-tooltip.js.map +1 -1
- package/index.js +354 -354
- package/package.json +12 -47
- package/web-types.json +241 -241
package/custom-elements.json
CHANGED
|
@@ -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",
|
|
@@ -1435,262 +1222,49 @@
|
|
|
1435
1222
|
},
|
|
1436
1223
|
{
|
|
1437
1224
|
"kind": "javascript-module",
|
|
1438
|
-
"path": "src/components/fhi-
|
|
1225
|
+
"path": "src/components/fhi-modal-dialog/fhi-modal-dialog.component.ts",
|
|
1439
1226
|
"declarations": [
|
|
1440
1227
|
{
|
|
1441
1228
|
"kind": "class",
|
|
1442
|
-
"description": "## FHI
|
|
1443
|
-
"name": "
|
|
1229
|
+
"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.",
|
|
1230
|
+
"name": "FhiModalDialog",
|
|
1444
1231
|
"slots": [
|
|
1445
1232
|
{
|
|
1446
|
-
"description": "The content of the
|
|
1447
|
-
"name": ""
|
|
1233
|
+
"description": "The main content of the dialog. Typically contains text or form elements.",
|
|
1234
|
+
"name": "body"
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
"description": "The footer content of the dialog, typically containing action buttons.",
|
|
1238
|
+
"name": "footer"
|
|
1448
1239
|
}
|
|
1449
1240
|
],
|
|
1450
1241
|
"members": [
|
|
1451
1242
|
{
|
|
1452
1243
|
"kind": "field",
|
|
1453
|
-
"name": "
|
|
1244
|
+
"name": "_bodyOverflowStyle",
|
|
1454
1245
|
"type": {
|
|
1455
1246
|
"text": "string"
|
|
1456
1247
|
},
|
|
1457
|
-
"
|
|
1458
|
-
"
|
|
1248
|
+
"privacy": "private",
|
|
1249
|
+
"default": "''"
|
|
1459
1250
|
},
|
|
1460
1251
|
{
|
|
1461
1252
|
"kind": "field",
|
|
1462
|
-
"name": "
|
|
1253
|
+
"name": "_dialog",
|
|
1463
1254
|
"type": {
|
|
1464
|
-
"text": "
|
|
1255
|
+
"text": "HTMLDialogElement"
|
|
1465
1256
|
},
|
|
1466
|
-
"
|
|
1467
|
-
"attribute": "level"
|
|
1257
|
+
"privacy": "private"
|
|
1468
1258
|
},
|
|
1469
1259
|
{
|
|
1470
|
-
"kind": "
|
|
1471
|
-
"name": "
|
|
1472
|
-
"
|
|
1473
|
-
|
|
1474
|
-
},
|
|
1475
|
-
"default": "'medium'",
|
|
1476
|
-
"description": "Sets the size of the text styles.",
|
|
1477
|
-
"reflects": true,
|
|
1478
|
-
"attribute": "size"
|
|
1479
|
-
}
|
|
1480
|
-
],
|
|
1481
|
-
"attributes": [
|
|
1260
|
+
"kind": "method",
|
|
1261
|
+
"name": "_dispatchCloseEvent",
|
|
1262
|
+
"privacy": "private"
|
|
1263
|
+
},
|
|
1482
1264
|
{
|
|
1483
|
-
"
|
|
1484
|
-
"
|
|
1485
|
-
|
|
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"
|
|
1684
|
-
},
|
|
1685
|
-
{
|
|
1686
|
-
"kind": "method",
|
|
1687
|
-
"name": "_dispatchCloseEvent",
|
|
1688
|
-
"privacy": "private"
|
|
1689
|
-
},
|
|
1690
|
-
{
|
|
1691
|
-
"kind": "method",
|
|
1692
|
-
"name": "_dispatchToggleEvent",
|
|
1693
|
-
"privacy": "private"
|
|
1265
|
+
"kind": "method",
|
|
1266
|
+
"name": "_dispatchToggleEvent",
|
|
1267
|
+
"privacy": "private"
|
|
1694
1268
|
},
|
|
1695
1269
|
{
|
|
1696
1270
|
"kind": "method",
|
|
@@ -2444,6 +2018,16 @@
|
|
|
2444
2018
|
"reflects": true,
|
|
2445
2019
|
"attribute": "disabled"
|
|
2446
2020
|
},
|
|
2021
|
+
{
|
|
2022
|
+
"kind": "field",
|
|
2023
|
+
"name": "formAssociated",
|
|
2024
|
+
"type": {
|
|
2025
|
+
"text": "boolean"
|
|
2026
|
+
},
|
|
2027
|
+
"static": true,
|
|
2028
|
+
"readonly": true,
|
|
2029
|
+
"default": "true"
|
|
2030
|
+
},
|
|
2447
2031
|
{
|
|
2448
2032
|
"kind": "method",
|
|
2449
2033
|
"name": "formResetCallback",
|
|
@@ -2732,156 +2316,41 @@
|
|
|
2732
2316
|
},
|
|
2733
2317
|
{
|
|
2734
2318
|
"kind": "javascript-module",
|
|
2735
|
-
"path": "src/components/fhi-
|
|
2319
|
+
"path": "src/components/fhi-tooltip/fhi-tooltip.component.ts",
|
|
2736
2320
|
"declarations": [
|
|
2737
2321
|
{
|
|
2738
2322
|
"kind": "class",
|
|
2739
|
-
"description": "## FHI
|
|
2740
|
-
"name": "
|
|
2323
|
+
"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.",
|
|
2324
|
+
"name": "FhiTooltip",
|
|
2741
2325
|
"slots": [
|
|
2742
2326
|
{
|
|
2743
|
-
"description": "The content
|
|
2327
|
+
"description": "The content that will trigger the tooltip.",
|
|
2744
2328
|
"name": ""
|
|
2745
2329
|
}
|
|
2746
2330
|
],
|
|
2747
2331
|
"members": [
|
|
2748
2332
|
{
|
|
2749
2333
|
"kind": "field",
|
|
2750
|
-
"name": "
|
|
2751
|
-
"
|
|
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"
|
|
2334
|
+
"name": "__handlePotentialEscapeKeyPress",
|
|
2335
|
+
"privacy": "private"
|
|
2756
2336
|
},
|
|
2757
2337
|
{
|
|
2758
2338
|
"kind": "field",
|
|
2759
|
-
"name": "
|
|
2339
|
+
"name": "_anchor",
|
|
2760
2340
|
"type": {
|
|
2761
|
-
"text": "
|
|
2341
|
+
"text": "HTMLElement"
|
|
2762
2342
|
},
|
|
2763
|
-
"
|
|
2764
|
-
"attribute": "level"
|
|
2343
|
+
"privacy": "private"
|
|
2765
2344
|
},
|
|
2766
2345
|
{
|
|
2767
|
-
"kind": "
|
|
2768
|
-
"name": "
|
|
2769
|
-
"
|
|
2770
|
-
|
|
2771
|
-
},
|
|
2772
|
-
"default": "'medium'",
|
|
2773
|
-
"description": "Sets the size of the text styles.",
|
|
2774
|
-
"reflects": true,
|
|
2775
|
-
"attribute": "size"
|
|
2776
|
-
}
|
|
2777
|
-
],
|
|
2778
|
-
"attributes": [
|
|
2346
|
+
"kind": "method",
|
|
2347
|
+
"name": "_handleClick",
|
|
2348
|
+
"privacy": "private"
|
|
2349
|
+
},
|
|
2779
2350
|
{
|
|
2780
|
-
"
|
|
2781
|
-
"
|
|
2782
|
-
|
|
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"
|
|
2351
|
+
"kind": "method",
|
|
2352
|
+
"name": "_handleMouseEnter",
|
|
2353
|
+
"privacy": "private"
|
|
2885
2354
|
},
|
|
2886
2355
|
{
|
|
2887
2356
|
"kind": "method",
|
|
@@ -13570,6 +13039,547 @@
|
|
|
13570
13039
|
}
|
|
13571
13040
|
}
|
|
13572
13041
|
]
|
|
13042
|
+
},
|
|
13043
|
+
{
|
|
13044
|
+
"kind": "javascript-module",
|
|
13045
|
+
"path": "src/components/typography/fhi-body/fhi-body.component.ts",
|
|
13046
|
+
"declarations": [
|
|
13047
|
+
{
|
|
13048
|
+
"kind": "class",
|
|
13049
|
+
"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.",
|
|
13050
|
+
"name": "FhiBody",
|
|
13051
|
+
"slots": [
|
|
13052
|
+
{
|
|
13053
|
+
"description": "The content of the fhi-body component. This should be pure text.",
|
|
13054
|
+
"name": ""
|
|
13055
|
+
}
|
|
13056
|
+
],
|
|
13057
|
+
"members": [
|
|
13058
|
+
{
|
|
13059
|
+
"kind": "field",
|
|
13060
|
+
"name": "color",
|
|
13061
|
+
"type": {
|
|
13062
|
+
"text": "string"
|
|
13063
|
+
},
|
|
13064
|
+
"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```",
|
|
13065
|
+
"attribute": "color"
|
|
13066
|
+
},
|
|
13067
|
+
{
|
|
13068
|
+
"kind": "field",
|
|
13069
|
+
"name": "size",
|
|
13070
|
+
"type": {
|
|
13071
|
+
"text": "'large' | 'medium' | 'small'"
|
|
13072
|
+
},
|
|
13073
|
+
"default": "'medium'",
|
|
13074
|
+
"description": "Sets the font size of the given text.",
|
|
13075
|
+
"reflects": true,
|
|
13076
|
+
"attribute": "size"
|
|
13077
|
+
}
|
|
13078
|
+
],
|
|
13079
|
+
"attributes": [
|
|
13080
|
+
{
|
|
13081
|
+
"name": "color",
|
|
13082
|
+
"type": {
|
|
13083
|
+
"text": "string"
|
|
13084
|
+
},
|
|
13085
|
+
"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```",
|
|
13086
|
+
"fieldName": "color"
|
|
13087
|
+
},
|
|
13088
|
+
{
|
|
13089
|
+
"name": "size",
|
|
13090
|
+
"type": {
|
|
13091
|
+
"text": "'large' | 'medium' | 'small'"
|
|
13092
|
+
},
|
|
13093
|
+
"default": "'medium'",
|
|
13094
|
+
"description": "Sets the font size of the given text.",
|
|
13095
|
+
"fieldName": "size"
|
|
13096
|
+
}
|
|
13097
|
+
],
|
|
13098
|
+
"superclass": {
|
|
13099
|
+
"name": "LitElement",
|
|
13100
|
+
"package": "lit"
|
|
13101
|
+
},
|
|
13102
|
+
"tagName": "fhi-body",
|
|
13103
|
+
"customElement": true
|
|
13104
|
+
},
|
|
13105
|
+
{
|
|
13106
|
+
"kind": "variable",
|
|
13107
|
+
"name": "FhiBodySelector",
|
|
13108
|
+
"type": {
|
|
13109
|
+
"text": "string"
|
|
13110
|
+
},
|
|
13111
|
+
"default": "'fhi-body'"
|
|
13112
|
+
}
|
|
13113
|
+
],
|
|
13114
|
+
"exports": [
|
|
13115
|
+
{
|
|
13116
|
+
"kind": "custom-element-definition",
|
|
13117
|
+
"name": "",
|
|
13118
|
+
"declaration": {
|
|
13119
|
+
"name": "FhiBody",
|
|
13120
|
+
"module": "src/components/typography/fhi-body/fhi-body.component.ts"
|
|
13121
|
+
}
|
|
13122
|
+
},
|
|
13123
|
+
{
|
|
13124
|
+
"kind": "js",
|
|
13125
|
+
"name": "FhiBody",
|
|
13126
|
+
"declaration": {
|
|
13127
|
+
"name": "FhiBody",
|
|
13128
|
+
"module": "src/components/typography/fhi-body/fhi-body.component.ts"
|
|
13129
|
+
}
|
|
13130
|
+
},
|
|
13131
|
+
{
|
|
13132
|
+
"kind": "js",
|
|
13133
|
+
"name": "FhiBodySelector",
|
|
13134
|
+
"declaration": {
|
|
13135
|
+
"name": "FhiBodySelector",
|
|
13136
|
+
"module": "src/components/typography/fhi-body/fhi-body.component.ts"
|
|
13137
|
+
}
|
|
13138
|
+
}
|
|
13139
|
+
]
|
|
13140
|
+
},
|
|
13141
|
+
{
|
|
13142
|
+
"kind": "javascript-module",
|
|
13143
|
+
"path": "src/components/typography/fhi-display/fhi-display.component.ts",
|
|
13144
|
+
"declarations": [
|
|
13145
|
+
{
|
|
13146
|
+
"kind": "class",
|
|
13147
|
+
"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.",
|
|
13148
|
+
"name": "FhiDisplay",
|
|
13149
|
+
"slots": [
|
|
13150
|
+
{
|
|
13151
|
+
"description": "The content of the fhi-display component. This should be pure text.",
|
|
13152
|
+
"name": ""
|
|
13153
|
+
}
|
|
13154
|
+
],
|
|
13155
|
+
"members": [
|
|
13156
|
+
{
|
|
13157
|
+
"kind": "field",
|
|
13158
|
+
"name": "color",
|
|
13159
|
+
"type": {
|
|
13160
|
+
"text": "string"
|
|
13161
|
+
},
|
|
13162
|
+
"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```",
|
|
13163
|
+
"attribute": "color"
|
|
13164
|
+
},
|
|
13165
|
+
{
|
|
13166
|
+
"kind": "field",
|
|
13167
|
+
"name": "level",
|
|
13168
|
+
"type": {
|
|
13169
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
13170
|
+
},
|
|
13171
|
+
"description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
|
|
13172
|
+
"attribute": "level"
|
|
13173
|
+
},
|
|
13174
|
+
{
|
|
13175
|
+
"kind": "field",
|
|
13176
|
+
"name": "size",
|
|
13177
|
+
"type": {
|
|
13178
|
+
"text": "'large' | 'medium' | 'small'"
|
|
13179
|
+
},
|
|
13180
|
+
"default": "'medium'",
|
|
13181
|
+
"description": "Sets the font size of the given text.",
|
|
13182
|
+
"reflects": true,
|
|
13183
|
+
"attribute": "size"
|
|
13184
|
+
}
|
|
13185
|
+
],
|
|
13186
|
+
"attributes": [
|
|
13187
|
+
{
|
|
13188
|
+
"name": "color",
|
|
13189
|
+
"type": {
|
|
13190
|
+
"text": "string"
|
|
13191
|
+
},
|
|
13192
|
+
"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```",
|
|
13193
|
+
"fieldName": "color"
|
|
13194
|
+
},
|
|
13195
|
+
{
|
|
13196
|
+
"name": "level",
|
|
13197
|
+
"type": {
|
|
13198
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
13199
|
+
},
|
|
13200
|
+
"description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
|
|
13201
|
+
"fieldName": "level"
|
|
13202
|
+
},
|
|
13203
|
+
{
|
|
13204
|
+
"name": "size",
|
|
13205
|
+
"type": {
|
|
13206
|
+
"text": "'large' | 'medium' | 'small'"
|
|
13207
|
+
},
|
|
13208
|
+
"default": "'medium'",
|
|
13209
|
+
"description": "Sets the font size of the given text.",
|
|
13210
|
+
"fieldName": "size"
|
|
13211
|
+
}
|
|
13212
|
+
],
|
|
13213
|
+
"superclass": {
|
|
13214
|
+
"name": "LitElement",
|
|
13215
|
+
"package": "lit"
|
|
13216
|
+
},
|
|
13217
|
+
"tagName": "fhi-display",
|
|
13218
|
+
"customElement": true
|
|
13219
|
+
},
|
|
13220
|
+
{
|
|
13221
|
+
"kind": "variable",
|
|
13222
|
+
"name": "FhiDisplaySelector",
|
|
13223
|
+
"type": {
|
|
13224
|
+
"text": "string"
|
|
13225
|
+
},
|
|
13226
|
+
"default": "'fhi-display'"
|
|
13227
|
+
}
|
|
13228
|
+
],
|
|
13229
|
+
"exports": [
|
|
13230
|
+
{
|
|
13231
|
+
"kind": "custom-element-definition",
|
|
13232
|
+
"name": "",
|
|
13233
|
+
"declaration": {
|
|
13234
|
+
"name": "FhiDisplay",
|
|
13235
|
+
"module": "src/components/typography/fhi-display/fhi-display.component.ts"
|
|
13236
|
+
}
|
|
13237
|
+
},
|
|
13238
|
+
{
|
|
13239
|
+
"kind": "js",
|
|
13240
|
+
"name": "FhiDisplay",
|
|
13241
|
+
"declaration": {
|
|
13242
|
+
"name": "FhiDisplay",
|
|
13243
|
+
"module": "src/components/typography/fhi-display/fhi-display.component.ts"
|
|
13244
|
+
}
|
|
13245
|
+
},
|
|
13246
|
+
{
|
|
13247
|
+
"kind": "js",
|
|
13248
|
+
"name": "FhiDisplaySelector",
|
|
13249
|
+
"declaration": {
|
|
13250
|
+
"name": "FhiDisplaySelector",
|
|
13251
|
+
"module": "src/components/typography/fhi-display/fhi-display.component.ts"
|
|
13252
|
+
}
|
|
13253
|
+
}
|
|
13254
|
+
]
|
|
13255
|
+
},
|
|
13256
|
+
{
|
|
13257
|
+
"kind": "javascript-module",
|
|
13258
|
+
"path": "src/components/typography/fhi-headline/fhi-headline.component.ts",
|
|
13259
|
+
"declarations": [
|
|
13260
|
+
{
|
|
13261
|
+
"kind": "class",
|
|
13262
|
+
"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.",
|
|
13263
|
+
"name": "FhiHeadline",
|
|
13264
|
+
"slots": [
|
|
13265
|
+
{
|
|
13266
|
+
"description": "The content of the fhi-headline component. This should be pure text.",
|
|
13267
|
+
"name": ""
|
|
13268
|
+
}
|
|
13269
|
+
],
|
|
13270
|
+
"members": [
|
|
13271
|
+
{
|
|
13272
|
+
"kind": "field",
|
|
13273
|
+
"name": "color",
|
|
13274
|
+
"type": {
|
|
13275
|
+
"text": "string"
|
|
13276
|
+
},
|
|
13277
|
+
"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```",
|
|
13278
|
+
"attribute": "color"
|
|
13279
|
+
},
|
|
13280
|
+
{
|
|
13281
|
+
"kind": "field",
|
|
13282
|
+
"name": "level",
|
|
13283
|
+
"type": {
|
|
13284
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
13285
|
+
},
|
|
13286
|
+
"description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
|
|
13287
|
+
"attribute": "level"
|
|
13288
|
+
},
|
|
13289
|
+
{
|
|
13290
|
+
"kind": "field",
|
|
13291
|
+
"name": "size",
|
|
13292
|
+
"type": {
|
|
13293
|
+
"text": "'large' | 'medium' | 'small'"
|
|
13294
|
+
},
|
|
13295
|
+
"default": "'medium'",
|
|
13296
|
+
"description": "Sets the size of the text styles.",
|
|
13297
|
+
"reflects": true,
|
|
13298
|
+
"attribute": "size"
|
|
13299
|
+
}
|
|
13300
|
+
],
|
|
13301
|
+
"attributes": [
|
|
13302
|
+
{
|
|
13303
|
+
"name": "color",
|
|
13304
|
+
"type": {
|
|
13305
|
+
"text": "string"
|
|
13306
|
+
},
|
|
13307
|
+
"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```",
|
|
13308
|
+
"fieldName": "color"
|
|
13309
|
+
},
|
|
13310
|
+
{
|
|
13311
|
+
"name": "level",
|
|
13312
|
+
"type": {
|
|
13313
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
13314
|
+
},
|
|
13315
|
+
"description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
|
|
13316
|
+
"fieldName": "level"
|
|
13317
|
+
},
|
|
13318
|
+
{
|
|
13319
|
+
"name": "size",
|
|
13320
|
+
"type": {
|
|
13321
|
+
"text": "'large' | 'medium' | 'small'"
|
|
13322
|
+
},
|
|
13323
|
+
"default": "'medium'",
|
|
13324
|
+
"description": "Sets the size of the text styles.",
|
|
13325
|
+
"fieldName": "size"
|
|
13326
|
+
}
|
|
13327
|
+
],
|
|
13328
|
+
"superclass": {
|
|
13329
|
+
"name": "LitElement",
|
|
13330
|
+
"package": "lit"
|
|
13331
|
+
},
|
|
13332
|
+
"tagName": "fhi-headline",
|
|
13333
|
+
"customElement": true
|
|
13334
|
+
},
|
|
13335
|
+
{
|
|
13336
|
+
"kind": "variable",
|
|
13337
|
+
"name": "FhiHeadlineSelector",
|
|
13338
|
+
"type": {
|
|
13339
|
+
"text": "string"
|
|
13340
|
+
},
|
|
13341
|
+
"default": "'fhi-headline'"
|
|
13342
|
+
}
|
|
13343
|
+
],
|
|
13344
|
+
"exports": [
|
|
13345
|
+
{
|
|
13346
|
+
"kind": "custom-element-definition",
|
|
13347
|
+
"name": "",
|
|
13348
|
+
"declaration": {
|
|
13349
|
+
"name": "FhiHeadline",
|
|
13350
|
+
"module": "src/components/typography/fhi-headline/fhi-headline.component.ts"
|
|
13351
|
+
}
|
|
13352
|
+
},
|
|
13353
|
+
{
|
|
13354
|
+
"kind": "js",
|
|
13355
|
+
"name": "FhiHeadline",
|
|
13356
|
+
"declaration": {
|
|
13357
|
+
"name": "FhiHeadline",
|
|
13358
|
+
"module": "src/components/typography/fhi-headline/fhi-headline.component.ts"
|
|
13359
|
+
}
|
|
13360
|
+
},
|
|
13361
|
+
{
|
|
13362
|
+
"kind": "js",
|
|
13363
|
+
"name": "FhiHeadlineSelector",
|
|
13364
|
+
"declaration": {
|
|
13365
|
+
"name": "FhiHeadlineSelector",
|
|
13366
|
+
"module": "src/components/typography/fhi-headline/fhi-headline.component.ts"
|
|
13367
|
+
}
|
|
13368
|
+
}
|
|
13369
|
+
]
|
|
13370
|
+
},
|
|
13371
|
+
{
|
|
13372
|
+
"kind": "javascript-module",
|
|
13373
|
+
"path": "src/components/typography/fhi-label/fhi-label.component.ts",
|
|
13374
|
+
"declarations": [
|
|
13375
|
+
{
|
|
13376
|
+
"kind": "class",
|
|
13377
|
+
"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.",
|
|
13378
|
+
"name": "FhiLabel",
|
|
13379
|
+
"slots": [
|
|
13380
|
+
{
|
|
13381
|
+
"description": "The content of the fhi-label component. This should be pure text.",
|
|
13382
|
+
"name": ""
|
|
13383
|
+
}
|
|
13384
|
+
],
|
|
13385
|
+
"members": [
|
|
13386
|
+
{
|
|
13387
|
+
"kind": "field",
|
|
13388
|
+
"name": "color",
|
|
13389
|
+
"type": {
|
|
13390
|
+
"text": "string"
|
|
13391
|
+
},
|
|
13392
|
+
"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```",
|
|
13393
|
+
"attribute": "color"
|
|
13394
|
+
},
|
|
13395
|
+
{
|
|
13396
|
+
"kind": "field",
|
|
13397
|
+
"name": "size",
|
|
13398
|
+
"type": {
|
|
13399
|
+
"text": "'large' | 'medium' | 'small'"
|
|
13400
|
+
},
|
|
13401
|
+
"default": "'medium'",
|
|
13402
|
+
"description": "Sets the font size of the given text.",
|
|
13403
|
+
"reflects": true,
|
|
13404
|
+
"attribute": "size"
|
|
13405
|
+
}
|
|
13406
|
+
],
|
|
13407
|
+
"attributes": [
|
|
13408
|
+
{
|
|
13409
|
+
"name": "color",
|
|
13410
|
+
"type": {
|
|
13411
|
+
"text": "string"
|
|
13412
|
+
},
|
|
13413
|
+
"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```",
|
|
13414
|
+
"fieldName": "color"
|
|
13415
|
+
},
|
|
13416
|
+
{
|
|
13417
|
+
"name": "size",
|
|
13418
|
+
"type": {
|
|
13419
|
+
"text": "'large' | 'medium' | 'small'"
|
|
13420
|
+
},
|
|
13421
|
+
"default": "'medium'",
|
|
13422
|
+
"description": "Sets the font size of the given text.",
|
|
13423
|
+
"fieldName": "size"
|
|
13424
|
+
}
|
|
13425
|
+
],
|
|
13426
|
+
"superclass": {
|
|
13427
|
+
"name": "LitElement",
|
|
13428
|
+
"package": "lit"
|
|
13429
|
+
},
|
|
13430
|
+
"tagName": "fhi-label",
|
|
13431
|
+
"customElement": true
|
|
13432
|
+
},
|
|
13433
|
+
{
|
|
13434
|
+
"kind": "variable",
|
|
13435
|
+
"name": "FhiLabelSelector",
|
|
13436
|
+
"type": {
|
|
13437
|
+
"text": "string"
|
|
13438
|
+
},
|
|
13439
|
+
"default": "'fhi-label'"
|
|
13440
|
+
}
|
|
13441
|
+
],
|
|
13442
|
+
"exports": [
|
|
13443
|
+
{
|
|
13444
|
+
"kind": "custom-element-definition",
|
|
13445
|
+
"name": "",
|
|
13446
|
+
"declaration": {
|
|
13447
|
+
"name": "FhiLabel",
|
|
13448
|
+
"module": "src/components/typography/fhi-label/fhi-label.component.ts"
|
|
13449
|
+
}
|
|
13450
|
+
},
|
|
13451
|
+
{
|
|
13452
|
+
"kind": "js",
|
|
13453
|
+
"name": "FhiLabel",
|
|
13454
|
+
"declaration": {
|
|
13455
|
+
"name": "FhiLabel",
|
|
13456
|
+
"module": "src/components/typography/fhi-label/fhi-label.component.ts"
|
|
13457
|
+
}
|
|
13458
|
+
},
|
|
13459
|
+
{
|
|
13460
|
+
"kind": "js",
|
|
13461
|
+
"name": "FhiLabelSelector",
|
|
13462
|
+
"declaration": {
|
|
13463
|
+
"name": "FhiLabelSelector",
|
|
13464
|
+
"module": "src/components/typography/fhi-label/fhi-label.component.ts"
|
|
13465
|
+
}
|
|
13466
|
+
}
|
|
13467
|
+
]
|
|
13468
|
+
},
|
|
13469
|
+
{
|
|
13470
|
+
"kind": "javascript-module",
|
|
13471
|
+
"path": "src/components/typography/fhi-title/fhi-title.component.ts",
|
|
13472
|
+
"declarations": [
|
|
13473
|
+
{
|
|
13474
|
+
"kind": "class",
|
|
13475
|
+
"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.",
|
|
13476
|
+
"name": "FhiTitle",
|
|
13477
|
+
"slots": [
|
|
13478
|
+
{
|
|
13479
|
+
"description": "The content of the fhi-title component. This should be pure text.",
|
|
13480
|
+
"name": ""
|
|
13481
|
+
}
|
|
13482
|
+
],
|
|
13483
|
+
"members": [
|
|
13484
|
+
{
|
|
13485
|
+
"kind": "field",
|
|
13486
|
+
"name": "color",
|
|
13487
|
+
"type": {
|
|
13488
|
+
"text": "string"
|
|
13489
|
+
},
|
|
13490
|
+
"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```",
|
|
13491
|
+
"attribute": "color"
|
|
13492
|
+
},
|
|
13493
|
+
{
|
|
13494
|
+
"kind": "field",
|
|
13495
|
+
"name": "level",
|
|
13496
|
+
"type": {
|
|
13497
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
13498
|
+
},
|
|
13499
|
+
"description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
|
|
13500
|
+
"attribute": "level"
|
|
13501
|
+
},
|
|
13502
|
+
{
|
|
13503
|
+
"kind": "field",
|
|
13504
|
+
"name": "size",
|
|
13505
|
+
"type": {
|
|
13506
|
+
"text": "'large' | 'medium' | 'small'"
|
|
13507
|
+
},
|
|
13508
|
+
"default": "'medium'",
|
|
13509
|
+
"description": "Sets the size of the text styles.",
|
|
13510
|
+
"reflects": true,
|
|
13511
|
+
"attribute": "size"
|
|
13512
|
+
}
|
|
13513
|
+
],
|
|
13514
|
+
"attributes": [
|
|
13515
|
+
{
|
|
13516
|
+
"name": "color",
|
|
13517
|
+
"type": {
|
|
13518
|
+
"text": "string"
|
|
13519
|
+
},
|
|
13520
|
+
"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```",
|
|
13521
|
+
"fieldName": "color"
|
|
13522
|
+
},
|
|
13523
|
+
{
|
|
13524
|
+
"name": "level",
|
|
13525
|
+
"type": {
|
|
13526
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
13527
|
+
},
|
|
13528
|
+
"description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
|
|
13529
|
+
"fieldName": "level"
|
|
13530
|
+
},
|
|
13531
|
+
{
|
|
13532
|
+
"name": "size",
|
|
13533
|
+
"type": {
|
|
13534
|
+
"text": "'large' | 'medium' | 'small'"
|
|
13535
|
+
},
|
|
13536
|
+
"default": "'medium'",
|
|
13537
|
+
"description": "Sets the size of the text styles.",
|
|
13538
|
+
"fieldName": "size"
|
|
13539
|
+
}
|
|
13540
|
+
],
|
|
13541
|
+
"superclass": {
|
|
13542
|
+
"name": "LitElement",
|
|
13543
|
+
"package": "lit"
|
|
13544
|
+
},
|
|
13545
|
+
"tagName": "fhi-title",
|
|
13546
|
+
"customElement": true
|
|
13547
|
+
},
|
|
13548
|
+
{
|
|
13549
|
+
"kind": "variable",
|
|
13550
|
+
"name": "FhiTitleSelector",
|
|
13551
|
+
"type": {
|
|
13552
|
+
"text": "string"
|
|
13553
|
+
},
|
|
13554
|
+
"default": "'fhi-title'"
|
|
13555
|
+
}
|
|
13556
|
+
],
|
|
13557
|
+
"exports": [
|
|
13558
|
+
{
|
|
13559
|
+
"kind": "custom-element-definition",
|
|
13560
|
+
"name": "",
|
|
13561
|
+
"declaration": {
|
|
13562
|
+
"name": "FhiTitle",
|
|
13563
|
+
"module": "src/components/typography/fhi-title/fhi-title.component.ts"
|
|
13564
|
+
}
|
|
13565
|
+
},
|
|
13566
|
+
{
|
|
13567
|
+
"kind": "js",
|
|
13568
|
+
"name": "FhiTitle",
|
|
13569
|
+
"declaration": {
|
|
13570
|
+
"name": "FhiTitle",
|
|
13571
|
+
"module": "src/components/typography/fhi-title/fhi-title.component.ts"
|
|
13572
|
+
}
|
|
13573
|
+
},
|
|
13574
|
+
{
|
|
13575
|
+
"kind": "js",
|
|
13576
|
+
"name": "FhiTitleSelector",
|
|
13577
|
+
"declaration": {
|
|
13578
|
+
"name": "FhiTitleSelector",
|
|
13579
|
+
"module": "src/components/typography/fhi-title/fhi-title.component.ts"
|
|
13580
|
+
}
|
|
13581
|
+
}
|
|
13582
|
+
]
|
|
13573
13583
|
}
|
|
13574
13584
|
]
|
|
13575
13585
|
}
|