@integrigo/integrigo-ui 1.6.6 → 1.6.7-a

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