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>
18 lines
648 B
TypeScript
18 lines
648 B
TypeScript
import type { Meta, StoryObj } from '@storybook/angular';
|
|
import { UploadStatusIconComponent } from './upload-status-icon.component';
|
|
|
|
const meta: Meta<UploadStatusIconComponent> = {
|
|
title: 'Design System/Atoms/UploadStatusIcon',
|
|
component: UploadStatusIconComponent,
|
|
render: (args) => ({
|
|
props: args,
|
|
template: `<app-upload-status-icon [status]="status" />`,
|
|
}),
|
|
};
|
|
export default meta;
|
|
type Story = StoryObj<UploadStatusIconComponent>;
|
|
|
|
export const Complete: Story = { args: { status: 'complete' } };
|
|
export const Failed: Story = { args: { status: 'failed' } };
|
|
export const Uploading: Story = { args: { status: 'uploading' } };
|