@hexure/ui 1.13.46 → 1.13.48

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.
@@ -29,6 +29,8 @@ export interface ButtonProps extends AccessibleProps {
29
29
  title?: string;
30
30
  /** Optional ID for automation purposes */
31
31
  dataItemid?: string;
32
+ /** Optional type for the button */
33
+ type?: 'button' | 'submit' | 'reset' | null;
32
34
  }
33
35
  declare const Button: FC<ButtonProps>;
34
36
  export default Button;
@@ -6,6 +6,7 @@ export interface FileUploadProps {
6
6
  onError?: (errors: Array<ErrorObject>) => void;
7
7
  /** The maximum number of files that be added. */
8
8
  maxFiles?: number;
9
+ disabled?: boolean;
9
10
  /** The maximum file size allowed, in MBs. */
10
11
  maxSize?: number;
11
12
  /** Display a message in the dropzone area */
@@ -14,6 +14,8 @@ export interface PageHeaderProps {
14
14
  icon?: string;
15
15
  label: string;
16
16
  onClick?: (e: any) => void;
17
+ /** Optional type for the button */
18
+ type?: 'button' | 'submit' | 'reset' | null;
17
19
  }>;
18
20
  buttonMenu?: {
19
21
  disabled?: boolean;