@praxisui/expansion 9.0.3 → 9.0.4-rc.2

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
@@ -129,9 +129,40 @@ When `expansionId` is provided, configuration is stored under a key derived from
129
129
 
130
130
  `PRAXIS_EXPANSION_AUTHORING_MANIFEST` describes supported AI/tooling operations for panel add/remove/order, titles, descriptions, icons, disabled state, default expanded state, multi-expand behavior and panel content. Free JSON patches are not the public authoring contract.
131
131
 
132
+ ## Table Detail Resource Resolver
133
+
134
+ `PraxisTable` uses the canonical `PRAXIS_TABLE_DETAIL_RESOURCE_RESOLVER` DI token when a row-detail source is configured with `mode: 'resource'`. The provider resolves a governed document from its `kind`, `id` and `version`; it does not execute actions or decide business intent.
135
+
136
+ ```ts
137
+ import {
138
+ PRAXIS_TABLE_DETAIL_RESOURCE_RESOLVER,
139
+ type TableDetailResourceResolver,
140
+ } from '@praxisui/core';
141
+
142
+ const tableDetailResourceResolver: TableDetailResourceResolver = async (request) => ({
143
+ schema: await loadGovernedDocument(
144
+ request.resource.kind,
145
+ request.resource.id,
146
+ request.resource.version,
147
+ request.context,
148
+ ),
149
+ });
150
+
151
+ export const appConfig = {
152
+ providers: [
153
+ {
154
+ provide: PRAXIS_TABLE_DETAIL_RESOURCE_RESOLVER,
155
+ useValue: tableDetailResourceResolver,
156
+ },
157
+ ],
158
+ };
159
+ ```
160
+
161
+ Without that provider, resource-backed table details remain fail-closed. Inline, same-origin `resourcePath`, and hypermedia sources retain their respective table contracts.
162
+
132
163
  ## Public API Snapshot
133
164
 
134
- Main exports include `PraxisExpansion`, `ExpansionMetadata`, `PanelMetadata`, `PraxisExpansionConfigEditor`, `PraxisExpansionWidgetConfigEditor`, `providePraxisExpansionMetadata`, `providePraxisExpansionDefaults`, AI capability metadata and `PRAXIS_EXPANSION_AUTHORING_MANIFEST`.
165
+ Main exports include `PraxisExpansion`, `ExpansionMetadata`, `PanelMetadata`, `PraxisExpansionConfigEditor`, `PraxisExpansionWidgetConfigEditor`, `providePraxisExpansionMetadata`, `providePraxisExpansionDefaults`, AI capability metadata and `PRAXIS_EXPANSION_AUTHORING_MANIFEST`. Table detail resolver contracts are exported by `@praxisui/core`.
135
166
 
136
167
  ## Official Links
137
168
 
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-07-28T00:59:00.108Z",
3
+ "generatedAt": "2026-07-31T10:13:34.390Z",
4
4
  "packageName": "@praxisui/expansion",
5
- "packageVersion": "9.0.3",
5
+ "packageVersion": "9.0.4-rc.2",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 1,
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@praxisui/expansion",
3
- "version": "9.0.3",
3
+ "version": "9.0.4-rc.2",
4
4
  "description": "Expansion panel (accordion) components for Praxis UI with metadata configuration and editor integration.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0",
7
7
  "@angular/core": "^21.0.0",
8
8
  "@angular/material": "^21.0.0",
9
9
  "@angular/cdk": "^21.0.0",
10
- "@praxisui/core": "^9.0.3",
11
- "@praxisui/dynamic-fields": "^9.0.3",
12
- "@praxisui/settings-panel": "^9.0.3",
10
+ "@praxisui/core": "^9.0.4-rc.2",
11
+ "@praxisui/dynamic-fields": "^9.0.4-rc.2",
12
+ "@praxisui/settings-panel": "^9.0.4-rc.2",
13
13
  "@angular/forms": "^21.0.0",
14
14
  "@angular/router": "^21.0.0",
15
- "@praxisui/ai": "^9.0.3",
15
+ "@praxisui/ai": "^9.0.4-rc.2",
16
16
  "rxjs": "~7.8.0"
17
17
  },
18
18
  "dependencies": {