import React from 'react' import { Meta, StoryFn, StoryObj } from '@storybook/react' import StoryWrapper from '../../utils/story-wrapper.jsx' import { Box, Label, Text } from '../index.js' import { Input } from './index.js' const inputTypes = [ 'email', 'file', 'hidden', 'month', 'number', 'tel', 'text', 'time', 'url', 'week', ] const inputVariants = ['sm', 'lg', 'xl', 'default'] export const Default: StoryObj = {} export const Examples: StoryFn = () => ( Write your name: ) const meta: Meta = { title: 'DesignSystem/Atoms/Input', component: Input, args: { type: 'text', disabled: false, borderless: false, variant: 'default', }, argTypes: { borderless: { control: { type: 'boolean' } }, disabled: { control: { type: 'boolean' } }, variant: { options: inputVariants, control: { type: 'select' } }, width: { control: { type: 'number', min: 0, max: 1, step: 0.1 } }, type: { options: inputTypes, control: { type: 'select' } }, }, } export default meta