diff --git a/.nvmrc b/.nvmrc index 8ce703082..3516580bb 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.16.0 +20.17.0 diff --git a/Dockerfile b/Dockerfile index 4cb3283da..d1379e26e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.16.0-alpine AS base +FROM node:20.17.0-alpine AS base FROM base AS builder RUN apk add --no-cache libc6-compat diff --git a/apps/nextjs/package.json b/apps/nextjs/package.json index 22b9f3845..24609e891 100644 --- a/apps/nextjs/package.json +++ b/apps/nextjs/package.json @@ -39,9 +39,9 @@ "@mantine/tiptap": "^7.12.1", "@homarr/server-settings": "workspace:^0.1.0", "@t3-oss/env-nextjs": "^0.11.0", - "@tanstack/react-query": "^5.51.23", - "@tanstack/react-query-devtools": "^5.51.23", - "@tanstack/react-query-next-experimental": "5.51.23", + "@tanstack/react-query": "^5.52.1", + "@tanstack/react-query-devtools": "^5.52.1", + "@tanstack/react-query-next-experimental": "5.52.1", "@tabler/icons-react": "^3.12.0", "@trpc/client": "next", "@trpc/next": "next", @@ -50,15 +50,15 @@ "@xterm/addon-canvas": "^0.7.0", "@xterm/addon-fit": "0.10.0", "@xterm/xterm": "^5.5.0", - "chroma-js": "^2.6.0", + "chroma-js": "^3.0.0", "clsx": "^2.1.1", - "dayjs": "^1.11.12", + "dayjs": "^1.11.13", "dotenv": "^16.4.5", "flag-icons": "^7.2.3", "glob": "^11.0.0", "jotai": "^2.9.3", "mantine-react-table": "2.0.0-beta.6", - "next": "^14.2.5", + "next": "^14.2.6", "postcss-preset-mantine": "^1.17.0", "prismjs": "^1.29.0", "react": "^18.3.1", @@ -74,9 +74,9 @@ "@homarr/prettier-config": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0", "@types/chroma-js": "2.4.4", - "@types/node": "^20.15.0", + "@types/node": "^20.16.1", "@types/prismjs": "^1.26.4", - "@types/react": "^18.3.3", + "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "concurrently": "^8.2.2", "eslint": "^9.9.0", diff --git a/apps/nextjs/src/app/[locale]/auth/invite/[id]/_registration-form.tsx b/apps/nextjs/src/app/[locale]/auth/invite/[id]/_registration-form.tsx index b1986f12c..4c86fa61b 100644 --- a/apps/nextjs/src/app/[locale]/auth/invite/[id]/_registration-form.tsx +++ b/apps/nextjs/src/app/[locale]/auth/invite/[id]/_registration-form.tsx @@ -7,6 +7,7 @@ import { clientApi } from "@homarr/api/client"; import { useZodForm } from "@homarr/form"; import { showErrorNotification, showSuccessNotification } from "@homarr/notifications"; import { useScopedI18n } from "@homarr/translation/client"; +import { CustomPasswordInput } from "@homarr/ui"; import type { z } from "@homarr/validation"; import { validation } from "@homarr/validation"; @@ -64,7 +65,8 @@ export const RegistrationForm = ({ invite }: RegistrationFormProps) => {
- { } onClick={handleSelectItem}> {t("item.action.create")} - }>{t("item.action.import")} @@ -139,6 +138,8 @@ const EditModeMenu = () => { setEditMode(true); }, [board, isEditMode, saveBoard, setEditMode]); + useHotkeys([["mod+e", toggle]]); + return ( {isEditMode ? : } diff --git a/apps/nextjs/src/app/[locale]/init/user/_init-user-form.tsx b/apps/nextjs/src/app/[locale]/init/user/_init-user-form.tsx index 516b3b898..e22e81e47 100644 --- a/apps/nextjs/src/app/[locale]/init/user/_init-user-form.tsx +++ b/apps/nextjs/src/app/[locale]/init/user/_init-user-form.tsx @@ -7,6 +7,7 @@ import { clientApi } from "@homarr/api/client"; import { useZodForm } from "@homarr/form"; import { showErrorNotification, showSuccessNotification } from "@homarr/notifications"; import { useScopedI18n } from "@homarr/translation/client"; +import { CustomPasswordInput } from "@homarr/ui"; import type { z } from "@homarr/validation"; import { validation } from "@homarr/validation"; @@ -50,7 +51,11 @@ export const InitUserForm = () => { > - +