@mittwald/flow-react-components 1.5.0-next.27 → 1.5.0-next.29

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
@@ -263,7 +263,13 @@ if ("action" in props) {
263
263
  the committed `*.module.d.scss.ts` stubs declare, run through the build's own
264
264
  `cssModuleClassNameGenerator`. The reference has to name a class some
265
265
  component actually generates — otherwise the selector matches nothing, which
266
- used to fail without a single signal anywhere.
266
+ used to fail without a single signal anywhere. Its ESLint twin
267
+ `flow/no-unknown-flow-class` (`dev/eslint/`) checks hardcoded `flow--…` names
268
+ in `src/**` TS/TSX strings — `className`s, `querySelector`s, test assertions —
269
+ against the same set (`dev/flowClassNames/`). A runtime-built prefix
270
+ (`` `flow--button--${color}` ``) passes if a known class starts with it; a
271
+ test asserting a removed class stays absent needs an
272
+ `eslint-disable-next-line` with the reason.
267
273
  - **`styles` is precisely typed** by generated `*.module.d.scss.ts` stubs (a
268
274
  committed generated artifact — see the root
269
275
  [Generated code](https://github.com/mittwald/flow/blob/main/AGENTS.md#generated-code--must-be-committed)