Command Menu This is the command menu. Use the arrow keys to navigate and press ⌘K to open the search bar. No results found. {#each CardDefGroups as group, index} {#if group && AllCardDefinitions.some((cardDef) => cardDef.groups?.includes(group))} {group} {#each AllCardDefinitions.filter( (cardDef) => cardDef.groups?.includes(group) ) as cardDef} { open = false; onselect(cardDef); }} class="rounded-button data-selected:bg-accent-500/10 flex h-10 cursor-pointer items-center gap-2 rounded-xl px-3 py-2.5 text-sm outline-hidden select-none" keywords={[group, cardDef.type, ...(cardDef.keywords || [])]} > {#if cardDef.icon}
{@html cardDef.icon}
{/if} {cardDef.name}
{/each}
{#if index < CardDefGroups.length - 1} {/if} {/if} {/each}