@react-aria/virtualizer
Advanced tools
Comparing version
@@ -106,3 +106,2 @@ var $efdd61e59e023a1d$exports = require("./utils.main.js"); | ||
(0, $kvIfm$reactariautils.useEvent)(ref, 'scroll', onScroll); | ||
// eslint-disable-next-line arrow-body-style | ||
(0, $kvIfm$react.useEffect)(()=>{ | ||
@@ -109,0 +108,0 @@ return ()=>{ |
@@ -95,3 +95,2 @@ import {getScrollLeft as $ce415dc67314b753$export$1389d168952b34b5} from "./utils.module.js"; | ||
(0, $f9kpT$useEvent)(ref, 'scroll', onScroll); | ||
// eslint-disable-next-line arrow-body-style | ||
(0, $f9kpT$useEffect)(()=>{ | ||
@@ -98,0 +97,0 @@ return ()=>{ |
@@ -33,5 +33,3 @@ var $00ca8c0b29e3e07c$exports = require("./ScrollView.main.js"); | ||
function $e1fb6f3669e1c329$var$Virtualizer(props, ref) { | ||
let { children: renderView, renderWrapper: renderWrapper, layout: layout, collection: collection, scrollDirection: scrollDirection, isLoading: // eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
isLoading, onLoadMore: // eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
onLoadMore, persistedKeys: persistedKeys, layoutOptions: layoutOptions, ...otherProps } = props; | ||
let { children: renderView, renderWrapper: renderWrapper, layout: layout, collection: collection, scrollDirection: scrollDirection, isLoading: isLoading, onLoadMore: onLoadMore, persistedKeys: persistedKeys, layoutOptions: layoutOptions, ...otherProps } = props; | ||
let fallbackRef = (0, $knrtk$react.useRef)(undefined); | ||
@@ -38,0 +36,0 @@ ref = ref || fallbackRef; |
@@ -23,5 +23,3 @@ import {ScrollView as $44a6ee657928b002$export$5665e3d6be6adea} from "./ScrollView.module.js"; | ||
function $6d0a5c394373ae64$var$Virtualizer(props, ref) { | ||
let { children: renderView, renderWrapper: renderWrapper, layout: layout, collection: collection, scrollDirection: scrollDirection, isLoading: // eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
isLoading, onLoadMore: // eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
onLoadMore, persistedKeys: persistedKeys, layoutOptions: layoutOptions, ...otherProps } = props; | ||
let { children: renderView, renderWrapper: renderWrapper, layout: layout, collection: collection, scrollDirection: scrollDirection, isLoading: isLoading, onLoadMore: onLoadMore, persistedKeys: persistedKeys, layoutOptions: layoutOptions, ...otherProps } = props; | ||
let fallbackRef = (0, $9WwqA$useRef)(undefined); | ||
@@ -28,0 +26,0 @@ ref = ref || fallbackRef; |
{ | ||
"name": "@react-aria/virtualizer", | ||
"version": "3.0.0-nightly-25f304dea-241008", | ||
"version": "3.0.0-nightly-3f67667d5-241110", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,7 +25,7 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/i18n": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-aria/interactions": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-aria/utils": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-stately/virtualizer": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-types/shared": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-aria/i18n": "^3.0.0-nightly-3f67667d5-241110", | ||
"@react-aria/interactions": "^3.0.0-nightly-3f67667d5-241110", | ||
"@react-aria/utils": "^3.0.0-nightly-3f67667d5-241110", | ||
"@react-stately/virtualizer": "^3.0.0-nightly-3f67667d5-241110", | ||
"@react-types/shared": "^3.0.0-nightly-3f67667d5-241110", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -40,3 +40,3 @@ }, | ||
}, | ||
"stableVersion": "4.0.3" | ||
"stableVersion": "4.0.4" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
191202
-0.58%2344
-0.51%