fone-design-system_v2 1.0.305 → 1.0.306
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.
|
@@ -4,6 +4,7 @@ export interface FieldShellProps extends React.ComponentProps<typeof Box> {
|
|
|
4
4
|
fullWidth?: boolean;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
error?: boolean;
|
|
7
|
+
size?: "small" | "medium" | "large";
|
|
7
8
|
}
|
|
8
|
-
declare const FieldShell: ({ fullWidth, disabled, error, sx, children, ...rest }: FieldShellProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const FieldShell: ({ fullWidth, disabled, error, size, sx, children, ...rest }: FieldShellProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export default FieldShell;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface FileUploadProps
|
|
1
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
2
|
+
export interface FileUploadProps {
|
|
3
3
|
buttonChildren?: React.ReactNode;
|
|
4
4
|
accept?: "svg" | "png" | "jpg" | string;
|
|
5
5
|
multiple?: boolean;
|
|
@@ -8,6 +8,9 @@ export interface FileUploadProps extends Omit<ButtonProps, "onChange"> {
|
|
|
8
8
|
onClear?: () => void;
|
|
9
9
|
fullWidth?: boolean;
|
|
10
10
|
imgValue?: React.ReactNode;
|
|
11
|
+
size?: "small" | "medium" | "large";
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
sx?: SxProps<Theme>;
|
|
11
14
|
}
|
|
12
|
-
declare const FileUpload: ({ buttonChildren, accept, multiple, value, onChange, onClear: onClearProp, fullWidth, imgValue,
|
|
15
|
+
declare const FileUpload: ({ buttonChildren, accept, multiple, value, onChange, onClear: onClearProp, fullWidth, imgValue, size, disabled, sx, }: FileUploadProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
16
|
export default FileUpload;
|