import type { Meta, StoryObj } from '@storybook/react-vite'; import { type ComponentMatrixCellProps, Story } from './_internal/Story'; import { Input } from './Input'; const meta = { component: Input, parameters: { layout: 'fullscreen', }, title: 'components/Input', } satisfies Meta; export default meta; type StoryDefinition = StoryObj; const STATE_COLUMNS = [ { key: 'empty', label: 'Empty' }, { key: 'filled', label: 'Filled' }, { key: 'disabled', label: 'Disabled' }, { key: 'invalid', label: 'Invalid' }, ]; const TYPE_ROWS = [ { description: 'General text input', key: 'text', label: 'Text' }, { description: 'Keyboard hint for email', key: 'email', label: 'Email' }, { description: 'Masked text entry', key: 'password', label: 'Password' }, ]; function InputMatrixCell({ column, row }: ComponentMatrixCellProps) { const isInvalid = column.key === 'invalid'; return ( ); } export const All: StoryDefinition = { render: () => ( ), };