@af-utils/virtual-react
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -1,4 +0,4 @@ | ||
export declare const raw = 3691; | ||
export declare const min = 2452; | ||
export declare const raw = 3700; | ||
export declare const min = 2461; | ||
export declare const minGz = 1160; | ||
export declare const minBrotli = 1039; | ||
export declare const minBrotli = 1045; |
@@ -1,4 +0,4 @@ | ||
export const raw = 3691; | ||
export const min = 2452; | ||
export const raw = 3700; | ||
export const min = 2461; | ||
export const minGz = 1160; | ||
export const minBrotli = 1039; | ||
export const minBrotli = 1045; |
@@ -7,3 +7,3 @@ import { jsxs as t, jsx as e } from "react/jsx-runtime"; | ||
import { useSyncExternalStore as u } from "use-sync-external-store/shim"; | ||
import { useSyncExternalStore as u } from "use-sync-external-store/shim/index.js"; | ||
@@ -49,3 +49,3 @@ function a(t, e) { | ||
function y(t) { | ||
function x(t) { | ||
const [e, r] = n(null), [i, s] = n(null); | ||
@@ -68,3 +68,3 @@ return o((() => { | ||
function x(t) { | ||
function y(t) { | ||
switch (t) { | ||
@@ -83,3 +83,3 @@ case c.RANGE: | ||
function z(t, e) { | ||
const [n, o] = r((() => [ n => t.on(n, e), () => e.map(x, t).join() ]), [ t, e ]); | ||
const [n, o] = r((() => [ n => t.on(n, e), () => e.map(y, t).join() ]), [ t, e ]); | ||
u(n, o, o); | ||
@@ -93,3 +93,3 @@ } | ||
function E(n) { | ||
const {model: o, children: r, itemData: s, component: l = "div", header: f = null, footer: u = null, getKey: h = (t => t), tabIndex: d = -1, style: m, ...p} = n, [S, g] = y(o); | ||
const {model: o, children: r, itemData: s, component: l = "div", header: f = null, footer: u = null, getKey: h = (t => t), tabIndex: d = -1, style: m, ...p} = n, [S, g] = x(o); | ||
return t(l, { | ||
@@ -143,3 +143,3 @@ ...p, | ||
export { E as List, w as Subscription, a as mapVisibleRange, h as mapVisibleRangeWithOffset, z as useComponentSubscription, O as useScroller, R as useSubscription, y as useSyncedStyles, b as useVirtual, _ as useVirtualModel }; | ||
export { E as List, w as Subscription, a as mapVisibleRange, h as mapVisibleRangeWithOffset, z as useComponentSubscription, O as useScroller, R as useSubscription, x as useSyncedStyles, b as useVirtual, _ as useVirtualModel }; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@af-utils/virtual-react", | ||
"private": false, | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "React components and hooks for rendering large scrollable data", | ||
@@ -36,8 +36,9 @@ "repository": "https://github.com/nowaalex/af-utils.git", | ||
"@rollup/plugin-terser": "^0.4.4", | ||
"@rollup/plugin-typescript": "^11.1.5", | ||
"ts-jest": "^29.1.1", | ||
"@af-utils/rollup-plugin-export-bundle-size": "0.0.4" | ||
"@rollup/plugin-typescript": "^11.1.6", | ||
"rollup": "^4.9.6", | ||
"ts-jest": "^29.1.2", | ||
"@af-utils/rollup-plugin-export-bundle-size": "0.0.5" | ||
}, | ||
"dependencies": { | ||
"@af-utils/virtual-core": "0.0.18" | ||
"@af-utils/virtual-core": "0.0.19" | ||
}, | ||
@@ -44,0 +45,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29265
5
+ Added@af-utils/virtual-core@0.0.19(transitive)
- Removed@af-utils/virtual-core@0.0.18(transitive)