@lumx/core 4.20.0-next.0 → 4.20.0-next.1
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.
|
@@ -2,8 +2,12 @@ import type { CommonRef } from '../../types';
|
|
|
2
2
|
export { setupInfiniteScrollObserver } from './setupInfiniteScrollObserver';
|
|
3
3
|
export declare const INFINITE_SCROLL_CLASSNAME = "lumx-infinite-scroll-anchor";
|
|
4
4
|
export interface InfiniteScrollProps {
|
|
5
|
-
/**
|
|
6
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Callback when infinite scroll component is in view.
|
|
7
|
+
* Omit (e.g. while loading) to temporarily disable without changing the callback's
|
|
8
|
+
* identity when re-enabled — keeps the underlying observer stable.
|
|
9
|
+
*/
|
|
10
|
+
callback?(evt?: Event): void;
|
|
7
11
|
/** Customize intersection observer option */
|
|
8
12
|
options?: IntersectionObserverInit;
|
|
9
13
|
}
|
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.20.0-next.
|
|
10
|
+
"@lumx/icons": "^4.20.0-next.1",
|
|
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.20.0-next.
|
|
69
|
+
"version": "4.20.0-next.1",
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
72
72
|
"@testing-library/dom": "^10.4.1",
|