@fragiola/flow-svelte 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 +17 -0
- package/README.md +14 -7
- package/package.json +3 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @fragiola/flow-svelte
|
|
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 Svelte 5 adapter of Fragiola Flow (5.29 or later: runes, snippets, attachments): the same
|
|
8
|
+
unstyled `Flow.*` primitives as Svelte components, published as `.svelte` files under the `svelte`
|
|
9
|
+
condition, typed per flow with `typedFlow`, and their rune functions (`useFlow`, `useFlowRef`,
|
|
10
|
+
`useFlowStore`, `useNodes`, `useEdges`, `useViewport`, `useConnection`, `useSelection`, …), one
|
|
11
|
+
entry per feature with its parts (the minimap and the node resizer among them), and the whole core
|
|
12
|
+
re-exported.
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [[`e3abda6`](https://github.com/fragiola/flow/commit/e3abda6bbb1422de6c06f9fad041d8c3cc6613c3)]:
|
|
17
|
+
- @fragiola/flow@0.1.0
|
package/README.md
CHANGED
|
@@ -2,13 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Composable, unstyled Svelte 5 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 Svelte app
|
|
7
|
-
|
|
8
|
-
`/
|
|
9
|
-
|
|
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 Svelte app
|
|
7
|
+
installs this one package). The opt-in features are on their own entries
|
|
8
|
+
(`@fragiola/flow-svelte/selection`, `/drag`, `/connection`, `/reconnection`, `/resize`, `/subflows`,
|
|
9
|
+
`/keyboard`, `/minimap`). No CSS, no icons, no text: you style every part, through its
|
|
10
|
+
`data-flow-part` and state attributes.
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
```sh
|
|
13
|
+
pnpm add @fragiola/flow-svelte
|
|
14
|
+
```
|
|
12
15
|
|
|
13
|
-
Documentation: **<https://fragiola.com/flow
|
|
16
|
+
Documentation: **<https://fragiola.com/flow>**. ESM only. Svelte 5.29 or later
|
|
14
17
|
(runes, snippets, attachments).
|
|
18
|
+
|
|
19
|
+
## Licence
|
|
20
|
+
|
|
21
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fragiola/flow-svelte",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Composable, unstyled Svelte 5 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
|
"svelte",
|
|
@@ -80,10 +80,11 @@
|
|
|
80
80
|
"dist",
|
|
81
81
|
"!dist/**/*.test.*",
|
|
82
82
|
"README.md",
|
|
83
|
+
"CHANGELOG.md",
|
|
83
84
|
"LICENSE"
|
|
84
85
|
],
|
|
85
86
|
"dependencies": {
|
|
86
|
-
"@fragiola/flow": "0.
|
|
87
|
+
"@fragiola/flow": "0.1.0"
|
|
87
88
|
},
|
|
88
89
|
"peerDependencies": {
|
|
89
90
|
"svelte": "^5.29.0"
|