diff --git a/components/command-palette.tsx b/components/command-palette.tsx index 606b188..6c8fb29 100644 --- a/components/command-palette.tsx +++ b/components/command-palette.tsx @@ -519,6 +519,9 @@ export function CommandPalette({ open, onClose, onRun }: CommandPaletteProps) { onClick={onClose} >
e.stopPropagation()} > @@ -551,6 +554,10 @@ export function CommandPalette({ open, onClose, onRun }: CommandPaletteProps) { } }} placeholder="Run a command..." + aria-label="Run a command" + aria-autocomplete="list" + aria-controls="command-palette-list" + aria-activedescendant={flatList[selectedIndex] ? `command-palette-item-${selectedIndex}` : undefined} className="flex-1 bg-transparent text-[14px] text-[var(--text-primary)] outline-none placeholder:text-[var(--text-tertiary)]" /> @@ -558,7 +565,7 @@ export function CommandPalette({ open, onClose, onRun }: CommandPaletteProps) {
-
+
{flatList.length === 0 && (
No matching commands @@ -578,6 +585,9 @@ export function CommandPalette({ open, onClose, onRun }: CommandPaletteProps) { return (