├── .husky └── pre-commit ├── src ├── components │ ├── icon │ │ ├── index.tsx │ │ └── icon.tsx │ ├── badge │ │ ├── index.tsx │ │ ├── badge.stories.tsx │ │ └── badge.tsx │ ├── button │ │ ├── index.tsx │ │ ├── button.tsx │ │ └── button.module.css │ ├── callout │ │ ├── index.tsx │ │ └── callout.tsx │ ├── input │ │ ├── index.tsx │ │ ├── input.stories.tsx │ │ └── input.tsx │ ├── toggle │ │ ├── index.tsx │ │ ├── toggle.stories.tsx │ │ └── toggle.tsx │ ├── checkbox │ │ ├── index.tsx │ │ └── checkbox.tsx │ ├── text-area │ │ ├── index.tsx │ │ ├── get-length.ts │ │ ├── text-area.stories.tsx │ │ └── text-area.tsx │ └── task-list │ │ ├── index.tsx │ │ ├── task-list.stories.tsx │ │ ├── task-list.tsx │ │ └── task-list-context.tsx ├── vite-env.d.ts ├── index.css └── tokens │ └── colors.ts ├── postcss.config.js ├── vite.config.ts ├── .prettierrc ├── tailwind.config.ts ├── tsconfig.node.json ├── .storybook ├── preview.ts └── main.ts ├── public ├── favicon.svg └── mockServiceWorker.js ├── .gitignore ├── README.md ├── index.html ├── .eslintrc.cjs ├── tsconfig.json └── package.json /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | pnpm exec lint-staged 2 | -------------------------------------------------------------------------------- /src/components/icon/index.tsx: -------------------------------------------------------------------------------- 1 | export * from './icon'; 2 | -------------------------------------------------------------------------------- /src/components/badge/index.tsx: -------------------------------------------------------------------------------- 1 | export * from './badge'; 2 | -------------------------------------------------------------------------------- /src/components/button/index.tsx: -------------------------------------------------------------------------------- 1 | export * from './button'; 2 | -------------------------------------------------------------------------------- /src/components/callout/index.tsx: -------------------------------------------------------------------------------- 1 | export * from './callout'; 2 | -------------------------------------------------------------------------------- /src/components/input/index.tsx: -------------------------------------------------------------------------------- 1 | export * from './input'; 2 | -------------------------------------------------------------------------------- /src/components/toggle/index.tsx: -------------------------------------------------------------------------------- 1 | export * from './toggle'; 2 | -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /src/components/checkbox/index.tsx: -------------------------------------------------------------------------------- 1 | export * from './checkbox'; 2 | -------------------------------------------------------------------------------- /src/components/text-area/index.tsx: -------------------------------------------------------------------------------- 1 | export * from './text-area'; 2 | -------------------------------------------------------------------------------- /src/components/task-list/index.tsx: -------------------------------------------------------------------------------- 1 | export * from './task-list'; 2 | export * from './task-list-context'; 3 | -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | }; 7 | -------------------------------------------------------------------------------- /src/components/button/button.tsx: -------------------------------------------------------------------------------- 1 | export const Button = (props: any) => { 2 | return