import { Show } from "solid-js"; import type { JSX } from "solid-js"; import { DataTableSearch } from "@/components/ui/data-table-search"; import { cn } from "@/lib/cn"; /** The card a list toolbar sits on — the same box DataTable draws. */ export const TOOLBAR_CARD = "rounded-xl border border-border-line bg-surface-base p-3 shadow-xs"; /** * One toolbar control: a pill, touch-sized (h-10) below `sm` and on touch * screens, h-8 from `sm` up, at 13px. For controls a page places by hand * (a stepper, a date jump) beside the slot-sized ones. */ export const TOOLBAR_CONTROL = "h-10 rounded-full text-[13px] sm:h-8 touch:h-10"; /** * The same standard applied to every button and link inside a slot, so the * page's plain `