2026-01-01 13:12:57 +03:00
|
|
|
<script lang="ts">
|
2026-01-02 11:11:04 +03:00
|
|
|
import { Input } from '$shared/shadcn/input/index.js';
|
2026-01-01 14:37:18 +03:00
|
|
|
import { cn } from '$shared/shadcn/utils/shadcn-utils.js';
|
2026-01-01 13:12:57 +03:00
|
|
|
import type { ComponentProps } from 'svelte';
|
|
|
|
|
|
|
|
|
|
let {
|
|
|
|
|
ref = $bindable(null),
|
|
|
|
|
value = $bindable(''),
|
|
|
|
|
class: className,
|
|
|
|
|
...restProps
|
|
|
|
|
}: ComponentProps<typeof Input> = $props();
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<Input
|
|
|
|
|
bind:ref
|
|
|
|
|
bind:value
|
|
|
|
|
data-slot="sidebar-input"
|
|
|
|
|
data-sidebar="input"
|
|
|
|
|
class={cn('bg-background h-8 w-full shadow-none', className)}
|
|
|
|
|
{...restProps}
|
|
|
|
|
/>
|