@immich/ui 0.22.1 → 0.22.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -65,6 +65,14 @@
|
|
|
65
65
|
<Dialog.Portal>
|
|
66
66
|
<Dialog.Overlay class="absolute start-0 top-0 flex h-dvh w-screen bg-black/30" />
|
|
67
67
|
<Dialog.Content
|
|
68
|
+
onkeydown={(e) => {
|
|
69
|
+
if (e.key === 'Escape' && open) {
|
|
70
|
+
// Stop propagation to ensure modals close before immich-web takes over
|
|
71
|
+
e.stopPropagation();
|
|
72
|
+
open = false;
|
|
73
|
+
onClose?.();
|
|
74
|
+
}
|
|
75
|
+
}}
|
|
68
76
|
class={cleanClass(
|
|
69
77
|
'absolute start-0 top-0 flex h-dvh w-screen items-center justify-center overflow-hidden sm:p-4',
|
|
70
78
|
)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@immich/ui",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.2",
|
|
4
4
|
"license": "GNU Affero General Public License version 3",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"create": "node scripts/create.js",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@mdi/js": "^7.4.47",
|
|
71
|
-
"bits-ui": "^1.
|
|
71
|
+
"bits-ui": "^1.5.3",
|
|
72
72
|
"tailwind-merge": "^2.5.4",
|
|
73
73
|
"tailwind-variants": "^1.0.0"
|
|
74
74
|
},
|