CaseFacts
Bündelt führende Kennzahlen mit Rolle, Umfang und Status in einem Case-Faktenpanel.
src/components/case/CaseFacts.astroSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use directly
Entry point: src/components/case/CaseFacts.astro
- meta.kind entscheidet zwischen Text, Tags, Rollenzerlegung und Statusliste; unbekannte kinds erzeugen keinen Wert.
- Rolle und Status werden an · zerlegt; Statusfarben werden heuristisch aus live, proof oder pending abgeleitet und sind keine Evidenzprüfung.
- Auch in Work-Kartenlaboren verwendet; Laborverwendung ist keine Freigabe einer Kartenvariante.
Examples
No dedicated demo is assigned. Use the documented entry point and consumers below; this is not evidence of a missing runtime component.
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
interface Props {label:string;stats:{v:string;k:string;tag?:string;tone?:string}[];meta:{k:string;v:string;kind?:string}[];locale:Locale}Astro.props
Bindings and defaults read from source; these do not add inferred types.
labelstatsmetalocale
Source usage
Website reference
This is static source evidence. A reachable module may contain conditional or unused branches. External consumers and staged static pages are outside this scan. No status authorizes deletion.
Website
- src/pages/en/work/[id].astro
- src/components/case/CasePage.astro
- src/components/case/CaseHero.astro
- src/components/case/CaseFacts.astro
Documentation
- src/pages/design-system/[category].astro
- src/components/ds/DesignSystemPage.astro
- src/components/ds/CaseDemos.astro
- src/components/case/CaseHero.astro
- src/components/case/CaseFacts.astro
Preview
- src/pages/vorschlag/cases/[id].astro
- src/components/case/CasePage.astro
- src/components/case/CaseHero.astro
- src/components/case/CaseFacts.astro
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.
Dependencies
@/i18n·src/i18n/index.ts@/components/Panel.astro·src/components/Panel.astro@/components/PanelHeader.astro·src/components/PanelHeader.astro./CaseText.astro·src/components/case/CaseText.astro./CaseChips.astro·src/components/case/CaseChips.astro@/components/ui/badge·src/components/ui/badge.tsx@/lib/case-presentation·src/lib/case-presentation.ts