prosekit 0.15.0 → 0.15.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/dist/basic/typography.css +13 -0
- package/package.json +21 -21
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
/* ../basic/src/typography.css */
|
|
2
|
+
:root {
|
|
3
|
+
--prosekit-node-selection-color: rgba(57, 136, 255, 0.2);
|
|
4
|
+
}
|
|
2
5
|
.ProseMirror {
|
|
3
6
|
display: flex;
|
|
4
7
|
flex-direction: column;
|
|
@@ -155,5 +158,15 @@
|
|
|
155
158
|
.ProseMirror div[data-node-view-root=true] {
|
|
156
159
|
display: contents;
|
|
157
160
|
}
|
|
161
|
+
.ProseMirror .ProseMirror-selectednode {
|
|
162
|
+
border-radius: 0.2rem;
|
|
163
|
+
outline-color: var(--prosekit-node-selection-color);
|
|
164
|
+
outline-style: solid;
|
|
165
|
+
outline-width: 0.3rem;
|
|
166
|
+
background-color: var(--prosekit-node-selection-color);
|
|
167
|
+
}
|
|
168
|
+
.ProseMirror.prosekit-dragging {
|
|
169
|
+
--prosekit-node-selection-color: transparent;
|
|
170
|
+
}
|
|
158
171
|
|
|
159
172
|
/* src/basic/typography.css */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prosekit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.15.
|
|
4
|
+
"version": "0.15.2",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "ProseKit: A toolkit for building rich text editors.",
|
|
7
7
|
"author": {
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"funding": "https://github.com/sponsors/ocavue",
|
|
13
|
-
"homepage": "https://github.com/
|
|
13
|
+
"homepage": "https://github.com/prosekit/prosekit#readme",
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "git+https://github.com/
|
|
16
|
+
"url": "git+https://github.com/prosekit/prosekit.git",
|
|
17
17
|
"directory": "packages/prosekit"
|
|
18
18
|
},
|
|
19
19
|
"bugs": {
|
|
20
|
-
"url": "https://github.com/
|
|
20
|
+
"url": "https://github.com/prosekit/prosekit/issues"
|
|
21
21
|
},
|
|
22
22
|
"keywords": [
|
|
23
23
|
"ProseMirror"
|
|
@@ -515,17 +515,17 @@
|
|
|
515
515
|
"dist"
|
|
516
516
|
],
|
|
517
517
|
"dependencies": {
|
|
518
|
-
"@prosekit/
|
|
518
|
+
"@prosekit/basic": "0.6.1",
|
|
519
519
|
"@prosekit/core": "0.8.3",
|
|
520
|
+
"@prosekit/extensions": "0.11.2",
|
|
520
521
|
"@prosekit/lit": "0.5.0",
|
|
521
|
-
"@prosekit/basic": "0.6.0",
|
|
522
|
-
"@prosekit/preact": "0.5.0",
|
|
523
522
|
"@prosekit/pm": "0.1.11",
|
|
524
|
-
"@prosekit/react": "0.6.0",
|
|
525
|
-
"@prosekit/solid": "0.5.0",
|
|
526
523
|
"@prosekit/svelte": "0.7.0",
|
|
527
524
|
"@prosekit/vue": "0.5.0",
|
|
528
|
-
"@prosekit/
|
|
525
|
+
"@prosekit/react": "0.6.0",
|
|
526
|
+
"@prosekit/solid": "0.5.0",
|
|
527
|
+
"@prosekit/web": "0.7.2",
|
|
528
|
+
"@prosekit/preact": "0.5.0"
|
|
529
529
|
},
|
|
530
530
|
"peerDependencies": {
|
|
531
531
|
"loro-crdt": ">= 0.16.7",
|
|
@@ -583,7 +583,7 @@
|
|
|
583
583
|
"react-dom": "^19.1.1",
|
|
584
584
|
"solid-js": "^1.9.7",
|
|
585
585
|
"svelte": "^5.37.2",
|
|
586
|
-
"tsdown": "^0.13.
|
|
586
|
+
"tsdown": "^0.13.2",
|
|
587
587
|
"tsup": "^8.5.0",
|
|
588
588
|
"typedoc": "^0.28.7",
|
|
589
589
|
"typedoc-plugin-external-package-links": "^0.1.0",
|
|
@@ -595,8 +595,8 @@
|
|
|
595
595
|
"y-prosemirror": "^1.3.7",
|
|
596
596
|
"yjs": "^13.6.27",
|
|
597
597
|
"@prosekit/config-tsdown": "0.0.0",
|
|
598
|
-
"@prosekit/
|
|
599
|
-
"@prosekit/
|
|
598
|
+
"@prosekit/config-vitest": "0.0.0",
|
|
599
|
+
"@prosekit/typedoc-plugin": "0.0.0"
|
|
600
600
|
},
|
|
601
601
|
"publishConfig": {
|
|
602
602
|
"dev": {}
|
|
@@ -667,66 +667,66 @@
|
|
|
667
667
|
"prosekit-lit": "./src/lit.gen.ts",
|
|
668
668
|
"prosekit-lit-autocomplete": "./src/lit/autocomplete.gen.ts",
|
|
669
669
|
"prosekit-lit-block-handle": "./src/lit/block-handle.gen.ts",
|
|
670
|
+
"prosekit-lit-drop-indicator": "./src/lit/drop-indicator.gen.ts",
|
|
670
671
|
"prosekit-lit-inline-popover": "./src/lit/inline-popover.gen.ts",
|
|
671
672
|
"prosekit-lit-popover": "./src/lit/popover.gen.ts",
|
|
672
673
|
"prosekit-lit-resizable": "./src/lit/resizable.gen.ts",
|
|
673
674
|
"prosekit-lit-table-handle": "./src/lit/table-handle.gen.ts",
|
|
674
675
|
"prosekit-lit-tooltip": "./src/lit/tooltip.gen.ts",
|
|
675
|
-
"prosekit-lit-drop-indicator": "./src/lit/drop-indicator.gen.ts",
|
|
676
676
|
"prosekit-preact": "./src/preact.gen.ts",
|
|
677
677
|
"prosekit-preact-autocomplete": "./src/preact/autocomplete.gen.ts",
|
|
678
678
|
"prosekit-preact-block-handle": "./src/preact/block-handle.gen.ts",
|
|
679
|
+
"prosekit-preact-drop-indicator": "./src/preact/drop-indicator.gen.ts",
|
|
679
680
|
"prosekit-preact-inline-popover": "./src/preact/inline-popover.gen.ts",
|
|
680
681
|
"prosekit-preact-popover": "./src/preact/popover.gen.ts",
|
|
681
682
|
"prosekit-preact-resizable": "./src/preact/resizable.gen.ts",
|
|
682
683
|
"prosekit-preact-table-handle": "./src/preact/table-handle.gen.ts",
|
|
683
684
|
"prosekit-preact-tooltip": "./src/preact/tooltip.gen.ts",
|
|
684
|
-
"prosekit-preact-drop-indicator": "./src/preact/drop-indicator.gen.ts",
|
|
685
685
|
"prosekit-react": "./src/react.gen.ts",
|
|
686
686
|
"prosekit-react-autocomplete": "./src/react/autocomplete.gen.ts",
|
|
687
687
|
"prosekit-react-block-handle": "./src/react/block-handle.gen.ts",
|
|
688
|
+
"prosekit-react-drop-indicator": "./src/react/drop-indicator.gen.ts",
|
|
688
689
|
"prosekit-react-inline-popover": "./src/react/inline-popover.gen.ts",
|
|
689
690
|
"prosekit-react-popover": "./src/react/popover.gen.ts",
|
|
690
691
|
"prosekit-react-resizable": "./src/react/resizable.gen.ts",
|
|
691
692
|
"prosekit-react-table-handle": "./src/react/table-handle.gen.ts",
|
|
692
693
|
"prosekit-react-tooltip": "./src/react/tooltip.gen.ts",
|
|
693
|
-
"prosekit-react-drop-indicator": "./src/react/drop-indicator.gen.ts",
|
|
694
694
|
"prosekit-solid": "./src/solid.gen.ts",
|
|
695
695
|
"prosekit-solid-autocomplete": "./src/solid/autocomplete.gen.ts",
|
|
696
696
|
"prosekit-solid-block-handle": "./src/solid/block-handle.gen.ts",
|
|
697
|
+
"prosekit-solid-drop-indicator": "./src/solid/drop-indicator.gen.ts",
|
|
697
698
|
"prosekit-solid-inline-popover": "./src/solid/inline-popover.gen.ts",
|
|
698
699
|
"prosekit-solid-popover": "./src/solid/popover.gen.ts",
|
|
699
700
|
"prosekit-solid-resizable": "./src/solid/resizable.gen.ts",
|
|
700
701
|
"prosekit-solid-table-handle": "./src/solid/table-handle.gen.ts",
|
|
701
702
|
"prosekit-solid-tooltip": "./src/solid/tooltip.gen.ts",
|
|
702
|
-
"prosekit-solid-drop-indicator": "./src/solid/drop-indicator.gen.ts",
|
|
703
703
|
"prosekit-svelte": "./src/svelte.gen.ts",
|
|
704
704
|
"prosekit-svelte-autocomplete": "./src/svelte/autocomplete.gen.ts",
|
|
705
705
|
"prosekit-svelte-block-handle": "./src/svelte/block-handle.gen.ts",
|
|
706
|
+
"prosekit-svelte-drop-indicator": "./src/svelte/drop-indicator.gen.ts",
|
|
706
707
|
"prosekit-svelte-inline-popover": "./src/svelte/inline-popover.gen.ts",
|
|
707
708
|
"prosekit-svelte-popover": "./src/svelte/popover.gen.ts",
|
|
708
709
|
"prosekit-svelte-resizable": "./src/svelte/resizable.gen.ts",
|
|
709
710
|
"prosekit-svelte-table-handle": "./src/svelte/table-handle.gen.ts",
|
|
710
711
|
"prosekit-svelte-tooltip": "./src/svelte/tooltip.gen.ts",
|
|
711
|
-
"prosekit-svelte-drop-indicator": "./src/svelte/drop-indicator.gen.ts",
|
|
712
712
|
"prosekit-vue": "./src/vue.gen.ts",
|
|
713
713
|
"prosekit-vue-autocomplete": "./src/vue/autocomplete.gen.ts",
|
|
714
714
|
"prosekit-vue-block-handle": "./src/vue/block-handle.gen.ts",
|
|
715
|
+
"prosekit-vue-drop-indicator": "./src/vue/drop-indicator.gen.ts",
|
|
715
716
|
"prosekit-vue-inline-popover": "./src/vue/inline-popover.gen.ts",
|
|
716
717
|
"prosekit-vue-popover": "./src/vue/popover.gen.ts",
|
|
717
718
|
"prosekit-vue-resizable": "./src/vue/resizable.gen.ts",
|
|
718
719
|
"prosekit-vue-table-handle": "./src/vue/table-handle.gen.ts",
|
|
719
720
|
"prosekit-vue-tooltip": "./src/vue/tooltip.gen.ts",
|
|
720
|
-
"prosekit-vue-drop-indicator": "./src/vue/drop-indicator.gen.ts",
|
|
721
721
|
"prosekit-web": "./src/web.ts",
|
|
722
722
|
"prosekit-web-autocomplete": "./src/web/autocomplete.gen.ts",
|
|
723
723
|
"prosekit-web-block-handle": "./src/web/block-handle.gen.ts",
|
|
724
|
+
"prosekit-web-drop-indicator": "./src/web/drop-indicator.gen.ts",
|
|
724
725
|
"prosekit-web-inline-popover": "./src/web/inline-popover.gen.ts",
|
|
725
726
|
"prosekit-web-popover": "./src/web/popover.gen.ts",
|
|
726
727
|
"prosekit-web-resizable": "./src/web/resizable.gen.ts",
|
|
727
728
|
"prosekit-web-table-handle": "./src/web/table-handle.gen.ts",
|
|
728
|
-
"prosekit-web-tooltip": "./src/web/tooltip.gen.ts"
|
|
729
|
-
"prosekit-web-drop-indicator": "./src/web/drop-indicator.gen.ts"
|
|
729
|
+
"prosekit-web-tooltip": "./src/web/tooltip.gen.ts"
|
|
730
730
|
}
|
|
731
731
|
},
|
|
732
732
|
"scripts": {
|