@praxisui/table 9.0.0-beta.33 → 9.0.0-beta.34
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 +16 -0
- package/ai/component-registry.json +139 -13
- package/fesm2022/{praxisui-table-praxisui-table-EYby6Zvn.mjs → praxisui-table-praxisui-table-DUEQRJTo.mjs} +553 -63
- package/fesm2022/{praxisui-table-table-ai.adapter-Bh0faxuI.mjs → praxisui-table-table-ai.adapter-CXzxP88Y.mjs} +26 -1
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/src/lib/praxis-table.json-api.md +3 -2
- package/types/praxisui-table.d.ts +35 -6
package/README.md
CHANGED
|
@@ -87,6 +87,8 @@ Use `resourcePath` when the host wants the table to enter backend schema/data mo
|
|
|
87
87
|
|
|
88
88
|
Optional collection operations such as export are not implied by a base route. Expose them only when backend capabilities or HATEOAS links prove that the operation is available.
|
|
89
89
|
|
|
90
|
+
When the collection response exposes `_links.create` or a collection `capabilities` snapshot with create support, `PraxisTable` can materialize the canonical `create` toolbar action without requiring each host screen to duplicate labels, disabled state, schema URLs, or submit URLs. If the host provides `surface.open`, the action opens the create form as a governed collection surface; otherwise the table emits `toolbarAction` with the enriched action metadata for the composed host to handle.
|
|
91
|
+
|
|
90
92
|
## Runtime Inputs And Outputs
|
|
91
93
|
|
|
92
94
|
Common inputs:
|
|
@@ -136,6 +138,20 @@ For dense enterprise tables, `radial` table cells render the percent as adjacent
|
|
|
136
138
|
|
|
137
139
|
Use `config.ai.assistant.enabled = false` when a host needs to disable the embedded AI assistant entrypoint for a table instance. The default is enabled, so existing AI-enabled tables keep the current behavior without extra config. When the value changes to `false`, the component closes the assistant and removes the table assistant session from the shared assistant registry.
|
|
138
140
|
|
|
141
|
+
## Toolbar Appearance
|
|
142
|
+
|
|
143
|
+
Use `toolbar.appearance` for governed toolbar chrome instead of host CSS targeting internal classes. The built-in preset `table-integrated` composes toolbar and table as one operational block using public tokens for background, border, radius, shadow, spacing, and density.
|
|
144
|
+
|
|
145
|
+
```ts
|
|
146
|
+
const config: TableConfig = {
|
|
147
|
+
toolbar: {
|
|
148
|
+
visible: true,
|
|
149
|
+
position: 'top',
|
|
150
|
+
appearance: { preset: 'table-integrated' },
|
|
151
|
+
},
|
|
152
|
+
};
|
|
153
|
+
```
|
|
154
|
+
|
|
139
155
|
## Filtering And Row Actions
|
|
140
156
|
|
|
141
157
|
The package exports both the table runtime and `PraxisFilter` integration surfaces.
|