+
{item.path}
{/if}
diff --git a/frontend/src/lib/components/flows/pickers/TopLevelNode.svelte b/frontend/src/lib/components/flows/pickers/TopLevelNode.svelte
index 1e6e4600ca..135697ac10 100644
--- a/frontend/src/lib/components/flows/pickers/TopLevelNode.svelte
+++ b/frontend/src/lib/components/flows/pickers/TopLevelNode.svelte
@@ -19,10 +19,14 @@
label: string
selected?: boolean
returnIcon?: boolean
+ /** Highlight with the neutral hover surface instead of the accent, for transient
+ * (hover/keyboard) selection rather than the persistent category selection. */
+ neutral?: boolean
onSelect: () => void
+ onHover?: () => void
}
- let { label, selected, returnIcon, onSelect }: Props = $props()
+ let { label, selected, returnIcon, neutral = false, onSelect, onHover }: Props = $props()
interface IconConfig {
icon: ComponentType
@@ -51,21 +55,23 @@
{#snippet iconWithText(icon: ComponentType, showChevron = false, iconClass = '')}
- {label}
+
{label}
{#if showChevron}
-
+
{/if}
{/snippet}