@integrigo/integrigo-ui 1.6.12 → 1.6.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. package/lib/index.esm.js +1 -1
  2. package/lib/index.js +1 -1
  3. package/lib/src/components/atoms/Card/Card.d.ts +1 -1
  4. package/lib/src/components/atoms/Dot/Dot.stories.d.ts +3 -3
  5. package/lib/src/components/atoms/Icon/Icon.d.ts +34 -32
  6. package/lib/src/components/atoms/Icon/Icon.stories.d.ts +2 -2
  7. package/lib/src/components/atoms/Icon/icons/Edit.d.ts +1 -1
  8. package/lib/src/components/atoms/Icon/icons/EllipsisHorizontal.d.ts +3 -0
  9. package/lib/src/components/atoms/Icon/icons/EllipsisVertical.d.ts +3 -0
  10. package/lib/src/components/atoms/Icon/icons/ImageEdit.d.ts +1 -1
  11. package/lib/src/components/atoms/Icon/icons/Lock.d.ts +1 -1
  12. package/lib/src/components/atoms/Icon/icons/User.d.ts +1 -1
  13. package/lib/src/components/molecules/Checkbox/Checkbox.stories.d.ts +4 -4
  14. package/lib/src/components/molecules/Input/Input.d.ts +1 -1
  15. package/lib/src/components/molecules/Input/Input.stories.d.ts +9 -9
  16. package/lib/src/components/molecules/Radio/Radio.stories.d.ts +4 -4
  17. package/lib/src/components/organisms/Setting/Setting.d.ts +2 -2
  18. package/lib/src/index.d.ts +4 -4
  19. package/package.json +1 -1
  20. package/rollup.config.js +1 -0
  21. package/src/components/atoms/Card/Card.tsx +8 -8
  22. package/src/components/atoms/Icon/Icon.stories.tsx +2 -0
  23. package/src/components/atoms/Icon/Icon.tsx +59 -51
  24. package/src/components/atoms/Icon/icons/AngleDown.tsx +2 -2
  25. package/src/components/atoms/Icon/icons/ArrowLeft.tsx +2 -2
  26. package/src/components/atoms/Icon/icons/Bars.tsx +2 -2
  27. package/src/components/atoms/Icon/icons/Bell.tsx +2 -2
  28. package/src/components/atoms/Icon/icons/ChechSquare.tsx +2 -2
  29. package/src/components/atoms/Icon/icons/CheckCircle.tsx +2 -2
  30. package/src/components/atoms/Icon/icons/ClipboardNotes.tsx +2 -2
  31. package/src/components/atoms/Icon/icons/Close.tsx +2 -2
  32. package/src/components/atoms/Icon/icons/DiceFive.tsx +2 -2
  33. package/src/components/atoms/Icon/icons/Edit.tsx +3 -3
  34. package/src/components/atoms/Icon/icons/EllipsisHorizontal.tsx +9 -0
  35. package/src/components/atoms/Icon/icons/EllipsisVertical.tsx +9 -0
  36. package/src/components/atoms/Icon/icons/Envelope.tsx +2 -2
  37. package/src/components/atoms/Icon/icons/ExclamationCircle.tsx +2 -2
  38. package/src/components/atoms/Icon/icons/ExclamationTriangle.tsx +2 -2
  39. package/src/components/atoms/Icon/icons/Exit.tsx +2 -2
  40. package/src/components/atoms/Icon/icons/Facebook.tsx +2 -2
  41. package/src/components/atoms/Icon/icons/Home.tsx +2 -2
  42. package/src/components/atoms/Icon/icons/ImageEdit.tsx +3 -3
  43. package/src/components/atoms/Icon/icons/Instagram.tsx +2 -2
  44. package/src/components/atoms/Icon/icons/Linkedin.tsx +2 -2
  45. package/src/components/atoms/Icon/icons/Lock.tsx +3 -3
  46. package/src/components/atoms/Icon/icons/Minus.tsx +2 -2
  47. package/src/components/atoms/Icon/icons/Phone.tsx +2 -2
  48. package/src/components/atoms/Icon/icons/Plus.tsx +2 -2
  49. package/src/components/atoms/Icon/icons/PointsCircle.tsx +2 -2
  50. package/src/components/atoms/Icon/icons/Process.tsx +1 -1
  51. package/src/components/atoms/Icon/icons/Redo.tsx +2 -2
  52. package/src/components/atoms/Icon/icons/Setting.tsx +2 -2
  53. package/src/components/atoms/Icon/icons/User.tsx +3 -6
  54. package/src/components/atoms/Icon/icons/UserCircle.tsx +2 -2
  55. package/src/components/atoms/Icon/icons/Users.tsx +2 -2
  56. package/src/components/molecules/Profile/Profile.tsx +1 -1
  57. package/src/components/organisms/Setting/Setting.tsx +6 -6
  58. package/src/index.ts +4 -4
@@ -1,40 +1,42 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  export declare const iconHashMap: {
3
- "angle-down": React.FCS<{}>;
4
- "arrow-left": React.FCS<{}>;
5
- bars: React.FCS<{}>;
6
- bell: React.FCS<{}>;
7
- "check-circle": React.FCS<{}>;
8
- "check-square": React.FCS<{}>;
9
- "clipboad-notes": React.FCS<{}>;
10
- close: React.FCS<{}>;
11
- "dice-five": React.FCS<{}>;
12
- edit: React.FCS<{}>;
13
- envelope: React.FCS<{}>;
14
- "exclamation-circle": React.FCS<{}>;
15
- "exclamation-triangle": React.FCS<{}>;
16
- exit: React.FCS<{}>;
17
- facebook: React.FCS<{}>;
18
- home: React.FCS<{}>;
19
- "image-edit": React.FCS<{}>;
20
- instagram: React.FCS<{}>;
21
- linkedin: React.FCS<{}>;
22
- lock: React.FCS<{}>;
23
- minus: React.FCS<{}>;
24
- phone: React.FCS<{}>;
25
- plus: React.FCS<{}>;
26
- process: React.FCS<{}>;
27
- "points-circle": React.FCS<{}>;
28
- redo: React.FCS<{}>;
29
- setting: React.FCS<{}>;
30
- user: React.FCS<{}>;
31
- "user-circle": React.FCS<{}>;
32
- users: React.FCS<{}>;
3
+ 'angle-down': React.LazyExoticComponent<React.FCS<{}>>;
4
+ 'arrow-left': React.LazyExoticComponent<React.FCS<{}>>;
5
+ bars: React.LazyExoticComponent<React.FCS<{}>>;
6
+ bell: React.LazyExoticComponent<React.FCS<{}>>;
7
+ 'check-circle': React.LazyExoticComponent<React.FCS<{}>>;
8
+ 'check-square': React.LazyExoticComponent<React.FCS<{}>>;
9
+ 'clipboad-notes': React.LazyExoticComponent<React.FCS<{}>>;
10
+ close: React.LazyExoticComponent<React.FCS<{}>>;
11
+ 'dice-five': React.LazyExoticComponent<React.FCS<{}>>;
12
+ edit: React.LazyExoticComponent<React.FCS<{}>>;
13
+ 'ellipsis-horizontal': React.LazyExoticComponent<React.FCS<{}>>;
14
+ 'ellipsis-vertical': React.LazyExoticComponent<React.FCS<{}>>;
15
+ envelope: React.LazyExoticComponent<React.FCS<{}>>;
16
+ 'exclamation-circle': React.LazyExoticComponent<React.FCS<{}>>;
17
+ 'exclamation-triangle': React.LazyExoticComponent<React.FCS<{}>>;
18
+ exit: React.LazyExoticComponent<React.FCS<{}>>;
19
+ facebook: React.LazyExoticComponent<React.FCS<{}>>;
20
+ home: React.LazyExoticComponent<React.FCS<{}>>;
21
+ 'image-edit': React.LazyExoticComponent<React.FCS<{}>>;
22
+ instagram: React.LazyExoticComponent<React.FCS<{}>>;
23
+ linkedin: React.LazyExoticComponent<React.FCS<{}>>;
24
+ lock: React.LazyExoticComponent<React.FCS<{}>>;
25
+ minus: React.LazyExoticComponent<React.FCS<{}>>;
26
+ phone: React.LazyExoticComponent<React.FCS<{}>>;
27
+ plus: React.LazyExoticComponent<React.FCS<{}>>;
28
+ process: React.LazyExoticComponent<React.FCS<{}>>;
29
+ 'points-circle': React.LazyExoticComponent<React.FCS<{}>>;
30
+ redo: React.LazyExoticComponent<React.FCS<{}>>;
31
+ setting: React.LazyExoticComponent<React.FCS<{}>>;
32
+ user: React.LazyExoticComponent<React.FCS<{}>>;
33
+ 'user-circle': React.LazyExoticComponent<React.FCS<{}>>;
34
+ users: React.LazyExoticComponent<React.FCS<{}>>;
33
35
  };
34
36
  export declare type IconType = keyof typeof iconHashMap;
35
37
  declare type IconProps = React.SVGProps<SVGSVGElement> & {
36
38
  type: IconType;
37
- size?: "ultra-small" | "small" | "medium" | "big" | {
39
+ size?: 'ultra-small' | 'small' | 'medium' | 'big' | {
38
40
  width: number;
39
41
  height: number;
40
42
  };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ComponentStory, ComponentMeta } from '@storybook/react';
3
3
  declare const _default: ComponentMeta<React.FCS<React.SVGProps<SVGSVGElement> & {
4
- type: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users";
4
+ type: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "ellipsis-horizontal" | "ellipsis-vertical" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users";
5
5
  size?: "big" | "small" | "ultra-small" | "medium" | {
6
6
  width: number;
7
7
  height: number;
@@ -9,7 +9,7 @@ declare const _default: ComponentMeta<React.FCS<React.SVGProps<SVGSVGElement> &
9
9
  }>>;
10
10
  export default _default;
11
11
  export declare const SimpleIcon: ComponentStory<React.FCS<React.SVGProps<SVGSVGElement> & {
12
- type: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users";
12
+ type: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "ellipsis-horizontal" | "ellipsis-vertical" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users";
13
13
  size?: "big" | "small" | "ultra-small" | "medium" | {
14
14
  width: number;
15
15
  height: number;
@@ -1,3 +1,3 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  declare const Edit: React.FCS;
3
3
  export default Edit;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const EllipsisHorizontal: React.FCS;
3
+ export default EllipsisHorizontal;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const EllipsisVertical: React.FCS;
3
+ export default EllipsisVertical;
@@ -1,3 +1,3 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  declare const ImageEdit: React.FCS;
3
3
  export default ImageEdit;
@@ -1,3 +1,3 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  declare const Lock: React.FCS;
3
3
  export default Lock;
@@ -1,3 +1,3 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  declare const User: React.FCS;
3
3
  export default User;
@@ -1,19 +1,19 @@
1
1
  import React from 'react';
2
2
  import { ComponentStory, ComponentMeta } from '@storybook/react';
3
- declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
3
+ declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & {
4
4
  size?: "s" | "m" | "l" | "xl" | undefined;
5
5
  label?: string | undefined;
6
6
  } & React.RefAttributes<HTMLInputElement>>>;
7
7
  export default _default;
8
- export declare const Basic: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
8
+ export declare const Basic: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & {
9
9
  size?: "s" | "m" | "l" | "xl" | undefined;
10
10
  label?: string | undefined;
11
11
  } & React.RefAttributes<HTMLInputElement>>>;
12
- export declare const Controlled: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
12
+ export declare const Controlled: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & {
13
13
  size?: "s" | "m" | "l" | "xl" | undefined;
14
14
  label?: string | undefined;
15
15
  } & React.RefAttributes<HTMLInputElement>>>;
16
- export declare const WithLabel: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
16
+ export declare const WithLabel: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & {
17
17
  size?: "s" | "m" | "l" | "xl" | undefined;
18
18
  label?: string | undefined;
19
19
  } & React.RefAttributes<HTMLInputElement>>>;
@@ -13,7 +13,7 @@ export declare type InputProps = Omit<React.InputHTMLAttributes<HTMLInputElement
13
13
  export declare const Input: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & FieldProps<any, any> & {
14
14
  label?: string | undefined;
15
15
  validationType?: ValidationType | undefined;
16
- icon?: "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "close" | "dice-five" | "edit" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
16
+ icon?: "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "close" | "dice-five" | "edit" | "ellipsis-horizontal" | "ellipsis-vertical" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
17
17
  size?: "xl" | "l" | "m" | "s" | undefined;
18
18
  direction?: "ltr" | "rtl" | undefined;
19
19
  onIconClick?: (() => void) | undefined;
@@ -3,7 +3,7 @@ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
3
  declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & import("formik").FieldProps<any, any> & {
4
4
  label?: string | undefined;
5
5
  validationType?: import("../../../types/validation").ValidationType | undefined;
6
- icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
6
+ icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "ellipsis-horizontal" | "ellipsis-vertical" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
7
7
  size?: "s" | "m" | "l" | "xl" | undefined;
8
8
  direction?: "rtl" | "ltr" | undefined;
9
9
  onIconClick?: (() => void) | undefined;
@@ -12,7 +12,7 @@ export default _default;
12
12
  export declare const Basic: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & import("formik").FieldProps<any, any> & {
13
13
  label?: string | undefined;
14
14
  validationType?: import("../../../types/validation").ValidationType | undefined;
15
- icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
15
+ icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "ellipsis-horizontal" | "ellipsis-vertical" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
16
16
  size?: "s" | "m" | "l" | "xl" | undefined;
17
17
  direction?: "rtl" | "ltr" | undefined;
18
18
  onIconClick?: (() => void) | undefined;
@@ -20,7 +20,7 @@ export declare const Basic: ComponentStory<React.ForwardRefExoticComponent<Omit<
20
20
  export declare const Success: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & import("formik").FieldProps<any, any> & {
21
21
  label?: string | undefined;
22
22
  validationType?: import("../../../types/validation").ValidationType | undefined;
23
- icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
23
+ icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "ellipsis-horizontal" | "ellipsis-vertical" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
24
24
  size?: "s" | "m" | "l" | "xl" | undefined;
25
25
  direction?: "rtl" | "ltr" | undefined;
26
26
  onIconClick?: (() => void) | undefined;
@@ -28,7 +28,7 @@ export declare const Success: ComponentStory<React.ForwardRefExoticComponent<Omi
28
28
  export declare const Error: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & import("formik").FieldProps<any, any> & {
29
29
  label?: string | undefined;
30
30
  validationType?: import("../../../types/validation").ValidationType | undefined;
31
- icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
31
+ icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "ellipsis-horizontal" | "ellipsis-vertical" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
32
32
  size?: "s" | "m" | "l" | "xl" | undefined;
33
33
  direction?: "rtl" | "ltr" | undefined;
34
34
  onIconClick?: (() => void) | undefined;
@@ -36,7 +36,7 @@ export declare const Error: ComponentStory<React.ForwardRefExoticComponent<Omit<
36
36
  export declare const Disabled: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & import("formik").FieldProps<any, any> & {
37
37
  label?: string | undefined;
38
38
  validationType?: import("../../../types/validation").ValidationType | undefined;
39
- icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
39
+ icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "ellipsis-horizontal" | "ellipsis-vertical" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
40
40
  size?: "s" | "m" | "l" | "xl" | undefined;
41
41
  direction?: "rtl" | "ltr" | undefined;
42
42
  onIconClick?: (() => void) | undefined;
@@ -44,7 +44,7 @@ export declare const Disabled: ComponentStory<React.ForwardRefExoticComponent<Om
44
44
  export declare const IconLTR: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & import("formik").FieldProps<any, any> & {
45
45
  label?: string | undefined;
46
46
  validationType?: import("../../../types/validation").ValidationType | undefined;
47
- icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
47
+ icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "ellipsis-horizontal" | "ellipsis-vertical" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
48
48
  size?: "s" | "m" | "l" | "xl" | undefined;
49
49
  direction?: "rtl" | "ltr" | undefined;
50
50
  onIconClick?: (() => void) | undefined;
@@ -52,7 +52,7 @@ export declare const IconLTR: ComponentStory<React.ForwardRefExoticComponent<Omi
52
52
  export declare const IconRTL: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & import("formik").FieldProps<any, any> & {
53
53
  label?: string | undefined;
54
54
  validationType?: import("../../../types/validation").ValidationType | undefined;
55
- icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
55
+ icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "ellipsis-horizontal" | "ellipsis-vertical" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
56
56
  size?: "s" | "m" | "l" | "xl" | undefined;
57
57
  direction?: "rtl" | "ltr" | undefined;
58
58
  onIconClick?: (() => void) | undefined;
@@ -60,7 +60,7 @@ export declare const IconRTL: ComponentStory<React.ForwardRefExoticComponent<Omi
60
60
  export declare const DisabledIcon: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & import("formik").FieldProps<any, any> & {
61
61
  label?: string | undefined;
62
62
  validationType?: import("../../../types/validation").ValidationType | undefined;
63
- icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
63
+ icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "ellipsis-horizontal" | "ellipsis-vertical" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
64
64
  size?: "s" | "m" | "l" | "xl" | undefined;
65
65
  direction?: "rtl" | "ltr" | undefined;
66
66
  onIconClick?: (() => void) | undefined;
@@ -68,7 +68,7 @@ export declare const DisabledIcon: ComponentStory<React.ForwardRefExoticComponen
68
68
  export declare const WithLabel: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & import("formik").FieldProps<any, any> & {
69
69
  label?: string | undefined;
70
70
  validationType?: import("../../../types/validation").ValidationType | undefined;
71
- icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
71
+ icon?: "close" | "angle-down" | "arrow-left" | "bars" | "bell" | "check-circle" | "check-square" | "clipboad-notes" | "dice-five" | "edit" | "ellipsis-horizontal" | "ellipsis-vertical" | "envelope" | "exclamation-circle" | "exclamation-triangle" | "exit" | "facebook" | "home" | "image-edit" | "instagram" | "linkedin" | "lock" | "minus" | "phone" | "plus" | "process" | "points-circle" | "redo" | "setting" | "user" | "user-circle" | "users" | undefined;
72
72
  size?: "s" | "m" | "l" | "xl" | undefined;
73
73
  direction?: "rtl" | "ltr" | undefined;
74
74
  onIconClick?: (() => void) | undefined;
@@ -1,20 +1,20 @@
1
1
  import React from 'react';
2
2
  import { ComponentMeta, ComponentStory } from '@storybook/react';
3
3
  import { Size } from './Radio';
4
- declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
4
+ declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & {
5
5
  size?: Size | undefined;
6
6
  label?: string | undefined;
7
7
  } & React.RefAttributes<HTMLInputElement>>>;
8
8
  export default _default;
9
- export declare const Basic: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
9
+ export declare const Basic: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & {
10
10
  size?: Size | undefined;
11
11
  label?: string | undefined;
12
12
  } & React.RefAttributes<HTMLInputElement>>>;
13
- export declare const Controlled: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
13
+ export declare const Controlled: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & {
14
14
  size?: Size | undefined;
15
15
  label?: string | undefined;
16
16
  } & React.RefAttributes<HTMLInputElement>>>;
17
- export declare const WithLabel: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
17
+ export declare const WithLabel: ComponentStory<React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & {
18
18
  size?: Size | undefined;
19
19
  label?: string | undefined;
20
20
  } & React.RefAttributes<HTMLInputElement>>>;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import { IconType } from "../../atoms/Icon";
1
+ import React from 'react';
2
+ import { IconType } from '../../atoms/Icon';
3
3
  export interface SettingProps {
4
4
  icon?: IconType;
5
5
  title: string;
@@ -1,4 +1,4 @@
1
- export { Alert, Avatar, Card, Divider, Icon, Nav, Pill, Typography, Spinner, Chip, Dot, } from "./components/atoms";
2
- export { InfoCard, Input, TextArea, Button, Checkbox, Dropdown, Profile, Radio, } from "./components/molecules";
3
- export { Menu, Setting } from "./components/organisms";
4
- export { GlobalStyles as IntegrigoUI, Color } from "./styles";
1
+ export { Alert, Avatar, Card, Divider, Icon, Nav, Pill, Typography, Spinner, Chip, Dot, } from './components/atoms';
2
+ export { InfoCard, Input, TextArea, Button, Checkbox, Dropdown, Profile, Radio, } from './components/molecules';
3
+ export { Menu, Setting } from './components/organisms';
4
+ export { GlobalStyles as IntegrigoUI, Color } from './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.12",
6
+ "version": "1.6.13",
7
7
  "main": "lib/index.js",
8
8
  "module": "lib/index.esm.js",
9
9
  "types": "lib/index.d.ts",
package/rollup.config.js CHANGED
@@ -9,6 +9,7 @@ const packageJson = require("./package.json");
9
9
 
10
10
  export default {
11
11
  input: "src/index.ts",
12
+ inlineDynamicImports: true,
12
13
  output: [
13
14
  {
14
15
  file: packageJson.main,
@@ -1,8 +1,8 @@
1
- import styled from "styled-components";
1
+ import styled from 'styled-components';
2
2
 
3
3
  export interface CardProps {
4
4
  inverse?: boolean;
5
- size?: "s" | "m" | "l";
5
+ size?: 's' | 'm' | 'l';
6
6
  flat?: boolean;
7
7
  }
8
8
 
@@ -23,11 +23,11 @@ const sizeVariants = {
23
23
 
24
24
  export const Card = styled.div<CardProps>`
25
25
  background-color: ${(p) =>
26
- p.inverse ? "var(--color-navy)" : "var(--color-white)"};
27
- box-shadow: ${(p) => (p.flat ? "none" : "0px 4px 4px rgba(0, 0, 0, 0.25)")};
28
- color: ${(p) => (p.inverse ? "var(--color-white)" : "var(--color-navy)")};
29
- padding: ${(p) => sizeVariants[p.size || "l"].padding}px;
30
- border-radius: ${(p) => sizeVariants[p.size || "l"].borderRadius}px;
26
+ p.inverse ? 'var(--color-navy)' : 'var(--color-white)'};
27
+ box-shadow: ${(p) => (p.flat ? 'none' : '0px 4px 4px rgba(0, 0, 0, 0.25)')};
28
+ color: ${(p) => (p.inverse ? 'var(--color-white)' : 'var(--color-navy)')};
29
+ padding: ${(p) => sizeVariants[p.size || 'l'].padding}px;
30
+ border-radius: ${(p) => sizeVariants[p.size || 'l'].borderRadius}px;
31
31
  `;
32
32
 
33
- Card.displayName = "Card";
33
+ Card.displayName = 'Card';
@@ -17,6 +17,7 @@ export const AllIcons = () => (
17
17
  <div
18
18
  style={{
19
19
  display: 'flex',
20
+ flexWrap: 'wrap',
20
21
  }}
21
22
  >
22
23
  {Object.keys(iconHashMap).map((type) => (
@@ -25,6 +26,7 @@ export const AllIcons = () => (
25
26
  style={{
26
27
  padding: '12px',
27
28
  borderRight: '1px solid black',
29
+ borderBottom: '1px solid black',
28
30
  display: 'flex',
29
31
  flexDirection: 'column',
30
32
  alignItems: 'center',
@@ -1,55 +1,63 @@
1
- import React from "react";
2
- import { Color } from "../../../styles";
1
+ import React from 'react';
2
+ import { Color } from '../../../styles';
3
3
 
4
- import AngleDown from "./icons/AngleDown";
5
- import ArrowLeft from "./icons/ArrowLeft";
6
- import Bars from "./icons/Bars";
7
- import Bell from "./icons/Bell";
8
- import CheckCircle from "./icons/CheckCircle";
9
- import CheckSquare from "./icons/ChechSquare";
10
- import ClipboardNotes from "./icons/ClipboardNotes";
11
- import Close from "./icons/Close";
12
- import DiceFive from "./icons/DiceFive";
13
- import Edit from "./icons/Edit";
14
- import Envelope from "./icons/Envelope";
15
- import ExclamationCircle from "./icons/ExclamationCircle";
16
- import ExclamationTriangle from "./icons/ExclamationTriangle";
17
- import Exit from "./icons/Exit";
18
- import Facebook from "./icons/Facebook";
19
- import Home from "./icons/Home";
20
- import ImageEdit from "./icons/ImageEdit";
21
- import Instagram from "./icons/Instagram";
22
- import Linkedin from "./icons/Linkedin";
23
- import Lock from "./icons/Lock";
24
- import Minus from "./icons/Minus";
25
- import Phone from "./icons/Phone";
26
- import Plus from "./icons/Plus";
27
- import PointsCircle from "./icons/PointsCircle";
28
- import Process from "./icons/Process";
29
- import Redo from "./icons/Redo";
30
- import Setting from "./icons/Setting";
31
- import User from "./icons/User";
32
- import UserCircle from "./icons/UserCircle";
33
- import Users from "./icons/Users";
4
+ const AngleDown = React.lazy(() => import('./icons/AngleDown'));
5
+ const ArrowLeft = React.lazy(() => import('./icons/ArrowLeft'));
6
+ const Bars = React.lazy(() => import('./icons/Bars'));
7
+ const Bell = React.lazy(() => import('./icons/Bell'));
8
+ const CheckCircle = React.lazy(() => import('./icons/CheckCircle'));
9
+ const CheckSquare = React.lazy(() => import('./icons/ChechSquare'));
10
+ const ClipboardNotes = React.lazy(() => import('./icons/ClipboardNotes'));
11
+ const Close = React.lazy(() => import('./icons/Close'));
12
+ const DiceFive = React.lazy(() => import('./icons/DiceFive'));
13
+ const Edit = React.lazy(() => import('./icons/Edit'));
14
+ const EllipsisVertical = React.lazy(() => import('./icons/EllipsisVertical'));
15
+ const EllipsisHorizontal = React.lazy(
16
+ () => import('./icons/EllipsisHorizontal'),
17
+ );
18
+ const Envelope = React.lazy(() => import('./icons/Envelope'));
19
+ const ExclamationCircle = React.lazy(() => import('./icons/ExclamationCircle'));
20
+ const ExclamationTriangle = React.lazy(
21
+ () => import('./icons/ExclamationTriangle'),
22
+ );
23
+ const Exit = React.lazy(() => import('./icons/Exit'));
24
+ const Facebook = React.lazy(() => import('./icons/Facebook'));
25
+ const Home = React.lazy(() => import('./icons/Home'));
26
+ const ImageEdit = React.lazy(() => import('./icons/ImageEdit'));
27
+ const Instagram = React.lazy(() => import('./icons/Instagram'));
28
+ const Linkedin = React.lazy(() => import('./icons/Linkedin'));
29
+ const Lock = React.lazy(() => import('./icons/Lock'));
30
+ const Minus = React.lazy(() => import('./icons/Minus'));
31
+ const Phone = React.lazy(() => import('./icons/Phone'));
32
+ const Plus = React.lazy(() => import('./icons/Plus'));
33
+ const PointsCircle = React.lazy(() => import('./icons/PointsCircle'));
34
+ const Process = React.lazy(() => import('./icons/Process'));
35
+ const Redo = React.lazy(() => import('./icons/Redo'));
36
+ const Setting = React.lazy(() => import('./icons/Setting'));
37
+ const User = React.lazy(() => import('./icons/User'));
38
+ const UserCircle = React.lazy(() => import('./icons/UserCircle'));
39
+ const Users = React.lazy(() => import('./icons/Users'));
34
40
 
35
41
  export const iconHashMap = {
36
- "angle-down": AngleDown,
37
- "arrow-left": ArrowLeft,
42
+ 'angle-down': AngleDown,
43
+ 'arrow-left': ArrowLeft,
38
44
  bars: Bars,
39
45
  bell: Bell,
40
- "check-circle": CheckCircle,
41
- "check-square": CheckSquare,
42
- "clipboad-notes": ClipboardNotes,
46
+ 'check-circle': CheckCircle,
47
+ 'check-square': CheckSquare,
48
+ 'clipboad-notes': ClipboardNotes,
43
49
  close: Close,
44
- "dice-five": DiceFive,
50
+ 'dice-five': DiceFive,
45
51
  edit: Edit,
52
+ 'ellipsis-horizontal': EllipsisHorizontal,
53
+ 'ellipsis-vertical': EllipsisVertical,
46
54
  envelope: Envelope,
47
- "exclamation-circle": ExclamationCircle,
48
- "exclamation-triangle": ExclamationTriangle,
55
+ 'exclamation-circle': ExclamationCircle,
56
+ 'exclamation-triangle': ExclamationTriangle,
49
57
  exit: Exit,
50
58
  facebook: Facebook,
51
59
  home: Home,
52
- "image-edit": ImageEdit,
60
+ 'image-edit': ImageEdit,
53
61
  instagram: Instagram,
54
62
  linkedin: Linkedin,
55
63
  lock: Lock,
@@ -57,11 +65,11 @@ export const iconHashMap = {
57
65
  phone: Phone,
58
66
  plus: Plus,
59
67
  process: Process,
60
- "points-circle": PointsCircle,
68
+ 'points-circle': PointsCircle,
61
69
  redo: Redo,
62
70
  setting: Setting,
63
71
  user: User,
64
- "user-circle": UserCircle,
72
+ 'user-circle': UserCircle,
65
73
  users: Users,
66
74
  };
67
75
 
@@ -70,15 +78,15 @@ export type IconType = keyof typeof iconHashMap;
70
78
  type IconProps = React.SVGProps<SVGSVGElement> & {
71
79
  type: IconType;
72
80
  size?:
73
- | "ultra-small"
74
- | "small"
75
- | "medium"
76
- | "big"
77
- | { width: number; height: number };
81
+ | 'ultra-small'
82
+ | 'small'
83
+ | 'medium'
84
+ | 'big'
85
+ | { width: number; height: number };
78
86
  };
79
87
 
80
88
  const sizeHashMap = {
81
- "ultra-small": {
89
+ 'ultra-small': {
82
90
  width: 20,
83
91
  height: 20,
84
92
  },
@@ -99,11 +107,11 @@ const sizeHashMap = {
99
107
  export const Icon: React.FCS<IconProps> = ({
100
108
  className,
101
109
  type,
102
- size = "ultra-small",
110
+ size = 'ultra-small',
103
111
  ...props
104
112
  }) => {
105
113
  const Component = iconHashMap[type];
106
- const sizes = typeof size === "string" ? sizeHashMap[size] : size;
114
+ const sizes = typeof size === 'string' ? sizeHashMap[size] : size;
107
115
 
108
116
  return (
109
117
  <Component className={className} fill={Color.Navy} {...sizes} {...props} />
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
 
3
3
  const AngleDown: React.FCS = (props) => (
4
- <svg viewBox="0 0 12 8" xmlns="http://www.w3.org/2000/svg" {...props}>
5
- <path d="M11 1.17a1 1 0 0 0-1.41 0L6 4.71 2.46 1.17a1 1 0 1 0-1.41 1.42l4.24 4.24a1 1 0 0 0 1.42 0L11 2.59a.998.998 0 0 0 0-1.42Z" />
4
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <path d="M16.9999 9.17C16.8126 8.98375 16.5591 8.87921 16.2949 8.87921C16.0308 8.87921 15.7773 8.98375 15.5899 9.17L11.9999 12.71L8.45995 9.17C8.27259 8.98375 8.01913 8.87921 7.75495 8.87921C7.49076 8.87921 7.23731 8.98375 7.04995 9.17C6.95622 9.26296 6.88183 9.37356 6.83106 9.49542C6.78029 9.61728 6.75415 9.74799 6.75415 9.88C6.75415 10.012 6.78029 10.1427 6.83106 10.2646C6.88183 10.3864 6.95622 10.497 7.04995 10.59L11.2899 14.83C11.3829 14.9237 11.4935 14.9981 11.6154 15.0489C11.7372 15.0997 11.8679 15.1258 11.9999 15.1258C12.132 15.1258 12.2627 15.0997 12.3845 15.0489C12.5064 14.9981 12.617 14.9237 12.7099 14.83L16.9999 10.59C17.0937 10.497 17.1681 10.3864 17.2188 10.2646C17.2696 10.1427 17.2957 10.012 17.2957 9.88C17.2957 9.74799 17.2696 9.61728 17.2188 9.49542C17.1681 9.37356 17.0937 9.26296 16.9999 9.17Z" />
6
6
  </svg>
7
7
  );
8
8
 
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
 
3
3
  const ArrowLeft: React.FCS = (props) => (
4
- <svg viewBox="0 0 12 14" xmlns="http://www.w3.org/2000/svg" {...props}>
5
- <path d="M11 6H3.41l3.3-3.29a1.004 1.004 0 0 0-1.42-1.42l-5 5a1 1 0 0 0-.21.33 1 1 0 0 0 0 .76 1 1 0 0 0 .21.33l5 5a1 1 0 0 0 1.639-.325 1 1 0 0 0-.219-1.095L3.41 8H11a1 1 0 1 0 0-2Z" />
4
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <path d="M17 11H9.41002L12.71 7.71C12.8983 7.5217 13.0041 7.2663 13.0041 7C13.0041 6.7337 12.8983 6.47831 12.71 6.29C12.5217 6.1017 12.2663 5.99591 12 5.99591C11.7337 5.99591 11.4783 6.1017 11.29 6.29L6.29002 11.29C6.19898 11.3851 6.12761 11.4973 6.08002 11.62C5.98 11.8635 5.98 12.1365 6.08002 12.38C6.12761 12.5028 6.19898 12.6149 6.29002 12.71L11.29 17.71C11.383 17.8037 11.4936 17.8781 11.6154 17.9289C11.7373 17.9797 11.868 18.0058 12 18.0058C12.132 18.0058 12.2627 17.9797 12.3846 17.9289C12.5065 17.8781 12.6171 17.8037 12.71 17.71C12.8037 17.617 12.8781 17.5064 12.9289 17.3846C12.9797 17.2627 13.0058 17.132 13.0058 17C13.0058 16.868 12.9797 16.7373 12.9289 16.6154C12.8781 16.4936 12.8037 16.383 12.71 16.29L9.41002 13H17C17.2652 13 17.5196 12.8946 17.7071 12.7071C17.8947 12.5196 18 12.2652 18 12C18 11.7348 17.8947 11.4804 17.7071 11.2929C17.5196 11.1054 17.2652 11 17 11Z" />
6
6
  </svg>
7
7
  );
8
8
 
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
 
3
3
  const Bars: React.FCS = (props) => (
4
- <svg viewBox="0 0 20 12" xmlns="http://www.w3.org/2000/svg" {...props}>
5
- <path d="M1 2h18a1 1 0 1 0 0-2H1a1 1 0 0 0 0 2Zm18 8H1a1 1 0 0 0 0 2h18a1 1 0 0 0 0-2Zm0-5H1a1 1 0 0 0 0 2h18a1 1 0 1 0 0-2Z" />
4
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <path d="M3 8H21C21.2652 8 21.5196 7.89464 21.7071 7.70711C21.8946 7.51957 22 7.26522 22 7C22 6.73478 21.8946 6.48043 21.7071 6.29289C21.5196 6.10536 21.2652 6 21 6H3C2.73478 6 2.48043 6.10536 2.29289 6.29289C2.10536 6.48043 2 6.73478 2 7C2 7.26522 2.10536 7.51957 2.29289 7.70711C2.48043 7.89464 2.73478 8 3 8ZM21 16H3C2.73478 16 2.48043 16.1054 2.29289 16.2929C2.10536 16.4804 2 16.7348 2 17C2 17.2652 2.10536 17.5196 2.29289 17.7071C2.48043 17.8946 2.73478 18 3 18H21C21.2652 18 21.5196 17.8946 21.7071 17.7071C21.8946 17.5196 22 17.2652 22 17C22 16.7348 21.8946 16.4804 21.7071 16.2929C21.5196 16.1054 21.2652 16 21 16ZM21 11H3C2.73478 11 2.48043 11.1054 2.29289 11.2929C2.10536 11.4804 2 11.7348 2 12C2 12.2652 2.10536 12.5196 2.29289 12.7071C2.48043 12.8946 2.73478 13 3 13H21C21.2652 13 21.5196 12.8946 21.7071 12.7071C21.8946 12.5196 22 12.2652 22 12C22 11.7348 21.8946 11.4804 21.7071 11.2929C21.5196 11.1054 21.2652 11 21 11Z" />
6
6
  </svg>
7
7
  );
8
8