@praxisui/dynamic-fields 9.0.0-beta.8 → 9.0.0-beta.80
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 +10 -2
- package/ai/component-registry.json +273462 -0
- package/docs/date-range-rust-host-integration.md +474 -0
- package/docs/dynamic-fields-field-catalog.md +3 -4
- package/docs/dynamic-fields-field-selection-guide.md +27 -3
- package/docs/dynamic-fields-inline-components-guide.md +30 -7
- package/docs/dynamic-fields-inline-filter-catalog.md +18 -1
- package/docs/dynamic-fields-inline-filter-runtime-contract.md +11 -0
- package/fesm2022/praxisui-dynamic-fields.mjs +2776 -983
- package/package.json +8 -4
- package/src/lib/base/pdx-base-input-runtime-contract.json-api.md +16 -0
- package/src/lib/components/field-shell/praxis-field-shell.json-api.md +33 -3
- package/src/lib/components/inline-date/pdx-inline-date.json-api.md +1 -1
- package/src/lib/components/inline-date-range/pdx-inline-date-range.json-api.md +30 -9
- package/src/lib/components/inline-entity-lookup/pdx-inline-entity-lookup.json-api.md +1 -0
- package/src/lib/components/inline-number/pdx-inline-number.json-api.md +1 -0
- package/src/lib/components/inline-rating/pdx-inline-rating.json-api.md +2 -0
- package/src/lib/components/inline-relative-period/pdx-inline-relative-period.json-api.md +2 -2
- package/src/lib/components/inline-time-range/pdx-inline-time-range.json-api.md +2 -2
- package/src/lib/components/material-async-select/pdx-material-async-select.json-api.md +13 -4
- package/src/lib/components/material-checkbox-group/pdx-material-checkbox-group.json-api.md +5 -3
- package/src/lib/components/material-date-range/pdx-material-date-range.json-api.md +20 -2
- package/src/lib/components/material-file-upload/pdx-material-file-upload.json-api.md +58 -27
- package/src/lib/components/material-searchable-select/pdx-material-searchable-select.json-api.md +10 -3
- package/src/lib/components/material-textarea/pdx-material-textarea.json-api.md +1 -1
- package/types/praxisui-dynamic-fields.d.ts +160 -11
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ npm i @praxisui/dynamic-fields@latest
|
|
|
26
26
|
Peer dependencies:
|
|
27
27
|
|
|
28
28
|
- `@angular/common`, `@angular/core`, `@angular/forms`, `@angular/material`, `@angular/cdk`, `@angular/platform-browser`, `@angular/router` `^21.0.0`
|
|
29
|
-
- `@praxisui/core`, `@praxisui/cron-builder` `^9.0.0-beta.
|
|
29
|
+
- `@praxisui/core`, `@praxisui/cron-builder` `^9.0.0-beta.12`
|
|
30
30
|
- `rxjs` `^7.8.0`
|
|
31
31
|
|
|
32
32
|
## Provide Defaults
|
|
@@ -162,6 +162,14 @@ Read-only and display states prefer the canonical `field.valuePresentation` cont
|
|
|
162
162
|
|
|
163
163
|
Use `valuePresentation` for scalar display values such as currency, number, date, datetime, time, percentage, and boolean. Keep legacy hints such as `format`, `numericFormat`, `currency`, `numberFormat`, and `locale` only as compatibility inputs when needed.
|
|
164
164
|
|
|
165
|
+
Presentation formatting resolves locale in this order: `field.localization.locale`, `field.locale`, the canonical `PraxisI18nService` locale, Angular `LOCALE_ID`, then `en-US`. Host applications should configure the Praxis i18n service or field metadata instead of patching display labels locally.
|
|
166
|
+
|
|
167
|
+
Presentation mode can also consume `field.presentation` and `field.presentationRules` for semantic readonly display states such as status, chip, badge, icon+value, tone, icon, label, badge, tooltip, and appearance. `presentationRules` use canonical Json Logic and must only produce semantic display patches; they do not mutate the `FormControl`, submit payload, or execute arbitrary actions.
|
|
168
|
+
|
|
169
|
+
For compact enterprise indicators, `field.presentation.presenter = 'microVisualization'` renders the canonical `presentation.visualization` contract in pure presentation mode. The dynamic-fields runtime owns this compact HTML renderer so forms, lists, and tables can share the same metadata without depending on chart components for virtualized or readonly cells. Use it for small comparison, stacked bar, bullet, and delta indicators; use `@praxisui/charts` when the host needs a richer chart widget outside the field presentation pipeline.
|
|
170
|
+
|
|
171
|
+
Runtime support for these metadata paths is canonical. Visual editor coverage is a separate layer and should be verified before claiming authoring parity.
|
|
172
|
+
|
|
165
173
|
## Inline Filters
|
|
166
174
|
|
|
167
175
|
The package also exports inline field components for compact filter and toolbar experiences, including inline text, select, async select, entity lookup, numeric, currency, date, date range, time, rating, and specialized business filters.
|
|
@@ -203,5 +211,5 @@ Main exports:
|
|
|
203
211
|
|
|
204
212
|
- Keep host custom fields explicit: runtime registration and editorial metadata are both required for a complete experience.
|
|
205
213
|
- Do not patch package-owned controls only in a consuming host; fix the canonical registry/editorial chain.
|
|
206
|
-
- Use
|
|
214
|
+
- Use the semantic `--praxis-theme-*` roles from the host theme for surfaces, text, outline, focus, elevation, and overlay contrast. Dynamic Fields keeps Material Design 3 tokens only as fallbacks, so hosts do not need to target package internals to support light and dark themes.
|
|
207
215
|
- Use the official documentation for field catalogs, selection guidance, inline filter contracts, and custom-field troubleshooting.
|