prosekit 0.0.3 → 0.0.4

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 (50) hide show
  1. package/dist/prosekit-lit-components-command-empty.d.ts +1 -0
  2. package/dist/prosekit-lit-components-command-empty.js +2 -0
  3. package/dist/prosekit-lit-components-command-item.d.ts +1 -0
  4. package/dist/prosekit-lit-components-command-item.js +2 -0
  5. package/dist/prosekit-lit-components-command-list.d.ts +1 -0
  6. package/dist/prosekit-lit-components-command-list.js +2 -0
  7. package/dist/prosekit-lit-components-command-popover.d.ts +1 -0
  8. package/dist/prosekit-lit-components-command-popover.js +2 -0
  9. package/dist/prosekit-react-components-command-empty.d.ts +1 -0
  10. package/dist/prosekit-react-components-command-empty.js +2 -0
  11. package/dist/prosekit-react-components-command-item.d.ts +1 -0
  12. package/dist/prosekit-react-components-command-item.js +2 -0
  13. package/dist/prosekit-react-components-command-list.d.ts +1 -0
  14. package/dist/prosekit-react-components-command-list.js +2 -0
  15. package/dist/prosekit-react-components-command-popover.d.ts +1 -0
  16. package/dist/prosekit-react-components-command-popover.js +2 -0
  17. package/dist/prosekit-vue-components-command-empty.d.ts +1 -0
  18. package/dist/prosekit-vue-components-command-empty.js +2 -0
  19. package/dist/prosekit-vue-components-command-item.d.ts +1 -0
  20. package/dist/prosekit-vue-components-command-item.js +2 -0
  21. package/dist/prosekit-vue-components-command-list.d.ts +1 -0
  22. package/dist/prosekit-vue-components-command-list.js +2 -0
  23. package/dist/prosekit-vue-components-command-popover.d.ts +1 -0
  24. package/dist/prosekit-vue-components-command-popover.js +2 -0
  25. package/dist/prosekit.d.ts +12 -12
  26. package/package.json +83 -83
  27. package/dist/prosekit-lit-elements-menu-item.d.ts +0 -1
  28. package/dist/prosekit-lit-elements-menu-item.js +0 -2
  29. package/dist/prosekit-lit-elements-menu.d.ts +0 -1
  30. package/dist/prosekit-lit-elements-menu.js +0 -2
  31. package/dist/prosekit-lit-elements-popover-suggestion.d.ts +0 -1
  32. package/dist/prosekit-lit-elements-popover-suggestion.js +0 -2
  33. package/dist/prosekit-lit-elements-popover.d.ts +0 -1
  34. package/dist/prosekit-lit-elements-popover.js +0 -2
  35. package/dist/prosekit-react-components-menu-item.d.ts +0 -1
  36. package/dist/prosekit-react-components-menu-item.js +0 -2
  37. package/dist/prosekit-react-components-menu.d.ts +0 -1
  38. package/dist/prosekit-react-components-menu.js +0 -2
  39. package/dist/prosekit-react-components-popover-suggestion.d.ts +0 -1
  40. package/dist/prosekit-react-components-popover-suggestion.js +0 -2
  41. package/dist/prosekit-react-components-popover.d.ts +0 -1
  42. package/dist/prosekit-react-components-popover.js +0 -2
  43. package/dist/prosekit-vue-components-menu-item.d.ts +0 -1
  44. package/dist/prosekit-vue-components-menu-item.js +0 -2
  45. package/dist/prosekit-vue-components-menu.d.ts +0 -1
  46. package/dist/prosekit-vue-components-menu.js +0 -2
  47. package/dist/prosekit-vue-components-popover-suggestion.d.ts +0 -1
  48. package/dist/prosekit-vue-components-popover-suggestion.js +0 -2
  49. package/dist/prosekit-vue-components-popover.d.ts +0 -1
  50. package/dist/prosekit-vue-components-popover.js +0 -2
@@ -0,0 +1 @@
1
+ export * from '@prosekit/lit/components/command-empty';
@@ -0,0 +1,2 @@
1
+ // src/lit/components/command-empty.gen.ts
2
+ export * from "@prosekit/lit/components/command-empty";
@@ -0,0 +1 @@
1
+ export * from '@prosekit/lit/components/command-item';
@@ -0,0 +1,2 @@
1
+ // src/lit/components/command-item.gen.ts
2
+ export * from "@prosekit/lit/components/command-item";
@@ -0,0 +1 @@
1
+ export * from '@prosekit/lit/components/command-list';
@@ -0,0 +1,2 @@
1
+ // src/lit/components/command-list.gen.ts
2
+ export * from "@prosekit/lit/components/command-list";
@@ -0,0 +1 @@
1
+ export * from '@prosekit/lit/components/command-popover';
@@ -0,0 +1,2 @@
1
+ // src/lit/components/command-popover.gen.ts
2
+ export * from "@prosekit/lit/components/command-popover";
@@ -0,0 +1 @@
1
+ export * from '@prosekit/react/components/command-empty';
@@ -0,0 +1,2 @@
1
+ // src/react/components/command-empty.gen.ts
2
+ export * from "@prosekit/react/components/command-empty";
@@ -0,0 +1 @@
1
+ export * from '@prosekit/react/components/command-item';
@@ -0,0 +1,2 @@
1
+ // src/react/components/command-item.gen.ts
2
+ export * from "@prosekit/react/components/command-item";
@@ -0,0 +1 @@
1
+ export * from '@prosekit/react/components/command-list';
@@ -0,0 +1,2 @@
1
+ // src/react/components/command-list.gen.ts
2
+ export * from "@prosekit/react/components/command-list";
@@ -0,0 +1 @@
1
+ export * from '@prosekit/react/components/command-popover';
@@ -0,0 +1,2 @@
1
+ // src/react/components/command-popover.gen.ts
2
+ export * from "@prosekit/react/components/command-popover";
@@ -0,0 +1 @@
1
+ export * from '@prosekit/vue/components/command-empty';
@@ -0,0 +1,2 @@
1
+ // src/vue/components/command-empty.gen.ts
2
+ export * from "@prosekit/vue/components/command-empty";
@@ -0,0 +1 @@
1
+ export * from '@prosekit/vue/components/command-item';
@@ -0,0 +1,2 @@
1
+ // src/vue/components/command-item.gen.ts
2
+ export * from "@prosekit/vue/components/command-item";
@@ -0,0 +1 @@
1
+ export * from '@prosekit/vue/components/command-list';
@@ -0,0 +1,2 @@
1
+ // src/vue/components/command-list.gen.ts
2
+ export * from "@prosekit/vue/components/command-list";
@@ -0,0 +1 @@
1
+ export * from '@prosekit/vue/components/command-popover';
@@ -0,0 +1,2 @@
1
+ // src/vue/components/command-popover.gen.ts
2
+ export * from "@prosekit/vue/components/command-popover";
@@ -10,10 +10,10 @@ import '@prosekit/extensions/list';
10
10
  import '@prosekit/extensions/placeholder';
11
11
  import '@prosekit/extensions/suggestion';
12
12
  import '@prosekit/lit';
13
- import '@prosekit/lit/elements/menu';
14
- import '@prosekit/lit/elements/menu-item';
15
- import '@prosekit/lit/elements/popover';
16
- import '@prosekit/lit/elements/popover-suggestion';
13
+ import '@prosekit/lit/components/command-empty';
14
+ import '@prosekit/lit/components/command-item';
15
+ import '@prosekit/lit/components/command-list';
16
+ import '@prosekit/lit/components/command-popover';
17
17
  import '@prosekit/pm';
18
18
  import '@prosekit/pm/commands';
19
19
  import '@prosekit/pm/inputrules';
@@ -23,12 +23,12 @@ import '@prosekit/pm/state';
23
23
  import '@prosekit/pm/transform';
24
24
  import '@prosekit/pm/view';
25
25
  import '@prosekit/react';
26
- import '@prosekit/react/components/menu';
27
- import '@prosekit/react/components/menu-item';
28
- import '@prosekit/react/components/popover';
29
- import '@prosekit/react/components/popover-suggestion';
26
+ import '@prosekit/react/components/command-empty';
27
+ import '@prosekit/react/components/command-item';
28
+ import '@prosekit/react/components/command-list';
29
+ import '@prosekit/react/components/command-popover';
30
30
  import '@prosekit/vue';
31
- import '@prosekit/vue/components/menu';
32
- import '@prosekit/vue/components/menu-item';
33
- import '@prosekit/vue/components/popover';
34
- import '@prosekit/vue/components/popover-suggestion';
31
+ import '@prosekit/vue/components/command-empty';
32
+ import '@prosekit/vue/components/command-item';
33
+ import '@prosekit/vue/components/command-list';
34
+ import '@prosekit/vue/components/command-popover';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prosekit",
3
3
  "type": "module",
4
- "version": "0.0.3",
4
+ "version": "0.0.4",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -102,25 +102,25 @@
102
102
  "import": "./dist/prosekit-lit.js",
103
103
  "default": "./dist/prosekit-lit.js"
104
104
  },
105
- "./lit/elements/menu": {
106
- "types": "./dist/prosekit-lit-elements-menu.d.ts",
107
- "import": "./dist/prosekit-lit-elements-menu.js",
108
- "default": "./dist/prosekit-lit-elements-menu.js"
105
+ "./lit/components/command-empty": {
106
+ "types": "./dist/prosekit-lit-components-command-empty.d.ts",
107
+ "import": "./dist/prosekit-lit-components-command-empty.js",
108
+ "default": "./dist/prosekit-lit-components-command-empty.js"
109
109
  },
110
- "./lit/elements/menu-item": {
111
- "types": "./dist/prosekit-lit-elements-menu-item.d.ts",
112
- "import": "./dist/prosekit-lit-elements-menu-item.js",
113
- "default": "./dist/prosekit-lit-elements-menu-item.js"
110
+ "./lit/components/command-item": {
111
+ "types": "./dist/prosekit-lit-components-command-item.d.ts",
112
+ "import": "./dist/prosekit-lit-components-command-item.js",
113
+ "default": "./dist/prosekit-lit-components-command-item.js"
114
114
  },
115
- "./lit/elements/popover": {
116
- "types": "./dist/prosekit-lit-elements-popover.d.ts",
117
- "import": "./dist/prosekit-lit-elements-popover.js",
118
- "default": "./dist/prosekit-lit-elements-popover.js"
115
+ "./lit/components/command-list": {
116
+ "types": "./dist/prosekit-lit-components-command-list.d.ts",
117
+ "import": "./dist/prosekit-lit-components-command-list.js",
118
+ "default": "./dist/prosekit-lit-components-command-list.js"
119
119
  },
120
- "./lit/elements/popover-suggestion": {
121
- "types": "./dist/prosekit-lit-elements-popover-suggestion.d.ts",
122
- "import": "./dist/prosekit-lit-elements-popover-suggestion.js",
123
- "default": "./dist/prosekit-lit-elements-popover-suggestion.js"
120
+ "./lit/components/command-popover": {
121
+ "types": "./dist/prosekit-lit-components-command-popover.d.ts",
122
+ "import": "./dist/prosekit-lit-components-command-popover.js",
123
+ "default": "./dist/prosekit-lit-components-command-popover.js"
124
124
  },
125
125
  "./pm": {
126
126
  "types": "./dist/prosekit-pm.d.ts",
@@ -170,63 +170,63 @@
170
170
  "import": "./dist/prosekit-react.js",
171
171
  "default": "./dist/prosekit-react.js"
172
172
  },
173
- "./react/components/menu": {
174
- "types": "./dist/prosekit-react-components-menu.d.ts",
175
- "import": "./dist/prosekit-react-components-menu.js",
176
- "default": "./dist/prosekit-react-components-menu.js"
173
+ "./react/components/command-empty": {
174
+ "types": "./dist/prosekit-react-components-command-empty.d.ts",
175
+ "import": "./dist/prosekit-react-components-command-empty.js",
176
+ "default": "./dist/prosekit-react-components-command-empty.js"
177
177
  },
178
- "./react/components/menu-item": {
179
- "types": "./dist/prosekit-react-components-menu-item.d.ts",
180
- "import": "./dist/prosekit-react-components-menu-item.js",
181
- "default": "./dist/prosekit-react-components-menu-item.js"
178
+ "./react/components/command-item": {
179
+ "types": "./dist/prosekit-react-components-command-item.d.ts",
180
+ "import": "./dist/prosekit-react-components-command-item.js",
181
+ "default": "./dist/prosekit-react-components-command-item.js"
182
182
  },
183
- "./react/components/popover": {
184
- "types": "./dist/prosekit-react-components-popover.d.ts",
185
- "import": "./dist/prosekit-react-components-popover.js",
186
- "default": "./dist/prosekit-react-components-popover.js"
183
+ "./react/components/command-list": {
184
+ "types": "./dist/prosekit-react-components-command-list.d.ts",
185
+ "import": "./dist/prosekit-react-components-command-list.js",
186
+ "default": "./dist/prosekit-react-components-command-list.js"
187
187
  },
188
- "./react/components/popover-suggestion": {
189
- "types": "./dist/prosekit-react-components-popover-suggestion.d.ts",
190
- "import": "./dist/prosekit-react-components-popover-suggestion.js",
191
- "default": "./dist/prosekit-react-components-popover-suggestion.js"
188
+ "./react/components/command-popover": {
189
+ "types": "./dist/prosekit-react-components-command-popover.d.ts",
190
+ "import": "./dist/prosekit-react-components-command-popover.js",
191
+ "default": "./dist/prosekit-react-components-command-popover.js"
192
192
  },
193
193
  "./vue": {
194
194
  "types": "./dist/prosekit-vue.d.ts",
195
195
  "import": "./dist/prosekit-vue.js",
196
196
  "default": "./dist/prosekit-vue.js"
197
197
  },
198
- "./vue/components/menu": {
199
- "types": "./dist/prosekit-vue-components-menu.d.ts",
200
- "import": "./dist/prosekit-vue-components-menu.js",
201
- "default": "./dist/prosekit-vue-components-menu.js"
202
- },
203
- "./vue/components/menu-item": {
204
- "types": "./dist/prosekit-vue-components-menu-item.d.ts",
205
- "import": "./dist/prosekit-vue-components-menu-item.js",
206
- "default": "./dist/prosekit-vue-components-menu-item.js"
207
- },
208
- "./vue/components/popover": {
209
- "types": "./dist/prosekit-vue-components-popover.d.ts",
210
- "import": "./dist/prosekit-vue-components-popover.js",
211
- "default": "./dist/prosekit-vue-components-popover.js"
212
- },
213
- "./vue/components/popover-suggestion": {
214
- "types": "./dist/prosekit-vue-components-popover-suggestion.d.ts",
215
- "import": "./dist/prosekit-vue-components-popover-suggestion.js",
216
- "default": "./dist/prosekit-vue-components-popover-suggestion.js"
198
+ "./vue/components/command-empty": {
199
+ "types": "./dist/prosekit-vue-components-command-empty.d.ts",
200
+ "import": "./dist/prosekit-vue-components-command-empty.js",
201
+ "default": "./dist/prosekit-vue-components-command-empty.js"
202
+ },
203
+ "./vue/components/command-item": {
204
+ "types": "./dist/prosekit-vue-components-command-item.d.ts",
205
+ "import": "./dist/prosekit-vue-components-command-item.js",
206
+ "default": "./dist/prosekit-vue-components-command-item.js"
207
+ },
208
+ "./vue/components/command-list": {
209
+ "types": "./dist/prosekit-vue-components-command-list.d.ts",
210
+ "import": "./dist/prosekit-vue-components-command-list.js",
211
+ "default": "./dist/prosekit-vue-components-command-list.js"
212
+ },
213
+ "./vue/components/command-popover": {
214
+ "types": "./dist/prosekit-vue-components-command-popover.d.ts",
215
+ "import": "./dist/prosekit-vue-components-command-popover.js",
216
+ "default": "./dist/prosekit-vue-components-command-popover.js"
217
217
  }
218
218
  },
219
219
  "files": [
220
220
  "dist"
221
221
  ],
222
222
  "dependencies": {
223
- "@prosekit/basic": "^0.0.3",
224
- "@prosekit/core": "^0.0.3",
225
- "@prosekit/extensions": "^0.0.3",
226
- "@prosekit/lit": "^0.0.3",
227
- "@prosekit/pm": "^0.0.3",
228
- "@prosekit/react": "^0.0.3",
229
- "@prosekit/vue": "^0.0.3"
223
+ "@prosekit/basic": "0.0.3",
224
+ "@prosekit/core": "0.0.3",
225
+ "@prosekit/extensions": "0.0.3",
226
+ "@prosekit/lit": "0.0.4",
227
+ "@prosekit/pm": "0.0.3",
228
+ "@prosekit/react": "0.0.4",
229
+ "@prosekit/vue": "0.0.4"
230
230
  },
231
231
  "peerDependencies": {
232
232
  "react": ">= 17.0.0",
@@ -300,17 +300,17 @@
300
300
  "lit": [
301
301
  "./dist/prosekit-lit.d.ts"
302
302
  ],
303
- "lit/elements/menu": [
304
- "./dist/prosekit-lit-elements-menu.d.ts"
303
+ "lit/components/command-empty": [
304
+ "./dist/prosekit-lit-components-command-empty.d.ts"
305
305
  ],
306
- "lit/elements/menu-item": [
307
- "./dist/prosekit-lit-elements-menu-item.d.ts"
306
+ "lit/components/command-item": [
307
+ "./dist/prosekit-lit-components-command-item.d.ts"
308
308
  ],
309
- "lit/elements/popover": [
310
- "./dist/prosekit-lit-elements-popover.d.ts"
309
+ "lit/components/command-list": [
310
+ "./dist/prosekit-lit-components-command-list.d.ts"
311
311
  ],
312
- "lit/elements/popover-suggestion": [
313
- "./dist/prosekit-lit-elements-popover-suggestion.d.ts"
312
+ "lit/components/command-popover": [
313
+ "./dist/prosekit-lit-components-command-popover.d.ts"
314
314
  ],
315
315
  "pm": [
316
316
  "./dist/prosekit-pm.d.ts"
@@ -339,32 +339,32 @@
339
339
  "react": [
340
340
  "./dist/prosekit-react.d.ts"
341
341
  ],
342
- "react/components/menu": [
343
- "./dist/prosekit-react-components-menu.d.ts"
342
+ "react/components/command-empty": [
343
+ "./dist/prosekit-react-components-command-empty.d.ts"
344
344
  ],
345
- "react/components/menu-item": [
346
- "./dist/prosekit-react-components-menu-item.d.ts"
345
+ "react/components/command-item": [
346
+ "./dist/prosekit-react-components-command-item.d.ts"
347
347
  ],
348
- "react/components/popover": [
349
- "./dist/prosekit-react-components-popover.d.ts"
348
+ "react/components/command-list": [
349
+ "./dist/prosekit-react-components-command-list.d.ts"
350
350
  ],
351
- "react/components/popover-suggestion": [
352
- "./dist/prosekit-react-components-popover-suggestion.d.ts"
351
+ "react/components/command-popover": [
352
+ "./dist/prosekit-react-components-command-popover.d.ts"
353
353
  ],
354
354
  "vue": [
355
355
  "./dist/prosekit-vue.d.ts"
356
356
  ],
357
- "vue/components/menu": [
358
- "./dist/prosekit-vue-components-menu.d.ts"
357
+ "vue/components/command-empty": [
358
+ "./dist/prosekit-vue-components-command-empty.d.ts"
359
359
  ],
360
- "vue/components/menu-item": [
361
- "./dist/prosekit-vue-components-menu-item.d.ts"
360
+ "vue/components/command-item": [
361
+ "./dist/prosekit-vue-components-command-item.d.ts"
362
362
  ],
363
- "vue/components/popover": [
364
- "./dist/prosekit-vue-components-popover.d.ts"
363
+ "vue/components/command-list": [
364
+ "./dist/prosekit-vue-components-command-list.d.ts"
365
365
  ],
366
- "vue/components/popover-suggestion": [
367
- "./dist/prosekit-vue-components-popover-suggestion.d.ts"
366
+ "vue/components/command-popover": [
367
+ "./dist/prosekit-vue-components-command-popover.d.ts"
368
368
  ]
369
369
  }
370
370
  }
@@ -1 +0,0 @@
1
- export * from '@prosekit/lit/elements/menu-item';
@@ -1,2 +0,0 @@
1
- // src/lit/elements/menu-item.gen.ts
2
- export * from "@prosekit/lit/elements/menu-item";
@@ -1 +0,0 @@
1
- export * from '@prosekit/lit/elements/menu';
@@ -1,2 +0,0 @@
1
- // src/lit/elements/menu.gen.ts
2
- export * from "@prosekit/lit/elements/menu";
@@ -1 +0,0 @@
1
- export * from '@prosekit/lit/elements/popover-suggestion';
@@ -1,2 +0,0 @@
1
- // src/lit/elements/popover-suggestion.gen.ts
2
- export * from "@prosekit/lit/elements/popover-suggestion";
@@ -1 +0,0 @@
1
- export * from '@prosekit/lit/elements/popover';
@@ -1,2 +0,0 @@
1
- // src/lit/elements/popover.gen.ts
2
- export * from "@prosekit/lit/elements/popover";
@@ -1 +0,0 @@
1
- export * from '@prosekit/react/components/menu-item';
@@ -1,2 +0,0 @@
1
- // src/react/components/menu-item.gen.ts
2
- export * from "@prosekit/react/components/menu-item";
@@ -1 +0,0 @@
1
- export * from '@prosekit/react/components/menu';
@@ -1,2 +0,0 @@
1
- // src/react/components/menu.gen.ts
2
- export * from "@prosekit/react/components/menu";
@@ -1 +0,0 @@
1
- export * from '@prosekit/react/components/popover-suggestion';
@@ -1,2 +0,0 @@
1
- // src/react/components/popover-suggestion.gen.ts
2
- export * from "@prosekit/react/components/popover-suggestion";
@@ -1 +0,0 @@
1
- export * from '@prosekit/react/components/popover';
@@ -1,2 +0,0 @@
1
- // src/react/components/popover.gen.ts
2
- export * from "@prosekit/react/components/popover";
@@ -1 +0,0 @@
1
- export * from '@prosekit/vue/components/menu-item';
@@ -1,2 +0,0 @@
1
- // src/vue/components/menu-item.gen.ts
2
- export * from "@prosekit/vue/components/menu-item";
@@ -1 +0,0 @@
1
- export * from '@prosekit/vue/components/menu';
@@ -1,2 +0,0 @@
1
- // src/vue/components/menu.gen.ts
2
- export * from "@prosekit/vue/components/menu";
@@ -1 +0,0 @@
1
- export * from '@prosekit/vue/components/popover-suggestion';
@@ -1,2 +0,0 @@
1
- // src/vue/components/popover-suggestion.gen.ts
2
- export * from "@prosekit/vue/components/popover-suggestion";
@@ -1 +0,0 @@
1
- export * from '@prosekit/vue/components/popover';
@@ -1,2 +0,0 @@
1
- // src/vue/components/popover.gen.ts
2
- export * from "@prosekit/vue/components/popover";