@mittwald/flow-remote-react-components 1.3.0-next.9 → 1.3.1
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/USAGE.md +20 -4
- package/dist/js/version.mjs +1 -1
- package/package.json +10 -10
package/USAGE.md
CHANGED
|
@@ -10,6 +10,12 @@ and have the same names, props and composition rules. **Read that package's
|
|
|
10
10
|
depend on, and where the documentation lives. It applies here unchanged; nothing
|
|
11
11
|
below repeats it.
|
|
12
12
|
|
|
13
|
+
That package is a dependency of this one. npm and yarn hoist it, so its guide is
|
|
14
|
+
at `node_modules/@mittwald/flow-react-components/USAGE.md`. pnpm does not, so
|
|
15
|
+
there it is not reachable from your project — fetch
|
|
16
|
+
`https://cdn.jsdelivr.net/npm/@mittwald/flow-react-components@<version>/USAGE.md`
|
|
17
|
+
instead, with this package's version: all Flow packages share one version.
|
|
18
|
+
|
|
13
19
|
What follows is only what is different because your UI renders across a process
|
|
14
20
|
boundary.
|
|
15
21
|
|
|
@@ -37,7 +43,7 @@ The full explainer:
|
|
|
37
43
|
|
|
38
44
|
## Not every component exists remotely
|
|
39
45
|
|
|
40
|
-
**
|
|
46
|
+
**116 of Flow's 126 public components are available here.** The
|
|
41
47
|
[component index](https://www.npmjs.com/package/@mittwald/flow-react-components)
|
|
42
48
|
(`@mittwald/flow-react-components/component-index`) records this per component:
|
|
43
49
|
|
|
@@ -49,12 +55,22 @@ The full explainer:
|
|
|
49
55
|
}
|
|
50
56
|
```
|
|
51
57
|
|
|
58
|
+
Under pnpm the index is not importable from your project either (see above); it
|
|
59
|
+
is at
|
|
60
|
+
`https://cdn.jsdelivr.net/npm/@mittwald/flow-react-components@<version>/dist/assets/component-index.json`.
|
|
61
|
+
The documentation carries the same information: every component page opens with
|
|
62
|
+
its remote import and the props that do not cross (e.g.
|
|
63
|
+
`https://flow.mittwald.de/raw/components/actions/button.md`), and
|
|
64
|
+
`https://flow.mittwald.de/llms.json` has it as `remote` per page. The page
|
|
65
|
+
examples import from `@mittwald/flow-react-components` — in extension code,
|
|
66
|
+
import from this package instead.
|
|
67
|
+
|
|
52
68
|
Check `remote.available` before reaching for a component. These ten have no
|
|
53
69
|
remote counterpart:
|
|
54
70
|
|
|
55
|
-
`Activity`, `
|
|
56
|
-
`
|
|
57
|
-
`RouterProvider`, `SuspenseTrigger`
|
|
71
|
+
`Activity`, `FormAction`, `FormRootError`, `FormSettingsProvider`, `Link` (from
|
|
72
|
+
`@mittwald/flow-react-components/nextjs`), `LinkProvider`, `Overlay`,
|
|
73
|
+
`OverlayTrigger`, `RouterProvider`, `SuspenseTrigger`
|
|
58
74
|
|
|
59
75
|
Three components move to a different address: `Field`, `ResetButton` and
|
|
60
76
|
`SubmitButton` come from
|
package/dist/js/version.mjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { Version } from "@mittwald/flow-remote-core";
|
|
4
4
|
//#region src/version.ts
|
|
5
5
|
var communicationVersion = Version.v5;
|
|
6
|
-
var packageVersion = "1.3.
|
|
6
|
+
var packageVersion = "1.3.1";
|
|
7
7
|
var version = communicationVersion;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { communicationVersion, packageVersion, version };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-remote-react-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React components that can be used in a remote environment",
|
|
6
6
|
"homepage": "https://flow.mittwald.de",
|
|
@@ -52,19 +52,19 @@
|
|
|
52
52
|
"test:visual:update": "vitest run --project=visual --browser.headless --update"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@mittwald/flow-react-components": "1.3.
|
|
56
|
-
"@mittwald/flow-remote-core": "1.3.
|
|
57
|
-
"@mittwald/flow-remote-elements": "1.3.
|
|
55
|
+
"@mittwald/flow-react-components": "1.3.1",
|
|
56
|
+
"@mittwald/flow-remote-core": "1.3.1",
|
|
57
|
+
"@mittwald/flow-remote-elements": "1.3.1",
|
|
58
58
|
"@mittwald/remote-dom-react": "1.2.2-mittwald.10",
|
|
59
59
|
"@types/react": "^19.2",
|
|
60
60
|
"react-error-boundary": "^6.1.3"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@internationalized/date": "^3.12.3",
|
|
64
|
-
"@mittwald/ext-bridge": "1.3.
|
|
65
|
-
"@mittwald/flow-core": "1.3.
|
|
66
|
-
"@mittwald/flow-remote-react-renderer": "1.3.
|
|
67
|
-
"@mittwald/typescript-config": "1.3.
|
|
64
|
+
"@mittwald/ext-bridge": "1.3.1",
|
|
65
|
+
"@mittwald/flow-core": "1.3.1",
|
|
66
|
+
"@mittwald/flow-remote-react-renderer": "1.3.1",
|
|
67
|
+
"@mittwald/typescript-config": "1.3.1",
|
|
68
68
|
"@quilted/threads": "^3.3.1",
|
|
69
69
|
"@tabler/icons-react": "^3.44.0",
|
|
70
70
|
"@types/node": "^25.9.3",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|
|
92
92
|
"@internationalized/date": "^3.12.2",
|
|
93
|
-
"@mittwald/ext-bridge": "1.3.
|
|
93
|
+
"@mittwald/ext-bridge": "1.3.1",
|
|
94
94
|
"react": "^19.2.0",
|
|
95
95
|
"react-hook-form": "^7.65.0"
|
|
96
96
|
},
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"optional": true
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "920f9a93b116dfe0b683cc84d5d9014cef62217b"
|
|
109
109
|
}
|