@immich/ui 0.23.0 → 0.23.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.
- package/dist/{internal → components/ConfirmModal}/ConfirmModal.svelte +7 -1
- package/dist/{internal → components/ConfirmModal}/ConfirmModal.svelte.d.ts +1 -1
- package/dist/components/Modal/Modal.svelte +1 -1
- package/dist/services/modalManager.svelte.d.ts +1 -1
- package/dist/services/modalManager.svelte.js +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import
|
|
2
|
+
import Button from '../Button/Button.svelte';
|
|
3
|
+
import Modal from '../Modal/Modal.svelte';
|
|
4
|
+
import ModalBody from '../Modal/ModalBody.svelte';
|
|
5
|
+
import ModalFooter from '../Modal/ModalFooter.svelte';
|
|
6
|
+
import HStack from '../Stack/HStack.svelte';
|
|
7
|
+
import type { Color } from '../../types.js';
|
|
8
|
+
import { t } from '../../services/translation.svelte.js';
|
|
3
9
|
import type { Snippet } from 'svelte';
|
|
4
10
|
|
|
5
11
|
interface Props {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
{/if}
|
|
89
89
|
<CardTitle tag="p" class="text-dark/90 grow text-lg font-semibold">{title}</CardTitle>
|
|
90
90
|
<Dialog.Close>
|
|
91
|
-
<CloseButton
|
|
91
|
+
<CloseButton class="-me-2" />
|
|
92
92
|
</Dialog.Close>
|
|
93
93
|
</div>
|
|
94
94
|
</CardHeader>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Component, type ComponentProps } from 'svelte';
|
|
2
|
-
import ConfirmModal from '../
|
|
2
|
+
import ConfirmModal from '../components/ConfirmModal/ConfirmModal.svelte';
|
|
3
3
|
type OnCloseData<T> = T extends {
|
|
4
4
|
onClose: (data?: infer R) => void;
|
|
5
5
|
} ? R | undefined : T extends {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { mount, unmount } from 'svelte';
|
|
2
|
-
import ConfirmModal from '../
|
|
2
|
+
import ConfirmModal from '../components/ConfirmModal/ConfirmModal.svelte';
|
|
3
3
|
class ModalManager {
|
|
4
4
|
show(Component, ...props) {
|
|
5
5
|
return this.open(Component, ...props).onClose;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@immich/ui",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.2",
|
|
4
4
|
"license": "GNU Affero General Public License version 3",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"create": "node scripts/create.js",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@mdi/js": "^7.4.47",
|
|
71
|
-
"bits-ui": "^
|
|
72
|
-
"tailwind-merge": "^
|
|
71
|
+
"bits-ui": "^2.0.0",
|
|
72
|
+
"tailwind-merge": "^3.0.0",
|
|
73
73
|
"tailwind-variants": "^1.0.0"
|
|
74
74
|
},
|
|
75
75
|
"volta": {
|