@goodhood-web/ui 3.0.0-development.18 → 3.0.0-development.19
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 +66 -66
- package/index.mjs +2925 -2884
- package/lib/Atoms/Buttons/TextButton/TextButton.types.d.ts +1 -1
- 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/lib/Molecules/Notices/Notice/InfoNotice/InfoNotice.d.ts +1 -1
- package/lib/Molecules/Notices/Notice/Notice.types.d.ts +2 -1
- package/lib/Molecules/Notices/Notice/WarningNotice/WarningNotice.d.ts +1 -1
- package/lib/Molecules/Notices/Snackbar/Snackbar.d.ts +1 -1
- package/lib/Molecules/Notices/Snackbar/Snackbar.types.d.ts +2 -0
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -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';
|
|
7
|
+
color: 'green' | 'blue' | 'deepPurple' | 'pinkLight' | 'pinkDark';
|
|
8
8
|
leftIcon?: ReactElement<IconProps | NotificationBubbleProps>;
|
|
9
9
|
rightIcon?: ReactElement<IconProps | NotificationBubbleProps>;
|
|
10
10
|
size: 'large' | 'medium' | 'small' | 'link';
|
|
@@ -1015,6 +1015,12 @@ declare const iconsMap: {
|
|
|
1015
1015
|
desc?: string;
|
|
1016
1016
|
descId?: string;
|
|
1017
1017
|
}>;
|
|
1018
|
+
readonly shield: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
1019
|
+
title?: string;
|
|
1020
|
+
titleId?: string;
|
|
1021
|
+
desc?: string;
|
|
1022
|
+
descId?: string;
|
|
1023
|
+
}>;
|
|
1018
1024
|
readonly shopping_bag: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
1019
1025
|
title?: string;
|
|
1020
1026
|
titleId?: string;
|
|
@@ -557,6 +557,12 @@ declare const IconsMap: {
|
|
|
557
557
|
desc?: string;
|
|
558
558
|
descId?: string;
|
|
559
559
|
}>;
|
|
560
|
+
readonly shield: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
561
|
+
title?: string;
|
|
562
|
+
titleId?: string;
|
|
563
|
+
desc?: string;
|
|
564
|
+
descId?: string;
|
|
565
|
+
}>;
|
|
560
566
|
readonly shopping_bag: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
561
567
|
title?: string;
|
|
562
568
|
titleId?: string;
|
|
@@ -928,6 +928,12 @@ declare const iconsMap: {
|
|
|
928
928
|
desc?: string;
|
|
929
929
|
descId?: string;
|
|
930
930
|
}>;
|
|
931
|
+
readonly shield: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
932
|
+
title?: string;
|
|
933
|
+
titleId?: string;
|
|
934
|
+
desc?: string;
|
|
935
|
+
descId?: string;
|
|
936
|
+
}>;
|
|
931
937
|
readonly shopping_bag: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
932
938
|
title?: string;
|
|
933
939
|
titleId?: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as NoticeProps } from '../Notice.types';
|
|
2
|
-
declare const InfoNotice: ({ context, dismissible, iconName, notificationBubble, onClick, onDismiss, primaryText, secondaryText, size, textButton, type, }: NoticeProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const InfoNotice: ({ context, dismissible, iconName, markdown, notificationBubble, onClick, onDismiss, primaryText, secondaryText, size, textButton, type, }: NoticeProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default InfoNotice;
|
|
@@ -3,9 +3,10 @@ import { TextButtonProps } from '../../../Atoms/Buttons/TextButton/TextButton.ty
|
|
|
3
3
|
import { NotificationBubbleProps } from '../../../Atoms/NotificationBubble/NotificationBubble.types';
|
|
4
4
|
import { Icon24 } from '../../../Base/Icon/Icon.types';
|
|
5
5
|
export default interface NoticeProps {
|
|
6
|
-
context: 'warning' | 'infoGrey' | 'infoGreen';
|
|
6
|
+
context: 'warning' | 'infoGrey' | 'infoGreen' | 'infoVanilla';
|
|
7
7
|
dismissible?: boolean;
|
|
8
8
|
iconName?: Icon24;
|
|
9
|
+
markdown?: boolean;
|
|
9
10
|
notificationBubble?: NotificationBubbleProps;
|
|
10
11
|
onClick?: TextButtonProps['onClick'];
|
|
11
12
|
onDismiss?: IconButtonProps['onClick'];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as NoticeProps } from '../Notice.types';
|
|
2
|
-
declare const WarningNotice: ({ dismissible, iconName, notificationBubble, onDismiss, primaryText, secondaryText, size, }: NoticeProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const WarningNotice: ({ dismissible, iconName, markdown, notificationBubble, onDismiss, primaryText, secondaryText, size, }: NoticeProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default WarningNotice;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as SnackbarProps } from './Snackbar.types';
|
|
2
|
-
declare const Snackbar: ({ dismissable, isOpen, leftIconLarge, leftIconSmall, onClick, onClose, rightIconLarge, rightIconSmall, textButton, textLabel, }: SnackbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Snackbar: ({ color, dismissable, isOpen, leftIconLarge, leftIconSmall, onClick, onClose, rightIconLarge, rightIconSmall, textButton, textLabel, }: SnackbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Snackbar;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { TextButtonProps } from '../../../Atoms/Buttons/TextButton/TextButton.types';
|
|
1
2
|
import { Icon24, Icon32 } from '../../../Base/Icon/Icon.types';
|
|
2
3
|
export default interface SnackbarProps {
|
|
4
|
+
color?: TextButtonProps['color'];
|
|
3
5
|
dismissable?: boolean;
|
|
4
6
|
isOpen: boolean;
|
|
5
7
|
leftIconLarge?: Icon32;
|