@windoc/react 0.3.4 → 0.3.6

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.mts CHANGED
@@ -169,7 +169,12 @@ type EditorInstance = {
169
169
  on: (event: string, callback: (...args: unknown[]) => void) => void;
170
170
  [key: string]: unknown;
171
171
  };
172
- override: object;
172
+ override: {
173
+ drop?: ((evt: DragEvent) => unknown) | undefined;
174
+ paste?: ((evt?: ClipboardEvent) => unknown) | undefined;
175
+ copy?: (() => unknown) | undefined;
176
+ [key: string]: unknown;
177
+ };
173
178
  version: string;
174
179
  destroy: () => void;
175
180
  use: (plugin: object) => void;
package/dist/index.d.ts CHANGED
@@ -169,7 +169,12 @@ type EditorInstance = {
169
169
  on: (event: string, callback: (...args: unknown[]) => void) => void;
170
170
  [key: string]: unknown;
171
171
  };
172
- override: object;
172
+ override: {
173
+ drop?: ((evt: DragEvent) => unknown) | undefined;
174
+ paste?: ((evt?: ClipboardEvent) => unknown) | undefined;
175
+ copy?: (() => unknown) | undefined;
176
+ [key: string]: unknown;
177
+ };
173
178
  version: string;
174
179
  destroy: () => void;
175
180
  use: (plugin: object) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windoc/react",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "description": "React bindings for windoc editor",
5
5
  "homepage": "https://aliansyahfirdaus.github.io/windoc/",
6
6
  "repository": {
@@ -50,7 +50,7 @@
50
50
  "react-dom": ">=18"
51
51
  },
52
52
  "dependencies": {
53
- "@windoc/core": "^0.3.4"
53
+ "@windoc/core": "^0.3.6"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/react": "^19",