@mittwald/flow-react-components 1.2.0-next.65 → 1.2.0-next.67

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
@@ -136,6 +136,12 @@ return (
136
136
  `@flr-generate`, so a remote tree reaches the host as a `DialogTrigger` with
137
137
  no `OverlayTrigger` around it — which is why `DialogTrigger` pins the button
138
138
  itself as well.
139
+ - **A context that places a bare overlay gets the written-out trigger for
140
+ free.** `Badge` accepts a `ContextualHelp` on its own and wraps it with a
141
+ trigger button (`tunnel` + `wrapWith`). `OverlayTrigger` pins its own overlay
142
+ with `tunnel: null, wrapWith: null`, so a `ContextualHelpTrigger` the consumer
143
+ wrote keeps its help and its button — tunnel the trigger as well and style its
144
+ `Button` through the context, and both spellings land in the same slot.
139
145
 
140
146
  Why this works the way it does across the remote boundary:
141
147
  [docs/remote-ui.md](https://github.com/mittwald/flow/blob/main/docs/remote-ui.md).