@prosekit/basic 0.3.21 → 0.3.23

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.
@@ -35,7 +35,7 @@ import {
35
35
  defineVirtualSelection
36
36
  } from "@prosekit/extensions/virtual-selection";
37
37
  function defineBasicExtension() {
38
- return union([
38
+ return union(
39
39
  defineDoc(),
40
40
  defineText(),
41
41
  defineHeading(),
@@ -56,7 +56,7 @@ function defineBasicExtension() {
56
56
  defineVirtualSelection(),
57
57
  defineModClickPrevention(),
58
58
  defineTable()
59
- ]);
59
+ );
60
60
  }
61
61
  export {
62
62
  defineBasicExtension
package/dist/style.css CHANGED
@@ -1,4 +1,4 @@
1
- /* ../../node_modules/.pnpm/prosemirror-view@1.33.9/node_modules/prosemirror-view/style/prosemirror.css */
1
+ /* ../../node_modules/.pnpm/prosemirror-view@1.33.10/node_modules/prosemirror-view/style/prosemirror.css */
2
2
  .ProseMirror {
3
3
  position: relative;
4
4
  }
@@ -105,32 +105,32 @@ div.ProseMirror hr {
105
105
  div.ProseMirror .prosemirror-flat-list {
106
106
  line-height: 1.5;
107
107
  }
108
- div.ProseMirror .prosemirror-flat-list::before,
109
- div.ProseMirror .prosemirror-flat-list > .list-marker {
108
+ :is(div.ProseMirror .prosemirror-flat-list)::before,
109
+ :is(div.ProseMirror .prosemirror-flat-list) > .list-marker {
110
110
  top: 0.5rem;
111
111
  }
112
- div.ProseMirror .prosemirror-flat-list:has(> div.list-content > h1)::before,
113
- div.ProseMirror .prosemirror-flat-list:has(> div.list-content > h1) > .list-marker {
112
+ :is(div.ProseMirror .prosemirror-flat-list):has(> div.list-content > h1)::before,
113
+ :is(div.ProseMirror .prosemirror-flat-list):has(> div.list-content > h1) > .list-marker {
114
114
  top: 1em;
115
115
  }
116
- div.ProseMirror .prosemirror-flat-list:has(> div.list-content > h2)::before,
117
- div.ProseMirror .prosemirror-flat-list:has(> div.list-content > h2) > .list-marker {
116
+ :is(div.ProseMirror .prosemirror-flat-list):has(> div.list-content > h2)::before,
117
+ :is(div.ProseMirror .prosemirror-flat-list):has(> div.list-content > h2) > .list-marker {
118
118
  top: 0.6em;
119
119
  }
120
- div.ProseMirror .prosemirror-flat-list:has(> div.list-content > h3)::before,
121
- div.ProseMirror .prosemirror-flat-list:has(> div.list-content > h3) > .list-marker {
120
+ :is(div.ProseMirror .prosemirror-flat-list):has(> div.list-content > h3)::before,
121
+ :is(div.ProseMirror .prosemirror-flat-list):has(> div.list-content > h3) > .list-marker {
122
122
  top: 0.25em;
123
123
  }
124
- div.ProseMirror .prosemirror-flat-list:has(> div.list-content > h4)::before,
125
- div.ProseMirror .prosemirror-flat-list:has(> div.list-content > h4) > .list-marker {
124
+ :is(div.ProseMirror .prosemirror-flat-list):has(> div.list-content > h4)::before,
125
+ :is(div.ProseMirror .prosemirror-flat-list):has(> div.list-content > h4) > .list-marker {
126
126
  top: 0;
127
127
  }
128
- div.ProseMirror .prosemirror-flat-list:has(> div.list-content > h5)::before,
129
- div.ProseMirror .prosemirror-flat-list:has(> div.list-content > h5) > .list-marker {
128
+ :is(div.ProseMirror .prosemirror-flat-list):has(> div.list-content > h5)::before,
129
+ :is(div.ProseMirror .prosemirror-flat-list):has(> div.list-content > h5) > .list-marker {
130
130
  top: -0.1em;
131
131
  }
132
- div.ProseMirror .prosemirror-flat-list:has(> div.list-content > h6)::before,
133
- div.ProseMirror .prosemirror-flat-list:has(> div.list-content > h6) > .list-marker {
132
+ :is(div.ProseMirror .prosemirror-flat-list):has(> div.list-content > h6)::before,
133
+ :is(div.ProseMirror .prosemirror-flat-list):has(> div.list-content > h6) > .list-marker {
134
134
  top: -0.1em;
135
135
  }
136
136
  div.ProseMirror .ProseMirror-selectednode {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prosekit/basic",
3
3
  "type": "module",
4
- "version": "0.3.21",
4
+ "version": "0.3.23",
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.8",
45
- "@prosekit/pm": "^0.1.8",
46
- "@prosekit/extensions": "^0.7.9"
44
+ "@prosekit/core": "^0.7.9",
45
+ "@prosekit/extensions": "^0.7.11",
46
+ "@prosekit/pm": "^0.1.8"
47
47
  },
48
48
  "devDependencies": {
49
- "postcss": "^8.4.40",
50
- "postcss-nesting": "^12.1.5",
51
- "tsup": "^8.2.3",
52
- "typescript": "^5.5.3",
53
- "vitest": "^2.0.4",
49
+ "postcss": "^8.4.41",
50
+ "postcss-nesting": "^13.0.0",
51
+ "tsup": "^8.2.4",
52
+ "typescript": "^5.5.4",
53
+ "vitest": "^2.0.5",
54
54
  "@prosekit/dev": "0.0.0"
55
55
  },
56
56
  "scripts": {