@helsenorge/designsystem-react 1.0.0-beta94 → 1.0.0-beta98
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/Button-f6698126.js +2 -0
- package/Button-f6698126.js.map +1 -0
- package/Checkbox-d9b564fd.js +2 -0
- package/Checkbox-d9b564fd.js.map +1 -0
- package/ChevronUp-4b6797ef.js +2 -0
- package/ChevronUp-4b6797ef.js.map +1 -0
- package/Close-007fca15.js +2 -0
- package/Close-007fca15.js.map +1 -0
- package/FormGroup-9ff588a2.js +2 -0
- package/FormGroup-9ff588a2.js.map +1 -0
- package/Icon-89da8de4.js +2 -0
- package/Icon-89da8de4.js.map +1 -0
- package/Input-f331efd2.js +2 -0
- package/Input-f331efd2.js.map +1 -0
- package/Loader-e5b166ea.js +2 -0
- package/Loader-e5b166ea.js.map +1 -0
- package/Modal-08f3c55b.js +2 -0
- package/Modal-08f3c55b.js.map +1 -0
- package/RadioButton-e41b1319.js +2 -0
- package/RadioButton-e41b1319.js.map +1 -0
- package/Textarea-74f821a2.js +2 -0
- package/Textarea-74f821a2.js.map +1 -0
- package/Title-fab4097d.js +2 -0
- package/Title-fab4097d.js.map +1 -0
- package/Validation-c41fc494.js +2 -0
- package/Validation-c41fc494.js.map +1 -0
- package/components/AnchorLink/AnchorLink.d.ts.map +1 -1
- package/components/AnchorLink/index.js +1 -1
- package/components/Avatar/Avatar.d.ts.map +1 -1
- package/components/Avatar/index.js +1 -1
- package/components/Badge/Badge.d.ts.map +1 -1
- package/components/Badge/index.js +1 -1
- package/components/Button/Button.d.ts.map +1 -1
- package/components/Button/index.js +1 -1
- package/components/Button/styles.module.scss +2 -0
- package/components/ButtonWithModal/componentdata.json +19 -0
- package/components/ButtonWithModal/index.js +1 -1
- package/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/components/Checkbox/componentdata.json +9 -9
- package/components/Checkbox/index.js +1 -1
- package/components/Checkbox/styles.module.scss +2 -1
- package/components/Close/Close.d.ts.map +1 -1
- package/components/Close/index.js +1 -1
- package/components/Expander/Expander.d.ts +33 -0
- package/components/Expander/Expander.d.ts.map +1 -0
- package/components/Expander/componentdata.json +237 -0
- package/components/Expander/index.d.ts +4 -0
- package/components/Expander/index.d.ts.map +1 -0
- package/components/Expander/index.js +2 -0
- package/components/Expander/index.js.map +1 -0
- package/components/Expander/styles.module.scss +165 -0
- package/components/Expander/styles.module.scss.d.ts +42 -0
- package/components/ExpanderList/ExpanderList.d.ts.map +1 -1
- package/components/ExpanderList/index.js +1 -1
- package/components/FormExample/FormExample.d.ts +2 -1
- package/components/FormExample/FormExample.d.ts.map +1 -1
- package/components/FormExample/componentdata.json +6 -3
- package/components/FormExample/index.js +1 -1
- package/components/FormExample/index.js.map +1 -1
- package/components/FormGroup/FormGroup.d.ts.map +1 -1
- package/components/FormGroup/componentdata.json +9 -9
- package/components/FormGroup/index.js +1 -1
- package/components/FormGroup/styles.module.scss +2 -2
- package/components/HighlightBox/HighlightBox.d.ts.map +1 -1
- package/components/HighlightBox/index.js +1 -1
- package/components/Icons/AcupunctureBack.js +1 -1
- package/components/Icons/Icon.d.ts.map +1 -1
- package/components/Icons/Icon.js +1 -1
- package/components/Icons/NoEye.js +1 -1
- package/components/Icons/SectionSign.js +1 -1
- package/components/Icons/SpeechBubble.js +1 -1
- package/components/Icons/SupportingPerson.js +1 -1
- package/components/Icons/Syringe.js +1 -1
- package/components/Icons/index.js +1 -1
- package/components/Input/Input.d.ts +55 -0
- package/components/Input/Input.d.ts.map +1 -0
- package/components/Input/componentdata.json +425 -0
- package/components/Input/index.d.ts +4 -0
- package/components/Input/index.d.ts.map +1 -0
- package/components/Input/index.js +2 -0
- package/components/Input/index.js.map +1 -0
- package/components/Input/styles.module.scss +55 -0
- package/components/Input/styles.module.scss.d.ts +23 -0
- package/components/LinkList/LinkList.d.ts.map +1 -1
- package/components/LinkList/index.js +1 -1
- package/components/List/List.d.ts.map +1 -1
- package/components/List/index.js +1 -1
- package/components/Loader/Loader.d.ts.map +1 -1
- package/components/Loader/index.js +1 -1
- package/components/Loader/styles.module.scss +3 -2
- package/components/Logo/Logo.d.ts.map +1 -1
- package/components/Logo/index.js +1 -1
- package/components/Modal/Modal.d.ts +2 -0
- package/components/Modal/Modal.d.ts.map +1 -1
- package/components/Modal/componentdata.json +19 -0
- package/components/Modal/index.js +1 -1
- package/components/NotificationPanel/NotificationPanel.d.ts.map +1 -1
- package/components/NotificationPanel/index.js +1 -1
- package/components/Portal/index.d.ts.map +1 -1
- package/components/Portal/index.js +1 -1
- package/components/RadioButton/RadioButton.d.ts.map +1 -1
- package/components/RadioButton/componentdata.json +9 -9
- package/components/RadioButton/index.js +1 -1
- package/components/RadioButton/styles.module.scss +2 -2
- package/components/Slider/Slider.d.ts.map +1 -1
- package/components/Slider/index.js +1 -1
- package/components/Spacer/Spacer.d.ts.map +1 -1
- package/components/Spacer/index.js +1 -1
- package/components/Textarea/Textarea.d.ts +4 -0
- package/components/Textarea/Textarea.d.ts.map +1 -1
- package/components/Textarea/componentdata.json +44 -6
- package/components/Textarea/index.js +1 -1
- package/components/Textarea/styles.module.scss +13 -110
- package/components/Textarea/styles.module.scss.d.ts +13 -8
- package/components/Tile/Tile.d.ts.map +1 -1
- package/components/Tile/index.js +1 -1
- package/components/Title/Title.d.ts.map +1 -1
- package/components/Title/index.js +1 -1
- package/components/Validation/Validation.d.ts.map +1 -1
- package/components/Validation/componentdata.json +3 -3
- package/components/Validation/index.js +1 -1
- package/constants-ad6c82db.js +2 -0
- package/constants-ad6c82db.js.map +1 -0
- package/constants.d.ts +38 -8
- package/constants.d.ts.map +1 -1
- package/hooks/useFocusToggle.d.ts +14 -0
- package/hooks/useFocusToggle.d.ts.map +1 -0
- package/hooks/useIcons.d.ts +4 -0
- package/hooks/useIcons.d.ts.map +1 -0
- package/hooks/useIntersectionObserver.d.ts +11 -0
- package/hooks/useIntersectionObserver.d.ts.map +1 -0
- package/hooks/useIsVisible.d.ts +10 -0
- package/hooks/useIsVisible.d.ts.map +1 -0
- package/hooks/useLayoutEvent.d.ts +9 -0
- package/hooks/useLayoutEvent.d.ts.map +1 -0
- package/hooks/useSticky.d.ts +21 -0
- package/hooks/useSticky.d.ts.map +1 -0
- package/index.js +1 -1
- package/package.json +1 -1
- package/scss/_input.scss +174 -0
- package/utils/debounce.d.ts +8 -0
- package/utils/debounce.d.ts.map +1 -0
- package/Button-72f96290.js +0 -2
- package/Button-72f96290.js.map +0 -1
- package/Checkbox-0ba01292.js +0 -2
- package/Checkbox-0ba01292.js.map +0 -1
- package/Close-80751ae6.js +0 -2
- package/Close-80751ae6.js.map +0 -1
- package/FormGroup-68288be3.js +0 -2
- package/FormGroup-68288be3.js.map +0 -1
- package/Icon-9b4a8a2d.js +0 -2
- package/Icon-9b4a8a2d.js.map +0 -1
- package/Loader-b3fd59f4.js +0 -2
- package/Loader-b3fd59f4.js.map +0 -1
- package/Modal-6b4a2c9c.js +0 -2
- package/Modal-6b4a2c9c.js.map +0 -1
- package/RadioButton-84ca988e.js +0 -2
- package/RadioButton-84ca988e.js.map +0 -1
- package/Textarea-9c91191a.js +0 -2
- package/Textarea-9c91191a.js.map +0 -1
- package/Title-90910763.js +0 -2
- package/Title-90910763.js.map +0 -1
- package/Validation-ef9ee0ae.js +0 -2
- package/Validation-ef9ee0ae.js.map +0 -1
- package/constants-a4b0b501.js +0 -2
- package/constants-a4b0b501.js.map +0 -1
- package/hooks/useVisibility.d.ts +0 -3
- package/hooks/useVisibility.d.ts.map +0 -1
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
{
|
|
2
|
+
"props": {
|
|
3
|
+
"defaultValue": {
|
|
4
|
+
"defaultValue": null,
|
|
5
|
+
"description": "initial value for input",
|
|
6
|
+
"name": "defaultValue",
|
|
7
|
+
"parent": {
|
|
8
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
9
|
+
"name": "InputProps"
|
|
10
|
+
},
|
|
11
|
+
"declarations": [
|
|
12
|
+
{
|
|
13
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
14
|
+
"name": "InputProps"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"required": false,
|
|
18
|
+
"type": {
|
|
19
|
+
"name": "string"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"placeholder": {
|
|
23
|
+
"defaultValue": null,
|
|
24
|
+
"description": "Text for the placeholder",
|
|
25
|
+
"name": "placeholder",
|
|
26
|
+
"parent": {
|
|
27
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
28
|
+
"name": "InputProps"
|
|
29
|
+
},
|
|
30
|
+
"declarations": [
|
|
31
|
+
{
|
|
32
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
33
|
+
"name": "InputProps"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"required": false,
|
|
37
|
+
"type": {
|
|
38
|
+
"name": "string"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"type": {
|
|
42
|
+
"defaultValue": null,
|
|
43
|
+
"description": "HMTL Input type",
|
|
44
|
+
"name": "type",
|
|
45
|
+
"parent": {
|
|
46
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
47
|
+
"name": "InputProps"
|
|
48
|
+
},
|
|
49
|
+
"declarations": [
|
|
50
|
+
{
|
|
51
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
52
|
+
"name": "InputProps"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"required": false,
|
|
56
|
+
"type": {
|
|
57
|
+
"name": "enum",
|
|
58
|
+
"raw": "\"number\" | \"text\" | \"email\" | \"password\" | \"search\" | \"tel\" | \"url\" | undefined",
|
|
59
|
+
"value": [
|
|
60
|
+
{
|
|
61
|
+
"value": "undefined"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"value": "\"number\""
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"value": "\"text\""
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"value": "\"email\""
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"value": "\"password\""
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"value": "\"search\""
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"value": "\"tel\""
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"value": "\"url\""
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"inputid": {
|
|
88
|
+
"defaultValue": null,
|
|
89
|
+
"description": "input id",
|
|
90
|
+
"name": "inputid",
|
|
91
|
+
"parent": {
|
|
92
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
93
|
+
"name": "InputProps"
|
|
94
|
+
},
|
|
95
|
+
"declarations": [
|
|
96
|
+
{
|
|
97
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
98
|
+
"name": "InputProps"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"required": false,
|
|
102
|
+
"type": {
|
|
103
|
+
"name": "string"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"name": {
|
|
107
|
+
"defaultValue": null,
|
|
108
|
+
"description": "Unique identifyer for the input tag",
|
|
109
|
+
"name": "name",
|
|
110
|
+
"parent": {
|
|
111
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
112
|
+
"name": "InputProps"
|
|
113
|
+
},
|
|
114
|
+
"declarations": [
|
|
115
|
+
{
|
|
116
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
117
|
+
"name": "InputProps"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"required": false,
|
|
121
|
+
"type": {
|
|
122
|
+
"name": "string"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"transparent": {
|
|
126
|
+
"defaultValue": null,
|
|
127
|
+
"description": "If true, the component will be transparent.",
|
|
128
|
+
"name": "transparent",
|
|
129
|
+
"parent": {
|
|
130
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
131
|
+
"name": "InputProps"
|
|
132
|
+
},
|
|
133
|
+
"declarations": [
|
|
134
|
+
{
|
|
135
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
136
|
+
"name": "InputProps"
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"required": false,
|
|
140
|
+
"type": {
|
|
141
|
+
"name": "boolean"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"icon": {
|
|
145
|
+
"defaultValue": null,
|
|
146
|
+
"description": "Icon to be displayed next to the input field",
|
|
147
|
+
"name": "icon",
|
|
148
|
+
"parent": {
|
|
149
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
150
|
+
"name": "InputProps"
|
|
151
|
+
},
|
|
152
|
+
"declarations": [
|
|
153
|
+
{
|
|
154
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
155
|
+
"name": "InputProps"
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"required": false,
|
|
159
|
+
"type": {
|
|
160
|
+
"name": "FC<SvgPathProps>"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"iconRight": {
|
|
164
|
+
"defaultValue": null,
|
|
165
|
+
"description": "Places the icon to the right",
|
|
166
|
+
"name": "iconRight",
|
|
167
|
+
"parent": {
|
|
168
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
169
|
+
"name": "InputProps"
|
|
170
|
+
},
|
|
171
|
+
"declarations": [
|
|
172
|
+
{
|
|
173
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
174
|
+
"name": "InputProps"
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"required": false,
|
|
178
|
+
"type": {
|
|
179
|
+
"name": "boolean"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"mode": {
|
|
183
|
+
"defaultValue": null,
|
|
184
|
+
"description": "Changes the color profile of the input",
|
|
185
|
+
"name": "mode",
|
|
186
|
+
"parent": {
|
|
187
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
188
|
+
"name": "InputProps"
|
|
189
|
+
},
|
|
190
|
+
"declarations": [
|
|
191
|
+
{
|
|
192
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
193
|
+
"name": "InputProps"
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"required": false,
|
|
197
|
+
"type": {
|
|
198
|
+
"name": "enum",
|
|
199
|
+
"raw": "\"onwhite\" | \"ongrey\" | \"onblueberry\" | \"ondark\" | \"oninvalid\" | undefined",
|
|
200
|
+
"value": [
|
|
201
|
+
{
|
|
202
|
+
"value": "undefined"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"value": "\"onwhite\""
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"value": "\"ongrey\""
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"value": "\"onblueberry\""
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"value": "\"ondark\""
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"value": "\"oninvalid\""
|
|
218
|
+
}
|
|
219
|
+
]
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"variant": {
|
|
223
|
+
"defaultValue": null,
|
|
224
|
+
"description": "Changes the visuals of the input",
|
|
225
|
+
"name": "variant",
|
|
226
|
+
"parent": {
|
|
227
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
228
|
+
"name": "InputProps"
|
|
229
|
+
},
|
|
230
|
+
"declarations": [
|
|
231
|
+
{
|
|
232
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
233
|
+
"name": "InputProps"
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"required": false,
|
|
237
|
+
"type": {
|
|
238
|
+
"name": "enum",
|
|
239
|
+
"raw": "\"normal\" | \"bigform\" | undefined",
|
|
240
|
+
"value": [
|
|
241
|
+
{
|
|
242
|
+
"value": "undefined"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"value": "\"normal\""
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"value": "\"bigform\""
|
|
249
|
+
}
|
|
250
|
+
]
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"label": {
|
|
254
|
+
"defaultValue": null,
|
|
255
|
+
"description": "Label of the input",
|
|
256
|
+
"name": "label",
|
|
257
|
+
"parent": {
|
|
258
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
259
|
+
"name": "InputProps"
|
|
260
|
+
},
|
|
261
|
+
"declarations": [
|
|
262
|
+
{
|
|
263
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
264
|
+
"name": "InputProps"
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
"required": false,
|
|
268
|
+
"type": {
|
|
269
|
+
"name": "string"
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"error": {
|
|
273
|
+
"defaultValue": null,
|
|
274
|
+
"description": "Activates Error style for the input",
|
|
275
|
+
"name": "error",
|
|
276
|
+
"parent": {
|
|
277
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
278
|
+
"name": "InputProps"
|
|
279
|
+
},
|
|
280
|
+
"declarations": [
|
|
281
|
+
{
|
|
282
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
283
|
+
"name": "InputProps"
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
"required": false,
|
|
287
|
+
"type": {
|
|
288
|
+
"name": "boolean"
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"errorText": {
|
|
292
|
+
"defaultValue": null,
|
|
293
|
+
"description": "Error text to show above the component",
|
|
294
|
+
"name": "errorText",
|
|
295
|
+
"parent": {
|
|
296
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
297
|
+
"name": "InputProps"
|
|
298
|
+
},
|
|
299
|
+
"declarations": [
|
|
300
|
+
{
|
|
301
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
302
|
+
"name": "InputProps"
|
|
303
|
+
}
|
|
304
|
+
],
|
|
305
|
+
"required": false,
|
|
306
|
+
"type": {
|
|
307
|
+
"name": "string"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"testId": {
|
|
311
|
+
"defaultValue": null,
|
|
312
|
+
"description": "Sets the data-testid attribute.",
|
|
313
|
+
"name": "testId",
|
|
314
|
+
"parent": {
|
|
315
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
316
|
+
"name": "InputProps"
|
|
317
|
+
},
|
|
318
|
+
"declarations": [
|
|
319
|
+
{
|
|
320
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
321
|
+
"name": "InputProps"
|
|
322
|
+
}
|
|
323
|
+
],
|
|
324
|
+
"required": false,
|
|
325
|
+
"type": {
|
|
326
|
+
"name": "string"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"disabled": {
|
|
330
|
+
"defaultValue": null,
|
|
331
|
+
"description": "Disables the input field",
|
|
332
|
+
"name": "disabled",
|
|
333
|
+
"parent": {
|
|
334
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
335
|
+
"name": "InputProps"
|
|
336
|
+
},
|
|
337
|
+
"declarations": [
|
|
338
|
+
{
|
|
339
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
340
|
+
"name": "InputProps"
|
|
341
|
+
}
|
|
342
|
+
],
|
|
343
|
+
"required": false,
|
|
344
|
+
"type": {
|
|
345
|
+
"name": "boolean"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"readOnly": {
|
|
349
|
+
"defaultValue": null,
|
|
350
|
+
"description": "Om input feltet er readOnly",
|
|
351
|
+
"name": "readOnly",
|
|
352
|
+
"parent": {
|
|
353
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
354
|
+
"name": "InputProps"
|
|
355
|
+
},
|
|
356
|
+
"declarations": [
|
|
357
|
+
{
|
|
358
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
359
|
+
"name": "InputProps"
|
|
360
|
+
}
|
|
361
|
+
],
|
|
362
|
+
"required": false,
|
|
363
|
+
"type": {
|
|
364
|
+
"name": "boolean"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"autocomplete": {
|
|
368
|
+
"defaultValue": null,
|
|
369
|
+
"description": "attribute autocomplete,",
|
|
370
|
+
"name": "autocomplete",
|
|
371
|
+
"parent": {
|
|
372
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
373
|
+
"name": "InputProps"
|
|
374
|
+
},
|
|
375
|
+
"declarations": [
|
|
376
|
+
{
|
|
377
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
378
|
+
"name": "InputProps"
|
|
379
|
+
}
|
|
380
|
+
],
|
|
381
|
+
"required": false,
|
|
382
|
+
"type": {
|
|
383
|
+
"name": "string"
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"afterLabelChildren": {
|
|
387
|
+
"defaultValue": null,
|
|
388
|
+
"description": "Component shown after label",
|
|
389
|
+
"name": "afterLabelChildren",
|
|
390
|
+
"parent": {
|
|
391
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
392
|
+
"name": "InputProps"
|
|
393
|
+
},
|
|
394
|
+
"declarations": [
|
|
395
|
+
{
|
|
396
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
397
|
+
"name": "InputProps"
|
|
398
|
+
}
|
|
399
|
+
],
|
|
400
|
+
"required": false,
|
|
401
|
+
"type": {
|
|
402
|
+
"name": "ReactNode"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"belowLabelChildren": {
|
|
406
|
+
"defaultValue": null,
|
|
407
|
+
"description": "Component shown under label",
|
|
408
|
+
"name": "belowLabelChildren",
|
|
409
|
+
"parent": {
|
|
410
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
411
|
+
"name": "InputProps"
|
|
412
|
+
},
|
|
413
|
+
"declarations": [
|
|
414
|
+
{
|
|
415
|
+
"fileName": "src/components/Input/Input.tsx",
|
|
416
|
+
"name": "InputProps"
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
"required": false,
|
|
420
|
+
"type": {
|
|
421
|
+
"name": "ReactNode"
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{I as s}from"../../Input-f331efd2.js";export{a as InputTypes,I as default}from"../../Input-f331efd2.js";import"../../_rollupPluginBabelHelpers-d0752906.js";import"../../_tslib-51c8a283.js";import"react";import"../../index-9b84fabc.js";import"../../constants-ad6c82db.js";import"../../uuid-8870ab4b.js";import"../../Icon-89da8de4.js";import"../../color-acb834c6.js";import"../../index-19b48c51.js";import"../../palette-f206f488.js";import"../../grid-11a70eb7.js";import"../../useBreakpoint-324a9b14.js";import"../../useWindowSize-73b47451.js";import"./styles.module.scss";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@import '../../scss/_spacers.scss';
|
|
2
|
+
@import '../../scss/_breakpoints.scss';
|
|
3
|
+
@import '../../scss/_palette.scss';
|
|
4
|
+
@import '../../scss/_font-settings.scss';
|
|
5
|
+
@import '../../scss/_input.scss';
|
|
6
|
+
|
|
7
|
+
.input-wrapper {
|
|
8
|
+
@include input-wrapper;
|
|
9
|
+
|
|
10
|
+
margin: getSpacer(l) 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.input-wrapper:first-of-type {
|
|
14
|
+
margin-top: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.input-wrapper:last-of-type {
|
|
18
|
+
margin-bottom: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.content-wrapper {
|
|
22
|
+
@include content-wrapper;
|
|
23
|
+
|
|
24
|
+
padding: 0.5rem 0;
|
|
25
|
+
display: inline-flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
|
|
28
|
+
&--with-icon {
|
|
29
|
+
padding: 1px 0;
|
|
30
|
+
|
|
31
|
+
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
32
|
+
padding: 0.375rem 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__input {
|
|
37
|
+
line-height: getSpacer(m);
|
|
38
|
+
height: getSpacer(m);
|
|
39
|
+
|
|
40
|
+
&--bigform {
|
|
41
|
+
height: 2.5rem;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
45
|
+
line-height: 1.625rem;
|
|
46
|
+
height: 2.125rem;
|
|
47
|
+
font-size: $font-size-md;
|
|
48
|
+
|
|
49
|
+
&--bigform {
|
|
50
|
+
line-height: 1.75rem;
|
|
51
|
+
height: 3.5rem;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type Styles = {
|
|
2
|
+
'content-wrapper': string;
|
|
3
|
+
'content-wrapper__input': string;
|
|
4
|
+
'content-wrapper__input--bigform': string;
|
|
5
|
+
'content-wrapper__input--disabled': string;
|
|
6
|
+
'content-wrapper--bigform': string;
|
|
7
|
+
'content-wrapper--disabled': string;
|
|
8
|
+
'content-wrapper--invalid': string;
|
|
9
|
+
'content-wrapper--on-blueberry': string;
|
|
10
|
+
'content-wrapper--on-dark': string;
|
|
11
|
+
'content-wrapper--transparent': string;
|
|
12
|
+
'content-wrapper--with-icon': string;
|
|
13
|
+
'input-wrapper': string;
|
|
14
|
+
'input-wrapper__after-label-children': string;
|
|
15
|
+
'input-wrapper__label-wrapper': string;
|
|
16
|
+
'input-wrapper__label-wrapper--on-dark': string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export type ClassNames = keyof Styles;
|
|
20
|
+
|
|
21
|
+
declare const styles: Styles;
|
|
22
|
+
|
|
23
|
+
export default styles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkList.d.ts","sourceRoot":"","sources":["../../../src/components/LinkList/LinkList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"LinkList.d.ts","sourceRoot":"","sources":["../../../src/components/LinkList/LinkList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AASnD,oBAAY,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAExD,oBAAY,iBAAiB,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE/D,oBAAY,cAAc,GAAG,YAAY,CAAC;AAC1C,oBAAY,QAAQ,GAAG,KAAK,CAAC,yBAAyB,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;AACvG,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,yBAAyB,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC/H,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,UAAU,aAAa;IACrB,4BAA4B;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,KAAK,EAAE,cAAc,CAAC;IACtB,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oCAAoC;IACpC,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC;IACxE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AA8CD,eAAO,MAAM,QAAQ,mBAuBE,CAAC;AAKxB,eAAe,QAAQ,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"../../_rollupPluginBabelHelpers-d0752906.js";import{_ as
|
|
1
|
+
import{a as e}from"../../_rollupPluginBabelHelpers-d0752906.js";import{_ as t}from"../../_tslib-51c8a283.js";import r from"react";import{c as a}from"../../index-9b84fabc.js";import{I as l}from"../../Icon-89da8de4.js";import{A as i,I as o}from"../../constants-ad6c82db.js";import{u as s,B as n}from"../../useBreakpoint-324a9b14.js";import{u as m}from"../../useHover-037be19d.js";import c from"./styles.module.scss";import"../../useWindowSize-73b47451.js";import"../../grid-11a70eb7.js";var d=function(e){var t=e.isExtraSmall,a=e.isHovered,l=r.createElement("path",{d:"M19.171 32.951l1.409 1.42L31.031 24 20.58 13.63l-1.409 1.42 9.02 8.95z"}),i=r.createElement("path",{d:"M24.479 11.63L36.93 23.999 24.479 36.37l-1.409-1.419L33.083 25H13v-2h20.085L23.07 13.049z"}),o=r.createElement("path",{d:"M17.885 32.577l1.779 1.793 10.451-10.371L19.664 13.63l-1.779 1.793 8.644 8.576z"});return t?a?r.createElement("path",{d:"M25.98 11.103l12.977 12.896L25.98 36.897l-1.78-1.794 9.899-9.841-20.204.001v-2.526l20.204-.001-9.899-9.839z"}):o:a?i:l},p=r.forwardRef((function(p,v){var f,u=p.children,h=p.className,_=void 0===h?"":h,k=p.color,b=void 0===k?"neutral":k,E=p.icon,L=p.size,z=void 0===L?"medium":L,j=p.chevron,g=void 0!==j&&j,N=p.testId,H=p.target,I=t(p,["children","className","color","icon","size","chevron","testId","target"]),y=m(),B=y.hoverRef,S=y.isHovered,x=s(),M="small"!==z&&!(!g&&!E);return r.createElement("li",{ref:v,"data-testid":N,"data-analyticsid":i.Link},r.createElement("a",Object.assign({className:a(c["link-list__anchor"],c["link-list__anchor--"+b],(f={},e(f,c["link-list__anchor--small"],"small"===z),e(f,c["link-list__anchor--medium"],"medium"===z),e(f,c["link-list__anchor--large"],"large"===z),f),_),ref:B,rel:"_blank"===H?"noopener noreferrer":void 0,target:H},I),M&&E&&r.createElement("span",{className:c["link-list__icon"]},r.cloneElement(E,{size:x===n.Xs?o.XSmall:o.Small,isHovered:S})),r.createElement("span",{className:c["link-list__content"]},u),M&&g&&r.createElement("span",{className:c["link-list__chevron"]},r.createElement(l,{svgIcon:d,isHovered:S,size:o.XSmall}))))})),v=r.forwardRef((function(t,l){var o,s=t.children,n=t.className,m=void 0===n?"":n,d=t.chevron,v=void 0!==d&&d,f=t.size,u=void 0===f?"medium":f,h=t.color,_=t.topBorder,k=void 0===_||_,b=t.bottomBorder,E=void 0===b||b,L=t.testId;return r.createElement("ul",{ref:l,className:a(c["link-list"],(o={},e(o,c["link-list--hastopborder"],k),e(o,c["link-list--nobottomborder"],!E),o),m||""),"data-testid":L,"data-analyticsid":i.LinkList},r.Children.map(s,(function(e){if(e.type===p)return r.cloneElement(e,{color:h,size:u,chevron:v})})))}));v.Link=p,p.displayName="LinkList.Link";export default v;export{v as LinkList};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/components/List/List.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/components/List/List.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,UAAU,SAAS;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,iBAAS,IAAI,CAAC,KAAK,EAAE,SAAS,eAa7B;AAED,eAAe,IAAI,CAAC"}
|
package/components/List/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import t from"react";import{c as e}from"../../index-9b84fabc.js";import a from"./styles.module.scss";import{A as s}from"../../constants-ad6c82db.js";export default function(r){var i=r.children,m=r.className,c=r.testId;return t.createElement("ul",{className:e(a.list,m),"data-testid":c,"data-analyticsid":s.List},i.map((function(e,s){return t.createElement("li",{className:a.list__item,key:s},e)})))}
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAInD,oBAAY,YAAY,GAAG,YAAY,CAAC;AACxC,oBAAY,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAChE,oBAAY,OAAO;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,UAAU,WAAW;IACnB,mCAAmC;IACnC,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wCAAwC;IACxC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,iEAAiE;IACjE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,MAAM,OAAO,OAAO,CAAC;IAC/B,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,MAAM,iFA8FV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{L as
|
|
1
|
+
import{L as s}from"../../Loader-e5b166ea.js";export{O as Overlay,L as default}from"../../Loader-e5b166ea.js";import"../../_rollupPluginBabelHelpers-d0752906.js";import"react";import"../../index-9b84fabc.js";import"../../uuid-8870ab4b.js";import"./styles.module.scss";import"../../constants-ad6c82db.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
|
|
44
44
|
&--inline {
|
|
45
45
|
align-self: center;
|
|
46
|
-
padding-left: .5rem;
|
|
46
|
+
padding-left: 0.5rem;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
&--overlay{
|
|
49
|
+
&--overlay {
|
|
50
50
|
display: flex;
|
|
51
51
|
align-items: center;
|
|
52
52
|
justify-content: center;
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
&--overlay-parent {
|
|
65
65
|
position: absolute;
|
|
66
66
|
top: 0;
|
|
67
|
+
left: 0;
|
|
67
68
|
background: $transparentGrey;
|
|
68
69
|
height: 100%;
|
|
69
70
|
width: 100%;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../src/components/Logo/Logo.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../src/components/Logo/Logo.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnD,aAAK,SAAS,GAAG,YAAY,CAAC;AAE9B,UAAU,SAAS;IACjB,oCAAoC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qCAAqC;IACrC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,iDAAiD;IACjD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAyDD,iBAAS,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAG3C;AAED,eAAe,IAAI,CAAC"}
|
package/components/Logo/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as e}from"../../_tslib-51c8a283.js";import t from"react";import{
|
|
1
|
+
import{_ as e}from"../../_tslib-51c8a283.js";import t from"react";import{A as c}from"../../constants-ad6c82db.js";import{g as l}from"../../color-acb834c6.js";import"../../index-19b48c51.js";import"../../palette-f206f488.js";import"../../grid-11a70eb7.js";var a=function(e){var a=e.size,s=void 0===a?300:a,v=e.color,h=void 0===v?"black":v,i=e.className,o=void 0===i?"":i,r=e.testId;return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,role:"img","aria-labelledby":"logo-title",viewBox:"0 0 502 220",className:o,"data-testid":r,"data-analyticsid":c.Logo},t.createElement("title",{id:"logo-title"},"Helsenorge"),t.createElement("g",{fill:l(h,500)},t.createElement("path",{d:"M39.8 2.5v26.9H17V2.5H1v69.9h16V43.6h22.8v28.8h16.1V2.5zM250.3 58.6V2.5h-16v69.9h43.5V58.6zM142.9 122.5c-16.1 0-27.4 13.6-27.4 33.1s11.2 33.1 27.4 33.1 27.4-13.6 27.4-33.1-11.3-33.1-27.4-33.1zm19 33.1c0 11.9-5 25.9-19 25.9s-19-13.9-19-25.9c0-11.9 5-25.9 19-25.9s19 14 19 25.9zM501 40c0-19.1-11.1-32.4-27-32.4-16.4 0-27.4 13.3-27.4 33.1 0 19.5 11.5 33.1 28 33.1 12.2 0 21.4-6 24.7-16.2l.5-1.6h-8.3l-.3.7c-2.8 6.2-8.8 9.8-16.6 9.8-12.9 0-18.5-11.5-19.5-22.7H501V40zm-8.3-3.2h-37.6c1-10.8 6.5-21.9 18.9-21.9 13.2 0 18.3 12.6 18.7 21.9zM30.4 122.4c-10.8 0-16.6 6.7-19.5 11.8v-9.9H3.3v62.6h8.1v-31.4c0-8.4 4.4-25.7 18.1-25.7 14 0 15.9 12 15.9 25v32.1h8.1v-32.1c.1-16.1-2.7-32.4-23.1-32.4zM134.3 59V43H157V30h-22.7V15.9H165V2.5h-46.4v69.9h47.3V59zM466.7 173.4v-16h22.7v-13h-22.7v-14.1h30.7v-13.4H451v69.9h47.3v-13.4zM246.7 140.5v-16.3h-7.6v62.6h8.1v-37.6l27.3-19.6v-9zM393.5 120.6l-14.7 10.5c-4.4-5.6-11.2-8.7-18.8-8.7-13.6 0-23.6 9.8-23.6 23.3 0 10.6 6.2 19.1 16 22.2l-16 17.5c-4 4.6-5.7 8.3-5.7 12.7 0 12.6 11.1 20.7 28.2 20.7 16.9 0 28.3-8.3 28.3-20.7 0-12.5-11.1-20.6-28.3-20.6-1.7 0-3.9.2-5.6.5l8-9c12.9-.7 22.2-10.4 22.2-23.3 0-2.8-.4-5.5-1.2-7.8 0-.1-.1-.2-.1-.3l11.2-8.1v-8.9zm-34.4 64.2c12.1 0 20 5.2 20 13.4s-7.8 13.5-20 13.5c-12.1 0-19.9-5.3-19.9-13.5 0-7.8 8.3-13.4 19.9-13.4zm.9-23c-8.8 0-15.2-6.8-15.2-16 0-9.3 6.4-16 15.2-16s15.2 6.7 15.2 16c0 9.2-6.4 16-15.2 16zM366.7 30.3c-6.6-2.3-13.5-4.7-13.5-9.2 0-4.8 4.2-7 9.3-7 5.4 0 9 4.5 9 8.5v.8h16.2v-.6c0-13-10.2-21.7-25.4-21.7-15.3 0-24.9 7.8-24.9 20.4 0 14.7 13.1 18.4 22.9 21.9 6.5 2.4 13.6 4.3 13.6 8.7 0 4.6-3.4 8-10.6 8-6.5 0-10.9-3.8-10.9-9.4v-.8h-16.7v.8c0 14.5 10.3 23.1 27.5 23.1 16.5 0 26-7.6 26-21.5 0-14.4-12.5-18.5-22.5-22z"})))},s=function(e){var c=e.size,a=void 0===c?300:c,s=e.color,v=void 0===s?"black":s,h=e.className,i=void 0===h?"":h,o=e.testId;return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:a,role:"img","aria-labelledby":"logo-title",viewBox:"0 0 87 12",className:i,"data-testid":o},t.createElement("title",{id:"logo-title"},"Helsenorge"),t.createElement("g",{fill:l(v,500)},t.createElement("path",{d:"M5 .8v2.8H2.6V.8H1V8h1.6V5.1H5V8h1.6V.8zM20.9 6.6V.8h-1.6V8h4.5V6.6zM57.9 1.4c-1.7 0-2.8 1.4-2.8 3.4s1.2 3.4 2.8 3.4 2.8-1.4 2.8-3.4-1.1-3.4-2.8-3.4zm2 3.4c0 1.2-.5 2.7-2 2.7-1.4 0-2-1.4-2-2.7s.5-2.7 2-2.7 2 1.5 2 2.7zM86 4.7c0-2-1.1-3.3-2.8-3.3-1.7 0-2.8 1.4-2.8 3.4s1.2 3.4 2.9 3.4c1.2 0 2.2-.6 2.5-1.7l.1-.2H85v.1c-.3.6-.9 1-1.7 1-1.3 0-1.9-1.2-2-2.3H86v-.4zm-.9-.3h-3.9c.1-1.1.7-2.3 1.9-2.3 1.5 0 2 1.3 2 2.3zM49.2 1.4c-1.1 0-1.7.7-2 1.2v-1h-.8V8h.8V4.8c0-.9.5-2.6 1.9-2.6s1.6 1.2 1.6 2.6V8h.8V4.7c0-1.6-.2-3.3-2.3-3.3zM12.1 6.6V5h2.4V3.7h-2.4V2.2h3.2V.8h-4.8V8h4.9V6.6zM38.3 6.6V5h2.3V3.7h-2.3V2.2h3.2V.8h-4.8V8h4.9V6.6zM65.5 3.3V1.6h-.8V8h.8V4.1l2.8-2v-.9zM77.6 1.2l-1.5 1.1c-.5-.6-1.1-.9-1.9-.9-1.4 0-2.4 1-2.4 2.4 0 1.1.6 2 1.6 2.3l-1.6 1.8c-.4.5-.6.9-.6 1.3 0 1.3 1.1 2.1 2.9 2.1 1.7 0 2.9-.9 2.9-2.1 0-1.3-1.1-2.1-2.9-2.1h-.6l.8-.9c1.3-.1 2.3-1.1 2.3-2.4 0-.3 0-.6-.1-.8l1.2-.8v-1zM74 7.8c1.2 0 2.1.5 2.1 1.4 0 .8-.8 1.4-2.1 1.4-1.2 0-2-.5-2-1.4 0-.8.8-1.4 2-1.4zm.1-2.4c-.9 0-1.6-.7-1.6-1.7s.7-1.6 1.6-1.6c.9 0 1.6.7 1.6 1.6 0 1-.7 1.7-1.6 1.7zM30.4 3.7c-.7-.2-1.4-.5-1.4-1s.4-.7 1-.7.9.5.9.9V3h1.7v-.1c0-1.3-1.1-2.2-2.6-2.2-1.6 0-2.6.8-2.6 2.1 0 1.5 1.3 1.9 2.4 2.3.7.2 1.4.4 1.4.9s-.3.8-1.1.8c-.7 0-1.1-.4-1.1-1v-.1h-1.7v.1c0 1.5 1.1 2.4 2.8 2.4 1.7 0 2.7-.8 2.7-2.2-.1-1.5-1.4-2-2.4-2.3z"})))};export default function(c){var l=c.byline,v=void 0!==l&&l,h=e(c,["byline"]);return v?t.createElement(s,Object.assign({},h)):t.createElement(a,Object.assign({},h))}
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -52,6 +52,8 @@ export interface ModalProps {
|
|
|
52
52
|
onClose?: () => void;
|
|
53
53
|
/** When enabled the component will be rendered in the bottom of document.body */
|
|
54
54
|
printable?: boolean;
|
|
55
|
+
/** When enabled the events for closing the modal won't be added */
|
|
56
|
+
disableCloseEvents?: boolean;
|
|
55
57
|
}
|
|
56
58
|
declare const Modal: {
|
|
57
59
|
(props: ModalProps): JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAiBzC,OAAO,
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAiBzC,OAAO,EAAe,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEtD,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,KAAK,UAAU;CAChB;AAED,oBAAY,SAAS;IACnB,KAAK,UAAU;IACf,MAAM,WAAW;CAClB;AAED,MAAM,WAAW,UAAU;IACzB,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+GAA+G;IAC/G,OAAO,CAAC,EAAE,MAAM,OAAO,aAAa,CAAC;IACrC,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,OAAO,SAAS,CAAC;IAC9B,8BAA8B;IAC9B,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,6BAA6B;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yBAAyB;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2BAA2B;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4CAA4C;IAC5C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8BAA8B;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qCAAqC;IACrC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,kCAAkC;IAClC,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,iFAAiF;IACjF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mEAAmE;IACnE,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAuCD,QAAA,MAAM,KAAK;;;;;;;;;;CA8JV,CAAC;AAIF,eAAe,KAAK,CAAC"}
|