@mittwald/flow-remote-react-components 1.1.26 → 1.1.28

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 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 — callbacks and event handlers work, including
98
- ones that return values.
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
@@ -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.1.26";
6
+ var packageVersion = "1.1.28";
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.1.26",
3
+ "version": "1.1.28",
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.1.26",
55
- "@mittwald/flow-remote-core": "1.1.26",
56
- "@mittwald/flow-remote-elements": "1.1.26",
54
+ "@mittwald/flow-react-components": "1.1.28",
55
+ "@mittwald/flow-remote-core": "1.1.28",
56
+ "@mittwald/flow-remote-elements": "1.1.28",
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.1.26",
64
- "@mittwald/flow-core": "1.1.26",
65
- "@mittwald/flow-remote-react-renderer": "1.1.26",
66
- "@mittwald/typescript-config": "1.1.26",
63
+ "@mittwald/ext-bridge": "1.1.28",
64
+ "@mittwald/flow-core": "1.1.28",
65
+ "@mittwald/flow-remote-react-renderer": "1.1.28",
66
+ "@mittwald/typescript-config": "1.1.28",
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.1.26",
92
+ "@mittwald/ext-bridge": "1.1.28",
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": "76f0ae2c5750965b7d0d2057dedecae70474c26f"
107
+ "gitHead": "620d70dc1c876b78cd6a7e693f79ce315088f757"
108
108
  }