@fragiola/flow-react 0.0.0 → 0.1.0
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/CHANGELOG.md +18 -0
- package/README.md +11 -4
- package/package.json +3 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# @fragiola/flow-react
|
|
2
|
+
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#72](https://github.com/fragiola/flow/pull/72) [`e3abda6`](https://github.com/fragiola/flow/commit/e3abda6bbb1422de6c06f9fad041d8c3cc6613c3) Thanks [@maurodesouza](https://github.com/maurodesouza)! - The React 19 adapter of Fragiola Flow: the unstyled `Flow.*` primitives (`Root`, `Viewport`,
|
|
8
|
+
`Nodes`, `Node`, `Handle`, `Edges`, `Edge`, `EdgePath`, `EdgeLabel`, `ConnectionLine`,
|
|
9
|
+
`SelectionBox`, `NodesSelection`, `NodeToolbar`, `EdgeToolbar`, `ReconnectAnchor`, `Background`,
|
|
10
|
+
`Controls`, `ZoomIn`, `ZoomOut`, `FitView`, `ToggleInteractive`) and their hooks (`useFlow`,
|
|
11
|
+
`useFlowRef`, `useFlowStore`, `useNodes`, `useEdges`, `useNodesData`, `useInternalNode`,
|
|
12
|
+
`useViewport`, `useConnection`, `useSelection`, `useKeyPress`, …), one entry per feature with its
|
|
13
|
+
parts (the minimap and the node resizer among them), and the whole core re-exported.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`e3abda6`](https://github.com/fragiola/flow/commit/e3abda6bbb1422de6c06f9fad041d8c3cc6613c3)]:
|
|
18
|
+
- @fragiola/flow@0.1.0
|
package/README.md
CHANGED
|
@@ -2,12 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Composable, unstyled React primitives for **Flow**, headless node-based editors and diagrams:
|
|
4
4
|
`Flow.Root`, `Flow.Viewport`, `Flow.Nodes`, `Flow.Node`, `Flow.Handle`, `Flow.Edges`, `Flow.Edge`,
|
|
5
|
-
`Flow.Background`, `Flow.Controls`, … over the framework-free core
|
|
6
|
-
whole, so a React app
|
|
5
|
+
`Flow.Background`, `Flow.Controls`, … over the framework-free core
|
|
6
|
+
[`@fragiola/flow`](https://www.npmjs.com/package/@fragiola/flow) (re-exported whole, so a React app
|
|
7
|
+
installs this one package). The opt-in features are on their own entries
|
|
7
8
|
(`@fragiola/flow-react/selection`, `/drag`, `/connection`, `/reconnection`, `/resize`, `/subflows`,
|
|
8
9
|
`/keyboard`, `/minimap`). No CSS, no icons, no text: you style every part, through its
|
|
9
10
|
`data-flow-part` and state attributes.
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
```sh
|
|
13
|
+
pnpm add @fragiola/flow-react
|
|
14
|
+
```
|
|
12
15
|
|
|
13
|
-
Documentation: **<https://fragiola.com/flow
|
|
16
|
+
Documentation: **<https://fragiola.com/flow>**. ESM only. React 19.
|
|
17
|
+
|
|
18
|
+
## Licence
|
|
19
|
+
|
|
20
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fragiola/flow-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Composable, unstyled React primitives for @fragiola/flow: node-based editors and diagrams (nodes, edges, handles, connections, a pannable and zoomable viewport) styled entirely by you.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -78,10 +78,11 @@
|
|
|
78
78
|
"files": [
|
|
79
79
|
"dist",
|
|
80
80
|
"README.md",
|
|
81
|
+
"CHANGELOG.md",
|
|
81
82
|
"LICENSE"
|
|
82
83
|
],
|
|
83
84
|
"dependencies": {
|
|
84
|
-
"@fragiola/flow": "0.
|
|
85
|
+
"@fragiola/flow": "0.1.0"
|
|
85
86
|
},
|
|
86
87
|
"peerDependencies": {
|
|
87
88
|
"react": "^19.0.0",
|