@lexical/table 0.7.1 → 0.7.2
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/LexicalTable.dev.js +1 -11
- package/package.json +3 -3
package/LexicalTable.dev.js
CHANGED
@@ -306,17 +306,7 @@ const CAN_USE_DOM = typeof window !== 'undefined' && typeof window.document !==
|
|
306
306
|
*
|
307
307
|
*/
|
308
308
|
|
309
|
-
const
|
310
|
-
|
311
|
-
var getDOMSelection = getSelection;
|
312
|
-
|
313
|
-
/**
|
314
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
315
|
-
*
|
316
|
-
* This source code is licensed under the MIT license found in the
|
317
|
-
* LICENSE file in the root directory of this source tree.
|
318
|
-
*
|
319
|
-
*/
|
309
|
+
const getDOMSelection = () => CAN_USE_DOM ? window.getSelection() : null;
|
320
310
|
|
321
311
|
if (CAN_USE_DOM) {
|
322
312
|
const disableNativeSelectionUi = document.createElement('style');
|
package/package.json
CHANGED
@@ -8,13 +8,13 @@
|
|
8
8
|
"table"
|
9
9
|
],
|
10
10
|
"license": "MIT",
|
11
|
-
"version": "0.7.
|
11
|
+
"version": "0.7.2",
|
12
12
|
"main": "LexicalTable.js",
|
13
13
|
"peerDependencies": {
|
14
|
-
"lexical": "0.7.
|
14
|
+
"lexical": "0.7.2"
|
15
15
|
},
|
16
16
|
"dependencies": {
|
17
|
-
"@lexical/utils": "0.7.
|
17
|
+
"@lexical/utils": "0.7.2"
|
18
18
|
},
|
19
19
|
"repository": {
|
20
20
|
"type": "git",
|