@mittwald/flow-react-components 1.7.0-next.4 → 1.7.0-next.5
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 +6 -7
- package/dist/assets/component-index.json +1 -1
- package/dist/assets/doc-properties.json +1 -1
- package/dist/js/packages/components/src/components/Legend/Legend.mjs +5 -3
- package/dist/js/packages/components/src/components/Legend/Legend.mjs.map +1 -1
- package/dist/js/packages/components/src/components/OverlayTrigger/components/DialogTrigger/DialogTrigger.mjs +1 -4
- package/dist/js/packages/components/src/components/OverlayTrigger/components/DialogTrigger/DialogTrigger.mjs.map +1 -1
- package/dist/js/packages/components/src/components/propTypes/index.mjs +1 -0
- package/dist/js/packages/components/src/components/propTypes/index.mjs.map +1 -1
- package/dist/types/components/Legend/Legend.d.ts +5 -3
- package/dist/types/components/OverlayTrigger/components/DialogTrigger/DialogTrigger.d.ts +1 -4
- package/dist/types/components/propTypes/index.d.ts +2 -0
- package/package.json +10 -10
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
|
-
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
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
|