@zeyolabs/ui 2026.11.15 → 2026.11.17
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.
|
@@ -108,16 +108,16 @@
|
|
|
108
108
|
const SEARCH_DEBOUNCE_MS = 250;
|
|
109
109
|
let searchTimer: ReturnType<typeof setTimeout> | undefined;
|
|
110
110
|
let lastSearch = '';
|
|
111
|
+
function scheduleSearch(value: string) {
|
|
112
|
+
clearTimeout(searchTimer);
|
|
113
|
+
searchTimer = setTimeout(() => sendSearch(value), SEARCH_DEBOUNCE_MS);
|
|
114
|
+
}
|
|
111
115
|
function sendSearch(value: string) {
|
|
112
116
|
clearTimeout(searchTimer);
|
|
113
117
|
if (!onSearch || value === lastSearch) return;
|
|
114
118
|
lastSearch = value;
|
|
115
119
|
onSearch(value);
|
|
116
120
|
}
|
|
117
|
-
function scheduleSearch(value: string) {
|
|
118
|
-
clearTimeout(searchTimer);
|
|
119
|
-
searchTimer = setTimeout(() => sendSearch(value), SEARCH_DEBOUNCE_MS);
|
|
120
|
-
}
|
|
121
121
|
|
|
122
122
|
// `as('select'|'select multiple')` is reached only via the `form` branch — SvelteKit's remote
|
|
123
123
|
// forms natively support both (RemoteFormFieldType resolves 'select multiple' for a string[]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeyolabs/ui",
|
|
3
|
-
"version": "2026.11.
|
|
3
|
+
"version": "2026.11.17",
|
|
4
4
|
"description": "Shared Svelte 5 components, form fields and design tokens for SvelteKit 3 apps.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"devDependencies": {
|
|
153
153
|
"@eslint/compat": "2.1.1",
|
|
154
154
|
"@eslint/js": "9.39.5",
|
|
155
|
-
"@zeyolabs/kit": "2026.11.
|
|
155
|
+
"@zeyolabs/kit": "2026.11.23",
|
|
156
156
|
"@sveltejs/kit": "3.1.1",
|
|
157
157
|
"@types/flickity": "2.2.12",
|
|
158
158
|
"eslint": "9.39.5",
|