@praxisui/charts 10.0.0-rc.43 → 10.0.0-rc.45
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 +5 -4
- package/ai/component-registry.json +350 -34
- package/fesm2022/praxisui-charts.mjs +862 -204
- package/package.json +3 -3
- package/types/praxisui-charts.d.ts +66 -15
package/README.md
CHANGED
|
@@ -313,12 +313,13 @@ The table-safe kinds currently aligned with `PraxisPresentationVisualizationKind
|
|
|
313
313
|
The component does not instantiate ECharts. It renders lightweight HTML/CSS/SVG from `PraxisPresentationVisualizationConfig`
|
|
314
314
|
and falls back to `fallbackText` when the visualization kind cannot be rendered for the current compact surface.
|
|
315
315
|
Use `points` as the canonical numeric series for `line`, `area`, `column`, and `comparison` (accepting raw numbers or `{ value, label }` points);
|
|
316
|
-
use `segments` for `stackedBar
|
|
317
|
-
For `line`, `area`, and `column`, optional `min`/`max` bounds control the vertical domain, `target` and `baseline` render dashed horizontal reference lines inside the SVG plot, and `valueSuffix` appends a unit suffix to
|
|
318
|
-
|
|
316
|
+
use `segments` for `stackedBar` (with optional `title` and `legend: true` on non-`table-cell` surfaces), `thresholds` and `targetLabel` (e.g., `'Meta'`, `'Teto'`, `'Limite'`, `'Alerta'`) for `bullet` and `delta`, and `items` for item/step-oriented visualizations such as `processFlow`.
|
|
317
|
+
For `line`, `area`, and `column`, optional `min`/`max` bounds control the vertical domain, `target` and `baseline` render dashed horizontal reference lines inside the SVG plot, and `valueSuffix` appends a unit suffix to readouts and endpoint labels.
|
|
318
|
+
Floating hover/focus telemetry readouts (`data-micro-readout`) are rendered via `PraxisMicroTooltipOverlayService` directly in `document.body` / HTML Top Layer so ancestor `overflow: hidden`, sticky headers, virtual scroll viewports, and card `transform` states never clip or duplicate percentages.
|
|
319
|
+
On non-`table-cell` surfaces (`list-item`, `object-header`, `card-summary`, `form-presentation`), multi-item visualizations (`stackedBar`, `comparison`, `line`, `area`, `column`, `processFlow`) expose a single keyboard stop (`tabindex="0"`) on the figure container supporting `ArrowLeft`/`ArrowRight`/`ArrowUp`/`ArrowDown`/`Home`/`End`/`Escape` scrubbing with polite `aria-live` announcements, while `surface: 'table-cell'` or `[interactiveContainer]="true"` (when nested inside a clickable KPI card) keeps zero internal `tabindex` stops so grid/card keyboard navigation remains unobstructed.
|
|
319
320
|
Rich charts still use the canonical `x-ui.chart` document flow above; micro visualizations are the lightweight presentation contract for dense cells, list items, object headers, card summaries and form presentation surfaces.
|
|
320
321
|
|
|
321
|
-
Neutral micro visualizations inherit foreground from their container unless the existing `--prx-micro-text-color` token overrides it.
|
|
322
|
+
Neutral micro visualizations inherit foreground from their container unless the existing `--prx-micro-text-color` token overrides it. Sculpted radial rings (`radial`) and sector dials (`harveyBall`) preserve over-capacity readouts (`>100%`) while capping the visual SVG arc to `100%`; `radial` with `surface: 'card-summary'` renders at `3rem` (`size: 'sm'`) with side caption/target metadata or `5.5rem` (`size: 'md'` / `'responsive'`) with an inner medallion subtitle, while `table-cell` indicators retain their compact `24px` geometry.
|
|
322
323
|
|
|
323
324
|
The Dynamic Page Lab's preset studio includes “Testar com componentes reais”: official Table, Chart, Dynamic Form and Micro Visualization components using identified local demonstration data. It supports changing shell finishes, local table selection/pagination, chart data inspection, form editing/read-only mode and supported demonstration states. This fixture does not save business records.
|
|
324
325
|
|