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>
47 lines
1.2 KiB
TypeScript
47 lines
1.2 KiB
TypeScript
/**
|
|
* Sidebar Item / Expanded / 1st Level Stories
|
|
* @generated 2025-12-11T14:37:52.633240
|
|
*/
|
|
import type { Meta, StoryObj } from '@storybook/preact';
|
|
import { SidebarItemExpanded1stLevel, type SidebarItemExpanded1stLevelProps } from '../src/atoms/SidebarItemExpanded1stLevel';
|
|
|
|
const meta: Meta<SidebarItemExpanded1stLevelProps> = {
|
|
title: '2. Atoms/SidebarItemExpanded1stLevel',
|
|
component: SidebarItemExpanded1stLevel,
|
|
tags: ['autodocs'],
|
|
parameters: {
|
|
docs: {
|
|
description: {
|
|
component: `Auto-generated SidebarItemExpanded1stLevel component
|
|
|
|
**Classification:** atom
|
|
**Slots:** None
|
|
**Figma ID:** 27:3414`
|
|
}
|
|
}
|
|
},
|
|
argTypes: {
|
|
state: {
|
|
control: 'select',
|
|
options: ['Active', 'Active Focus', 'Default', 'Focus'],
|
|
description: 'State variant',
|
|
},
|
|
type: {
|
|
control: 'select',
|
|
options: ['Badge', 'Base', 'Collapsed', 'Dropdown', 'Expanded'],
|
|
description: 'Type variant',
|
|
},
|
|
},
|
|
};
|
|
|
|
export default meta;
|
|
type Story = StoryObj<SidebarItemExpanded1stLevelProps>;
|
|
|
|
export const Default: Story = {
|
|
args: {
|
|
state: 'Active',
|
|
type: 'Badge',
|
|
children: 'SidebarItemExpanded1stLevel'
|
|
},
|
|
};
|