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

@af-utils/react-virtual-list

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@af-utils/react-virtual-list - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

8

lib/bundlesize.index.js

@@ -1,4 +0,4 @@

export const raw = 2218;
export const min = 1101;
export const minGz = 613;
export const minBrotli = 532;
export const raw = 2127;
export const min = 1070;
export const minGz = 599;
export const minBrotli = 520;

@@ -9,8 +9,7 @@ import e from "prop-types";

import { jsxs as d, jsx as n, Fragment as m } from "react/jsx-runtime";
import { jsxs as d, jsx as m, Fragment as n } from "react/jsx-runtime";
const c = o("overflow: auto", "position: relative", // https://github.com/nowaalex/af-virtual-scroll/issues/26
"will-change: scroll-position"), p = o("visibility: hidden"), h = o("position: absolute"), f = o("height: 1px"), u = o("width: 1px"), v = a(c, o("display: flex")), x = a(h, p, u, o("top: 0")), y = a(h, p, f, o("left: 0")), b = a(p, u), g = a(p, f, o("flex-shrink: 0")), N = [ "height", c, x, b ], w = [ "width", v, y, g ], I = [ l, r ], D = [ s ], K = e => {
const c = o("overflow: auto", "position: relative"), p = o("visibility: hidden"), h = o("position: absolute"), f = o("height: 1px"), u = o("width: 1px"), v = a(c, o("display: flex")), x = a(h, p, u, o("top: 0")), y = a(h, p, f, o("left: 0")), b = a(p, u), N = a(p, f, o("flex-shrink: 0")), g = [ "height", c, x, b ], w = [ "width", v, y, N ], I = [ l, r ], D = [ s ], K = e => {
let {model: l, children: r, className: s, itemData: o, getKey: c, tabIndex: p = -1, ...h} = e;
const [f, u, v, x] = l.horizontal ? w : N;
const [f, u, v, x] = l.horizontal ? w : g;
/*#__PURE__*/

@@ -22,3 +21,3 @@ return d("div", {

...h,
children: [ /*#__PURE__*/ n(t, {
children: [ /*#__PURE__*/ m(t, {
model: l,

@@ -29,3 +28,3 @@ events: D,

/*#__PURE__*/
return n("div", {
return m("div", {
className: v,

@@ -37,3 +36,3 @@ style: {

}
}), /*#__PURE__*/ n(t, {
}), /*#__PURE__*/ m(t, {
model: l,

@@ -44,4 +43,4 @@ events: I,

/*#__PURE__*/
return d(m, {
children: [ /*#__PURE__*/ n("div", {
return d(n, {
children: [ /*#__PURE__*/ m("div", {
className: x,

@@ -48,0 +47,0 @@ style: {

{
"name": "@af-utils/react-virtual-list",
"private": false,
"version": "0.0.11",
"version": "0.0.12",
"description": "React components for rendering large scrollable data",

@@ -6,0 +6,0 @@ "repository": "https://github.com/nowaalex/af-virtual-scroll.git",

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