@rokkit/ui 1.0.0-next.146 → 1.0.0-next.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
// Navigator calls wrapper[action](path) → focusedKey / proxy.expanded updates →
|
|
71
71
|
// flatView $derived re-computes → Svelte re-renders the changed nodes.
|
|
72
72
|
const proxyTree = $derived(new ProxyTree(items, fields))
|
|
73
|
-
const wrapper = $derived(new Wrapper(proxyTree, { onselect }))
|
|
73
|
+
const wrapper = $derived(new Wrapper(proxyTree, { onselect, collapsible }))
|
|
74
74
|
|
|
75
75
|
let listRef = $state<HTMLElement | null>(null)
|
|
76
76
|
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
const proxyTree = $derived(new ProxyTree(items, fields))
|
|
110
|
-
const wrapper = $derived(new Wrapper(proxyTree, { onselect: handleSelect }))
|
|
110
|
+
const wrapper = $derived(new Wrapper(proxyTree, { onselect: handleSelect, collapsible }))
|
|
111
111
|
|
|
112
112
|
// Override cancel/blur to close dropdown (Navigator dispatches these on Escape/focusout)
|
|
113
113
|
$effect(() => {
|