@veeqo/ui 15.16.0 → 15.17.0
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.
|
@@ -30,7 +30,7 @@ export declare const ActionBase: React.ForwardRefExoticComponent<(Omit<{
|
|
|
30
30
|
href: string;
|
|
31
31
|
allowedHostnames?: string[] | undefined;
|
|
32
32
|
hideExternalLinkIcon?: boolean | undefined;
|
|
33
|
-
}, "ref"> | Omit<{
|
|
33
|
+
} & import("../types").DataAttributes, "ref"> | Omit<{
|
|
34
34
|
appearance?: import("./types").ActionAppearance | undefined;
|
|
35
35
|
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
36
36
|
children?: React.ReactNode;
|
|
@@ -56,7 +56,7 @@ export declare const ActionBase: React.ForwardRefExoticComponent<(Omit<{
|
|
|
56
56
|
variant?: import("./types").ActionVariant | undefined;
|
|
57
57
|
}> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
58
58
|
href?: undefined;
|
|
59
|
-
}, "ref">) & React.RefAttributes<HTMLElement>>;
|
|
59
|
+
} & import("../types").DataAttributes, "ref">) & React.RefAttributes<HTMLElement>>;
|
|
60
60
|
export declare const Action: React.ForwardRefExoticComponent<(Omit<Omit<Omit<{
|
|
61
61
|
appearance?: import("./types").ActionAppearance | undefined;
|
|
62
62
|
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
@@ -85,7 +85,7 @@ export declare const Action: React.ForwardRefExoticComponent<(Omit<Omit<Omit<{
|
|
|
85
85
|
href: string;
|
|
86
86
|
allowedHostnames?: string[] | undefined;
|
|
87
87
|
hideExternalLinkIcon?: boolean | undefined;
|
|
88
|
-
}, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & import("../../hoc/withTokens").WithTokensProps, "ref"> | Omit<Omit<Omit<{
|
|
88
|
+
} & import("../types").DataAttributes, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & import("../../hoc/withTokens").WithTokensProps, "ref"> | Omit<Omit<Omit<{
|
|
89
89
|
appearance?: import("./types").ActionAppearance | undefined;
|
|
90
90
|
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
91
91
|
children?: React.ReactNode;
|
|
@@ -111,4 +111,4 @@ export declare const Action: React.ForwardRefExoticComponent<(Omit<Omit<Omit<{
|
|
|
111
111
|
variant?: import("./types").ActionVariant | undefined;
|
|
112
112
|
}> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
113
113
|
href?: undefined;
|
|
114
|
-
}, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & import("../../hoc/withTokens").WithTokensProps, "ref">) & React.RefAttributes<HTMLElement>>;
|
|
114
|
+
} & import("../types").DataAttributes, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & import("../../hoc/withTokens").WithTokensProps, "ref">) & React.RefAttributes<HTMLElement>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { AnchorHTMLAttributes, ButtonHTMLAttributes } from 'react';
|
|
2
|
+
import { DataAttributes } from '../types';
|
|
2
3
|
export type ActionAppearance = 'button' | 'link' | 'unstyled';
|
|
3
4
|
export type ActionVariant = 'default' | 'destructive' | 'primary' | 'primaryDestructive' | 'flat';
|
|
4
5
|
export type ActionSize = 'xs' | 'sm' | 'base' | 'xl';
|
|
@@ -38,5 +39,5 @@ export type ButtonActionProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
|
38
39
|
href?: never;
|
|
39
40
|
};
|
|
40
41
|
export type ActionOwnProps = LinkActionProps | ButtonActionProps;
|
|
41
|
-
export type ActionProps<C extends React.ElementType> = BaseActionProps<C> & Omit<React.ComponentPropsWithoutRef<C>, keyof BaseActionProps<C> | keyof ActionOwnProps> & ActionOwnProps;
|
|
42
|
+
export type ActionProps<C extends React.ElementType> = BaseActionProps<C> & Omit<React.ComponentPropsWithoutRef<C>, keyof BaseActionProps<C> | keyof ActionOwnProps> & ActionOwnProps & DataAttributes;
|
|
42
43
|
export {};
|