From d7bd9613999dfeaadc7e091a6a729b0b8142aab9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 23 Sep 2026 17:12:50 +0200 Subject: [PATCH] fix(deps): update dependency @immich/ui to ^0.90.0 (#31720) Co-authored-by: Mees Frensel --- pnpm-lock.yaml | 10 +++++----- pnpm-workspace.yaml | 2 +- web/package.json | 2 +- web/src/lib/components/ActionMenuItem.svelte | 2 +- web/src/lib/components/BreadcrumbActionPage.svelte | 2 +- web/src/lib/components/HeaderActionButton.svelte | 2 +- web/src/lib/components/TableButton.svelte | 9 ++++++++- web/src/lib/components/layouts/UserPageLayout.svelte | 2 +- .../shared-components/EmptyPlaceholder.svelte | 2 +- .../shared-components/context-menu/MenuOption.svelte | 6 +++--- .../routes/(user)/user-settings/UserApiKeyList.svelte | 7 ++++++- web/src/routes/(user)/workflows/+page.svelte | 2 +- 12 files changed, 30 insertions(+), 18 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a4b0efb43..50161b15c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -801,8 +801,8 @@ importers: specifier: workspace:* version: link:../packages/sdk '@immich/ui': - specifier: ^0.86.0 - version: 0.86.0(@sveltejs/kit@2.70.3(@opentelemetry/api@1.9.1)(@sveltejs/vite-plugin-svelte@7.3.0(svelte@5.56.10(@typescript-eslint/types@8.68.0))(vite@8.2.2(@types/node@24.13.6)(esbuild@0.28.2)(jiti@2.7.0)(sass@1.102.0)(terser@5.49.0)(tsx@4.23.12)(yaml@2.9.0)))(@typescript/typescript6@6.0.2)(svelte@5.56.10(@typescript-eslint/types@8.68.0))(vite@8.2.2(@types/node@24.13.6)(esbuild@0.28.2)(jiti@2.7.0)(sass@1.102.0)(terser@5.49.0)(tsx@4.23.12)(yaml@2.9.0)))(svelte@5.56.10(@typescript-eslint/types@8.68.0)) + specifier: ^0.90.0 + version: 0.90.0(@sveltejs/kit@2.70.3(@opentelemetry/api@1.9.1)(@sveltejs/vite-plugin-svelte@7.3.0(svelte@5.56.10(@typescript-eslint/types@8.68.0))(vite@8.2.2(@types/node@24.13.6)(esbuild@0.28.2)(jiti@2.7.0)(sass@1.102.0)(terser@5.49.0)(tsx@4.23.12)(yaml@2.9.0)))(@typescript/typescript6@6.0.2)(svelte@5.56.10(@typescript-eslint/types@8.68.0))(vite@8.2.2(@types/node@24.13.6)(esbuild@0.28.2)(jiti@2.7.0)(sass@1.102.0)(terser@5.49.0)(tsx@4.23.12)(yaml@2.9.0)))(svelte@5.56.10(@typescript-eslint/types@8.68.0)) '@mdi/js': specifier: ^7.4.47 version: 7.4.47 @@ -3125,8 +3125,8 @@ packages: resolution: {integrity: sha512-I51fFDxSdvlxyMqmzYvWFP1tSe/EON2xLNNu4hbCF3IIccO0VohY3T7dJJFdRuCJznDjp7Ijr/kFjOnjYVRiWQ==} hasBin: true - '@immich/ui@0.86.0': - resolution: {integrity: sha512-fYasHw5DcEOiEQh0iDjn/pt7xj4fSjU0qCmrVqD+7HblAW1KhTmg27GHm0RwNlTsrKdNroiXH+WszL6eyxvjdg==} + '@immich/ui@0.90.0': + resolution: {integrity: sha512-bQY5K1af/m8p66jTZyzGSfUvfzAQZd3+8z+9nMGPb5wojTZODU81s+TSg/zNE93DcXY2++DdRpdf2nrPH1Nbpw==} peerDependencies: '@sveltejs/kit': ^2.13.0 svelte: ^5.0.0 @@ -16270,7 +16270,7 @@ snapshots: pg-connection-string: 2.14.0 postgres: 3.4.9 - '@immich/ui@0.86.0(@sveltejs/kit@2.70.3(@opentelemetry/api@1.9.1)(@sveltejs/vite-plugin-svelte@7.3.0(svelte@5.56.10(@typescript-eslint/types@8.68.0))(vite@8.2.2(@types/node@24.13.6)(esbuild@0.28.2)(jiti@2.7.0)(sass@1.102.0)(terser@5.49.0)(tsx@4.23.12)(yaml@2.9.0)))(@typescript/typescript6@6.0.2)(svelte@5.56.10(@typescript-eslint/types@8.68.0))(vite@8.2.2(@types/node@24.13.6)(esbuild@0.28.2)(jiti@2.7.0)(sass@1.102.0)(terser@5.49.0)(tsx@4.23.12)(yaml@2.9.0)))(svelte@5.56.10(@typescript-eslint/types@8.68.0))': + '@immich/ui@0.90.0(@sveltejs/kit@2.70.3(@opentelemetry/api@1.9.1)(@sveltejs/vite-plugin-svelte@7.3.0(svelte@5.56.10(@typescript-eslint/types@8.68.0))(vite@8.2.2(@types/node@24.13.6)(esbuild@0.28.2)(jiti@2.7.0)(sass@1.102.0)(terser@5.49.0)(tsx@4.23.12)(yaml@2.9.0)))(@typescript/typescript6@6.0.2)(svelte@5.56.10(@typescript-eslint/types@8.68.0))(vite@8.2.2(@types/node@24.13.6)(esbuild@0.28.2)(jiti@2.7.0)(sass@1.102.0)(terser@5.49.0)(tsx@4.23.12)(yaml@2.9.0)))(svelte@5.56.10(@typescript-eslint/types@8.68.0))': dependencies: '@internationalized/date': 3.12.2 '@mdi/js': 7.4.47 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 9bc26d73b..60211ab8b 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -67,6 +67,6 @@ injectWorkspacePackages: true shamefullyHoist: false verifyDepsBeforeRun: install minimumReleaseAgeExclude: - - '@immich/ui@0.86.0' + - '@immich/ui' - '@immich/sql-tools@0.6.3' - '@nestjs/cli@12.0.1' diff --git a/web/package.json b/web/package.json index 692548872..1fc11f8cd 100644 --- a/web/package.json +++ b/web/package.json @@ -27,7 +27,7 @@ "@formatjs/icu-messageformat-parser": "^3.0.0", "@immich/justified-layout-wasm": "^0.4.3", "@immich/sdk": "workspace:*", - "@immich/ui": "^0.86.0", + "@immich/ui": "^0.90.0", "@mdi/js": "^7.4.47", "@noble/hashes": "^2.2.0", "@photo-sphere-viewer/core": "^5.14.0", diff --git a/web/src/lib/components/ActionMenuItem.svelte b/web/src/lib/components/ActionMenuItem.svelte index 32434c1b8..b1f041cdf 100644 --- a/web/src/lib/components/ActionMenuItem.svelte +++ b/web/src/lib/components/ActionMenuItem.svelte @@ -12,5 +12,5 @@ {#if icon && isEnabled(action)} - onAction(action)} /> + onAction({ event, action })} /> {/if} diff --git a/web/src/lib/components/BreadcrumbActionPage.svelte b/web/src/lib/components/BreadcrumbActionPage.svelte index b47c18988..451a285a5 100644 --- a/web/src/lib/components/BreadcrumbActionPage.svelte +++ b/web/src/lib/components/BreadcrumbActionPage.svelte @@ -43,7 +43,7 @@ size="small" color={action.color ?? 'secondary'} leadingIcon={action.icon} - onclick={() => action.onAction(action)} + onclick={(event: MouseEvent) => action.onAction({ event, action })} title={action.data?.title} > {action.title} diff --git a/web/src/lib/components/HeaderActionButton.svelte b/web/src/lib/components/HeaderActionButton.svelte index e68a4a920..d9ca2497a 100644 --- a/web/src/lib/components/HeaderActionButton.svelte +++ b/web/src/lib/components/HeaderActionButton.svelte @@ -17,7 +17,7 @@ size="small" {color} leadingIcon={icon} - onclick={() => onAction(action)} + onclick={(event: MouseEvent) => onAction({ event, action })} title={action.data?.title} > {title} diff --git a/web/src/lib/components/TableButton.svelte b/web/src/lib/components/TableButton.svelte index 619d2f6c2..d16e40cbf 100644 --- a/web/src/lib/components/TableButton.svelte +++ b/web/src/lib/components/TableButton.svelte @@ -11,5 +11,12 @@ {#if icon && (action.$if?.() ?? true)} - onAction(action)} /> + onAction({ event, action })} + /> {/if} diff --git a/web/src/lib/components/layouts/UserPageLayout.svelte b/web/src/lib/components/layouts/UserPageLayout.svelte index 9e0bb86d4..6bce18f69 100644 --- a/web/src/lib/components/layouts/UserPageLayout.svelte +++ b/web/src/lib/components/layouts/UserPageLayout.svelte @@ -91,7 +91,7 @@ size="small" color={action.color ?? 'secondary'} leadingIcon={action.icon} - onclick={() => action.onAction(action)} + onclick={(event: MouseEvent) => action.onAction({ event, action })} title={action.data?.title} > {action.title} diff --git a/web/src/lib/components/shared-components/EmptyPlaceholder.svelte b/web/src/lib/components/shared-components/EmptyPlaceholder.svelte index c7598829d..d6cccf55b 100644 --- a/web/src/lib/components/shared-components/EmptyPlaceholder.svelte +++ b/web/src/lib/components/shared-components/EmptyPlaceholder.svelte @@ -2,7 +2,7 @@ import empty1Url from '$lib/assets/empty-1.svg'; interface Props { - onClick?: undefined | (() => unknown); + onClick?: undefined | ((event: MouseEvent) => unknown); text: string; fullWidth?: boolean; src?: string; diff --git a/web/src/lib/components/shared-components/context-menu/MenuOption.svelte b/web/src/lib/components/shared-components/context-menu/MenuOption.svelte index fe39b36c8..4f629ca12 100644 --- a/web/src/lib/components/shared-components/context-menu/MenuOption.svelte +++ b/web/src/lib/components/shared-components/context-menu/MenuOption.svelte @@ -11,7 +11,7 @@ icon?: IconLike; activeColor?: string; textColor?: string; - onClick: () => void; + onClick: (event: KeyboardEvent | MouseEvent) => void; shortcut?: Shortcut | null; shortcutLabel?: string; } @@ -31,10 +31,10 @@ let isActive = $derived($selectedIdStore === id); - const handleClick = () => { + const handleClick = (event: MouseEvent) => { // eslint-disable-next-line unicorn/no-optional-chaining-on-undeclared-variable $optionClickCallbackStore?.(); - onClick(); + onClick(event); }; if (shortcut && !shortcutLabel) { diff --git a/web/src/routes/(user)/user-settings/UserApiKeyList.svelte b/web/src/routes/(user)/user-settings/UserApiKeyList.svelte index d9f89f176..de4dda9da 100644 --- a/web/src/routes/(user)/user-settings/UserApiKeyList.svelte +++ b/web/src/routes/(user)/user-settings/UserApiKeyList.svelte @@ -35,7 +35,12 @@
-
diff --git a/web/src/routes/(user)/workflows/+page.svelte b/web/src/routes/(user)/workflows/+page.svelte index 91bea47bc..cbaa6df92 100644 --- a/web/src/routes/(user)/workflows/+page.svelte +++ b/web/src/routes/(user)/workflows/+page.svelte @@ -68,7 +68,7 @@ fullWidth title={$t('create_first_workflow')} text={$t('workflows_help_text')} - onClick={() => Create.onAction(Create)} + onClick={(event: MouseEvent) => Create.onAction({ event, action: Create })} src={emptyWorkflows} class="mx-auto mt-10" />