@immich/ui 0.17.4 → 0.18.0
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/components/AppShell/AppShellSidebar.svelte +2 -2
- package/dist/components/Form/Input.svelte +5 -5
- package/dist/components/Modal/Modal.svelte +2 -2
- package/dist/components/Navbar/NavbarGroup.svelte +1 -1
- package/dist/components/Navbar/NavbarItem.svelte +3 -3
- package/dist/internal/Select.svelte +1 -1
- package/package.json +1 -1
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
shape="round"
|
|
34
34
|
color={hidden ? 'primary' : 'secondary'}
|
|
35
35
|
variant="filled"
|
|
36
|
-
class="absolute bottom-2
|
|
36
|
+
class="absolute bottom-2 end-4 m-2 opacity-100 md:hidden"
|
|
37
37
|
aria-label="Menu"
|
|
38
38
|
/>
|
|
39
39
|
<Scrollable
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
|
|
43
43
|
hidden ? 'hidden' : '',
|
|
44
44
|
className,
|
|
45
|
-
noBorder || 'border-
|
|
45
|
+
noBorder || 'border-e',
|
|
46
46
|
)}
|
|
47
47
|
>
|
|
48
48
|
{@render children?.()}
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
},
|
|
40
40
|
// match with Button `iconSize` variants
|
|
41
41
|
paddingRight: {
|
|
42
|
-
tiny: '
|
|
43
|
-
small: '
|
|
44
|
-
medium: '
|
|
45
|
-
large: '
|
|
46
|
-
giant: '
|
|
42
|
+
tiny: 'pe-6',
|
|
43
|
+
small: 'pe-8',
|
|
44
|
+
medium: 'pe-10',
|
|
45
|
+
large: 'pe-12',
|
|
46
|
+
giant: 'pe-14',
|
|
47
47
|
},
|
|
48
48
|
textSize: {
|
|
49
49
|
tiny: 'text-xs',
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
|
|
60
60
|
<Dialog.Root {open} onOpenChange={onChange}>
|
|
61
61
|
<Dialog.Portal>
|
|
62
|
-
<Dialog.Overlay class="absolute
|
|
62
|
+
<Dialog.Overlay class="absolute start-0 top-0 flex h-dvh w-screen backdrop-blur" />
|
|
63
63
|
<Dialog.Content
|
|
64
64
|
class={cleanClass(
|
|
65
|
-
'absolute
|
|
65
|
+
'absolute start-0 top-0 flex h-dvh w-screen items-center justify-center overflow-hidden sm:p-4',
|
|
66
66
|
)}
|
|
67
67
|
>
|
|
68
68
|
<div class={cleanClass('flex h-full w-full flex-col items-center justify-center ')}>
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
let active = $derived(activeOverride ?? isActive());
|
|
28
28
|
|
|
29
29
|
const styles = tv({
|
|
30
|
-
base: 'flex w-full place-items-center gap-4 transition-[padding] delay-100 duration-100 hover:bg-subtle hover:text-primary group-hover:sm:px-5 md:rounded-
|
|
30
|
+
base: 'flex w-full place-items-center gap-4 transition-[padding] delay-100 duration-100 hover:bg-subtle hover:text-primary group-hover:sm:px-5 md:rounded-e-full md:px-5',
|
|
31
31
|
variants: {
|
|
32
32
|
active: {
|
|
33
33
|
true: 'bg-primary/10 text-primary',
|
|
34
34
|
false: '',
|
|
35
35
|
},
|
|
36
36
|
variant: {
|
|
37
|
-
default: 'py-3
|
|
38
|
-
compact: 'py-2
|
|
37
|
+
default: 'py-3 ps-5',
|
|
38
|
+
compact: 'py-2 ps-3',
|
|
39
39
|
},
|
|
40
40
|
},
|
|
41
41
|
});
|