@lexical/table 0.42.1-nightly.20260408.0 → 0.43.0
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.js.flow +4 -4
- package/package.json +5 -5
package/LexicalTable.js.flow
CHANGED
|
@@ -395,7 +395,7 @@ declare export class TableSelection implements BaseSelection {
|
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
declare export function $isTableSelection(
|
|
398
|
-
x: ?
|
|
398
|
+
x: ?unknown,
|
|
399
399
|
): x is TableSelection;
|
|
400
400
|
|
|
401
401
|
declare export function $createTableSelection(): TableSelection;
|
|
@@ -411,13 +411,13 @@ declare export function $createTableSelectionFrom(
|
|
|
411
411
|
*/
|
|
412
412
|
|
|
413
413
|
export type InsertTableCommandPayloadHeaders =
|
|
414
|
-
|
|
|
414
|
+
| Readonly<{
|
|
415
415
|
rows: boolean;
|
|
416
416
|
columns: boolean;
|
|
417
417
|
}>
|
|
418
418
|
| boolean;
|
|
419
419
|
|
|
420
|
-
export type InsertTableCommandPayload =
|
|
420
|
+
export type InsertTableCommandPayload = Readonly<{
|
|
421
421
|
columns: string;
|
|
422
422
|
rows: string;
|
|
423
423
|
includeHeaders?: InsertTableCommandPayloadHeaders;
|
|
@@ -448,7 +448,7 @@ export type SerializedTableCellNode = {
|
|
|
448
448
|
};
|
|
449
449
|
export type SerializedTableNode = {
|
|
450
450
|
...SerializedElementNode,
|
|
451
|
-
colWidths?:
|
|
451
|
+
colWidths?: ReadonlyArray<number>;
|
|
452
452
|
rowStriping?: boolean;
|
|
453
453
|
frozenColumnCount?: number;
|
|
454
454
|
frozenRowCount?: number;
|
package/package.json
CHANGED
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
"table"
|
|
9
9
|
],
|
|
10
10
|
"license": "MIT",
|
|
11
|
-
"version": "0.
|
|
11
|
+
"version": "0.43.0",
|
|
12
12
|
"main": "LexicalTable.js",
|
|
13
13
|
"types": "index.d.ts",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@lexical/clipboard": "0.
|
|
16
|
-
"@lexical/extension": "0.
|
|
17
|
-
"@lexical/utils": "0.
|
|
18
|
-
"lexical": "0.
|
|
15
|
+
"@lexical/clipboard": "0.43.0",
|
|
16
|
+
"@lexical/extension": "0.43.0",
|
|
17
|
+
"@lexical/utils": "0.43.0",
|
|
18
|
+
"lexical": "0.43.0"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|