Meter
canonA thin static bar showing how full something is against a limit or a goal; the value stands next to it as text.
AD 26 Sep 2026 (wave B inventory): Meter and Progress are two legitimate elements, the same pair as HTML <meter> vs <progress>. Meter = a static ratio to a limit or goal (budget drawn, room occupancy, KPI, progress to promotion, project done/total, portfolio weight); Progress = work running now that ends done or failed. 7 uses on main (Rozpočty ×2, Zasedačky, Tým detail, Člen týmu KPI + Rozpočty, Portfolio výsledky, StatTile pct); Kariéra (.kar-bar, acrm !3898) and the public project page (ProgressBar.tsx deleted, .dp-*, acrm !3900) were migrated onto it on 27 Sep 2026. Moved into @acrm/ui on 27 Sep 2026 (acrm !3929: Meter + usageTone, CSS layer ds/meter.css, stories with baseline, zero visual change on 776 snapshots). TaskList .tl-prog turned out to be dead API (no screen passed progress/pct) and is deleted (acrm !3947). Track = --border like Progress — approved by the owner 27 Sep 2026 (preview meter-draha: the --surface-75 track was practically invisible on white cards). Registry repaired 17 Oct 2026 (review F3): mapped existing Ladle stories.
Used in 19 files · 15 areas · 23× — components/StatTile, components/agent-desk, components/assistant, components/clen-tymu, components/mail, components/meetings …
Changelog since 2. 10. 2026
- 2. 10. 2026refactor(ui): lokální .prof-bar-track → kanonický <Meter>; Meter size="sm" (4 px)packages/ui/src/components/Meter.tsxŠtěpán · c71b24ec0
- 2. 10. 2026feat(ui): Meter — volitelná ryska prahu/cíle (mark, markLabel)packages/ui/src/components/Meter.tsxŠtěpán · 8bf8f096b
- 2. 10. 2026fix(ui): Meter ryska — kontrast ≥ 3 : 1 (AD): --fg, 2 px, přesah, mezera v plošeapps/web/src/ds/meter.cssŠtěpán · fe8276adb