@thecb/components 8.0.6-beta.7 → 8.0.6-beta.8
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.
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never;
|
|
|
4
4
|
|
|
5
5
|
interface ButtonWithActionProps {
|
|
6
6
|
action?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
+
disabled?: boolean;
|
|
7
8
|
variant?: string;
|
|
8
9
|
text?: string;
|
|
9
10
|
textWrap?: boolean;
|
|
@@ -18,6 +19,7 @@ declare const ButtonWithAction: React.FC<Expand<ButtonWithActionProps> &
|
|
|
18
19
|
React.HTMLAttributes<HTMLElement>>;
|
|
19
20
|
|
|
20
21
|
interface ButtonWithLinkProps extends ButtonWithActionProps {
|
|
22
|
+
active?: boolean;
|
|
21
23
|
linkExtraStyles?: string;
|
|
22
24
|
url: string;
|
|
23
25
|
disabled?: boolean;
|
package/package.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as ErrorMessage } from "./ErrorMessage";
|
|
2
|
-
export { default as Field } from "./Field";
|
|
3
|
-
export { default as FieldActions } from "./FieldActions"
|
|
1
|
+
export type { default as ErrorMessage } from "./ErrorMessage";
|
|
2
|
+
export type { default as Field } from "./Field";
|
|
3
|
+
export type { default as FieldActions } from "./FieldActions"
|