StoryDemos
Diese Quelle ist durch die unten verlinkten vorhandenen Beispiele dokumentiert.
src/components/ds/StoryDemos.astroVerwendung
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
Beispiele
- story-roles
<div class="ds-roles">{roles.map(r=><span class="ds-role"><i style={`background:var(--${r})`}></i><code>--{r}</code></span>)}<span class="ds-role"><i class="ds-role__ink"></i><code>.case-path.dark</code></span></div> - story-hero
<div class="case-hero-stage ds-story--hero"><div class="case-frame"><CaseHero content={c} locale={locale} demo story/></div></div> - story-platform
<div class="ds-story case-path dark"><StoryScene name="lanes" locale={locale}/></div> - story-signal
<div class="ds-story case-path dark"><StoryScene name="signal" locale={locale}/></div> - story-decision
<div class="ds-story case-path dark"><StoryScene name="dobj" locale={locale}/></div> - story-chat
<div class="ds-story case-path dark"><StoryScene name="zain" locale={locale}/></div> - story-dashboard
<div class="ds-story case-path dark"><StoryScene name="dash" locale={locale}/></div> - story-station-mock
<div class="ds-story case-path dark"><ol class="case-path__steps"><StoryStation i={story.steps[withMock]} n={withMock} art={arts[story.steps[withMock].id]} locale={locale} zoomLabel={t(locale,'case.zoom')} lit/></ol></div> - story-band
<CaseHighlight b={band}/> - story-tip
<div class="ds-tips"><CaseTip k="01" t={story.steps[0].t} b={story.steps[0].b} locale={locale}/><CaseTip k="19" t={c.hero.h1} locale={locale}/></div> - story-pager
<CasePager prev={link(others[0],'design-systems')} next={link(others[1],'product-systems')} locale={locale}/> - story-notes
<CaseFooter notes={c.notes} locale={locale}/> - story-motion
<p class="max-w-text text-sm text-ink-muted">{t(locale,'ds.storyMotionNote')}</p>
API
Mit dem TypeScript-Parser aus der Quelle gelesen. Vererbte und importierte Typen bleiben Referenzen; verbindlich ist die Implementierung.
interface Props {locale:Locale}Astro.props
Bindings und Defaults aus der Quelle; daraus werden keine Typen erfunden.
locale
Quellnutzung
Nur Doku / Vorschau
Das ist statische Quellevidenz. Ein erreichbares Modul kann bedingte oder ungenutzte Zweige enthalten. Externe Verbraucher und gestagte statische Seiten liegen außerhalb des Scans. Kein Status ist eine Löschfreigabe.
Dokumentation
- src/pages/design-system/[category].astro
- src/components/ds/DesignSystemPage.astro
- src/components/ds/StoryDemos.astro
Verbraucher im Quellcode
Direkte statische, dynamische und Typimporte. Importe beweisen weder einen gerenderten Zweig noch die Veröffentlichung eines Vorschlags.
Abhängigkeiten
@/lib/cases·src/lib/cases.ts@/lib/story·src/lib/story.ts@/components/story/StoryStart.astro·src/components/story/StoryStart.astro@/components/story/StoryDock.astro·src/components/story/StoryDock.astro@/components/story/StoryScene.astro·src/components/story/StoryScene.astro@/components/story/StoryStation.astro·src/components/story/StoryStation.astro@/components/case/CaseTip.astro·src/components/case/CaseTip.astro@/components/case/CasePager.astro·src/components/case/CasePager.astro@/components/case/CaseHero.astro·src/components/case/CaseHero.astro@/components/case/CaseHighlight.astro·src/components/case/CaseHighlight.astro@/components/case/CaseFooter.astro·src/components/case/CaseFooter.astro./DemoBlock.astro·src/components/ds/DemoBlock.astro@/i18n·src/i18n/index.ts@/styles/case.css·src/styles/case.css