import { createSignal, onCleanup, onMount } from 'solid-js'; import { cn } from '../utils/cn'; import { Button } from '../ui/button'; import { ChevronDown } from 'lucide-solid'; import { defineWebComponent } from './define'; interface Props extends Record { /** CSS id of the scroll container to control. When omitted the element * walks up the DOM (outside its own shadow root) to find the nearest * scrollable ancestor. Mirrors the `for` convention of `