@onereach/idw-ui-components 0.7.1 → 0.7.2
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/dist/cjs/index.js +11 -11
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +358 -337
- package/dist/esm/index.js.map +1 -1
- package/dist/types/idw-card/renderer/CardRenderer.vue.d.ts.map +1 -1
- package/dist/types/idw-card/renderer/JsonCardBody.vue.d.ts +2 -1
- package/dist/types/idw-card/renderer/JsonCardBody.vue.d.ts.map +1 -1
- package/package.json +3 -3
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 to the same `IdwCardElementView` and `IdwCardActionBar` used by the original renderer. It adds no presentation CSS. Both formats
|
|
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.
|
|
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
|
|