feat: implement select component for dropdown functionality feat: create tooltip component for enhanced user interaction feat: add TechStackSection to display technology stack information feat: implement HealthWidget to monitor server health status feat: create AppShell layout for consistent application structure feat: add SettingsDialog for user preferences management feat: implement list helpers for managing list data feat: create overview data fetching for lists feat: add view mode preferences for dashboard layout feat: implement search functionality for filtering lists feat: add theme management for light and dark modes feat: create utility functions for class name management chore: configure SvelteKit with static adapter and Vite chore: add favicon for branding chore: set up Vite configuration with Tailwind CSS and proxy settings
20 lines
635 B
Svelte
20 lines
635 B
Svelte
<script>
|
|
import { Select } from 'bits-ui';
|
|
import { ChevronDown } from '@lucide/svelte';
|
|
import { cn } from '$lib/utils/cn.js';
|
|
|
|
let { ref = $bindable(null), class: className, children, ...restProps } = $props();
|
|
</script>
|
|
|
|
<Select.Trigger
|
|
bind:ref
|
|
class={cn(
|
|
'flex h-9 items-center justify-between gap-2 rounded-md border border-border bg-bg px-3 text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50',
|
|
className,
|
|
)}
|
|
{...restProps}
|
|
>
|
|
{@render children?.()}
|
|
<ChevronDown class="size-4 opacity-60" />
|
|
</Select.Trigger>
|