@helsenorge/designsystem-react 1.0.0-beta90 → 1.0.0-beta95

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 (184) 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-9f68bcd0.js +2 -0
  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-04613a89.js +2 -0
  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-b7d10081.js +2 -0
  16. package/Modal-b7d10081.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-9bf0c0ec.js +2 -0
  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 +38 -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/Checkbox.d.ts +3 -3
  42. package/components/Checkbox/Checkbox.d.ts.map +1 -1
  43. package/components/Checkbox/componentdata.json +10 -4
  44. package/components/Checkbox/index.d.ts +1 -0
  45. package/components/Checkbox/index.d.ts.map +1 -1
  46. package/components/Checkbox/index.js +1 -1
  47. package/components/Close/index.d.ts +1 -0
  48. package/components/Close/index.d.ts.map +1 -1
  49. package/components/Close/index.js +1 -1
  50. package/components/ExpanderList/index.d.ts +1 -0
  51. package/components/ExpanderList/index.d.ts.map +1 -1
  52. package/components/ExpanderList/index.js +1 -1
  53. package/components/FormExample/FormExample.d.ts +8 -5
  54. package/components/FormExample/FormExample.d.ts.map +1 -1
  55. package/components/FormExample/componentdata.json +9 -0
  56. package/components/FormExample/index.d.ts +1 -0
  57. package/components/FormExample/index.d.ts.map +1 -1
  58. package/components/FormExample/index.js +1 -1
  59. package/components/FormExample/index.js.map +1 -1
  60. package/components/FormGroup/FormGroup.d.ts +5 -6
  61. package/components/FormGroup/FormGroup.d.ts.map +1 -1
  62. package/components/FormGroup/componentdata.json +29 -4
  63. package/components/FormGroup/index.d.ts +1 -0
  64. package/components/FormGroup/index.d.ts.map +1 -1
  65. package/components/FormGroup/index.js +1 -1
  66. package/components/FormGroup/styles.module.scss +12 -3
  67. package/components/HighlightBox/HighlightBox.d.ts +24 -0
  68. package/components/HighlightBox/HighlightBox.d.ts.map +1 -0
  69. package/components/HighlightBox/componentdata.json +484 -0
  70. package/components/HighlightBox/index.d.ts +4 -0
  71. package/components/HighlightBox/index.d.ts.map +1 -0
  72. package/components/HighlightBox/index.js +2 -0
  73. package/components/HighlightBox/index.js.map +1 -0
  74. package/components/HighlightBox/styles.module.scss +89 -0
  75. package/components/Icons/AcupunctureBack.js +1 -1
  76. package/components/Icons/Icon.js +1 -1
  77. package/components/Icons/NoEye.js +1 -1
  78. package/components/Icons/SectionSign.js +1 -1
  79. package/components/Icons/SpeechBubble.js +1 -1
  80. package/components/Icons/SupportingPerson.js +1 -1
  81. package/components/Icons/Syringe.js +1 -1
  82. package/components/Icons/index.js +1 -1
  83. package/components/Input/Input.d.ts +55 -0
  84. package/components/Input/Input.d.ts.map +1 -0
  85. package/components/Input/componentdata.json +425 -0
  86. package/components/Input/index.d.ts +4 -0
  87. package/components/Input/index.d.ts.map +1 -0
  88. package/components/Input/index.js +2 -0
  89. package/components/Input/index.js.map +1 -0
  90. package/components/Input/styles.module.scss +55 -0
  91. package/components/Input/styles.module.scss.d.ts +23 -0
  92. package/components/LinkList/index.d.ts +1 -0
  93. package/components/LinkList/index.d.ts.map +1 -1
  94. package/components/LinkList/index.js +1 -1
  95. package/components/List/index.d.ts +1 -0
  96. package/components/List/index.d.ts.map +1 -1
  97. package/components/Loader/Loader.d.ts +7 -1
  98. package/components/Loader/Loader.d.ts.map +1 -1
  99. package/components/Loader/componentdata.json +32 -1
  100. package/components/Loader/index.d.ts +1 -0
  101. package/components/Loader/index.d.ts.map +1 -1
  102. package/components/Loader/index.js +1 -1
  103. package/components/Loader/styles.module.scss +19 -4
  104. package/components/Logo/index.d.ts +1 -0
  105. package/components/Logo/index.d.ts.map +1 -1
  106. package/components/Modal/Modal.d.ts +6 -0
  107. package/components/Modal/Modal.d.ts.map +1 -1
  108. package/components/Modal/componentdata.json +40 -0
  109. package/components/Modal/index.d.ts +1 -0
  110. package/components/Modal/index.d.ts.map +1 -1
  111. package/components/Modal/index.js +1 -1
  112. package/components/Modal/styles.module.scss +21 -2
  113. package/components/NotificationPanel/index.d.ts +1 -0
  114. package/components/NotificationPanel/index.d.ts.map +1 -1
  115. package/components/NotificationPanel/index.js +1 -1
  116. package/components/Portal/componentdata.json +80 -0
  117. package/components/Portal/index.d.ts +13 -0
  118. package/components/Portal/index.d.ts.map +1 -0
  119. package/components/Portal/index.js +2 -0
  120. package/components/Portal/index.js.map +1 -0
  121. package/components/RadioButton/RadioButton.d.ts +31 -0
  122. package/components/RadioButton/RadioButton.d.ts.map +1 -0
  123. package/components/RadioButton/componentdata.json +265 -0
  124. package/components/RadioButton/index.d.ts +4 -0
  125. package/components/RadioButton/index.d.ts.map +1 -0
  126. package/components/RadioButton/index.js +2 -0
  127. package/components/RadioButton/index.js.map +1 -0
  128. package/components/RadioButton/styles.module.scss +236 -0
  129. package/components/RadioButton/styles.module.scss.d.ts +23 -0
  130. package/components/Slider/index.d.ts +1 -0
  131. package/components/Slider/index.d.ts.map +1 -1
  132. package/components/Slider/index.js +1 -1
  133. package/components/Spacer/index.d.ts +1 -0
  134. package/components/Spacer/index.d.ts.map +1 -1
  135. package/components/Textarea/Textarea.d.ts +35 -0
  136. package/components/Textarea/Textarea.d.ts.map +1 -0
  137. package/components/Textarea/componentdata.json +565 -0
  138. package/components/Textarea/index.d.ts +4 -0
  139. package/components/Textarea/index.d.ts.map +1 -0
  140. package/components/Textarea/index.js +2 -0
  141. package/components/Textarea/index.js.map +1 -0
  142. package/components/Textarea/styles.module.scss +57 -0
  143. package/components/Textarea/styles.module.scss.d.ts +26 -0
  144. package/components/Tile/index.d.ts +1 -0
  145. package/components/Tile/index.d.ts.map +1 -1
  146. package/components/Tile/index.js +1 -1
  147. package/components/Title/index.d.ts +1 -0
  148. package/components/Title/index.d.ts.map +1 -1
  149. package/components/Title/index.js +1 -1
  150. package/components/Validation/Validation.d.ts +2 -2
  151. package/components/Validation/Validation.d.ts.map +1 -1
  152. package/components/Validation/index.d.ts +1 -0
  153. package/components/Validation/index.d.ts.map +1 -1
  154. package/components/Validation/index.js +1 -1
  155. package/constants-42547490.js +2 -0
  156. package/constants-42547490.js.map +1 -0
  157. package/constants.d.ts +29 -0
  158. package/constants.d.ts.map +1 -1
  159. package/hooks/useIcons.d.ts +4 -0
  160. package/hooks/useIcons.d.ts.map +1 -0
  161. package/index.d.ts +1 -0
  162. package/index.d.ts.map +1 -1
  163. package/index.js +1 -1
  164. package/package.json +2 -1
  165. package/scss/_input.scss +174 -0
  166. package/scss/_title.scss +16 -12
  167. package/Button-48132cc3.js +0 -2
  168. package/Button-48132cc3.js.map +0 -1
  169. package/Checkbox-46666e69.js +0 -2
  170. package/Checkbox-46666e69.js.map +0 -1
  171. package/Close-591125bb.js +0 -2
  172. package/Close-591125bb.js.map +0 -1
  173. package/FormGroup-56d60079.js +0 -2
  174. package/FormGroup-56d60079.js.map +0 -1
  175. package/Loader-6ff0d481.js +0 -2
  176. package/Loader-6ff0d481.js.map +0 -1
  177. package/Modal-145869ba.js +0 -2
  178. package/Modal-145869ba.js.map +0 -1
  179. package/Title-72851d51.js +0 -2
  180. package/Title-72851d51.js.map +0 -1
  181. package/Validation-372a97b9.js +0 -2
  182. package/Validation-372a97b9.js.map +0 -1
  183. package/constants-d919236e.js +0 -2
  184. package/constants-d919236e.js.map +0 -1
@@ -0,0 +1,565 @@
1
+ {
2
+ "props": {
3
+ "defaultValue": {
4
+ "defaultValue": null,
5
+ "description": "initial value for textarea",
6
+ "name": "defaultValue",
7
+ "parent": {
8
+ "fileName": "src/components/Textarea/Textarea.tsx",
9
+ "name": "TextareaProps"
10
+ },
11
+ "declarations": [
12
+ {
13
+ "fileName": "src/components/Textarea/Textarea.tsx",
14
+ "name": "TextareaProps"
15
+ }
16
+ ],
17
+ "required": false,
18
+ "type": {
19
+ "name": "string"
20
+ }
21
+ },
22
+ "maxCharacters": {
23
+ "defaultValue": null,
24
+ "description": "max character limit in textarea",
25
+ "name": "maxCharacters",
26
+ "parent": {
27
+ "fileName": "src/components/Textarea/Textarea.tsx",
28
+ "name": "TextareaProps"
29
+ },
30
+ "declarations": [
31
+ {
32
+ "fileName": "src/components/Textarea/Textarea.tsx",
33
+ "name": "TextareaProps"
34
+ }
35
+ ],
36
+ "required": false,
37
+ "type": {
38
+ "name": "number"
39
+ }
40
+ },
41
+ "maxText": {
42
+ "defaultValue": null,
43
+ "description": "The text is displayed in the end of the text-counter",
44
+ "name": "maxText",
45
+ "parent": {
46
+ "fileName": "src/components/Textarea/Textarea.tsx",
47
+ "name": "TextareaProps"
48
+ },
49
+ "declarations": [
50
+ {
51
+ "fileName": "src/components/Textarea/Textarea.tsx",
52
+ "name": "TextareaProps"
53
+ }
54
+ ],
55
+ "required": false,
56
+ "type": {
57
+ "name": "string"
58
+ }
59
+ },
60
+ "testId": {
61
+ "defaultValue": null,
62
+ "description": "Sets the data-testid attribute.",
63
+ "name": "testId",
64
+ "parent": {
65
+ "fileName": "src/components/Textarea/Textarea.tsx",
66
+ "name": "TextareaProps"
67
+ },
68
+ "declarations": [
69
+ {
70
+ "fileName": "src/components/Textarea/Textarea.tsx",
71
+ "name": "TextareaProps"
72
+ }
73
+ ],
74
+ "required": false,
75
+ "type": {
76
+ "name": "string"
77
+ }
78
+ },
79
+ "marginBottom": {
80
+ "defaultValue": null,
81
+ "description": "If true, the component will have a bottom margin.",
82
+ "name": "marginBottom",
83
+ "parent": {
84
+ "fileName": "src/components/Textarea/Textarea.tsx",
85
+ "name": "TextareaProps"
86
+ },
87
+ "declarations": [
88
+ {
89
+ "fileName": "src/components/Textarea/Textarea.tsx",
90
+ "name": "TextareaProps"
91
+ }
92
+ ],
93
+ "required": false,
94
+ "type": {
95
+ "name": "boolean"
96
+ }
97
+ },
98
+ "transparent": {
99
+ "defaultValue": null,
100
+ "description": "If true, the component will be transparent.",
101
+ "name": "transparent",
102
+ "parent": {
103
+ "fileName": "src/components/Textarea/Textarea.tsx",
104
+ "name": "TextareaProps"
105
+ },
106
+ "declarations": [
107
+ {
108
+ "fileName": "src/components/Textarea/Textarea.tsx",
109
+ "name": "TextareaProps"
110
+ }
111
+ ],
112
+ "required": false,
113
+ "type": {
114
+ "name": "boolean"
115
+ }
116
+ },
117
+ "mode": {
118
+ "defaultValue": null,
119
+ "description": "Changes the visuals of the textarea",
120
+ "name": "mode",
121
+ "parent": {
122
+ "fileName": "src/components/Textarea/Textarea.tsx",
123
+ "name": "TextareaProps"
124
+ },
125
+ "declarations": [
126
+ {
127
+ "fileName": "src/components/Textarea/Textarea.tsx",
128
+ "name": "TextareaProps"
129
+ }
130
+ ],
131
+ "required": false,
132
+ "type": {
133
+ "name": "enum",
134
+ "raw": "\"onwhite\" | \"ongrey\" | \"onblueberry\" | \"ondark\" | \"oninvalid\" | undefined",
135
+ "value": [
136
+ {
137
+ "value": "undefined"
138
+ },
139
+ {
140
+ "value": "\"onwhite\""
141
+ },
142
+ {
143
+ "value": "\"ongrey\""
144
+ },
145
+ {
146
+ "value": "\"onblueberry\""
147
+ },
148
+ {
149
+ "value": "\"ondark\""
150
+ },
151
+ {
152
+ "value": "\"oninvalid\""
153
+ }
154
+ ]
155
+ }
156
+ },
157
+ "label": {
158
+ "defaultValue": null,
159
+ "description": "Label of the input",
160
+ "name": "label",
161
+ "parent": {
162
+ "fileName": "src/components/Textarea/Textarea.tsx",
163
+ "name": "TextareaProps"
164
+ },
165
+ "declarations": [
166
+ {
167
+ "fileName": "src/components/Textarea/Textarea.tsx",
168
+ "name": "TextareaProps"
169
+ }
170
+ ],
171
+ "required": false,
172
+ "type": {
173
+ "name": "string"
174
+ }
175
+ },
176
+ "maxRows": {
177
+ "defaultValue": null,
178
+ "description": "max rows",
179
+ "name": "maxRows",
180
+ "parent": {
181
+ "fileName": "src/components/Textarea/Textarea.tsx",
182
+ "name": "TextareaProps"
183
+ },
184
+ "declarations": [
185
+ {
186
+ "fileName": "src/components/Textarea/Textarea.tsx",
187
+ "name": "TextareaProps"
188
+ }
189
+ ],
190
+ "required": false,
191
+ "type": {
192
+ "name": "number"
193
+ }
194
+ },
195
+ "minRows": {
196
+ "defaultValue": null,
197
+ "description": "min rows",
198
+ "name": "minRows",
199
+ "parent": {
200
+ "fileName": "src/components/Textarea/Textarea.tsx",
201
+ "name": "TextareaProps"
202
+ },
203
+ "declarations": [
204
+ {
205
+ "fileName": "src/components/Textarea/Textarea.tsx",
206
+ "name": "TextareaProps"
207
+ }
208
+ ],
209
+ "required": false,
210
+ "type": {
211
+ "name": "number"
212
+ }
213
+ },
214
+ "grow": {
215
+ "defaultValue": null,
216
+ "description": "auto-grows until maxRows",
217
+ "name": "grow",
218
+ "parent": {
219
+ "fileName": "src/components/Textarea/Textarea.tsx",
220
+ "name": "TextareaProps"
221
+ },
222
+ "declarations": [
223
+ {
224
+ "fileName": "src/components/Textarea/Textarea.tsx",
225
+ "name": "TextareaProps"
226
+ }
227
+ ],
228
+ "required": false,
229
+ "type": {
230
+ "name": "boolean"
231
+ }
232
+ },
233
+ "errorText": {
234
+ "defaultValue": null,
235
+ "description": "Error text to show above the component",
236
+ "name": "errorText",
237
+ "parent": {
238
+ "fileName": "src/components/Textarea/Textarea.tsx",
239
+ "name": "TextareaProps"
240
+ },
241
+ "declarations": [
242
+ {
243
+ "fileName": "src/components/Textarea/Textarea.tsx",
244
+ "name": "TextareaProps"
245
+ }
246
+ ],
247
+ "required": false,
248
+ "type": {
249
+ "name": "string"
250
+ }
251
+ },
252
+ "afterLabelChildren": {
253
+ "defaultValue": null,
254
+ "description": "Component shown after label",
255
+ "name": "afterLabelChildren",
256
+ "parent": {
257
+ "fileName": "src/components/Textarea/Textarea.tsx",
258
+ "name": "TextareaProps"
259
+ },
260
+ "declarations": [
261
+ {
262
+ "fileName": "src/components/Textarea/Textarea.tsx",
263
+ "name": "TextareaProps"
264
+ }
265
+ ],
266
+ "required": false,
267
+ "type": {
268
+ "name": "ReactNode"
269
+ }
270
+ },
271
+ "belowLabelChildren": {
272
+ "defaultValue": null,
273
+ "description": "Component shown under label",
274
+ "name": "belowLabelChildren",
275
+ "parent": {
276
+ "fileName": "src/components/Textarea/Textarea.tsx",
277
+ "name": "TextareaProps"
278
+ },
279
+ "declarations": [
280
+ {
281
+ "fileName": "src/components/Textarea/Textarea.tsx",
282
+ "name": "TextareaProps"
283
+ }
284
+ ],
285
+ "required": false,
286
+ "type": {
287
+ "name": "ReactNode"
288
+ }
289
+ },
290
+ "autoFocus": {
291
+ "defaultValue": null,
292
+ "description": "",
293
+ "name": "autoFocus",
294
+ "parent": {
295
+ "fileName": "designsystem/src/constants.ts",
296
+ "name": "HTMLTextareaProps"
297
+ },
298
+ "declarations": [
299
+ {
300
+ "fileName": "designsystem/src/constants.ts",
301
+ "name": "HTMLTextareaProps"
302
+ }
303
+ ],
304
+ "required": false,
305
+ "type": {
306
+ "name": "boolean"
307
+ }
308
+ },
309
+ "disabled": {
310
+ "defaultValue": null,
311
+ "description": "",
312
+ "name": "disabled",
313
+ "parent": {
314
+ "fileName": "designsystem/src/constants.ts",
315
+ "name": "HTMLTextareaProps"
316
+ },
317
+ "declarations": [
318
+ {
319
+ "fileName": "designsystem/src/constants.ts",
320
+ "name": "HTMLTextareaProps"
321
+ }
322
+ ],
323
+ "required": false,
324
+ "type": {
325
+ "name": "boolean"
326
+ }
327
+ },
328
+ "form": {
329
+ "defaultValue": null,
330
+ "description": "",
331
+ "name": "form",
332
+ "parent": {
333
+ "fileName": "designsystem/src/constants.ts",
334
+ "name": "HTMLTextareaProps"
335
+ },
336
+ "declarations": [
337
+ {
338
+ "fileName": "designsystem/src/constants.ts",
339
+ "name": "HTMLTextareaProps"
340
+ }
341
+ ],
342
+ "required": false,
343
+ "type": {
344
+ "name": "string"
345
+ }
346
+ },
347
+ "formNoValidate": {
348
+ "defaultValue": null,
349
+ "description": "",
350
+ "name": "formNoValidate",
351
+ "parent": {
352
+ "fileName": "designsystem/src/constants.ts",
353
+ "name": "HTMLTextareaProps"
354
+ },
355
+ "declarations": [
356
+ {
357
+ "fileName": "designsystem/src/constants.ts",
358
+ "name": "HTMLTextareaProps"
359
+ }
360
+ ],
361
+ "required": false,
362
+ "type": {
363
+ "name": "boolean"
364
+ }
365
+ },
366
+ "formTarget": {
367
+ "defaultValue": null,
368
+ "description": "",
369
+ "name": "formTarget",
370
+ "parent": {
371
+ "fileName": "designsystem/src/constants.ts",
372
+ "name": "HTMLTextareaProps"
373
+ },
374
+ "declarations": [
375
+ {
376
+ "fileName": "designsystem/src/constants.ts",
377
+ "name": "HTMLTextareaProps"
378
+ }
379
+ ],
380
+ "required": false,
381
+ "type": {
382
+ "name": "string"
383
+ }
384
+ },
385
+ "name": {
386
+ "defaultValue": null,
387
+ "description": "",
388
+ "name": "name",
389
+ "parent": {
390
+ "fileName": "designsystem/src/constants.ts",
391
+ "name": "HTMLTextareaProps"
392
+ },
393
+ "declarations": [
394
+ {
395
+ "fileName": "designsystem/src/constants.ts",
396
+ "name": "HTMLTextareaProps"
397
+ }
398
+ ],
399
+ "required": false,
400
+ "type": {
401
+ "name": "string"
402
+ }
403
+ },
404
+ "id": {
405
+ "defaultValue": null,
406
+ "description": "",
407
+ "name": "id",
408
+ "parent": {
409
+ "fileName": "designsystem/src/constants.ts",
410
+ "name": "HTMLTextareaProps"
411
+ },
412
+ "declarations": [
413
+ {
414
+ "fileName": "designsystem/src/constants.ts",
415
+ "name": "HTMLTextareaProps"
416
+ }
417
+ ],
418
+ "required": false,
419
+ "type": {
420
+ "name": "string"
421
+ }
422
+ },
423
+ "autocomplete": {
424
+ "defaultValue": null,
425
+ "description": "",
426
+ "name": "autocomplete",
427
+ "parent": {
428
+ "fileName": "designsystem/src/constants.ts",
429
+ "name": "HTMLTextareaProps"
430
+ },
431
+ "declarations": [
432
+ {
433
+ "fileName": "designsystem/src/constants.ts",
434
+ "name": "HTMLTextareaProps"
435
+ }
436
+ ],
437
+ "required": false,
438
+ "type": {
439
+ "name": "enum",
440
+ "raw": "\"off\" | \"on\" | undefined",
441
+ "value": [
442
+ {
443
+ "value": "undefined"
444
+ },
445
+ {
446
+ "value": "\"off\""
447
+ },
448
+ {
449
+ "value": "\"on\""
450
+ }
451
+ ]
452
+ }
453
+ },
454
+ "placeholder": {
455
+ "defaultValue": null,
456
+ "description": "",
457
+ "name": "placeholder",
458
+ "parent": {
459
+ "fileName": "designsystem/src/constants.ts",
460
+ "name": "HTMLTextareaProps"
461
+ },
462
+ "declarations": [
463
+ {
464
+ "fileName": "designsystem/src/constants.ts",
465
+ "name": "HTMLTextareaProps"
466
+ }
467
+ ],
468
+ "required": false,
469
+ "type": {
470
+ "name": "string"
471
+ }
472
+ },
473
+ "readonly": {
474
+ "defaultValue": null,
475
+ "description": "",
476
+ "name": "readonly",
477
+ "parent": {
478
+ "fileName": "designsystem/src/constants.ts",
479
+ "name": "HTMLTextareaProps"
480
+ },
481
+ "declarations": [
482
+ {
483
+ "fileName": "designsystem/src/constants.ts",
484
+ "name": "HTMLTextareaProps"
485
+ }
486
+ ],
487
+ "required": false,
488
+ "type": {
489
+ "name": "boolean"
490
+ }
491
+ },
492
+ "required": {
493
+ "defaultValue": null,
494
+ "description": "",
495
+ "name": "required",
496
+ "parent": {
497
+ "fileName": "designsystem/src/constants.ts",
498
+ "name": "HTMLTextareaProps"
499
+ },
500
+ "declarations": [
501
+ {
502
+ "fileName": "designsystem/src/constants.ts",
503
+ "name": "HTMLTextareaProps"
504
+ }
505
+ ],
506
+ "required": false,
507
+ "type": {
508
+ "name": "boolean"
509
+ }
510
+ },
511
+ "spellcheck": {
512
+ "defaultValue": null,
513
+ "description": "",
514
+ "name": "spellcheck",
515
+ "parent": {
516
+ "fileName": "designsystem/src/constants.ts",
517
+ "name": "HTMLTextareaProps"
518
+ },
519
+ "declarations": [
520
+ {
521
+ "fileName": "designsystem/src/constants.ts",
522
+ "name": "HTMLTextareaProps"
523
+ }
524
+ ],
525
+ "required": false,
526
+ "type": {
527
+ "name": "enum",
528
+ "raw": "\"true\" | \"default\" | \"false\" | undefined",
529
+ "value": [
530
+ {
531
+ "value": "undefined"
532
+ },
533
+ {
534
+ "value": "\"true\""
535
+ },
536
+ {
537
+ "value": "\"default\""
538
+ },
539
+ {
540
+ "value": "\"false\""
541
+ }
542
+ ]
543
+ }
544
+ },
545
+ "aria-invalid": {
546
+ "defaultValue": null,
547
+ "description": "",
548
+ "name": "aria-invalid",
549
+ "parent": {
550
+ "fileName": "designsystem/src/constants.ts",
551
+ "name": "HTMLTextareaProps"
552
+ },
553
+ "declarations": [
554
+ {
555
+ "fileName": "designsystem/src/constants.ts",
556
+ "name": "HTMLTextareaProps"
557
+ }
558
+ ],
559
+ "required": false,
560
+ "type": {
561
+ "name": "boolean"
562
+ }
563
+ }
564
+ }
565
+ }
@@ -0,0 +1,4 @@
1
+ import Textarea from './Textarea';
2
+ export * from './Textarea';
3
+ export default Textarea;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/index.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{T as s}from"../../Textarea-05e33ba3.js";export{T as default}from"../../Textarea-05e33ba3.js";import"../../_rollupPluginBabelHelpers-d0752906.js";import"../../_tslib-51c8a283.js";import"react";import"../../index-9b84fabc.js";import"./styles.module.scss";import"../../constants-42547490.js";import"../../uuid-8870ab4b.js";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,57 @@
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
+ .textarea {
8
+ @include input-wrapper;
9
+
10
+ &__error-text {
11
+ font-size: $font-size-sm;
12
+ line-height: $font-size-sm;
13
+ font-weight: 600;
14
+ color: $cherry500;
15
+ margin-top: 0;
16
+ }
17
+
18
+ &--gutterBottom {
19
+ margin-bottom: getSpacer(s);
20
+ }
21
+
22
+ &__counter-wrapper {
23
+ display: flex;
24
+ justify-content: end;
25
+ padding-top: getSpacer(xs);
26
+ padding-right: 2px;
27
+ font-size: $font-size-sm;
28
+ line-height: 28px;
29
+
30
+ @media (min-width: map-get($grid-breakpoints, md)) {
31
+ line-height: 30px;
32
+ font-size: $font-size-md;
33
+ }
34
+
35
+ p {
36
+ margin: 0;
37
+ }
38
+
39
+ &--on-dark {
40
+ color: $white;
41
+ }
42
+ &--invalid {
43
+ color: $cherry500;
44
+ font-weight: 600;
45
+ }
46
+ }
47
+ }
48
+
49
+ .content-wrapper {
50
+ @include content-wrapper;
51
+ &__input {
52
+ line-height: 28px;
53
+ height: auto;
54
+ padding: 16px;
55
+ resize: none;
56
+ }
57
+ }
@@ -0,0 +1,26 @@
1
+ export type Styles = {
2
+ 'content-wrapper': string;
3
+ 'content-wrapper__input': string;
4
+ 'content-wrapper__input--disabled': string;
5
+ 'content-wrapper--bigform': string;
6
+ 'content-wrapper--disabled': string;
7
+ 'content-wrapper--invalid': string;
8
+ 'content-wrapper--on-blueberry': string;
9
+ 'content-wrapper--on-dark': string;
10
+ 'content-wrapper--transparent': string;
11
+ textarea: string;
12
+ 'textarea__after-label-children': string;
13
+ 'textarea__counter-wrapper': string;
14
+ 'textarea__counter-wrapper--invalid': string;
15
+ 'textarea__counter-wrapper--on-dark': string;
16
+ 'textarea__error-text': string;
17
+ 'textarea__label-wrapper': string;
18
+ 'textarea__label-wrapper--on-dark': string;
19
+ 'textarea--gutterBottom': string;
20
+ };
21
+
22
+ export type ClassNames = keyof Styles;
23
+
24
+ declare const styles: Styles;
25
+
26
+ export default styles;
@@ -1,3 +1,4 @@
1
1
  import Tile from './Tile';
2
+ export * from './Tile';
2
3
  export default Tile;
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tile/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/Tile/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,eAAe,IAAI,CAAC"}
@@ -1,2 +1,2 @@
1
- import{_ as e,a as t}from"../../_rollupPluginBabelHelpers-d0752906.js";import{_ as i}from"../../_tslib-51c8a283.js";import r,{useState as l}from"react";import{c as a}from"../../index-9b84fabc.js";import{a as o}from"../../constants-d919236e.js";import n from"./styles.module.scss";var s=r.forwardRef((function(e,i){var l,o=e.children,s=e.className,c=e.htmlMarkup,m=void 0===c?"span":c,d=e.highlighted,p=e.compact,f=a(n.tile__title,(t(l={},n["tile__title--highlighted"],d),t(l,n["tile__title--compact"],p),l),s),u=m;return r.createElement(u,{className:f,ref:i},o)})),c=r.forwardRef((function(s,c){var m,d=s.icon,p=s.title,f=s.className,u=void 0===f?"":f,h=s.description,g=s.fixed,_=void 0!==g&&g,v=s.highlighted,b=void 0!==v&&v,E=s.testId,N=i(s,["icon","title","className","description","fixed","highlighted","testId"]),j=l(!1),w=e(j,2),x=w[0],M=w[1],k=!h,B=a(n.tile,(t(m={},n["tile--fixed"],_),t(m,n["tile--compact"],k),t(m,n["tile--highlighted"],b),m),u),H=a(n["title-wrapper"],t({},n["title-wrapper--compact"],k));return r.createElement("a",Object.assign({ref:c,className:B,onMouseEnter:function(){return M(!0)},onMouseLeave:function(){return M(!1)},onFocus:function(){return M(!0)},onBlur:function(){return M(!1)},"data-testid":E,rel:"_blank"===s.target?"noopener noreferrer":s.rel},N),r.createElement("div",{className:H},r.cloneElement(d,{size:o.Medium,isHovered:x,color:b?"white":"black"}),r.cloneElement(p,{highlighted:b,compact:k})),h?r.createElement("p",{className:n.tile__description},h):null)}));c.Title=s;export default c;
1
+ import{_ as e,a as t}from"../../_rollupPluginBabelHelpers-d0752906.js";import{_ as i}from"../../_tslib-51c8a283.js";import r,{useState as l}from"react";import{c as o}from"../../index-9b84fabc.js";import"../../Icon-04613a89.js";import{I as a}from"../../constants-42547490.js";import n from"./styles.module.scss";var s=r.forwardRef((function(e,i){var l,a=e.children,s=e.className,c=e.htmlMarkup,m=void 0===c?"span":c,d=e.highlighted,p=e.compact,f=o(n.tile__title,(t(l={},n["tile__title--highlighted"],d),t(l,n["tile__title--compact"],p),l),s),u=m;return r.createElement(u,{className:f,ref:i},a)})),c=r.forwardRef((function(s,c){var m,d=s.icon,p=s.title,f=s.className,u=void 0===f?"":f,h=s.description,g=s.fixed,_=void 0!==g&&g,v=s.highlighted,b=void 0!==v&&v,E=s.testId,N=i(s,["icon","title","className","description","fixed","highlighted","testId"]),j=l(!1),x=e(j,2),w=x[0],I=x[1],M=!h,k=o(n.tile,(t(m={},n["tile--fixed"],_),t(m,n["tile--compact"],M),t(m,n["tile--highlighted"],b),m),u),B=o(n["title-wrapper"],t({},n["title-wrapper--compact"],M));return r.createElement("a",Object.assign({ref:c,className:k,onMouseEnter:function(){return I(!0)},onMouseLeave:function(){return I(!1)},onFocus:function(){return I(!0)},onBlur:function(){return I(!1)},"data-testid":E,rel:"_blank"===s.target?"noopener noreferrer":s.rel},N),r.createElement("div",{className:B},r.cloneElement(d,{size:a.Medium,isHovered:w,color:b?"white":"black"}),r.cloneElement(p,{highlighted:b,compact:M})),h?r.createElement("p",{className:n.tile__description},h):null)}));c.Title=s;export default c;export{c as Tile};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,4 @@
1
1
  import Title from './Title';
2
+ export * from './Title';
2
3
  export default Title;
3
4
  //# sourceMappingURL=index.d.ts.map