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
832 B
TypeScript
41 lines
832 B
TypeScript
/**
|
|
* Alert Dialog Stories
|
|
* @generated 2025-12-11T14:37:52.564485
|
|
*/
|
|
import type { Meta, StoryObj } from '@storybook/preact';
|
|
import { AlertDialog, type AlertDialogProps } from '../src/atoms/AlertDialog';
|
|
|
|
const meta: Meta<AlertDialogProps> = {
|
|
title: '3. Molecules/AlertDialog',
|
|
component: AlertDialog,
|
|
tags: ['autodocs'],
|
|
parameters: {
|
|
docs: {
|
|
description: {
|
|
component: `Auto-generated AlertDialog component
|
|
|
|
**Classification:** molecule
|
|
**Slots:** None
|
|
**Figma ID:** 139:11941`
|
|
}
|
|
}
|
|
},
|
|
argTypes: {
|
|
type: {
|
|
control: 'select',
|
|
options: ['Desktop', 'Mobile'],
|
|
description: 'Type variant',
|
|
},
|
|
},
|
|
};
|
|
|
|
export default meta;
|
|
type Story = StoryObj<AlertDialogProps>;
|
|
|
|
export const Default: Story = {
|
|
args: {
|
|
type: 'Desktop',
|
|
children: 'AlertDialog'
|
|
},
|
|
};
|