@veeqo/ui 14.5.0-beta-2 → 14.5.0-beta-3

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.
@@ -11,6 +11,9 @@ export declare const ButtonBase: React.ForwardRefExoticComponent<React.ButtonHTM
11
11
  loading?: boolean | undefined;
12
12
  contentStyles?: React.CSSProperties | undefined;
13
13
  as?: React.ElementType | undefined;
14
+ href?: string | undefined;
15
+ target?: string | undefined;
16
+ rel?: string | undefined;
14
17
  } & React.RefAttributes<HTMLButtonElement>>;
15
18
  export declare const Button: React.ForwardRefExoticComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement> & import("../../hoc/withTokens").WithTokensProps & {
16
19
  children?: React.ReactNode;
@@ -21,4 +24,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<React.ButtonHT
21
24
  loading?: boolean | undefined;
22
25
  contentStyles?: React.CSSProperties | undefined;
23
26
  as?: React.ElementType | undefined;
27
+ href?: string | undefined;
28
+ target?: string | undefined;
29
+ rel?: string | undefined;
24
30
  } & React.RefAttributes<HTMLButtonElement>, "ref"> & import("../../hoc/withTokens").WithTokensProps & React.RefAttributes<HTMLButtonElement>>;
@@ -20,4 +20,10 @@ export type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & WithTokensPr
20
20
  contentStyles?: CSSProperties;
21
21
  /** Render as a different element type (e.g. 'a' for links) */
22
22
  as?: ElementType;
23
+ /** URL when rendered as an anchor (use with as="a") */
24
+ href?: string;
25
+ /** Link target (use with as="a") */
26
+ target?: string;
27
+ /** Link rel attribute (use with as="a") */
28
+ rel?: string;
23
29
  };
@@ -15,6 +15,9 @@ export declare const PaginationButton: import("styled-components").StyledCompone
15
15
  loading?: boolean | undefined;
16
16
  contentStyles?: import("react").CSSProperties | undefined;
17
17
  as?: import("react").ElementType | undefined;
18
+ href?: string | undefined;
19
+ target?: string | undefined;
20
+ rel?: string | undefined;
18
21
  } & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("../../hoc/withTokens").WithTokensProps & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
19
22
  export declare const PageInput: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<{
20
23
  rel?: string | undefined;
@@ -10,4 +10,7 @@ export declare const ButtonSC: import("styled-components").StyledComponent<impor
10
10
  loading?: boolean | undefined;
11
11
  contentStyles?: import("react").CSSProperties | undefined;
12
12
  as?: import("react").ElementType | undefined;
13
+ href?: string | undefined;
14
+ target?: string | undefined;
15
+ rel?: string | undefined;
13
16
  } & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("../../hoc/withTokens").WithTokensProps & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veeqo/ui",
3
- "version": "14.5.0-beta-2",
3
+ "version": "14.5.0-beta-3",
4
4
  "description": "New optimised component library for Veeqo.",
5
5
  "author": "Robert Wealthall",
6
6
  "license": "ISC",