@mittwald/flow-react-components 1.0.1 → 1.0.3
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/AGENTS.md +11 -0
- package/CHANGELOG.md +15 -1
- package/dist/assets/doc-properties.json +4092 -4092
- package/dist/css/all-layered.css +1 -1
- package/dist/css/all.css +1 -1
- package/dist/js/packages/components/src/components/Breadcrumb/Breadcrumb.module.mjs.map +1 -1
- package/dist/js/packages/components/src/components/CodeBlock/CodeBlock.module.mjs.map +1 -1
- package/dist/js/packages/components/src/components/CodeEditor/hooks/useCodeEditorExtensions.mjs +8 -1
- package/dist/js/packages/components/src/components/CodeEditor/hooks/useCodeEditorExtensions.mjs.map +1 -1
- package/dist/js/packages/components/src/components/CodeEditor/themes/defaultEditorTheme.mjs +2 -1
- package/dist/js/packages/components/src/components/CodeEditor/themes/defaultEditorTheme.mjs.map +1 -1
- package/dist/js/packages/design-tokens/dist/json/all-dark.mjs +32 -0
- package/dist/js/packages/design-tokens/dist/json/all-dark.mjs.map +1 -1
- package/dist/js/packages/design-tokens/dist/json/all-light.mjs +32 -0
- package/dist/js/packages/design-tokens/dist/json/all-light.mjs.map +1 -1
- package/dist/types/components/CodeEditor/themes/defaultEditorTheme.d.ts.map +1 -1
- package/dist/types/lib/theming/hooks/useDesignTokens.d.ts +32 -0
- package/dist/types/lib/theming/hooks/useDesignTokens.d.ts.map +1 -1
- package/package.json +9 -9
package/AGENTS.md
CHANGED
|
@@ -139,6 +139,17 @@ Why this works the way it does across the remote boundary:
|
|
|
139
139
|
Remote generation details:
|
|
140
140
|
|
|
141
141
|
- `@flr-generate all` on the component const marks it for generation.
|
|
142
|
+
- **A prop that carries rendered output has to be a slot, not a property.** A
|
|
143
|
+
remote property is transported as data, and a React element carries
|
|
144
|
+
`$$typeof: Symbol(react.…)` — `postMessage` refuses symbols and rejects the
|
|
145
|
+
whole message, so one such prop drops the entire mutation batch and the
|
|
146
|
+
extension renders nothing. `isSlot` recognises `ReactNode` and `ReactElement`
|
|
147
|
+
(instantiated too — the match is anchored so the
|
|
148
|
+
`AdaptChild*EventHandler<any, ReactElement<…>>` type every event prop carries
|
|
149
|
+
is not swept in). What it cannot convert is a **function returning** rendered
|
|
150
|
+
output, because the host has to call it: that needs an eager slot or
|
|
151
|
+
`@flr-ignore-props`. `checkSerializableProps` reports the offenders on every
|
|
152
|
+
generator run.
|
|
142
153
|
- `@flr-ignore-props` excludes props that must not cross the remote boundary —
|
|
143
154
|
either because they cannot be serialized, or because they could do **too much
|
|
144
155
|
on the host side**. A global ignore list lives in
|
package/CHANGELOG.md
CHANGED
|
@@ -3,9 +3,23 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.0.3](https://github.com/mittwald/flow/compare/1.0.2...1.0.3) (2026-08-27)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **CodeBlock:** balance the padding and unify the editor line colors ([#2945](https://github.com/mittwald/flow/issues/2945)) ([6bf57c7](https://github.com/mittwald/flow/commit/6bf57c7c50e4c05ba504df74f4941aa7fdd95809))
|
|
11
|
+
|
|
12
|
+
## [1.0.2](https://github.com/mittwald/flow/compare/1.0.1...1.0.2) (2026-08-26)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **Remote:** serialization allows duplicate object references ([#2947](https://github.com/mittwald/flow/issues/2947)) ([ac3ef26](https://github.com/mittwald/flow/commit/ac3ef26cc8b0c0dcc5d84b6181a5fbbccc8863ba))
|
|
17
|
+
|
|
6
18
|
## [1.0.1](https://github.com/mittwald/flow/compare/1.0.0...1.0.1) (2026-08-26)
|
|
7
19
|
|
|
8
|
-
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **Breadcrumb:** fix cursor pointer for spans with role link ([#2943](https://github.com/mittwald/flow/issues/2943)) ([d44d61c](https://github.com/mittwald/flow/commit/d44d61cb83f4ebcb95fee10480e2db8c3d55471a))
|
|
9
23
|
|
|
10
24
|
## [1.0.0](https://github.com/mittwald/flow/compare/0.2.0-alpha.1058...1.0.0) (2026-08-26)
|
|
11
25
|
|