@react-fabric/lexical 1.0.0-beta.49 → 1.0.0-beta.51
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.
|
@@ -31,7 +31,7 @@ var LexicalEditor = function LexicalEditor(_ref) {
|
|
|
31
31
|
publishMode = _ref.publishMode,
|
|
32
32
|
onChange = _ref.onChange,
|
|
33
33
|
onDirty = _ref.onDirty;
|
|
34
|
-
var editorRef = react.useRef();
|
|
34
|
+
var editorRef = react.useRef(null);
|
|
35
35
|
var _useState = react.useState(null),
|
|
36
36
|
_useState2 = _slicedToArray(_useState, 2),
|
|
37
37
|
editorContainer = _useState2[0],
|
|
@@ -31,7 +31,7 @@ var LexicalEditor = function LexicalEditor(_ref) {
|
|
|
31
31
|
publishMode = _ref.publishMode,
|
|
32
32
|
onChange = _ref.onChange,
|
|
33
33
|
onDirty = _ref.onDirty;
|
|
34
|
-
var editorRef = useRef();
|
|
34
|
+
var editorRef = useRef(null);
|
|
35
35
|
var _useState = useState(null),
|
|
36
36
|
_useState2 = _slicedToArray(_useState, 2),
|
|
37
37
|
editorContainer = _useState2[0],
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DecoratorNode, type DOMConversionMap, type DOMExportOutput, type EditorConfig, type LexicalEditor, type LexicalNode, type NodeKey, type SerializedLexicalNode, type Spread } from "lexical";
|
|
3
2
|
type StickyNoteColor = "pink" | "yellow" | "green" | "blue";
|
|
4
3
|
interface StickyNodeType {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-fabric/lexical",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.51",
|
|
4
4
|
"description": "RUF: Lexical editor",
|
|
5
5
|
"author": "Adarsh Pastakia <adarshpastakia@outlook.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,21 +36,21 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@lexical/react": "^0.27.1",
|
|
39
|
-
"@react-fabric/core": "^1.0.0-beta.
|
|
40
|
-
"@react-fabric/form": "^1.0.0-beta.
|
|
41
|
-
"@react-fabric/utilities": "^1.0.0-beta.
|
|
39
|
+
"@react-fabric/core": "^1.0.0-beta.51",
|
|
40
|
+
"@react-fabric/form": "^1.0.0-beta.51",
|
|
41
|
+
"@react-fabric/utilities": "^1.0.0-beta.50",
|
|
42
42
|
"classnames": "^2.5.1",
|
|
43
43
|
"lexical": "^0.27.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"i18next": "^
|
|
46
|
+
"i18next": "^25.2.1",
|
|
47
47
|
"react": "^19.0.0",
|
|
48
48
|
"react-dom": "^19.0.0",
|
|
49
|
-
"react-i18next": "^15.
|
|
49
|
+
"react-i18next": "^15.5.2"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=18.12.0",
|
|
53
53
|
"npm": ">=8.19.0"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "a1b04de4663045f82992bff2aef8db26608eac74"
|
|
56
56
|
}
|