build(deps): bump the npm group in /web with 14 updates (#1586)

* build(deps): bump the npm group in /web with 14 updates

Bumps the npm group in /web with 14 updates:

| Package | From | To |
| --- | --- | --- |
| [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) | `2.0.4` | `2.1.1` |
| [@heroicons/react](https://github.com/tailwindlabs/heroicons) | `2.1.3` | `2.1.4` |
| [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) | `5.40.1` | `5.49.2` |
| [@tanstack/react-router](https://github.com/TanStack/router/tree/HEAD/packages/react-router) | `1.34.9` | `1.43.4` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.14.1` | `20.14.9` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `7.12.0` | `7.14.1` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `7.12.0` | `7.14.1` |
| [postcss](https://github.com/postcss/postcss) | `8.4.38` | `8.4.39` |
| [react-hook-form](https://github.com/react-hook-form/react-hook-form) | `7.51.5` | `7.52.0` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss) | `3.4.3` | `3.4.4` |
| [@tanstack/router-devtools](https://github.com/TanStack/router/tree/HEAD/packages/router-devtools) | `1.34.9` | `1.43.4` |
| [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) | `7.34.2` | `7.34.3` |
| [typescript](https://github.com/Microsoft/TypeScript) | `5.4.5` | `5.5.2` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.2.12` | `5.3.2` |


Updates `@headlessui/react` from 2.0.4 to 2.1.1
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v2.1.1/packages/@headlessui-react)

Updates `@heroicons/react` from 2.1.3 to 2.1.4
- [Release notes](https://github.com/tailwindlabs/heroicons/releases)
- [Changelog](https://github.com/tailwindlabs/heroicons/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/heroicons/compare/v2.1.3...v2.1.4)

Updates `@tanstack/react-query` from 5.40.1 to 5.49.2
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.49.2/packages/react-query)

Updates `@tanstack/react-router` from 1.34.9 to 1.43.4
- [Release notes](https://github.com/TanStack/router/releases)
- [Commits](https://github.com/TanStack/router/commits/v1.43.4/packages/react-router)

Updates `@types/node` from 20.14.1 to 20.14.9
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@typescript-eslint/eslint-plugin` from 7.12.0 to 7.14.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.14.1/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 7.12.0 to 7.14.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.14.1/packages/parser)

Updates `postcss` from 8.4.38 to 8.4.39
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.38...8.4.39)

Updates `react-hook-form` from 7.51.5 to 7.52.0
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.51.5...v7.52.0)

Updates `tailwindcss` from 3.4.3 to 3.4.4
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.4/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.3...v3.4.4)

Updates `@tanstack/router-devtools` from 1.34.9 to 1.43.4
- [Release notes](https://github.com/TanStack/router/releases)
- [Commits](https://github.com/TanStack/router/commits/v1.43.4/packages/router-devtools)

Updates `eslint-plugin-react` from 7.34.2 to 7.34.3
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.2...v7.34.3)

Updates `typescript` from 5.4.5 to 5.5.2
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.5...v5.5.2)

Updates `vite` from 5.2.12 to 5.3.2
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.3.2/packages/vite)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@heroicons/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@tanstack/react-query"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@tanstack/react-router"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@tanstack/router-devtools"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(web): types
ref https://github.com/react-hook-form/react-hook-form/pull/11969

* fix(web): set explicit types for eventType

* chore(web): bump pnpm

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2024-07-16 23:36:18 +02:00 committed by GitHub
parent 4f0e2d82b3
commit 3cb18b013f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 1031 additions and 931 deletions

View file

@ -4,7 +4,7 @@
"type": "module", "type": "module",
"private": true, "private": true,
"homepage": ".", "homepage": ".",
"packageManager": "pnpm@9.1.4", "packageManager": "pnpm@9.5.0",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "tsc && vite build", "build": "tsc && vite build",
@ -33,32 +33,32 @@
} }
}, },
"dependencies": { "dependencies": {
"@headlessui/react": "^2.0.4", "@headlessui/react": "^2.1.1",
"@heroicons/react": "^2.1.3", "@heroicons/react": "^2.1.4",
"@hookform/error-message": "^2.0.1", "@hookform/error-message": "^2.0.1",
"@popperjs/core": "^2.11.8", "@popperjs/core": "^2.11.8",
"@tailwindcss/forms": "^0.5.7", "@tailwindcss/forms": "^0.5.7",
"@tanstack/react-query": "^5.40.1", "@tanstack/react-query": "^5.49.2",
"@tanstack/react-query-devtools": "^5.29.2", "@tanstack/react-query-devtools": "^5.29.2",
"@tanstack/react-router": "^1.34.9", "@tanstack/react-router": "^1.43.4",
"@types/node": "^20.14.1", "@types/node": "^20.14.9",
"@types/react": "^18.3.3", "@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"@types/react-portal": "^4.0.7", "@types/react-portal": "^4.0.7",
"@types/react-table": "^7.7.20", "@types/react-table": "^7.7.20",
"@typescript-eslint/eslint-plugin": "^7.12.0", "@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.12.0", "@typescript-eslint/parser": "^7.14.1",
"@vitejs/plugin-react-swc": "^3.7.0", "@vitejs/plugin-react-swc": "^3.7.0",
"autoprefixer": "^10.4.19", "autoprefixer": "^10.4.19",
"buffer": "^6.0.3", "buffer": "^6.0.3",
"date-fns": "^3.6.0", "date-fns": "^3.6.0",
"formik": "^2.4.6", "formik": "^2.4.6",
"http-proxy-middleware": "^3.0.0", "http-proxy-middleware": "^3.0.0",
"postcss": "^8.4.38", "postcss": "^8.4.39",
"react": "^18.3.1", "react": "^18.3.1",
"react-debounce-input": "^3.3.0", "react-debounce-input": "^3.3.0",
"react-dom": "^18.3.1", "react-dom": "^18.3.1",
"react-hook-form": "^7.51.5", "react-hook-form": "^7.52.0",
"react-hot-toast": "^2.4.1", "react-hot-toast": "^2.4.1",
"react-multi-select-component": "^4.3.4", "react-multi-select-component": "^4.3.4",
"react-popper-tooltip": "^4.4.2", "react-popper-tooltip": "^4.4.2",
@ -69,7 +69,7 @@
"react-textarea-autosize": "^8.5.3", "react-textarea-autosize": "^8.5.3",
"stacktracey": "^2.1.8", "stacktracey": "^2.1.8",
"tailwind-lerp-colors": "1.2.6", "tailwind-lerp-colors": "1.2.6",
"tailwindcss": "^3.4.3", "tailwindcss": "^3.4.4",
"workbox-window": "^7.1.0", "workbox-window": "^7.1.0",
"zod": "^3.23.8", "zod": "^3.23.8",
"zod-formik-adapter": "^1.3.0" "zod-formik-adapter": "^1.3.0"
@ -77,24 +77,24 @@
"devDependencies": { "devDependencies": {
"@microsoft/eslint-formatter-sarif": "^3.1.0", "@microsoft/eslint-formatter-sarif": "^3.1.0",
"@rollup/wasm-node": "^4.18.0", "@rollup/wasm-node": "^4.18.0",
"@tanstack/router-devtools": "^1.34.9", "@tanstack/router-devtools": "^1.43.4",
"@types/node": "^20.14.1", "@types/node": "^20.14.9",
"@types/react": "^18.3.3", "@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"@types/react-portal": "^4.0.7", "@types/react-portal": "^4.0.7",
"@types/react-table": "^7.7.20", "@types/react-table": "^7.7.20",
"@typescript-eslint/eslint-plugin": "^7.12.0", "@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.12.0", "@typescript-eslint/parser": "^7.14.1",
"@vitejs/plugin-react-swc": "^3.7.0", "@vitejs/plugin-react-swc": "^3.7.0",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1", "eslint-plugin-import": "^2.29.1",
"eslint-plugin-react": "^7.34.2", "eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7", "eslint-plugin-react-refresh": "^0.4.7",
"eslint-watch": "^8.0.0", "eslint-watch": "^8.0.0",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"typescript": "^5.4.5", "typescript": "^5.5.2",
"vite": "^5.2.12", "vite": "^5.3.2",
"vite-plugin-pwa": "^0.20.0", "vite-plugin-pwa": "^0.20.0",
"vite-plugin-svgr": "^4.2.0" "vite-plugin-svgr": "^4.2.0"
} }

1920
web/pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

View file

@ -84,9 +84,9 @@ export const Input: FC<InputProps> = forwardRef<HTMLInputElement, InputProps>(
} }
); );
export type FormInputProps<TFormValues> = { export type FormInputProps<TFormValues extends FieldValues> = {
name: Path<TFormValues>; name: Path<TFormValues>;
rules?: RegisterOptions; rules?: RegisterOptions<TFormValues, Path<TFormValues>>;
register?: UseFormRegister<TFormValues & FieldValues>; register?: UseFormRegister<TFormValues & FieldValues>;
errors?: Partial<DeepMap<TFormValues, FieldError>>; errors?: Partial<DeepMap<TFormValues, FieldError>>;
} & Omit<InputProps, "name">; } & Omit<InputProps, "name">;

View file

@ -14,7 +14,7 @@ interface StatsItemProps {
value?: number; value?: number;
placeholder?: string; placeholder?: string;
to?: string; to?: string;
eventType?: string; eventType?: "" | "PUSH_APPROVED" | "PUSH_REJECTED" | "PUSH_ERROR" | undefined;
} }
const StatsItem = ({ name, placeholder, value, to, eventType }: StatsItemProps) => ( const StatsItem = ({ name, placeholder, value, to, eventType }: StatsItemProps) => (