CaseScores
Zeigt Umfragescores mit Bezeichnung, Wert und ausgeschriebener Veränderung.
src/components/case/CaseScores.astroSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use through the documented parent
Entry point: src/components/case/CaseData.astro
- Wert und Differenz sind unveränderte Texte; Berechnung, Vergleichsbasis und Quelle müssen im Inhalt gesichert sein.
- tone steuert lediglich die Darstellung der Differenz und ersetzt deren Text nicht.
- Derzeit nutzt kein Case diesen Block: Compass zeigt seine Mittelwerte seit 01.11.2026 als Zahlenfakten (facts, style numbers); deshalb ohne Case-Demo.
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 {items:{k:string;v:string;d:string;tone:string}[]}Astro.props
Bindings and defaults read from source; these do not add inferred types.
items
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
Documentation
Preview
- src/pages/vorschlag/cases/[id].astro
- src/components/case/CasePage.astro
- src/components/case/CaseBlock.astro
- src/components/case/CaseData.astro
- src/components/case/CaseScores.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
@/components/Panel.astro·src/components/Panel.astro