@goodhood-web/ui 0.0.3

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 (45) hide show
  1. package/index.d.ts +19 -0
  2. package/index.js +93 -0
  3. package/index.mjs +4258 -0
  4. package/lib/BaseButton/BaseButton.d.ts +11 -0
  5. package/lib/Card/Card.d.ts +3 -0
  6. package/lib/Card/Card.types.d.ts +10 -0
  7. package/lib/Card/Card.utils.d.ts +3 -0
  8. package/lib/Card/CardBody/CardBody.d.ts +3 -0
  9. package/lib/Card/CardBody/CardBody.types.d.ts +5 -0
  10. package/lib/Card/CardHeader/CardHeader.d.ts +3 -0
  11. package/lib/Card/CardHeader/CardHeader.type.d.ts +10 -0
  12. package/lib/ContentCreatorButton/ContentCreatorButton.d.ts +3 -0
  13. package/lib/ContentCreatorButton/ContentCreatorButton.types.d.ts +5 -0
  14. package/lib/Divider/Divider.d.ts +3 -0
  15. package/lib/Divider/Divider.types.d.ts +6 -0
  16. package/lib/Fieldset/Fieldset.d.ts +3 -0
  17. package/lib/Fieldset/Fieldset.types.d.ts +8 -0
  18. package/lib/Form/Form.d.ts +3 -0
  19. package/lib/Form/Form.types.d.ts +10 -0
  20. package/lib/Icon/Icon.d.ts +4 -0
  21. package/lib/Icon/Icon.types.d.ts +18 -0
  22. package/lib/Icon/icons/24x24/index.d.ts +130 -0
  23. package/lib/Icon/icons/32x32/index.d.ts +265 -0
  24. package/lib/Icon/icons/index.d.ts +395 -0
  25. package/lib/IconButton/IconButton.d.ts +3 -0
  26. package/lib/IconButton/IconButton.types.d.ts +17 -0
  27. package/lib/IconButton/utils.d.ts +3 -0
  28. package/lib/Image/Image.d.ts +3 -0
  29. package/lib/Image/Image.type.d.ts +5 -0
  30. package/lib/LabelPill/LabelPill.d.ts +3 -0
  31. package/lib/LabelPill/LabelPill.types.d.ts +4 -0
  32. package/lib/Legend/Legend.d.ts +3 -0
  33. package/lib/Legend/Legend.types.d.ts +5 -0
  34. package/lib/MenuItem/MenuItem.d.ts +3 -0
  35. package/lib/MenuItem/MenuItem.types.d.ts +9 -0
  36. package/lib/NotificationBubble/NotificationBubble.d.ts +3 -0
  37. package/lib/NotificationBubble/NotificationBubble.types.d.ts +5 -0
  38. package/lib/Toggle/Toggle.d.ts +3 -0
  39. package/lib/Toggle/Toggle.types.d.ts +5 -0
  40. package/lib/ToggleInput/ToggleInput.d.ts +3 -0
  41. package/lib/ToggleInput/ToggleInput.types.d.ts +7 -0
  42. package/lib/Typography/Typography.d.ts +3 -0
  43. package/lib/Typography/Typography.types.d.ts +8 -0
  44. package/package.json +12 -0
  45. package/style.css +1 -0
@@ -0,0 +1,395 @@
1
+ /// <reference types="react" />
2
+ declare const iconsMap: {
3
+ '24': {
4
+ readonly arrow_left: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
5
+ title?: string | undefined;
6
+ }>;
7
+ readonly arrow_right: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
8
+ title?: string | undefined;
9
+ }>;
10
+ readonly bookmark: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
11
+ title?: string | undefined;
12
+ }>;
13
+ readonly bookmarked: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
14
+ title?: string | undefined;
15
+ }>;
16
+ readonly burger_menu: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
17
+ title?: string | undefined;
18
+ }>;
19
+ readonly camera: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
20
+ title?: string | undefined;
21
+ }>;
22
+ readonly checkmark: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
23
+ title?: string | undefined;
24
+ }>;
25
+ readonly checkmark_circle: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
26
+ title?: string | undefined;
27
+ }>;
28
+ readonly chevron_down: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
29
+ title?: string | undefined;
30
+ }>;
31
+ readonly chevron_left: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
32
+ title?: string | undefined;
33
+ }>;
34
+ readonly chevron_right: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
35
+ title?: string | undefined;
36
+ }>;
37
+ readonly chevron_up: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
38
+ title?: string | undefined;
39
+ }>;
40
+ readonly comment_bubble: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
41
+ title?: string | undefined;
42
+ }>;
43
+ readonly cross: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
44
+ title?: string | undefined;
45
+ }>;
46
+ readonly cross_circle: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
47
+ title?: string | undefined;
48
+ }>;
49
+ readonly envelope: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
50
+ title?: string | undefined;
51
+ }>;
52
+ readonly event_calendar: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
53
+ title?: string | undefined;
54
+ }>;
55
+ readonly external_link: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
56
+ title?: string | undefined;
57
+ }>;
58
+ readonly eye: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
59
+ title?: string | undefined;
60
+ }>;
61
+ readonly eye_crossed: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
62
+ title?: string | undefined;
63
+ }>;
64
+ readonly filter: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
65
+ title?: string | undefined;
66
+ }>;
67
+ readonly globe: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
68
+ title?: string | undefined;
69
+ }>;
70
+ readonly heart: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
71
+ title?: string | undefined;
72
+ }>;
73
+ readonly image: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
74
+ title?: string | undefined;
75
+ }>;
76
+ readonly loudspeaker: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
77
+ title?: string | undefined;
78
+ }>;
79
+ readonly marketplace: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
80
+ title?: string | undefined;
81
+ }>;
82
+ readonly more_dots: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
83
+ title?: string | undefined;
84
+ }>;
85
+ readonly more_dots_alt: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
86
+ title?: string | undefined;
87
+ }>;
88
+ readonly mute: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
89
+ title?: string | undefined;
90
+ }>;
91
+ readonly notification_bell: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
92
+ title?: string | undefined;
93
+ }>;
94
+ readonly paperclip: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
95
+ title?: string | undefined;
96
+ }>;
97
+ readonly pencil: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
98
+ title?: string | undefined;
99
+ }>;
100
+ readonly pin: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
101
+ title?: string | undefined;
102
+ }>;
103
+ readonly plus: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
104
+ title?: string | undefined;
105
+ }>;
106
+ readonly plus_circle: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
107
+ title?: string | undefined;
108
+ }>;
109
+ readonly privacy_lock: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
110
+ title?: string | undefined;
111
+ }>;
112
+ readonly search: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
113
+ title?: string | undefined;
114
+ }>;
115
+ readonly share_arrow: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
116
+ title?: string | undefined;
117
+ }>;
118
+ readonly share_arrow_outline: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
119
+ title?: string | undefined;
120
+ }>;
121
+ readonly sort: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
122
+ title?: string | undefined;
123
+ }>;
124
+ readonly thanks: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
125
+ title?: string | undefined;
126
+ }>;
127
+ readonly trash_can: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
128
+ title?: string | undefined;
129
+ }>;
130
+ };
131
+ '32': {
132
+ readonly address_book: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
133
+ title?: string | undefined;
134
+ }>;
135
+ readonly baby_toy: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
136
+ title?: string | undefined;
137
+ }>;
138
+ readonly bicycle: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
139
+ title?: string | undefined;
140
+ }>;
141
+ readonly bookmark: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
142
+ title?: string | undefined;
143
+ }>;
144
+ readonly books: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
145
+ title?: string | undefined;
146
+ }>;
147
+ readonly bubble_heart_filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
148
+ title?: string | undefined;
149
+ }>;
150
+ readonly bubble_heart_outline: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
151
+ title?: string | undefined;
152
+ }>;
153
+ readonly buildings: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
154
+ title?: string | undefined;
155
+ }>;
156
+ readonly burger_menu: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
157
+ title?: string | undefined;
158
+ }>;
159
+ readonly business: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
160
+ title?: string | undefined;
161
+ }>;
162
+ readonly business_profile: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
163
+ title?: string | undefined;
164
+ }>;
165
+ readonly camera: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
166
+ title?: string | undefined;
167
+ }>;
168
+ readonly camera_crossed: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
169
+ title?: string | undefined;
170
+ }>;
171
+ readonly car: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
172
+ title?: string | undefined;
173
+ }>;
174
+ readonly carrot: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
175
+ title?: string | undefined;
176
+ }>;
177
+ readonly chat: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
178
+ title?: string | undefined;
179
+ }>;
180
+ readonly checkmark_circle: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
181
+ title?: string | undefined;
182
+ }>;
183
+ readonly christmas_tree: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
184
+ title?: string | undefined;
185
+ }>;
186
+ readonly clipboard: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
187
+ title?: string | undefined;
188
+ }>;
189
+ readonly clothing: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
190
+ title?: string | undefined;
191
+ }>;
192
+ readonly cocktail: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
193
+ title?: string | undefined;
194
+ }>;
195
+ readonly comment_bubble: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
196
+ title?: string | undefined;
197
+ }>;
198
+ readonly compass: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
199
+ title?: string | undefined;
200
+ }>;
201
+ readonly computer: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
202
+ title?: string | undefined;
203
+ }>;
204
+ readonly couch: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
205
+ title?: string | undefined;
206
+ }>;
207
+ readonly credit_card: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
208
+ title?: string | undefined;
209
+ }>;
210
+ readonly cross_circle: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
211
+ title?: string | undefined;
212
+ }>;
213
+ readonly cutlery: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
214
+ title?: string | undefined;
215
+ }>;
216
+ readonly drill_tool: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
217
+ title?: string | undefined;
218
+ }>;
219
+ readonly email: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
220
+ title?: string | undefined;
221
+ }>;
222
+ readonly envelope: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
223
+ title?: string | undefined;
224
+ }>;
225
+ readonly event_calendar_check: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
226
+ title?: string | undefined;
227
+ }>;
228
+ readonly event_calendar_date: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
229
+ title?: string | undefined;
230
+ }>;
231
+ readonly event_calendar_plus: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
232
+ title?: string | undefined;
233
+ }>;
234
+ readonly exchange: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
235
+ title?: string | undefined;
236
+ }>;
237
+ readonly eye: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
238
+ title?: string | undefined;
239
+ }>;
240
+ readonly eye_crossed: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
241
+ title?: string | undefined;
242
+ }>;
243
+ readonly gift: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
244
+ title?: string | undefined;
245
+ }>;
246
+ readonly group: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
247
+ title?: string | undefined;
248
+ }>;
249
+ readonly healthcare: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
250
+ title?: string | undefined;
251
+ }>;
252
+ readonly heart: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
253
+ title?: string | undefined;
254
+ }>;
255
+ readonly house: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
256
+ title?: string | undefined;
257
+ }>;
258
+ readonly image: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
259
+ title?: string | undefined;
260
+ }>;
261
+ readonly info: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
262
+ title?: string | undefined;
263
+ }>;
264
+ readonly invite_neighbour: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
265
+ title?: string | undefined;
266
+ }>;
267
+ readonly key: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
268
+ title?: string | undefined;
269
+ }>;
270
+ readonly kitchen_pot: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
271
+ title?: string | undefined;
272
+ }>;
273
+ readonly list: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
274
+ title?: string | undefined;
275
+ }>;
276
+ readonly log_out: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
277
+ title?: string | undefined;
278
+ }>;
279
+ readonly loudspeaker: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
280
+ title?: string | undefined;
281
+ }>;
282
+ readonly map: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
283
+ title?: string | undefined;
284
+ }>;
285
+ readonly marketplace: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
286
+ title?: string | undefined;
287
+ }>;
288
+ readonly miscellaneous_other: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
289
+ title?: string | undefined;
290
+ }>;
291
+ readonly more_dots: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
292
+ title?: string | undefined;
293
+ }>;
294
+ readonly more_dots_alt: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
295
+ title?: string | undefined;
296
+ }>;
297
+ readonly music: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
298
+ title?: string | undefined;
299
+ }>;
300
+ readonly nebenan_de: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
301
+ title?: string | undefined;
302
+ }>;
303
+ readonly neighbour: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
304
+ title?: string | undefined;
305
+ }>;
306
+ readonly notification_bell: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
307
+ title?: string | undefined;
308
+ }>;
309
+ readonly organisation: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
310
+ title?: string | undefined;
311
+ }>;
312
+ readonly paper_form_empty: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
313
+ title?: string | undefined;
314
+ }>;
315
+ readonly paper_form_filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
316
+ title?: string | undefined;
317
+ }>;
318
+ readonly paperclip: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
319
+ title?: string | undefined;
320
+ }>;
321
+ readonly paw: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
322
+ title?: string | undefined;
323
+ }>;
324
+ readonly pencil: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
325
+ title?: string | undefined;
326
+ }>;
327
+ readonly pin: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
328
+ title?: string | undefined;
329
+ }>;
330
+ readonly pins: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
331
+ title?: string | undefined;
332
+ }>;
333
+ readonly plant: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
334
+ title?: string | undefined;
335
+ }>;
336
+ readonly plus: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
337
+ title?: string | undefined;
338
+ }>;
339
+ readonly plus_circle: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
340
+ title?: string | undefined;
341
+ }>;
342
+ readonly post: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
343
+ title?: string | undefined;
344
+ }>;
345
+ readonly privacy_lock: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
346
+ title?: string | undefined;
347
+ }>;
348
+ readonly qr_code: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
349
+ title?: string | undefined;
350
+ }>;
351
+ readonly search: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
352
+ title?: string | undefined;
353
+ }>;
354
+ readonly settings_cog: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
355
+ title?: string | undefined;
356
+ }>;
357
+ readonly shopping_bag: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
358
+ title?: string | undefined;
359
+ }>;
360
+ readonly shopping_cart: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
361
+ title?: string | undefined;
362
+ }>;
363
+ readonly special_place: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
364
+ title?: string | undefined;
365
+ }>;
366
+ readonly suitcase: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
367
+ title?: string | undefined;
368
+ }>;
369
+ readonly supporter: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
370
+ title?: string | undefined;
371
+ }>;
372
+ readonly tennis_ball: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
373
+ title?: string | undefined;
374
+ }>;
375
+ readonly thanks: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
376
+ title?: string | undefined;
377
+ }>;
378
+ readonly trash_can: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
379
+ title?: string | undefined;
380
+ }>;
381
+ readonly truck: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
382
+ title?: string | undefined;
383
+ }>;
384
+ readonly user: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
385
+ title?: string | undefined;
386
+ }>;
387
+ readonly user_profile: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
388
+ title?: string | undefined;
389
+ }>;
390
+ readonly wellness: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
391
+ title?: string | undefined;
392
+ }>;
393
+ };
394
+ };
395
+ export default iconsMap;
@@ -0,0 +1,3 @@
1
+ import { IconButtonProps } from './IconButton.types';
2
+ declare const IconButton: ({ icon, size, ...baseButtonProps }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default IconButton;
@@ -0,0 +1,17 @@
1
+ import { BaseButtonProps } from '../BaseButton/BaseButton';
2
+ import { Icon24, Icon32 } from '../Icon/Icon.types';
3
+ type BaseIconButtonProps = Omit<BaseButtonProps, 'children' | 'ref' | 'className'> & ({
4
+ ariaLabel: string;
5
+ } | {
6
+ ariaLabelledBy: string;
7
+ });
8
+ type IconButtonIcon24Props = {
9
+ icon: Icon24;
10
+ size?: 'small';
11
+ } & BaseIconButtonProps;
12
+ type IconButtonIcon32Props = {
13
+ icon: Icon32;
14
+ size: 'medium' | 'large';
15
+ } & BaseIconButtonProps;
16
+ export type IconButtonProps = IconButtonIcon32Props | IconButtonIcon24Props;
17
+ export {};
@@ -0,0 +1,3 @@
1
+ type IconButtonSize = 'large' | 'medium' | 'small';
2
+ export declare const getIconSize: (size: IconButtonSize) => "32" | "24";
3
+ export {};
@@ -0,0 +1,3 @@
1
+ import { ImageProps } from './Image.type';
2
+ declare const Image: ({ alt, className, src }: ImageProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Image;
@@ -0,0 +1,5 @@
1
+ export interface ImageProps {
2
+ alt: string;
3
+ className?: string;
4
+ src: string;
5
+ }
@@ -0,0 +1,3 @@
1
+ import { LabelPillProps } from './LabelPill.types';
2
+ declare const LabelPill: ({ label, size }: LabelPillProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LabelPill;
@@ -0,0 +1,4 @@
1
+ export interface LabelPillProps {
2
+ label: string;
3
+ size: 'small' | 'medium';
4
+ }
@@ -0,0 +1,3 @@
1
+ import { LegendProps } from './Legend.types';
2
+ declare const Legend: ({ className, headline, text }: LegendProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Legend;
@@ -0,0 +1,5 @@
1
+ export type LegendProps = {
2
+ className?: string;
3
+ headline: string;
4
+ text?: string;
5
+ };
@@ -0,0 +1,3 @@
1
+ import { MenuItemProps } from './MenuItem.types';
2
+ declare const MenuItem: ({ isSelected, labelPillText, leftIcon, onClick, rightIcon, text, }: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MenuItem;
@@ -0,0 +1,9 @@
1
+ import { ReactNode } from 'react';
2
+ export interface MenuItemProps {
3
+ isSelected?: boolean;
4
+ labelPillText: string;
5
+ leftIcon: ReactNode;
6
+ onClick: () => void;
7
+ rightIcon: ReactNode;
8
+ text: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ import { NotificationBubbleProps } from './NotificationBubble.types';
2
+ declare const NotificationBubble: (props: NotificationBubbleProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default NotificationBubble;
@@ -0,0 +1,5 @@
1
+ import { BadgeOwnProps } from '@mui/base';
2
+ export interface NotificationBubbleProps extends BadgeOwnProps {
3
+ ariaLabel?: string;
4
+ value?: number;
5
+ }
@@ -0,0 +1,3 @@
1
+ import { ToggleProps } from './Toggle.types';
2
+ declare const Toggle: (props: ToggleProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Toggle;
@@ -0,0 +1,5 @@
1
+ import { UseSwitchParameters } from '@mui/base';
2
+ export interface ToggleProps extends UseSwitchParameters {
3
+ className?: string;
4
+ id?: string;
5
+ }
@@ -0,0 +1,3 @@
1
+ import { ToggleInputProps } from './ToggleInput.types';
2
+ declare const ToggleInput: ({ checked, defaultChecked, disabled, icon, label, onChange, withBorder, }: ToggleInputProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default ToggleInput;
@@ -0,0 +1,7 @@
1
+ import { UseSwitchParameters } from '@mui/base';
2
+ import { Icon32 } from '../Icon/Icon.types';
3
+ export interface ToggleInputProps extends UseSwitchParameters {
4
+ icon?: Icon32;
5
+ label: string;
6
+ withBorder?: boolean;
7
+ }
@@ -0,0 +1,3 @@
1
+ import { TypographyProps } from './Typography.types';
2
+ declare function Typography({ as, children, className, type }: TypographyProps): import("react/jsx-runtime").JSX.Element;
3
+ export default Typography;
@@ -0,0 +1,8 @@
1
+ import { JSX } from 'react';
2
+ export type TypographyType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'h7' | 'h8' | 'body-large' | 'body-regular' | 'body-semibold' | 'body-italic' | 'detail-medium' | 'detail-bold' | 'detail-upper-case';
3
+ export interface TypographyProps {
4
+ as?: Extract<keyof JSX.IntrinsicElements, 'span' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'>;
5
+ children: string;
6
+ className?: string;
7
+ type: TypographyType;
8
+ }
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "@goodhood-web/ui",
3
+ "version": "0.0.3",
4
+ "main": "./index.js",
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "import": "./index.mjs",
9
+ "require": "./index.js"
10
+ }
11
+ }
12
+ }
package/style.css ADDED
@@ -0,0 +1 @@
1
+ ._baseBtn_10d55_5{min-width:2rem;min-height:2rem;border:none;border-radius:0;cursor:pointer}._baseBtn--active_10d55_12{background:#b1b1b1}._root_9od6k_5{display:flex;overflow:hidden;width:100%;flex-direction:column;padding:16px;box-shadow:0 2px 8px #0000001a;color:#201649;background-color:#fff}._root--border-radius_9od6k_15{border-radius:8px}._root_19t52_5{padding:8px 0;color:inherit}._root_1i2o4_5{display:flex;align-items:center;padding-bottom:12px;color:inherit;gap:8px}._title_1i2o4_13{flex-grow:1;margin:0}._h1_19fm0_5{margin-bottom:0;font-family:Inter;font-size:32px;font-weight:500;letter-spacing:0;line-height:40px;text-decoration:none;text-indent:0px;text-transform:none}._h2_19fm0_17{margin-bottom:0;font-family:Inter;font-size:24px;font-weight:Semi Bold;letter-spacing:0;line-height:32px;text-decoration:none;text-indent:0px;text-transform:none}._h3_19fm0_29{margin-bottom:0;font-family:Inter;font-size:20px;font-weight:Semi Bold;letter-spacing:0;line-height:24px;text-decoration:none;text-indent:0px;text-transform:none}._h4_19fm0_41{margin-bottom:0;font-family:Inter;font-size:18px;font-weight:700;letter-spacing:0;line-height:24px;text-decoration:none;text-indent:0px;text-transform:none}._h5_19fm0_53{margin-bottom:0;font-family:Inter;font-size:16px;font-weight:Semi Bold;letter-spacing:0;line-height:24px;text-decoration:none;text-indent:0px;text-transform:none}._h6_19fm0_65{margin-bottom:0;font-family:Inter;font-size:14px;font-weight:700;letter-spacing:1;line-height:24px;text-decoration:none;text-indent:0px;text-transform:uppercase}._h7_19fm0_77{margin-bottom:0;font-family:Inter;font-size:12px;font-weight:Extra Bold;letter-spacing:1;line-height:16px;text-decoration:none;text-indent:0px;text-transform:uppercase}._h8_19fm0_89{margin-bottom:0;font-family:Inter;font-size:10px;font-weight:Extra Bold;letter-spacing:1.5;line-height:16px;text-decoration:none;text-indent:0px;text-transform:uppercase}._body-large_19fm0_101{margin-bottom:0;font-family:Inter;font-size:16px;font-weight:500;letter-spacing:0;line-height:24px;text-decoration:none;text-indent:0px;text-transform:none}._body-regular_19fm0_113{margin-bottom:0;font-family:Inter;font-size:14px;font-weight:400;letter-spacing:0;line-height:20px;text-decoration:none;text-indent:0px;text-transform:none}._body-semibold_19fm0_125{margin-bottom:0;font-family:Inter;font-size:14px;font-weight:Semi Bold;letter-spacing:0;line-height:20px;text-decoration:none;text-indent:0px;text-transform:none}._body-italic_19fm0_137{margin-bottom:0;font-family:Inter;font-size:14px;font-weight:Italic;letter-spacing:0;line-height:20px;text-decoration:none;text-indent:0px;text-transform:none}._detail-medium_19fm0_149{margin-bottom:0;font-family:Inter;font-size:12px;font-weight:500;letter-spacing:0;line-height:16px;text-decoration:none;text-indent:0px;text-transform:none}._detail-bold_19fm0_161{margin-bottom:0;font-family:Inter;font-size:12px;font-weight:700;letter-spacing:0;line-height:16px;text-decoration:none;text-indent:0px;text-transform:none}._detail-upper-case_19fm0_173{margin-bottom:0;font-family:Inter;font-size:10px;font-weight:Extra Bold;letter-spacing:0;line-height:16px;text-decoration:none;text-indent:0px;text-transform:uppercase}._ccBtn_1xlg7_5{display:flex;height:40px;align-items:center;align-self:stretch;padding:8px 16px;border-color:transparent;border-radius:12px;background-color:#f4f3f6;color:#201649;cursor:pointer;font-size:14px}._dividerContainer_15s9t_5{display:flex;align-items:center}._dividerLine_15s9t_10{height:1px;flex-grow:1;background-color:#d2d0db}._fieldset_1v3k4_5{border:none}._iconComponent_1lk0o_5{display:block}._iconComponent_1lk0o_5 path{stroke:currentColor}._iconButton_6miie_5{display:flex;align-items:center;justify-content:center;border-radius:50%;background:#cae85d}._iconButton_6miie_5:disabled{background:#ffffff}._iconButton_6miie_5:hover{background:#b5d622}._iconButton_6miie_5:active{background:#cae85d}._iconButton--small_6miie_21{width:40px;height:40px}._iconButton--medium_6miie_25{width:48px;height:48px}._iconButton--large_6miie_29{width:56px;height:56px}._labelPill_1jq48_5{display:inline-flex;align-items:center;justify-content:center;border-radius:16px;background:#01819C}._labelPill_1jq48_5 span{color:#fff;line-height:16px;text-align:center}._labelPill--small_1jq48_17{height:20px;padding:0 8px}._labelPill--small_1jq48_17 span{font-size:10px;font-weight:800;text-transform:uppercase}._labelPill--medium_1jq48_26{padding:4px 8px}._labelPill--medium_1jq48_26 span{font-size:12px;font-weight:700}._legend_1rfbr_5{display:flex;flex-direction:column;padding-bottom:12px;gap:8px}._legend_1rfbr_5 ._text_1rfbr_11{color:#635c80}._menuItem_4zvop_5{display:flex;width:280px;flex-shrink:0;align-items:center;padding:0 8px;background-color:#fff;color:#201649;gap:8px;text-decoration:none}._menuItem_4zvop_5 ._highlightFrame_4zvop_16{display:flex;flex:1;align-items:center;padding:8px;border-radius:8px;gap:8px}._menuItem_4zvop_5 ._rightIcon_4zvop_24{display:inherit;margin-left:auto}._menuItem_4zvop_5 ._rightIcon_4zvop_24 svg path{stroke:#635c80!important}._menuItem--selected_4zvop_31 ._highlightFrame_4zvop_16{background-color:#f2fbc4}._menuItem--selected_4zvop_31 ._highlightFrame_4zvop_16 svg path{stroke:#738c00}._menuItem--selected_4zvop_31:hover{color:#738c00}._menuItem_4zvop_5:not(._menuItem--selected_4zvop_31):active{background-color:#f4f3f6}._menuItem_4zvop_5:not(._menuItem--selected_4zvop_31):hover{color:#635c80}._menuItem_4zvop_5:not(._menuItem--selected_4zvop_31):hover svg path{stroke:#635c80}._menuItem_4zvop_5:not(._menuItem--selected_4zvop_31):hover ._highlightFrame_4zvop_16{background-color:#f4f3f6}._bubbleContent_1b70j_5{position:relative;display:inline-block}._bubble_1b70j_5{position:absolute;z-index:auto;top:6px;right:6px;display:flex;width:20px;height:20px;align-items:center;justify-content:center;border-radius:50%;background-color:#ff9de2;color:#201649;font-size:12px;font-weight:700;text-align:center;transform:translate(50%,-50%);transform-origin:100% 0;white-space:nowrap}._bubble--empty_1b70j_30{width:12px;height:12px}._switch_uggwp_5{position:relative;display:inline-block;width:48px;height:28px}._switch_uggwp_5 input{position:absolute;z-index:2;width:48px;height:28px;cursor:pointer;opacity:0}._switch_uggwp_5 ._slider_uggwp_19{z-index:1;display:block;width:100%;height:100%;border-radius:34px;background-color:#e9e8ed;box-shadow:0 1px 3px #0003 inset;cursor:pointer;transition:.4s}._switch_uggwp_5 ._slider_uggwp_19:before{position:absolute;right:3px;bottom:2px;width:24px;height:24px;border-radius:50%;background-color:#fff;box-shadow:0 0 2px #0003;content:"";transform:translate(-18px);transition:.4s}._switch_uggwp_5 ._slider_uggwp_19._focusVisible_uggwp_43{box-shadow:0 0 0 3px #cae85d}._switch_uggwp_5 input:checked+._slider_uggwp_19{background-color:#b5d622}._switch_uggwp_5 input:checked+._slider_uggwp_19:before{transform:translate(0)}._toggleInput_c4o9y_5{display:flex;align-items:center;padding:8px 16px;background-color:#fff;gap:12px;color:#635c80;cursor:pointer;width:100%}._toggleInput_c4o9y_5 svg{flex-shrink:0}._toggleInput_c4o9y_5 ._textLabel_c4o9y_18{flex-grow:1}._toggleInput_c4o9y_5 ._switch_c4o9y_21{flex-shrink:0}._toggleInput--checked_c4o9y_24{color:#201649}._toggleInput--withBorder_c4o9y_27{padding:12px 16px;border-radius:16px;box-shadow:inset 0 0 0 1px #d2d0db}