@immich/ui 0.19.0 → 0.19.1

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.
@@ -138,11 +138,7 @@
138
138
  {/if}
139
139
 
140
140
  {#if footerChild}
141
- <div
142
- class={twMerge(
143
- cleanClass('flex items-center border-t border-t-subtle p-4', footerChild.class),
144
- )}
145
- >
141
+ <div class={twMerge(cleanClass('flex items-center border-t p-4', footerChild.class))}>
146
142
  {@render footerChild.snippet()}
147
143
  </div>
148
144
  {/if}
@@ -27,7 +27,7 @@
27
27
  }: Props = $props();
28
28
 
29
29
  const styles = tv({
30
- base: 'font-bold leading-none tracking-tight',
30
+ base: 'font-semibold leading-none tracking-tight',
31
31
  variants: {
32
32
  color: {
33
33
  muted: 'text-gray-600 dark:text-gray-400',
@@ -63,7 +63,7 @@
63
63
 
64
64
  <Dialog.Root {open} onOpenChange={onChange}>
65
65
  <Dialog.Portal>
66
- <Dialog.Overlay class="absolute start-0 top-0 flex h-dvh w-screen backdrop-blur" />
66
+ <Dialog.Overlay class="absolute start-0 top-0 flex h-dvh w-screen bg-black/30" />
67
67
  <Dialog.Content
68
68
  class={cleanClass(
69
69
  'absolute start-0 top-0 flex h-dvh w-screen items-center justify-center overflow-hidden sm:p-4',
@@ -71,7 +71,7 @@
71
71
  >
72
72
  <div class={cleanClass('flex h-full w-full flex-col items-center justify-center ')}>
73
73
  <Card class={cleanClass(modalStyles({ size }), className)}>
74
- <CardHeader class="border-b border-gray-400 py-2 dark:border-gray-500">
74
+ <CardHeader class="border-b border-gray-400 py-3 dark:border-gray-500">
75
75
  <div class="flex items-center justify-between gap-2">
76
76
  {#if typeof icon === 'string'}
77
77
  <Icon {icon} size="1.5rem" aria-hidden />
@@ -85,7 +85,7 @@
85
85
  </div>
86
86
  </CardHeader>
87
87
 
88
- <CardBody class="grow">
88
+ <CardBody class="grow p-5">
89
89
  {@render bodyChildren?.snippet()}
90
90
  </CardBody>
91
91
 
@@ -78,7 +78,7 @@
78
78
  bind:checked
79
79
  bind:ref
80
80
  id={inputId}
81
- {disabled}
81
+ disabled={disabled || readOnly}
82
82
  {required}
83
83
  class={cleanClass(label && 'w-full', className)}
84
84
  aria-readonly={readOnly}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@immich/ui",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "license": "GNU Affero General Public License version 3",
5
5
  "scripts": {
6
6
  "create": "node scripts/create.js",