mirror of
https://github.com/immich-app/immich.git
synced 2026-09-30 13:23:21 +08:00
fix(deps): update dependency @immich/ui to ^0.90.0 (#31720)
Co-authored-by: Mees Frensel <meesfrensel@gmail.com>
This commit is contained in:
co-authored by
Mees Frensel
parent
da5c2fedbe
commit
d7bd961399
Generated
+5
-5
@@ -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
|
||||
|
||||
+1
-1
@@ -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'
|
||||
|
||||
+1
-1
@@ -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",
|
||||
|
||||
@@ -12,5 +12,5 @@
|
||||
</script>
|
||||
|
||||
{#if icon && isEnabled(action)}
|
||||
<MenuOption {icon} text={title} onClick={() => onAction(action)} />
|
||||
<MenuOption {icon} text={title} onClick={(event: Event) => onAction({ event, action })} />
|
||||
{/if}
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
size="small"
|
||||
{color}
|
||||
leadingIcon={icon}
|
||||
onclick={() => onAction(action)}
|
||||
onclick={(event: MouseEvent) => onAction({ event, action })}
|
||||
title={action.data?.title}
|
||||
>
|
||||
{title}
|
||||
|
||||
@@ -11,5 +11,12 @@
|
||||
</script>
|
||||
|
||||
{#if icon && (action.$if?.() ?? true)}
|
||||
<IconButton {size} shape="round" color="primary" {icon} aria-label={title} onclick={() => onAction(action)} />
|
||||
<IconButton
|
||||
{size}
|
||||
shape="round"
|
||||
color="primary"
|
||||
{icon}
|
||||
aria-label={title}
|
||||
onclick={(event: MouseEvent) => onAction({ event, action })}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -35,7 +35,12 @@
|
||||
<section class="my-4">
|
||||
<div class="flex flex-col gap-2 sm:ms-8" in:fade={{ duration: 500 }}>
|
||||
<div class="mb-2 flex justify-end">
|
||||
<Button leadingIcon={Create.icon} shape="round" size="small" onclick={() => Create.onAction(Create)}>
|
||||
<Button
|
||||
leadingIcon={Create.icon}
|
||||
shape="round"
|
||||
size="small"
|
||||
onclick={(event: MouseEvent) => Create.onAction({ event, action: Create })}
|
||||
>
|
||||
{Create.title}
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
@@ -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"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user