@dmitryvim/form-builder 0.5.0 → 0.5.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.
@@ -10,10 +10,6 @@ export interface RenderPillsOptions {
10
10
  maxCount?: number;
11
11
  isReadonly?: boolean;
12
12
  onLibraryPick?: (() => void) | null;
13
- element?: {
14
- maxSize?: number;
15
- accept?: unknown;
16
- };
17
13
  onClearAll?: () => void;
18
14
  openPicker?: () => void;
19
15
  }
@@ -36,10 +36,13 @@ export interface Translations {
36
36
  hintRequired: string;
37
37
  hintOptional: string;
38
38
  hintPattern: string;
39
- fileCountSingle: string;
40
- fileCountPlural: string;
41
- fileCountWithMax: string;
42
39
  fileCountRange: string;
40
+ /** @deprecated Unused since the multi-file meta line was reduced to a Clear-all button. Kept to avoid TS excess-property errors on existing translation overrides. Remove in a future major. */
41
+ fileCountSingle?: string;
42
+ /** @deprecated See {@link Translations.fileCountSingle}. */
43
+ fileCountPlural?: string;
44
+ /** @deprecated See {@link Translations.fileCountSingle}. */
45
+ fileCountWithMax?: string;
43
46
  uploadingFile: string;
44
47
  filesCounter: string;
45
48
  fromLibrary: string;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.5.0",
6
+ "version": "0.5.1",
7
7
  "description": "A reusable JSON schema form builder library",
8
8
  "main": "./dist/cjs/index.cjs",
9
9
  "module": "./dist/esm/index.js",