@prosekit/basic 0.3.15 → 0.3.17
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/_tsup-dts-rollup.d.ts +54 -2
- package/dist/style.css +2 -2
- package/package.json +6 -6
@@ -1,4 +1,5 @@
|
|
1
1
|
import { AddMarkOptions } from '@prosekit/core';
|
2
|
+
import { Attrs } from 'prosemirror-model';
|
2
3
|
import { DedentListOptions } from 'prosemirror-flat-list';
|
3
4
|
import { config as default_alias_2 } from '@prosekit/dev/config-vitest';
|
4
5
|
import { Extension } from '@prosekit/core';
|
@@ -13,6 +14,7 @@ import { RemoveMarkOptions } from '@prosekit/core';
|
|
13
14
|
import { RemoveNodeOptions } from '@prosekit/core';
|
14
15
|
import { SetBlockTypeOptions } from '@prosekit/core';
|
15
16
|
import { SetNodeAttrsOptions } from '@prosekit/core';
|
17
|
+
import { SimplifyDeeper } from '@prosekit/core';
|
16
18
|
import { ToggleCollapsedOptions } from 'prosemirror-flat-list';
|
17
19
|
import { UnsetBlockTypeOptions } from '@prosekit/core';
|
18
20
|
import { UnsetMarkOptions } from '@prosekit/core';
|
@@ -41,8 +43,58 @@ export { default_alias_2 }
|
|
41
43
|
* @public
|
42
44
|
*/
|
43
45
|
export declare function defineBasicExtension(): Extension< {
|
44
|
-
Nodes:
|
45
|
-
|
46
|
+
Nodes: SimplifyDeeper< {
|
47
|
+
paragraph: Attrs;
|
48
|
+
doc: Attrs;
|
49
|
+
text: Attrs;
|
50
|
+
blockquote: {
|
51
|
+
readonly [x: string]: any;
|
52
|
+
};
|
53
|
+
list: {
|
54
|
+
kind?: "bullet" | "ordered" | "task" | "toggle";
|
55
|
+
order?: number | null;
|
56
|
+
checked?: boolean;
|
57
|
+
collapsed?: boolean;
|
58
|
+
};
|
59
|
+
heading: {
|
60
|
+
level: number;
|
61
|
+
};
|
62
|
+
image: {
|
63
|
+
src: null;
|
64
|
+
};
|
65
|
+
table: {
|
66
|
+
readonly [x: string]: any;
|
67
|
+
};
|
68
|
+
tableRow: {
|
69
|
+
readonly [x: string]: any;
|
70
|
+
};
|
71
|
+
tableCell: {
|
72
|
+
[x: string]: any;
|
73
|
+
};
|
74
|
+
tableHeaderCell: {
|
75
|
+
[x: string]: any;
|
76
|
+
};
|
77
|
+
}>;
|
78
|
+
Marks: SimplifyDeeper< {
|
79
|
+
bold: {
|
80
|
+
readonly [x: string]: any;
|
81
|
+
};
|
82
|
+
code: {
|
83
|
+
readonly [x: string]: any;
|
84
|
+
};
|
85
|
+
italic: {
|
86
|
+
readonly [x: string]: any;
|
87
|
+
};
|
88
|
+
link: {
|
89
|
+
href: string;
|
90
|
+
};
|
91
|
+
strike: {
|
92
|
+
readonly [x: string]: any;
|
93
|
+
};
|
94
|
+
underline: {
|
95
|
+
readonly [x: string]: any;
|
96
|
+
};
|
97
|
+
}>;
|
46
98
|
Commands: {
|
47
99
|
insertText: [{
|
48
100
|
text: string;
|
package/dist/style.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* ../../node_modules/.pnpm/prosemirror-view@1.33.
|
1
|
+
/* ../../node_modules/.pnpm/prosemirror-view@1.33.9/node_modules/prosemirror-view/style/prosemirror.css */
|
2
2
|
.ProseMirror {
|
3
3
|
position: relative;
|
4
4
|
}
|
@@ -52,7 +52,7 @@ img.ProseMirror-separator {
|
|
52
52
|
|
53
53
|
/* ../pm/src/view/style/prosemirror.css */
|
54
54
|
|
55
|
-
/* ../../node_modules/.pnpm/prosemirror-flat-list@0.5.
|
55
|
+
/* ../../node_modules/.pnpm/prosemirror-flat-list@0.5.4/node_modules/prosemirror-flat-list/dist/style.css */
|
56
56
|
.prosemirror-flat-list {
|
57
57
|
padding: 0;
|
58
58
|
margin-top: 0;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prosekit/basic",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.3.
|
4
|
+
"version": "0.3.17",
|
5
5
|
"private": false,
|
6
6
|
"author": {
|
7
7
|
"name": "ocavue",
|
@@ -41,16 +41,16 @@
|
|
41
41
|
"dist"
|
42
42
|
],
|
43
43
|
"dependencies": {
|
44
|
-
"@prosekit/core": "^0.7.
|
45
|
-
"@prosekit/extensions": "^0.7.
|
46
|
-
"@prosekit/pm": "^0.1.
|
44
|
+
"@prosekit/core": "^0.7.5",
|
45
|
+
"@prosekit/extensions": "^0.7.5",
|
46
|
+
"@prosekit/pm": "^0.1.7"
|
47
47
|
},
|
48
48
|
"devDependencies": {
|
49
49
|
"postcss": "^8.4.39",
|
50
50
|
"postcss-nesting": "^12.1.5",
|
51
|
-
"tsup": "^8.1.
|
51
|
+
"tsup": "^8.1.2",
|
52
52
|
"typescript": "^5.5.3",
|
53
|
-
"vitest": "^2.0.
|
53
|
+
"vitest": "^2.0.3",
|
54
54
|
"@prosekit/dev": "0.0.0"
|
55
55
|
},
|
56
56
|
"scripts": {
|