@lvce-editor/virtual-dom-worker 1.16.0 → 1.18.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/dist/index.d.ts CHANGED
@@ -13,3 +13,10 @@ export const diff: (
13
13
  oldNodes: readonly VirtualDomNode[],
14
14
  newNodes: readonly VirtualDomNode[],
15
15
  ) => readonly Patch[]
16
+
17
+ export interface DomEventListener {
18
+ readonly name: string
19
+ readonly params: readonly string[]
20
+ readonly preventDefault?: boolean
21
+ readonly passive?: boolean
22
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/virtual-dom-worker",
3
- "version": "1.16.0",
3
+ "version": "1.18.0",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "keywords": [],
@@ -0,0 +1,6 @@
1
+ export interface DomEventListener {
2
+ readonly name: string
3
+ readonly params: readonly string[]
4
+ readonly preventDefault?: boolean
5
+ readonly passive?: boolean
6
+ }
@@ -1,3 +1,4 @@
1
+ export * from '../DomEventListener/DomEventListener.ts'
1
2
  export * from '../MergeClassNames/MergeClassNames.ts'
2
3
  export * from '../Text/Text.ts'
3
4
  export { diff } from '../VirtualDomDiff/VirtualDomDiff.ts'