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

@af-utils/virtual-react

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.0.9 to 0.0.10

8

lib/bundlesize.index.d.ts

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

export declare const raw = 5570;
export declare const min = 2361;
export declare const minGz = 1149;
export declare const minBrotli = 1017;
export declare const raw = 5595;
export declare const min = 2376;
export declare const minGz = 1161;
export declare const minBrotli = 1033;

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

export const raw = 5570;
export const min = 2361;
export const minGz = 1149;
export const minBrotli = 1017;
export const raw = 5595;
export const min = 2376;
export const minGz = 1161;
export const minBrotli = 1033;

@@ -51,12 +51,12 @@ import { jsxs as t, jsx as e } from "react/jsx-runtime";

return r((() => {
if (e && i) {
const o = t.on((() => {
if (t && e && i) {
const o = () => {
e.style[t.horizontal ? "width" : "height"] = t.scrollSize + "px";
}), [ c.SCROLL_SIZE ]), r = t.on((() => {
}, r = () => {
const e = t.getOffset(t.from), o = t.getOffset(t.to);
i.style.transform = `translate${t.horizontal ? "X" : "Y"}(${e}px)`, i.style[t.horizontal ? "width" : "height"] = o - e + "px";
}), [ c.RANGE, c.SIZES ]);
}, n = t.on(o, [ c.SCROLL_SIZE ]), s = t.on(r, [ c.RANGE, c.SIZES ]);
return Object.assign(e.style, t.horizontal ? m : p), Object.assign(i.style, t.horizontal ? g : v),
() => {
o(), r();
o(), r(), () => {
n(), s();
};

@@ -63,0 +63,0 @@ }

{
"name": "@af-utils/virtual-react",
"private": false,
"version": "0.0.9",
"version": "0.0.10",
"description": "React components and hooks for rendering large scrollable data",

@@ -38,6 +38,2 @@ "repository": "https://github.com/nowaalex/af-utils.git",

"@rollup/plugin-typescript": "^11.1.5",
"@types/jest": "^29.5.5",
"@types/node": "^20.8.6",
"@types/react": "^18.2.28",
"@types/use-sync-external-store": "^0.0.4",
"jest": "^29.7.0",

@@ -53,3 +49,3 @@ "jest-environment-jsdom": "^29.7.0",

"dependencies": {
"@af-utils/virtual-core": "0.0.9"
"@af-utils/virtual-core": "0.0.10"
},

@@ -56,0 +52,0 @@ "peerDependencies": {

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