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
21 lines
522 B
Svelte
21 lines
522 B
Svelte
<script>
|
|
import { Select } from 'bits-ui';
|
|
import { cn } from '$lib/utils/cn.js';
|
|
|
|
let { ref = $bindable(null), class: className, sideOffset = 4, children, ...restProps } = $props();
|
|
</script>
|
|
|
|
<Select.Portal>
|
|
<Select.Content
|
|
bind:ref
|
|
{sideOffset}
|
|
class={cn(
|
|
'z-50 max-h-72 w-[var(--bits-select-anchor-width)] overflow-y-auto rounded-md border border-border bg-surface p-1 shadow-lg',
|
|
className,
|
|
)}
|
|
{...restProps}
|
|
>
|
|
{@render children?.()}
|
|
</Select.Content>
|
|
</Select.Portal>
|