@mittwald/flow-react-components 1.0.5 → 1.0.7
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 +12 -5
- package/CHANGELOG.md +12 -0
- package/dist/assets/doc-properties.json +89334 -89334
- package/dist/css/all-layered.css +1 -1
- package/dist/css/all.css +1 -1
- package/dist/js/packages/components/src/components/Button/Button.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Table/Table.mjs +1 -1
- package/dist/js/packages/components/src/components/List/components/Table/Table.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Table/Table.module.mjs +1 -3
- package/dist/js/packages/components/src/components/List/components/Table/Table.module.mjs.map +1 -1
- package/dist/types/components/Button/Button.d.ts +6 -1
- package/dist/types/components/Button/Button.d.ts.map +1 -1
- package/dist/types/components/List/components/Table/Table.d.ts.map +1 -1
- package/package.json +10 -10
package/AGENTS.md
CHANGED
|
@@ -148,15 +148,18 @@ Remote generation details:
|
|
|
148
148
|
`AdaptChild*EventHandler<any, ReactElement<…>>` type every event prop carries
|
|
149
149
|
is not swept in). What it cannot convert is a **function returning** rendered
|
|
150
150
|
output, because the host has to call it: that needs an eager slot or
|
|
151
|
-
`@flr-ignore-props`. `checkSerializableProps`
|
|
152
|
-
|
|
151
|
+
`@flr-ignore-props`. `checkSerializableProps` **fails generation** on any such
|
|
152
|
+
prop, so a new one cannot ship.
|
|
153
153
|
- `@flr-ignore-props` excludes props that must not cross the remote boundary —
|
|
154
154
|
either because they cannot be serialized, or because they could do **too much
|
|
155
155
|
on the host side**. A global ignore list lives in
|
|
156
156
|
`dev/remote-components-generator/config.ts`: `style` and
|
|
157
157
|
`dangerouslySetInnerHTML` are always ignored for safety; `ref`, `controller`,
|
|
158
|
-
`tunnel`, `key`, `children`, `wrapWith` because they don't serialize
|
|
159
|
-
|
|
158
|
+
`tunnel`, `key`, `children`, `wrapWith` because they don't serialize; and
|
|
159
|
+
`renderEmptyState` plus react-aria's `render` because the host would call them
|
|
160
|
+
and get rendered output back — neither was ever a deliberate Flow API, and
|
|
161
|
+
both cost the whole mutation batch when they were tried. Use the per-component
|
|
162
|
+
tag for additional cases (see `TunnelEntry.tsx`).
|
|
160
163
|
- After changing props of an `@flr-generate` component:
|
|
161
164
|
`pnpm nx build:remote-components components` and **commit** the results
|
|
162
165
|
(view.ts, `src/views/*`, `remote-*/src/auto-generated/**`).
|
|
@@ -282,7 +285,11 @@ to zero components.
|
|
|
282
285
|
|
|
283
286
|
Prop JSDoc feeds the generated `doc-properties.json` and the docs site: write
|
|
284
287
|
doc comments on public props, use `@default` for defaults and `@internal` for
|
|
285
|
-
props to hide.
|
|
288
|
+
props to hide. A deprecated **value** of a still-current prop — `Button`'s
|
|
289
|
+
`color="accent"` — is listed with `@deprecatedValues accent` (comma-separated
|
|
290
|
+
for several) and drops out of the properties table, so the table only offers
|
|
291
|
+
values that should still be used. The value stays in the prop's type and keeps
|
|
292
|
+
working; the runtime warns via `useWarnDeprecation` as usual.
|
|
286
293
|
|
|
287
294
|
## Misc
|
|
288
295
|
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.0.7](https://github.com/mittwald/flow/compare/1.0.6...1.0.7) (2026-08-28)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **Table:** will not render in remote ([#2966](https://github.com/mittwald/flow/issues/2966)) ([22929f4](https://github.com/mittwald/flow/commit/22929f4df80ac864921dd889c46af411ef582517))
|
|
11
|
+
|
|
12
|
+
## [1.0.6](https://github.com/mittwald/flow/compare/1.0.5...1.0.6) (2026-08-27)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **docs:** hide deprecated values from the properties table ([#2960](https://github.com/mittwald/flow/issues/2960)) ([eaa0349](https://github.com/mittwald/flow/commit/eaa03497fda2fd0aded933776f464eeed0c9aef3))
|
|
17
|
+
|
|
6
18
|
## [1.0.5](https://github.com/mittwald/flow/compare/1.0.4...1.0.5) (2026-08-27)
|
|
7
19
|
|
|
8
20
|
### Bug Fixes
|