Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-stately/virtualizer

Package Overview
Dependencies
Maintainers
2
Versions
796
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-stately/virtualizer - npm Package Compare versions

Comparing version 3.0.0-nightly-4980928d3-240906 to 3.0.0-nightly-4baa1b08e-241029

2

dist/LayoutInfo.main.js

@@ -26,2 +26,3 @@

res.parentKey = this.parentKey;
res.content = this.content;
res.isSticky = this.isSticky;

@@ -41,2 +42,3 @@ res.zIndex = this.zIndex;

this.parentKey = null;
this.content = null;
this.rect = rect;

@@ -43,0 +45,0 @@ this.estimatedSize = false;

@@ -20,2 +20,3 @@ /*

res.parentKey = this.parentKey;
res.content = this.content;
res.isSticky = this.isSticky;

@@ -35,2 +36,3 @@ res.zIndex = this.zIndex;

this.parentKey = null;
this.content = null;
this.rect = rect;

@@ -37,0 +39,0 @@ this.estimatedSize = false;

@@ -139,2 +139,6 @@ import { Key, Collection, ItemDropTarget, LayoutDelegate } from "@react-types/shared";

/**
* Content for this view if it was generated by the layout rather than coming from the Collection.
*/
content: any | null;
/**
* The rectangle describing the size and position of this view.

@@ -141,0 +145,0 @@ */

4

dist/Virtualizer.main.js

@@ -52,4 +52,4 @@ var $abed55ea619a7a17$exports = require("./utils.main.js");

_renderView(reusableView) {
let { type: type, key: key } = reusableView.layoutInfo;
reusableView.content = this.collection.getItem(key);
let { type: type, key: key, content: content } = reusableView.layoutInfo;
reusableView.content = content || this.collection.getItem(key);
reusableView.rendered = this._renderContent(type, reusableView.content);

@@ -56,0 +56,0 @@ }

@@ -46,4 +46,4 @@ import {isSetEqual as $fc36f9a046a9ce79$export$a8d0d0c8d1c5df64} from "./utils.module.js";

_renderView(reusableView) {
let { type: type, key: key } = reusableView.layoutInfo;
reusableView.content = this.collection.getItem(key);
let { type: type, key: key, content: content } = reusableView.layoutInfo;
reusableView.content = content || this.collection.getItem(key);
reusableView.rendered = this._renderContent(type, reusableView.content);

@@ -50,0 +50,0 @@ }

{
"name": "@react-stately/virtualizer",
"version": "3.0.0-nightly-4980928d3-240906",
"version": "3.0.0-nightly-4baa1b08e-241029",
"description": "Spectrum UI components in React",

@@ -25,4 +25,4 @@ "license": "Apache-2.0",

"dependencies": {
"@react-aria/utils": "^3.0.0-nightly-4980928d3-240906",
"@react-types/shared": "^3.0.0-nightly-4980928d3-240906",
"@react-aria/utils": "^3.0.0-nightly-4baa1b08e-241029",
"@react-types/shared": "^3.0.0-nightly-4baa1b08e-241029",
"@swc/helpers": "^0.5.0"

@@ -36,3 +36,3 @@ },

},
"stableVersion": "4.0.2"
"stableVersion": "4.1.0"
}

@@ -39,2 +39,7 @@ /*

/**
* Content for this view if it was generated by the layout rather than coming from the Collection.
*/
content: any | null;
/**

@@ -86,2 +91,3 @@ * The rectangle describing the size and position of this view.

this.parentKey = null;
this.content = null;
this.rect = rect;

@@ -105,2 +111,3 @@ this.estimatedSize = false;

res.parentKey = this.parentKey;
res.content = this.content;
res.isSticky = this.isSticky;

@@ -107,0 +114,0 @@ res.zIndex = this.zIndex;

@@ -117,4 +117,4 @@ /*

private _renderView(reusableView: ReusableView<T, V>) {
let {type, key} = reusableView.layoutInfo;
reusableView.content = this.collection.getItem(key);
let {type, key, content} = reusableView.layoutInfo;
reusableView.content = content || this.collection.getItem(key);
reusableView.rendered = this._renderContent(type, reusableView.content);

@@ -121,0 +121,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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc