@bigbinary/neeto-editor 1.3.0 → 1.4.1
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/CHANGELOG.md +10 -1
- package/index.js +11 -11
- package/package.json +3 -5
- package/{index.d.ts → types.d.ts} +7 -1
- package/formik.d.ts +0 -9
- package/formik.js +0 -78
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-editor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"module": "./index.js",
|
|
6
|
-
"types": "./
|
|
6
|
+
"types": "./types.d.ts",
|
|
7
7
|
"description": "neetoEditor is the library that drives the rich text experience in all neeto products built at BigBinary",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"ui",
|
|
@@ -13,9 +13,7 @@
|
|
|
13
13
|
],
|
|
14
14
|
"files": [
|
|
15
15
|
"index.js",
|
|
16
|
-
"
|
|
17
|
-
"index.d.ts",
|
|
18
|
-
"formik.d.ts"
|
|
16
|
+
"types.d.ts"
|
|
19
17
|
],
|
|
20
18
|
"author": "BigBinary",
|
|
21
19
|
"license": "MIT",
|
|
@@ -75,7 +75,7 @@ interface MenuProps {
|
|
|
75
75
|
className?: string;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
interface EditorProps {
|
|
79
79
|
initialValue?: string;
|
|
80
80
|
menuType?: "fixed" | "bubble" | "none";
|
|
81
81
|
label?: string;
|
|
@@ -107,8 +107,14 @@ export interface EditorProps {
|
|
|
107
107
|
[otherProps: string]: any;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
interface FormikEditorProps extends EditorProps {
|
|
111
|
+
name: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
110
114
|
export function Editor(props: EditorProps): JSX.Element;
|
|
111
115
|
|
|
116
|
+
export function FormikEditor(props: FormikEditorProps): JSX.Element;
|
|
117
|
+
|
|
112
118
|
export function EditorContent(props: {
|
|
113
119
|
content?: string;
|
|
114
120
|
className?: string;
|