@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.
Files changed (91) hide show
  1. package/lib/components/atoms/Alert/Alert.d.ts +10 -0
  2. package/lib/components/atoms/Alert/index.d.ts +1 -0
  3. package/lib/components/atoms/Avatar/Avatar.d.ts +8 -0
  4. package/lib/components/atoms/Avatar/Avatar.test.d.ts +1 -0
  5. package/lib/components/atoms/Avatar/index.d.ts +1 -0
  6. package/lib/components/atoms/Button/BasicButton.d.ts +6 -0
  7. package/lib/components/atoms/Button/Button.d.ts +12 -0
  8. package/lib/components/atoms/Button/Ghost.d.ts +6 -0
  9. package/lib/components/atoms/Button/Primary.d.ts +4 -0
  10. package/lib/components/atoms/Button/index.d.ts +1 -0
  11. package/lib/components/atoms/Card/Card.d.ts +3 -0
  12. package/lib/components/atoms/Card/index.d.ts +1 -0
  13. package/lib/components/atoms/Divider/Divider.d.ts +5 -0
  14. package/lib/components/atoms/Divider/index.d.ts +1 -0
  15. package/lib/components/atoms/Field/FieldLabel.d.ts +7 -0
  16. package/lib/components/atoms/Field/FieldWrapper.d.ts +4 -0
  17. package/lib/components/atoms/Field/fieldSizeVariants.d.ts +22 -0
  18. package/lib/components/atoms/Field/index.d.ts +3 -0
  19. package/lib/components/atoms/Icon/Icon.d.ts +35 -0
  20. package/lib/components/atoms/Icon/IconAddition.d.ts +12 -0
  21. package/lib/components/atoms/Icon/icons/AngleDown.d.ts +3 -0
  22. package/lib/components/atoms/Icon/icons/Bars.d.ts +3 -0
  23. package/lib/components/atoms/Icon/icons/ChechSquare.d.ts +3 -0
  24. package/lib/components/atoms/Icon/icons/CheckCircle.d.ts +3 -0
  25. package/lib/components/atoms/Icon/icons/ClipboardNotes.d.ts +3 -0
  26. package/lib/components/atoms/Icon/icons/Close.d.ts +3 -0
  27. package/lib/components/atoms/Icon/icons/DiceFive.d.ts +3 -0
  28. package/lib/components/atoms/Icon/icons/Envelope.d.ts +3 -0
  29. package/lib/components/atoms/Icon/icons/ExclamationCircle.d.ts +3 -0
  30. package/lib/components/atoms/Icon/icons/ExclamationTriangle.d.ts +3 -0
  31. package/lib/components/atoms/Icon/icons/Facebook.d.ts +3 -0
  32. package/lib/components/atoms/Icon/icons/Home.d.ts +3 -0
  33. package/lib/components/atoms/Icon/icons/Instagram.d.ts +3 -0
  34. package/lib/components/atoms/Icon/icons/Linkedin.d.ts +3 -0
  35. package/lib/components/atoms/Icon/icons/Minus.d.ts +3 -0
  36. package/lib/components/atoms/Icon/icons/Phone.d.ts +3 -0
  37. package/lib/components/atoms/Icon/icons/Plus.d.ts +3 -0
  38. package/lib/components/atoms/Icon/icons/Process.d.ts +3 -0
  39. package/lib/components/atoms/Icon/icons/Redo.d.ts +3 -0
  40. package/lib/components/atoms/Icon/icons/Setting.d.ts +3 -0
  41. package/lib/components/atoms/Icon/icons/UserCircle.d.ts +3 -0
  42. package/lib/components/atoms/Icon/icons/Users.d.ts +3 -0
  43. package/lib/components/atoms/Icon/index.d.ts +3 -0
  44. package/lib/components/atoms/Input/Input.d.ts +1 -0
  45. package/lib/components/atoms/Input/index.d.ts +1 -0
  46. package/lib/components/atoms/Nav/Nav.d.ts +4 -0
  47. package/lib/components/atoms/Nav/index.d.ts +1 -0
  48. package/lib/components/atoms/Pill/Pill.d.ts +4 -0
  49. package/lib/components/atoms/Pill/index.d.ts +1 -0
  50. package/lib/components/atoms/Spinner/Spinner.d.ts +4 -0
  51. package/lib/components/atoms/Spinner/index.d.ts +1 -0
  52. package/lib/components/atoms/Typography/Body.d.ts +5 -0
  53. package/lib/components/atoms/Typography/Hero.d.ts +5 -0
  54. package/lib/components/atoms/Typography/Label.d.ts +7 -0
  55. package/lib/components/atoms/Typography/index.d.ts +6 -0
  56. package/lib/components/atoms/index.d.ts +9 -0
  57. package/lib/components/molecules/Button/BasicButton.d.ts +35 -0
  58. package/lib/components/molecules/Button/Button.d.ts +12 -0
  59. package/lib/components/molecules/Button/Button.test.d.ts +1 -0
  60. package/lib/components/molecules/Button/Ghost.d.ts +16 -0
  61. package/lib/components/molecules/Button/Primary.d.ts +7 -0
  62. package/lib/components/molecules/Button/index.d.ts +1 -0
  63. package/lib/components/molecules/Checkbox/Checkbox.d.ts +9 -0
  64. package/lib/components/molecules/Checkbox/index.d.ts +1 -0
  65. package/lib/components/molecules/Dropdown/Dropdown.d.ts +15 -0
  66. package/lib/components/molecules/Dropdown/Option.d.ts +2 -0
  67. package/lib/components/molecules/Dropdown/index.d.ts +1 -0
  68. package/lib/components/molecules/InfoCard/InfoCard.d.ts +9 -0
  69. package/lib/components/molecules/InfoCard/index.d.ts +1 -0
  70. package/lib/components/molecules/Input/Input.d.ts +20 -0
  71. package/lib/components/molecules/Input/index.d.ts +1 -0
  72. package/lib/components/molecules/Profile/Profile.d.ts +8 -0
  73. package/lib/components/molecules/Profile/Profile.test.d.ts +1 -0
  74. package/lib/components/molecules/Profile/index.d.ts +1 -0
  75. package/lib/components/molecules/Radio/Radio.d.ts +15 -0
  76. package/lib/components/molecules/Radio/Radio.test.d.ts +1 -0
  77. package/lib/components/molecules/Radio/index.d.ts +1 -0
  78. package/lib/components/molecules/TextArea/TextArea.d.ts +6 -0
  79. package/lib/components/molecules/TextArea/index.d.ts +1 -0
  80. package/lib/components/molecules/index.d.ts +8 -0
  81. package/lib/components/organisms/Menu/Menu.d.ts +12 -0
  82. package/lib/components/organisms/Menu/MenuItem.d.ts +9 -0
  83. package/lib/components/organisms/Menu/index.d.ts +1 -0
  84. package/lib/components/organisms/index.d.ts +1 -0
  85. package/lib/helpers/validation.d.ts +3 -0
  86. package/lib/index.d.ts +4 -0
  87. package/lib/styles/colors.d.ts +24 -0
  88. package/lib/styles/global.d.ts +1 -0
  89. package/lib/styles/index.d.ts +2 -0
  90. package/lib/types/validation.d.ts +1 -0
  91. 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,8 @@
1
+ import React from "react";
2
+ declare type AvatarProps = {
3
+ src: string;
4
+ alt: string;
5
+ size?: "s" | "m" | "l" | "xl" | "xxl";
6
+ };
7
+ export declare const Avatar: React.FC<AvatarProps>;
8
+ export {};
@@ -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,6 @@
1
+ export declare const Ghost: import("styled-components").StyledComponent<"button", any, {
2
+ direction?: "ltr" | "rtl" | undefined;
3
+ ghost?: boolean | undefined;
4
+ } & {
5
+ direction?: "ltr" | "rtl" | undefined;
6
+ }, never>;
@@ -0,0 +1,4 @@
1
+ export declare const Primary: import("styled-components").StyledComponent<"button", any, {
2
+ direction?: "ltr" | "rtl" | undefined;
3
+ ghost?: boolean | undefined;
4
+ }, never>;
@@ -0,0 +1 @@
1
+ export { Button } from './Button';
@@ -0,0 +1,3 @@
1
+ export declare const Card: import("styled-components").StyledComponent<"div", any, {
2
+ inverse?: boolean | undefined;
3
+ }, never>;
@@ -0,0 +1 @@
1
+ export { Card } from './Card';
@@ -0,0 +1,5 @@
1
+ declare type DividerProps = {
2
+ variant?: "orange" | "navy" | "white";
3
+ };
4
+ export declare const Divider: import("styled-components").StyledComponent<"div", any, DividerProps, never>;
5
+ export {};
@@ -0,0 +1 @@
1
+ export { Divider } from "./Divider";
@@ -0,0 +1,7 @@
1
+ interface FieldLabelProps {
2
+ sizeVariant: "xl" | "l" | "m" | "s";
3
+ position?: "inline" | "block";
4
+ disabled?: boolean;
5
+ }
6
+ export declare const FieldLabel: import("styled-components").StyledComponent<"div", any, FieldLabelProps, never>;
7
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare const FieldWrapper: import("styled-components").StyledComponent<"div", any, {
2
+ withLabel: boolean;
3
+ sizeVariant: "xl" | "l" | "m" | "s";
4
+ }, never>;
@@ -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,3 @@
1
+ export { FieldLabel } from "./FieldLabel";
2
+ export { FieldWrapper } from "./FieldWrapper";
3
+ export { fieldSizeVariants } from "./fieldSizeVariants";
@@ -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,3 @@
1
+ import React from "react";
2
+ declare const AngleDown: React.FCS;
3
+ export default AngleDown;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Bars: React.FCS;
3
+ export default Bars;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const CheckSquare: React.FCS;
3
+ export default CheckSquare;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const CheckCircle: React.FCS;
3
+ export default CheckCircle;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const ClipboardNotes: React.FCS;
3
+ export default ClipboardNotes;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Close: React.FCS;
3
+ export default Close;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const DiceFive: React.FCS;
3
+ export default DiceFive;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Envelope: React.FCS;
3
+ export default Envelope;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const ExclamationCircle: React.FCS;
3
+ export default ExclamationCircle;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const ExclamationTriangle: React.FCS;
3
+ export default ExclamationTriangle;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Facebook: React.FCS;
3
+ export default Facebook;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Home: React.FCS;
3
+ export default Home;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Instagram: React.FCS;
3
+ export default Instagram;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Linkedin: React.FCS;
3
+ export default Linkedin;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Minus: React.FCS;
3
+ export default Minus;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Phone: React.FCS;
3
+ export default Phone;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Plus: React.FCS;
3
+ export default Plus;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Process: React.FCS;
3
+ export default Process;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Redo: React.FCS;
3
+ export default Redo;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Setting: React.FCS;
3
+ export default Setting;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const UserCircle: React.FCS;
3
+ export default UserCircle;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Users: React.FCS;
3
+ export default Users;
@@ -0,0 +1,3 @@
1
+ export { Icon } from './Icon';
2
+ export { IconAddition } from './IconAddition';
3
+ export type { IconType } from './Icon';
@@ -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,4 @@
1
+ export interface NavProps {
2
+ active?: boolean;
3
+ }
4
+ export declare const Nav: import("styled-components").StyledComponent<"nav", any, NavProps, never>;
@@ -0,0 +1 @@
1
+ export { Nav } from './Nav';
@@ -0,0 +1,4 @@
1
+ export interface PillProps {
2
+ variant: 'orange' | 'green' | 'red';
3
+ }
4
+ export declare const Pill: import("styled-components").StyledComponent<"div", any, PillProps, never>;
@@ -0,0 +1 @@
1
+ export { Pill } from './Pill';
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { Icon } from "../Icon";
3
+ export declare type SpinnerProps = Omit<React.ComponentProps<typeof Icon>, "type">;
4
+ export declare const Spinner: React.FC<SpinnerProps>;
@@ -0,0 +1 @@
1
+ export { Spinner } from './Spinner';
@@ -0,0 +1,5 @@
1
+ export interface BodyProps {
2
+ size?: "s" | "m" | "l" | "xl" | "xxl";
3
+ align?: "left" | "right" | "center";
4
+ }
5
+ export declare const Body: import("styled-components").StyledComponent<"p", any, BodyProps, never>;
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ export interface HeroProps {
3
+ size?: "s" | "m" | "l" | "xl" | "xxl";
4
+ }
5
+ export declare const Hero: React.FCS<HeroProps>;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ export interface LabelProps {
3
+ text: string;
4
+ size?: "s" | "m" | "l" | "xl" | "xxl";
5
+ children?: React.ReactNode;
6
+ }
7
+ export declare const Label: React.FC<LabelProps>;
@@ -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,2 @@
1
+ import React from "react";
2
+ export declare const Option: React.FC;
@@ -0,0 +1 @@
1
+ export { Dropdown } from './Dropdown';
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ export interface InfoCardProps {
3
+ title: string;
4
+ body: React.ReactNode;
5
+ background?: React.ReactNode;
6
+ inverse?: boolean;
7
+ size?: 's' | 'm' | 'l' | 'xl' | 'xxl';
8
+ }
9
+ export declare const InfoCard: React.FC<InfoCardProps>;
@@ -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,8 @@
1
+ import React from "react";
2
+ import { Avatar } from "../../atoms";
3
+ declare type ProfileProps = React.ComponentProps<typeof Avatar> & {
4
+ name: string;
5
+ children?: React.ReactNode;
6
+ };
7
+ export declare const Profile: React.FC<ProfileProps>;
8
+ export {};
@@ -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';
@@ -0,0 +1,3 @@
1
+ import { FlattenSimpleInterpolation } from "styled-components";
2
+ import { ValidationType } from "../types/validation";
3
+ export declare const getValidationTypeProps: (type?: ValidationType | undefined) => FlattenSimpleInterpolation;
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,2 @@
1
+ export { GlobalStyles } from './global';
2
+ export { Color, ShadesOfGrey } from './colors';
@@ -0,0 +1 @@
1
+ export declare type ValidationType = 'success' | 'error';
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://npm.pkg.github.com/integrigo"
5
5
  },
6
- "version": "1.6.6a",
6
+ "version": "1.6.7",
7
7
  "main": "lib/index.js",
8
8
  "module": "lib/index.esm.js",
9
9
  "types": "lib/index.d.ts",