CaseStepper
Macht einen Research-Verlauf als scrollbare Stationsreihe mit Segmentauswahl und Vor-/Zurück-Aktionen lesbar.
src/components/case/CaseStepper.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
- Benötigt mindestens einen Eintrag, da Datum und Endbeschriftung direkt aus erstem und letztem Element kommen.
- Pfeiltasten am fokussierbaren Verlauf und Segmentbuttons steuern dieselbe Scrollposition; aria-current, Grenz-Disabled und Live-Zähler erhalten.
- Ohne JavaScript bleibt die Reihe horizontal scrollbar; reduzierte Bewegung schaltet sanftes Scrollen ab.
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 {labels:{role:string;effect:string};items:{d:string;t:string;b:string;role?:string;effect?:string}[];note?:string;locale:Locale;label?:string}Astro.props
Bindings and defaults read from source; these do not add inferred types.
labelsitemsnotelocalelabel = 'Research'
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/CaseStepper.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/Zeichen.astro·src/components/Zeichen.astro./CaseText.astro·src/components/case/CaseText.astro@/lib/case-presentation·src/lib/case-presentation.ts