fluid-dnd 1.0.3-beta.0 → 1.0.4-beta.0

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,4 +1,9 @@
1
- import { DraggableElement } from "index";
1
+ export type DraggableElement = {
2
+ index: number;
3
+ draggableId: string;
4
+ } | {
5
+ index: number;
6
+ };
2
7
  export interface ListCondig<T> {
3
8
  removeAtEvent: (index: number) => T | undefined;
4
9
  insertEvent: (index: number, value: T) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluid-dnd",
3
- "version": "1.0.3-beta.0",
3
+ "version": "1.0.4-beta.0",
4
4
  "description": "An agnostic drag and drop library to sort all kind of lists. With current support for vue 3 and svelte",
5
5
  "type": "module",
6
6
  "homepage": "https://vue-fluid-dnd.netlify.app",