@praxisui/page-builder 9.0.23 → 9.0.25
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 -1
- package/ai/component-registry.json +2 -2
- package/fesm2022/praxisui-page-builder.mjs +2195 -2071
- package/package.json +4 -4
- package/types/praxisui-page-builder.d.ts +19 -3
package/README.md
CHANGED
|
@@ -71,7 +71,8 @@ The persisted document remains `WidgetPageDefinition` from `@praxisui/core`. Pag
|
|
|
71
71
|
|
|
72
72
|
- `page`: `WidgetPageDefinition | string`
|
|
73
73
|
- `context`: runtime context shared with widgets and composition links
|
|
74
|
-
- `enableCustomization`: enables builder affordances
|
|
74
|
+
- `enableCustomization`: enables builder and child authoring affordances; when `false`, the same
|
|
75
|
+
runtime remains mounted in presentation mode without editing chrome
|
|
75
76
|
- `pageIdentity`: persistence identity used by governed config flows
|
|
76
77
|
- `componentInstanceId`: stable component instance id
|
|
77
78
|
- `componentPaletteAllowedWidgetIds`, `componentPaletteAllowedWidgetTags`, `componentPaletteAllowedPresetIds`
|
|
@@ -204,6 +205,8 @@ providers: [
|
|
|
204
205
|
|
|
205
206
|
The package exports `PRAXIS_PAGE_BUILDER_AUTHORING_MANIFEST` for governed operation discovery. The persisted runtime page is still `WidgetPageDefinition`; intermediate AI plans such as `UiCompositionPlan` must compile before preview, apply, or save.
|
|
206
207
|
|
|
208
|
+
The visual authoring runtime may project editor-only inputs required by canvas affordances. Page changes emitted by that runtime are normalized back to the canonical `WidgetPageDefinition` before persistence: transient authoring inputs are removed, explicitly authored values are preserved, and a projection-only no-op does not create a new revision.
|
|
209
|
+
|
|
207
210
|
`UiCompositionPlan` can carry the complete page-owned envelope required by the runtime: `i18n`, explicit `context`, canonical `layout`, state, presets, responsive variants, governed widget `shell`, component inputs and semantic wiring. The compiler clones these fields into `WidgetPageDefinition`; hosts must not add business copy, tenant context, layout or widget chrome after compilation as an undocumented enrichment step. `context` is page-wide runtime context, while `contextScopes` is an authoring shorthand that expands repeated values into explicit widget inputs and links.
|
|
208
211
|
|
|
209
212
|
Repeated selection projections can be authored once through `UiCompositionPlan.selectionSyncs`. A sync declares structured component-output sources, a base state target, and a field-to-payload mapping. `compileUiCompositionPlan` expands every source/mapping pair into explicit `page.composition.links` with stable ids, canonical `pick-path` transforms, policy, condition, and `selection-sync` intent. The shorthand is never persisted in `WidgetPageDefinition`, so runtime inspection and audit continue to see the complete executable graph.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-08-
|
|
3
|
+
"generatedAt": "2026-08-26T20:18:42.419Z",
|
|
4
4
|
"packageName": "@praxisui/page-builder",
|
|
5
|
-
"packageVersion": "9.0.
|
|
5
|
+
"packageVersion": "9.0.25",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|