@praxisui/rich-content 9.0.0-beta.6 → 9.0.0-beta.60

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
@@ -19,7 +19,7 @@ npm i @praxisui/rich-content@latest
19
19
  Peer dependencies:
20
20
 
21
21
  - `@angular/common`, `@angular/core`, `@angular/forms` `^21.0.0`
22
- - `@praxisui/core` `^9.0.0-beta.4`
22
+ - `@praxisui/core` `^9.0.0-beta.12`
23
23
  - `rxjs` `~7.8.0`
24
24
 
25
25
  ## Minimal Renderer
@@ -123,7 +123,9 @@ The validator rejects unsupported document versions, unknown node types, unsafe
123
123
  }
124
124
  ```
125
125
 
126
- The editor supports structured block authoring, nested card/timeline/action collections, preset selection and advanced JSON for less common deep structures. Labels and validation messages use the rich-content i18n dictionary; override them with `providePraxisRichContentI18n()`.
126
+ 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.
127
+
128
+ 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()`.
127
129
 
128
130
  `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.
129
131
 
@@ -131,6 +133,8 @@ The editor supports structured block authoring, nested card/timeline/action coll
131
133
 
132
134
  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.
133
135
 
136
+ 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.
137
+
134
138
  ## Public API Snapshot
135
139
 
136
140
  Main exports include `PraxisRichContent`, `PraxisRichContentConfigEditor`, `RichContentPresetRegistryService`, `validateRichContentDocument`, `providePraxisRichContentMetadata`, rich-content i18n helpers, AI capabilities and `PRAXIS_RICH_CONTENT_AUTHORING_MANIFEST`.