@immich/ui 0.24.2 → 0.24.4
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.
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
import { tv } from 'tailwind-variants';
|
|
9
9
|
|
|
10
10
|
let {
|
|
11
|
+
ref = $bindable(null),
|
|
11
12
|
containerRef = $bindable(null),
|
|
12
13
|
shape = 'semi-round',
|
|
13
14
|
size = 'medium',
|
|
@@ -97,7 +98,7 @@
|
|
|
97
98
|
<Text color="secondary" size="small" id={descriptionId}>{description}</Text>
|
|
98
99
|
{/if}
|
|
99
100
|
|
|
100
|
-
<div class=
|
|
101
|
+
<div class="relative w-full">
|
|
101
102
|
{#if leadingIcon}
|
|
102
103
|
<div tabindex="-1" class={iconStyles({ size })}>
|
|
103
104
|
{#if leadingIcon}
|
|
@@ -131,6 +132,7 @@
|
|
|
131
132
|
}),
|
|
132
133
|
className,
|
|
133
134
|
)}
|
|
135
|
+
bind:this={ref}
|
|
134
136
|
bind:value
|
|
135
137
|
{...restProps}
|
|
136
138
|
/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { InputProps } from '../../types.js';
|
|
2
|
-
declare const Input: import("svelte").Component<InputProps, {}, "value" | "containerRef">;
|
|
2
|
+
declare const Input: import("svelte").Component<InputProps, {}, "value" | "ref" | "containerRef">;
|
|
3
3
|
type Input = ReturnType<typeof Input>;
|
|
4
4
|
export default Input;
|
package/dist/types.d.ts
CHANGED