prosekit 0.0.4 → 0.0.5

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.
@@ -0,0 +1,38 @@
1
+ /* ../basic/src/internal/example.css */
2
+ .example-editor {
3
+ @apply box-border h-[250px] w-full overflow-auto rounded px-4 py-4 outline outline-2;
4
+ font-family:
5
+ ui-sans-serif,
6
+ system-ui,
7
+ -apple-system,
8
+ BlinkMacSystemFont,
9
+ "Segoe UI",
10
+ Roboto,
11
+ "Helvetica Neue",
12
+ Arial,
13
+ "Noto Sans",
14
+ sans-serif,
15
+ "Apple Color Emoji",
16
+ "Segoe UI Emoji",
17
+ "Segoe UI Symbol",
18
+ "Noto Color Emoji";
19
+ }
20
+ .example-slash-menu {
21
+ @apply relative rounded border border-solid border-gray-500 bg-white;
22
+ user-select: none;
23
+ white-space: nowrap;
24
+ overflow: auto;
25
+ }
26
+ .example-slash-menu-item {
27
+ position: relative;
28
+ padding: 8px;
29
+ min-width: 64px;
30
+ user-select: none;
31
+ white-space: nowrap;
32
+ cursor: pointer;
33
+ }
34
+ .example-slash-menu-item[data-selected] {
35
+ @apply bg-gray-300;
36
+ }
37
+
38
+ /* src/basic/internal/example.css */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prosekit",
3
3
  "type": "module",
4
- "version": "0.0.4",
4
+ "version": "0.0.5",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -35,6 +35,9 @@
35
35
  "import": "./dist/prosekit-basic.js",
36
36
  "default": "./dist/prosekit-basic.js"
37
37
  },
38
+ "./basic/internal/example.css": {
39
+ "default": "./dist/basic/internal/example.css"
40
+ },
38
41
  "./basic/style.css": {
39
42
  "default": "./dist/basic/style.css"
40
43
  },
@@ -220,7 +223,7 @@
220
223
  "dist"
221
224
  ],
222
225
  "dependencies": {
223
- "@prosekit/basic": "0.0.3",
226
+ "@prosekit/basic": "0.0.4",
224
227
  "@prosekit/core": "0.0.3",
225
228
  "@prosekit/extensions": "0.0.3",
226
229
  "@prosekit/lit": "0.0.4",