DataDemos
This source is documented by the existing examples linked below.
src/components/ds/DataDemos.astroUsage contract
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
Examples
- work
<Panel><PanelHeader slot="header" path={['Work', t(locale, 'work.path')]} meta={t(locale, 'work.count')} />{workItems(locale).map((w) => <WorkRow {...w} />)}</Panel> <Grid cols={3}>{workItems(locale).map((w) => <WorkCard title={w.title} desc={w.desc} meta={w.meta} glyph={w.glyph} href={w.href} />)}</Grid>
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
interface Props { locale: Locale }Astro.props
Bindings and defaults read from source; these do not add inferred types.
locale
Source usage
Docs / preview only
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.
Documentation
- src/pages/design-system/[category].astro
- src/components/ds/DesignSystemPage.astro
- src/components/ds/DataDemos.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
./DemoBlock.astro·src/components/ds/DemoBlock.astro@/components/Panel.astro·src/components/Panel.astro@/components/PanelHeader.astro·src/components/PanelHeader.astro@/components/Metric.astro·src/components/Metric.astro@/components/StatCard.astro·src/components/StatCard.astro@/components/ProofGrid.astro·src/components/ProofGrid.astro@/components/Timeline.astro·src/components/Timeline.astro@/components/MetaGrid.astro·src/components/MetaGrid.astro@/components/WorkRow.astro·src/components/WorkRow.astro@/components/WorkCard.astro·src/components/WorkCard.astro@/components/Glyph.astro·src/components/Glyph.astro@/components/Grid.astro·src/components/Grid.astro@/components/glyphs.ts·src/components/glyphs.ts@/i18n/index.ts·src/i18n/index.ts./data.ts·src/components/ds/data.ts