"use client"; import "./components/ui/tidal.css"; import { useState } from "react"; import { CheckSquare2, FileText, Smartphone, Stamp } from "lucide-react"; import { TidalSortableList, type TidalSortableListItem } from "./components/ui/sortable-list"; import "./components/ui/sortable-list.css"; const tidalExampleStyles = ".tidal-scope .sortable-list-demo,\n.tidal-scope .sortable-list-demo * {\n box-sizing: border-box;\n}\n\n.tidal-scope .sortable-list-demo {\n container: sortable-list-demo / inline-size;\n display: grid;\n gap: 14px;\n width: min(100%, 680px);\n min-width: 0;\n color: var(--t-ink);\n}\n\n.tidal-scope .sortable-list-demo-footer {\n display: flex;\n min-width: 0;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n padding-top: 2px;\n}\n\n.tidal-scope .sortable-list-demo-footer p,\n.tidal-scope .sortable-list-demo-note {\n min-width: 0;\n margin: 0;\n color: var(--t-muted);\n font-size: 11px;\n line-height: 1.5;\n overflow-wrap: anywhere;\n}\n\n.tidal-scope .sortable-list-demo-footer button {\n min-width: 110px;\n min-height: 44px;\n flex: 0 0 auto;\n padding: 9px 13px;\n border: 1px solid var(--t-border);\n border-radius: var(--t-radius-control);\n background: var(--t-surface);\n color: var(--t-ink);\n font: inherit;\n font-size: 12px;\n font-weight: 650;\n cursor: pointer;\n transition:\n background-color 160ms,\n color 160ms,\n transform 140ms var(--t-ease-out);\n}\n\n.tidal-scope .sortable-list-demo-footer button:hover {\n background: var(--t-ink);\n color: var(--t-surface);\n}\n\n.tidal-scope .sortable-list-demo-footer button:active {\n transform: scale(0.97);\n}\n\n.tidal-scope .sortable-list-demo-footer button:focus-visible {\n outline: 2px solid var(--t-accent);\n outline-offset: 3px;\n}\n\n@container sortable-list-demo (max-width: 360px) {\n .tidal-scope .sortable-list-demo-footer {\n align-items: stretch;\n flex-direction: column;\n }\n\n .tidal-scope .sortable-list-demo-footer button {\n width: 100%;\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .tidal-scope .sortable-list-demo-footer button {\n transition: none;\n }\n\n .tidal-scope .sortable-list-demo-footer button:active {\n transform: none;\n }\n}"; const INITIAL_ITEMS: readonly TidalSortableListItem[] = [ { id: "mobile", label: "Review mobile states", description: "Check the 320px and 390px layouts.", meta: "Today", icon: