@goodhood-web/ui 1.8.0-development.17 → 1.8.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.d.ts +3 -1
- package/index.js +43 -43
- package/index.mjs +3176 -3019
- package/lib/BodyText/BodyText.d.ts +4 -0
- package/lib/BodyText/BodyText.types.d.ts +5 -0
- package/lib/BodyText/util.d.ts +1 -0
- package/lib/FeedTile/FeedTile.d.ts +4 -0
- package/lib/FeedTile/FeedTile.types.d.ts +10 -0
- package/lib/Icon/icons/32x32/index.d.ts +9 -0
- package/lib/Icon/icons/index.d.ts +9 -0
- package/lib/TextButton/TextButton.types.d.ts +1 -1
- package/lib/Typography/Typography.types.d.ts +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const parseText: (text: string, regEx: RegExp) => (string | import("react/jsx-runtime").JSX.Element)[] | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { BaseButtonProps } from '../Button/Button.types';
|
|
3
|
+
import { Icon32 } from '../Icon/Icon.types';
|
|
4
|
+
|
|
5
|
+
export default interface FeedTileProps {
|
|
6
|
+
fullWidth?: boolean;
|
|
7
|
+
icon: Icon32;
|
|
8
|
+
onClick?: BaseButtonProps['onClick'];
|
|
9
|
+
text: ReactNode;
|
|
10
|
+
}
|
|
@@ -84,12 +84,21 @@ declare const IconsMap: {
|
|
|
84
84
|
readonly cross_circle: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
85
85
|
title?: string | undefined;
|
|
86
86
|
}>;
|
|
87
|
+
readonly gift_filled: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
88
|
+
title?: string | undefined;
|
|
89
|
+
}>;
|
|
87
90
|
readonly cutlery: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
88
91
|
title?: string | undefined;
|
|
89
92
|
}>;
|
|
93
|
+
readonly group_filled: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
94
|
+
title?: string | undefined;
|
|
95
|
+
}>;
|
|
90
96
|
readonly drill_tool: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
91
97
|
title?: string | undefined;
|
|
92
98
|
}>;
|
|
99
|
+
readonly heart_handShake_filled: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
100
|
+
title?: string | undefined;
|
|
101
|
+
}>;
|
|
93
102
|
readonly email: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
94
103
|
title?: string | undefined;
|
|
95
104
|
}>;
|
|
@@ -228,12 +228,21 @@ declare const iconsMap: {
|
|
|
228
228
|
readonly cross_circle: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
229
229
|
title?: string | undefined;
|
|
230
230
|
}>;
|
|
231
|
+
readonly gift_filled: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
232
|
+
title?: string | undefined;
|
|
233
|
+
}>;
|
|
231
234
|
readonly cutlery: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
232
235
|
title?: string | undefined;
|
|
233
236
|
}>;
|
|
237
|
+
readonly group_filled: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
238
|
+
title?: string | undefined;
|
|
239
|
+
}>;
|
|
234
240
|
readonly drill_tool: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
235
241
|
title?: string | undefined;
|
|
236
242
|
}>;
|
|
243
|
+
readonly heart_handShake_filled: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
244
|
+
title?: string | undefined;
|
|
245
|
+
}>;
|
|
237
246
|
readonly email: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
238
247
|
title?: string | undefined;
|
|
239
248
|
}>;
|
|
@@ -4,7 +4,7 @@ import { IconProps } from '../Icon/Icon.types';
|
|
|
4
4
|
import { NotificationBubbleProps } from '../NotificationBubble/NotificationBubble.types';
|
|
5
5
|
|
|
6
6
|
export interface TextButtonProps extends Omit<ButtonProps, 'role' | 'className'> {
|
|
7
|
-
color: 'green' | 'blue' | '
|
|
7
|
+
color: 'green' | 'blue' | 'deepPurple';
|
|
8
8
|
leftIcon?: ReactElement<IconProps | NotificationBubbleProps>;
|
|
9
9
|
rightIcon?: ReactElement<IconProps | NotificationBubbleProps>;
|
|
10
10
|
size: 'large' | 'medium' | 'small';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX, ReactNode } from 'react';
|
|
2
2
|
|
|
3
|
-
export type TypographyType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'h7' | 'h8' | 'body-large' | 'body-regular' | 'body-semibold' | 'body-italic' | 'detail-medium' | 'detail-bold' | 'detail-upper-case' | 'detail-regular';
|
|
3
|
+
export type TypographyType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'h7' | 'h8' | 'body-large' | 'body-regular' | 'body-semibold' | 'body-italic' | 'body-text-link' | 'detail-medium' | 'detail-bold' | 'detail-upper-case' | 'detail-regular';
|
|
4
4
|
export interface TypographyProps {
|
|
5
5
|
as?: Extract<keyof JSX.IntrinsicElements, 'span' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'>;
|
|
6
6
|
children: ReactNode;
|