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
840 B
TypeScript
41 lines
840 B
TypeScript
/**
|
|
* Resizable Stories
|
|
* @generated 2025-12-11T14:37:52.621735
|
|
*/
|
|
import type { Meta, StoryObj } from '@storybook/preact';
|
|
import { Resizable, type ResizableProps } from '../src/atoms/Resizable';
|
|
|
|
const meta: Meta<ResizableProps> = {
|
|
title: '3. Molecules/Resizable',
|
|
component: Resizable,
|
|
tags: ['autodocs'],
|
|
parameters: {
|
|
docs: {
|
|
description: {
|
|
component: `Auto-generated Resizable component
|
|
|
|
**Classification:** molecule
|
|
**Slots:** None
|
|
**Figma ID:** 222:27733`
|
|
}
|
|
}
|
|
},
|
|
argTypes: {
|
|
orientation: {
|
|
control: 'select',
|
|
options: ['Horizontal', 'Vertical'],
|
|
description: 'Orientation variant',
|
|
},
|
|
},
|
|
};
|
|
|
|
export default meta;
|
|
type Story = StoryObj<ResizableProps>;
|
|
|
|
export const Default: Story = {
|
|
args: {
|
|
orientation: 'Horizontal',
|
|
children: 'Resizable'
|
|
},
|
|
};
|