jodit-pro-react 1.3.57 → 1.3.59

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.
Files changed (2) hide show
  1. package/index.d.ts +7 -1
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -1,12 +1,18 @@
1
1
  import { Jodit } from 'jodit/types/jodit';
2
2
  import * as React from 'react';
3
3
 
4
+ type DeepPartial<T> = T extends object
5
+ ? {
6
+ [P in keyof T]?: DeepPartial<T[P]>;
7
+ }
8
+ : T;
9
+
4
10
  export interface IJoditEditorProps {
5
11
  value: string;
6
12
 
7
13
  className?: string;
8
14
 
9
- config?: Partial<Jodit['options']>;
15
+ config?: DeepPartial<Jodit['options']>;
10
16
  // eslint-disable-next-line no-unused-vars
11
17
  onChange?: (newValue: string) => void;
12
18
  // eslint-disable-next-line no-unused-vars
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jodit-pro-react",
3
- "version": "1.3.57",
3
+ "version": "1.3.59",
4
4
  "description": "Jodit PRO is awesome and usefully wysiwyg editor with filebrowser",
5
5
  "main": "jodit-react.js",
6
6
  "author": "Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/pro/)",
@@ -27,7 +27,7 @@
27
27
  "css-loader": "^6.7.1",
28
28
  "jodit": "^3.23.3",
29
29
  "jodit-pro": "^1.3.33",
30
- "jodit-react": "^1.3.31",
30
+ "jodit-react": "^1.3.34",
31
31
  "style-loader": "^3.3.1",
32
32
  "webpack": "^5.74.0",
33
33
  "webpack-cli": "^4.10.0"