@praxisui/dynamic-fields 10.0.0-rc.6 → 10.0.0-rc.60
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 +26 -1
- package/ai/component-registry.json +93533 -1830
- package/docs/dynamic-fields-field-selection-guide.md +14 -0
- package/docs/dynamic-fields-inline-components-guide.md +56 -46
- package/docs/dynamic-fields-inline-filter-catalog.md +50 -32
- package/docs/dynamic-fields-inline-filter-inventory.md +2 -2
- package/docs/dynamic-fields-inline-filter-runtime-contract.md +71 -18
- package/docs/dynamic-fields-inline-filter-selection-guide.md +10 -8
- package/fesm2022/praxisui-dynamic-fields.mjs +24140 -6010
- 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 +95 -27
- package/src/lib/components/inline-date/pdx-inline-date.json-api.md +24 -0
- package/src/lib/components/inline-date-range/pdx-inline-date-range.json-api.md +96 -46
- 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 +108 -25
- package/src/lib/components/inline-number/pdx-inline-number.json-api.md +70 -48
- 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 +78 -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/src/lib/components/material-range-slider/pdx-material-range-slider.json-api.md +28 -15
- package/src/lib/components/material-slider/pdx-material-slider.json-api.md +16 -8
- package/src/lib/components/number-input/pdx-number-input.json-api.md +14 -8
- package/types/praxisui-dynamic-fields.d.ts +1014 -37
|
@@ -106,14 +106,16 @@ Este documento e a referencia canonica da API JSON de pdx-inline-number.
|
|
|
106
106
|
|
|
107
107
|
| Path | Type | Required | Default | Status | Notes |
|
|
108
108
|
| --- | --- | --- | --- | --- | --- |
|
|
109
|
-
| `metadata` | object | true | n/a |
|
|
110
|
-
| `metadata.min` | number | false |
|
|
111
|
-
| `metadata.max` | number | false |
|
|
112
|
-
| `metadata.step` | number | false |
|
|
113
|
-
| `metadata.inputMode` | string | false |
|
|
114
|
-
| `metadata.numberFormat.percentage` |
|
|
115
|
-
| `metadata.
|
|
116
|
-
| `metadata.
|
|
109
|
+
| `metadata` | object | true | n/a | Active | See Detailed API reference for runtime semantics. |
|
|
110
|
+
| `metadata.min` | number | false | `0` (percent) | Active | Also resolves `metadata.minimum` and `metadata.numericMin`. |
|
|
111
|
+
| `metadata.max` | number | false | `100` (percent) | Active | Also resolves `metadata.maximum` and `metadata.numericMax`. |
|
|
112
|
+
| `metadata.step` | number | false | `0.01` (percent) | Active | Also resolves `metadata.numericStep`. |
|
|
113
|
+
| `metadata.inputMode` | string | false | `decimal` | Active | See Detailed API reference for runtime semantics. |
|
|
114
|
+
| `metadata.numberFormat.percentage` | boolean | false | `false` | Active | Enables interactive percentage mode (`numericFormat: "percent"`, `format: "percent"`, or `valuePresentation.type: "percentage"`). |
|
|
115
|
+
| `metadata.inlineVisualStyle` | `'compact' \| 'graphic'` | false | `'compact'` | Active | Controls compact pill with Percent Studio popover vs expanded graphic rail. |
|
|
116
|
+
| `metadata.percentPresets` | `number[]` | false | `[0, 25, 50, 75, 100]` | Active | Custom quick-preset percentage milestones for the Percent Studio popover and graphic rail. |
|
|
117
|
+
| `metadata.clearButton` | object | false | n/a | Active | See Detailed API reference for runtime semantics. |
|
|
118
|
+
| `metadata.inlineAutoSize.*` | object | false | n/a | Active | See Detailed API reference for runtime semantics. |
|
|
117
119
|
|
|
118
120
|
### Path audit
|
|
119
121
|
|
|
@@ -133,23 +135,25 @@ Nao ha paths experimentais confirmados no contrato publico desta revisao.
|
|
|
133
135
|
|
|
134
136
|
| Block | Purpose | Required | Merge strategy | Notes |
|
|
135
137
|
| --- | --- | --- | --- | --- |
|
|
136
|
-
| `metadata` | Payload declarativo principal do componente | true | deep-merge | runtime linkage verified for core flows (component specs, 2026-
|
|
137
|
-
| `readonlyMode` | Override de readonly no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-
|
|
138
|
-
| `disabledMode` | Override de disabled no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-
|
|
139
|
-
| `visible` | Override de visibilidade no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-
|
|
140
|
-
| `presentationMode` | Renderizacao de apresentacao sem interacao | false | override | runtime linkage verified for core flows (component specs, 2026-
|
|
138
|
+
| `metadata` | Payload declarativo principal do componente | true | deep-merge | runtime linkage verified for core flows (component specs, 2026-10-18). |
|
|
139
|
+
| `readonlyMode` | Override de readonly no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-10-18). |
|
|
140
|
+
| `disabledMode` | Override de disabled no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-10-18). |
|
|
141
|
+
| `visible` | Override de visibilidade no host/runtime | false | override | runtime linkage verified for core flows (component specs, 2026-10-18). |
|
|
142
|
+
| `presentationMode` | Renderizacao de apresentacao sem interacao | false | override | runtime linkage verified for core flows (component specs, 2026-10-18). |
|
|
141
143
|
|
|
142
144
|
### Nested configuration blocks
|
|
143
145
|
|
|
144
146
|
| Path | Type | Required | Default | Constraints | Notes |
|
|
145
147
|
| --- | --- | --- | --- | --- | --- |
|
|
146
|
-
| `metadata.min` | number | false |
|
|
147
|
-
| `metadata.max` | number | false |
|
|
148
|
-
| `metadata.step` | number | false |
|
|
149
|
-
| `metadata.inputMode` | string | false |
|
|
150
|
-
| `metadata.numberFormat.percentage` |
|
|
151
|
-
| `metadata.
|
|
152
|
-
| `metadata.
|
|
148
|
+
| `metadata.min` | number | false | `0` (percent) | component-defined | Active; supports `minimum` / `numericMin` fallbacks. |
|
|
149
|
+
| `metadata.max` | number | false | `100` (percent) | component-defined | Active; supports `maximum` / `numericMax` fallbacks. |
|
|
150
|
+
| `metadata.step` | number | false | `0.01` (percent) | component-defined | Active; supports `numericStep` fallback. |
|
|
151
|
+
| `metadata.inputMode` | string | false | `decimal` | component-defined | Active. |
|
|
152
|
+
| `metadata.numberFormat.percentage` | boolean | false | `false` | component-defined | Active; enables interactive Micro-Ring Gauge and Percent Studio popover. |
|
|
153
|
+
| `metadata.inlineVisualStyle` | `'compact' \| 'graphic'` | false | `'compact'` | `'compact' \| 'graphic'` | Active. |
|
|
154
|
+
| `metadata.percentPresets` | `number[]` | false | quartiles | within `[min, max]` | Active; falls back to `quickPresets` or dynamic quartiles. |
|
|
155
|
+
| `metadata.clearButton` | object | false | n/a | component-defined | Active. |
|
|
156
|
+
| `metadata.inlineAutoSize.*` | object | false | n/a | component-defined | Active. |
|
|
153
157
|
|
|
154
158
|
### Input bindings (inbound data)
|
|
155
159
|
|
|
@@ -283,11 +287,13 @@ Use quando precisar:
|
|
|
283
287
|
#### 3.1 Campos especificos do componente
|
|
284
288
|
| Caminho JSON | Tipo | Status | Comportamento em runtime |
|
|
285
289
|
| --- | --- | --- | --- |
|
|
286
|
-
| `metadata.min` | `number` | Ativo | Limite minimo efetivo do campo. |
|
|
287
|
-
| `metadata.max` | `number` | Ativo | Limite maximo efetivo do campo. |
|
|
288
|
-
| `metadata.step` | `number` | Ativo | Incremento do input numerico. |
|
|
290
|
+
| `metadata.min` | `number` | Ativo | Limite minimo efetivo do campo (aceita tambem `minimum` e `numericMin`). |
|
|
291
|
+
| `metadata.max` | `number` | Ativo | Limite maximo efetivo do campo (aceita tambem `maximum` e `numericMax`). |
|
|
292
|
+
| `metadata.step` | `number` | Ativo | Incremento do input numerico e da trilha/setas (aceita tambem `numericStep`). |
|
|
289
293
|
| `metadata.inputMode` | `string` | Ativo | Define `inputmode` (ex.: decimal/numeric). |
|
|
290
|
-
| `metadata.numberFormat.percentage` | `boolean` | Ativo | Ativa modo percentual com
|
|
294
|
+
| `metadata.numberFormat.percentage` | `boolean` | Ativo | Ativa modo percentual com Micro-Ring Gauge interativo, preenchimento liquido proporcional, gatilho `%` e popover Percent Studio. |
|
|
295
|
+
| `metadata.inlineVisualStyle` | `'compact' \| 'graphic'` | Ativo | `'compact'` (padrao) exibe pilula densa com popover interativo sob demanda; `'graphic'` exibe gauge e trilha deslizante expandidos fora de toolbars compactas. |
|
|
296
|
+
| `metadata.percentPresets` | `number[]` | Ativo | Presets rapidos em 1 clique no Percent Studio e modo grafico (default: quartis calculados sob `[min, max]`, ex.: `[0, 25, 50, 75, 100]`). |
|
|
291
297
|
| `metadata.clearButton` | `boolean \| object` | Ativo | Quick-clear no sufixo. |
|
|
292
298
|
| `metadata.inlineAutoSize.*` | `object` | Ativo | Ajuste de largura minima/maxima por viewport. |
|
|
293
299
|
|
|
@@ -296,13 +302,17 @@ Use quando precisar:
|
|
|
296
302
|
- [pdx-base-input-runtime-contract.json-api.md](projects/praxis-dynamic-fields/src/lib/base/pdx-base-input-runtime-contract.json-api.md)
|
|
297
303
|
|
|
298
304
|
Resumo de composicao deste componente:
|
|
299
|
-
- `Ativo`: limites numericos, modo percentual, autosize e clear.
|
|
300
|
-
- `Extensao de runtime`: tuning inline de largura.
|
|
305
|
+
- `Ativo`: limites numericos, modo percentual interativo (Micro-Ring Gauge + Percent Studio popover + scrubbing), autosize e clear.
|
|
306
|
+
- `Extensao de runtime`: tuning inline de largura e calculo dinamico de quartis/presets.
|
|
301
307
|
|
|
302
308
|
### 4. Mapeamento de Comportamento
|
|
303
|
-
- Modo percentual
|
|
304
|
-
-
|
|
305
|
-
|
|
309
|
+
- Modo percentual (`numberFormat.percentage = true`, `numericFormat = "percent"`, `format = "percent"` ou `valuePresentation.type = "percentage"`) ativa:
|
|
310
|
+
1. **Micro-Ring Donut Gauge (`20px`)** a esquerda do chip com suporte a **drag-to-scrub horizontal** e clique para abrir o **Percent Studio**.
|
|
311
|
+
2. **Liquid Progress Pill**: preenchimento sutil proporcional (`--pdx-inline-percent-fill`) dentro da pilula compacta.
|
|
312
|
+
3. **Gatilho `%` interativo** a direita que abre o **Percent Studio Popover** (`cdkConnectedOverlay` com `cdkTrapFocus`), oferecendo Hero Donut Gauge (`48px`), slider graduado arrastavel com escala dinamica (`percentScaleLabels`), presets de quartil em 1 clique (`percentPresets`) e steppers tateis (`-5%`, `-1%`, `+1%`, `+5%`).
|
|
313
|
+
4. **Preservacao de passos fracionarios**: se `step` for configurado explicitamente (ex.: `0.5` ou `0.25` para taxas financeiras/descontos), o slider, as setas do teclado e os steppers preservam a precisao fracionaria.
|
|
314
|
+
- `metadata.inlineVisualStyle = "graphic"` materializa o gauge e a trilha interativa diretamente no corpo do campo quando fora de `praxis-filter` compacto.
|
|
315
|
+
- Campo recalcula largura com base no conteudo/placeholder, rotulo inline e limites configurados.
|
|
306
316
|
- Validadores `min/max` sao aplicados no control conforme metadata.
|
|
307
317
|
|
|
308
318
|
### 5. Exemplo Minimo (JSON + Uso)
|
|
@@ -333,25 +343,26 @@ Uso: filtro numerico simples.
|
|
|
333
343
|
"min": 0,
|
|
334
344
|
"max": 100,
|
|
335
345
|
"step": 0.5,
|
|
336
|
-
"
|
|
346
|
+
"percentPresets": [0, 10, 25, 50, 75, 100],
|
|
347
|
+
"inlineAutoSize": { "minWidth": 132, "maxWidth": 336 },
|
|
337
348
|
"clearButton": { "enabled": true, "showOnlyWhenFilled": true }
|
|
338
349
|
}
|
|
339
350
|
}
|
|
340
351
|
```
|
|
341
|
-
Uso: filtro percentual
|
|
352
|
+
Uso: filtro percentual corporativo com selecao visual via Percent Studio e precisao de meio ponto percentual (`0.5%`).
|
|
342
353
|
|
|
343
354
|
### 7. Troubleshooting e Armadilhas Comuns
|
|
344
|
-
1. Sufixo `%` nao
|
|
345
|
-
Correcao: ativar `numberFormat.percentage=true`.
|
|
355
|
+
1. Sufixo `%` e Percent Studio nao aparecem.
|
|
356
|
+
Correcao: ativar `numberFormat.percentage=true`, `numericFormat="percent"` ou `valuePresentation.type="percentage"`.
|
|
346
357
|
|
|
347
358
|
2. Valor fora da faixa aceita.
|
|
348
|
-
Correcao: conferir `min/max` e validacao backend correspondente.
|
|
359
|
+
Correcao: conferir `min/max` (ou `numericMin/numericMax`) e validacao backend correspondente.
|
|
349
360
|
|
|
350
361
|
3. Campo muito curto para leitura.
|
|
351
362
|
Correcao: ajustar limites de `inlineAutoSize`.
|
|
352
363
|
|
|
353
364
|
4. Step inesperado em percentual.
|
|
354
|
-
Correcao: definir `step` explicitamente.
|
|
365
|
+
Correcao: definir `step` explicitamente (ex.: `0.5` para taxas fracionarias ou `1` para inteiros).
|
|
355
366
|
|
|
356
367
|
5. Clear indisponivel.
|
|
357
368
|
Correcao: revisar `clearButton` e estados readonly/disabled.
|
|
@@ -373,18 +384,20 @@ Correcao: revisar `clearButton` e estados readonly/disabled.
|
|
|
373
384
|
|
|
374
385
|
| Path | Type | Required | Default | Status | Notes |
|
|
375
386
|
| --- | --- | --- | --- | --- | --- |
|
|
376
|
-
| `metadata` | object | true | n/a |
|
|
377
|
-
| `metadata.min` | number | false |
|
|
378
|
-
| `metadata.max` | number | false |
|
|
379
|
-
| `metadata.step` | number | false |
|
|
380
|
-
| `metadata.inputMode` | string | false |
|
|
381
|
-
| `metadata.numberFormat.percentage` |
|
|
382
|
-
| `metadata.
|
|
383
|
-
| `metadata.
|
|
384
|
-
| `
|
|
385
|
-
| `
|
|
386
|
-
| `
|
|
387
|
-
| `
|
|
387
|
+
| `metadata` | object | true | n/a | Active | See Detailed API reference. |
|
|
388
|
+
| `metadata.min` | number | false | `0` (percent) | Active | See Detailed API reference. |
|
|
389
|
+
| `metadata.max` | number | false | `100` (percent) | Active | See Detailed API reference. |
|
|
390
|
+
| `metadata.step` | number | false | `0.01` (percent) | Active | See Detailed API reference. |
|
|
391
|
+
| `metadata.inputMode` | string | false | `decimal` | Active | See Detailed API reference. |
|
|
392
|
+
| `metadata.numberFormat.percentage` | boolean | false | `false` | Active | See Detailed API reference. |
|
|
393
|
+
| `metadata.inlineVisualStyle` | `'compact' \| 'graphic'` | false | `'compact'` | Active | See Detailed API reference. |
|
|
394
|
+
| `metadata.percentPresets` | `number[]` | false | quartiles | Active | See Detailed API reference. |
|
|
395
|
+
| `metadata.clearButton` | object | false | n/a | Active | See Detailed API reference. |
|
|
396
|
+
| `metadata.inlineAutoSize.*` | object | false | n/a | Active | See Detailed API reference. |
|
|
397
|
+
| `readonlyMode` | boolean | false | `false` | Active | See Detailed API reference. |
|
|
398
|
+
| `disabledMode` | boolean | false | `false` | Active | See Detailed API reference. |
|
|
399
|
+
| `visible` | boolean | false | `true` | Active | See Detailed API reference. |
|
|
400
|
+
| `presentationMode` | boolean | false | `false` | Active | See Detailed API reference. |
|
|
388
401
|
|
|
389
402
|
## Events reference (obrigatorio)
|
|
390
403
|
|
|
@@ -399,7 +412,16 @@ Correcao: revisar `clearButton` e estados readonly/disabled.
|
|
|
399
412
|
|
|
400
413
|
| Token/Class | Scope | Purpose | Notes |
|
|
401
414
|
| --- | --- | --- | --- |
|
|
402
|
-
|
|
|
415
|
+
| `--pdx-inline-percent-accent` | host/body | Cor de destaque principal do tema para o anel, trilha e controles percentuais | Herda fallback automatico de `--pdx-inline-chip-border-active-color` / `--pdx-inline-prefix-icon-color` / `--md-sys-color-primary`. |
|
|
416
|
+
| `--pdx-inline-percent-gradient-start` | host/body | Cor inicial dos gradientes do Donut Gauge e trilha | Personalizavel pelo tema do host. |
|
|
417
|
+
| `--pdx-inline-percent-gradient-mid` | host/body | Cor intermediaria dos gradientes do Donut Gauge e trilha | Personalizavel pelo tema do host. |
|
|
418
|
+
| `--pdx-inline-percent-gradient-end` | host/body | Cor final dos gradientes do Donut Gauge e trilha | Personalizavel pelo tema do host. |
|
|
419
|
+
| `--pdx-inline-percent-rail-gradient` | host/body | Gradiente completo de preenchimento da barra deslizante | Personalizavel pelo tema do host. |
|
|
420
|
+
| `--pdx-inline-percent-fill` | host/chip | Percentual de preenchimento horizontal (0% a 100%) da pilula compacta | Calculado automaticamente pelo componente conforme `[min, max]`. |
|
|
421
|
+
| `--pdx-inline-percent-angle` | host/popover | Angulo em graus (`0deg` a `360deg`) do `conic-gradient` nos Donut Gauges | Calculado automaticamente pelo componente. |
|
|
422
|
+
| `--pdx-inline-percent-tone` | host/popover | Cor semantica ativa da progressao percentual | Evolui dinamicamente conforme a faixa percentual e o tema ativo. |
|
|
423
|
+
| `.pdx-inline-percent-mini-ring` | component | Micro-Ring Donut Gauge interativo (`20px`) no chip compacto | Suporta clique e horizontal drag-to-scrub. |
|
|
424
|
+
| `.pdx-inline-percent-popover` | overlay | Painel flutuante Percent Studio (`cdkConnectedOverlay`) | Respeita `--pdx-inline-overlay-bg`, `--pdx-inline-overlay-border`, `--pdx-inline-overlay-radius` e `--pdx-inline-overlay-shadow`. |
|
|
403
425
|
|
|
404
426
|
## Examples (obrigatorio)
|
|
405
427
|
|
|
@@ -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
|
|
@@ -429,6 +429,10 @@ Correcao: ajustar `inlineAutoSize.panelMinWidth/panelMaxWidth`.
|
|
|
429
429
|
| `metadata.inlineOverlay.actions.apply` | object | false | n/a | Active | Label, aria, icon, appearance and colorRole for Apply. |
|
|
430
430
|
| `metadata.inlineOverlay.actions.cancel` | object | false | n/a | Active | Label, aria, icon, appearance and colorRole for Cancel. |
|
|
431
431
|
| `metadata.inlineOverlay.actions.clear` | object | false | n/a | Active | Label, aria, icon, appearance and colorRole for Clear. |
|
|
432
|
+
| `metadata.inlinePanelTitle` | string | false | `placeholderText()` | Active | Custom heading title for `.pdx-inline-pipeline-header`. |
|
|
433
|
+
| `metadata.inlinePanelSubtitle` | string | false | n/a | Active | Custom subtitle for `.pdx-inline-pipeline-header`. |
|
|
434
|
+
| `metadata.inlinePanelIcon` | string | false | `chipLeadingIcon()` | Active | Material Symbols ligature rendered in the panel header badge. |
|
|
435
|
+
| `metadata.inlinePanelIconColor` | string | false | `prefixIconColor()` | Active | Theme token or CSS color applied to the panel header icon. |
|
|
432
436
|
| `metadata.inlineAutoSize.*` | object | false | n/a | Partial | See Detailed API reference. |
|
|
433
437
|
| `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
434
438
|
| `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
@@ -449,9 +453,20 @@ Correcao: ajustar `inlineAutoSize.panelMinWidth/panelMaxWidth`.
|
|
|
449
453
|
|
|
450
454
|
## Styling API (obrigatorio quando aplicavel)
|
|
451
455
|
|
|
452
|
-
|
|
456
|
+
Every surface inside `.pdx-inline-pipeline-panel` exposes `--pdx-inline-pipeline-*` CSS custom properties with Material Design 3 (`--md-sys-color-*`) fallbacks, and panel entrance animations automatically disable under `@media (prefers-reduced-motion: reduce)`.
|
|
457
|
+
|
|
458
|
+
| Token/Class | Scope | Default / Fallback | Notes |
|
|
453
459
|
| --- | --- | --- | --- |
|
|
454
|
-
| `
|
|
460
|
+
| `--pdx-inline-pipeline-min-w` / `--pdx-inline-pipeline-max-w` | chip | `188px` / `420px` | Trigger pill min/max inline width bounds bound via `inlineAutoSize`. |
|
|
461
|
+
| `--pdx-inline-pipeline-panel-min-w` / `--pdx-inline-pipeline-panel-max-w` | panel | `340px` / `620px` | Popover width limits (`inlineAutoSize.panel*`). |
|
|
462
|
+
| `--pdx-inline-pipeline-panel-bg` / `-fg` / `-border` / `-radius` / `-shadow` / `-padding` / `-gap` | panel | `--pdx-inline-overlay-*` -> `--md-sys-color-surface-container` | Popover container surface, foreground, border, corner radius, shadow, and spacing. |
|
|
463
|
+
| `--pdx-inline-pipeline-anim-duration` | panel | `160ms` | Panel entrance reveal duration (`pdxInlinePipelinePanelIn`); disabled under reduced motion. |
|
|
464
|
+
| `--pdx-inline-pipeline-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. |
|
|
465
|
+
| `--pdx-inline-pipeline-title-size` / `-weight` / `--pdx-inline-pipeline-subtitle-color` / `-size` | header | `1rem` / `600` / `--md-sys-color-on-surface-variant` / `0.82rem` | Header title and subtitle typography. |
|
|
466
|
+
| `--pdx-inline-pipeline-bar-height` / `-radius` / `-border` / `-bg` / `-gradient-low` / `-mid` / `-high` | pipeline bar | `22px` / `999px` / `--md-sys-color-outline-variant` / `--md-sys-color-surface-container-high` | Segmented summary bar sizing and 3-stop gradient color stops. |
|
|
467
|
+
| `--pdx-inline-pipeline-card-border` / `-radius` / `-bg` / `-fg` / `-padding` / `-selected-border` / `-selected-bg` | cards | `--md-sys-color-surface-container-high` / `--md-sys-color-primary-container` | Stage option cards in `.pdx-inline-pipeline-grid`. |
|
|
468
|
+
| `--pdx-inline-pipeline-pill-border` / `-bg` / `-fg` | pills | `--md-sys-color-outline-variant` / `--md-sys-color-surface-container-high` | Selected-stage summary pills (`pipelineShowSelectionPills`). |
|
|
469
|
+
| `--pdx-inline-pipeline-action-primary-*` / `-neutral-*` / `-danger-*` | footer | theme primary / neutral / error | Footer action container and label tokens (`-container`, `-label`, `-tonal-container`, `-tonal-label`). |
|
|
455
470
|
|
|
456
471
|
## Examples (obrigatorio)
|
|
457
472
|
|
|
@@ -21,8 +21,8 @@ source_of_truth:
|
|
|
21
21
|
- "projects/praxis-dynamic-fields/src/lib/components/inline-range-slider/inline-range-slider.component.ts"
|
|
22
22
|
- "projects/praxis-dynamic-fields/src/lib/components/material-range-slider/material-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: false
|
|
38
38
|
has_known_mismatches: false
|
|
@@ -67,7 +67,7 @@ Este documento e a referencia canonica da API JSON de pdx-inline-range-slider.
|
|
|
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-range-slider/inline-range-slider.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-range-slider/material-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/range-slider.config.ts`, `inline-editor-coverage.spec.ts` |
|
|
71
71
|
| Path hygiene | `false` | Manter consistencia entre contrato canonico e caminhos documentados | Active | frontmatter.legacy_paths_present |
|
|
72
72
|
| Known mismatches | `false` | Registrar observed vs desired de forma auditavel | Active | frontmatter.has_known_mismatches |
|
|
73
73
|
|
|
@@ -96,8 +96,8 @@ Este documento e a referencia canonica da API JSON de pdx-inline-range-slider.
|
|
|
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 | `
|
|
100
|
-
| Current path hygiene | `
|
|
99
|
+
| Editor coverage verified | `true` | Revisar sempre com evidencia de editor/tooling |
|
|
100
|
+
| Current path hygiene | `true` | Segregar consistencia do contrato canonico |
|
|
101
101
|
| Has known mismatches | `false` | Divergencias devem aparecer em secao dedicada |
|
|
102
102
|
|
|
103
103
|
## Contract classification (obrigatorio)
|
|
@@ -113,7 +113,17 @@ Este documento e a referencia canonica da API JSON de pdx-inline-range-slider.
|
|
|
113
113
|
| `metadata.quickPresetsAuto` | unknown | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
114
114
|
| `metadata.quickPresetsLabels` | unknown | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
115
115
|
| `metadata.inlineTexts` | unknown | false | n/a | Partial | See Detailed API reference for runtime semantics. |
|
|
116
|
-
| `metadata.
|
|
116
|
+
| `metadata.showAnchors` | `boolean \| "auto"` | false | `"auto"` | Active | Click-to-snap anchors rendered below the slider track. |
|
|
117
|
+
| `metadata.inlinePanelTitle` | string | false | n/a | Active | Optional custom header title inside the popover panel. |
|
|
118
|
+
| `metadata.inlinePanelIcon` | string | false | n/a | Active | Lowercase snake_case Material icon ligature for panel header badge. |
|
|
119
|
+
| `metadata.inlinePanelIconColor` | string | false | n/a | Active | Theme palette or CSS color for panel header icon badge. |
|
|
120
|
+
| `metadata.showInlineInputs` | boolean | false | false | Active | Renders synchronized numeric input cards inside the popover. |
|
|
121
|
+
| `metadata.inputMinLabel` | string | false | n/a | Active | Custom label for start/minimum inline numeric input. |
|
|
122
|
+
| `metadata.inputMaxLabel` | string | false | n/a | Active | Custom label for end/maximum inline numeric input. |
|
|
123
|
+
| `metadata.sliderStep` | number | false | `step` | Active | Step override applied to the slider track independently from inputs. |
|
|
124
|
+
| `metadata.shiftStep` | number | false | `10 * step` | Active | Keyboard jump step on `Shift+Arrow` / `PageUp` / `PageDown`. |
|
|
125
|
+
| `metadata.inlineDistribution` | `InlineRangeDistributionConfig \| unknown[]` | false | n/a | Active | Interactive bucket distribution histogram with optional `from`/`to` range selection. |
|
|
126
|
+
| `metadata.inlineAutoSize.*` | object | false | n/a | Active | Responsive trigger and popover width bounds. |
|
|
117
127
|
|
|
118
128
|
### Path audit
|
|
119
129
|
|
|
@@ -143,13 +153,23 @@ Nao ha paths experimentais confirmados no contrato publico desta revisao.
|
|
|
143
153
|
|
|
144
154
|
| Path | Type | Required | Default | Constraints | Notes |
|
|
145
155
|
| --- | --- | --- | --- | --- | --- |
|
|
146
|
-
| `metadata.mode` | string | false | n/a | component-defined |
|
|
147
|
-
| `metadata.discrete` | boolean | false | n/a | component-defined |
|
|
148
|
-
| `metadata.quickPresets` | array | false | n/a | component-defined |
|
|
149
|
-
| `metadata.quickPresetsAuto` | unknown | false | n/a | component-defined |
|
|
150
|
-
| `metadata.quickPresetsLabels` | unknown | false | n/a | component-defined |
|
|
151
|
-
| `metadata.inlineTexts` | unknown | false | n/a | component-defined |
|
|
152
|
-
| `metadata.
|
|
156
|
+
| `metadata.mode` | string | false | n/a | component-defined | Active; supports `single` and `range`. |
|
|
157
|
+
| `metadata.discrete` | boolean | false | n/a | component-defined | Active; controls thumb indicator display. |
|
|
158
|
+
| `metadata.quickPresets` | array | false | n/a | component-defined | Active; quick range/single preset buttons. |
|
|
159
|
+
| `metadata.quickPresetsAuto` | unknown | false | n/a | component-defined | Active; auto-generated quick presets. |
|
|
160
|
+
| `metadata.quickPresetsLabels` | unknown | false | n/a | component-defined | Active; custom labels for auto presets. |
|
|
161
|
+
| `metadata.inlineTexts` | unknown | false | n/a | component-defined | Active; localized panel strings. |
|
|
162
|
+
| `metadata.showAnchors` | `boolean \| "auto"` | false | `"auto"` | component-defined | Active; click-to-snap anchors. |
|
|
163
|
+
| `metadata.inlinePanelTitle` | string | false | n/a | component-defined | Active; panel header title. |
|
|
164
|
+
| `metadata.inlinePanelIcon` | string | false | n/a | component-defined | Active; header icon ligature (`snake_case`). |
|
|
165
|
+
| `metadata.inlinePanelIconColor` | string | false | n/a | component-defined | Active; header icon badge color. |
|
|
166
|
+
| `metadata.showInlineInputs` | boolean | false | false | component-defined | Active; inline numeric inputs in popover. |
|
|
167
|
+
| `metadata.inputMinLabel` | string | false | n/a | component-defined | Active; label for start input. |
|
|
168
|
+
| `metadata.inputMaxLabel` | string | false | n/a | component-defined | Active; label for end input. |
|
|
169
|
+
| `metadata.sliderStep` | number | false | `step` | `> 0` | Active; track slider step. |
|
|
170
|
+
| `metadata.shiftStep` | number | false | `10 * step` | `> 0` | Active; keyboard large-step jump. |
|
|
171
|
+
| `metadata.inlineDistribution` | `InlineRangeDistributionConfig \| unknown[]` | false | n/a | component-defined | Active; interactive bucket histogram. |
|
|
172
|
+
| `metadata.inlineAutoSize.*` | object | false | n/a | component-defined | Active; responsive panel/trigger width bounds. |
|
|
153
173
|
|
|
154
174
|
### Input bindings (inbound data)
|
|
155
175
|
|
|
@@ -190,9 +210,9 @@ Nao ha paths experimentais confirmados no contrato publico desta revisao.
|
|
|
190
210
|
|
|
191
211
|
| Surface | Verified | Coverage status | Evidence | Notes |
|
|
192
212
|
| --- | --- | --- | --- | --- |
|
|
193
|
-
| Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/inline-range-slider/inline-range-slider.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-range-slider/material-range-slider.component.ts` | Core runtime flows verified via
|
|
213
|
+
| Runtime | `true` | Active | `projects/praxis-dynamic-fields/src/lib/components/inline-range-slider/inline-range-slider.component.ts`, `projects/praxis-dynamic-fields/src/lib/components/material-range-slider/material-range-slider.component.ts` | Core runtime flows and Wave 1 enhancements verified via component specs and Playwright visual/E2E gates. |
|
|
194
214
|
| Schema/Types | `true` | Active | source_of_truth + Detailed API reference | Reconcile schema/types with canonical paths during follow-up when needed. |
|
|
195
|
-
| Editor/Tooling | `
|
|
215
|
+
| Editor/Tooling | `true` | Active | `projects/praxis-core/src/lib/utils/inline-filter-controls.util.ts`, `projects/praxis-metadata-editor/src/lib/config/range-slider.config.ts`, `inline-editor-coverage.spec.ts`, `filter-inline-metadata-editor.playwright.spec.ts` | Editor configuration, round-trip persistence, and metadata coverage verified. |
|
|
196
216
|
|
|
197
217
|
### Runtime coverage boundaries
|
|
198
218
|
|
|
@@ -284,13 +304,19 @@ Use quando precisar:
|
|
|
284
304
|
| Caminho JSON | Tipo | Status | Comportamento em runtime |
|
|
285
305
|
| --- | --- | --- | --- |
|
|
286
306
|
| `metadata.mode` | `'single'\|'range'` | Ativo | Define slider unico ou com dois thumbs. |
|
|
307
|
+
| `metadata.selectionGrid` | `boolean \| 'year' \| 'month'` | Ativo | Renderiza grade interativa clicavel (paginada para anos ou 12 celulas `Jan..Dez` para meses) com selecao single em 1 clique ou range em 2 cliques. |
|
|
308
|
+
| `metadata.showSlider` | `boolean` | Ativo | Controla exibicao da trilha do slider continuo no overlay (`false` por padrao quando `selectionGrid` esta ativo, salvo override explicito). |
|
|
287
309
|
| `metadata.min/max/step` | `number` | Ativo | Limites e granularidade da selecao. |
|
|
310
|
+
| `metadata.sliderStep` / `metadata.shiftStep` | `number` | Ativo | Incremento fino ao arrastar (`sliderStep`) e salto por teclado via `Shift+Setas`, `PageUp` ou `PageDown` (`shiftStep`). |
|
|
311
|
+
| `metadata.showAnchors` | `boolean \| 'auto'` | Ativo | Exibe ancoras clicaveis *click-to-snap* abaixo da trilha (`5` em desktop e `3` em paineis `<= 368px`) que reposicionam o thumb mais proximo ou ativo (`false` usa escala passiva). |
|
|
312
|
+
| `metadata.inlinePanelTitle` / `inlinePanelIcon` / `inlinePanelIconColor` | `string` | Ativo | Cabeçalho personalizavel do popover com ligadura Material Icons em `snake_case` minusculo e cor semantica/CSS. |
|
|
313
|
+
| `metadata.showInlineInputs` / `inputMinLabel` / `inputMaxLabel` | `boolean \| string` | Ativo | Controla exibicao dos cards numericos editaveis no popover e os labels de limite inferior/superior. |
|
|
288
314
|
| `metadata.minDistance/maxDistance` | `number` | Ativo | Validacao de distancia entre extremos no range. |
|
|
289
315
|
| `metadata.discrete` | `boolean` | Ativo | Modo discreto no slider material. |
|
|
290
316
|
| `metadata.quickPresets` | `array \| string(JSON)` | Ativo | Presets de selecao rapida no painel. |
|
|
291
317
|
| `metadata.quickPresetsAuto` | `boolean` | Ativo | Gera presets automaticamente com base na escala. |
|
|
292
318
|
| `metadata.quickPresetsLabels` | `object \| string(JSON)` | Ativo | Textos custom para presets auto. |
|
|
293
|
-
| `metadata.inlineDistribution/distribution/histogram` | `object \| array \| string` | Ativo |
|
|
319
|
+
| `metadata.inlineDistribution/distribution/histogram` | `object \| array \| string` | Ativo | Histograma interativo com barras clicaveis para aplicar faixa `{ from, to }` do bucket diretamente no rascunho/valor. |
|
|
294
320
|
| `metadata.inlineTexts` | `object \| string(JSON)` | Ativo | Override de labels operacionais (`minLabel`, `maxLabel`, `valueLabel`, `quickPresetsLabel`, `clearActionLabel`, `doneActionLabel`) sobre os defaults i18n do namespace `inlineRange`. |
|
|
295
321
|
| `metadata.inlineOverlay.applyMode` | `'auto'\|'explicit'` | Ativo | Em `explicit`, painel mantém slider/inputs/presets em rascunho até Aplicar. |
|
|
296
322
|
| `metadata.inlineOverlay.actions.apply` | `object` | Ativo | Label, aria, aparência, cor semântica e ícone do botão de commit; tem precedência sobre `inlineTexts.doneActionLabel` e sobre os defaults i18n `inlineRange.applyActionLabel/doneActionLabel`. |
|
|
@@ -406,6 +432,13 @@ Correcao: ajustar `inlineAutoSize` para o contexto da toolbar.
|
|
|
406
432
|
| Path | Type | Required | Default | Status | Notes |
|
|
407
433
|
| --- | --- | --- | --- | --- | --- |
|
|
408
434
|
| `metadata` | object | true | n/a | Partial | See Detailed API reference. |
|
|
435
|
+
| `metadata.inlinePanelTitle` | string | false | n/a | Active | Custom panel title shown in popover header. |
|
|
436
|
+
| `metadata.inlinePanelIcon` | string | false | n/a | Active | Lowercase `snake_case` Material icon ligature in header badge (e.g. `tune`). |
|
|
437
|
+
| `metadata.inlinePanelIconColor` | string | false | `--md-sys-color-primary` | Active | Theme token or CSS color override for header badge icon and halo. |
|
|
438
|
+
| `metadata.showAnchors` | `boolean \| 'auto'` | false | `'auto'` | Active | Clickable click-to-snap anchors (`5` desktop / `3` narrow `<= 368px`). |
|
|
439
|
+
| `metadata.sliderStep` / `shiftStep` | number | false | `step` / `step * 5` | Active | Drag granularity and `Shift+Arrow`/`PageUp`/`PageDown` keyboard jump. |
|
|
440
|
+
| `metadata.showInlineInputs` / `inputMinLabel` / `inputMaxLabel` | `boolean \| string` | false | `showInputs` | Active | Inline editable input cards toggle and min/max labels. |
|
|
441
|
+
| `metadata.inlineDistribution` | `object \| array \| string` | false | n/a | Active | Interactive clickable histogram buckets (`{ bins }` or `{ buckets }`). |
|
|
409
442
|
| `metadata.mode` | string | false | n/a | Partial | See Detailed API reference. |
|
|
410
443
|
| `metadata.discrete` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
411
444
|
| `metadata.quickPresets` | array | false | n/a | Partial | See Detailed API reference. |
|
|
@@ -432,9 +465,35 @@ Correcao: ajustar `inlineAutoSize` para o contexto da toolbar.
|
|
|
432
465
|
|
|
433
466
|
## Styling API (obrigatorio quando aplicavel)
|
|
434
467
|
|
|
435
|
-
|
|
468
|
+
Every visual surface inside `.pdx-inline-range-panel` exposes `--pdx-inline-range-*` CSS custom properties with Material Design 3 (`--md-sys-color-*`) fallbacks, enabling hosts to customize backgrounds, gradients, typography, spacing, anchor buttons, clickable histogram bars, and action buttons globally without `::ng-deep`. Respects `prefers-reduced-motion: reduce`.
|
|
469
|
+
|
|
470
|
+
| Token | Scope | Default / Fallback | Notes |
|
|
436
471
|
| --- | --- | --- | --- |
|
|
437
|
-
| `
|
|
472
|
+
| `--pdx-inline-range-min-w` / `-max-w` / `-panel-min-w` / `-panel-max-w` / `-track-inset` | trigger & panel | `inlineAutoSize` / `10px` | Responsive trigger/panel bounds and shared track/anchor inset. |
|
|
473
|
+
| `--pdx-inline-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. |
|
|
474
|
+
| `--pdx-inline-range-title-font` / `-size` / `-weight` / `-color` | header | `inherit` / `0.94rem` / `650` / `--md-sys-color-on-surface` | Panel header title typography and color. |
|
|
475
|
+
| `--pdx-inline-range-header-icon-bg` / `-fg` / `-color` | header | primary-tinted halo / `--md-sys-color-primary` | Icon badge surface and foreground for `inlinePanelIcon`. |
|
|
476
|
+
| `--pdx-inline-range-dist-height` / `-gap` / `-radius` / `-opacity` | histogram | `44px` / `3px` / `4px` / `1` | Layout metrics for interactive `.pdx-inline-range-distribution` bars. |
|
|
477
|
+
| `--pdx-inline-range-hist-bar-bg` / `-active-bg` / `-hover-bg` / `-inactive-opacity` | histogram | primary gradient / `0.3` | Clickable histogram bucket colors (supports CSS gradients) and out-of-range opacity. |
|
|
478
|
+
| `--pdx-inline-range-slider-active-track` / `-inactive-track` / `-handle-color` / `-indicator-bg` / `-indicator-fg` | slider | `--md-sys-color-primary` / outline-variant / inverse-surface | Bridged to Material `<mat-slider>` tokens and discrete value indicator. |
|
|
479
|
+
| `--pdx-inline-range-anchor-dot-color` / `-dot-active-color` | anchors | `66% on-surface-variant` / `--md-sys-color-primary` | Track tick indicator dots aligned with anchor buttons. |
|
|
480
|
+
| `--pdx-inline-range-anchor-fg` / `-hover-fg` / `-hover-bg` / `-active-fg` / `-active-bg` / `-active-border` / `-font` / `-size` / `-radius` | anchors | on-surface-variant / primary / primary-container | Clickable snap buttons (`.pdx-inline-range-anchor`) below the track. |
|
|
481
|
+
| `--pdx-inline-range-input-bg` / `-border` / `-focus-border` / `-radius` / `-label-color` / `-fg` / `-font` / `-size` | inputs | surface-container-low / outline-variant / primary / `10px` | Editable min/max/single input cards. |
|
|
482
|
+
| `--pdx-inline-range-preset-bg` / `-fg` / `-border` / `-radius` / `-hover-bg` / `-hover-border` / `-active-bg` / `-active-fg` / `-active-border` | presets | surface-container-low / primary-container / `999px` | Quick-preset pills with `[attr.aria-pressed]` active state. |
|
|
483
|
+
| `--pdx-inline-range-actions-divider` / `--pdx-inline-range-action-height` / `-padding-x` / `-radius` / `-primary-container` / `-primary-hover-container` / `-primary-label` / `-primary-border` / `-secondary-container` / `-secondary-label` / `-secondary-border` | footer | outline-variant / `999px` / primary gradient-safe | Footer divider and primary/secondary action buttons. |
|
|
484
|
+
|
|
485
|
+
Example host customization without `::ng-deep`:
|
|
486
|
+
|
|
487
|
+
```css
|
|
488
|
+
:root {
|
|
489
|
+
--pdx-inline-range-panel-radius: 16px;
|
|
490
|
+
--pdx-inline-range-header-icon-bg: linear-gradient(135deg, #2563eb, #0284c7);
|
|
491
|
+
--pdx-inline-range-header-icon-fg: #ffffff;
|
|
492
|
+
--pdx-inline-range-hist-bar-bg: linear-gradient(180deg, #2563eb, #60a5fa);
|
|
493
|
+
--pdx-inline-range-action-primary-container: linear-gradient(135deg, #2563eb, #0284c7);
|
|
494
|
+
--pdx-inline-range-action-primary-label: #ffffff;
|
|
495
|
+
}
|
|
496
|
+
```
|
|
438
497
|
|
|
439
498
|
## Examples (obrigatorio)
|
|
440
499
|
|
|
@@ -21,8 +21,8 @@ source_of_truth:
|
|
|
21
21
|
- "projects/praxis-core/src/lib/models/material-field-metadata.interface.ts"
|
|
22
22
|
- "projects/praxis-dynamic-fields/src/lib/components/inline-rating/inline-rating.component.ts"
|
|
23
23
|
- "projects/praxis-metadata-editor/src/lib/config/inline-rating.config.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:
|
|
@@ -222,11 +222,11 @@ Warnings de metadata devem ser tratados no editor. Indisponibilidade da fonte de
|
|
|
222
222
|
|
|
223
223
|
## Detailed API reference
|
|
224
224
|
|
|
225
|
-
As propriedades comuns de
|
|
225
|
+
As propriedades comuns de `MaterialRangeSliderMetadata`, cabeçalho (`inlinePanelTitle`, `inlinePanelIcon`, `inlinePanelIconColor`), âncoras (`showAnchors`, `sliderStep`, `shiftStep`), inputs opcionais (`showInlineInputs`, `inputMinLabel`, `inputMaxLabel`), overlay, clear button, acessibilidade e auto size também são aplicáveis.
|
|
226
226
|
|
|
227
227
|
## JSON path index (obrigatorio)
|
|
228
228
|
|
|
229
|
-
`min`, `max`, `step`, `allowHalf`, `itemsCount`, `quickPresets`, `showTicks`, `discrete`, `prefixIcon`, `ratingGradientLowColor`, `ratingGradientMidColor`, `ratingGradientHighColor`, `ratingBadgeIcon`, `ratingBadgeIconColor`, `ratingActiveIcon`, `ratingInactiveIcon`, `inlineOverlay`, `inlineAutoSize`.
|
|
229
|
+
`min`, `max`, `step`, `sliderStep`, `shiftStep`, `showAnchors`, `inlinePanelTitle`, `inlinePanelIcon`, `inlinePanelIconColor`, `showInlineInputs`, `inputMinLabel`, `inputMaxLabel`, `allowHalf`, `itemsCount`, `quickPresets`, `showTicks`, `discrete`, `prefixIcon`, `ratingGradientLowColor`, `ratingGradientMidColor`, `ratingGradientHighColor`, `ratingBadgeIcon`, `ratingBadgeIconColor`, `ratingActiveIcon`, `ratingInactiveIcon`, `inlineOverlay`, `inlineAutoSize`.
|
|
230
230
|
|
|
231
231
|
## Events reference (obrigatorio)
|
|
232
232
|
|
|
@@ -239,7 +239,20 @@ As propriedades comuns de range, overlay, clear button, acessibilidade e auto si
|
|
|
239
239
|
|
|
240
240
|
## Styling API (obrigatorio quando aplicavel)
|
|
241
241
|
|
|
242
|
-
|
|
242
|
+
Every surface inside `.pdx-inline-rating-panel` exposes `--pdx-inline-rating-*` CSS custom properties with Material Design 3 fallbacks so hosts can theme headers, star gradients, clickable `1 ★ – 5 ★` anchors, input cards, presets, and action buttons without `::ng-deep`. Respects `prefers-reduced-motion: reduce`. The semantic low/mid/high star gradient never auto-reuses footer button accent colors.
|
|
243
|
+
|
|
244
|
+
| Token | Scope | Default / Fallback | Notes |
|
|
245
|
+
| --- | --- | --- | --- |
|
|
246
|
+
| `--pdx-inline-rating-min-w` / `-max-w` / `-panel-min-w` / `-panel-max-w` / `-track-inset` | trigger & panel | `inlineAutoSize` / `10px` | Trigger bounds, overlay container bounds, and track/anchor horizontal inset. |
|
|
247
|
+
| `--pdx-inline-rating-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. |
|
|
248
|
+
| `--pdx-inline-rating-title-font` / `-size` / `-weight` / `-color` / `-scale-badge-bg` / `-scale-badge-fg` / `-badge-star` / `-summary-bg` / `-summary-fg` | header & summary | `inherit` / `0.94rem` / `650` | Header typography, scale pill badge (`0,5 ★` / inteiro), and selection summary chip. |
|
|
249
|
+
| `--pdx-inline-rating-header-icon-bg` / `-fg` / `-color` | header | primary-tinted halo / `--md-sys-color-primary` | Icon badge surface and foreground for `inlinePanelIcon` (defaults to `star`). |
|
|
250
|
+
| `--pdx-inline-rating-star-color` / `-star-outline` / `-tone-low` / `-tone-mid` / `-tone-high` | stars | `#dc2626` / `#f59e0b` / `#16a34a` | Passive visual star bar and dynamic gradient stops. |
|
|
251
|
+
| `--pdx-inline-rating-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. |
|
|
252
|
+
| `--pdx-inline-rating-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 `1 ★ – 5 ★` snap buttons (5 desktop / 3 narrow) below the slider. |
|
|
253
|
+
| `--pdx-inline-rating-input-bg` / `-border` / `-focus-border` / `-radius` / `-label-color` / `-fg` / `-font` / `-size` | inputs | surface-container-low / primary / `10px` | Optional numeric min/max cards (`showInlineInputs: true`) with `★` affix. |
|
|
254
|
+
| `--pdx-inline-rating-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]` state. |
|
|
255
|
+
| `--pdx-inline-rating-action-primary-*` / `-neutral-*` / `-danger-*` | footer | theme primary / neutral / danger | Footer action containers and labels (`-container`, `-label`, `-tonal-container`, `-tonal-label`). |
|
|
243
256
|
|
|
244
257
|
## Examples (obrigatorio)
|
|
245
258
|
|
|
@@ -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
|
|
@@ -418,6 +418,10 @@ Correção: calibrar `relativePeriodColumns` e `inlineAutoSize`.
|
|
|
418
418
|
| `metadata.relativePeriodCloseOnSelect` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
419
419
|
| `metadata.relativePeriodIcon` | string | false | n/a | Partial | See Detailed API reference. |
|
|
420
420
|
| `metadata.relativePeriodTexts` | unknown | false | n/a | Partial | See Detailed API reference. |
|
|
421
|
+
| `metadata.inlinePanelTitle` | string | false | `placeholderText()` | Active | Custom heading title for `.pdx-inline-relative-header`. |
|
|
422
|
+
| `metadata.inlinePanelSubtitle` | string | false | n/a | Active | Custom subtitle for `.pdx-inline-relative-header`. |
|
|
423
|
+
| `metadata.inlinePanelIcon` | string | false | `chipLeadingIcon()` | Active | Material Symbols ligature rendered in the panel header badge. |
|
|
424
|
+
| `metadata.inlinePanelIconColor` | string | false | `prefixIconColor()` | Active | Theme token or CSS color applied to the panel header icon. |
|
|
421
425
|
| `metadata.inlineAutoSize.*` | object | false | n/a | Partial | See Detailed API reference. |
|
|
422
426
|
| `readonlyMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
423
427
|
| `disabledMode` | boolean | false | n/a | Partial | See Detailed API reference. |
|
|
@@ -438,9 +442,19 @@ Correção: calibrar `relativePeriodColumns` e `inlineAutoSize`.
|
|
|
438
442
|
|
|
439
443
|
## Styling API (obrigatorio quando aplicavel)
|
|
440
444
|
|
|
441
|
-
|
|
445
|
+
Every surface inside `.pdx-inline-relative-panel` exposes `--pdx-inline-relative-*` CSS custom properties with Material Design 3 (`--md-sys-color-*`) fallbacks, and animations/transitions disable under `@media (prefers-reduced-motion: reduce)`.
|
|
446
|
+
|
|
447
|
+
| Token/Class | Scope | Default / Fallback | Notes |
|
|
442
448
|
| --- | --- | --- | --- |
|
|
443
|
-
| `
|
|
449
|
+
| `--pdx-inline-relative-min-w` / `--pdx-inline-relative-max-w` | chip | `188px` / `420px` | Trigger pill min/max width controlled by `inlineAutoSize`. |
|
|
450
|
+
| `--pdx-inline-relative-panel-min-w` / `--pdx-inline-relative-panel-max-w` | panel | `320px` / `560px` | Floating panel width constraints (`inlineAutoSize.panel*`). |
|
|
451
|
+
| `--pdx-inline-relative-panel-bg` / `-fg` / `-border` / `-radius` / `-shadow` / `-padding` / `-gap` | panel | `--pdx-inline-overlay-*` -> `--md-sys-color-surface-container` | Popover container surface, border, corner radius, shadow, and gap. |
|
|
452
|
+
| `--pdx-inline-relative-anim-duration` | panel | `160ms` | Panel entrance duration (`pdxInlineRelativePanelIn`); respects reduced motion. |
|
|
453
|
+
| `--pdx-inline-relative-header-gap` / `-icon-size` / `-icon-radius` / `-icon-bg` / `-icon-color` | header | `10px` / `36px` / `10px` / 14% primary tint / `--md-sys-color-primary` | Header badge layout and `inlinePanelIcon` / `inlinePanelIconColor` color override. |
|
|
454
|
+
| `--pdx-inline-relative-title-size` / `-weight` / `--pdx-inline-relative-subtitle-color` / `-size` | header | `1rem` / `600` / `--md-sys-color-on-surface-variant` / `0.82rem` | Header title and subtitle typography. |
|
|
455
|
+
| `--pdx-inline-relative-progress-height` / `-track-bg` / `-gradient-low` / `-mid` / `-high` | progress bar | `8px` / 34% outline-variant / `#64748b`..`#22c55e` | Progress track height, background, and 3-stop gradient stops. |
|
|
456
|
+
| `--pdx-inline-relative-grid-columns` / `--pdx-inline-relative-card-radius` / `-border` / `-bg` / `-fg` / `-padding` / `-selected-border` / `-selected-bg` | grid & cards | `2` / `12px` / `--md-sys-color-surface-container-high` / `--md-sys-color-primary-container` | Responsive preset grid column count (`columns` / `relativePeriodColumns`) and card tokens. |
|
|
457
|
+
| `--pdx-inline-relative-action-primary-*` / `-neutral-*` / `-danger-*` | footer | theme primary / neutral / error | Explicit overlay footer action containers and labels. |
|
|
444
458
|
|
|
445
459
|
## Examples (obrigatorio)
|
|
446
460
|
|