@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,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "8.0.6-beta.7",
3
+ "version": "8.0.6-beta.8",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -3,6 +3,7 @@ import Expand from "../../../util/expand";
3
3
 
4
4
  export interface ButtonWithActionProps {
5
5
  action?: (event: React.ChangeEvent<HTMLInputElement>) => void;
6
+ disabled?: boolean;
6
7
  variant?: string;
7
8
  text?: string;
8
9
  textWrap?: boolean;
@@ -3,6 +3,7 @@ import Expand from "../../../util/expand";
3
3
  import { ButtonWithActionProps } from "../button-with-action";
4
4
 
5
5
  export interface ButtonWithLinkProps extends ButtonWithActionProps {
6
+ active?: boolean;
6
7
  linkExtraStyles?: string;
7
8
  url: string;
8
9
  disabled?: boolean;
@@ -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"