@lumx/core 4.19.1-alpha.7 → 4.19.1-alpha.9
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.
|
@@ -94,7 +94,7 @@ export interface ComboboxHandle {
|
|
|
94
94
|
/** Subscribe to a combobox event. Returns an unsubscribe function. */
|
|
95
95
|
subscribe<K extends keyof ComboboxEventMap>(event: K, callback: (value: ComboboxEventMap[K]) => void): () => void;
|
|
96
96
|
/**
|
|
97
|
-
* Read the last
|
|
97
|
+
* Read the last dispatched value of an event synchronously, for pull-based subscribers such as
|
|
98
98
|
* React's `useSyncExternalStore`. Returns `undefined` until the event has fired at least once.
|
|
99
99
|
*/
|
|
100
100
|
getSnapshot<K extends keyof ComboboxEventMap>(event: K): ComboboxEventMap[K] | undefined;
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@floating-ui/dom": "^1.7.5",
|
|
10
|
-
"@lumx/icons": "^4.19.1-alpha.
|
|
10
|
+
"@lumx/icons": "^4.19.1-alpha.9",
|
|
11
11
|
"classnames": "^2.3.2",
|
|
12
12
|
"focus-visible": "^5.0.2",
|
|
13
13
|
"lodash": "4.18.1",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"update-version-changelog": "yarn version-changelog ../../CHANGELOG.md"
|
|
67
67
|
},
|
|
68
68
|
"sideEffects": false,
|
|
69
|
-
"version": "4.19.1-alpha.
|
|
69
|
+
"version": "4.19.1-alpha.9",
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
72
72
|
"@testing-library/dom": "^10.4.1",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Wrap `fn` so that, no matter how many times the returned function is called within the same
|
|
3
|
-
* microtask cycle, `fn` only runs once at the end of that cycle.
|
|
4
|
-
*/
|
|
5
|
-
export declare function debounceMicrotask(fn: () => void): {
|
|
6
|
-
(): void;
|
|
7
|
-
cancel(): void;
|
|
8
|
-
};
|