@threadplane/render 0.0.54 → 0.0.56
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 +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,17 +17,19 @@
|
|
|
17
17
|
## What it does
|
|
18
18
|
|
|
19
19
|
- Renders a JSON spec tree to Angular components via a named view registry (`<render-spec>`) or a single node (`<render-element>`).
|
|
20
|
-
- Registry composition utilities (`views`, `withViews`, `withoutViews`) let you build, extend, and trim registries without mutation.
|
|
20
|
+
- Registry composition utilities (`views`, `withViews`, `overrideViews`, `withoutViews`) let you build, extend, replace, and trim registries without mutation.
|
|
21
21
|
- Signal-based state store (`signalStateStore`) and per-component fallback support keep UI consistent during streaming.
|
|
22
22
|
|
|
23
23
|
## Install
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
npm install @threadplane/render
|
|
26
|
+
npm install @threadplane/render @json-render/core
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
**Peer dependencies:** `@angular/core ^20.0.0 || ^21.0.0`, `@angular/common ^20.0.0 || ^21.0.0`, `@json-render/core ^0.16.0`
|
|
30
30
|
|
|
31
|
+
`@json-render/core` supplies the spec types and evaluation engine that `@threadplane/render` adapts to Angular.
|
|
32
|
+
|
|
31
33
|
## Quick start
|
|
32
34
|
|
|
33
35
|
**1. Define your view registry and provide it.**
|