From 65aec40836f0b27f5be367159ee74bf6e6014a8a Mon Sep 17 00:00:00 2001 From: Ira Hopkinson Date: Fri, 10 May 2024 01:04:20 +1200 Subject: [PATCH] update `platform-editor` (#888) - retain block format on enter key - no toolbar when read-only - update dependencies --- .../platform-scripture-editor/package.json | 2 +- package-lock.json | 73 +++++++++++-------- 2 files changed, 42 insertions(+), 33 deletions(-) diff --git a/extensions/src/platform-scripture-editor/package.json b/extensions/src/platform-scripture-editor/package.json index 5e0de93906..f5732bbeee 100644 --- a/extensions/src/platform-scripture-editor/package.json +++ b/extensions/src/platform-scripture-editor/package.json @@ -35,7 +35,7 @@ "platform-bible-utils": "file:../../../lib/platform-bible-utils" }, "devDependencies": { - "@biblionexus-foundation/platform-editor": "^0.2.0", + "@biblionexus-foundation/platform-editor": "^0.2.1", "@swc/core": "^1.4.11", "@types/node": "^20.12.2", "@types/react": "^18.2.73", diff --git a/package-lock.json b/package-lock.json index 55a13d644d..a7b4f317b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -480,7 +480,7 @@ "platform-bible-utils": "file:../../../lib/platform-bible-utils" }, "devDependencies": { - "@biblionexus-foundation/platform-editor": "^0.2.0", + "@biblionexus-foundation/platform-editor": "^0.2.1", "@swc/core": "^1.4.11", "@types/node": "^20.12.2", "@types/react": "^18.2.73", @@ -3192,21 +3192,21 @@ "dev": true }, "node_modules/@biblionexus-foundation/platform-editor": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@biblionexus-foundation/platform-editor/-/platform-editor-0.2.0.tgz", - "integrity": "sha512-Ir3+Dcx6oXm6T6DKq5sIqXhtSP5jrpF0v90LRV2r1zTJpBpx7PG8gBc2Hl2+482oOtEADZbpoNCtdEblYXFjXQ==", + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@biblionexus-foundation/platform-editor/-/platform-editor-0.2.1.tgz", + "integrity": "sha512-sB3XzlaHlP+F5oSqi+NSUV3NLcaNALWPJATOUZos9aX4Rt/rxhbw0XwAtbHeOCOyVEL5EypVp/cQvjdNVsEMcg==", "dev": true, "dependencies": { - "@lexical/mark": "^0.14.3", - "@lexical/react": "^0.14.3", - "@lexical/selection": "^0.14.3", - "@lexical/utils": "^0.14.3", + "@lexical/mark": "^0.14.5", + "@lexical/react": "^0.14.5", + "@lexical/selection": "^0.14.5", + "@lexical/utils": "^0.14.5", "fast-equals": "^5.0.1", - "lexical": "^0.14.3" + "lexical": "^0.14.5" }, "peerDependencies": { - "react": ">=18.2.0", - "react-dom": ">=18.2.0" + "react": ">=18.3.1", + "react-dom": ">=18.3.1" } }, "node_modules/@colors/colors": { @@ -25206,8 +25206,9 @@ "license": "MIT" }, "node_modules/react": { - "version": "18.2.0", - "license": "MIT", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", "dependencies": { "loose-envify": "^1.1.0" }, @@ -25277,14 +25278,15 @@ "dev": true }, "node_modules/react-dom": { - "version": "18.2.0", - "license": "MIT", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", "dependencies": { "loose-envify": "^1.1.0", - "scheduler": "^0.23.0" + "scheduler": "^0.23.2" }, "peerDependencies": { - "react": "^18.2.0" + "react": "^18.3.1" } }, "node_modules/react-element-to-jsx-string": { @@ -26446,8 +26448,9 @@ } }, "node_modules/scheduler": { - "version": "0.23.0", - "license": "MIT", + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", "dependencies": { "loose-envify": "^1.1.0" } @@ -32763,17 +32766,17 @@ "dev": true }, "@biblionexus-foundation/platform-editor": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@biblionexus-foundation/platform-editor/-/platform-editor-0.2.0.tgz", - "integrity": "sha512-Ir3+Dcx6oXm6T6DKq5sIqXhtSP5jrpF0v90LRV2r1zTJpBpx7PG8gBc2Hl2+482oOtEADZbpoNCtdEblYXFjXQ==", + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@biblionexus-foundation/platform-editor/-/platform-editor-0.2.1.tgz", + "integrity": "sha512-sB3XzlaHlP+F5oSqi+NSUV3NLcaNALWPJATOUZos9aX4Rt/rxhbw0XwAtbHeOCOyVEL5EypVp/cQvjdNVsEMcg==", "dev": true, "requires": { - "@lexical/mark": "^0.14.3", - "@lexical/react": "^0.14.3", - "@lexical/selection": "^0.14.3", - "@lexical/utils": "^0.14.3", + "@lexical/mark": "^0.14.5", + "@lexical/react": "^0.14.5", + "@lexical/selection": "^0.14.5", + "@lexical/utils": "^0.14.5", "fast-equals": "^5.0.1", - "lexical": "^0.14.3" + "lexical": "^0.14.5" } }, "@colors/colors": { @@ -46955,7 +46958,7 @@ "platform-scripture-editor": { "version": "file:extensions/src/platform-scripture-editor", "requires": { - "@biblionexus-foundation/platform-editor": "^0.2.0", + "@biblionexus-foundation/platform-editor": "^0.2.1", "@sillsdev/scripture": "^1.4.3", "@swc/core": "^1.4.11", "@types/node": "^20.12.2", @@ -48232,7 +48235,9 @@ } }, "react": { - "version": "18.2.0", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", "requires": { "loose-envify": "^1.1.0" } @@ -48286,10 +48291,12 @@ "requires": {} }, "react-dom": { - "version": "18.2.0", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", "requires": { "loose-envify": "^1.1.0", - "scheduler": "^0.23.0" + "scheduler": "^0.23.2" } }, "react-element-to-jsx-string": { @@ -49080,7 +49087,9 @@ } }, "scheduler": { - "version": "0.23.0", + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", "requires": { "loose-envify": "^1.1.0" }