@goodhood-web/ui 3.3.0-development.25 → 3.3.0-development.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +3 -1
- package/index.js +77 -78
- package/index.mjs +7920 -7754
- package/lib/Atoms/Badges/Sticker/Sticker.d.ts +1 -1
- package/lib/Atoms/Badges/Sticker/Sticker.types.d.ts +1 -0
- package/lib/Atoms/Buttons/Tiles/ContentCreatorTile/ContentCreatorTile.d.ts +3 -0
- package/lib/Atoms/Buttons/Tiles/ContentCreatorTile/ContentCreatorTile.types.d.ts +11 -0
- package/lib/Atoms/Image/Image.d.ts +1 -1
- package/lib/Atoms/Inputs/TextAreaInput/TextAreaInput.types.d.ts +1 -0
- package/lib/Atoms/Inputs/TextInput/TextInput.d.ts +1 -1
- package/lib/Atoms/Inputs/TextInput/TextInput.types.d.ts +18 -5
- package/lib/Atoms/Progress/ProgressBar/ProgressBar.d.ts +1 -1
- package/lib/Atoms/Progress/ProgressBar/ProgressBar.types.d.ts +2 -0
- package/lib/Base/FlagIcon/FlagIcon.d.ts +3 -0
- package/lib/Base/FlagIcon/FlagIcon.types.d.ts +6 -0
- package/lib/Base/FlagIcon/icons/index.d.ts +164 -0
- package/lib/Base/Icon/icons/index.d.ts +6 -0
- package/lib/Base/Icon/icons/outline/32x32/index.d.ts +6 -0
- package/lib/Base/Icon/icons/outline/index.d.ts +6 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/styles/_media.scss +4 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { StickerProps } from './Sticker.types';
|
|
2
|
-
declare const Sticker: ({ color, icon, size }: StickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Sticker: ({ className, color, icon, size }: StickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Sticker;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ContentCreatorTileProps } from './ContentCreatorTile.types';
|
|
2
|
+
declare const ContentCreatorTile: ({ description, headline, isActive, isPending, onClick, selected, sticker, }: ContentCreatorTileProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default ContentCreatorTile;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { StickerProps } from '../../../Badges/Sticker/Sticker.types';
|
|
2
|
+
import { BaseButtonProps } from '../../Button/Button.types';
|
|
3
|
+
export interface ContentCreatorTileProps {
|
|
4
|
+
description?: string;
|
|
5
|
+
headline: string;
|
|
6
|
+
isActive: boolean;
|
|
7
|
+
isPending?: boolean;
|
|
8
|
+
onClick?: BaseButtonProps['onClick'];
|
|
9
|
+
selected?: boolean;
|
|
10
|
+
sticker: StickerProps;
|
|
11
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ImageProps } from './Image.type';
|
|
2
|
-
declare const Image: ({ alt, className, src }: ImageProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Image: ({ alt, className, src }: ImageProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
export default Image;
|
|
@@ -2,5 +2,6 @@ import { IconButtonIcon24Props } from '../../Buttons/IconButton/IconButton.types
|
|
|
2
2
|
import { CommonTextInputProps } from '../TextInput/TextInput.types';
|
|
3
3
|
export interface TextAreaInputProps extends CommonTextInputProps {
|
|
4
4
|
attachment?: Pick<IconButtonIcon24Props, 'icon' | 'onClick' | 'ariaLabel' | 'disabled'>[];
|
|
5
|
+
ref?: React.RefObject<HTMLTextAreaElement>;
|
|
5
6
|
size: 'medium' | 'large';
|
|
6
7
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TextInputProps } from './TextInput.types';
|
|
2
|
-
declare const TextInput: (
|
|
2
|
+
declare const TextInput: import('react').ForwardRefExoticComponent<TextInputProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
3
3
|
export default TextInput;
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { UseInputParameters } from '@mui/base';
|
|
2
2
|
import { ForwardedRef, HTMLInputTypeAttribute, KeyboardEventHandler } from 'react';
|
|
3
|
+
import { CountryCode } from '../../../Base/FlagIcon/FlagIcon.types';
|
|
3
4
|
import { IconProps } from '../../../Base/Icon/Icon.types';
|
|
4
|
-
import { IconButtonIcon24Props } from '../../Buttons/IconButton/IconButton.types';
|
|
5
|
+
import { IconButtonIcon16Props, IconButtonIcon24Props } from '../../Buttons/IconButton/IconButton.types';
|
|
5
6
|
export interface CommonTextInputProps extends UseInputParameters {
|
|
7
|
+
ariaActivedescendant?: string;
|
|
8
|
+
ariaAutocomplete?: 'none' | 'inline' | 'list' | 'both' | undefined;
|
|
9
|
+
ariaControls?: string;
|
|
6
10
|
ariaDescribedby?: string;
|
|
7
11
|
ariaExpanded?: boolean;
|
|
12
|
+
autoFocus?: boolean;
|
|
13
|
+
autocomplete?: string;
|
|
8
14
|
charLimit?: number;
|
|
9
15
|
colorScheme?: 'outline' | 'filled';
|
|
10
16
|
errorText?: string;
|
|
@@ -14,18 +20,25 @@ export interface CommonTextInputProps extends UseInputParameters {
|
|
|
14
20
|
limitCharInput?: boolean;
|
|
15
21
|
name?: string;
|
|
16
22
|
onKeyDown?: KeyboardEventHandler;
|
|
23
|
+
placeholder?: string;
|
|
24
|
+
progressBar?: React.ReactNode;
|
|
17
25
|
readonly?: boolean;
|
|
18
|
-
ref?: ForwardedRef<null>;
|
|
19
26
|
role?: 'combobox';
|
|
20
27
|
showInputHints?: boolean;
|
|
28
|
+
wrapperClassName?: string;
|
|
21
29
|
}
|
|
22
30
|
export interface TextInputProps extends CommonTextInputProps {
|
|
31
|
+
flagIcon?: CountryCode;
|
|
23
32
|
icon?: IconProps;
|
|
24
|
-
iconButton?: IconButtonIcon24Props & {
|
|
33
|
+
iconButton?: (IconButtonIcon24Props & {
|
|
25
34
|
ariaExpanded?: boolean;
|
|
26
35
|
ariaHaspopup?: boolean;
|
|
27
36
|
ref?: ForwardedRef<null>;
|
|
28
|
-
}
|
|
37
|
+
}) | (IconButtonIcon16Props & {
|
|
38
|
+
ariaExpanded?: boolean;
|
|
39
|
+
ariaHaspopup?: boolean;
|
|
40
|
+
ref?: ForwardedRef<null>;
|
|
41
|
+
});
|
|
29
42
|
inputFieldType?: HTMLInputTypeAttribute;
|
|
30
|
-
size
|
|
43
|
+
size?: 'medium' | 'large' | 'small';
|
|
31
44
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ProgressBarProps } from './ProgressBar.types';
|
|
2
|
-
export declare const ProgressBar: ({ progress, steps }: ProgressBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const ProgressBar: ({ className, progress, steps, type, }: ProgressBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default ProgressBar;
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
export declare const IconMap: {
|
|
2
|
+
AT: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
3
|
+
title?: string;
|
|
4
|
+
titleId?: string;
|
|
5
|
+
desc?: string;
|
|
6
|
+
descId?: string;
|
|
7
|
+
}>;
|
|
8
|
+
BE: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
9
|
+
title?: string;
|
|
10
|
+
titleId?: string;
|
|
11
|
+
desc?: string;
|
|
12
|
+
descId?: string;
|
|
13
|
+
}>;
|
|
14
|
+
BG: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
15
|
+
title?: string;
|
|
16
|
+
titleId?: string;
|
|
17
|
+
desc?: string;
|
|
18
|
+
descId?: string;
|
|
19
|
+
}>;
|
|
20
|
+
CY: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
21
|
+
title?: string;
|
|
22
|
+
titleId?: string;
|
|
23
|
+
desc?: string;
|
|
24
|
+
descId?: string;
|
|
25
|
+
}>;
|
|
26
|
+
CZ: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
27
|
+
title?: string;
|
|
28
|
+
titleId?: string;
|
|
29
|
+
desc?: string;
|
|
30
|
+
descId?: string;
|
|
31
|
+
}>;
|
|
32
|
+
DE: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
33
|
+
title?: string;
|
|
34
|
+
titleId?: string;
|
|
35
|
+
desc?: string;
|
|
36
|
+
descId?: string;
|
|
37
|
+
}>;
|
|
38
|
+
DK: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
39
|
+
title?: string;
|
|
40
|
+
titleId?: string;
|
|
41
|
+
desc?: string;
|
|
42
|
+
descId?: string;
|
|
43
|
+
}>;
|
|
44
|
+
EE: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
45
|
+
title?: string;
|
|
46
|
+
titleId?: string;
|
|
47
|
+
desc?: string;
|
|
48
|
+
descId?: string;
|
|
49
|
+
}>;
|
|
50
|
+
ES: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
51
|
+
title?: string;
|
|
52
|
+
titleId?: string;
|
|
53
|
+
desc?: string;
|
|
54
|
+
descId?: string;
|
|
55
|
+
}>;
|
|
56
|
+
FI: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
57
|
+
title?: string;
|
|
58
|
+
titleId?: string;
|
|
59
|
+
desc?: string;
|
|
60
|
+
descId?: string;
|
|
61
|
+
}>;
|
|
62
|
+
FR: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
63
|
+
title?: string;
|
|
64
|
+
titleId?: string;
|
|
65
|
+
desc?: string;
|
|
66
|
+
descId?: string;
|
|
67
|
+
}>;
|
|
68
|
+
GR: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
69
|
+
title?: string;
|
|
70
|
+
titleId?: string;
|
|
71
|
+
desc?: string;
|
|
72
|
+
descId?: string;
|
|
73
|
+
}>;
|
|
74
|
+
HR: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
75
|
+
title?: string;
|
|
76
|
+
titleId?: string;
|
|
77
|
+
desc?: string;
|
|
78
|
+
descId?: string;
|
|
79
|
+
}>;
|
|
80
|
+
HU: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
81
|
+
title?: string;
|
|
82
|
+
titleId?: string;
|
|
83
|
+
desc?: string;
|
|
84
|
+
descId?: string;
|
|
85
|
+
}>;
|
|
86
|
+
IE: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
87
|
+
title?: string;
|
|
88
|
+
titleId?: string;
|
|
89
|
+
desc?: string;
|
|
90
|
+
descId?: string;
|
|
91
|
+
}>;
|
|
92
|
+
IT: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
93
|
+
title?: string;
|
|
94
|
+
titleId?: string;
|
|
95
|
+
desc?: string;
|
|
96
|
+
descId?: string;
|
|
97
|
+
}>;
|
|
98
|
+
LT: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
99
|
+
title?: string;
|
|
100
|
+
titleId?: string;
|
|
101
|
+
desc?: string;
|
|
102
|
+
descId?: string;
|
|
103
|
+
}>;
|
|
104
|
+
LU: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
105
|
+
title?: string;
|
|
106
|
+
titleId?: string;
|
|
107
|
+
desc?: string;
|
|
108
|
+
descId?: string;
|
|
109
|
+
}>;
|
|
110
|
+
LV: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
111
|
+
title?: string;
|
|
112
|
+
titleId?: string;
|
|
113
|
+
desc?: string;
|
|
114
|
+
descId?: string;
|
|
115
|
+
}>;
|
|
116
|
+
MT: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
117
|
+
title?: string;
|
|
118
|
+
titleId?: string;
|
|
119
|
+
desc?: string;
|
|
120
|
+
descId?: string;
|
|
121
|
+
}>;
|
|
122
|
+
NL: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
123
|
+
title?: string;
|
|
124
|
+
titleId?: string;
|
|
125
|
+
desc?: string;
|
|
126
|
+
descId?: string;
|
|
127
|
+
}>;
|
|
128
|
+
PL: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
129
|
+
title?: string;
|
|
130
|
+
titleId?: string;
|
|
131
|
+
desc?: string;
|
|
132
|
+
descId?: string;
|
|
133
|
+
}>;
|
|
134
|
+
PT: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
135
|
+
title?: string;
|
|
136
|
+
titleId?: string;
|
|
137
|
+
desc?: string;
|
|
138
|
+
descId?: string;
|
|
139
|
+
}>;
|
|
140
|
+
RO: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
141
|
+
title?: string;
|
|
142
|
+
titleId?: string;
|
|
143
|
+
desc?: string;
|
|
144
|
+
descId?: string;
|
|
145
|
+
}>;
|
|
146
|
+
SE: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
147
|
+
title?: string;
|
|
148
|
+
titleId?: string;
|
|
149
|
+
desc?: string;
|
|
150
|
+
descId?: string;
|
|
151
|
+
}>;
|
|
152
|
+
SI: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
153
|
+
title?: string;
|
|
154
|
+
titleId?: string;
|
|
155
|
+
desc?: string;
|
|
156
|
+
descId?: string;
|
|
157
|
+
}>;
|
|
158
|
+
SK: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
159
|
+
title?: string;
|
|
160
|
+
titleId?: string;
|
|
161
|
+
desc?: string;
|
|
162
|
+
descId?: string;
|
|
163
|
+
}>;
|
|
164
|
+
};
|
|
@@ -589,6 +589,12 @@ declare const iconsMap: {
|
|
|
589
589
|
desc?: string;
|
|
590
590
|
descId?: string;
|
|
591
591
|
}>;
|
|
592
|
+
readonly checkmark: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
593
|
+
title?: string;
|
|
594
|
+
titleId?: string;
|
|
595
|
+
desc?: string;
|
|
596
|
+
descId?: string;
|
|
597
|
+
}>;
|
|
592
598
|
readonly christmas_tree: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
593
599
|
title?: string;
|
|
594
600
|
titleId?: string;
|
|
@@ -95,6 +95,12 @@ declare const IconsMap: {
|
|
|
95
95
|
desc?: string;
|
|
96
96
|
descId?: string;
|
|
97
97
|
}>;
|
|
98
|
+
readonly checkmark: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
99
|
+
title?: string;
|
|
100
|
+
titleId?: string;
|
|
101
|
+
desc?: string;
|
|
102
|
+
descId?: string;
|
|
103
|
+
}>;
|
|
98
104
|
readonly christmas_tree: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
99
105
|
title?: string;
|
|
100
106
|
titleId?: string;
|
|
@@ -502,6 +502,12 @@ declare const iconsMap: {
|
|
|
502
502
|
desc?: string;
|
|
503
503
|
descId?: string;
|
|
504
504
|
}>;
|
|
505
|
+
readonly checkmark: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
506
|
+
title?: string;
|
|
507
|
+
titleId?: string;
|
|
508
|
+
desc?: string;
|
|
509
|
+
descId?: string;
|
|
510
|
+
}>;
|
|
505
511
|
readonly christmas_tree: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
506
512
|
title?: string;
|
|
507
513
|
titleId?: string;
|