├── .eslintrc.js ├── .gitignore ├── .husky ├── pre-commit └── pre-push ├── .lintstagedrc ├── .prettierignore ├── .prettierrc.js ├── LICENSE ├── README.md ├── assets └── form.png ├── next-env.d.ts ├── next.config.js ├── package.json ├── pnpm-lock.yaml ├── public ├── favicon.ico └── vercel.svg ├── src ├── components │ ├── ColorSchemeToggle │ │ └── index.tsx │ └── Form │ │ ├── FormController.tsx │ │ ├── components │ │ ├── Checkbox.tsx │ │ ├── CheckboxGroup.tsx │ │ ├── DateInput.tsx │ │ ├── ErrorMessage │ │ │ └── index.tsx │ │ ├── FileInput │ │ │ ├── ValueComponent.tsx │ │ │ └── index.tsx │ │ ├── MultiSelect.tsx │ │ ├── NumberInput.tsx │ │ ├── PasswordInput.tsx │ │ ├── PinInput.tsx │ │ ├── RadioGroup.tsx │ │ ├── Select.tsx │ │ ├── SwitchGroup.tsx │ │ ├── TextInput.tsx │ │ └── Textarea.tsx │ │ ├── index.tsx │ │ ├── types.ts │ │ └── useForm.tsx ├── containers │ └── Form.tsx └── pages │ ├── _app.tsx │ ├── _document.tsx │ ├── api │ └── hello.ts │ ├── index.tsx │ └── simple-form.tsx └── tsconfig.json /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | pnpm lint-staged 5 | -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | pnpm typecheck 5 | -------------------------------------------------------------------------------- /.lintstagedrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/.lintstagedrc -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | pnpm-lock.yaml 2 | *.d.ts 3 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = require('eslint-config-mantine/.prettierrc.js'); -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/README.md -------------------------------------------------------------------------------- /assets/form.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/assets/form.png -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/components/ColorSchemeToggle/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/ColorSchemeToggle/index.tsx -------------------------------------------------------------------------------- /src/components/Form/FormController.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/FormController.tsx -------------------------------------------------------------------------------- /src/components/Form/components/Checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/components/Checkbox.tsx -------------------------------------------------------------------------------- /src/components/Form/components/CheckboxGroup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/components/CheckboxGroup.tsx -------------------------------------------------------------------------------- /src/components/Form/components/DateInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/components/DateInput.tsx -------------------------------------------------------------------------------- /src/components/Form/components/ErrorMessage/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/components/ErrorMessage/index.tsx -------------------------------------------------------------------------------- /src/components/Form/components/FileInput/ValueComponent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/components/FileInput/ValueComponent.tsx -------------------------------------------------------------------------------- /src/components/Form/components/FileInput/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/components/FileInput/index.tsx -------------------------------------------------------------------------------- /src/components/Form/components/MultiSelect.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/components/MultiSelect.tsx -------------------------------------------------------------------------------- /src/components/Form/components/NumberInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/components/NumberInput.tsx -------------------------------------------------------------------------------- /src/components/Form/components/PasswordInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/components/PasswordInput.tsx -------------------------------------------------------------------------------- /src/components/Form/components/PinInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/components/PinInput.tsx -------------------------------------------------------------------------------- /src/components/Form/components/RadioGroup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/components/RadioGroup.tsx -------------------------------------------------------------------------------- /src/components/Form/components/Select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/components/Select.tsx -------------------------------------------------------------------------------- /src/components/Form/components/SwitchGroup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/components/SwitchGroup.tsx -------------------------------------------------------------------------------- /src/components/Form/components/TextInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/components/TextInput.tsx -------------------------------------------------------------------------------- /src/components/Form/components/Textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/components/Textarea.tsx -------------------------------------------------------------------------------- /src/components/Form/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/index.tsx -------------------------------------------------------------------------------- /src/components/Form/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/types.ts -------------------------------------------------------------------------------- /src/components/Form/useForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/components/Form/useForm.tsx -------------------------------------------------------------------------------- /src/containers/Form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/containers/Form.tsx -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/pages/_document.tsx -------------------------------------------------------------------------------- /src/pages/api/hello.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/pages/api/hello.ts -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/pages/simple-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/src/pages/simple-form.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayologist/rhf-zod-mantine-typescript-template/HEAD/tsconfig.json --------------------------------------------------------------------------------