@arudovwen/form-builder-react 1.9.0 → 1.9.1

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.
@@ -1,7 +1,7 @@
1
1
  import { jsxs as ce, jsx as D, Fragment as De } from "react/jsx-runtime";
2
2
  import ht, { memo as le, useState as xe, useCallback as we, forwardRef as Oo, useRef as ne, useEffect as ie, useContext as gt, createContext as fn, useMemo as be, useLayoutEffect as Aa } from "react";
3
3
  import "react-dom";
4
- import { A as Ia } from "./index-Dbs4pbfu.js";
4
+ import { A as Ia } from "./index-CNwly3rk.js";
5
5
  function ue(e) {
6
6
  if (typeof e == "string" || typeof e == "number") return "" + e;
7
7
  let t = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arudovwen/form-builder-react",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "A React-based form builder component library.",
5
5
  "type": "module",
6
6
  "main": "./dist/form-builder.umd.js",
@@ -13,6 +13,7 @@ interface FileUploadProps {
13
13
  value: string;
14
14
  label: string;
15
15
  }[];
16
+ maxFileSize?: number;
16
17
  }
17
- export default function FileUpload({ onFileLoaded, disabled, handleDeleteFile, multiple, list, accept, }: FileUploadProps): import("react/jsx-runtime").JSX.Element;
18
+ export default function FileUpload({ onFileLoaded, disabled, handleDeleteFile, multiple, list, accept, maxFileSize, }: FileUploadProps): import("react/jsx-runtime").JSX.Element;
18
19
  export {};
@@ -97,6 +97,7 @@ export interface ElementType {
97
97
  requireAllChecked?: boolean;
98
98
  isMultiple: boolean;
99
99
  acceptedFiles: any[];
100
+ maxFileSize?: number;
100
101
  showState?: boolean;
101
102
  formula?: string;
102
103
  fetchExternalResults?: boolean;