@react-aria/virtualizer
Advanced tools
Comparing version 3.0.0-nightly-ab9fd5c68-241126 to 3.0.0-nightly-b0f156972-241128
@@ -32,3 +32,3 @@ var $00ca8c0b29e3e07c$exports = require("./ScrollView.main.js"); | ||
function $e1fb6f3669e1c329$var$Virtualizer(props, forwardedRef) { | ||
const $e1fb6f3669e1c329$export$89be5a243e59c4b2 = /*#__PURE__*/ (0, ($parcel$interopDefault($knrtk$react))).forwardRef(function Virtualizer(props, forwardedRef) { | ||
let { children: renderView, renderWrapper: renderWrapper, layout: layout, collection: collection, scrollDirection: scrollDirection, isLoading: isLoading, onLoadMore: onLoadMore, persistedKeys: persistedKeys, layoutOptions: layoutOptions, ...otherProps } = props; | ||
@@ -69,6 +69,3 @@ let ref = (0, $knrtk$reactariautils.useObjectRef)(forwardedRef); | ||
}, $e1fb6f3669e1c329$var$renderChildren(null, state.visibleViews, renderWrapper || $e1fb6f3669e1c329$var$defaultRenderWrapper)); | ||
} | ||
// forwardRef doesn't support generic parameters, so cast the result to the correct type | ||
// https://stackoverflow.com/questions/58469229/react-with-typescript-generics-while-using-react-forwardref | ||
const $e1fb6f3669e1c329$export$89be5a243e59c4b2 = /*#__PURE__*/ (0, ($parcel$interopDefault($knrtk$react))).forwardRef($e1fb6f3669e1c329$var$Virtualizer); | ||
}); | ||
function $e1fb6f3669e1c329$var$renderChildren(parent, views, renderWrapper) { | ||
@@ -75,0 +72,0 @@ return views.map((view)=>{ |
@@ -22,3 +22,3 @@ import {ScrollView as $44a6ee657928b002$export$5665e3d6be6adea} from "./ScrollView.module.js"; | ||
function $6d0a5c394373ae64$var$Virtualizer(props, forwardedRef) { | ||
const $6d0a5c394373ae64$export$89be5a243e59c4b2 = /*#__PURE__*/ (0, $9WwqA$react).forwardRef(function Virtualizer(props, forwardedRef) { | ||
let { children: renderView, renderWrapper: renderWrapper, layout: layout, collection: collection, scrollDirection: scrollDirection, isLoading: isLoading, onLoadMore: onLoadMore, persistedKeys: persistedKeys, layoutOptions: layoutOptions, ...otherProps } = props; | ||
@@ -59,6 +59,3 @@ let ref = (0, $9WwqA$useObjectRef)(forwardedRef); | ||
}, $6d0a5c394373ae64$var$renderChildren(null, state.visibleViews, renderWrapper || $6d0a5c394373ae64$var$defaultRenderWrapper)); | ||
} | ||
// forwardRef doesn't support generic parameters, so cast the result to the correct type | ||
// https://stackoverflow.com/questions/58469229/react-with-typescript-generics-while-using-react-forwardref | ||
const $6d0a5c394373ae64$export$89be5a243e59c4b2 = /*#__PURE__*/ (0, $9WwqA$react).forwardRef($6d0a5c394373ae64$var$Virtualizer); | ||
}); | ||
function $6d0a5c394373ae64$var$renderChildren(parent, views, renderWrapper) { | ||
@@ -65,0 +62,0 @@ return views.map((view)=>{ |
{ | ||
"name": "@react-aria/virtualizer", | ||
"version": "3.0.0-nightly-ab9fd5c68-241126", | ||
"version": "3.0.0-nightly-b0f156972-241128", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,7 +25,7 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/i18n": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-aria/interactions": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-aria/utils": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-stately/virtualizer": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-types/shared": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-aria/i18n": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-aria/interactions": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-aria/utils": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-stately/virtualizer": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-types/shared": "^3.0.0-nightly-b0f156972-241128", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -32,0 +32,0 @@ }, |
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
194045
2341
+ Added@formatjs/icu-messageformat-parser@2.10.0(transitive)
+ Added@internationalized/date@3.7.0(transitive)
+ Added@react-aria/i18n@3.12.5(transitive)
+ Added@react-aria/interactions@3.23.0(transitive)
+ Added@react-aria/utils@3.27.0(transitive)
+ Added@react-types/shared@3.27.0(transitive)
+ Addedintl-messageformat@10.7.12(transitive)
- Removed@formatjs/icu-messageformat-parser@2.9.8(transitive)
- Removed@internationalized/date@3.6.0(transitive)
- Removed@react-aria/i18n@3.12.4(transitive)
- Removed@react-aria/interactions@3.22.5(transitive)
- Removed@react-aria/utils@3.26.0(transitive)
- Removed@react-types/shared@3.26.0(transitive)
- Removedintl-messageformat@10.7.11(transitive)
Updated@react-aria/interactions@^3.0.0-nightly-b0f156972-241128
Updated@react-stately/virtualizer@^3.0.0-nightly-b0f156972-241128