From e6f008fa691aef0c14aebf1c13fffd6b1a6cd2a5 Mon Sep 17 00:00:00 2001 From: Christian Reski Date: Thu, 21 Mar 2024 09:47:39 +0100 Subject: [PATCH 1/3] Fix SVG attribute names in TSX (#158) Co-authored-by: Manuel Brandstetter <36969812+brandstetterm@users.noreply.github.com> --- src/components/UserMenu/UserMenu.tsx | 173 ++++++++++++++++++++++----- src/icons/Plus.tsx | 12 +- 2 files changed, 149 insertions(+), 36 deletions(-) diff --git a/src/components/UserMenu/UserMenu.tsx b/src/components/UserMenu/UserMenu.tsx index 2ee21b3..95b7031 100644 --- a/src/components/UserMenu/UserMenu.tsx +++ b/src/components/UserMenu/UserMenu.tsx @@ -1,4 +1,4 @@ -import {useState, useEffect} from "react"; +import { useState, useEffect } from "react"; import classNames from "classnames"; import "./UserMenu.scss"; @@ -9,7 +9,12 @@ type UserMenuProps = { logoutLabel: string; }; -const UserMenu = ({germanLabel, englishLabel, loginLabel, logoutLabel}: UserMenuProps) => { +const UserMenu = ({ + germanLabel, + englishLabel, + loginLabel, + logoutLabel, +}: UserMenuProps) => { const [isActive, setIsActive] = useState(false); const [isAuthenticated, setIsAuthenticated] = useState(false); @@ -39,25 +44,51 @@ const UserMenu = ({germanLabel, englishLabel, loginLabel, logoutLabel}: UserMenu }).then(() => { document.location.reload(); }); - } + }; return ( -
-
); -} +}; export default UserMenu; diff --git a/src/icons/Plus.tsx b/src/icons/Plus.tsx index 528a919..d62904e 100644 --- a/src/icons/Plus.tsx +++ b/src/icons/Plus.tsx @@ -1,6 +1,12 @@ export const Plus = () => ( - - - + + + ); From 11ddf22b8bd379c3b8be9c4d23cfe7e7a717ff7b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Mar 2024 09:47:58 +0100 Subject: [PATCH 2/3] Bump sass from 1.71.0 to 1.72.0 (#190) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Manuel Brandstetter <36969812+brandstetterm@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 36 ++++++++++++++---------------------- 2 files changed, 15 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index f9f7ecb..a5f9349 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,6 @@ "eslint-plugin-astro": "^0.31.4", "eslint-plugin-jsx-a11y": "^6.8.0", "prettier-plugin-astro": "^0.13.0", - "sass": "^1.71.0" + "sass": "^1.72.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d4b55d5..6f25b30 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,7 +19,7 @@ dependencies: version: 2.4.1(react-dom@18.2.0)(react@18.2.0) astro: specifier: ^4.3.5 - version: 4.3.5(sass@1.71.0)(typescript@5.1.3) + version: 4.3.5(sass@1.72.0)(typescript@5.1.3) classnames: specifier: ^2.5.1 version: 2.5.1 @@ -59,8 +59,8 @@ devDependencies: specifier: ^0.13.0 version: 0.13.0 sass: - specifier: ^1.71.0 - version: 1.71.0 + specifier: ^1.72.0 + version: 1.72.0 packages: @@ -119,7 +119,7 @@ packages: peerDependencies: astro: ^4.0.0 dependencies: - astro: 4.3.5(sass@1.71.0)(typescript@5.1.3) + astro: 4.3.5(sass@1.72.0)(typescript@5.1.3) send: 0.18.0 server-destroy: 1.0.1 transitivePeerDependencies: @@ -2609,21 +2609,13 @@ packages: /@types/react-reconciler@0.26.7: resolution: {integrity: sha512-mBDYl8x+oyPX/VBb3E638N0B7xG+SPk/EAMcVPeexqus/5aTpTphQi0curhhshOqRrc9t6OPoJfEUkbymse/lQ==} dependencies: - '@types/react': 18.2.55 + '@types/react': 18.2.56 dev: false /@types/react-reconciler@0.28.8: resolution: {integrity: sha512-SN9c4kxXZonFhbX4hJrZy37yw9e7EIxcpHCxQv5JUS18wDE5ovkQKlqQEkufdJCCMfuI9BnjUJvhYeJ9x5Ra7g==} dependencies: - '@types/react': 18.2.55 - dev: false - - /@types/react@18.2.55: - resolution: {integrity: sha512-Y2Tz5P4yz23brwm2d7jNon39qoAtMMmalOQv6+fEFt1mT+FcM3D841wDpoUvFXhaYenuROCy3FZYqdTjM7qVyA==} - dependencies: - '@types/prop-types': 15.7.5 - '@types/scheduler': 0.16.3 - csstype: 3.1.2 + '@types/react': 18.2.56 dev: false /@types/react@18.2.56: @@ -2797,7 +2789,7 @@ packages: '@babel/plugin-transform-react-jsx-source': 7.23.3(@babel/core@7.23.5) '@types/babel__core': 7.20.5 react-refresh: 0.14.0 - vite: 5.0.12(sass@1.71.0) + vite: 5.0.12(sass@1.72.0) transitivePeerDependencies: - supports-color dev: false @@ -3016,7 +3008,7 @@ packages: - supports-color dev: true - /astro@4.3.5(sass@1.71.0)(typescript@5.1.3): + /astro@4.3.5(sass@1.72.0)(typescript@5.1.3): resolution: {integrity: sha512-7jPffNlcmDO94NlkWe/hUWta/pIjlx1LVD/DZb/fyjT1Jv+7mGhKZBIjkDfeVpequW70mep8cAS5RM7Pxa0Gdg==} engines: {node: '>=18.14.1', npm: '>=6.14.0'} hasBin: true @@ -3080,7 +3072,7 @@ packages: tsconfck: 3.0.0(typescript@5.1.3) unist-util-visit: 5.0.0 vfile: 6.0.1 - vite: 5.0.12(sass@1.71.0) + vite: 5.0.12(sass@1.72.0) vitefu: 0.2.5(vite@5.0.12) which-pm: 2.1.1 yargs-parser: 21.1.1 @@ -7720,8 +7712,8 @@ packages: suf-log: 2.5.3 dev: true - /sass@1.71.0: - resolution: {integrity: sha512-HKKIKf49Vkxlrav3F/w6qRuPcmImGVbIXJ2I3Kg0VMA+3Bav+8yE9G5XmP5lMj6nl4OlqbPftGAscNaNu28b8w==} + /sass@1.72.0: + resolution: {integrity: sha512-Gpczt3WA56Ly0Mn8Sl21Vj94s1axi9hDIzDFn9Ph9x3C3p4nNyvsqJoQyVXKou6cBlfFWEgRW4rT8Tb4i3XnVA==} engines: {node: '>=14.0.0'} hasBin: true dependencies: @@ -8717,7 +8709,7 @@ packages: vfile-message: 4.0.2 dev: false - /vite@5.0.12(sass@1.71.0): + /vite@5.0.12(sass@1.72.0): resolution: {integrity: sha512-4hsnEkG3q0N4Tzf1+t6NdN9dg/L3BM+q8SWgbSPnJvrgH2kgdyzfVJwbR1ic69/4uMJJ/3dqDZZE5/WwqW8U1w==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -8748,7 +8740,7 @@ packages: esbuild: 0.19.8 postcss: 8.4.32 rollup: 4.6.1 - sass: 1.71.0 + sass: 1.72.0 optionalDependencies: fsevents: 2.3.3 dev: false @@ -8761,7 +8753,7 @@ packages: vite: optional: true dependencies: - vite: 5.0.12(sass@1.71.0) + vite: 5.0.12(sass@1.72.0) dev: false /vlq@1.0.1: From 9e148035f8741870673592fa3a1d255fd3205653 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Mar 2024 09:48:50 +0100 Subject: [PATCH 3/3] Bump @typescript-eslint/parser from 7.0.1 to 7.2.0 (#189) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Manuel Brandstetter <36969812+brandstetterm@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 42 +++++++++++++++++++++--------------------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index a5f9349..79ee2e5 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "devDependencies": { "@types/react": "^18.2.56", "@types/react-dom": "^18.2.19", - "@typescript-eslint/parser": "^7.0.1", + "@typescript-eslint/parser": "^7.2.0", "eslint": "^8.56.0", "eslint-plugin-astro": "^0.31.4", "eslint-plugin-jsx-a11y": "^6.8.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6f25b30..c37a961 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -44,8 +44,8 @@ devDependencies: specifier: ^18.2.19 version: 18.2.19 '@typescript-eslint/parser': - specifier: ^7.0.1 - version: 7.0.1(eslint@8.56.0)(typescript@5.1.3) + specifier: ^7.2.0 + version: 7.2.0(eslint@8.56.0)(typescript@5.1.3) eslint: specifier: ^8.56.0 version: 8.56.0 @@ -2666,8 +2666,8 @@ packages: '@types/yargs-parser': 21.0.3 dev: false - /@typescript-eslint/parser@7.0.1(eslint@8.56.0)(typescript@5.1.3): - resolution: {integrity: sha512-8GcRRZNzaHxKzBPU3tKtFNing571/GwPBeCvmAUw0yBtfE2XVd0zFKJIMSWkHJcPQi0ekxjIts6L/rrZq5cxGQ==} + /@typescript-eslint/parser@7.2.0(eslint@8.56.0)(typescript@5.1.3): + resolution: {integrity: sha512-5FKsVcHTk6TafQKQbuIVkXq58Fnbkd2wDL4LB7AURN7RUOu1utVP+G8+6u3ZhEroW3DF6hyo3ZEXxgKgp4KeCg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^8.56.0 @@ -2676,10 +2676,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 7.0.1 - '@typescript-eslint/types': 7.0.1 - '@typescript-eslint/typescript-estree': 7.0.1(typescript@5.1.3) - '@typescript-eslint/visitor-keys': 7.0.1 + '@typescript-eslint/scope-manager': 7.2.0 + '@typescript-eslint/types': 7.2.0 + '@typescript-eslint/typescript-estree': 7.2.0(typescript@5.1.3) + '@typescript-eslint/visitor-keys': 7.2.0 debug: 4.3.4 eslint: 8.56.0 typescript: 5.1.3 @@ -2695,12 +2695,12 @@ packages: '@typescript-eslint/visitor-keys': 5.62.0 dev: true - /@typescript-eslint/scope-manager@7.0.1: - resolution: {integrity: sha512-v7/T7As10g3bcWOOPAcbnMDuvctHzCFYCG/8R4bK4iYzdFqsZTbXGln0cZNVcwQcwewsYU2BJLay8j0/4zOk4w==} + /@typescript-eslint/scope-manager@7.2.0: + resolution: {integrity: sha512-Qh976RbQM/fYtjx9hs4XkayYujB/aPwglw2choHmf3zBjB4qOywWSdt9+KLRdHubGcoSwBnXUH2sR3hkyaERRg==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 7.0.1 - '@typescript-eslint/visitor-keys': 7.0.1 + '@typescript-eslint/types': 7.2.0 + '@typescript-eslint/visitor-keys': 7.2.0 dev: true /@typescript-eslint/types@5.62.0: @@ -2708,13 +2708,13 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/types@7.0.1: - resolution: {integrity: sha512-uJDfmirz4FHib6ENju/7cz9SdMSkeVvJDK3VcMFvf/hAShg8C74FW+06MaQPODHfDJp/z/zHfgawIJRjlu0RLg==} + /@typescript-eslint/types@7.2.0: + resolution: {integrity: sha512-XFtUHPI/abFhm4cbCDc5Ykc8npOKBSJePY3a3s+lwumt7XWJuzP5cZcfZ610MIPHjQjNsOLlYK8ASPaNG8UiyA==} engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/typescript-estree@7.0.1(typescript@5.1.3): - resolution: {integrity: sha512-SO9wHb6ph0/FN5OJxH4MiPscGah5wjOd0RRpaLvuBv9g8565Fgu0uMySFEPqwPHiQU90yzJ2FjRYKGrAhS1xig==} + /@typescript-eslint/typescript-estree@7.2.0(typescript@5.1.3): + resolution: {integrity: sha512-cyxS5WQQCoBwSakpMrvMXuMDEbhOo9bNHHrNcEWis6XHx6KF518tkF1wBvKIn/tpq5ZpUYK7Bdklu8qY0MsFIA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -2722,8 +2722,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 7.0.1 - '@typescript-eslint/visitor-keys': 7.0.1 + '@typescript-eslint/types': 7.2.0 + '@typescript-eslint/visitor-keys': 7.2.0 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -2743,11 +2743,11 @@ packages: eslint-visitor-keys: 3.4.3 dev: true - /@typescript-eslint/visitor-keys@7.0.1: - resolution: {integrity: sha512-hwAgrOyk++RTXrP4KzCg7zB2U0xt7RUU0ZdMSCsqF3eKUwkdXUMyTb0qdCuji7VIbcpG62kKTU9M1J1c9UpFBw==} + /@typescript-eslint/visitor-keys@7.2.0: + resolution: {integrity: sha512-c6EIQRHhcpl6+tO8EMR+kjkkV+ugUNXOmeASA1rlzkd8EPIriavpWoiEz1HR/VLhbVIdhqnV6E7JZm00cBDx2A==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 7.0.1 + '@typescript-eslint/types': 7.2.0 eslint-visitor-keys: 3.4.3 dev: true