@praxisui/rich-content 9.0.68-rc.3 → 10.0.0-rc.3

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
@@ -93,6 +93,8 @@ Use the `pageHeader` semantic node for a functionality opening rather than styli
93
93
  - `relatedLinks` contains ordinary `link` nodes, never fabricated action IDs. Author real destinations and required context in the URL. The editor currently accepts registered action IDs and URLs; it does not provide a routing catalog or invent application routes.
94
94
 
95
95
  The opening owns page-wide identity and actions. Keep filters and table-specific commands in the table, and avoid duplicate actions. Blank optional regions are omitted. Existing cards remain cards; migration to a page header is explicit.
96
+ `rootClassName` accepts only whitespace-separated CSS class tokens. The config editor blocks invalid values, and the runtime ignores an unsafe value if an untrusted document bypasses authoring validation.
97
+ Composite hosts can apply the same policy before persistence through the exported `isSafeRichContentClassName` predicate; document content continues to use `validateRichContentDocument`.
96
98
 
97
99
  ## Page Builder Integration
98
100
 
@@ -164,7 +166,7 @@ The validator rejects unsupported document versions, unknown node types, unsafe
164
166
 
165
167
  The editor separates authoring into guided editing, preview and advanced JSON tabs. Guided editing keeps the document structure visible while document-level context (`context.scopes`, `context.aliases`) and the selected block expose focused controls. The advanced data/rule section surfaces canonical bindings and JsonLogic fields (`bindings`, `disabledWhen`, `loadWhen`, `classWhen`, `styleWhen`) as focused JSON editors, validates them before apply/save, and keeps the full document JSON synchronized. Preview renders the materialized document without mixing authoring fields, and advanced JSON remains available for diagnostics, migration and less common deep structures.
166
168
 
167
- The editor supports structured block authoring, nested card/timeline/action collections, preset selection, validation badges and advanced JSON for less common deep structures. Labels and validation messages use the rich-content i18n dictionary; override them with `providePraxisRichContentI18n()`.
169
+ The editor supports structured block authoring, nested card/timeline/action collections, preset selection, validation badges and advanced JSON for less common deep structures. A card body can contain a guided `compose` block, allowing icons, labels, badges, metrics, progress and action buttons bound to several record fields to be arranged in a row or column with governed spacing and wrapping. Labels and validation messages use the rich-content i18n dictionary; override them with `providePraxisRichContentI18n()`.
168
170
 
169
171
  `PRAXIS_RICH_CONTENT_AUTHORING_MANIFEST` describes governed AI/tooling operations for document replacement, block add/remove/order, text updates, link nodes, media blocks, timeline nodes/items, presets, metadata and sanitization policy. Rich content authoring is structured JSON, not arbitrary HTML or markdown patches.
170
172
 
@@ -185,3 +187,10 @@ Main exports include `PraxisRichContent`, `PraxisRichContentConfigEditor`, `Rich
185
187
  - Quickstart app: https://github.com/codexrodrigues/praxis-ui-quickstart
186
188
 
187
189
  Guided validation keeps an empty required title as a repairable draft, marks the title field with its semantic error, and blocks saving/unsafe preview. The title keeps a stable accessible name; errors are associated descriptions. “Invalid document” identifies schema errors, while “Invalid JSON” is reserved for JSON syntax errors.
190
+
191
+ <!-- praxis-npm-catalog-links:start -->
192
+ ## Official documentation and examples
193
+
194
+ - [Canonical technical overview: Overview](https://praxisui.dev/docs/components/praxis-rich-content)
195
+ - [Praxis Angular public catalog](https://praxisui.dev/angular)
196
+ <!-- praxis-npm-catalog-links:end -->