slim-select 4.0.0 → 4.0.2

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.
@@ -0,0 +1,14 @@
1
+ /** Shared scroll offset for in-page doc section links (fixed site header). */
2
+ export declare function docScrollOffset(): number;
3
+ export declare function scrollToId(id: string, behavior?: ScrollBehavior): boolean;
4
+ /** Retry scrolling until lazy page sections exist in the DOM. */
5
+ export declare function scrollToHashId(id: string, options?: {
6
+ behavior?: ScrollBehavior;
7
+ maxAttempts?: number;
8
+ intervalMs?: number;
9
+ }): void;
10
+ /**
11
+ * Destroy SlimSelect instances left behind by doc page navigation and remove
12
+ * their orphaned UI (especially dropdown panels appended to document.body).
13
+ */
14
+ export declare function destroyOrphanedSlimSelects(): void;
@@ -0,0 +1,2 @@
1
+ /** Recursively strip Vue reactivity so structuredClone won't throw on Proxy objects. */
2
+ export declare function deepToRaw<T>(input: T): T;