@goodhood-web/ui 3.0.0-development.17 → 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 +73 -73
- package/index.mjs +3124 -3080
- package/lib/Atoms/Buttons/TextButton/TextButton.types.d.ts +1 -1
- package/lib/Atoms/Selectables/SelectablePill/SelectablePill.d.ts +1 -1
- package/lib/Atoms/Selectables/SelectablePill/SelectablePill.types.d.ts +3 -2
- package/lib/Base/Icon/icons/index.d.ts +12 -0
- package/lib/Base/Icon/icons/outline/24x24/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 +12 -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';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SelectablePillProps } from './SelectablePill.types';
|
|
2
|
-
declare const SelectablePill: ({ disabled, icon, id, isSelected, label, onToggleChange, orientation, popular, style, value, variant, }: SelectablePillProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const SelectablePill: ({ disabled, icon, iconSize, id, isSelected, label, onToggleChange, orientation, popular, style, value, variant, }: SelectablePillProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default SelectablePill;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Icon32 } from '../../../Base/Icon/Icon.types';
|
|
1
|
+
import { Icon24, Icon32 } from '../../../Base/Icon/Icon.types';
|
|
2
2
|
export interface SelectablePillProps {
|
|
3
3
|
disabled?: boolean;
|
|
4
|
-
icon?: Icon32;
|
|
4
|
+
icon?: Icon24 | Icon32;
|
|
5
|
+
iconSize?: '24' | '32';
|
|
5
6
|
id: string;
|
|
6
7
|
isSelected?: boolean;
|
|
7
8
|
label: string;
|
|
@@ -251,6 +251,12 @@ declare const iconsMap: {
|
|
|
251
251
|
desc?: string;
|
|
252
252
|
descId?: string;
|
|
253
253
|
}>;
|
|
254
|
+
readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
255
|
+
title?: string;
|
|
256
|
+
titleId?: string;
|
|
257
|
+
desc?: string;
|
|
258
|
+
descId?: string;
|
|
259
|
+
}>;
|
|
254
260
|
readonly event_calendar: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
255
261
|
title?: string;
|
|
256
262
|
titleId?: string;
|
|
@@ -1009,6 +1015,12 @@ declare const iconsMap: {
|
|
|
1009
1015
|
desc?: string;
|
|
1010
1016
|
descId?: string;
|
|
1011
1017
|
}>;
|
|
1018
|
+
readonly shield: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
1019
|
+
title?: string;
|
|
1020
|
+
titleId?: string;
|
|
1021
|
+
desc?: string;
|
|
1022
|
+
descId?: string;
|
|
1023
|
+
}>;
|
|
1012
1024
|
readonly shopping_bag: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
1013
1025
|
title?: string;
|
|
1014
1026
|
titleId?: string;
|
|
@@ -113,6 +113,12 @@ declare const IconsMap: {
|
|
|
113
113
|
desc?: string;
|
|
114
114
|
descId?: string;
|
|
115
115
|
}>;
|
|
116
|
+
readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
117
|
+
title?: string;
|
|
118
|
+
titleId?: string;
|
|
119
|
+
desc?: string;
|
|
120
|
+
descId?: string;
|
|
121
|
+
}>;
|
|
116
122
|
readonly event_calendar: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
117
123
|
title?: string;
|
|
118
124
|
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;
|
|
@@ -164,6 +164,12 @@ declare const iconsMap: {
|
|
|
164
164
|
desc?: string;
|
|
165
165
|
descId?: string;
|
|
166
166
|
}>;
|
|
167
|
+
readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
168
|
+
title?: string;
|
|
169
|
+
titleId?: string;
|
|
170
|
+
desc?: string;
|
|
171
|
+
descId?: string;
|
|
172
|
+
}>;
|
|
167
173
|
readonly event_calendar: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
168
174
|
title?: string;
|
|
169
175
|
titleId?: string;
|
|
@@ -922,6 +928,12 @@ declare const iconsMap: {
|
|
|
922
928
|
desc?: string;
|
|
923
929
|
descId?: string;
|
|
924
930
|
}>;
|
|
931
|
+
readonly shield: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
932
|
+
title?: string;
|
|
933
|
+
titleId?: string;
|
|
934
|
+
desc?: string;
|
|
935
|
+
descId?: string;
|
|
936
|
+
}>;
|
|
925
937
|
readonly shopping_bag: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
926
938
|
title?: string;
|
|
927
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;
|