{#if commandPalleteOpen}
commandPalleteOpen = false} onkeydown={(e) => e.key === 'Escape' && (commandPalleteOpen = false)} role="button" tabindex="0">
{ e.stopPropagation(); }} onkeydown={(e) => { if (e.key === 'Escape') { commandPalleteOpen = false; } }} role="button" tabindex="0">
{'\ueca5'}
{#if filteredItems.length > 0}
{#each filteredItems as item, i (item.text)}
{ item.action(); commandPalleteOpen = false; }} >
{item.icon}
{item.text}
{item.keybindLabel}
{/each}
{:else}
No matches found. Try something else.
{/if}
{/if}