@mittwald/flow-react-components 1.1.0-next.3 → 1.1.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 CHANGED
@@ -353,6 +353,13 @@ Easy-to-miss conventions not spelled out above. Full details and examples in
353
353
  - **CSS leans on modern relational/low-specificity selectors** — `:has`,
354
354
  `:where`, logical properties, data attributes, and container boundaries reduce
355
355
  the need for runtime styling props.
356
+ - **Foreign SVGs go through `Icon`** — a Tabler icon or a custom SVG placed
357
+ straight into a host that styles its icon slot (`Button` and `Combine` select
358
+ on `:has(.icon)`; eleven components set `Icon` defaults through
359
+ `PropsContext`) never gets the `flow--icon` class, so icon sizing and
360
+ icon-only padding silently do not apply. Wrap it — `<Icon><IconFoo /></Icon>`
361
+ — as the [Icon page](https://flow.mittwald.de/04-components/content/icon)
362
+ documents. Nothing errors: types, lint and the console stay clean.
356
363
  - **Universal exports are deliberately explicit** — remote-safe values and their
357
364
  types are curated in `flr-universal.ts` independently of the main public
358
365
  surface; adding to `public.ts` does not add them there.