@mittwald/flow-remote-react-components 1.2.0-next.31 → 1.2.0-next.32
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 +7 -2
- package/dist/js/version.mjs +1 -1
- package/package.json +10 -10
package/USAGE.md
CHANGED
|
@@ -94,8 +94,13 @@ Props are serialized with `FlowThreadSerialization`
|
|
|
94
94
|
([remote-core](https://github.com/mittwald/flow/blob/main/packages/remote-core/src/serialization/FlowThreadSerialization.ts)).
|
|
95
95
|
Worth knowing before you design a prop payload:
|
|
96
96
|
|
|
97
|
-
- **Functions cross** as proxies
|
|
98
|
-
|
|
97
|
+
- **Functions cross** as proxies, but **their return value does not come back
|
|
98
|
+
synchronously.** Calling a proxy is a round trip, so the host receives a
|
|
99
|
+
Promise. Event handlers are unaffected — nothing reads what they return. A
|
|
100
|
+
formatter or predicate only works where the component awaits it:
|
|
101
|
+
`ChartTooltip`'s formatters may return `Promise<string> | string`, while
|
|
102
|
+
`XAxis`/`YAxis` `tickFormatter` is excluded from the remote surface entirely.
|
|
103
|
+
Format the values in your `data` instead.
|
|
99
104
|
- **`Date`, `File`, `FileList`, `FormData`** and dragged text have dedicated
|
|
100
105
|
serializers and arrive intact. So do `Map`, `Set` and arrays.
|
|
101
106
|
- **`HTMLElement` and `window` are dropped to `null`.** There is no DOM to hand
|
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.2.0-next.
|
|
6
|
+
var packageVersion = "1.2.0-next.32";
|
|
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.2.0-next.
|
|
3
|
+
"version": "1.2.0-next.32",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React components that can be used in a remote environment",
|
|
6
6
|
"homepage": "https://flow.mittwald.de",
|
|
@@ -51,19 +51,19 @@
|
|
|
51
51
|
"test:visual:update": "vitest run --project=visual --browser.headless --update"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@mittwald/flow-react-components": "1.2.0-next.
|
|
55
|
-
"@mittwald/flow-remote-core": "1.2.0-next.
|
|
56
|
-
"@mittwald/flow-remote-elements": "1.2.0-next.
|
|
54
|
+
"@mittwald/flow-react-components": "1.2.0-next.32",
|
|
55
|
+
"@mittwald/flow-remote-core": "1.2.0-next.32",
|
|
56
|
+
"@mittwald/flow-remote-elements": "1.2.0-next.32",
|
|
57
57
|
"@mittwald/remote-dom-react": "1.2.2-mittwald.10",
|
|
58
58
|
"@types/react": "^19.2",
|
|
59
59
|
"react-error-boundary": "^6.1.3"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@internationalized/date": "^3.12.3",
|
|
63
|
-
"@mittwald/ext-bridge": "1.2.0-next.
|
|
64
|
-
"@mittwald/flow-core": "1.2.0-next.
|
|
65
|
-
"@mittwald/flow-remote-react-renderer": "1.2.0-next.
|
|
66
|
-
"@mittwald/typescript-config": "1.2.0-next.
|
|
63
|
+
"@mittwald/ext-bridge": "1.2.0-next.32",
|
|
64
|
+
"@mittwald/flow-core": "1.2.0-next.32",
|
|
65
|
+
"@mittwald/flow-remote-react-renderer": "1.2.0-next.32",
|
|
66
|
+
"@mittwald/typescript-config": "1.2.0-next.32",
|
|
67
67
|
"@quilted/threads": "^3.3.1",
|
|
68
68
|
"@tabler/icons-react": "^3.44.0",
|
|
69
69
|
"@types/node": "^25.9.3",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
91
|
"@internationalized/date": "^3.12.2",
|
|
92
|
-
"@mittwald/ext-bridge": "1.2.0-next.
|
|
92
|
+
"@mittwald/ext-bridge": "1.2.0-next.32",
|
|
93
93
|
"react": "^19.2.0",
|
|
94
94
|
"react-hook-form": "^7.65.0"
|
|
95
95
|
},
|
|
@@ -104,5 +104,5 @@
|
|
|
104
104
|
"optional": true
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "700682e85a2e415f03f6b2fdfad1351dcf7f69b0"
|
|
108
108
|
}
|