@integrigo/integrigo-ui 1.6.6 → 1.6.7-c

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. package/lib/index.d.ts +4 -4
  2. package/lib/index.esm.js +1 -1
  3. package/lib/index.js +1 -1
  4. package/package.json +1 -1
  5. package/lib/components/atoms/Alert/Alert.d.ts +0 -10
  6. package/lib/components/atoms/Alert/index.d.ts +0 -1
  7. package/lib/components/atoms/Avatar/Avatar.d.ts +0 -8
  8. package/lib/components/atoms/Avatar/Avatar.test.d.ts +0 -1
  9. package/lib/components/atoms/Avatar/index.d.ts +0 -1
  10. package/lib/components/atoms/Button/BasicButton.d.ts +0 -6
  11. package/lib/components/atoms/Button/Button.d.ts +0 -12
  12. package/lib/components/atoms/Button/Ghost.d.ts +0 -6
  13. package/lib/components/atoms/Button/Primary.d.ts +0 -4
  14. package/lib/components/atoms/Button/index.d.ts +0 -1
  15. package/lib/components/atoms/Card/Card.d.ts +0 -3
  16. package/lib/components/atoms/Card/index.d.ts +0 -1
  17. package/lib/components/atoms/Divider/Divider.d.ts +0 -5
  18. package/lib/components/atoms/Divider/index.d.ts +0 -1
  19. package/lib/components/atoms/Field/FieldLabel.d.ts +0 -7
  20. package/lib/components/atoms/Field/FieldWrapper.d.ts +0 -4
  21. package/lib/components/atoms/Field/fieldSizeVariants.d.ts +0 -22
  22. package/lib/components/atoms/Field/index.d.ts +0 -3
  23. package/lib/components/atoms/Icon/Icon.d.ts +0 -35
  24. package/lib/components/atoms/Icon/IconAddition.d.ts +0 -12
  25. package/lib/components/atoms/Icon/icons/AngleDown.d.ts +0 -3
  26. package/lib/components/atoms/Icon/icons/Bars.d.ts +0 -3
  27. package/lib/components/atoms/Icon/icons/ChechSquare.d.ts +0 -3
  28. package/lib/components/atoms/Icon/icons/CheckCircle.d.ts +0 -3
  29. package/lib/components/atoms/Icon/icons/ClipboardNotes.d.ts +0 -3
  30. package/lib/components/atoms/Icon/icons/Close.d.ts +0 -3
  31. package/lib/components/atoms/Icon/icons/DiceFive.d.ts +0 -3
  32. package/lib/components/atoms/Icon/icons/Envelope.d.ts +0 -3
  33. package/lib/components/atoms/Icon/icons/ExclamationCircle.d.ts +0 -3
  34. package/lib/components/atoms/Icon/icons/ExclamationTriangle.d.ts +0 -3
  35. package/lib/components/atoms/Icon/icons/Facebook.d.ts +0 -3
  36. package/lib/components/atoms/Icon/icons/Home.d.ts +0 -3
  37. package/lib/components/atoms/Icon/icons/Instagram.d.ts +0 -3
  38. package/lib/components/atoms/Icon/icons/Linkedin.d.ts +0 -3
  39. package/lib/components/atoms/Icon/icons/Minus.d.ts +0 -3
  40. package/lib/components/atoms/Icon/icons/Phone.d.ts +0 -3
  41. package/lib/components/atoms/Icon/icons/Plus.d.ts +0 -3
  42. package/lib/components/atoms/Icon/icons/Process.d.ts +0 -3
  43. package/lib/components/atoms/Icon/icons/Redo.d.ts +0 -3
  44. package/lib/components/atoms/Icon/icons/Setting.d.ts +0 -3
  45. package/lib/components/atoms/Icon/icons/UserCircle.d.ts +0 -3
  46. package/lib/components/atoms/Icon/icons/Users.d.ts +0 -3
  47. package/lib/components/atoms/Icon/index.d.ts +0 -3
  48. package/lib/components/atoms/Input/Input.d.ts +0 -1
  49. package/lib/components/atoms/Input/index.d.ts +0 -1
  50. package/lib/components/atoms/Nav/Nav.d.ts +0 -4
  51. package/lib/components/atoms/Nav/index.d.ts +0 -1
  52. package/lib/components/atoms/Pill/Pill.d.ts +0 -4
  53. package/lib/components/atoms/Pill/index.d.ts +0 -1
  54. package/lib/components/atoms/Spinner/Spinner.d.ts +0 -4
  55. package/lib/components/atoms/Spinner/index.d.ts +0 -1
  56. package/lib/components/atoms/Typography/Body.d.ts +0 -5
  57. package/lib/components/atoms/Typography/Hero.d.ts +0 -5
  58. package/lib/components/atoms/Typography/Label.d.ts +0 -7
  59. package/lib/components/atoms/Typography/index.d.ts +0 -6
  60. package/lib/components/atoms/index.d.ts +0 -9
  61. package/lib/components/molecules/Button/BasicButton.d.ts +0 -35
  62. package/lib/components/molecules/Button/Button.d.ts +0 -12
  63. package/lib/components/molecules/Button/Button.test.d.ts +0 -1
  64. package/lib/components/molecules/Button/Ghost.d.ts +0 -16
  65. package/lib/components/molecules/Button/Primary.d.ts +0 -7
  66. package/lib/components/molecules/Button/index.d.ts +0 -1
  67. package/lib/components/molecules/Checkbox/Checkbox.d.ts +0 -9
  68. package/lib/components/molecules/Checkbox/index.d.ts +0 -1
  69. package/lib/components/molecules/Dropdown/Dropdown.d.ts +0 -15
  70. package/lib/components/molecules/Dropdown/Option.d.ts +0 -2
  71. package/lib/components/molecules/Dropdown/index.d.ts +0 -1
  72. package/lib/components/molecules/InfoCard/InfoCard.d.ts +0 -9
  73. package/lib/components/molecules/InfoCard/index.d.ts +0 -1
  74. package/lib/components/molecules/Input/Input.d.ts +0 -20
  75. package/lib/components/molecules/Input/index.d.ts +0 -1
  76. package/lib/components/molecules/Profile/Profile.d.ts +0 -8
  77. package/lib/components/molecules/Profile/Profile.test.d.ts +0 -1
  78. package/lib/components/molecules/Profile/index.d.ts +0 -1
  79. package/lib/components/molecules/Radio/Radio.d.ts +0 -15
  80. package/lib/components/molecules/Radio/Radio.test.d.ts +0 -1
  81. package/lib/components/molecules/Radio/index.d.ts +0 -1
  82. package/lib/components/molecules/TextArea/TextArea.d.ts +0 -6
  83. package/lib/components/molecules/TextArea/index.d.ts +0 -1
  84. package/lib/components/molecules/index.d.ts +0 -8
  85. package/lib/components/organisms/Menu/Menu.d.ts +0 -12
  86. package/lib/components/organisms/Menu/MenuItem.d.ts +0 -9
  87. package/lib/components/organisms/Menu/index.d.ts +0 -1
  88. package/lib/components/organisms/index.d.ts +0 -1
  89. package/lib/helpers/validation.d.ts +0 -3
  90. package/lib/styles/colors.d.ts +0 -24
  91. package/lib/styles/global.d.ts +0 -1
  92. package/lib/styles/index.d.ts +0 -2
  93. package/lib/types/validation.d.ts +0 -1
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const ClipboardNotes: React.FCS;
3
- export default ClipboardNotes;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const Close: React.FCS;
3
- export default Close;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const DiceFive: React.FCS;
3
- export default DiceFive;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const Envelope: React.FCS;
3
- export default Envelope;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const ExclamationCircle: React.FCS;
3
- export default ExclamationCircle;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const ExclamationTriangle: React.FCS;
3
- export default ExclamationTriangle;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const Facebook: React.FCS;
3
- export default Facebook;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const Home: React.FCS;
3
- export default Home;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const Instagram: React.FCS;
3
- export default Instagram;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const Linkedin: React.FCS;
3
- export default Linkedin;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const Minus: React.FCS;
3
- export default Minus;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const Phone: React.FCS;
3
- export default Phone;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const Plus: React.FCS;
3
- export default Plus;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const Process: React.FCS;
3
- export default Process;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const Redo: React.FCS;
3
- export default Redo;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const Setting: React.FCS;
3
- export default Setting;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const UserCircle: React.FCS;
3
- export default UserCircle;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const Users: React.FCS;
3
- export default Users;
@@ -1,3 +0,0 @@
1
- export { Icon } from './Icon';
2
- export { IconAddition } from './IconAddition';
3
- export type { IconType } from './Icon';
@@ -1 +0,0 @@
1
- export declare const Input: import("styled-components").StyledComponent<"input", any, {}, never>;
@@ -1 +0,0 @@
1
- export { Input } from './Input';
@@ -1,4 +0,0 @@
1
- export interface NavProps {
2
- active?: boolean;
3
- }
4
- export declare const Nav: import("styled-components").StyledComponent<"nav", any, NavProps, never>;
@@ -1 +0,0 @@
1
- export { Nav } from './Nav';
@@ -1,4 +0,0 @@
1
- export interface PillProps {
2
- variant: 'orange' | 'green' | 'red';
3
- }
4
- export declare const Pill: import("styled-components").StyledComponent<"div", any, PillProps, never>;
@@ -1 +0,0 @@
1
- export { Pill } from './Pill';
@@ -1,4 +0,0 @@
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>;
@@ -1 +0,0 @@
1
- export { Spinner } from './Spinner';
@@ -1,5 +0,0 @@
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>;
@@ -1,5 +0,0 @@
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>;
@@ -1,7 +0,0 @@
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>;
@@ -1,6 +0,0 @@
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
- };
@@ -1,9 +0,0 @@
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';
@@ -1,35 +0,0 @@
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>;
@@ -1,12 +0,0 @@
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>>;
@@ -1 +0,0 @@
1
- export {};
@@ -1,16 +0,0 @@
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>;
@@ -1,7 +0,0 @@
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>;
@@ -1 +0,0 @@
1
- export { Button } from './Button';
@@ -1,9 +0,0 @@
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>>;
@@ -1 +0,0 @@
1
- export { Checkbox } from './Checkbox';
@@ -1,15 +0,0 @@
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 };
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export declare const Option: React.FC;
@@ -1 +0,0 @@
1
- export { Dropdown } from './Dropdown';
@@ -1,9 +0,0 @@
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>;
@@ -1 +0,0 @@
1
- export { InfoCard } from './InfoCard';
@@ -1,20 +0,0 @@
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>>;
@@ -1 +0,0 @@
1
- export { Input } from './Input';
@@ -1,8 +0,0 @@
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 {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export { Profile } from './Profile';
@@ -1,15 +0,0 @@
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>>;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export { Radio } from './Radio';
@@ -1,6 +0,0 @@
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>;
@@ -1 +0,0 @@
1
- export { TextArea } from './TextArea';
@@ -1,8 +0,0 @@
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";
@@ -1,12 +0,0 @@
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 };
@@ -1,9 +0,0 @@
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>;
@@ -1 +0,0 @@
1
- export { Menu } from './Menu';
@@ -1 +0,0 @@
1
- export { Menu } from './Menu';
@@ -1,3 +0,0 @@
1
- import { FlattenSimpleInterpolation } from "styled-components";
2
- import { ValidationType } from "../types/validation";
3
- export declare const getValidationTypeProps: (type?: ValidationType | undefined) => FlattenSimpleInterpolation;
@@ -1,24 +0,0 @@
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
- }
@@ -1 +0,0 @@
1
- export declare const GlobalStyles: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
@@ -1,2 +0,0 @@
1
- export { GlobalStyles } from './global';
2
- export { Color, ShadesOfGrey } from './colors';
@@ -1 +0,0 @@
1
- export declare type ValidationType = 'success' | 'error';