@folkehelseinstituttet/designsystem 0.30.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 +621 -571
- package/fhi-body.js +10 -10
- package/fhi-body.js.map +1 -1
- package/fhi-button.js +12 -8
- package/fhi-button.js.map +1 -1
- package/fhi-date-input.js +62 -24
- package/fhi-date-input.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 +88 -52
- 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 +280 -260
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",
|
|
@@ -269,16 +171,6 @@
|
|
|
269
171
|
"readonly": true,
|
|
270
172
|
"default": "true"
|
|
271
173
|
},
|
|
272
|
-
{
|
|
273
|
-
"kind": "field",
|
|
274
|
-
"name": "iconOnly",
|
|
275
|
-
"type": {
|
|
276
|
-
"text": "boolean"
|
|
277
|
-
},
|
|
278
|
-
"default": "false",
|
|
279
|
-
"description": "Styles the button for icon-only content.\n\nIf you only have an icon as the child of the button, then you should set this property to `true`.",
|
|
280
|
-
"attribute": "icon-only"
|
|
281
|
-
},
|
|
282
174
|
{
|
|
283
175
|
"kind": "field",
|
|
284
176
|
"name": "size",
|
|
@@ -310,6 +202,17 @@
|
|
|
310
202
|
"description": "Sets the button variant. The variant determines the button's visual style and emphasis.\n\nSee: https://designsystem.fhi.no/?path=/docs/komponenter-button--docs#variant",
|
|
311
203
|
"reflects": true,
|
|
312
204
|
"attribute": "variant"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"kind": "field",
|
|
208
|
+
"name": "iconOnly",
|
|
209
|
+
"type": {
|
|
210
|
+
"text": "boolean"
|
|
211
|
+
},
|
|
212
|
+
"default": "false",
|
|
213
|
+
"description": "Styles the button for icon-only content.\n\nIf you only have an icon as the child of the button, then you should set this property to `true`.",
|
|
214
|
+
"deprecated": "This property is deprecated and will be removed in a future release. The button will automatically detect if it only contains an icon and apply the appropriate styling.",
|
|
215
|
+
"attribute": "icon-only"
|
|
313
216
|
}
|
|
314
217
|
],
|
|
315
218
|
"events": [
|
|
@@ -340,15 +243,6 @@
|
|
|
340
243
|
"description": "Disables the button. This changes its appearance and makes it non-interactive.",
|
|
341
244
|
"fieldName": "disabled"
|
|
342
245
|
},
|
|
343
|
-
{
|
|
344
|
-
"name": "icon-only",
|
|
345
|
-
"type": {
|
|
346
|
-
"text": "boolean"
|
|
347
|
-
},
|
|
348
|
-
"default": "false",
|
|
349
|
-
"description": "Styles the button for icon-only content.\n\nIf you only have an icon as the child of the button, then you should set this property to `true`.",
|
|
350
|
-
"fieldName": "iconOnly"
|
|
351
|
-
},
|
|
352
246
|
{
|
|
353
247
|
"name": "size",
|
|
354
248
|
"type": {
|
|
@@ -375,6 +269,16 @@
|
|
|
375
269
|
"default": "'strong'",
|
|
376
270
|
"description": "Sets the button variant. The variant determines the button's visual style and emphasis.\n\nSee: https://designsystem.fhi.no/?path=/docs/komponenter-button--docs#variant",
|
|
377
271
|
"fieldName": "variant"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"name": "icon-only",
|
|
275
|
+
"type": {
|
|
276
|
+
"text": "boolean"
|
|
277
|
+
},
|
|
278
|
+
"default": "false",
|
|
279
|
+
"description": "Styles the button for icon-only content.\n\nIf you only have an icon as the child of the button, then you should set this property to `true`.",
|
|
280
|
+
"deprecated": "This property is deprecated and will be removed in a future release. The button will automatically detect if it only contains an icon and apply the appropriate styling.",
|
|
281
|
+
"fieldName": "iconOnly"
|
|
378
282
|
}
|
|
379
283
|
],
|
|
380
284
|
"superclass": {
|
|
@@ -823,6 +727,16 @@
|
|
|
823
727
|
}
|
|
824
728
|
}
|
|
825
729
|
},
|
|
730
|
+
{
|
|
731
|
+
"kind": "field",
|
|
732
|
+
"name": "helpText",
|
|
733
|
+
"type": {
|
|
734
|
+
"text": "string"
|
|
735
|
+
},
|
|
736
|
+
"default": "undefined",
|
|
737
|
+
"description": "The help-text shown above the input field.\nThis is often used to provide additional information to the user.",
|
|
738
|
+
"attribute": "help-text"
|
|
739
|
+
},
|
|
826
740
|
{
|
|
827
741
|
"kind": "field",
|
|
828
742
|
"name": "label",
|
|
@@ -931,6 +845,15 @@
|
|
|
931
845
|
"description": "Disables the input. This changes its appearance and makes it non-interactive.",
|
|
932
846
|
"fieldName": "disabled"
|
|
933
847
|
},
|
|
848
|
+
{
|
|
849
|
+
"name": "help-text",
|
|
850
|
+
"type": {
|
|
851
|
+
"text": "string"
|
|
852
|
+
},
|
|
853
|
+
"default": "undefined",
|
|
854
|
+
"description": "The help-text shown above the input field.\nThis is often used to provide additional information to the user.",
|
|
855
|
+
"fieldName": "helpText"
|
|
856
|
+
},
|
|
934
857
|
{
|
|
935
858
|
"name": "label",
|
|
936
859
|
"type": {
|
|
@@ -1045,121 +968,6 @@
|
|
|
1045
968
|
}
|
|
1046
969
|
]
|
|
1047
970
|
},
|
|
1048
|
-
{
|
|
1049
|
-
"kind": "javascript-module",
|
|
1050
|
-
"path": "src/components/fhi-display/fhi-display.component.ts",
|
|
1051
|
-
"declarations": [
|
|
1052
|
-
{
|
|
1053
|
-
"kind": "class",
|
|
1054
|
-
"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.",
|
|
1055
|
-
"name": "FhiDisplay",
|
|
1056
|
-
"slots": [
|
|
1057
|
-
{
|
|
1058
|
-
"description": "The content of the fhi-display component. This should be pure text.",
|
|
1059
|
-
"name": ""
|
|
1060
|
-
}
|
|
1061
|
-
],
|
|
1062
|
-
"members": [
|
|
1063
|
-
{
|
|
1064
|
-
"kind": "field",
|
|
1065
|
-
"name": "color",
|
|
1066
|
-
"type": {
|
|
1067
|
-
"text": "string"
|
|
1068
|
-
},
|
|
1069
|
-
"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```",
|
|
1070
|
-
"attribute": "color"
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
"kind": "field",
|
|
1074
|
-
"name": "level",
|
|
1075
|
-
"type": {
|
|
1076
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1077
|
-
},
|
|
1078
|
-
"description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
|
|
1079
|
-
"attribute": "level"
|
|
1080
|
-
},
|
|
1081
|
-
{
|
|
1082
|
-
"kind": "field",
|
|
1083
|
-
"name": "size",
|
|
1084
|
-
"type": {
|
|
1085
|
-
"text": "'large' | 'medium' | 'small'"
|
|
1086
|
-
},
|
|
1087
|
-
"default": "'medium'",
|
|
1088
|
-
"description": "Sets the font size of the given text.",
|
|
1089
|
-
"reflects": true,
|
|
1090
|
-
"attribute": "size"
|
|
1091
|
-
}
|
|
1092
|
-
],
|
|
1093
|
-
"attributes": [
|
|
1094
|
-
{
|
|
1095
|
-
"name": "color",
|
|
1096
|
-
"type": {
|
|
1097
|
-
"text": "string"
|
|
1098
|
-
},
|
|
1099
|
-
"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```",
|
|
1100
|
-
"fieldName": "color"
|
|
1101
|
-
},
|
|
1102
|
-
{
|
|
1103
|
-
"name": "level",
|
|
1104
|
-
"type": {
|
|
1105
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1106
|
-
},
|
|
1107
|
-
"description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
|
|
1108
|
-
"fieldName": "level"
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
"name": "size",
|
|
1112
|
-
"type": {
|
|
1113
|
-
"text": "'large' | 'medium' | 'small'"
|
|
1114
|
-
},
|
|
1115
|
-
"default": "'medium'",
|
|
1116
|
-
"description": "Sets the font size of the given text.",
|
|
1117
|
-
"fieldName": "size"
|
|
1118
|
-
}
|
|
1119
|
-
],
|
|
1120
|
-
"superclass": {
|
|
1121
|
-
"name": "LitElement",
|
|
1122
|
-
"package": "lit"
|
|
1123
|
-
},
|
|
1124
|
-
"tagName": "fhi-display",
|
|
1125
|
-
"customElement": true
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
"kind": "variable",
|
|
1129
|
-
"name": "FhiDisplaySelector",
|
|
1130
|
-
"type": {
|
|
1131
|
-
"text": "string"
|
|
1132
|
-
},
|
|
1133
|
-
"default": "'fhi-display'"
|
|
1134
|
-
}
|
|
1135
|
-
],
|
|
1136
|
-
"exports": [
|
|
1137
|
-
{
|
|
1138
|
-
"kind": "custom-element-definition",
|
|
1139
|
-
"name": "",
|
|
1140
|
-
"declaration": {
|
|
1141
|
-
"name": "FhiDisplay",
|
|
1142
|
-
"module": "src/components/fhi-display/fhi-display.component.ts"
|
|
1143
|
-
}
|
|
1144
|
-
},
|
|
1145
|
-
{
|
|
1146
|
-
"kind": "js",
|
|
1147
|
-
"name": "FhiDisplay",
|
|
1148
|
-
"declaration": {
|
|
1149
|
-
"name": "FhiDisplay",
|
|
1150
|
-
"module": "src/components/fhi-display/fhi-display.component.ts"
|
|
1151
|
-
}
|
|
1152
|
-
},
|
|
1153
|
-
{
|
|
1154
|
-
"kind": "js",
|
|
1155
|
-
"name": "FhiDisplaySelector",
|
|
1156
|
-
"declaration": {
|
|
1157
|
-
"name": "FhiDisplaySelector",
|
|
1158
|
-
"module": "src/components/fhi-display/fhi-display.component.ts"
|
|
1159
|
-
}
|
|
1160
|
-
}
|
|
1161
|
-
]
|
|
1162
|
-
},
|
|
1163
971
|
{
|
|
1164
972
|
"kind": "javascript-module",
|
|
1165
973
|
"path": "src/components/fhi-flex/fhi-flex.component.ts",
|
|
@@ -1412,219 +1220,6 @@
|
|
|
1412
1220
|
}
|
|
1413
1221
|
]
|
|
1414
1222
|
},
|
|
1415
|
-
{
|
|
1416
|
-
"kind": "javascript-module",
|
|
1417
|
-
"path": "src/components/fhi-headline/fhi-headline.component.ts",
|
|
1418
|
-
"declarations": [
|
|
1419
|
-
{
|
|
1420
|
-
"kind": "class",
|
|
1421
|
-
"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.",
|
|
1422
|
-
"name": "FhiHeadline",
|
|
1423
|
-
"slots": [
|
|
1424
|
-
{
|
|
1425
|
-
"description": "The content of the fhi-headline component. This should be pure text.",
|
|
1426
|
-
"name": ""
|
|
1427
|
-
}
|
|
1428
|
-
],
|
|
1429
|
-
"members": [
|
|
1430
|
-
{
|
|
1431
|
-
"kind": "field",
|
|
1432
|
-
"name": "color",
|
|
1433
|
-
"type": {
|
|
1434
|
-
"text": "string"
|
|
1435
|
-
},
|
|
1436
|
-
"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```",
|
|
1437
|
-
"attribute": "color"
|
|
1438
|
-
},
|
|
1439
|
-
{
|
|
1440
|
-
"kind": "field",
|
|
1441
|
-
"name": "level",
|
|
1442
|
-
"type": {
|
|
1443
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1444
|
-
},
|
|
1445
|
-
"description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
|
|
1446
|
-
"attribute": "level"
|
|
1447
|
-
},
|
|
1448
|
-
{
|
|
1449
|
-
"kind": "field",
|
|
1450
|
-
"name": "size",
|
|
1451
|
-
"type": {
|
|
1452
|
-
"text": "'large' | 'medium' | 'small'"
|
|
1453
|
-
},
|
|
1454
|
-
"default": "'medium'",
|
|
1455
|
-
"description": "Sets the size of the text styles.",
|
|
1456
|
-
"reflects": true,
|
|
1457
|
-
"attribute": "size"
|
|
1458
|
-
}
|
|
1459
|
-
],
|
|
1460
|
-
"attributes": [
|
|
1461
|
-
{
|
|
1462
|
-
"name": "color",
|
|
1463
|
-
"type": {
|
|
1464
|
-
"text": "string"
|
|
1465
|
-
},
|
|
1466
|
-
"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```",
|
|
1467
|
-
"fieldName": "color"
|
|
1468
|
-
},
|
|
1469
|
-
{
|
|
1470
|
-
"name": "level",
|
|
1471
|
-
"type": {
|
|
1472
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1473
|
-
},
|
|
1474
|
-
"description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
|
|
1475
|
-
"fieldName": "level"
|
|
1476
|
-
},
|
|
1477
|
-
{
|
|
1478
|
-
"name": "size",
|
|
1479
|
-
"type": {
|
|
1480
|
-
"text": "'large' | 'medium' | 'small'"
|
|
1481
|
-
},
|
|
1482
|
-
"default": "'medium'",
|
|
1483
|
-
"description": "Sets the size of the text styles.",
|
|
1484
|
-
"fieldName": "size"
|
|
1485
|
-
}
|
|
1486
|
-
],
|
|
1487
|
-
"superclass": {
|
|
1488
|
-
"name": "LitElement",
|
|
1489
|
-
"package": "lit"
|
|
1490
|
-
},
|
|
1491
|
-
"tagName": "fhi-headline",
|
|
1492
|
-
"customElement": true
|
|
1493
|
-
},
|
|
1494
|
-
{
|
|
1495
|
-
"kind": "variable",
|
|
1496
|
-
"name": "FhiHeadlineSelector",
|
|
1497
|
-
"type": {
|
|
1498
|
-
"text": "string"
|
|
1499
|
-
},
|
|
1500
|
-
"default": "'fhi-headline'"
|
|
1501
|
-
}
|
|
1502
|
-
],
|
|
1503
|
-
"exports": [
|
|
1504
|
-
{
|
|
1505
|
-
"kind": "custom-element-definition",
|
|
1506
|
-
"name": "",
|
|
1507
|
-
"declaration": {
|
|
1508
|
-
"name": "FhiHeadline",
|
|
1509
|
-
"module": "src/components/fhi-headline/fhi-headline.component.ts"
|
|
1510
|
-
}
|
|
1511
|
-
},
|
|
1512
|
-
{
|
|
1513
|
-
"kind": "js",
|
|
1514
|
-
"name": "FhiHeadline",
|
|
1515
|
-
"declaration": {
|
|
1516
|
-
"name": "FhiHeadline",
|
|
1517
|
-
"module": "src/components/fhi-headline/fhi-headline.component.ts"
|
|
1518
|
-
}
|
|
1519
|
-
},
|
|
1520
|
-
{
|
|
1521
|
-
"kind": "js",
|
|
1522
|
-
"name": "FhiHeadlineSelector",
|
|
1523
|
-
"declaration": {
|
|
1524
|
-
"name": "FhiHeadlineSelector",
|
|
1525
|
-
"module": "src/components/fhi-headline/fhi-headline.component.ts"
|
|
1526
|
-
}
|
|
1527
|
-
}
|
|
1528
|
-
]
|
|
1529
|
-
},
|
|
1530
|
-
{
|
|
1531
|
-
"kind": "javascript-module",
|
|
1532
|
-
"path": "src/components/fhi-label/fhi-label.component.ts",
|
|
1533
|
-
"declarations": [
|
|
1534
|
-
{
|
|
1535
|
-
"kind": "class",
|
|
1536
|
-
"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.",
|
|
1537
|
-
"name": "FhiLabel",
|
|
1538
|
-
"slots": [
|
|
1539
|
-
{
|
|
1540
|
-
"description": "The content of the fhi-label component. This should be pure text.",
|
|
1541
|
-
"name": ""
|
|
1542
|
-
}
|
|
1543
|
-
],
|
|
1544
|
-
"members": [
|
|
1545
|
-
{
|
|
1546
|
-
"kind": "field",
|
|
1547
|
-
"name": "color",
|
|
1548
|
-
"type": {
|
|
1549
|
-
"text": "string"
|
|
1550
|
-
},
|
|
1551
|
-
"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```",
|
|
1552
|
-
"attribute": "color"
|
|
1553
|
-
},
|
|
1554
|
-
{
|
|
1555
|
-
"kind": "field",
|
|
1556
|
-
"name": "size",
|
|
1557
|
-
"type": {
|
|
1558
|
-
"text": "'large' | 'medium' | 'small'"
|
|
1559
|
-
},
|
|
1560
|
-
"default": "'medium'",
|
|
1561
|
-
"description": "Sets the font size of the given text.",
|
|
1562
|
-
"reflects": true,
|
|
1563
|
-
"attribute": "size"
|
|
1564
|
-
}
|
|
1565
|
-
],
|
|
1566
|
-
"attributes": [
|
|
1567
|
-
{
|
|
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
|
-
"fieldName": "color"
|
|
1574
|
-
},
|
|
1575
|
-
{
|
|
1576
|
-
"name": "size",
|
|
1577
|
-
"type": {
|
|
1578
|
-
"text": "'large' | 'medium' | 'small'"
|
|
1579
|
-
},
|
|
1580
|
-
"default": "'medium'",
|
|
1581
|
-
"description": "Sets the font size of the given text.",
|
|
1582
|
-
"fieldName": "size"
|
|
1583
|
-
}
|
|
1584
|
-
],
|
|
1585
|
-
"superclass": {
|
|
1586
|
-
"name": "LitElement",
|
|
1587
|
-
"package": "lit"
|
|
1588
|
-
},
|
|
1589
|
-
"tagName": "fhi-label",
|
|
1590
|
-
"customElement": true
|
|
1591
|
-
},
|
|
1592
|
-
{
|
|
1593
|
-
"kind": "variable",
|
|
1594
|
-
"name": "FhiLabelSelector",
|
|
1595
|
-
"type": {
|
|
1596
|
-
"text": "string"
|
|
1597
|
-
},
|
|
1598
|
-
"default": "'fhi-label'"
|
|
1599
|
-
}
|
|
1600
|
-
],
|
|
1601
|
-
"exports": [
|
|
1602
|
-
{
|
|
1603
|
-
"kind": "custom-element-definition",
|
|
1604
|
-
"name": "",
|
|
1605
|
-
"declaration": {
|
|
1606
|
-
"name": "FhiLabel",
|
|
1607
|
-
"module": "src/components/fhi-label/fhi-label.component.ts"
|
|
1608
|
-
}
|
|
1609
|
-
},
|
|
1610
|
-
{
|
|
1611
|
-
"kind": "js",
|
|
1612
|
-
"name": "FhiLabel",
|
|
1613
|
-
"declaration": {
|
|
1614
|
-
"name": "FhiLabel",
|
|
1615
|
-
"module": "src/components/fhi-label/fhi-label.component.ts"
|
|
1616
|
-
}
|
|
1617
|
-
},
|
|
1618
|
-
{
|
|
1619
|
-
"kind": "js",
|
|
1620
|
-
"name": "FhiLabelSelector",
|
|
1621
|
-
"declaration": {
|
|
1622
|
-
"name": "FhiLabelSelector",
|
|
1623
|
-
"module": "src/components/fhi-label/fhi-label.component.ts"
|
|
1624
|
-
}
|
|
1625
|
-
}
|
|
1626
|
-
]
|
|
1627
|
-
},
|
|
1628
1223
|
{
|
|
1629
1224
|
"kind": "javascript-module",
|
|
1630
1225
|
"path": "src/components/fhi-modal-dialog/fhi-modal-dialog.component.ts",
|
|
@@ -2423,6 +2018,16 @@
|
|
|
2423
2018
|
"reflects": true,
|
|
2424
2019
|
"attribute": "disabled"
|
|
2425
2020
|
},
|
|
2021
|
+
{
|
|
2022
|
+
"kind": "field",
|
|
2023
|
+
"name": "formAssociated",
|
|
2024
|
+
"type": {
|
|
2025
|
+
"text": "boolean"
|
|
2026
|
+
},
|
|
2027
|
+
"static": true,
|
|
2028
|
+
"readonly": true,
|
|
2029
|
+
"default": "true"
|
|
2030
|
+
},
|
|
2426
2031
|
{
|
|
2427
2032
|
"kind": "method",
|
|
2428
2033
|
"name": "formResetCallback",
|
|
@@ -2487,6 +2092,16 @@
|
|
|
2487
2092
|
}
|
|
2488
2093
|
]
|
|
2489
2094
|
},
|
|
2095
|
+
{
|
|
2096
|
+
"kind": "field",
|
|
2097
|
+
"name": "helpText",
|
|
2098
|
+
"type": {
|
|
2099
|
+
"text": "string"
|
|
2100
|
+
},
|
|
2101
|
+
"default": "undefined",
|
|
2102
|
+
"description": "The message shown above the input field.\nThis is often used to provide additional information to the user.",
|
|
2103
|
+
"attribute": "help-text"
|
|
2104
|
+
},
|
|
2490
2105
|
{
|
|
2491
2106
|
"kind": "field",
|
|
2492
2107
|
"name": "label",
|
|
@@ -2523,7 +2138,7 @@
|
|
|
2523
2138
|
"type": {
|
|
2524
2139
|
"text": "string"
|
|
2525
2140
|
},
|
|
2526
|
-
"default": "
|
|
2141
|
+
"default": "undefined",
|
|
2527
2142
|
"description": "Sets the placeholder text for the input field.\nThis text is displayed when the input field is empty, providing a hint to the user about the expected input.",
|
|
2528
2143
|
"attribute": "placeholder"
|
|
2529
2144
|
},
|
|
@@ -2585,6 +2200,15 @@
|
|
|
2585
2200
|
"description": "Disables the input. This changes its appearance and makes it non-interactive.",
|
|
2586
2201
|
"fieldName": "disabled"
|
|
2587
2202
|
},
|
|
2203
|
+
{
|
|
2204
|
+
"name": "help-text",
|
|
2205
|
+
"type": {
|
|
2206
|
+
"text": "string"
|
|
2207
|
+
},
|
|
2208
|
+
"default": "undefined",
|
|
2209
|
+
"description": "The message shown above the input field.\nThis is often used to provide additional information to the user.",
|
|
2210
|
+
"fieldName": "helpText"
|
|
2211
|
+
},
|
|
2588
2212
|
{
|
|
2589
2213
|
"name": "label",
|
|
2590
2214
|
"type": {
|
|
@@ -2616,7 +2240,7 @@
|
|
|
2616
2240
|
"type": {
|
|
2617
2241
|
"text": "string"
|
|
2618
2242
|
},
|
|
2619
|
-
"default": "
|
|
2243
|
+
"default": "undefined",
|
|
2620
2244
|
"description": "Sets the placeholder text for the input field.\nThis text is displayed when the input field is empty, providing a hint to the user about the expected input.",
|
|
2621
2245
|
"fieldName": "placeholder"
|
|
2622
2246
|
},
|
|
@@ -2692,146 +2316,31 @@
|
|
|
2692
2316
|
},
|
|
2693
2317
|
{
|
|
2694
2318
|
"kind": "javascript-module",
|
|
2695
|
-
"path": "src/components/fhi-
|
|
2319
|
+
"path": "src/components/fhi-tooltip/fhi-tooltip.component.ts",
|
|
2696
2320
|
"declarations": [
|
|
2697
2321
|
{
|
|
2698
2322
|
"kind": "class",
|
|
2699
|
-
"description": "## FHI
|
|
2700
|
-
"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",
|
|
2701
2325
|
"slots": [
|
|
2702
2326
|
{
|
|
2703
|
-
"description": "The content
|
|
2327
|
+
"description": "The content that will trigger the tooltip.",
|
|
2704
2328
|
"name": ""
|
|
2705
2329
|
}
|
|
2706
2330
|
],
|
|
2707
2331
|
"members": [
|
|
2708
2332
|
{
|
|
2709
2333
|
"kind": "field",
|
|
2710
|
-
"name": "
|
|
2711
|
-
"
|
|
2712
|
-
"text": "string"
|
|
2713
|
-
},
|
|
2714
|
-
"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```",
|
|
2715
|
-
"attribute": "color"
|
|
2334
|
+
"name": "__handlePotentialEscapeKeyPress",
|
|
2335
|
+
"privacy": "private"
|
|
2716
2336
|
},
|
|
2717
2337
|
{
|
|
2718
2338
|
"kind": "field",
|
|
2719
|
-
"name": "
|
|
2339
|
+
"name": "_anchor",
|
|
2720
2340
|
"type": {
|
|
2721
|
-
"text": "
|
|
2341
|
+
"text": "HTMLElement"
|
|
2722
2342
|
},
|
|
2723
|
-
"
|
|
2724
|
-
"attribute": "level"
|
|
2725
|
-
},
|
|
2726
|
-
{
|
|
2727
|
-
"kind": "field",
|
|
2728
|
-
"name": "size",
|
|
2729
|
-
"type": {
|
|
2730
|
-
"text": "'large' | 'medium' | 'small'"
|
|
2731
|
-
},
|
|
2732
|
-
"default": "'medium'",
|
|
2733
|
-
"description": "Sets the size of the text styles.",
|
|
2734
|
-
"reflects": true,
|
|
2735
|
-
"attribute": "size"
|
|
2736
|
-
}
|
|
2737
|
-
],
|
|
2738
|
-
"attributes": [
|
|
2739
|
-
{
|
|
2740
|
-
"name": "color",
|
|
2741
|
-
"type": {
|
|
2742
|
-
"text": "string"
|
|
2743
|
-
},
|
|
2744
|
-
"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```",
|
|
2745
|
-
"fieldName": "color"
|
|
2746
|
-
},
|
|
2747
|
-
{
|
|
2748
|
-
"name": "level",
|
|
2749
|
-
"type": {
|
|
2750
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2751
|
-
},
|
|
2752
|
-
"description": "Sets the heading level for the text, corresponding to HTML heading elements `<h1>` to `<h6>`.",
|
|
2753
|
-
"fieldName": "level"
|
|
2754
|
-
},
|
|
2755
|
-
{
|
|
2756
|
-
"name": "size",
|
|
2757
|
-
"type": {
|
|
2758
|
-
"text": "'large' | 'medium' | 'small'"
|
|
2759
|
-
},
|
|
2760
|
-
"default": "'medium'",
|
|
2761
|
-
"description": "Sets the size of the text styles.",
|
|
2762
|
-
"fieldName": "size"
|
|
2763
|
-
}
|
|
2764
|
-
],
|
|
2765
|
-
"superclass": {
|
|
2766
|
-
"name": "LitElement",
|
|
2767
|
-
"package": "lit"
|
|
2768
|
-
},
|
|
2769
|
-
"tagName": "fhi-title",
|
|
2770
|
-
"customElement": true
|
|
2771
|
-
},
|
|
2772
|
-
{
|
|
2773
|
-
"kind": "variable",
|
|
2774
|
-
"name": "FhiTitleSelector",
|
|
2775
|
-
"type": {
|
|
2776
|
-
"text": "string"
|
|
2777
|
-
},
|
|
2778
|
-
"default": "'fhi-title'"
|
|
2779
|
-
}
|
|
2780
|
-
],
|
|
2781
|
-
"exports": [
|
|
2782
|
-
{
|
|
2783
|
-
"kind": "custom-element-definition",
|
|
2784
|
-
"name": "",
|
|
2785
|
-
"declaration": {
|
|
2786
|
-
"name": "FhiTitle",
|
|
2787
|
-
"module": "src/components/fhi-title/fhi-title.component.ts"
|
|
2788
|
-
}
|
|
2789
|
-
},
|
|
2790
|
-
{
|
|
2791
|
-
"kind": "js",
|
|
2792
|
-
"name": "FhiTitle",
|
|
2793
|
-
"declaration": {
|
|
2794
|
-
"name": "FhiTitle",
|
|
2795
|
-
"module": "src/components/fhi-title/fhi-title.component.ts"
|
|
2796
|
-
}
|
|
2797
|
-
},
|
|
2798
|
-
{
|
|
2799
|
-
"kind": "js",
|
|
2800
|
-
"name": "FhiTitleSelector",
|
|
2801
|
-
"declaration": {
|
|
2802
|
-
"name": "FhiTitleSelector",
|
|
2803
|
-
"module": "src/components/fhi-title/fhi-title.component.ts"
|
|
2804
|
-
}
|
|
2805
|
-
}
|
|
2806
|
-
]
|
|
2807
|
-
},
|
|
2808
|
-
{
|
|
2809
|
-
"kind": "javascript-module",
|
|
2810
|
-
"path": "src/components/fhi-tooltip/fhi-tooltip.component.ts",
|
|
2811
|
-
"declarations": [
|
|
2812
|
-
{
|
|
2813
|
-
"kind": "class",
|
|
2814
|
-
"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.",
|
|
2815
|
-
"name": "FhiTooltip",
|
|
2816
|
-
"slots": [
|
|
2817
|
-
{
|
|
2818
|
-
"description": "The content that will trigger the tooltip.",
|
|
2819
|
-
"name": ""
|
|
2820
|
-
}
|
|
2821
|
-
],
|
|
2822
|
-
"members": [
|
|
2823
|
-
{
|
|
2824
|
-
"kind": "field",
|
|
2825
|
-
"name": "__handlePotentialEscapeKeyPress",
|
|
2826
|
-
"privacy": "private"
|
|
2827
|
-
},
|
|
2828
|
-
{
|
|
2829
|
-
"kind": "field",
|
|
2830
|
-
"name": "_anchor",
|
|
2831
|
-
"type": {
|
|
2832
|
-
"text": "HTMLElement"
|
|
2833
|
-
},
|
|
2834
|
-
"privacy": "private"
|
|
2343
|
+
"privacy": "private"
|
|
2835
2344
|
},
|
|
2836
2345
|
{
|
|
2837
2346
|
"kind": "method",
|
|
@@ -13530,6 +13039,547 @@
|
|
|
13530
13039
|
}
|
|
13531
13040
|
}
|
|
13532
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
|
+
]
|
|
13533
13583
|
}
|
|
13534
13584
|
]
|
|
13535
13585
|
}
|