Retitle all 49 stories into a sidebar that makes the DDD seam visible: Foundations (curriculum) -> Design System (Atoms/Molecules/Organisms/ Templates/Devtools, everything in shared/ui + shared/layout) -> Domein (Registratie/Herregistratie/Auth/Brief, everything in a context's ui/). Pin the order via storySort. Add layers.mdx explaining the split and linking the enforcing eslint rules; document the story-title convention in CLAUDE.md. Fix a stale "status banner" reference in atomic-design.mdx left over from WP-13's upload-status-banner deletion. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
20 lines
626 B
TypeScript
20 lines
626 B
TypeScript
import type { Meta, StoryObj } from '@storybook/angular';
|
|
import { applicationConfig } from '@storybook/angular';
|
|
import { provideRouter } from '@angular/router';
|
|
import { LinkComponent } from './link.component';
|
|
|
|
const meta: Meta<LinkComponent> = {
|
|
title: 'Design System/Atoms/Link',
|
|
component: LinkComponent,
|
|
decorators: [applicationConfig({ providers: [provideRouter([])] })],
|
|
render: (args) => ({
|
|
props: args,
|
|
template: `<app-link [to]="to">Naar het dashboard</app-link>`,
|
|
}),
|
|
args: { to: '/dashboard' },
|
|
};
|
|
export default meta;
|
|
type Story = StoryObj<LinkComponent>;
|
|
|
|
export const Default: Story = {};
|