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
843 B
TypeScript
41 lines
843 B
TypeScript
/**
|
|
* Date Picker Stories
|
|
* @generated 2025-12-11T14:37:52.590881
|
|
*/
|
|
import type { Meta, StoryObj } from '@storybook/preact';
|
|
import { DatePicker, type DatePickerProps } from '../src/atoms/DatePicker';
|
|
|
|
const meta: Meta<DatePickerProps> = {
|
|
title: '3. Molecules/DatePicker',
|
|
component: DatePicker,
|
|
tags: ['autodocs'],
|
|
parameters: {
|
|
docs: {
|
|
description: {
|
|
component: `Auto-generated DatePicker component
|
|
|
|
**Classification:** molecule
|
|
**Slots:** None
|
|
**Figma ID:** 288:119954`
|
|
}
|
|
}
|
|
},
|
|
argTypes: {
|
|
months: {
|
|
control: 'select',
|
|
options: ['1 Month', '2 months', '3 months'],
|
|
description: 'Months variant',
|
|
},
|
|
},
|
|
};
|
|
|
|
export default meta;
|
|
type Story = StoryObj<DatePickerProps>;
|
|
|
|
export const Default: Story = {
|
|
args: {
|
|
months: '1 Month',
|
|
children: 'DatePicker'
|
|
},
|
|
};
|