@cascivo/editor 0.2.14 → 0.2.16

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/README.md CHANGED
@@ -46,6 +46,12 @@ The editor is CSS-token-themed: drop it inside any element carrying a `data-them
46
46
  theme stylesheet) and it picks up the same palette, radii, and typography as the rest of cascivo —
47
47
  including the syntax colors, which map onto the `--cascivo-editor-syntax-*` palette.
48
48
 
49
+ > **Vite SSR (TanStack Start, Remix, vite-ssr, workerd)?** The editor CSS ships as side-effect
50
+ > imports a bare server loader can't resolve — mark `ssr: { noExternal: [/^@cascivo\//] }` (the
51
+ > pattern already covers `@cascivo/editor`) and import `@cascivo/editor/styles.css` once in your
52
+ > root entry. Full recipe:
53
+ > [USING-WITH-VITE-SSR.md](https://github.com/cascivo/cascivo/blob/main/docs/USING-WITH-VITE-SSR.md).
54
+
49
55
  ### Read-only highlighting
50
56
 
51
57
  ```tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cascivo/editor",
3
- "version": "0.2.14",
3
+ "version": "0.2.16",
4
4
  "private": false,
5
5
  "description": "Lightweight CSS-native code editor — native textarea overlay + owned zero-dependency tokenizer",
6
6
  "keywords": [
@@ -44,8 +44,8 @@
44
44
  "provenance": true
45
45
  },
46
46
  "dependencies": {
47
- "@cascivo/core": "^0.4.1",
48
- "@cascivo/i18n": "^0.2.8"
47
+ "@cascivo/i18n": "^0.2.10",
48
+ "@cascivo/core": "^0.5.2"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@testing-library/jest-dom": "^6.9.1",
@@ -61,7 +61,7 @@
61
61
  "vite-plus": "^0.2.1"
62
62
  },
63
63
  "peerDependencies": {
64
- "@preact/signals-react": ">=2.0.0",
64
+ "@preact/signals-react": ">=3.0.0",
65
65
  "react": ">=18.0.0",
66
66
  "react-dom": ">=18.0.0"
67
67
  },
package/readme.body.md CHANGED
@@ -28,6 +28,12 @@ The editor is CSS-token-themed: drop it inside any element carrying a `data-them
28
28
  theme stylesheet) and it picks up the same palette, radii, and typography as the rest of cascivo —
29
29
  including the syntax colors, which map onto the `--cascivo-editor-syntax-*` palette.
30
30
 
31
+ > **Vite SSR (TanStack Start, Remix, vite-ssr, workerd)?** The editor CSS ships as side-effect
32
+ > imports a bare server loader can't resolve — mark `ssr: { noExternal: [/^@cascivo\//] }` (the
33
+ > pattern already covers `@cascivo/editor`) and import `@cascivo/editor/styles.css` once in your
34
+ > root entry. Full recipe:
35
+ > [USING-WITH-VITE-SSR.md](https://github.com/cascivo/cascivo/blob/main/docs/USING-WITH-VITE-SSR.md).
36
+
31
37
  ### Read-only highlighting
32
38
 
33
39
  ```tsx