Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/wpcas over view #1

Merged
merged 13 commits into from
Nov 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
1,145 changes: 987 additions & 158 deletions package-lock.json

Large diffs are not rendered by default.

15 changes: 12 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -18,22 +18,31 @@
"prepare": "husky install"
},
"dependencies": {
"axios": "^1.5.1",
"clsx": "^1.2.1",
"lodash": "^4.17.21",
"lucide-react": "^0.260.0",
"next": "^13.4.10",
"react": "^18.2.0",
"react-datepicker": "^4.21.0",
"react-dom": "^18.2.0",
"react-icons": "^4.10.1",
"tailwind-merge": "^1.13.2"
"react-hook-form": "^7.47.0",
"react-icons": "^4.11.0",
"react-select": "^5.7.7",
"react-toastify": "^9.1.3",
"tailwind-merge": "^1.13.2",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@commitlint/cli": "^16.3.0",
"@commitlint/config-conventional": "^16.2.4",
"@tailwindcss/forms": "^0.5.4",
"@svgr/webpack": "^8.0.1",
"@tailwindcss/forms": "^0.5.4",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/lodash": "^4.14.199",
"@types/react": "^18.2.15",
"@types/react-datepicker": "^4.15.2",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"autoprefixer": "^10.4.14",
Binary file added public/images/profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions public/svg/admin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/svg/bellLogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions public/svg/dashboardIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions public/svg/datePickerIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions public/svg/delete.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/svg/editIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/svg/leftArrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/svg/marketplaceIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/svg/rightArrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/svg/searchIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions public/svg/success.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions public/svg/userIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/svg/walletIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions public/svg/warning.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

Unchanged files with check annotations Beta

import clsx from 'clsx';
import get from 'lodash.get';

Check failure on line 2 in src/components/forms/DatePicker.tsx

GitHub Actions / ⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test

Cannot find module 'lodash.get' or its corresponding type declarations.
import ReactDatePicker, { ReactDatePickerProps } from 'react-datepicker';
import { Controller, RegisterOptions, useFormContext } from 'react-hook-form';
import { HiOutlineCalendar } from 'react-icons/hi';
import clsx from 'clsx';
import get from 'lodash.get';

Check failure on line 2 in src/components/forms/DropzoneInput.tsx

GitHub Actions / ⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test

Cannot find module 'lodash.get' or its corresponding type declarations.
import * as React from 'react';
import { Accept, FileRejection, useDropzone } from 'react-dropzone';

Check failure on line 4 in src/components/forms/DropzoneInput.tsx

GitHub Actions / ⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test

Cannot find module 'react-dropzone' or its corresponding type declarations.
import { Controller, useFormContext } from 'react-hook-form';
import FilePreview from '@/components/forms/FilePreview';
import * as React from 'react';
import { get, useFormState } from 'react-hook-form';
import clsxm from '@/lib/clsxm';

Check failure on line 4 in src/components/forms/ErrorMessage.tsx

GitHub Actions / ⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test

Cannot find module '@/lib/clsxm' or its corresponding type declarations.
type ErrorMessageProps = {
id: string;
HiOutlinePhotograph,
HiX,
} from 'react-icons/hi';
import Lightbox from 'react-image-lightbox';

Check failure on line 9 in src/components/forms/FilePreview.tsx

GitHub Actions / ⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test

Cannot find module 'react-image-lightbox' or its corresponding type declarations.
import 'react-image-lightbox/style.css';
import clsx from 'clsx';
import get from 'lodash.get';

Check failure on line 2 in src/components/forms/TextArea.tsx

GitHub Actions / ⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test

Cannot find module 'lodash.get' or its corresponding type declarations.
import { RegisterOptions, useFormContext } from 'react-hook-form';
import { HiExclamationCircle } from 'react-icons/hi';
import Input from '@/components/forms/Input';
import SelectInput from '@/components/forms/SelectInput';
import TextArea from '@/components/forms/TextArea';
import Layout from '@/components/layout/Layout';

Check failure on line 12 in src/pages/sandbox/form.tsx

GitHub Actions / ⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test

Cannot find module '@/components/layout/Layout' or its corresponding type declarations.
import Seo from '@/components/Seo';

Check failure on line 13 in src/pages/sandbox/form.tsx

GitHub Actions / ⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test

Cannot find module '@/components/Seo' or its corresponding type declarations.
import { FileWithPreview } from '@/types/dropzone';
import { FileWithPath } from 'react-dropzone';

Check failure on line 1 in src/types/dropzone.ts

GitHub Actions / ⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test

Cannot find module 'react-dropzone' or its corresponding type declarations.
export type FileWithPreview = FileWithPath & { preview: string };