fluid-dnd 1.0.0-beta.0 → 1.0.2-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.
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  ![npm bundle size](https://img.shields.io/bundlephobia/minzip/vue-fluid-dnd)
9
9
  [![license](https://img.shields.io/github/license/carlosjorger/vue-fluid-dnd?label=license)](https://github.com/carlosjorger/vue-fluid-dnd/blob/main/LICENSE)
10
- [![version](https://img.shields.io/npm/v/vue-fluid-dnd)](https://www.npmjs.com/package/vue-fluid-dnd)
10
+ [![version](https://img.shields.io/npm/v/vue-fluid-dnd)](https://www.npmjs.com/package/fluid-dnd)
11
11
  ![GitHub issues](https://img.shields.io/github/issues/carlosjorger/vue-fluid-dnd)
12
12
  ![GitHub stars](https://img.shields.io/github/stars/carlosjorger/vue-fluid-dnd)
13
13
  [![twitter](https://img.shields.io/twitter/follow/carlosjorgerc)](https://twitter.com/carlosjorgerc)
@@ -15,8 +15,8 @@
15
15
 
16
16
  </div>
17
17
 
18
- Vue Fluid DnD is a [**fluid**, **smooth** and **versatil** drag and drop
19
- library for lists on Vue 3](https://vue-fluid-dnd.netlify.app/). It's a**lightweight** tool ~7 Kb (gzip) with no depenencies. This library is a **Vue Draggable Next** alternative if you looking for a better ui experience.
18
+ Fluid DnD is a [**fluid**, **agnostic** and **versatil** drag and drop
19
+ library for lists with support for Vue 3 and Svelte](https://vue-fluid-dnd.netlify.app/). It's a**lightweight** tool ~7 Kb (gzip) with no depenencies.
20
20
 
21
21
  <img src="https://github.com/user-attachments/assets/b350f9a4-7dd7-40ca-ae3f-ecca166a9081" width="100%"/>
22
22
 
@@ -0,0 +1,20 @@
1
+ var d = Object.defineProperty;
2
+ var e = (a, s, l) => s in a ? d(a, s, { enumerable: !0, configurable: !0, writable: !0, value: l }) : a[s] = l;
3
+ var r = (a, s, l) => e(a, typeof s != "symbol" ? s + "" : s, l);
4
+ import { a as h, t as n, G as t } from "./index-D1rUx9iZ.js";
5
+ class c {
6
+ constructor() {
7
+ r(this, "handlers");
8
+ this.handlers = [];
9
+ }
10
+ addSubscriber(s) {
11
+ this.handlers.includes(s) || (this.handlers.push(s), h(s, t));
12
+ }
13
+ toggleGrabClass(s) {
14
+ for (const l of this.handlers)
15
+ n(l, t, s);
16
+ }
17
+ }
18
+ export {
19
+ c as H
20
+ };
@@ -0,0 +1 @@
1
+ "use strict";var d=Object.defineProperty;var n=(e,s,l)=>s in e?d(e,s,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[s]=l;var a=(e,s,l)=>n(e,typeof s!="symbol"?s+"":s,l);const r=require("./index-GRcZUS5t.cjs");class h{constructor(){a(this,"handlers");this.handlers=[]}addSubscriber(s){this.handlers.includes(s)||(this.handlers.push(s),r.addClass(s,r.GRAB_CLASS))}toggleGrabClass(s){for(const l of this.handlers)r.toggleClass(l,r.GRAB_CLASS,s)}}exports.HandlerPublisher=h;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-GRcZUS5t.cjs");exports.dragAndDrop=e.dragAndDrop;
@@ -0,0 +1,4 @@
1
+ import { d as o } from "../index-D1rUx9iZ.js";
2
+ export {
3
+ o as dragAndDrop
4
+ };