@dmitryvim/form-builder 0.2.28 → 0.2.29

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.
@@ -40,5 +40,7 @@ export declare function ensureTilesWrap(list: HTMLElement): HTMLElement;
40
40
  export declare function setEmptyFileContainer(fileContainer: HTMLElement, state: State, hint?: string): void;
41
41
  /**
42
42
  * Set up drag-and-drop on an element, calling dropHandler with the dropped FileList.
43
+ * Idempotent: if called again on the same element, the previous listener triple
44
+ * is removed first so handlers never stack.
43
45
  */
44
46
  export declare function setupDragAndDrop(element: HTMLElement, dropHandler: (files: FileList) => void): void;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.2.28",
6
+ "version": "0.2.29",
7
7
  "description": "A reusable JSON schema form builder library",
8
8
  "main": "./dist/cjs/index.cjs",
9
9
  "module": "./dist/esm/index.js",