CaseLevels
Erklärt Warnstufen anhand schematischer Banner und der jeweiligen Bedeutung.
src/components/case/CaseLevels.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
- dismiss zeigt nur ein Schließen-Zeichen; es gibt keinen interaktiven Dismiss-Button.
- Farbe ergänzt die ausgeschriebenen Banner-, Titel- und Erklärungstexte; note kennzeichnet die Abbildung.
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:{tone:string;dismiss?:boolean;bar:string;title:string;text:string}[];note:string;locale:Locale}Astro.props
Bindings and defaults read from source; these do not add inferred types.
itemsnotelocale
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/CaseLevels.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./CaseText.astro·src/components/case/CaseText.astro@/components/Zeichen.astro·src/components/Zeichen.astro