Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
- Button.css uses only CSS custom properties, no fallbacks - Token validator now blocks hardcoded values (strict_mode: true) - Hook scripts converted from ESM (.js) to CommonJS (.cjs) - Storybook unified config with HMR disabled for nginx proxy - Added dss-ui package with Figma-synced components and stories 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
41 lines
765 B
TypeScript
41 lines
765 B
TypeScript
/**
|
|
* Label Stories
|
|
* @generated 2025-12-11T14:37:52.608925
|
|
*/
|
|
import type { Meta, StoryObj } from '@storybook/preact';
|
|
import { Label, type LabelProps } from '../src/atoms/Label';
|
|
|
|
const meta: Meta<LabelProps> = {
|
|
title: '2. Atoms/Label',
|
|
component: Label,
|
|
tags: ['autodocs'],
|
|
parameters: {
|
|
docs: {
|
|
description: {
|
|
component: `Auto-generated Label component
|
|
|
|
**Classification:** atom
|
|
**Slots:** label
|
|
**Figma ID:** 103:9453`
|
|
}
|
|
}
|
|
},
|
|
argTypes: {
|
|
layout: {
|
|
control: 'select',
|
|
options: ['Block', 'Inline'],
|
|
description: 'Layout variant',
|
|
},
|
|
},
|
|
};
|
|
|
|
export default meta;
|
|
type Story = StoryObj<LabelProps>;
|
|
|
|
export const Default: Story = {
|
|
args: {
|
|
layout: 'Block',
|
|
children: 'Label'
|
|
},
|
|
};
|