@praxisui/dynamic-fields 10.0.0-rc.58 → 10.0.0-rc.59
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 +11 -0
- package/ai/component-registry.json +35270 -415
- package/docs/dynamic-fields-inline-components-guide.md +37 -31
- package/docs/dynamic-fields-inline-filter-catalog.md +34 -26
- package/docs/dynamic-fields-inline-filter-runtime-contract.md +12 -1
- package/fesm2022/praxisui-dynamic-fields.mjs +15033 -4250
- package/package.json +4 -4
- package/src/lib/components/inline-color-label/pdx-inline-color-label.json-api.md +17 -8
- package/src/lib/components/inline-currency-range/pdx-inline-currency-range.json-api.md +92 -25
- package/src/lib/components/inline-date-range/pdx-inline-date-range.json-api.md +17 -4
- package/src/lib/components/inline-distance-radius/pdx-inline-distance-radius.json-api.md +27 -4
- package/src/lib/components/inline-entity-lookup/pdx-inline-entity-lookup.json-api.md +107 -24
- package/src/lib/components/inline-pipeline-status/pdx-inline-pipeline-status.json-api.md +18 -3
- package/src/lib/components/inline-range-slider/pdx-inline-range-slider.json-api.md +76 -19
- package/src/lib/components/inline-rating/pdx-inline-rating.json-api.md +18 -5
- package/src/lib/components/inline-relative-period/pdx-inline-relative-period.json-api.md +17 -3
- package/src/lib/components/inline-score-priority/pdx-inline-score-priority.json-api.md +62 -15
- package/src/lib/components/inline-sentiment/pdx-inline-sentiment.json-api.md +18 -3
- package/src/lib/components/inline-time-range/pdx-inline-time-range.json-api.md +77 -25
- package/types/praxisui-dynamic-fields.d.ts +578 -18
package/README.md
CHANGED
|
@@ -205,6 +205,17 @@ The overlay is attached only while open, prefers the space below the trigger, fa
|
|
|
205
205
|
|
|
206
206
|
Collection search styling is shared with `@praxisui/table` through the Core `--praxis-collection-search-*` contract. In particular, `--praxis-collection-search-radius` supports square (`0`), intermediate (for example `8px`) and pill (`999px`) themes without component-specific aliases. The popup surface resolves from `--pdx-inline-panel-surface`, then the governed Praxis/Material surface chain, with an opaque final fallback; this prevents host token gaps from making options transparent. Narrow hosts may govern the default `22rem` popup limit through `--praxis-collection-overlay-narrow-max-height`.
|
|
207
207
|
|
|
208
|
+
### Entity Lookup Overlay and Dialog
|
|
209
|
+
|
|
210
|
+
`InlineEntityLookupComponent` (`pdx-inline-entity-lookup`) and `EntityLookupDialogComponent` build on this overlay contract for structured `RESOURCE_ENTITY` catalogs:
|
|
211
|
+
|
|
212
|
+
- **Trigger ergonomics & icon affordance**: `prefixIcon` renders cleanly in Material prefix position, and empty-trigger placeholders stay distinct from the field label (falling back to the i18n key `entityLookup.trigger.selectPlaceholder`).
|
|
213
|
+
- **Host-locked `filterCriteria` preservation**: filters that match host-supplied `filterCriteria` are recognized as locked scope predicates (`isHostLockedLookupFilter`), omitted from removable overlay filter chips (`removableLookupFilterChips`), preserved by `clearLookupFilters` / `replaceLookupFilters`, and preserved across `EntityLookupDialogComponent` filter reset and apply flows.
|
|
214
|
+
- **Grouped, collapsible quick filters**: when multiple quick-filter dimensions exist, chips render under explicit group headings and excess inline overlay chips fold behind a localized `More filters` / `Less` toggle (`entityLookup.quickFilters.more` / `less`).
|
|
215
|
+
- **Overlay density & badge deduplication**: `inlineOverlayBadges` suppresses raw code badges or values already represented in the option header (`code`, `label`, `status`) or in rendered `inlineRichFields` slots.
|
|
216
|
+
- **Accessible custom-chrome native `<select>` controls**: sort, search-strategy, and enum filter `<select>` wrappers (`.pdx-panel-sort-select-wrap` and `.pdx-lookup-dialog-select-wrap`) keep semantic native keyboard/screen-reader `<select>` interaction while rendering M3-token visuals, `:focus-visible` focus rings, hover/disabled states, and `@media (forced-colors: active)` high-contrast styling.
|
|
217
|
+
- **Enriched dialog preview**: when `dialog.previewPanel` is enabled, the preview pane displays a structured `<dl>` summary grid, localized preview/selected badges, and a direct selection CTA (`entityLookup.dialog.selectPreviewAction`).
|
|
218
|
+
|
|
208
219
|
## AI Authoring
|
|
209
220
|
|
|
210
221
|
`PRAXIS_DYNAMIC_FIELDS_AUTHORING_MANIFEST` governs the field-control family. It separates:
|