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

@react-aria/virtualizer

Package Overview
Dependencies
Maintainers
1
Versions
840
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-aria/virtualizer - npm Package Compare versions

Comparing version 3.2.1-nightly.2416 to 3.2.1-nightly.2419

7

dist/main.js

@@ -408,3 +408,3 @@ var {

} = props,
otherProps = _babelRuntimeHelpersObjectWithoutPropertiesLoose(props, ["children", "renderWrapper", "layout", "collection", "sizeToFit", "scrollDirection", "transitionDuration", "isLoading", "onLoadMore", "focusedKey"]);
otherProps = _babelRuntimeHelpersObjectWithoutPropertiesLoose(props, ["children", "renderWrapper", "layout", "collection", "sizeToFit", "scrollDirection", "transitionDuration", "isLoading", "onLoadMore", "focusedKey", "shouldUseVirtualFocus"]);

@@ -458,3 +458,4 @@ let fallbackRef = useRef();

focusedKey,
scrollToItem
scrollToItem,
shouldUseVirtualFocus
} = props;

@@ -512,3 +513,3 @@ let {

virtualizerProps: {
tabIndex: focusedView ? -1 : 0,
tabIndex: focusedView || shouldUseVirtualFocus ? -1 : 0,
onFocus,

@@ -515,0 +516,0 @@ onBlur

@@ -358,3 +358,3 @@ import { useLocale } from "@react-aria/i18n";

} = props,
otherProps = _babelRuntimeHelpersEsmObjectWithoutPropertiesLoose(props, ["children", "renderWrapper", "layout", "collection", "sizeToFit", "scrollDirection", "transitionDuration", "isLoading", "onLoadMore", "focusedKey"]);
otherProps = _babelRuntimeHelpersEsmObjectWithoutPropertiesLoose(props, ["children", "renderWrapper", "layout", "collection", "sizeToFit", "scrollDirection", "transitionDuration", "isLoading", "onLoadMore", "focusedKey", "shouldUseVirtualFocus"]);

@@ -408,3 +408,4 @@ let fallbackRef = useRef();

focusedKey,
scrollToItem
scrollToItem,
shouldUseVirtualFocus
} = props;

@@ -462,3 +463,3 @@ let {

virtualizerProps: {
tabIndex: focusedView ? -1 : 0,
tabIndex: focusedView || shouldUseVirtualFocus ? -1 : 0,
onFocus,

@@ -465,0 +466,0 @@ onBlur

@@ -19,7 +19,7 @@ import { Direction, Collection } from "@react-types/shared";

export const ScrollView: React.ForwardRefExoticComponent<ScrollViewProps & React.RefAttributes<HTMLDivElement>>;
interface VirtualizerItemOptions<T extends object, V, W> {
interface VirtualizerItemOptions<T extends object, V> {
reusableView: ReusableView<T, V>;
ref: RefObject<HTMLElement>;
}
export function useVirtualizerItem<T extends object, V, W>(options: VirtualizerItemOptions<T, V, W>): {
export function useVirtualizerItem<T extends object, V>(options: VirtualizerItemOptions<T, V>): {
updateSize: () => void;

@@ -45,2 +45,3 @@ };

onLoadMore?: () => void;
shouldUseVirtualFocus?: boolean;
}

@@ -50,2 +51,3 @@ interface VirtualizerOptions {

scrollToItem?: (key: Key) => void;
shouldUseVirtualFocus?: boolean;
}

@@ -52,0 +54,0 @@ export function useVirtualizer<T extends object, V, W>(props: VirtualizerOptions, state: VirtualizerState<T, V, W>, ref: RefObject<HTMLElement>): {

{
"name": "@react-aria/virtualizer",
"version": "3.2.1-nightly.2416+dc6d7873",
"version": "3.2.1-nightly.2419+975957a3",
"description": "Spectrum UI components in React",

@@ -21,6 +21,6 @@ "license": "Apache-2.0",

"@babel/runtime": "^7.6.2",
"@react-aria/i18n": "3.0.0-nightly.738+dc6d7873",
"@react-aria/utils": "3.0.0-nightly.738+dc6d7873",
"@react-stately/virtualizer": "3.1.3-nightly.2416+dc6d7873",
"@react-types/shared": "3.0.0-nightly.738+dc6d7873"
"@react-aria/i18n": "3.0.0-nightly.741+975957a3",
"@react-aria/utils": "3.0.0-nightly.741+975957a3",
"@react-stately/virtualizer": "3.1.3-nightly.2419+975957a3",
"@react-types/shared": "3.0.0-nightly.741+975957a3"
},

@@ -34,3 +34,3 @@ "peerDependencies": {

},
"gitHead": "dc6d78733fb26fa02afeb1a36e11de7d71c84467"
"gitHead": "975957a3c3fb4a9f3be358428e0980a4d4e51c1a"
}

@@ -17,3 +17,3 @@ /*

interface VirtualizerItemOptions<T extends object, V, W> {
interface VirtualizerItemOptions<T extends object, V> {
reusableView: ReusableView<T, V>,

@@ -23,3 +23,3 @@ ref: RefObject<HTMLElement>

export function useVirtualizerItem<T extends object, V, W>(options: VirtualizerItemOptions<T, V, W>) {
export function useVirtualizerItem<T extends object, V>(options: VirtualizerItemOptions<T, V>) {
let {reusableView: {layoutInfo, virtualizer}, ref} = options;

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

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