@praxisui/rich-content 10.0.0-rc.62 → 10.0.0-rc.63
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
CHANGED
|
@@ -128,7 +128,7 @@ then resolves bindings and Json Logic without mutating the authored document.
|
|
|
128
128
|
}
|
|
129
129
|
```
|
|
130
130
|
|
|
131
|
-
The runtime supports semantic presentation nodes such as text, badges, icons, cards, callouts, key/value lists, stats, micro-visualizations (`type: 'microVisualization'`), tabs, timelines, lookup surfaces, record summaries, action cards, media blocks and presets. Use official docs for the full node vocabulary.
|
|
131
|
+
The runtime supports semantic presentation nodes such as text, badges, icons, cards, callouts, key/value lists, stats, micro-visualizations (`type: 'microVisualization'`, rendered via `<praxis-micro-visualization>` from `@praxisui/core/micro-visualization` delegating to `<praxis-micro-viz-host>`, with automatic Apache ECharts 6 delegation for all 6 vector/SVG kinds — `line`, `area`, `column`, `waterfall`, `radial`, and `harveyBall` — across all surfaces when `providePraxisCharts()` is registered, while structural HTML/CSS kinds keep `data-engine="primitive"`), tabs, timelines, lookup surfaces, record summaries, action cards, media blocks and presets. Use official docs for the full node vocabulary.
|
|
132
132
|
|
|
133
133
|
Relational and summary nodes can attach governed `ResourceQuickViewBinding` (`[praxisQuickView]`) so operators can inspect referenced entities in place without leaving the document surface:
|
|
134
134
|
- `recordReference` nodes (`data-testid="rich-record-reference-trigger"`) and `timeline` item/sub-item badges (`item.quickView`).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-25T21:40:24.177Z",
|
|
4
4
|
"packageName": "@praxisui/rich-content",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.63",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|
|
@@ -207,9 +207,10 @@ function validateNode(value, path, issues, state, depth) {
|
|
|
207
207
|
validateOptionalBoolean(value, 'showPercent', path, issues);
|
|
208
208
|
break;
|
|
209
209
|
case 'microVisualization':
|
|
210
|
-
validateEnum(value, 'kind', ['line', 'area', 'column', 'comparison', 'stackedBar', 'radial', 'harveyBall', 'bullet', 'delta', 'processFlow'], path, issues, false);
|
|
210
|
+
validateEnum(value, 'kind', ['line', 'area', 'column', 'waterfall', 'comparison', 'stackedBar', 'radial', 'harveyBall', 'bullet', 'delta', 'processFlow'], path, issues, false);
|
|
211
211
|
validateOptionalExpressionPath(value, 'visualizationExpr', path, issues);
|
|
212
212
|
validateOptionalExpressionPath(value, 'pointsExpr', path, issues);
|
|
213
|
+
validateOptionalExpressionPath(value, 'itemsExpr', path, issues);
|
|
213
214
|
validateOptionalExpressionPath(value, 'valueExpr', path, issues);
|
|
214
215
|
validateOptionalExpressionPath(value, 'targetExpr', path, issues);
|
|
215
216
|
if (value['visualization'] !== undefined) {
|
|
@@ -219,7 +220,7 @@ function validateNode(value, path, issues, state, depth) {
|
|
|
219
220
|
else {
|
|
220
221
|
const viz = value['visualization'];
|
|
221
222
|
const vizPath = `${path}.visualization`;
|
|
222
|
-
validateEnum(viz, 'kind', ['line', 'area', 'column', 'comparison', 'stackedBar', 'radial', 'harveyBall', 'bullet', 'delta', 'processFlow'], vizPath, issues, value['kind'] === undefined);
|
|
223
|
+
validateEnum(viz, 'kind', ['line', 'area', 'column', 'waterfall', 'comparison', 'stackedBar', 'radial', 'harveyBall', 'bullet', 'delta', 'processFlow'], vizPath, issues, value['kind'] === undefined);
|
|
223
224
|
validateEnum(viz, 'surface', ['table-cell', 'list-item', 'object-header', 'card-summary', 'form-presentation'], vizPath, issues, false);
|
|
224
225
|
validateEnum(viz, 'size', ['xs', 'sm', 'md', 'lg', 'responsive'], vizPath, issues, false);
|
|
225
226
|
validateEnum(viz, 'scaleScope', ['row', 'page'], vizPath, issues, false);
|