@helsenorge/designsystem-react 1.0.0-beta92 → 1.0.0-beta97

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.
Files changed (171) hide show
  1. package/Button-8af0be6e.js +2 -0
  2. package/Button-8af0be6e.js.map +1 -0
  3. package/Checkbox-fb5dff56.js +2 -0
  4. package/Checkbox-fb5dff56.js.map +1 -0
  5. package/{Close-80751ae6.js → Close-9f68bcd0.js} +2 -2
  6. package/Close-9f68bcd0.js.map +1 -0
  7. package/FormGroup-6c545646.js +2 -0
  8. package/FormGroup-6c545646.js.map +1 -0
  9. package/{Icon-9b4a8a2d.js → Icon-04613a89.js} +2 -2
  10. package/Icon-04613a89.js.map +1 -0
  11. package/Input-adeb7f88.js +2 -0
  12. package/Input-adeb7f88.js.map +1 -0
  13. package/Loader-b3fd59f4.js +2 -0
  14. package/Loader-b3fd59f4.js.map +1 -0
  15. package/Modal-3742133d.js +2 -0
  16. package/Modal-3742133d.js.map +1 -0
  17. package/RadioButton-d90884c9.js +2 -0
  18. package/RadioButton-d90884c9.js.map +1 -0
  19. package/Textarea-05e33ba3.js +2 -0
  20. package/Textarea-05e33ba3.js.map +1 -0
  21. package/Title-90910763.js +2 -0
  22. package/Title-90910763.js.map +1 -0
  23. package/{Validation-1236e8ef.js → Validation-9bf0c0ec.js} +2 -2
  24. package/Validation-9bf0c0ec.js.map +1 -0
  25. package/components/AnchorLink/index.d.ts +1 -0
  26. package/components/AnchorLink/index.d.ts.map +1 -1
  27. package/components/AnchorLink/index.js +1 -1
  28. package/components/Avatar/index.d.ts +1 -0
  29. package/components/Avatar/index.d.ts.map +1 -1
  30. package/components/Avatar/index.js +1 -1
  31. package/components/Badge/index.d.ts +1 -0
  32. package/components/Badge/index.d.ts.map +1 -1
  33. package/components/Button/Button.d.ts.map +1 -1
  34. package/components/Button/index.d.ts +1 -0
  35. package/components/Button/index.d.ts.map +1 -1
  36. package/components/Button/index.js +1 -1
  37. package/components/ButtonWithModal/componentdata.json +19 -0
  38. package/components/ButtonWithModal/index.d.ts +1 -0
  39. package/components/ButtonWithModal/index.d.ts.map +1 -1
  40. package/components/ButtonWithModal/index.js +1 -1
  41. package/components/Checkbox/componentdata.json +9 -9
  42. package/components/Checkbox/index.d.ts +1 -0
  43. package/components/Checkbox/index.d.ts.map +1 -1
  44. package/components/Checkbox/index.js +1 -1
  45. package/components/Checkbox/styles.module.scss +2 -1
  46. package/components/Close/index.d.ts +1 -0
  47. package/components/Close/index.d.ts.map +1 -1
  48. package/components/Close/index.js +1 -1
  49. package/components/ExpanderList/index.d.ts +1 -0
  50. package/components/ExpanderList/index.d.ts.map +1 -1
  51. package/components/ExpanderList/index.js +1 -1
  52. package/components/FormExample/FormExample.d.ts +2 -1
  53. package/components/FormExample/FormExample.d.ts.map +1 -1
  54. package/components/FormExample/componentdata.json +6 -3
  55. package/components/FormExample/index.d.ts +1 -0
  56. package/components/FormExample/index.d.ts.map +1 -1
  57. package/components/FormExample/index.js +1 -1
  58. package/components/FormExample/index.js.map +1 -1
  59. package/components/FormGroup/FormGroup.d.ts.map +1 -1
  60. package/components/FormGroup/componentdata.json +9 -9
  61. package/components/FormGroup/index.d.ts +1 -0
  62. package/components/FormGroup/index.d.ts.map +1 -1
  63. package/components/FormGroup/index.js +1 -1
  64. package/components/FormGroup/styles.module.scss +2 -2
  65. package/components/HighlightBox/HighlightBox.d.ts +24 -0
  66. package/components/HighlightBox/HighlightBox.d.ts.map +1 -0
  67. package/components/HighlightBox/componentdata.json +484 -0
  68. package/components/HighlightBox/index.d.ts +4 -0
  69. package/components/HighlightBox/index.d.ts.map +1 -0
  70. package/components/HighlightBox/index.js +2 -0
  71. package/components/HighlightBox/index.js.map +1 -0
  72. package/components/HighlightBox/styles.module.scss +89 -0
  73. package/components/Icons/AcupunctureBack.js +1 -1
  74. package/components/Icons/Icon.js +1 -1
  75. package/components/Icons/NoEye.js +1 -1
  76. package/components/Icons/SectionSign.js +1 -1
  77. package/components/Icons/SpeechBubble.js +1 -1
  78. package/components/Icons/SupportingPerson.js +1 -1
  79. package/components/Icons/Syringe.js +1 -1
  80. package/components/Icons/index.js +1 -1
  81. package/components/Input/Input.d.ts +55 -0
  82. package/components/Input/Input.d.ts.map +1 -0
  83. package/components/Input/componentdata.json +425 -0
  84. package/components/Input/index.d.ts +4 -0
  85. package/components/Input/index.d.ts.map +1 -0
  86. package/components/Input/index.js +2 -0
  87. package/components/Input/index.js.map +1 -0
  88. package/components/Input/styles.module.scss +55 -0
  89. package/components/Input/styles.module.scss.d.ts +23 -0
  90. package/components/LinkList/index.d.ts +1 -0
  91. package/components/LinkList/index.d.ts.map +1 -1
  92. package/components/LinkList/index.js +1 -1
  93. package/components/List/index.d.ts +1 -0
  94. package/components/List/index.d.ts.map +1 -1
  95. package/components/Loader/Loader.d.ts +2 -2
  96. package/components/Loader/componentdata.json +3 -3
  97. package/components/Loader/index.d.ts +1 -0
  98. package/components/Loader/index.d.ts.map +1 -1
  99. package/components/Loader/index.js +1 -1
  100. package/components/Logo/index.d.ts +1 -0
  101. package/components/Logo/index.d.ts.map +1 -1
  102. package/components/Modal/Modal.d.ts +2 -0
  103. package/components/Modal/Modal.d.ts.map +1 -1
  104. package/components/Modal/componentdata.json +19 -0
  105. package/components/Modal/index.d.ts +1 -0
  106. package/components/Modal/index.d.ts.map +1 -1
  107. package/components/Modal/index.js +1 -1
  108. package/components/NotificationPanel/index.d.ts +1 -0
  109. package/components/NotificationPanel/index.d.ts.map +1 -1
  110. package/components/NotificationPanel/index.js +1 -1
  111. package/components/RadioButton/componentdata.json +9 -9
  112. package/components/RadioButton/index.d.ts +1 -0
  113. package/components/RadioButton/index.d.ts.map +1 -1
  114. package/components/RadioButton/index.js +1 -1
  115. package/components/RadioButton/styles.module.scss +2 -2
  116. package/components/Slider/index.d.ts +1 -0
  117. package/components/Slider/index.d.ts.map +1 -1
  118. package/components/Slider/index.js +1 -1
  119. package/components/Spacer/index.d.ts +1 -0
  120. package/components/Spacer/index.d.ts.map +1 -1
  121. package/components/Textarea/Textarea.d.ts +4 -0
  122. package/components/Textarea/Textarea.d.ts.map +1 -1
  123. package/components/Textarea/componentdata.json +44 -6
  124. package/components/Textarea/index.d.ts +1 -0
  125. package/components/Textarea/index.d.ts.map +1 -1
  126. package/components/Textarea/index.js +1 -1
  127. package/components/Textarea/styles.module.scss +13 -110
  128. package/components/Textarea/styles.module.scss.d.ts +13 -8
  129. package/components/Tile/index.d.ts +1 -0
  130. package/components/Tile/index.d.ts.map +1 -1
  131. package/components/Tile/index.js +1 -1
  132. package/components/Title/index.d.ts +1 -0
  133. package/components/Title/index.d.ts.map +1 -1
  134. package/components/Title/index.js +1 -1
  135. package/components/Validation/componentdata.json +3 -3
  136. package/components/Validation/index.d.ts +1 -0
  137. package/components/Validation/index.d.ts.map +1 -1
  138. package/components/Validation/index.js +1 -1
  139. package/constants-42547490.js +2 -0
  140. package/constants-42547490.js.map +1 -0
  141. package/constants.d.ts +7 -7
  142. package/constants.d.ts.map +1 -1
  143. package/hooks/useIcons.d.ts +4 -0
  144. package/hooks/useIcons.d.ts.map +1 -0
  145. package/index.d.ts +1 -0
  146. package/index.d.ts.map +1 -1
  147. package/index.js +1 -1
  148. package/package.json +1 -1
  149. package/scss/_input.scss +174 -0
  150. package/scss/_title.scss +16 -12
  151. package/Button-2be46c88.js +0 -2
  152. package/Button-2be46c88.js.map +0 -1
  153. package/Checkbox-0ba01292.js +0 -2
  154. package/Checkbox-0ba01292.js.map +0 -1
  155. package/Close-80751ae6.js.map +0 -1
  156. package/FormGroup-9555dd73.js +0 -2
  157. package/FormGroup-9555dd73.js.map +0 -1
  158. package/Icon-9b4a8a2d.js.map +0 -1
  159. package/Loader-3589bdb1.js +0 -2
  160. package/Loader-3589bdb1.js.map +0 -1
  161. package/Modal-b68c7a72.js +0 -2
  162. package/Modal-b68c7a72.js.map +0 -1
  163. package/RadioButton-84ca988e.js +0 -2
  164. package/RadioButton-84ca988e.js.map +0 -1
  165. package/Textarea-9c91191a.js +0 -2
  166. package/Textarea-9c91191a.js.map +0 -1
  167. package/Title-72851d51.js +0 -2
  168. package/Title-72851d51.js.map +0 -1
  169. package/Validation-1236e8ef.js.map +0 -1
  170. package/constants-a4b0b501.js +0 -2
  171. package/constants-a4b0b501.js.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,4 @@
1
+ import Input from './Input';
2
+ export * from './Input';
3
+ export default Input;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -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-adeb7f88.js";export{a as InputTypes,I as default}from"../../Input-adeb7f88.js";import"../../_rollupPluginBabelHelpers-d0752906.js";import"../../_tslib-51c8a283.js";import"react";import"../../index-9b84fabc.js";import"../../constants-42547490.js";import"../../uuid-8870ab4b.js";import"../../Icon-04613a89.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,3 +1,4 @@
1
1
  import LinkList from './LinkList';
2
+ export * from './LinkList';
2
3
  export default LinkList;
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/LinkList/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/LinkList/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,eAAe,QAAQ,CAAC"}
@@ -1,2 +1,2 @@
1
- import{a as e}from"../../_rollupPluginBabelHelpers-d0752906.js";import{_ as r}from"../../_tslib-51c8a283.js";import t from"react";import{c as l}from"../../index-9b84fabc.js";import{I as a}from"../../Icon-9b4a8a2d.js";import{I as o}from"../../constants-a4b0b501.js";import{u as i,B as s}from"../../useBreakpoint-324a9b14.js";import{u as n}from"../../useHover-037be19d.js";import m from"./styles.module.scss";import"../../useWindowSize-73b47451.js";import"../../grid-11a70eb7.js";var c=function(e){var r=e.isExtraSmall,l=e.isHovered,a=t.createElement("path",{d:"M19.171 32.951l1.409 1.42L31.031 24 20.58 13.63l-1.409 1.42 9.02 8.95z"}),o=t.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"}),i=t.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 r?l?t.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"}):i:l?o:a},d=t.forwardRef((function(d,p){var v,f=d.children,u=d.className,h=void 0===u?"":u,_=d.color,b=void 0===_?"neutral":_,k=d.icon,E=d.size,z=void 0===E?"medium":E,j=d.chevron,L=void 0!==j&&j,g=d.testId,N=d.target,H=r(d,["children","className","color","icon","size","chevron","testId","target"]),I=n(),B=I.hoverRef,S=I.isHovered,M=i(),w="small"!==z&&!(!L&&!k);return t.createElement("li",{ref:p,"data-testid":g},t.createElement("a",Object.assign({className:l(m["link-list__anchor"],m["link-list__anchor--"+b],(v={},e(v,m["link-list__anchor--small"],"small"===z),e(v,m["link-list__anchor--medium"],"medium"===z),e(v,m["link-list__anchor--large"],"large"===z),v),h),ref:B,rel:"_blank"===N?"noopener noreferrer":void 0,target:N},H),w&&k&&t.createElement("span",{className:m["link-list__icon"]},t.cloneElement(k,{size:M===s.Xs?o.XSmall:o.Small,isHovered:S})),t.createElement("span",{className:m["link-list__content"]},f),w&&L&&t.createElement("span",{className:m["link-list__chevron"]},t.createElement(a,{svgIcon:c,isHovered:S,size:o.XSmall}))))})),p=t.forwardRef((function(r,a){var o,i=r.children,s=r.className,n=void 0===s?"":s,c=r.chevron,p=void 0!==c&&c,v=r.size,f=void 0===v?"medium":v,u=r.color,h=r.topBorder,_=void 0===h||h,b=r.bottomBorder,k=void 0===b||b,E=r.testId;return t.createElement("ul",{ref:a,className:l(m["link-list"],(o={},e(o,m["link-list--hastopborder"],_),e(o,m["link-list--nobottomborder"],!k),o),n||""),"data-testid":E},t.Children.map(i,(function(e){if(e.type===d)return t.cloneElement(e,{color:u,size:f,chevron:p})})))}));p.Link=d,d.displayName="LinkList.Link";export default p;
1
+ import{a as e}from"../../_rollupPluginBabelHelpers-d0752906.js";import{_ as r}from"../../_tslib-51c8a283.js";import t from"react";import{c as l}from"../../index-9b84fabc.js";import{I as a}from"../../Icon-04613a89.js";import{I as o}from"../../constants-42547490.js";import{u as i,B as s}from"../../useBreakpoint-324a9b14.js";import{u as n}from"../../useHover-037be19d.js";import m from"./styles.module.scss";import"../../useWindowSize-73b47451.js";import"../../grid-11a70eb7.js";var c=function(e){var r=e.isExtraSmall,l=e.isHovered,a=t.createElement("path",{d:"M19.171 32.951l1.409 1.42L31.031 24 20.58 13.63l-1.409 1.42 9.02 8.95z"}),o=t.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"}),i=t.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 r?l?t.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"}):i:l?o:a},d=t.forwardRef((function(d,p){var v,f=d.children,u=d.className,h=void 0===u?"":u,_=d.color,k=void 0===_?"neutral":_,b=d.icon,E=d.size,z=void 0===E?"medium":E,j=d.chevron,L=void 0!==j&&j,g=d.testId,N=d.target,H=r(d,["children","className","color","icon","size","chevron","testId","target"]),I=n(),B=I.hoverRef,S=I.isHovered,x=i(),M="small"!==z&&!(!L&&!b);return t.createElement("li",{ref:p,"data-testid":g},t.createElement("a",Object.assign({className:l(m["link-list__anchor"],m["link-list__anchor--"+k],(v={},e(v,m["link-list__anchor--small"],"small"===z),e(v,m["link-list__anchor--medium"],"medium"===z),e(v,m["link-list__anchor--large"],"large"===z),v),h),ref:B,rel:"_blank"===N?"noopener noreferrer":void 0,target:N},H),M&&b&&t.createElement("span",{className:m["link-list__icon"]},t.cloneElement(b,{size:x===s.Xs?o.XSmall:o.Small,isHovered:S})),t.createElement("span",{className:m["link-list__content"]},f),M&&L&&t.createElement("span",{className:m["link-list__chevron"]},t.createElement(a,{svgIcon:c,isHovered:S,size:o.XSmall}))))})),p=t.forwardRef((function(r,a){var o,i=r.children,s=r.className,n=void 0===s?"":s,c=r.chevron,p=void 0!==c&&c,v=r.size,f=void 0===v?"medium":v,u=r.color,h=r.topBorder,_=void 0===h||h,k=r.bottomBorder,b=void 0===k||k,E=r.testId;return t.createElement("ul",{ref:a,className:l(m["link-list"],(o={},e(o,m["link-list--hastopborder"],_),e(o,m["link-list--nobottomborder"],!b),o),n||""),"data-testid":E},t.Children.map(i,(function(e){if(e.type===d)return t.cloneElement(e,{color:u,size:f,chevron:p})})))}));p.Link=d,d.displayName="LinkList.Link";export default p;export{p as LinkList};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,4 @@
1
1
  import List from './List';
2
+ export * from './List';
2
3
  export default List;
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/List/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/List/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,eAAe,IAAI,CAAC"}
@@ -3,8 +3,8 @@ import { PaletteNames } from '../../theme/palette';
3
3
  export declare type LoaderColors = PaletteNames;
4
4
  export declare type LoaderSizes = 'tiny' | 'small' | 'medium' | 'large';
5
5
  export declare enum Overlay {
6
- Screen = "Screen",
7
- Parent = "Parent"
6
+ screen = "screen",
7
+ parent = "parent"
8
8
  }
9
9
  interface LoaderProps {
10
10
  /** Sets the color of the loader */
@@ -179,16 +179,16 @@
179
179
  "required": false,
180
180
  "type": {
181
181
  "name": "enum",
182
- "raw": "\"Screen\" | \"Parent\" | undefined",
182
+ "raw": "\"screen\" | \"parent\" | undefined",
183
183
  "value": [
184
184
  {
185
185
  "value": "undefined"
186
186
  },
187
187
  {
188
- "value": "\"Screen\""
188
+ "value": "\"screen\""
189
189
  },
190
190
  {
191
- "value": "\"Parent\""
191
+ "value": "\"parent\""
192
192
  }
193
193
  ]
194
194
  }
@@ -1,3 +1,4 @@
1
1
  import Loader from './Loader';
2
+ export * from './Loader';
2
3
  export default Loader;
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,eAAe,MAAM,CAAC"}
@@ -1,2 +1,2 @@
1
- import{L as r}from"../../Loader-3589bdb1.js";export{L as default}from"../../Loader-3589bdb1.js";import"../../_rollupPluginBabelHelpers-d0752906.js";import"react";import"../../index-9b84fabc.js";import"../../uuid-8870ab4b.js";import"./styles.module.scss";
1
+ import{L as r}from"../../Loader-b3fd59f4.js";export{O as Overlay,L as default}from"../../Loader-b3fd59f4.js";import"../../_rollupPluginBabelHelpers-d0752906.js";import"react";import"../../index-9b84fabc.js";import"../../uuid-8870ab4b.js";import"./styles.module.scss";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,4 @@
1
1
  import Logo from './Logo';
2
+ export * from './Logo';
2
3
  export default Logo;
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Logo/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Logo/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,eAAe,IAAI,CAAC"}
@@ -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,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,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,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AAC;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;;;;;;;;;;CAwJV,CAAC;AAIF,eAAe,KAAK,CAAC"}
@@ -422,6 +422,25 @@
422
422
  "type": {
423
423
  "name": "boolean"
424
424
  }
425
+ },
426
+ "disableCloseEvents": {
427
+ "defaultValue": null,
428
+ "description": "When enabled the events for closing the modal won't be added",
429
+ "name": "disableCloseEvents",
430
+ "parent": {
431
+ "fileName": "src/components/Modal/Modal.tsx",
432
+ "name": "ModalProps"
433
+ },
434
+ "declarations": [
435
+ {
436
+ "fileName": "src/components/Modal/Modal.tsx",
437
+ "name": "ModalProps"
438
+ }
439
+ ],
440
+ "required": false,
441
+ "type": {
442
+ "name": "boolean"
443
+ }
425
444
  }
426
445
  }
427
446
  }