@blocknote/xl-multi-column 0.50.0 → 0.51.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/dist/webpack-stats.json +1 -1
- package/package.json +3 -3
- package/src/test/commands/__snapshots__/backspace.test.ts.snap +0 -66
- package/src/test/commands/__snapshots__/insertBlocks.test.ts.snap +0 -44
- package/src/test/commands/__snapshots__/moveBlocks.test.ts.snap +1949 -87
- package/src/test/commands/__snapshots__/removeBlocks.test.ts.snap +0 -110
- package/src/test/commands/__snapshots__/replaceBlocks.test.ts.snap +0 -33
- package/src/test/commands/__snapshots__/updateBlock.test.ts.snap +0 -44
- package/src/test/commands/moveBlocks.test.ts +96 -0
- package/src/test/setupTestEnv.ts +0 -4
package/dist/webpack-stats.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"builtAt":
|
|
1
|
+
{"builtAt":1778742588722,"assets":[{"name":"blocknote-xl-multi-column.cjs","size":13678},{"name":"blocknote-xl-multi-column.cjs.map","size":51391}],"chunks":[{"id":"a1ee98a","entry":true,"initial":true,"files":["blocknote-xl-multi-column.cjs"],"names":["blocknote-xl-multi-column"]}],"modules":[{"name":"./rolldown/runtime.js","size":348,"chunks":["a1ee98a"]},{"name":"./src/i18n/locales/ar.ts","size":387,"chunks":["a1ee98a"]},{"name":"./src/i18n/locales/de.ts","size":423,"chunks":["a1ee98a"]},{"name":"./src/i18n/locales/en.ts","size":401,"chunks":["a1ee98a"]},{"name":"./src/i18n/locales/es.ts","size":415,"chunks":["a1ee98a"]},{"name":"./src/i18n/locales/fr.ts","size":421,"chunks":["a1ee98a"]},{"name":"./src/i18n/locales/hr.ts","size":419,"chunks":["a1ee98a"]},{"name":"./src/i18n/locales/is.ts","size":399,"chunks":["a1ee98a"]},{"name":"./src/i18n/locales/ja.ts","size":307,"chunks":["a1ee98a"]},{"name":"./src/i18n/locales/ko.ts","size":311,"chunks":["a1ee98a"]},{"name":"./src/i18n/locales/nl.ts","size":413,"chunks":["a1ee98a"]},{"name":"./src/i18n/locales/pl.ts","size":417,"chunks":["a1ee98a"]},{"name":"./src/i18n/locales/pt.ts","size":411,"chunks":["a1ee98a"]},{"name":"./src/i18n/locales/ru.ts","size":393,"chunks":["a1ee98a"]},{"name":"./src/i18n/locales/vi.ts","size":363,"chunks":["a1ee98a"]},{"name":"./src/i18n/locales/zh.ts","size":297,"chunks":["a1ee98a"]},{"name":"./src/i18n/locales/index.ts","size":329,"chunks":["a1ee98a"]},{"name":"./src/i18n/dictionary.ts","size":224,"chunks":["a1ee98a"]},{"name":"./src/extensions/DropCursor/multiColumnDropCursor.ts","size":1654,"chunks":["a1ee98a"]},{"name":"./src/extensions/DropCursor/multiColumnHandleDropPlugin.ts","size":2614,"chunks":["a1ee98a"]},{"name":"./src/extensions/ColumnResize/ColumnResizeExtension.ts","size":7027,"chunks":["a1ee98a"]},{"name":"./src/pm-nodes/Column.ts","size":1329,"chunks":["a1ee98a"]},{"name":"./src/pm-nodes/ColumnList.ts","size":902,"chunks":["a1ee98a"]},{"name":"./src/blocks/Columns/index.ts","size":379,"chunks":["a1ee98a"]},{"name":"./src/blocks/schema.ts","size":317,"chunks":["a1ee98a"]},{"name":"./src/extensions/SuggestionMenu/getMultiColumnSlashMenuItems.tsx","size":1540,"chunks":["a1ee98a"]},{"name":"./src/index.ts","size":0,"chunks":["a1ee98a"]}]}
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"directory": "packages/xl-multi-column"
|
|
10
10
|
},
|
|
11
11
|
"license": "GPL-3.0 OR PROPRIETARY",
|
|
12
|
-
"version": "0.
|
|
12
|
+
"version": "0.51.0",
|
|
13
13
|
"files": [
|
|
14
14
|
"dist",
|
|
15
15
|
"types",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@blocknote/core": "0.
|
|
46
|
-
"@blocknote/react": "0.
|
|
45
|
+
"@blocknote/core": "0.51.0",
|
|
46
|
+
"@blocknote/react": "0.51.0",
|
|
47
47
|
"@tiptap/core": "^3.13.0",
|
|
48
48
|
"prosemirror-model": "^1.25.4",
|
|
49
49
|
"prosemirror-state": "^1.4.4",
|
|
@@ -108,17 +108,6 @@ exports[`Backspace with multi-column > backspace at block start should move bloc
|
|
|
108
108
|
"props": {},
|
|
109
109
|
"type": "columnList",
|
|
110
110
|
},
|
|
111
|
-
{
|
|
112
|
-
"children": [],
|
|
113
|
-
"content": [],
|
|
114
|
-
"id": "4",
|
|
115
|
-
"props": {
|
|
116
|
-
"backgroundColor": "default",
|
|
117
|
-
"textAlignment": "left",
|
|
118
|
-
"textColor": "default",
|
|
119
|
-
},
|
|
120
|
-
"type": "paragraph",
|
|
121
|
-
},
|
|
122
111
|
]
|
|
123
112
|
`;
|
|
124
113
|
|
|
@@ -230,17 +219,6 @@ exports[`Backspace with multi-column > mid-text backspace next to columnList sho
|
|
|
230
219
|
},
|
|
231
220
|
"type": "paragraph",
|
|
232
221
|
},
|
|
233
|
-
{
|
|
234
|
-
"children": [],
|
|
235
|
-
"content": [],
|
|
236
|
-
"id": "4",
|
|
237
|
-
"props": {
|
|
238
|
-
"backgroundColor": "default",
|
|
239
|
-
"textAlignment": "left",
|
|
240
|
-
"textColor": "default",
|
|
241
|
-
},
|
|
242
|
-
"type": "paragraph",
|
|
243
|
-
},
|
|
244
222
|
]
|
|
245
223
|
`;
|
|
246
224
|
|
|
@@ -335,17 +313,6 @@ exports[`Backspace with multi-column > second backspace should merge into previo
|
|
|
335
313
|
"props": {},
|
|
336
314
|
"type": "columnList",
|
|
337
315
|
},
|
|
338
|
-
{
|
|
339
|
-
"children": [],
|
|
340
|
-
"content": [],
|
|
341
|
-
"id": "4",
|
|
342
|
-
"props": {
|
|
343
|
-
"backgroundColor": "default",
|
|
344
|
-
"textAlignment": "left",
|
|
345
|
-
"textColor": "default",
|
|
346
|
-
},
|
|
347
|
-
"type": "paragraph",
|
|
348
|
-
},
|
|
349
316
|
]
|
|
350
317
|
`;
|
|
351
318
|
|
|
@@ -447,17 +414,6 @@ exports[`Delete with multi-column > delete at block end should move first column
|
|
|
447
414
|
"props": {},
|
|
448
415
|
"type": "columnList",
|
|
449
416
|
},
|
|
450
|
-
{
|
|
451
|
-
"children": [],
|
|
452
|
-
"content": [],
|
|
453
|
-
"id": "4",
|
|
454
|
-
"props": {
|
|
455
|
-
"backgroundColor": "default",
|
|
456
|
-
"textAlignment": "left",
|
|
457
|
-
"textColor": "default",
|
|
458
|
-
},
|
|
459
|
-
"type": "paragraph",
|
|
460
|
-
},
|
|
461
417
|
]
|
|
462
418
|
`;
|
|
463
419
|
|
|
@@ -569,17 +525,6 @@ exports[`Delete with multi-column > mid-text delete next to columnList should no
|
|
|
569
525
|
"props": {},
|
|
570
526
|
"type": "columnList",
|
|
571
527
|
},
|
|
572
|
-
{
|
|
573
|
-
"children": [],
|
|
574
|
-
"content": [],
|
|
575
|
-
"id": "4",
|
|
576
|
-
"props": {
|
|
577
|
-
"backgroundColor": "default",
|
|
578
|
-
"textAlignment": "left",
|
|
579
|
-
"textColor": "default",
|
|
580
|
-
},
|
|
581
|
-
"type": "paragraph",
|
|
582
|
-
},
|
|
583
528
|
]
|
|
584
529
|
`;
|
|
585
530
|
|
|
@@ -681,16 +626,5 @@ exports[`Delete with multi-column > second delete should merge first column bloc
|
|
|
681
626
|
"props": {},
|
|
682
627
|
"type": "columnList",
|
|
683
628
|
},
|
|
684
|
-
{
|
|
685
|
-
"children": [],
|
|
686
|
-
"content": [],
|
|
687
|
-
"id": "4",
|
|
688
|
-
"props": {
|
|
689
|
-
"backgroundColor": "default",
|
|
690
|
-
"textAlignment": "left",
|
|
691
|
-
"textColor": "default",
|
|
692
|
-
},
|
|
693
|
-
"type": "paragraph",
|
|
694
|
-
},
|
|
695
629
|
]
|
|
696
630
|
`;
|
|
@@ -229,17 +229,6 @@ exports[`Test insertBlocks > Insert column list into paragraph 1`] = `
|
|
|
229
229
|
},
|
|
230
230
|
"type": "paragraph",
|
|
231
231
|
},
|
|
232
|
-
{
|
|
233
|
-
"children": [],
|
|
234
|
-
"content": [],
|
|
235
|
-
"id": "trailing-paragraph",
|
|
236
|
-
"props": {
|
|
237
|
-
"backgroundColor": "default",
|
|
238
|
-
"textAlignment": "left",
|
|
239
|
-
"textColor": "default",
|
|
240
|
-
},
|
|
241
|
-
"type": "paragraph",
|
|
242
|
-
},
|
|
243
232
|
]
|
|
244
233
|
`;
|
|
245
234
|
|
|
@@ -437,17 +426,6 @@ exports[`Test insertBlocks > Insert column with paragraph into column list 1`] =
|
|
|
437
426
|
},
|
|
438
427
|
"type": "paragraph",
|
|
439
428
|
},
|
|
440
|
-
{
|
|
441
|
-
"children": [],
|
|
442
|
-
"content": [],
|
|
443
|
-
"id": "trailing-paragraph",
|
|
444
|
-
"props": {
|
|
445
|
-
"backgroundColor": "default",
|
|
446
|
-
"textAlignment": "left",
|
|
447
|
-
"textColor": "default",
|
|
448
|
-
},
|
|
449
|
-
"type": "paragraph",
|
|
450
|
-
},
|
|
451
429
|
]
|
|
452
430
|
`;
|
|
453
431
|
|
|
@@ -635,17 +613,6 @@ exports[`Test insertBlocks > Insert paragraph into column 1`] = `
|
|
|
635
613
|
},
|
|
636
614
|
"type": "paragraph",
|
|
637
615
|
},
|
|
638
|
-
{
|
|
639
|
-
"children": [],
|
|
640
|
-
"content": [],
|
|
641
|
-
"id": "trailing-paragraph",
|
|
642
|
-
"props": {
|
|
643
|
-
"backgroundColor": "default",
|
|
644
|
-
"textAlignment": "left",
|
|
645
|
-
"textColor": "default",
|
|
646
|
-
},
|
|
647
|
-
"type": "paragraph",
|
|
648
|
-
},
|
|
649
616
|
]
|
|
650
617
|
`;
|
|
651
618
|
|
|
@@ -878,16 +845,5 @@ exports[`Test insertBlocks > Insert valid column list with two columns 1`] = `
|
|
|
878
845
|
},
|
|
879
846
|
"type": "paragraph",
|
|
880
847
|
},
|
|
881
|
-
{
|
|
882
|
-
"children": [],
|
|
883
|
-
"content": [],
|
|
884
|
-
"id": "trailing-paragraph",
|
|
885
|
-
"props": {
|
|
886
|
-
"backgroundColor": "default",
|
|
887
|
-
"textAlignment": "left",
|
|
888
|
-
"textColor": "default",
|
|
889
|
-
},
|
|
890
|
-
"type": "paragraph",
|
|
891
|
-
},
|
|
892
848
|
]
|
|
893
849
|
`;
|