@praxisui/rich-content 10.0.0-rc.44 → 10.0.0-rc.45
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 +21 -2
- package/ai/component-registry.json +1682 -80
- package/fesm2022/praxisui-rich-content-validation.mjs +177 -57
- package/fesm2022/praxisui-rich-content.mjs +2081 -456
- package/package.json +2 -2
- package/types/praxisui-rich-content.d.ts +86 -11
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, 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'`), 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`).
|
|
@@ -249,7 +249,26 @@ Horizontal cards (`orientation: 'horizontal'`) automatically stack media and con
|
|
|
249
249
|
|
|
250
250
|
## Presets
|
|
251
251
|
|
|
252
|
-
Use `PRAXIS_RICH_BLOCK_PRESETS` for host-governed preset registries. `providePraxisDefaultRichBlockPresets()` publishes a small starter set, and component metadata exposes insertion presets for page-builder-style hosts.
|
|
252
|
+
Use `PRAXIS_RICH_BLOCK_PRESETS` for host-governed preset registries. `providePraxisDefaultRichBlockPresets()` publishes a small starter set (including `praxis.rich-content:record-summary-telemetry@1.0.0` for Quick View 360° telemetry), and component metadata exposes insertion presets for page-builder-style hosts.
|
|
253
|
+
|
|
254
|
+
```json
|
|
255
|
+
{
|
|
256
|
+
"type": "microVisualization",
|
|
257
|
+
"kind": "bullet",
|
|
258
|
+
"visualization": {
|
|
259
|
+
"kind": "bullet",
|
|
260
|
+
"surface": "card-summary",
|
|
261
|
+
"valueExpr": "= coalesce(row.value, 0)",
|
|
262
|
+
"targetExpr": "= coalesce(row.target, 100)",
|
|
263
|
+
"totalExpr": "= coalesce(row.total, 100)",
|
|
264
|
+
"tone": "info",
|
|
265
|
+
"legend": true,
|
|
266
|
+
"stepLabelWidth": 88,
|
|
267
|
+
"stepLabelLineClamp": 2,
|
|
268
|
+
"fallbackText": "Telemetry"
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
```
|
|
253
272
|
|
|
254
273
|
The component metadata also includes an enterprise `corporate-information-surface` insertion preset for SAP-like record details. It combines record summary, KPIs, dates, currency-like values, notes/lists, progress, timeline, decision package and host-mediated actions using the existing `RichContentDocument` vocabulary.
|
|
255
274
|
|