@mittwald/flow-react-components 1.6.8 → 1.6.9

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 CHANGED
@@ -180,13 +180,12 @@ Why this works the way it does across the remote boundary:
180
180
  Remote generation details:
181
181
 
182
182
  - `@flr-generate all` on the component const marks it for generation.
183
- - `@flr-provider` carries a `flowComponent`'s `type: "provider"` over to the
184
- generated remote component. Without it the remote element is created as a
185
- `"ui"` component and wrapped in a `ClearPropsContext` — which drops every
186
- props context a provider around it just set. It only matters where the
187
- provider actually runs inside the remote tree, i.e. where the component that
188
- renders it is not itself `@flr-generate` (`ModalTrigger` → `OverlayTrigger` →
189
- `DialogTriggerView`).
183
+ - The generated remote component takes the `type` of the local
184
+ `flowComponent(…, { type })` call (`provisionTypeOf`), so write it as a string
185
+ literal — the generator fails otherwise. Created as `"ui"`, a remote
186
+ `"layout"` or `"provider"` component would wrap itself in a
187
+ `ClearPropsContext` and cut every props context a remote composition (`Modal`,
188
+ `List`, …) or a provider around it set.
190
189
  - **A prop that carries rendered output has to be a slot, not a property.** A
191
190
  remote property is transported as data, and a React element carries
192
191
  `$$typeof: Symbol(react.…)` — `postMessage` refuses symbols and rejects the