@onereach/idw-ui-components 0.8.0-beta.86.0 → 0.8.0-beta.89.0
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/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ pnpm add @onereach/idw-ui-components
|
|
|
20
20
|
|
|
21
21
|
`CardRenderer` accepts `{ card }` with either `idw.card/1.0` or `idw.json-render/1.0`, and `{ templateId, data, renderer? }`. Templates use JSON-render by default; `renderer: 'idw-card'` selects the original renderer. Stored documents select their own format by `schema`.
|
|
22
22
|
|
|
23
|
-
The JSON-render 0.22.0 Vue registry delegates validated subtrees to the same recursive `IdwCardElementView` and `IdwCardActionBar` used by the original renderer. It adds no presentation CSS and preserves Container/ColumnSet layout, including shared-row grid alignment. Both formats support the complete IDW component catalog and share required-field validation, form values, visibility, completed actions, nested show-card handling, host theme and emitted action events. Action side effects remain host-owned. JSON-render layouts use native child references, including structural Column nodes; the registry adapts the canonical subtree to existing component props at the rendering boundary. Stored documents remain native graphs. Zod 4 is local to the JSON-render runtime; contracts retain Zod 3.
|
|
23
|
+
The JSON-render 0.22.0 Vue registry delegates validated subtrees to the same recursive `IdwCardElementView` and `IdwCardActionBar` used by the original renderer. It adds no presentation CSS and preserves Container/ColumnSet layout, including shared-row grid alignment. Both formats support the complete IDW component catalog and share required-field validation, form values, visibility, completed actions, nested show-card handling, host theme and emitted action events. Action side effects remain host-owned. JSON-render layouts use native child references, including structural Column nodes; the registry adapts the canonical subtree to existing component props at the rendering boundary. Stored documents remain native graphs. During streaming, the contracts preview helper retains declared positions as empty Text slots until safe content is available; this keeps ColumnSet row selection and child identities stable as leaves arrive. Empty slots do not estimate the eventual height of controls or embeds. Zod 4 is local to the JSON-render runtime; contracts retain Zod 3.
|
|
24
24
|
|
|
25
25
|
`resolveCardRendererSource` returns both the validated `document` and its canonical `card` projection. Hosts persisting a source must use `document`. See the [contracts package](../contracts/README.md#idw-cards) for schema discovery and graph restrictions.
|
|
26
26
|
|