@goodhood-web/ui 1.8.0-development.11 → 1.8.0-development.13
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 +29 -29
- package/index.mjs +2157 -2079
- package/lib/ButtonSecondary/ButtonSecondary.d.ts +4 -0
- package/lib/ButtonSecondary/ButtonSecondary.types.d.ts +12 -0
- package/lib/ButtonTertiary/ButtonTertiary.d.ts +4 -0
- package/lib/ButtonTertiary/ButtonTertiary.types.d.ts +12 -0
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ButtonSecondaryProps } from './ButtonSecondary.types';
|
|
2
|
+
|
|
3
|
+
declare const ButtonSecondary: ({ children, className, color, disabled, fullWidth, loading, size, text, ...props }: ButtonSecondaryProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default ButtonSecondary;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ButtonProps } from '../Button/Button.types';
|
|
3
|
+
|
|
4
|
+
export interface ButtonSecondaryProps extends Omit<ButtonProps, 'children'> {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
color?: 'green' | 'pink' | 'grey';
|
|
7
|
+
fullWidth?: boolean;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
size?: 'tiny' | 'small' | 'medium' | 'large';
|
|
10
|
+
target?: string;
|
|
11
|
+
text?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ButtonTertiaryProps } from './ButtonTertiary.types';
|
|
2
|
+
|
|
3
|
+
declare const ButtonTertiary: ({ children, className, color, disabled, fullWidth, loading, size, text, ...props }: ButtonTertiaryProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default ButtonTertiary;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ButtonProps } from '../Button/Button.types';
|
|
3
|
+
|
|
4
|
+
export interface ButtonTertiaryProps extends Omit<ButtonProps, 'children'> {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
color?: 'green' | 'pink' | 'blue';
|
|
7
|
+
fullWidth?: boolean;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
size?: 'tiny' | 'small' | 'medium' | 'large';
|
|
10
|
+
target?: string;
|
|
11
|
+
text?: string;
|
|
12
|
+
}
|