@cascivo/flow 0.1.12 → 0.1.14

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
@@ -10,7 +10,7 @@
10
10
  [![license](https://img.shields.io/npm/l/%40cascivo%2Fflow?style=flat-square&color=0079bf)](https://github.com/cascivo/cascivo/blob/main/LICENSE)
11
11
  ![types](https://img.shields.io/badge/types-included-0079bf?style=flat-square&logo=typescript&logoColor=white)
12
12
 
13
- [npm](https://www.npmjs.com/package/@cascivo/flow) · [cascivo.com](https://cascivo.com) · [Docs](https://docs.cascivo.com) · [Storybook](https://storybook.cascivo.com) · [GitHub](https://github.com/cascivo/cascivo)
13
+ [npm](https://www.npmjs.com/package/@cascivo/flow) · [cascivo.com](https://cascivo.com) · [Docs](https://cascivo.com/docs) · [Storybook](https://storybook.cascivo.com) · [GitHub](https://github.com/cascivo/cascivo)
14
14
 
15
15
  </div>
16
16
 
@@ -51,6 +51,12 @@ export function Pipeline() {
51
51
  }
52
52
  ```
53
53
 
54
+ > **Vite SSR (TanStack Start, Remix, vite-ssr, workerd)?** The flow CSS ships as side-effect
55
+ > imports a bare server loader can't resolve — mark `ssr: { noExternal: [/^@cascivo\//] }` (the
56
+ > pattern already covers `@cascivo/flow`) and import `@cascivo/flow/styles.css` once in your root
57
+ > entry. Full recipe:
58
+ > [USING-WITH-VITE-SSR.md](https://github.com/cascivo/cascivo/blob/main/docs/USING-WITH-VITE-SSR.md).
59
+
54
60
  ### Scripted storylines
55
61
 
56
62
  `<FlowStory>` walks the viewer through a graph step by step with fade-in
@@ -90,6 +96,6 @@ pnpm add @cascivo/flow
90
96
 
91
97
  ---
92
98
 
93
- [cascivo.com](https://cascivo.com) · [Docs](https://docs.cascivo.com) · [Storybook](https://storybook.cascivo.com) · [GitHub](https://github.com/cascivo/cascivo) · AI agents: use [`@cascivo/mcp`](https://github.com/cascivo/cascivo/tree/main/packages/mcp) and [`registry.json`](https://github.com/cascivo/cascivo/blob/main/registry.json) · MIT
99
+ [cascivo.com](https://cascivo.com) · [Docs](https://cascivo.com/docs) · [Storybook](https://storybook.cascivo.com) · [GitHub](https://github.com/cascivo/cascivo) · AI agents: read [`llms.txt`](https://cascivo.com/llms.txt) (install steps + component index, plain text) or use [`@cascivo/mcp`](https://github.com/cascivo/cascivo/tree/main/packages/mcp) and [`registry.json`](https://github.com/cascivo/cascivo/blob/main/registry.json) · MIT
94
100
 
95
101
  <div align="center"><a href="https://cascivo.com"><img src="https://cascivo.com/favicon.svg" width="28" height="28" alt="cascivo"></a></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cascivo/flow",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "private": false,
5
5
  "description": "Flow & diagram components — CSS-native, signal-driven node/edge graphs with pan/zoom, draggable nodes, animated edges, and scripted storylines, zero dependencies",
6
6
  "keywords": [
@@ -33,6 +33,7 @@
33
33
  ],
34
34
  "types": "./dist/index.d.ts",
35
35
  "exports": {
36
+ "./package.json": "./package.json",
36
37
  ".": {
37
38
  "types": "./dist/index.d.ts",
38
39
  "import": "./dist/index.js",
@@ -45,8 +46,8 @@
45
46
  "provenance": true
46
47
  },
47
48
  "dependencies": {
48
- "@cascivo/core": "^0.4.0",
49
- "@cascivo/i18n": "^0.2.7"
49
+ "@cascivo/core": "^0.5.0",
50
+ "@cascivo/i18n": "^0.2.9"
50
51
  },
51
52
  "devDependencies": {
52
53
  "@testing-library/jest-dom": "^6.9.1",
@@ -62,7 +63,7 @@
62
63
  "vite-plus": "^0.2.1"
63
64
  },
64
65
  "peerDependencies": {
65
- "@preact/signals-react": ">=2.0.0",
66
+ "@preact/signals-react": ">=3.0.0",
66
67
  "react": ">=18.0.0",
67
68
  "react-dom": ">=18.0.0"
68
69
  },
package/readme.body.md CHANGED
@@ -33,6 +33,12 @@ export function Pipeline() {
33
33
  }
34
34
  ```
35
35
 
36
+ > **Vite SSR (TanStack Start, Remix, vite-ssr, workerd)?** The flow CSS ships as side-effect
37
+ > imports a bare server loader can't resolve — mark `ssr: { noExternal: [/^@cascivo\//] }` (the
38
+ > pattern already covers `@cascivo/flow`) and import `@cascivo/flow/styles.css` once in your root
39
+ > entry. Full recipe:
40
+ > [USING-WITH-VITE-SSR.md](https://github.com/cascivo/cascivo/blob/main/docs/USING-WITH-VITE-SSR.md).
41
+
36
42
  ### Scripted storylines
37
43
 
38
44
  `<FlowStory>` walks the viewer through a graph step by step with fade-in