├── v2.0 ├── .prettierignore ├── vite-env.d.ts ├── src │ ├── components │ │ ├── Header │ │ │ ├── index.tsx │ │ │ └── Header.tsx │ │ └── Form │ │ │ ├── Form.types.ts │ │ │ ├── formValidationSchema.tsx │ │ │ ├── components │ │ │ └── TextInput │ │ │ │ ├── TextInput.types.ts │ │ │ │ └── TextInput.tsx │ │ │ └── Form.tsx │ ├── index.css │ ├── index.tsx │ └── App.tsx ├── postcss.config.js ├── .prettierrc ├── .gitignore ├── tailwind.config.js ├── vite.config.ts ├── tsconfig.json ├── index.html ├── jest.config.js ├── README.md ├── package.json └── .eslintrc.js ├── v1.0 ├── src │ ├── __tests__ │ │ ├── __snapshots__ │ │ │ ├── button.spec.jsx.snap │ │ │ ├── row.spec.jsx.snap │ │ │ ├── container.spec.jsx.snap │ │ │ ├── jumbotron.spec.jsx.snap │ │ │ ├── columns.spec.jsx.snap │ │ │ ├── titleHeader.spec.jsx.snap │ │ │ ├── multiselect.spec.jsx.snap │ │ │ ├── textInput.spec.jsx.snap │ │ │ ├── options.spec.jsx.snap │ │ │ └── checkbox.spec.jsx.snap │ │ ├── row.spec.jsx │ │ ├── columns.spec.jsx │ │ ├── container.spec.jsx │ │ ├── jumbotron.spec.jsx │ │ ├── titleHeader.spec.jsx │ │ ├── button.spec.jsx │ │ ├── multiselect.spec.jsx │ │ ├── options.spec.jsx │ │ ├── textInput.spec.jsx │ │ ├── checkbox.spec.jsx │ │ └── form.spec.jsx │ ├── components │ │ ├── Container.jsx │ │ ├── Row.jsx │ │ ├── Jumbotron.jsx │ │ ├── Button.jsx │ │ ├── Column.jsx │ │ ├── Options.jsx │ │ ├── TitleHeader.jsx │ │ ├── MultiSelect.jsx │ │ ├── Checkbox.jsx │ │ ├── TextInput.jsx │ │ └── Form.jsx │ ├── setupTests.js │ ├── index.jsx │ └── App.jsx ├── public │ └── index.html ├── workflows │ └── main.yml ├── .eslintrc.js ├── package.json ├── .gitignore └── README.md └── README.md /v2.0/.prettierignore: -------------------------------------------------------------------------------- 1 | # Ignore all Yaml files 2 | *.yaml -------------------------------------------------------------------------------- /v2.0/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /v2.0/src/components/Header/index.tsx: -------------------------------------------------------------------------------- 1 | export * from './Header' 2 | -------------------------------------------------------------------------------- /v2.0/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | -------------------------------------------------------------------------------- /v2.0/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /v2.0/src/components/Form/Form.types.ts: -------------------------------------------------------------------------------- 1 | export interface FormValues { 2 | firstName: string 3 | lastName: string 4 | } 5 | -------------------------------------------------------------------------------- /v2.0/src/components/Header/Header.tsx: -------------------------------------------------------------------------------- 1 | export const Header = () => ( 2 |