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>
61 lines
1.3 KiB
TypeScript
61 lines
1.3 KiB
TypeScript
/**
|
|
* .Select Left Decoration Stories
|
|
* @generated 2025-12-11T14:37:52.625859
|
|
*/
|
|
import type { Meta, StoryObj } from '@storybook/preact';
|
|
import { SelectLeftDecoration, type SelectLeftDecorationProps } from '../src/atoms/SelectLeftDecoration';
|
|
|
|
const meta: Meta<SelectLeftDecorationProps> = {
|
|
title: '3. Molecules/SelectLeftDecoration',
|
|
component: SelectLeftDecoration,
|
|
tags: ['autodocs'],
|
|
parameters: {
|
|
docs: {
|
|
description: {
|
|
component: `Auto-generated SelectLeftDecoration component
|
|
|
|
**Classification:** molecule
|
|
**Slots:** None
|
|
**Figma ID:** 18:1373`
|
|
}
|
|
}
|
|
},
|
|
argTypes: {
|
|
type: {
|
|
control: 'select',
|
|
options: ['Avatar', 'Blank', 'Checkbox', 'Deco Icon Outline', 'Deco Icon Primary', 'Icon', 'Icon muted', 'Radio', 'Text', 'Text Muted'],
|
|
description: 'Type variant',
|
|
},
|
|
size: {
|
|
control: 'select',
|
|
options: ['Default', 'Large'],
|
|
description: 'Size variant',
|
|
},
|
|
},
|
|
};
|
|
|
|
export default meta;
|
|
type Story = StoryObj<SelectLeftDecorationProps>;
|
|
|
|
export const Default: Story = {
|
|
args: {
|
|
type: 'Avatar',
|
|
size: 'Default',
|
|
children: 'SelectLeftDecoration'
|
|
},
|
|
};
|
|
|
|
export const SizeDefault: Story = {
|
|
args: {
|
|
...Default.args,
|
|
size: 'Default',
|
|
},
|
|
};
|
|
|
|
export const SizeLarge: Story = {
|
|
args: {
|
|
...Default.args,
|
|
size: 'Large',
|
|
},
|
|
};
|