@integrigo/integrigo-ui 1.6.6-a → 1.6.7
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/lib/components/atoms/Alert/Alert.d.ts +10 -0
- package/lib/components/atoms/Alert/index.d.ts +1 -0
- package/lib/components/atoms/Avatar/Avatar.d.ts +8 -0
- package/lib/components/atoms/Avatar/Avatar.test.d.ts +1 -0
- package/lib/components/atoms/Avatar/index.d.ts +1 -0
- package/lib/components/atoms/Button/BasicButton.d.ts +6 -0
- package/lib/components/atoms/Button/Button.d.ts +12 -0
- package/lib/components/atoms/Button/Ghost.d.ts +6 -0
- package/lib/components/atoms/Button/Primary.d.ts +4 -0
- package/lib/components/atoms/Button/index.d.ts +1 -0
- package/lib/components/atoms/Card/Card.d.ts +3 -0
- package/lib/components/atoms/Card/index.d.ts +1 -0
- package/lib/components/atoms/Divider/Divider.d.ts +5 -0
- package/lib/components/atoms/Divider/index.d.ts +1 -0
- package/lib/components/atoms/Field/FieldLabel.d.ts +7 -0
- package/lib/components/atoms/Field/FieldWrapper.d.ts +4 -0
- package/lib/components/atoms/Field/fieldSizeVariants.d.ts +22 -0
- package/lib/components/atoms/Field/index.d.ts +3 -0
- package/lib/components/atoms/Icon/Icon.d.ts +35 -0
- package/lib/components/atoms/Icon/IconAddition.d.ts +12 -0
- package/lib/components/atoms/Icon/icons/AngleDown.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/Bars.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/ChechSquare.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/CheckCircle.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/ClipboardNotes.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/Close.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/DiceFive.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/Envelope.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/ExclamationCircle.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/ExclamationTriangle.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/Facebook.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/Home.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/Instagram.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/Linkedin.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/Minus.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/Phone.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/Plus.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/Process.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/Redo.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/Setting.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/UserCircle.d.ts +3 -0
- package/lib/components/atoms/Icon/icons/Users.d.ts +3 -0
- package/lib/components/atoms/Icon/index.d.ts +3 -0
- package/lib/components/atoms/Input/Input.d.ts +1 -0
- package/lib/components/atoms/Input/index.d.ts +1 -0
- package/lib/components/atoms/Nav/Nav.d.ts +4 -0
- package/lib/components/atoms/Nav/index.d.ts +1 -0
- package/lib/components/atoms/Pill/Pill.d.ts +4 -0
- package/lib/components/atoms/Pill/index.d.ts +1 -0
- package/lib/components/atoms/Spinner/Spinner.d.ts +4 -0
- package/lib/components/atoms/Spinner/index.d.ts +1 -0
- package/lib/components/atoms/Typography/Body.d.ts +5 -0
- package/lib/components/atoms/Typography/Hero.d.ts +5 -0
- package/lib/components/atoms/Typography/Label.d.ts +7 -0
- package/lib/components/atoms/Typography/index.d.ts +6 -0
- package/lib/components/atoms/index.d.ts +9 -0
- package/lib/components/molecules/Button/BasicButton.d.ts +35 -0
- package/lib/components/molecules/Button/Button.d.ts +12 -0
- package/lib/components/molecules/Button/Button.test.d.ts +1 -0
- package/lib/components/molecules/Button/Ghost.d.ts +16 -0
- package/lib/components/molecules/Button/Primary.d.ts +7 -0
- package/lib/components/molecules/Button/index.d.ts +1 -0
- package/lib/components/molecules/Checkbox/Checkbox.d.ts +9 -0
- package/lib/components/molecules/Checkbox/index.d.ts +1 -0
- package/lib/components/molecules/Dropdown/Dropdown.d.ts +15 -0
- package/lib/components/molecules/Dropdown/Option.d.ts +2 -0
- package/lib/components/molecules/Dropdown/index.d.ts +1 -0
- package/lib/components/molecules/InfoCard/InfoCard.d.ts +9 -0
- package/lib/components/molecules/InfoCard/index.d.ts +1 -0
- package/lib/components/molecules/Input/Input.d.ts +20 -0
- package/lib/components/molecules/Input/index.d.ts +1 -0
- package/lib/components/molecules/Profile/Profile.d.ts +8 -0
- package/lib/components/molecules/Profile/Profile.test.d.ts +1 -0
- package/lib/components/molecules/Profile/index.d.ts +1 -0
- package/lib/components/molecules/Radio/Radio.d.ts +15 -0
- package/lib/components/molecules/Radio/Radio.test.d.ts +1 -0
- package/lib/components/molecules/Radio/index.d.ts +1 -0
- package/lib/components/molecules/TextArea/TextArea.d.ts +6 -0
- package/lib/components/molecules/TextArea/index.d.ts +1 -0
- package/lib/components/molecules/index.d.ts +8 -0
- package/lib/components/organisms/Menu/Menu.d.ts +12 -0
- package/lib/components/organisms/Menu/MenuItem.d.ts +9 -0
- package/lib/components/organisms/Menu/index.d.ts +1 -0
- package/lib/components/organisms/index.d.ts +1 -0
- package/lib/helpers/validation.d.ts +3 -0
- package/lib/index.d.ts +4 -0
- package/lib/styles/colors.d.ts +24 -0
- package/lib/styles/global.d.ts +1 -0
- package/lib/styles/index.d.ts +2 -0
- package/lib/types/validation.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface AlertProps {
|
|
3
|
+
type: "error" | "success" | "info" | "warning";
|
|
4
|
+
open?: boolean;
|
|
5
|
+
controlled?: boolean;
|
|
6
|
+
size?: "xl" | "l" | "m" | "s";
|
|
7
|
+
onClose?: () => void;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare const Alert: React.FC<AlertProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Alert } from './Alert';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Avatar } from './Avatar';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FlattenSimpleInterpolation } from "styled-components";
|
|
2
|
+
export declare const getDirectionPadding: (direction?: "rtl" | "ltr" | undefined, ghost?: boolean | undefined) => FlattenSimpleInterpolation;
|
|
3
|
+
export declare const BasicButton: import("styled-components").StyledComponent<"button", any, {
|
|
4
|
+
direction?: "rtl" | "ltr" | undefined;
|
|
5
|
+
ghost?: boolean | undefined;
|
|
6
|
+
}, never>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IconType } from "../Icon";
|
|
3
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
+
primary?: boolean;
|
|
5
|
+
ghost?: boolean;
|
|
6
|
+
icon?: IconType;
|
|
7
|
+
direction?: "rtl" | "ltr";
|
|
8
|
+
size?: "ultra-small" | "small" | "medium" | "big";
|
|
9
|
+
children: string;
|
|
10
|
+
onIconClick?: () => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Button } from './Button';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Card } from './Card';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Divider } from "./Divider";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const fieldSizeVariants: {
|
|
2
|
+
xl: {
|
|
3
|
+
iconPadding: string;
|
|
4
|
+
padding: string;
|
|
5
|
+
font: string;
|
|
6
|
+
};
|
|
7
|
+
l: {
|
|
8
|
+
iconPadding: string;
|
|
9
|
+
padding: string;
|
|
10
|
+
font: string;
|
|
11
|
+
};
|
|
12
|
+
m: {
|
|
13
|
+
iconPadding: string;
|
|
14
|
+
padding: string;
|
|
15
|
+
font: string;
|
|
16
|
+
};
|
|
17
|
+
s: {
|
|
18
|
+
iconPadding: string;
|
|
19
|
+
padding: string;
|
|
20
|
+
font: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const iconHashMap: {
|
|
3
|
+
"angle-down": React.FCS<{}>;
|
|
4
|
+
bars: React.FCS<{}>;
|
|
5
|
+
"check-circle": React.FCS<{}>;
|
|
6
|
+
"check-square": React.FCS<{}>;
|
|
7
|
+
"clipboad-notes": React.FCS<{}>;
|
|
8
|
+
close: React.FCS<{}>;
|
|
9
|
+
"dice-five": React.FCS<{}>;
|
|
10
|
+
envelope: React.FCS<{}>;
|
|
11
|
+
"exclamation-circle": React.FCS<{}>;
|
|
12
|
+
"exclamation-triangle": React.FCS<{}>;
|
|
13
|
+
facebook: React.FCS<{}>;
|
|
14
|
+
home: React.FCS<{}>;
|
|
15
|
+
instagram: React.FCS<{}>;
|
|
16
|
+
linkedin: React.FCS<{}>;
|
|
17
|
+
minus: React.FCS<{}>;
|
|
18
|
+
phone: React.FCS<{}>;
|
|
19
|
+
plus: React.FCS<{}>;
|
|
20
|
+
process: React.FCS<{}>;
|
|
21
|
+
redo: React.FCS<{}>;
|
|
22
|
+
setting: React.FCS<{}>;
|
|
23
|
+
"user-circle": React.FCS<{}>;
|
|
24
|
+
users: React.FCS<{}>;
|
|
25
|
+
};
|
|
26
|
+
export declare type IconType = keyof typeof iconHashMap;
|
|
27
|
+
declare type IconProps = React.SVGProps<SVGSVGElement> & {
|
|
28
|
+
type: IconType;
|
|
29
|
+
size?: "ultra-small" | "small" | "medium" | "big" | {
|
|
30
|
+
width: number;
|
|
31
|
+
height: number;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export declare const Icon: React.FCS<IconProps>;
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IconType } from "./Icon";
|
|
3
|
+
interface IconAdditionProps {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
icon?: IconType;
|
|
6
|
+
direction?: "rtl" | "ltr";
|
|
7
|
+
colorVariant?: "grey" | "white" | "ghost";
|
|
8
|
+
size?: "xl" | "l" | "m" | "s";
|
|
9
|
+
onClick?: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const IconAddition: React.FC<IconAdditionProps>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Input: import("styled-components").StyledComponent<"input", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Input } from './Input';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Nav } from './Nav';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Pill } from './Pill';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Spinner } from './Spinner';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Typography: {
|
|
3
|
+
Body: import("styled-components").StyledComponent<"p", any, import("./Body").BodyProps, never>;
|
|
4
|
+
Hero: import("react").FCS<import("./Hero").HeroProps>;
|
|
5
|
+
Label: import("react").FC<import("./Label").LabelProps>;
|
|
6
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { Alert } from './Alert';
|
|
2
|
+
export { Avatar } from './Avatar';
|
|
3
|
+
export { Card } from './Card';
|
|
4
|
+
export { Divider } from './Divider';
|
|
5
|
+
export { Icon } from './Icon';
|
|
6
|
+
export { Pill } from './Pill';
|
|
7
|
+
export { Typography } from './Typography';
|
|
8
|
+
export { Nav } from './Nav';
|
|
9
|
+
export { Spinner } from './Spinner';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { FlattenSimpleInterpolation } from "styled-components";
|
|
2
|
+
export declare const sizeVariants: {
|
|
3
|
+
xl: {
|
|
4
|
+
iconPadding: string;
|
|
5
|
+
padding: string;
|
|
6
|
+
ghostPadding: string;
|
|
7
|
+
font: string;
|
|
8
|
+
};
|
|
9
|
+
l: {
|
|
10
|
+
iconPadding: string;
|
|
11
|
+
padding: string;
|
|
12
|
+
ghostPadding: string;
|
|
13
|
+
font: string;
|
|
14
|
+
};
|
|
15
|
+
m: {
|
|
16
|
+
iconPadding: string;
|
|
17
|
+
padding: string;
|
|
18
|
+
ghostPadding: string;
|
|
19
|
+
font: string;
|
|
20
|
+
};
|
|
21
|
+
s: {
|
|
22
|
+
iconPadding: string;
|
|
23
|
+
padding: string;
|
|
24
|
+
ghostPadding: string;
|
|
25
|
+
font: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export declare const getDirectionPadding: (direction?: "rtl" | "ltr" | undefined, ghost?: boolean | undefined, size?: "xl" | "l" | "m" | "s") => FlattenSimpleInterpolation;
|
|
29
|
+
export declare const BasicButton: import("styled-components").StyledComponent<"div", any, {
|
|
30
|
+
direction?: "rtl" | "ltr" | undefined;
|
|
31
|
+
ghost?: boolean | undefined;
|
|
32
|
+
disabled?: boolean | undefined;
|
|
33
|
+
loading?: boolean | undefined;
|
|
34
|
+
sizeVariant: "xl" | "l" | "m" | "s";
|
|
35
|
+
}, never>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IconType } from "../../atoms/Icon";
|
|
3
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
+
primary?: boolean;
|
|
5
|
+
ghost?: boolean;
|
|
6
|
+
icon?: IconType;
|
|
7
|
+
direction?: "rtl" | "ltr";
|
|
8
|
+
size?: "xl" | "l" | "m" | "s";
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
onIconClick?: () => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const sizeVariant: {
|
|
2
|
+
xl: number;
|
|
3
|
+
l: number;
|
|
4
|
+
m: number;
|
|
5
|
+
s: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const Ghost: import("styled-components").StyledComponent<"div", any, {
|
|
8
|
+
direction?: "ltr" | "rtl" | undefined;
|
|
9
|
+
ghost?: boolean | undefined;
|
|
10
|
+
disabled?: boolean | undefined;
|
|
11
|
+
loading?: boolean | undefined;
|
|
12
|
+
sizeVariant: "s" | "xl" | "l" | "m";
|
|
13
|
+
} & {
|
|
14
|
+
direction?: "ltr" | "rtl" | undefined;
|
|
15
|
+
disabled?: boolean | undefined;
|
|
16
|
+
}, never>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const Primary: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
+
direction?: "ltr" | "rtl" | undefined;
|
|
3
|
+
ghost?: boolean | undefined;
|
|
4
|
+
disabled?: boolean | undefined;
|
|
5
|
+
loading?: boolean | undefined;
|
|
6
|
+
sizeVariant: "s" | "xl" | "l" | "m";
|
|
7
|
+
}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Button } from './Button';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare type CheckboxProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
|
|
3
|
+
size?: "xl" | "l" | "m" | "s";
|
|
4
|
+
label?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
|
|
7
|
+
size?: "xl" | "l" | "m" | "s" | undefined;
|
|
8
|
+
label?: string | undefined;
|
|
9
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Checkbox } from './Checkbox';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ValidationType } from "../../../types/validation";
|
|
3
|
+
import { Option } from "./Option";
|
|
4
|
+
export interface DropdwonStaticProps {
|
|
5
|
+
Option: typeof Option;
|
|
6
|
+
}
|
|
7
|
+
export interface DropdownProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, "size"> {
|
|
8
|
+
validationType: ValidationType;
|
|
9
|
+
label?: string;
|
|
10
|
+
size: "xl" | "l" | "m" | "s";
|
|
11
|
+
}
|
|
12
|
+
declare const DropdownWithStatic: React.ForwardRefExoticComponent<DropdownProps & React.RefAttributes<HTMLSelectElement>> & {
|
|
13
|
+
Option: React.FC<{}>;
|
|
14
|
+
};
|
|
15
|
+
export { DropdownWithStatic as Dropdown };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Dropdown } from './Dropdown';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InfoCard } from './InfoCard';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { FieldProps } from "formik";
|
|
3
|
+
import { ValidationType } from "../../../types/validation";
|
|
4
|
+
import { IconType } from "../../atoms/Icon";
|
|
5
|
+
export declare type InputProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & FieldProps & {
|
|
6
|
+
label?: string;
|
|
7
|
+
validationType?: ValidationType;
|
|
8
|
+
icon?: IconType;
|
|
9
|
+
size?: "xl" | "l" | "m" | "s";
|
|
10
|
+
direction?: "ltr" | "rtl";
|
|
11
|
+
onIconClick?: () => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const Input: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & FieldProps<any, any> & {
|
|
14
|
+
label?: string | undefined;
|
|
15
|
+
validationType?: ValidationType | undefined;
|
|
16
|
+
icon?: "angle-down" | "bars" | "check-circle" | "check-square" | "clipboad-notes" | "close" | "dice-five" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "facebook" | "home" | "instagram" | "linkedin" | "minus" | "phone" | "plus" | "process" | "redo" | "setting" | "user-circle" | "users" | undefined;
|
|
17
|
+
size?: "xl" | "l" | "m" | "s" | undefined;
|
|
18
|
+
direction?: "ltr" | "rtl" | undefined;
|
|
19
|
+
onIconClick?: (() => void) | undefined;
|
|
20
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Input } from './Input';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Profile } from './Profile';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare enum Size {
|
|
3
|
+
xl = "xl",
|
|
4
|
+
l = "l",
|
|
5
|
+
m = "m",
|
|
6
|
+
s = "s"
|
|
7
|
+
}
|
|
8
|
+
export declare type RadioProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
|
|
9
|
+
size?: Size;
|
|
10
|
+
label?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const Radio: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
|
|
13
|
+
size?: Size | undefined;
|
|
14
|
+
label?: string | undefined;
|
|
15
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Radio } from './Radio';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ValidationType } from "../../../types/validation";
|
|
3
|
+
export interface TextAreaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
4
|
+
validationType?: ValidationType;
|
|
5
|
+
}
|
|
6
|
+
export declare const TextArea: React.FC<TextAreaProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TextArea } from './TextArea';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { InfoCard } from "./InfoCard";
|
|
2
|
+
export { Input } from "./Input";
|
|
3
|
+
export { TextArea } from "./TextArea";
|
|
4
|
+
export { Button } from "./Button";
|
|
5
|
+
export { Checkbox } from "./Checkbox";
|
|
6
|
+
export { Dropdown } from "./Dropdown";
|
|
7
|
+
export { Radio } from "./Radio";
|
|
8
|
+
export { Profile } from "./Profile";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { MenuItem } from './MenuItem';
|
|
3
|
+
export interface MenuStaticProps {
|
|
4
|
+
Item: typeof MenuItem;
|
|
5
|
+
}
|
|
6
|
+
export interface MenuProps {
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
declare const MenuWithStatic: React.FC<MenuProps> & {
|
|
10
|
+
Item: React.FC<import("./MenuItem").MenuItemProps>;
|
|
11
|
+
};
|
|
12
|
+
export { MenuWithStatic as Menu };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IconType } from "../../atoms/Icon";
|
|
3
|
+
export interface MenuItemProps {
|
|
4
|
+
active?: boolean;
|
|
5
|
+
label: string;
|
|
6
|
+
icon: IconType;
|
|
7
|
+
}
|
|
8
|
+
export declare const MenuItem: React.FC<MenuItemProps>;
|
|
9
|
+
export declare const Root: import("styled-components").StyledComponent<"div", any, Pick<MenuItemProps, "active">, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Menu } from './Menu';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Menu } from './Menu';
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Alert, Avatar, Card, Divider, Icon, Nav, Pill, Typography, Spinner, } from "./components/atoms";
|
|
2
|
+
export { InfoCard, Input, TextArea, Button, Checkbox, Dropdown, Profile, Radio, } from "./components/molecules";
|
|
3
|
+
export { Menu } from "./components/organisms";
|
|
4
|
+
export { GlobalStyles as IntegrigoUI, Color } from "./styles";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare enum Color {
|
|
2
|
+
White = "#FFF",
|
|
3
|
+
Ecru = "#F9F1E5",
|
|
4
|
+
Navy = "#172142",
|
|
5
|
+
Orange = "#E09A33",
|
|
6
|
+
Red = "#CF544B",
|
|
7
|
+
Green = "#6B8B4A",
|
|
8
|
+
Grey100 = "#1A1A1A",
|
|
9
|
+
Grey80 = "#595959",
|
|
10
|
+
Grey60 = "#8C8C8C",
|
|
11
|
+
Grey40 = "#CCCCCC",
|
|
12
|
+
Grey20 = "#F2F2F2",
|
|
13
|
+
Grey0 = "#fff",
|
|
14
|
+
Success100 = "#6B8B4A",
|
|
15
|
+
Success20 = "#DDE4D7",
|
|
16
|
+
Success10 = "#ECEFE8",
|
|
17
|
+
Error100 = "#CF544B",
|
|
18
|
+
Error20 = "#FFCCCC",
|
|
19
|
+
Error10 = "#FFF5F5"
|
|
20
|
+
}
|
|
21
|
+
export declare enum ShadesOfGrey {
|
|
22
|
+
}
|
|
23
|
+
export declare enum SuccessColors {
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GlobalStyles: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type ValidationType = 'success' | 'error';
|