@praxisui/dynamic-fields 10.0.0-rc.57 → 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
|
@@ -21,8 +21,8 @@ source_of_truth:
|
|
|
21
21
|
- "projects/praxis-dynamic-fields/src/lib/components/inline-score-priority/inline-score-priority.component.ts"
|
|
22
22
|
- "projects/praxis-dynamic-fields/src/lib/components/inline-range-slider/inline-range-slider.component.ts"
|
|
23
23
|
- "projects/praxis-core/src/lib/models/material-field-metadata.interface.ts"
|
|
24
|
-
source_of_truth_last_verified: "2026-
|
|
25
|
-
last_updated: "2026-
|
|
24
|
+
source_of_truth_last_verified: "2026-11-21"
|
|
25
|
+
last_updated: "2026-11-21"
|
|
26
26
|
toc: true
|
|
27
27
|
sidebar: true
|
|
28
28
|
tags:
|
|
@@ -32,7 +32,7 @@ tags:
|
|
|
32
32
|
api_stability: "canonical"
|
|
33
33
|
schema_verified: true
|
|
34
34
|
runtime_verified: true
|
|
35
|
-
editor_coverage_verified:
|
|
35
|
+
editor_coverage_verified: true
|
|
36
36
|
runtime_scope: "public"
|
|
37
37
|
legacy_paths_present: true
|
|
38
38
|
has_known_mismatches: false
|
|
@@ -67,7 +67,7 @@ Este documento e a referencia canonica da API JSON de pdx-inline-score-priority.
|
|
|
67
67
|
| Primary contract source | `runtime-and-code` | Runtime, schema e docs devem permanecer rastreaveis | Partial | frontmatter.contract_source + source_of_truth |
|
|
68
68
|
| Runtime coverage | `true` | Comportamentos runtime criticos devem ficar explicitamente verificados | Active | `projects/praxis-dynamic-fields/src/lib/components/inline-score-priority/inline-score-priority.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/inline-range-slider/inline-range-slider.component.ts` |
|
|
69
69
|
| Schema/type coverage | `true` | Tipos e schema devem refletir paths publicos do contrato | Active | source_of_truth + Detailed API reference |
|
|
70
|
-
| Editor/tooling coverage | `
|
|
70
|
+
| Editor/tooling coverage | `true` | Editor/tooling deve espelhar somente contrato publico suportado | Active | `projects/praxis-core/src/lib/utils/inline-filter-controls.util.ts`, `projects/praxis-metadata-editor/src/lib/config/inline-score-priority.config.ts`, `inline-editor-coverage.spec.ts` |
|
|
71
71
|
| Path hygiene | `true` | Manter consistencia entre contrato canonico e caminhos documentados | Partial | frontmatter.legacy_paths_present |
|
|
72
72
|
| Known mismatches | `false` | Registrar observed vs desired de forma auditavel | Active | frontmatter.has_known_mismatches |
|
|
73
73
|
|
|
@@ -96,7 +96,7 @@ Este documento e a referencia canonica da API JSON de pdx-inline-score-priority.
|
|
|
96
96
|
| Runtime scope | `public` | Escopo publicado para consumidores |
|
|
97
97
|
| Runtime verified | `true` | Revisar sempre com evidencia de runtime |
|
|
98
98
|
| Schema verified | `true` | Revisar sempre com evidencia de tipos/schema |
|
|
99
|
-
| Editor coverage verified | `
|
|
99
|
+
| Editor coverage verified | `true` | Revisar sempre com evidencia de editor/tooling |
|
|
100
100
|
| Current path hygiene | `true` | Segregar consistencia do contrato canonico |
|
|
101
101
|
| Has known mismatches | `false` | Divergencias devem aparecer em secao dedicada |
|
|
102
102
|
|
|
@@ -107,9 +107,18 @@ Este documento e a referencia canonica da API JSON de pdx-inline-score-priority.
|
|
|
107
107
|
| Path | Type | Required | Default | Status | Notes |
|
|
108
108
|
| --- | --- | --- | --- | --- | --- |
|
|
109
109
|
| `metadata` | object | true | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
110
|
-
| `metadata.scoreShowScaleLabels` | unknown | false | n/a |
|
|
111
|
-
| `metadata.scoreShowBandChips` | unknown | false | n/a |
|
|
112
|
-
| `metadata.
|
|
110
|
+
| `metadata.scoreShowScaleLabels` | unknown | false | n/a | Active | Displays numeric anchor scale labels beneath score slider. |
|
|
111
|
+
| `metadata.scoreShowBandChips` | unknown | false | n/a | Active | Displays quick clickable band chips when `scoreBands` are configured. |
|
|
112
|
+
| `metadata.showAnchors` | `boolean \| "auto"` | false | `"auto"` | Active | Click-to-snap anchors aligned to `scoreBands` (when <= 6 bands) or quartiles. |
|
|
113
|
+
| `metadata.inlinePanelTitle` | string | false | n/a | Active | Custom header title rendered in the popover panel. |
|
|
114
|
+
| `metadata.inlinePanelIcon` | string | false | `"speed"` | Active | Lowercase snake_case Material icon ligature for panel header badge. |
|
|
115
|
+
| `metadata.inlinePanelIconColor` | string | false | n/a | Active | Theme palette or CSS color for panel header icon badge. |
|
|
116
|
+
| `metadata.showInlineInputs` | boolean | false | false | Active | Renders synchronized numeric score inputs inside the popover. |
|
|
117
|
+
| `metadata.inputMinLabel` | string | false | n/a | Active | Custom label for minimum score inline input. |
|
|
118
|
+
| `metadata.inputMaxLabel` | string | false | n/a | Active | Custom label for maximum score inline input. |
|
|
119
|
+
| `metadata.sliderStep` | number | false | `step` | Active | Step override applied along the slider track. |
|
|
120
|
+
| `metadata.shiftStep` | number | false | `10 * step` | Active | Keyboard jump step on `Shift+Arrow` / `PageUp` / `PageDown`. |
|
|
121
|
+
| `metadata.inlineAutoSize.*` | object | false | n/a | Active | Responsive trigger and popover width bounds. |
|
|
113
122
|
| `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
114
123
|
| `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
115
124
|
| `visible` | boolean | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
@@ -152,9 +161,18 @@ Nao ha paths experimentais confirmados no contrato publico desta revisao.
|
|
|
152
161
|
|
|
153
162
|
| Path | Type | Required | Default | Constraints | Notes |
|
|
154
163
|
| --- | --- | --- | --- | --- | --- |
|
|
155
|
-
| `metadata.scoreShowScaleLabels` | unknown | false | n/a | component-defined |
|
|
156
|
-
| `metadata.scoreShowBandChips` | unknown | false | n/a | component-defined |
|
|
157
|
-
| `metadata.
|
|
164
|
+
| `metadata.scoreShowScaleLabels` | unknown | false | n/a | component-defined | Active; displays anchor scale labels. |
|
|
165
|
+
| `metadata.scoreShowBandChips` | unknown | false | n/a | component-defined | Active; displays quick band preset chips. |
|
|
166
|
+
| `metadata.showAnchors` | `boolean \| "auto"` | false | `"auto"` | component-defined | Active; click-to-snap anchors. |
|
|
167
|
+
| `metadata.inlinePanelTitle` | string | false | n/a | component-defined | Active; panel header title. |
|
|
168
|
+
| `metadata.inlinePanelIcon` | string | false | `"speed"` | component-defined | Active; header icon ligature (`snake_case`). |
|
|
169
|
+
| `metadata.inlinePanelIconColor` | string | false | n/a | component-defined | Active; header icon badge color. |
|
|
170
|
+
| `metadata.showInlineInputs` | boolean | false | false | component-defined | Active; inline score inputs in popover. |
|
|
171
|
+
| `metadata.inputMinLabel` | string | false | n/a | component-defined | Active; minimum score input label. |
|
|
172
|
+
| `metadata.inputMaxLabel` | string | false | n/a | component-defined | Active; maximum score input label. |
|
|
173
|
+
| `metadata.sliderStep` | number | false | `step` | `> 0` | Active; slider track step. |
|
|
174
|
+
| `metadata.shiftStep` | number | false | `10 * step` | `> 0` | Active; keyboard large-step jump. |
|
|
175
|
+
| `metadata.inlineAutoSize.*` | object | false | n/a | component-defined | Active; responsive panel/trigger width bounds. |
|
|
158
176
|
|
|
159
177
|
### Input bindings (inbound data)
|
|
160
178
|
|
|
@@ -195,9 +213,9 @@ Nao ha paths experimentais confirmados no contrato publico desta revisao.
|
|
|
195
213
|
|
|
196
214
|
| Surface | Verified | Coverage status | Evidence | Notes |
|
|
197
215
|
| --- | --- | --- | --- | --- |
|
|
198
|
-
| Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/inline-score-priority/inline-score-priority.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/inline-range-slider/inline-range-slider.component.ts` | Core runtime flows verified via
|
|
216
|
+
| Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/inline-score-priority/inline-score-priority.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/inline-range-slider/inline-range-slider.component.ts` | Core runtime flows and Wave 1 enhancements verified via component specs and Playwright visual/E2E gates. |
|
|
199
217
|
| Schema/Types | `true` | Active | source_of_truth + Detailed API reference | Reconcile schema/types with canonical paths during follow-up when needed. |
|
|
200
|
-
| Editor/Tooling | `
|
|
218
|
+
| Editor/Tooling | `true` | Active | `projects/praxis-core/src/lib/utils/inline-filter-controls.util.ts`, `projects/praxis-metadata-editor/src/lib/config/inline-score-priority.config.ts`, `inline-editor-coverage.spec.ts`, `filter-inline-metadata-editor.playwright.spec.ts` | Editor configuration, round-trip persistence, and metadata coverage verified. |
|
|
201
219
|
|
|
202
220
|
### Runtime coverage boundaries
|
|
203
221
|
|
|
@@ -290,6 +308,10 @@ Use quando precisar:
|
|
|
290
308
|
| --- | --- | --- | --- |
|
|
291
309
|
| `metadata.mode/scoreMode/priorityMode` | `'single'\|'range'` | Ativo | Define modo single ou faixa. |
|
|
292
310
|
| `metadata.min/max/step` e aliases `score*`/`priority*` | `number` | Ativo | Limites e passo da escala. |
|
|
311
|
+
| `metadata.sliderStep` / `metadata.shiftStep` | `number` | Ativo | Incremento do slider no popover (`sliderStep`) e salto via teclado (`Shift+Setas`, `PageUp`, `PageDown`). |
|
|
312
|
+
| `metadata.showAnchors` | `boolean \| 'auto'` | Ativo | Ancoras clicaveis *click-to-snap* abaixo da trilha (`false` mostra limites passivos; usa limites de bandas quando `bands.length <= 6`). |
|
|
313
|
+
| `metadata.inlinePanelTitle` / `inlinePanelIcon` / `inlinePanelIconColor` | `string` | Ativo | Titulo, icone Material (`snake_case` minusculo, padrao `bolt`) e cor do badge no cabecalho do popover. |
|
|
314
|
+
| `metadata.showInlineInputs` / `inputMinLabel` / `inputMaxLabel` | `boolean \| string` | Ativo | Cartoes numericos editaveis opcionais dentro do popover e seus rotulos. |
|
|
293
315
|
| `metadata.scoreBands/priorityBands/bands` | `array \| string(JSON)` | Ativo | Define bandas semanticas com start/end/label/color. |
|
|
294
316
|
| `metadata.scorePalette/priorityPalette/palette` | `array \| string` | Ativo | Paleta fallback das bandas. |
|
|
295
317
|
| `metadata.scoreGradientLowColor/midColor/highColor` | `string` | Ativo | Gradiente semantico fallback para bandas sem cor explicita. |
|
|
@@ -408,6 +430,12 @@ Correcao: preencher `scoreUnit` (ou `priorityUnit`/`unit`).
|
|
|
408
430
|
| Path | Type | Required | Default | Status | Notes |
|
|
409
431
|
| --- | --- | --- | --- | --- | --- |
|
|
410
432
|
| `metadata` | object | true | n/a | Partial | See Detailed API reference. |
|
|
433
|
+
| `metadata.inlinePanelTitle` | string | false | n/a | Active | Custom panel title shown in popover header. |
|
|
434
|
+
| `metadata.inlinePanelIcon` | string | false | `'bolt'` | Active | Lowercase `snake_case` Material icon ligature in header badge. |
|
|
435
|
+
| `metadata.inlinePanelIconColor` | string | false | `--md-sys-color-primary` | Active | Theme token or CSS color override for header badge icon and halo. |
|
|
436
|
+
| `metadata.showAnchors` | `boolean \| 'auto'` | false | `'auto'` | Active | Clickable click-to-snap anchors (`scoreBands` boundaries when `<= 6`, else `5`/`3` layout). |
|
|
437
|
+
| `metadata.sliderStep` / `shiftStep` | number | false | `step` / `step * 5` | Active | Drag increment and `Shift+Arrow`/`PageUp`/`PageDown` keyboard jump. |
|
|
438
|
+
| `metadata.showInlineInputs` / `inputMinLabel` / `inputMaxLabel` | `boolean \| string` | false | `false` | Active | Optional editable score bounds inputs inside the popover. |
|
|
411
439
|
| `metadata.scoreShowScaleLabels` | unknown | false | n/a | Partial | See Detailed API reference. |
|
|
412
440
|
| `metadata.scoreShowBandChips` | unknown | false | n/a | Partial | See Detailed API reference. |
|
|
413
441
|
| `metadata.inlineOverlay.applyMode` | `'auto'\|'explicit'` | false | `auto` | Active | Controls draft versus immediate commit behavior. |
|
|
@@ -429,9 +457,28 @@ Correcao: preencher `scoreUnit` (ou `priorityUnit`/`unit`).
|
|
|
429
457
|
|
|
430
458
|
## Styling API (obrigatorio quando aplicavel)
|
|
431
459
|
|
|
432
|
-
|
|
460
|
+
Every surface inside `.pdx-inline-score-panel` exposes `--pdx-inline-score-*` CSS custom properties with Material Design 3 fallbacks so hosts can theme headers, band scale visuals, clickable anchors, input cards, band preset chips, and footer action buttons globally without `::ng-deep`. Respects `prefers-reduced-motion: reduce`.
|
|
461
|
+
|
|
462
|
+
| Token | Scope | Default / Fallback | Notes |
|
|
433
463
|
| --- | --- | --- | --- |
|
|
434
|
-
| `
|
|
464
|
+
| `--pdx-inline-score-min-w` / `-max-w` / `-panel-min-w` / `-panel-max-w` / `-track-inset` | trigger & panel | `inlineAutoSize` / `10px` | Trigger bounds, overlay min/max width, and track/anchor alignment inset. |
|
|
465
|
+
| `--pdx-inline-score-panel-bg` / `-fg` / `-border` / `-radius` / `-shadow` / `-padding` / `-gap` / `-anim-duration` | panel | `--pdx-inline-overlay-*` -> `--md-sys-color-surface-container-*` / `160ms` | Popover surface (supports gradients), border, shadow, and reveal timing. |
|
|
466
|
+
| `--pdx-inline-score-title-font` / `-size` / `-weight` / `-color` / `-subtitle-color` | header | `inherit` / `0.94rem` / `650` | Header title and subtitle typography/colors. |
|
|
467
|
+
| `--pdx-inline-score-header-icon-bg` / `-fg` / `-color` | header | primary-tinted halo / `--md-sys-color-primary` | Icon badge surface and foreground for `inlinePanelIcon` (defaults to `bolt`). |
|
|
468
|
+
| `--pdx-inline-score-slider-active-track` / `-handle-color` / `-indicator-bg` / `-indicator-fg` | slider | `--md-sys-color-primary` / inverse-surface | Material `<mat-slider>` active track, handle, and discrete indicator. |
|
|
469
|
+
| `--pdx-inline-score-anchor-dot-color` / `-dot-active-color` / `-anchor-fg` / `-hover-fg` / `-hover-bg` / `-active-fg` / `-active-bg` / `-active-border` / `-font` / `-size` / `-radius` | anchors | on-surface-variant / primary-container | Clickable score anchor snap buttons and aligned track dots. |
|
|
470
|
+
| `--pdx-inline-score-input-bg` / `-border` / `-focus-border` / `-radius` / `-label-color` / `-fg` / `-font` / `-size` | inputs | surface-container-low / primary / `10px` | Optional numeric score input cards (`showInlineInputs: true`). |
|
|
471
|
+
| `--pdx-inline-score-chip-btn-bg` / `-fg` / `-border` / `-radius` / `-active-bg` / `-active-fg` / `-active-border` | presets | surface-container-low / primary-container / `999px` | Band preset chips (`.pdx-inline-score-chip-btn`) with `[attr.aria-pressed]`. |
|
|
472
|
+
| `--pdx-inline-score-action-primary-*` / `-neutral-*` / `-danger-*` | footer | theme primary / neutral / danger | Footer action button tokens (`-container`, `-label`, `-tonal-container`, `-tonal-label`). |
|
|
473
|
+
|
|
474
|
+
```css
|
|
475
|
+
:root {
|
|
476
|
+
--pdx-inline-score-panel-radius: 16px;
|
|
477
|
+
--pdx-inline-score-header-icon-bg: rgb(180 83 9 / 0.14);
|
|
478
|
+
--pdx-inline-score-header-icon-fg: #b45309;
|
|
479
|
+
--pdx-inline-score-action-primary-container: #b45309;
|
|
480
|
+
}
|
|
481
|
+
```
|
|
435
482
|
|
|
436
483
|
## Examples (obrigatorio)
|
|
437
484
|
|
|
@@ -32,7 +32,7 @@ tags:
|
|
|
32
32
|
api_stability: "canonical"
|
|
33
33
|
schema_verified: true
|
|
34
34
|
runtime_verified: true
|
|
35
|
-
editor_coverage_verified:
|
|
35
|
+
editor_coverage_verified: true
|
|
36
36
|
runtime_scope: "public"
|
|
37
37
|
legacy_paths_present: false
|
|
38
38
|
has_known_mismatches: false
|
|
@@ -427,6 +427,10 @@ Correção: validar `sentimentAnimatedEmoji`.
|
|
|
427
427
|
| `metadata.inlineOverlay.actions.cancel` | object | false | n/a | Active | Label, aria, icon, appearance and colorRole for Cancel. |
|
|
428
428
|
| `metadata.inlineOverlay.actions.clear` | object | false | n/a | Active | Label, aria, icon, appearance and colorRole for Clear. |
|
|
429
429
|
| `metadata.inlineAutoSize.*` | object | false | n/a | Partial | See Detailed API reference. |
|
|
430
|
+
| `metadata.inlinePanelTitle` | string | false | `placeholderText()` | Active | Custom heading title for `.pdx-inline-sentiment-header`. |
|
|
431
|
+
| `metadata.inlinePanelSubtitle` | string | false | n/a | Active | Custom subtitle for `.pdx-inline-sentiment-header`. |
|
|
432
|
+
| `metadata.inlinePanelIcon` | string | false | `chipLeadingIcon()` | Active | Material Symbols ligature rendered in the panel header badge. |
|
|
433
|
+
| `metadata.inlinePanelIconColor` | string | false | `prefixIconColor()` | Active | Theme token or CSS color applied to the panel header icon. |
|
|
430
434
|
| `selectOptions` | array | false | n/a | Partial | See Detailed API reference. |
|
|
431
435
|
| `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
432
436
|
| `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
@@ -447,9 +451,20 @@ Correção: validar `sentimentAnimatedEmoji`.
|
|
|
447
451
|
|
|
448
452
|
## Styling API (obrigatorio quando aplicavel)
|
|
449
453
|
|
|
450
|
-
|
|
454
|
+
Every surface inside `.pdx-inline-sentiment-panel` exposes `--pdx-inline-sentiment-*` CSS custom properties with Material Design 3 (`--md-sys-color-*`) fallbacks, and animations/transitions disable under `@media (prefers-reduced-motion: reduce)`.
|
|
455
|
+
|
|
456
|
+
| Token/Class | Scope | Default / Fallback | Notes |
|
|
451
457
|
| --- | --- | --- | --- |
|
|
452
|
-
| `
|
|
458
|
+
| `--pdx-inline-sentiment-min-w` / `--pdx-inline-sentiment-max-w` | chip | `188px` / `420px` | Trigger pill min/max width controlled by `inlineAutoSize`. |
|
|
459
|
+
| `--pdx-inline-sentiment-panel-min-w` / `--pdx-inline-sentiment-panel-max-w` | panel | `320px` / `560px` | Floating panel width limits (`inlineAutoSize.panel*`). |
|
|
460
|
+
| `--pdx-inline-sentiment-panel-bg` / `-fg` / `-border` / `-radius` / `-shadow` / `-padding` / `-gap` | panel | `--pdx-inline-overlay-*` -> `--md-sys-color-surface-container` | Popover surface, border, corner radius, shadow, and spacing. |
|
|
461
|
+
| `--pdx-inline-sentiment-anim-duration` | panel | `160ms` | Panel entrance reveal timing (`pdxInlineSentimentPanelIn`); respects reduced motion. |
|
|
462
|
+
| `--pdx-inline-sentiment-header-gap` / `-icon-size` / `-icon-radius` / `-icon-bg` / `-icon-color` | header | `10px` / `36px` / `10px` / 14% primary tint / `--md-sys-color-primary` | Header badge geometry and `inlinePanelIcon` / `inlinePanelIconColor` color override. |
|
|
463
|
+
| `--pdx-inline-sentiment-title-size` / `-weight` / `--pdx-inline-sentiment-subtitle-color` / `-size` | header | `1rem` / `600` / `--md-sys-color-on-surface-variant` / `0.82rem` | Header title and subtitle typography. |
|
|
464
|
+
| `--pdx-inline-sentiment-bar-height` / `-radius` / `-border` / `-bg` / `-gradient-low` / `-mid` / `-high` | sentiment bar | `30px` / `999px` / `--md-sys-color-outline-variant` / `--md-sys-color-surface-container-high` | Segmented sentiment spectrum bar and 3-stop gradient stops. |
|
|
465
|
+
| `--pdx-inline-sentiment-card-radius` / `-border` / `-bg` / `-fg` / `-padding` / `-selected-border` / `-selected-bg` | cards | `12px` / `transparent` / `--md-sys-color-surface-container-high` / `--md-sys-color-primary-container` | Interactive emoji sentiment cards. |
|
|
466
|
+
| `--pdx-inline-sentiment-pill-border` / `-bg` / `-fg` | pills | `--md-sys-color-outline-variant` / `--md-sys-color-surface-container-high` | Selected sentiment summary pills (`sentimentShowSelectionPills`). |
|
|
467
|
+
| `--pdx-inline-sentiment-action-primary-*` / `-neutral-*` / `-danger-*` | footer | theme primary / neutral / error | Explicit overlay footer action containers and labels. |
|
|
453
468
|
|
|
454
469
|
## Examples (obrigatorio)
|
|
455
470
|
|
|
@@ -21,8 +21,8 @@ source_of_truth:
|
|
|
21
21
|
- "projects/praxis-dynamic-fields/src/lib/components/inline-time-range/inline-time-range.component.ts"
|
|
22
22
|
- "projects/praxis-dynamic-fields/src/lib/components/pdx-material-time-range/pdx-material-time-range.component.ts"
|
|
23
23
|
- "projects/praxis-core/src/lib/models/material-time-range-metadata.interface.ts"
|
|
24
|
-
source_of_truth_last_verified: "2026-
|
|
25
|
-
last_updated: "2026-
|
|
24
|
+
source_of_truth_last_verified: "2026-11-21"
|
|
25
|
+
last_updated: "2026-11-21"
|
|
26
26
|
toc: true
|
|
27
27
|
sidebar: true
|
|
28
28
|
tags:
|
|
@@ -32,7 +32,7 @@ tags:
|
|
|
32
32
|
api_stability: "canonical"
|
|
33
33
|
schema_verified: true
|
|
34
34
|
runtime_verified: true
|
|
35
|
-
editor_coverage_verified:
|
|
35
|
+
editor_coverage_verified: true
|
|
36
36
|
runtime_scope: "public"
|
|
37
37
|
legacy_paths_present: true
|
|
38
38
|
has_known_mismatches: false
|
|
@@ -67,7 +67,7 @@ Este documento e a referencia canonica da API JSON de pdx-inline-time-range.
|
|
|
67
67
|
| Primary contract source | `runtime-and-code` | Runtime, schema e docs devem permanecer rastreaveis | Partial | frontmatter.contract_source + source_of_truth |
|
|
68
68
|
| Runtime coverage | `true` | Comportamentos runtime criticos devem ficar explicitamente verificados | Active | `projects/praxis-dynamic-fields/src/lib/components/inline-time-range/inline-time-range.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/pdx-material-time-range/pdx-material-time-range.component.ts` |
|
|
69
69
|
| Schema/type coverage | `true` | Tipos e schema devem refletir paths publicos do contrato | Active | source_of_truth + Detailed API reference |
|
|
70
|
-
| Editor/tooling coverage | `
|
|
70
|
+
| Editor/tooling coverage | `true` | Editor/tooling deve espelhar somente contrato publico suportado | Active | `projects/praxis-core/src/lib/utils/inline-filter-controls.util.ts`, `projects/praxis-metadata-editor/src/lib/config/time-range.config.ts`, `inline-editor-coverage.spec.ts` |
|
|
71
71
|
| Path hygiene | `true` | Manter consistencia entre contrato canonico e caminhos documentados | Partial | frontmatter.legacy_paths_present |
|
|
72
72
|
| Known mismatches | `false` | Registrar observed vs desired de forma auditavel | Active | frontmatter.has_known_mismatches |
|
|
73
73
|
|
|
@@ -96,7 +96,7 @@ Este documento e a referencia canonica da API JSON de pdx-inline-time-range.
|
|
|
96
96
|
| Runtime scope | `public` | Escopo publicado para consumidores |
|
|
97
97
|
| Runtime verified | `true` | Revisar sempre com evidencia de runtime |
|
|
98
98
|
| Schema verified | `true` | Revisar sempre com evidencia de tipos/schema |
|
|
99
|
-
| Editor coverage verified | `
|
|
99
|
+
| Editor coverage verified | `true` | Revisar sempre com evidencia de editor/tooling |
|
|
100
100
|
| Current path hygiene | `true` | Segregar consistencia do contrato canonico |
|
|
101
101
|
| Has known mismatches | `false` | Divergencias devem aparecer em secao dedicada |
|
|
102
102
|
|
|
@@ -109,11 +109,20 @@ Este documento e a referencia canonica da API JSON de pdx-inline-time-range.
|
|
|
109
109
|
| `metadata` | object | true | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
110
110
|
| `metadata.stepMinute` | unknown | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
111
111
|
| `metadata.interval` | string | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
112
|
-
| `metadata.inlinePanelTitle` | string | false | n/a |
|
|
113
|
-
| `metadata.
|
|
114
|
-
| `metadata.
|
|
115
|
-
| `metadata.
|
|
116
|
-
| `metadata.
|
|
112
|
+
| `metadata.inlinePanelTitle` | string | false | n/a | Active | Custom panel header title (`Horario` default). |
|
|
113
|
+
| `metadata.inlinePanelIcon` | string | false | `"schedule"` | Active | Lowercase snake_case Material icon ligature for panel header badge. |
|
|
114
|
+
| `metadata.inlinePanelIconColor` | string | false | n/a | Active | Theme palette or CSS color for panel header icon badge. |
|
|
115
|
+
| `metadata.showAnchors` | `boolean \| "auto"` | false | `"auto"` | Active | Click-to-snap time anchors (`00:00`..`23:59`) below the slider track. |
|
|
116
|
+
| `metadata.showInlineInputs` | boolean | false | true | Active | Renders synchronized HH:mm inputs inside the popover. |
|
|
117
|
+
| `metadata.inputMinLabel` | string | false | n/a | Active | Custom label for start time inline input. |
|
|
118
|
+
| `metadata.inputMaxLabel` | string | false | n/a | Active | Custom label for end time inline input. |
|
|
119
|
+
| `metadata.sliderStep` | number | false | `stepMinute` | Active | Minute increment applied when dragging slider thumbs. |
|
|
120
|
+
| `metadata.shiftStep` | number | false | `60` | Active | Minute jump applied on `Shift+Arrow` / `PageUp` / `PageDown`. |
|
|
121
|
+
| `metadata.inlineTimeQuickPresets` | array | false | n/a | Active | Quick time-window preset buttons (array or JSON string). |
|
|
122
|
+
| `metadata.inlineTimeTrackShifts` | unknown | false | n/a | Active | Work-shift gradient segments painted along the slider track. |
|
|
123
|
+
| `metadata.inlineTrackShifts` | unknown | false | n/a | Partial | Alias for `inlineTimeTrackShifts`. |
|
|
124
|
+
| `metadata.validators.rangeMessage` | string | false | n/a | Active | Custom validation message for invalid time ranges. |
|
|
125
|
+
| `metadata.inlineAutoSize.*` | object | false | n/a | Active | Responsive trigger and popover width bounds. |
|
|
117
126
|
|
|
118
127
|
### Path audit
|
|
119
128
|
|
|
@@ -145,16 +154,24 @@ Nao ha paths experimentais confirmados no contrato publico desta revisao.
|
|
|
145
154
|
|
|
146
155
|
| Path | Type | Required | Default | Constraints | Notes |
|
|
147
156
|
| --- | --- | --- | --- | --- | --- |
|
|
148
|
-
| `metadata.stepMinute` | unknown | false | n/a | component-defined |
|
|
157
|
+
| `metadata.stepMinute` | unknown | false | n/a | component-defined | Active; verify per source_of_truth. |
|
|
149
158
|
| `metadata.interval` | string | false | n/a | component-defined | Partial; verify per source_of_truth. |
|
|
150
|
-
| `metadata.inlinePanelTitle` | string | false | n/a | component-defined |
|
|
151
|
-
| `metadata.
|
|
152
|
-
| `metadata.
|
|
153
|
-
| `metadata.
|
|
154
|
-
| `metadata.
|
|
155
|
-
| `metadata.
|
|
156
|
-
| `metadata.
|
|
157
|
-
| `metadata.
|
|
159
|
+
| `metadata.inlinePanelTitle` | string | false | n/a | component-defined | Active; panel header title. |
|
|
160
|
+
| `metadata.inlinePanelIcon` | string | false | `"schedule"` | component-defined | Active; panel header icon ligature (`snake_case`). |
|
|
161
|
+
| `metadata.inlinePanelIconColor` | string | false | n/a | component-defined | Active; header icon badge color. |
|
|
162
|
+
| `metadata.showAnchors` | `boolean \| "auto"` | false | `"auto"` | component-defined | Active; click-to-snap anchors. |
|
|
163
|
+
| `metadata.showInlineInputs` | boolean | false | true | component-defined | Active; inline time inputs in popover. |
|
|
164
|
+
| `metadata.inputMinLabel` | string | false | n/a | component-defined | Active; start time label. |
|
|
165
|
+
| `metadata.inputMaxLabel` | string | false | n/a | component-defined | Active; end time label. |
|
|
166
|
+
| `metadata.sliderStep` | number | false | `stepMinute` | `> 0` | Active; slider thumb minute step. |
|
|
167
|
+
| `metadata.shiftStep` | number | false | `60` | `> 0` | Active; keyboard large-step jump in minutes. |
|
|
168
|
+
| `metadata.inlineTimeQuickPresets` | array | false | n/a | component-defined | Active; quick shift presets. |
|
|
169
|
+
| `metadata.inlineTimeTrackShifts` | unknown | false | n/a | component-defined | Active; track gradient segments. |
|
|
170
|
+
| `metadata.inlineTrackShifts` | unknown | false | n/a | component-defined | Partial; alias of `inlineTimeTrackShifts`. |
|
|
171
|
+
| `metadata.validators.rangeMessage` | string | false | n/a | component-defined | Active; invalid range error message. |
|
|
172
|
+
| `metadata.validators.minDistanceMessage` | string | false | n/a | component-defined | Active; min duration error message. |
|
|
173
|
+
| `metadata.validators.maxDistanceMessage` | string | false | n/a | component-defined | Active; max duration error message. |
|
|
174
|
+
| `metadata.inlineAutoSize.*` | object | false | n/a | component-defined | Active; responsive panel/trigger width bounds. |
|
|
158
175
|
|
|
159
176
|
### Input bindings (inbound data)
|
|
160
177
|
|
|
@@ -195,9 +212,9 @@ Nao ha paths experimentais confirmados no contrato publico desta revisao.
|
|
|
195
212
|
|
|
196
213
|
| Surface | Verified | Coverage status | Evidence | Notes |
|
|
197
214
|
| --- | --- | --- | --- | --- |
|
|
198
|
-
| Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/inline-time-range/inline-time-range.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/pdx-material-time-range/pdx-material-time-range.component.ts` | Core runtime flows verified via
|
|
215
|
+
| Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/inline-time-range/inline-time-range.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/pdx-material-time-range/pdx-material-time-range.component.ts` | Core runtime flows and Wave 1 enhancements verified via component specs and Playwright visual/E2E gates. |
|
|
199
216
|
| Schema/Types | `true` | Active | source_of_truth + Detailed API reference | Reconcile schema/types with canonical paths during follow-up when needed. |
|
|
200
|
-
| Editor/Tooling | `
|
|
217
|
+
| Editor/Tooling | `true` | Active | `projects/praxis-core/src/lib/utils/inline-filter-controls.util.ts`, `projects/praxis-metadata-editor/src/lib/config/time-range.config.ts`, `inline-editor-coverage.spec.ts`, `filter-inline-metadata-editor.playwright.spec.ts` | Editor configuration, round-trip persistence, and metadata coverage verified. |
|
|
201
218
|
|
|
202
219
|
### Runtime coverage boundaries
|
|
203
220
|
|
|
@@ -291,8 +308,12 @@ Use quando precisar:
|
|
|
291
308
|
| `metadata.minTime/maxTime` | `string` | Ativo | Limites preferenciais do intervalo. |
|
|
292
309
|
| `metadata.min/max/minimum/maximum` | `string` | Ativo | Aliases aceitos para limites de horario. |
|
|
293
310
|
| `metadata.stepMinute` | `number` | Ativo | Passo em minutos no slider e normalizacao. |
|
|
311
|
+
| `metadata.sliderStep` / `metadata.shiftStep` | `number` | Ativo | Passo em minutos durante o arraste (`sliderStep`) e salto por teclado em `Shift+Setas`, `PageUp` ou `PageDown` (`shiftStep`, padrao `60`). |
|
|
312
|
+
| `metadata.showAnchors` | `boolean \| 'auto'` | Ativo | Exibe ancoras clicaveis *click-to-snap* de horario (`00:00`, `06:00`, `12:00`, `18:00`, `23:59` em desktop; `3` em paineis estreitos `<= 368px`). |
|
|
313
|
+
| `metadata.discrete` | `boolean` | Ativo | Ativa marcacoes discretas e indicador flutuante de horario no slider. |
|
|
294
314
|
| `metadata.interval` | `number\|string` | Ativo | Alias de passo (minutos) para faixa. |
|
|
295
|
-
| `metadata.inlinePanelTitle` | `string` | Ativo | Titulo
|
|
315
|
+
| `metadata.inlinePanelTitle` / `inlinePanelIcon` / `inlinePanelIconColor` | `string` | Ativo | Titulo customizavel, icone Material Icons (`snake_case` minusculo, padrao `schedule`) e cor do badge no cabecalho do popover. |
|
|
316
|
+
| `metadata.showInlineInputs` / `inputMinLabel` / `inputMaxLabel` | `boolean \| string` | Ativo | Exibe/oculta campos de inicio e fim em 2 colunas no popover (fallback em `startLabel`/`endLabel`). |
|
|
296
317
|
| `metadata.inlineTimeQuickPresets` / `quickPresets` | `array` | Ativo | Presets rapidos de inicio/fim. |
|
|
297
318
|
| `metadata.inlineTimeTrackShifts` | `array` | Ativo | Segmentos de trilha por turno/faixa. |
|
|
298
319
|
| `metadata.inlineTrackShifts` / `trackShifts` | `array` | Ativo | Aliases para segmentos de trilha. |
|
|
@@ -410,7 +431,13 @@ Correcao: revisar `minTime/maxTime` (ou aliases) no payload final.
|
|
|
410
431
|
| `metadata` | object | true | n/a | Partial | See Detailed API reference. |
|
|
411
432
|
| `metadata.stepMinute` | unknown | false | n/a | Partial | See Detailed API reference. |
|
|
412
433
|
| `metadata.interval` | string | false | n/a | Partial | See Detailed API reference. |
|
|
413
|
-
| `metadata.inlinePanelTitle` | string | false | n/a |
|
|
434
|
+
| `metadata.inlinePanelTitle` | string | false | n/a | Active | Custom panel title shown in popover header. |
|
|
435
|
+
| `metadata.inlinePanelIcon` | string | false | `'schedule'` | Active | Lowercase `snake_case` Material icon ligature in header badge. |
|
|
436
|
+
| `metadata.inlinePanelIconColor` | string | false | `--md-sys-color-primary` | Active | Theme token or CSS color override for header badge icon and halo. |
|
|
437
|
+
| `metadata.showAnchors` | `boolean \| 'auto'` | false | `'auto'` | Active | Clickable click-to-snap time anchors (`00:00`, `06:00`, `12:00`, `18:00`, `23:59`). |
|
|
438
|
+
| `metadata.sliderStep` / `shiftStep` | number | false | `stepMinute` / `60` | Active | Minute drag increment and `Shift+Arrow`/`PageUp`/`PageDown` keyboard jump. |
|
|
439
|
+
| `metadata.discrete` / `showInlineInputs` | boolean | false | `true` / `true` | Active | Controls slider discrete indicator and 2-column inline time inputs. |
|
|
440
|
+
| `metadata.inputMinLabel` / `inputMaxLabel` | string | false | `startLabel` / `endLabel` | Active | Overrides for the inline start and end field card labels. |
|
|
414
441
|
| `metadata.inlineTimeQuickPresets` | array | false | n/a | Partial | See Detailed API reference. |
|
|
415
442
|
| `metadata.inlineTimeTrackShifts` | unknown | false | n/a | Partial | See Detailed API reference. |
|
|
416
443
|
| `metadata.inlineTrackShifts` | unknown | false | n/a | Partial | See Detailed API reference. |
|
|
@@ -434,9 +461,34 @@ Correcao: revisar `minTime/maxTime` (ou aliases) no payload final.
|
|
|
434
461
|
|
|
435
462
|
## Styling API (obrigatorio quando aplicavel)
|
|
436
463
|
|
|
437
|
-
|
|
464
|
+
Every visual surface inside `.pdx-inline-time-range-panel` exposes `--pdx-inline-time-range-*` CSS custom properties with Material Design 3 (`--md-sys-color-*`) fallbacks, enabling hosts to customize surfaces, shift gradients, anchor buttons, 2-column time input cards, quick-preset chips, and footer actions without `::ng-deep`. Respects `prefers-reduced-motion: reduce`.
|
|
465
|
+
|
|
466
|
+
| Token | Scope | Default / Fallback | Notes |
|
|
438
467
|
| --- | --- | --- | --- |
|
|
439
|
-
| `
|
|
468
|
+
| `--pdx-inline-time-range-min-w` / `-max-w` / `-panel-min-w` / `-panel-max-w` / `-track-inset` | trigger & panel | `inlineAutoSize` / `10px` | Trigger bounds, overlay min/max width, and slider/anchor alignment inset. |
|
|
469
|
+
| `--pdx-inline-time-range-panel-bg` / `-fg` / `-border` / `-radius` / `-shadow` / `-padding` / `-gap` / `-anim-duration` | panel | `--pdx-inline-overlay-*` -> `--md-sys-color-surface-container-*` / `160ms` | Popover surface styling (supports gradients) and reveal duration. |
|
|
470
|
+
| `--pdx-inline-time-range-title-font` / `-size` / `-weight` / `-color` / `-badge-bg` / `-badge-fg` | header | `inherit` / `0.94rem` / `650` | Header typography and active window summary badge (`HH:mm – HH:mm`). |
|
|
471
|
+
| `--pdx-inline-time-range-header-icon-bg` / `-fg` / `-color` | header | primary-tinted halo / `--md-sys-color-primary` | Icon badge surface and foreground for `inlinePanelIcon`. |
|
|
472
|
+
| `--pdx-inline-time-range-track-gradient` / `-shift-madrugada` / `-shift-manha` / `-shift-comercial` / `-shift-tarde` / `-shift-noturno` | shifts & track | shift colors | Background gradient and per-shift color tokens along the 24h track. |
|
|
473
|
+
| `--pdx-inline-time-range-slider-active-track` / `-handle-color` / `-indicator-bg` / `-indicator-fg` | slider | `--md-sys-color-primary` / inverse-surface | Material `<mat-slider>` active track, handle, and discrete tooltip indicator. |
|
|
474
|
+
| `--pdx-inline-time-range-anchor-dot-color` / `-dot-active-color` / `-anchor-fg` / `-hover-fg` / `-hover-bg` / `-active-fg` / `-active-bg` / `-active-border` / `-font` / `-size` / `-radius` | anchors | on-surface-variant / primary-container | Track dots and clickable time anchor snap buttons (`00:00`, `06:00`, `12:00`, `18:00`, `23:59`). |
|
|
475
|
+
| `--pdx-inline-time-range-input-bg` / `-border` / `-focus-border` / `-radius` / `-label-color` / `-fg` / `-font` / `-size` | inputs | surface-container-low / primary / `10px` | 2-column `.pdx-inline-time-range-input-card` fields for start/end times. |
|
|
476
|
+
| `--pdx-inline-time-range-preset-bg` / `-fg` / `-border` / `-radius` / `-active-bg` / `-active-fg` / `-active-border` | presets | surface-container-low / primary-container / `999px` | Quick-preset pills with `[attr.aria-pressed]` selected state. |
|
|
477
|
+
| `--pdx-inline-time-range-action-radius` / `-footer-apply-bg` / `-footer-apply-fg` / `-footer-neutral-fg` / `-action-primary-*` / `-action-neutral-*` / `-action-danger-*` | footer | `999px` / primary / neutral / danger | Footer action button tokens (including `-tonal-container` and `-tonal-label`). |
|
|
478
|
+
|
|
479
|
+
Example host customization without `::ng-deep`:
|
|
480
|
+
|
|
481
|
+
```css
|
|
482
|
+
:root {
|
|
483
|
+
--pdx-inline-time-range-panel-radius: 16px;
|
|
484
|
+
--pdx-inline-time-range-header-icon-bg: rgb(15 118 110 / 0.14);
|
|
485
|
+
--pdx-inline-time-range-header-icon-fg: #0f766e;
|
|
486
|
+
--pdx-inline-time-range-slider-active-track: #0f766e;
|
|
487
|
+
--pdx-inline-time-range-slider-handle-color: #0f766e;
|
|
488
|
+
--pdx-inline-time-range-action-primary-container: #0f766e;
|
|
489
|
+
--pdx-inline-time-range-action-primary-label: #ffffff;
|
|
490
|
+
}
|
|
491
|
+
```
|
|
440
492
|
|
|
441
493
|
## Examples (obrigatorio)
|
|
442
494
|
|