@praxisui/table 9.0.0-beta.70 → 9.0.0-beta.72
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 +24 -0
- package/ai/component-registry.json +634 -114
- package/docs/resource-events.md +2 -0
- package/fesm2022/{praxisui-table-filter-form-dialog-host.component-DbwGIMjF.mjs → praxisui-table-filter-form-dialog-host.component-CStl0VfD.mjs} +2 -2
- package/fesm2022/{praxisui-table-praxisui-table-O-dD2rsX.mjs → praxisui-table-praxisui-table-sX8ASIFR.mjs} +206 -50
- package/fesm2022/{praxisui-table-table-ai.adapter-BLhlF2o3.mjs → praxisui-table-table-ai.adapter-BNA88l5o.mjs} +1 -1
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/src/lib/praxis-table.json-api.md +4 -2
- package/types/praxisui-table.d.ts +42 -8
package/README.md
CHANGED
|
@@ -183,6 +183,29 @@ The package exports both the table runtime and `PraxisFilter` integration surfac
|
|
|
183
183
|
- Contextual row discovery can use backend HATEOAS/capabilities when enabled.
|
|
184
184
|
- `visibleWhen` and `disabledWhen` use canonical JSON Logic.
|
|
185
185
|
|
|
186
|
+
The filter field manager follows the compact inline visual language and can be themed by hosts through
|
|
187
|
+
`--pfx-field-manager-surface`, `--pfx-field-manager-on-surface`,
|
|
188
|
+
`--pfx-field-manager-on-surface-muted`, `--pfx-field-manager-outline`,
|
|
189
|
+
`--pfx-field-manager-focus-outline`, `--pfx-field-manager-search-surface`,
|
|
190
|
+
`--pfx-field-manager-search-on-surface`, `--pfx-field-manager-search-placeholder`,
|
|
191
|
+
`--pfx-field-manager-search-height`, `--pfx-field-manager-search-radius`,
|
|
192
|
+
`--pfx-field-manager-search-font-size`, `--pfx-field-manager-search-line-height`,
|
|
193
|
+
`--pfx-field-manager-search-font-weight`, and `--pfx-field-manager-search-icon-size`. Their defaults inherit
|
|
194
|
+
the corresponding `--pdx-inline-*` tokens when available, then the semantic `--praxis-theme-*` roles,
|
|
195
|
+
and finally Material system
|
|
196
|
+
tokens; `--pfx-field-manager-search-radius` intentionally defaults to Material's full corner radius so
|
|
197
|
+
the search focus ring and field share the same pill geometry. The runtime resolves every public
|
|
198
|
+
`--pfx-field-manager-*` token from the host before applying its private fallback, so overrides take
|
|
199
|
+
effect without CSS specificity workarounds. Because the manager renders in a CDK overlay, define host overrides on a global theme scope
|
|
200
|
+
such as `html`, `body`, or the application theme class rather than only on the `praxis-filter` element.
|
|
201
|
+
When using the `PraxisFilter` i18n input, `selectedFieldsSectionTitle` and
|
|
202
|
+
`availableFieldsSectionTitle` customize the grouped field-manager headings; both are optional and
|
|
203
|
+
default to the Portuguese runtime labels. Each manageable field preserves its authored
|
|
204
|
+
`FieldMetadata.description` (falling back to its explicit tooltip/help metadata) as an information
|
|
205
|
+
tooltip on hover and keyboard focus. This lets operators distinguish semantically different filters
|
|
206
|
+
with similar labels—such as a single date, a date range, and a relative period—without the table
|
|
207
|
+
runtime fabricating domain guidance.
|
|
208
|
+
|
|
186
209
|
```ts
|
|
187
210
|
const config: TableConfig = {
|
|
188
211
|
columns: [{ field: 'name', header: 'Name' }],
|
|
@@ -255,6 +278,7 @@ Main exports:
|
|
|
255
278
|
|
|
256
279
|
- Separate local data mode from backend resource mode before deciding the minimum setup.
|
|
257
280
|
- `enableCustomization` is opt-in and gates settings/authoring surfaces; it does not change the data mode.
|
|
281
|
+
- `authoringCapability` optionally requires an exact capability from `EnterpriseRuntimeContext.capabilities` before those authoring surfaces are materialized. Use it for governed configuration; do not derive authorization from client-side usernames or roles.
|
|
258
282
|
- Treat export as a governed optional operation, not as automatic support implied by `resourcePath`.
|
|
259
283
|
- When `excel` is enabled in `export.formats`, the toolbar also exposes a current-page Excel export that downloads only the rows currently loaded in the table runtime with visible columns and formatted cell values. Full filtered exports continue to use the configured collection export provider.
|
|
260
284
|
- Theme the table through Material/Praxis tokens instead of targeting internal descendants.
|