@goodhood-web/ui 3.3.0-development.27 → 3.3.0-development.28
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 +2 -1
- package/index.js +36 -36
- package/index.mjs +4544 -4396
- package/lib/Atoms/Badges/Sticker/Sticker.d.ts +1 -1
- package/lib/Atoms/Badges/Sticker/Sticker.types.d.ts +9 -4
- package/lib/Atoms/Buttons/ButtonGoogleSSO/ButtonGoogleSSO.d.ts +3 -0
- package/lib/Atoms/Buttons/ButtonGoogleSSO/ButtonGoogleSSO.types.d.ts +7 -0
- package/lib/Atoms/Buttons/TextButton/TextButton.d.ts +1 -1
- package/lib/Atoms/Buttons/TextButton/TextButton.types.d.ts +2 -1
- package/lib/Molecules/Notices/EmptyState/EmptyState.types.d.ts +4 -1
- package/lib/Organisms/Modals/BottomSheet/BottomSheet.d.ts +1 -1
- package/lib/Organisms/Modals/BottomSheet/BottomSheet.types.d.ts +1 -0
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { StickerProps } from './Sticker.types';
|
|
2
|
-
declare const Sticker: ({ className, color, icon, size }: StickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Sticker: ({ className, color, icon, size, value }: StickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Sticker;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { Icon32 } from '../../../Base/Icon/Icon.types';
|
|
2
|
-
export
|
|
2
|
+
export type StickerProps = {
|
|
3
3
|
className?: string;
|
|
4
|
-
color: 'green' | 'pink' | 'lavender' | 'teal' | 'orange' | 'grey' | 'lightGrey';
|
|
5
|
-
icon: Icon32;
|
|
4
|
+
color: 'green' | 'pink' | 'lavender' | 'teal' | 'orange' | 'grey' | 'lightGrey' | 'darkGrey';
|
|
6
5
|
size: 'small' | 'medium' | 'large';
|
|
7
|
-
}
|
|
6
|
+
} & ({
|
|
7
|
+
icon?: never;
|
|
8
|
+
value: number;
|
|
9
|
+
} | {
|
|
10
|
+
icon: Icon32;
|
|
11
|
+
value?: never;
|
|
12
|
+
});
|
|
@@ -6,5 +6,5 @@ export declare const typographyType: {
|
|
|
6
6
|
small: string;
|
|
7
7
|
tiny: string;
|
|
8
8
|
};
|
|
9
|
-
export declare function TextButton({ className, color, disabled, leftIcon, rightIcon, size, text, ...props }: TextButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function TextButton({ className, color, disabled, inline, leftIcon, rightIcon, size, text, ...props }: TextButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default TextButton;
|
|
@@ -4,7 +4,8 @@ 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';
|
|
7
|
+
color: 'green' | 'blue' | 'deepPurple' | 'pinkLight' | 'pinkDark' | 'default';
|
|
8
|
+
inline?: boolean;
|
|
8
9
|
leftIcon?: ReactElement<IconProps | NotificationBubbleProps>;
|
|
9
10
|
rightIcon?: ReactElement<IconProps | NotificationBubbleProps>;
|
|
10
11
|
size: 'large' | 'medium' | 'small' | 'link' | 'tiny';
|
|
@@ -4,6 +4,7 @@ import { ButtonPrimaryProps } from '../../../Atoms/Buttons/ButtonPrimary/ButtonP
|
|
|
4
4
|
import { ButtonSecondaryProps } from '../../../Atoms/Buttons/ButtonSecondary/ButtonSecondary.types';
|
|
5
5
|
import { ButtonTertiaryProps } from '../../../Atoms/Buttons/ButtonTertiary/ButtonTertiary.types';
|
|
6
6
|
import { TextButtonProps } from '../../../Atoms/Buttons/TextButton/TextButton.types';
|
|
7
|
+
import { Icon32 } from '../../../Base/Icon/Icon.types';
|
|
7
8
|
type TextButton = Omit<TextButtonProps, 'size'> & {
|
|
8
9
|
buttonType: 'text';
|
|
9
10
|
};
|
|
@@ -24,6 +25,8 @@ export default interface EmptyStateProps {
|
|
|
24
25
|
primaryText?: string;
|
|
25
26
|
secondaryText?: string;
|
|
26
27
|
size: 'small' | 'medium' | 'large';
|
|
27
|
-
stickerProps?: Omit<
|
|
28
|
+
stickerProps?: Omit<{
|
|
29
|
+
icon: Icon32;
|
|
30
|
+
} & StickerProps, 'size'>;
|
|
28
31
|
}
|
|
29
32
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SheetProps } from './BottomSheet.types';
|
|
2
|
-
declare const BottomSheet: ({ ariaLabel, footer, onClose, open, sheetBody, sheetHeader, }: SheetProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
2
|
+
declare const BottomSheet: ({ ariaLabel, footer, onClose, open, sheetBody, noPadding, sheetHeader, }: SheetProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
export default BottomSheet;
|