@goodhood-web/ui 4.4.0-development.1 → 4.4.0-development.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.
- package/index.js +34 -34
- package/index.mjs +3471 -3452
- package/lib/Atoms/Badges/Sticker/Sticker.types.d.ts +1 -1
- package/lib/Atoms/Buttons/ButtonPrimary/ButtonPrimary.types.d.ts +1 -1
- package/lib/Atoms/Buttons/TextButton/TextButton.types.d.ts +1 -1
- package/lib/Atoms/Buttons/Tiles/ContentCreatorTile/ContentCreatorTile.d.ts +1 -1
- package/lib/Atoms/Buttons/Tiles/ContentCreatorTile/ContentCreatorTile.types.d.ts +1 -0
- package/lib/Atoms/Inputs/DateTimeInput/DateInput/DateInput.d.ts +3 -1
- package/lib/Atoms/Inputs/DateTimeInput/DateInput/DateInput.types.d.ts +2 -0
- package/lib/Atoms/Inputs/DateTimeInput/TimeInput/TimeInput.d.ts +1 -1
- package/lib/Atoms/Inputs/DateTimeInput/TimeInput/TimeInput.types.d.ts +3 -1
- package/lib/Atoms/Inputs/TextInput/TextInput.types.d.ts +1 -0
- package/lib/Base/Icon/icons/index.d.ts +12 -0
- package/lib/Base/Icon/icons/outline/16x16/index.d.ts +12 -0
- package/lib/Base/Icon/icons/outline/index.d.ts +12 -0
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -2,7 +2,7 @@ import { Icon32 } from '../../../Base/Icon/Icon.types';
|
|
|
2
2
|
export type StickerProps = {
|
|
3
3
|
className?: string;
|
|
4
4
|
color: 'green' | 'pink' | 'lavender' | 'teal' | 'tealAlt' | 'orange' | 'grey' | 'lightGrey' | 'darkGrey';
|
|
5
|
-
size: 'small' | 'medium' | 'large';
|
|
5
|
+
size: 'tiny' | 'small' | 'medium' | 'large';
|
|
6
6
|
} & ({
|
|
7
7
|
icon?: never;
|
|
8
8
|
value: number;
|
|
@@ -2,5 +2,5 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { ButtonProps, ButtonVariationProps } from '../Button/Button.types';
|
|
3
3
|
export interface ButtonPrimaryProps extends ButtonVariationProps, Omit<ButtonProps, 'children'> {
|
|
4
4
|
children?: ReactNode;
|
|
5
|
-
color?: 'highlight' | 'primary' | 'transparent';
|
|
5
|
+
color?: 'highlight' | 'primary' | 'transparent' | 'teal';
|
|
6
6
|
}
|
|
@@ -4,7 +4,7 @@ import { NotificationBubbleProps } from '../../NotificationBubble/NotificationBu
|
|
|
4
4
|
import { ButtonProps } from '../Button/Button.types';
|
|
5
5
|
export interface TextButtonProps extends Omit<ButtonProps, 'role' | 'className'> {
|
|
6
6
|
className?: string;
|
|
7
|
-
color: 'green' | 'blue' | 'deepPurple' | 'pinkLight' | 'pinkDark' | 'default';
|
|
7
|
+
color: 'green' | 'blue' | 'deepPurple' | 'pinkLight' | 'pinkDark' | 'default' | 'teal';
|
|
8
8
|
inline?: boolean;
|
|
9
9
|
leftIcon?: ReactElement<IconProps | NotificationBubbleProps>;
|
|
10
10
|
rightIcon?: ReactElement<IconProps | NotificationBubbleProps>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ContentCreatorTileProps } from './ContentCreatorTile.types';
|
|
2
|
-
declare const ContentCreatorTile: ({ description, headline, isActive, isPending, onClick, selected, sticker, }: ContentCreatorTileProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const ContentCreatorTile: ({ dataTestId, description, headline, isActive, isPending, onClick, selected, sticker, }: ContentCreatorTileProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default ContentCreatorTile;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import { default as DateInputProps } from './DateInput.types';
|
|
2
|
-
declare const DateInput: ({ dateFormat, label, minDate, onChange, size, withPortal, }: DateInputProps
|
|
2
|
+
declare const DateInput: ({ dateFormat, errorText, label, minDate, onChange, size, value, withPortal, }: DateInputProps & {
|
|
3
|
+
value?: Date | null;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
3
5
|
export default DateInput;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { TextInputProps } from '../../TextInput/TextInput.types';
|
|
2
2
|
export default interface DateInputProps {
|
|
3
3
|
dateFormat?: 'dd. MMMM' | 'dd. MMMM YYYY' | 'dd.MM.' | 'dd.MM.YY' | 'dd.MM.YYYY';
|
|
4
|
+
errorText?: string;
|
|
4
5
|
label: string;
|
|
5
6
|
minDate?: Date;
|
|
6
7
|
onChange?: (date: Date) => void;
|
|
7
8
|
size?: TextInputProps['size'];
|
|
9
|
+
value?: Date | null;
|
|
8
10
|
withPortal?: boolean;
|
|
9
11
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as TimeInputProps } from './TimeInput.types';
|
|
2
|
-
declare const TimeInput: ({ interval, label, minDate, onChange, size, withPortal, }: TimeInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const TimeInput: ({ errorText, interval, label, minDate, onChange, size, value, withPortal, }: TimeInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default TimeInput;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { NearestMinutes } from 'date-fns';
|
|
2
2
|
import { TextInputProps } from '../../TextInput/TextInput.types';
|
|
3
3
|
export default interface TimeInputProps {
|
|
4
|
-
|
|
4
|
+
errorText?: string;
|
|
5
|
+
interval?: Extract<NearestMinutes, 15 | 30 | 5>;
|
|
5
6
|
label: string;
|
|
6
7
|
minDate?: Date;
|
|
7
8
|
onChange?: (date: Date) => void;
|
|
8
9
|
size?: TextInputProps['size'];
|
|
10
|
+
value?: Date | null;
|
|
9
11
|
withPortal?: boolean;
|
|
10
12
|
}
|
|
@@ -143,6 +143,12 @@ declare const iconsMap: {
|
|
|
143
143
|
desc?: string;
|
|
144
144
|
descId?: string;
|
|
145
145
|
}>;
|
|
146
|
+
euro: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
147
|
+
title?: string;
|
|
148
|
+
titleId?: string;
|
|
149
|
+
desc?: string;
|
|
150
|
+
descId?: string;
|
|
151
|
+
}>;
|
|
146
152
|
external_link: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
147
153
|
title?: string;
|
|
148
154
|
titleId?: string;
|
|
@@ -161,6 +167,12 @@ declare const iconsMap: {
|
|
|
161
167
|
desc?: string;
|
|
162
168
|
descId?: string;
|
|
163
169
|
}>;
|
|
170
|
+
plus: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
171
|
+
title?: string;
|
|
172
|
+
titleId?: string;
|
|
173
|
+
desc?: string;
|
|
174
|
+
descId?: string;
|
|
175
|
+
}>;
|
|
164
176
|
privacy_lock_closed: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
165
177
|
title?: string;
|
|
166
178
|
titleId?: string;
|
|
@@ -35,6 +35,12 @@ declare const IconsMap: {
|
|
|
35
35
|
desc?: string;
|
|
36
36
|
descId?: string;
|
|
37
37
|
}>;
|
|
38
|
+
euro: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
39
|
+
title?: string;
|
|
40
|
+
titleId?: string;
|
|
41
|
+
desc?: string;
|
|
42
|
+
descId?: string;
|
|
43
|
+
}>;
|
|
38
44
|
external_link: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
39
45
|
title?: string;
|
|
40
46
|
titleId?: string;
|
|
@@ -53,6 +59,12 @@ declare const IconsMap: {
|
|
|
53
59
|
desc?: string;
|
|
54
60
|
descId?: string;
|
|
55
61
|
}>;
|
|
62
|
+
plus: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
63
|
+
title?: string;
|
|
64
|
+
titleId?: string;
|
|
65
|
+
desc?: string;
|
|
66
|
+
descId?: string;
|
|
67
|
+
}>;
|
|
56
68
|
privacy_lock_closed: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
57
69
|
title?: string;
|
|
58
70
|
titleId?: string;
|
|
@@ -36,6 +36,12 @@ declare const iconsMap: {
|
|
|
36
36
|
desc?: string;
|
|
37
37
|
descId?: string;
|
|
38
38
|
}>;
|
|
39
|
+
euro: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
40
|
+
title?: string;
|
|
41
|
+
titleId?: string;
|
|
42
|
+
desc?: string;
|
|
43
|
+
descId?: string;
|
|
44
|
+
}>;
|
|
39
45
|
external_link: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
40
46
|
title?: string;
|
|
41
47
|
titleId?: string;
|
|
@@ -54,6 +60,12 @@ declare const iconsMap: {
|
|
|
54
60
|
desc?: string;
|
|
55
61
|
descId?: string;
|
|
56
62
|
}>;
|
|
63
|
+
plus: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
64
|
+
title?: string;
|
|
65
|
+
titleId?: string;
|
|
66
|
+
desc?: string;
|
|
67
|
+
descId?: string;
|
|
68
|
+
}>;
|
|
57
69
|
privacy_lock_closed: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
58
70
|
title?: string;
|
|
59
71
|
titleId?: string;
|