@veeqo/ui 0.0.20 → 0.1.1

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.
@@ -8,7 +8,7 @@ export declare const Item: import("styled-components").StyledComponent<import("r
8
8
  children?: import("react").ReactNode;
9
9
  variant?: import("../Button/types").ButtonVariant | undefined;
10
10
  size?: "base" | "sm" | undefined;
11
- icon?: import("react").ReactNode;
11
+ icon?: Omit<import("react").ReactNode, string> | undefined;
12
12
  dropdown?: boolean | undefined;
13
13
  loading?: boolean | undefined;
14
14
  } & import("react").RefAttributes<HTMLButtonElement>>, any, {
@@ -18,7 +18,7 @@ export declare const ActionItem: import("styled-components").StyledComponent<imp
18
18
  children?: import("react").ReactNode;
19
19
  variant?: import("../Button/types").ButtonVariant | undefined;
20
20
  size?: "base" | "sm" | undefined;
21
- icon?: import("react").ReactNode;
21
+ icon?: Omit<import("react").ReactNode, string> | undefined;
22
22
  dropdown?: boolean | undefined;
23
23
  loading?: boolean | undefined;
24
24
  } & import("react").RefAttributes<HTMLButtonElement>>, any, {
@@ -28,7 +28,7 @@ export declare const LinkItem: import("styled-components").StyledComponent<impor
28
28
  children?: import("react").ReactNode;
29
29
  variant?: import("../Button/types").ButtonVariant | undefined;
30
30
  size?: "base" | "sm" | undefined;
31
- icon?: import("react").ReactNode;
31
+ icon?: Omit<import("react").ReactNode, string> | undefined;
32
32
  dropdown?: boolean | undefined;
33
33
  loading?: boolean | undefined;
34
34
  } & import("react").RefAttributes<HTMLButtonElement>>, any, {
@@ -3,7 +3,7 @@ export declare const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAtt
3
3
  children?: React.ReactNode;
4
4
  variant?: import("./types").ButtonVariant | undefined;
5
5
  size?: "base" | "sm" | undefined;
6
- icon?: React.ReactNode;
6
+ icon?: Omit<React.ReactNode, string> | undefined;
7
7
  dropdown?: boolean | undefined;
8
8
  loading?: boolean | undefined;
9
9
  } & React.RefAttributes<HTMLButtonElement>>;
@@ -10,7 +10,7 @@ export type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
10
10
  /** Button sizes */
11
11
  size?: 'sm' | 'base';
12
12
  /** Icon */
13
- icon?: ReactNode;
13
+ icon?: Omit<ReactNode, string>;
14
14
  /** Renders a dropdown indicator inside the button */
15
15
  dropdown?: boolean;
16
16
  /** Renders a loading indicator inside the button */
@@ -4,7 +4,7 @@ export type RowData = any;
4
4
  export type DataTableHeader = {
5
5
  id: DataTableId;
6
6
  title?: string;
7
- icon?: ReactNode;
7
+ icon?: Omit<ReactNode, string>;
8
8
  tooltip?: string;
9
9
  align?: 'left' | 'center' | 'right';
10
10
  sortable?: boolean;
@@ -24,7 +24,7 @@ declare const StyledButton: import("styled-components").StyledComponent<import("
24
24
  children?: import("react").ReactNode;
25
25
  variant?: import("../Button/types").ButtonVariant | undefined;
26
26
  size?: "base" | "sm" | undefined;
27
- icon?: import("react").ReactNode;
27
+ icon?: Omit<import("react").ReactNode, string> | undefined;
28
28
  dropdown?: boolean | undefined;
29
29
  loading?: boolean | undefined;
30
30
  } & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
@@ -13,7 +13,7 @@ export declare const SidebarToggleButton: import("styled-components").StyledComp
13
13
  children?: import("react").ReactNode;
14
14
  variant?: import("../Button/types").ButtonVariant | undefined;
15
15
  size?: "base" | "sm" | undefined;
16
- icon?: import("react").ReactNode;
16
+ icon?: Omit<import("react").ReactNode, string> | undefined;
17
17
  dropdown?: boolean | undefined;
18
18
  loading?: boolean | undefined;
19
19
  } & import("react").RefAttributes<HTMLButtonElement>>, any, {
@@ -4,7 +4,7 @@ export declare const PaginationButton: import("styled-components").StyledCompone
4
4
  children?: import("react").ReactNode;
5
5
  variant?: import("../Button/types").ButtonVariant | undefined;
6
6
  size?: "base" | "sm" | undefined;
7
- icon?: import("react").ReactNode;
7
+ icon?: Omit<import("react").ReactNode, string> | undefined;
8
8
  dropdown?: boolean | undefined;
9
9
  loading?: boolean | undefined;
10
10
  } & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
@@ -5,7 +5,7 @@ export declare const ButtonSC: import("styled-components").StyledComponent<impor
5
5
  children?: import("react").ReactNode;
6
6
  variant?: import("../Button/types").ButtonVariant | undefined;
7
7
  size?: "base" | "sm" | undefined;
8
- icon?: import("react").ReactNode;
8
+ icon?: Omit<import("react").ReactNode, string> | undefined;
9
9
  dropdown?: boolean | undefined;
10
10
  loading?: boolean | undefined;
11
11
  } & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
@@ -24,7 +24,7 @@ declare const StyledButton: import("styled-components").StyledComponent<import("
24
24
  children?: import("react").ReactNode;
25
25
  variant?: import("../Button/types").ButtonVariant | undefined;
26
26
  size?: "base" | "sm" | undefined;
27
- icon?: import("react").ReactNode;
27
+ icon?: Omit<import("react").ReactNode, string> | undefined;
28
28
  dropdown?: boolean | undefined;
29
29
  loading?: boolean | undefined;
30
30
  } & import("react").RefAttributes<HTMLButtonElement>>, any, {