@mittwald/flow-react-components 1.1.0-next.1 → 1.1.0-next.11
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 +7 -0
- package/MIGRATION.md +389 -144
- package/README.md +2 -1
- package/USAGE.md +2 -1
- package/dist/assets/component-index.json +1 -1
- package/dist/assets/doc-properties.json +1 -1
- package/dist/css/all-layered.css +1 -1
- package/dist/css/all.css +1 -1
- package/dist/js/packages/components/src/components/Modal/Modal.mjs +5 -1
- package/dist/js/packages/components/src/components/Modal/Modal.mjs.map +1 -1
- package/dist/js/packages/components/src/components/Modal/Modal.module.mjs +3 -1
- package/dist/js/packages/components/src/components/Modal/Modal.module.mjs.map +1 -1
- package/dist/types/components/MarkdownEditor/stories/Default.stories.d.ts.map +1 -1
- package/dist/types/components/Modal/Modal.d.ts.map +1 -1
- package/package.json +9 -9
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.
|