@prosekit/basic 0.3.17 → 0.3.18

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.
Files changed (2) hide show
  1. package/dist/style.css +24 -0
  2. package/package.json +4 -4
package/dist/style.css CHANGED
@@ -202,4 +202,28 @@ img.ProseMirror-separator {
202
202
  background-color: #53e54b80;
203
203
  }
204
204
 
205
+ /* ../extensions/src/gap-cursor/style.css */
206
+ .ProseMirror-gapcursor {
207
+ display: none;
208
+ pointer-events: none;
209
+ position: relative;
210
+ }
211
+ .ProseMirror-gapcursor:after {
212
+ content: "";
213
+ display: block;
214
+ position: absolute;
215
+ top: -2px;
216
+ width: 20px;
217
+ border-top: 1px solid currentColor;
218
+ animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
219
+ }
220
+ @keyframes ProseMirror-cursor-blink {
221
+ to {
222
+ visibility: hidden;
223
+ }
224
+ }
225
+ .ProseMirror-focused .ProseMirror-gapcursor {
226
+ display: block;
227
+ }
228
+
205
229
  /* src/style.css */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prosekit/basic",
3
3
  "type": "module",
4
- "version": "0.3.17",
4
+ "version": "0.3.18",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -42,15 +42,15 @@
42
42
  ],
43
43
  "dependencies": {
44
44
  "@prosekit/core": "^0.7.5",
45
- "@prosekit/extensions": "^0.7.5",
45
+ "@prosekit/extensions": "^0.7.6",
46
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.2",
51
+ "tsup": "^8.2.2",
52
52
  "typescript": "^5.5.3",
53
- "vitest": "^2.0.3",
53
+ "vitest": "^2.0.4",
54
54
  "@prosekit/dev": "0.0.0"
55
55
  },
56
56
  "scripts": {