import "./components/ui/tidal.css"; import { TidalKeyboardShortcut } from "./components/ui/keyboard-key"; import "./components/ui/keyboard-key.css"; const tidalExampleStyles = ".tidal-scope .keyboard-key-demo {\n width: 100%;\n max-width: 380px;\n min-width: 0;\n}\n.tidal-scope .keyboard-key-demo dl {\n margin: 0;\n}\n.tidal-scope .keyboard-key-demo dl > div {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n padding: 15px 0;\n border-bottom: 1px solid var(--t-border);\n}\n.tidal-scope .keyboard-key-demo dt {\n color: var(--t-ink);\n font-size: 13px;\n min-width: 0;\n overflow-wrap: anywhere;\n}\n.tidal-scope .keyboard-key-demo dd {\n margin: 0;\n max-width: 65%;\n}\n.tidal-scope .keyboard-key-demo p {\n margin: 16px 0 0;\n color: var(--t-muted);\n font-size: 11px;\n line-height: 1.5;\n}"; const shortcuts = [ { label: "Search", keys: [ { id: "cmd", label: "⌘", accessibleLabel: "Command" }, { id: "k", label: "K", accessibleLabel: "K" }, ], }, { label: "Switch project", keys: [ { id: "cmd", label: "⌘", accessibleLabel: "Command" }, { id: "shift", label: "⇧", accessibleLabel: "Shift" }, { id: "p", label: "P", accessibleLabel: "P" }, ], }, { label: "Open help", keys: [ { id: "shift", label: "⇧", accessibleLabel: "Shift" }, { id: "slash", label: "/", accessibleLabel: "Slash" }, ], }, ]; export function KeyboardKeyDemo() { return (
{shortcuts.map((shortcut) => (
{shortcut.label}
))}

Display labels only. These shortcuts are not active in this preview.

); } export default function AgentExample() { return (
); }