@af-utils/react-virtual-list
Advanced tools
Comparing version 1.0.4 to 1.0.5
import { VirtualScroller } from "@af-utils/react-virtual-headless"; | ||
import { ElementType, ReactElement } from "react"; | ||
import { ElementType } from "react"; | ||
type ListProps = { | ||
@@ -9,4 +9,4 @@ model: VirtualScroller; | ||
component?: ElementType; | ||
header?: ReactElement | null; | ||
footer?: ReactElement | null; | ||
header?: JSX.Element | null; | ||
footer?: JSX.Element | null; | ||
className?: string; | ||
@@ -16,3 +16,3 @@ tabIndex?: number; | ||
}; | ||
declare const List: ({ model, children: Item, className, itemData, header, footer, component: Component, getKey, tabIndex, ...props }: ListProps) => JSX.Element; | ||
declare const List: ({ model, children: Item, className, itemData, header, footer, component: Component, getKey, tabIndex, ...props }: ListProps) => import("react/jsx-runtime").JSX.Element; | ||
export default List; |
141
package.json
{ | ||
"name": "@af-utils/react-virtual-list", | ||
"private": false, | ||
"version": "1.0.4", | ||
"description": "React components for rendering large scrollable data", | ||
"repository": "https://github.com/nowaalex/af-virtual-scroll.git", | ||
"bugs": "https://github.com/nowaalex/af-virtual-scroll/issues", | ||
"homepage": "https://af-virtual-scroll.vercel.app/", | ||
"author": "Alex Fomin <nowaalex@gmail.com> (https://github.com/nowaalex/)", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"scripts": { | ||
"dev": "rollup --watch --config rollup.config.js --bundleConfigAsCjs", | ||
"build": "rollup --config rollup.config.js --bundleConfigAsCjs", | ||
"prepare": "npm run build", | ||
"test": "jest" | ||
}, | ||
"engines": { | ||
"node": ">=14.0.0", | ||
"npm": ">=6.0.0" | ||
}, | ||
"files": [ | ||
"lib/*" | ||
], | ||
"type": "module", | ||
"main": "lib/index.js", | ||
"module": "lib/index.js", | ||
"keywords": [ | ||
"react", | ||
"reactjs", | ||
"virtual", | ||
"table", | ||
"list", | ||
"recycle", | ||
"dom-recycle", | ||
"dynamic-size", | ||
"scroll", | ||
"scrolling", | ||
"infinite", | ||
"virtualized", | ||
"virtual", | ||
"virtualization", | ||
"sortable", | ||
"windowing" | ||
], | ||
"devDependencies": { | ||
"@babel/plugin-transform-runtime": "^7.21.4", | ||
"@babel/preset-env": "^7.21.5", | ||
"@rollup/plugin-babel": "^6.0.3", | ||
"@rollup/plugin-commonjs": "^24.1.0", | ||
"@rollup/plugin-export-bundle-size": "^0.0.2", | ||
"@rollup/plugin-replace": "^5.0.2", | ||
"@rollup/plugin-typescript": "^11.1.0", | ||
"@types/jest": "^29.5.1", | ||
"@types/use-sync-external-store": "^0.0.3", | ||
"jest": "^29.5.0", | ||
"jest-environment-jsdom": "^29.5.0", | ||
"lodash": "^4.17.21", | ||
"rollup": "^3.21.1", | ||
"ts-jest": "^29.1.0", | ||
"tsc-alias": "^1.8.6", | ||
"typescript": "^5.0.4" | ||
}, | ||
"peerDependencies": { | ||
"@af-utils/react-virtual-headless": "^0.1.12", | ||
"@af-utils/styled": "^0.0.23", | ||
"react": "^17.0.0 || ^18.1.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} | ||
"name": "@af-utils/react-virtual-list", | ||
"private": false, | ||
"version": "1.0.5", | ||
"description": "React components for rendering large scrollable data", | ||
"repository": "https://github.com/nowaalex/af-virtual-scroll.git", | ||
"bugs": "https://github.com/nowaalex/af-virtual-scroll/issues", | ||
"homepage": "https://af-virtual-scroll.vercel.app/", | ||
"author": "Alex Fomin <nowaalex@gmail.com> (https://github.com/nowaalex/)", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"engines": { | ||
"node": ">=14.0.0", | ||
"npm": ">=6.0.0" | ||
}, | ||
"files": [ | ||
"lib/*" | ||
], | ||
"type": "module", | ||
"main": "lib/index.js", | ||
"module": "lib/index.js", | ||
"keywords": [ | ||
"react", | ||
"reactjs", | ||
"virtual", | ||
"list", | ||
"recycle", | ||
"dom-recycle", | ||
"dynamic-size", | ||
"scroll", | ||
"scrolling", | ||
"infinite", | ||
"virtualized", | ||
"virtual", | ||
"virtualization", | ||
"sortable", | ||
"windowing" | ||
], | ||
"devDependencies": { | ||
"@babel/plugin-transform-runtime": "^7.22.15", | ||
"@babel/preset-env": "^7.22.20", | ||
"@rollup/plugin-babel": "^6.0.3", | ||
"@rollup/plugin-commonjs": "^25.0.4", | ||
"@rollup/plugin-export-bundle-size": "^0.0.2", | ||
"@rollup/plugin-replace": "^5.0.2", | ||
"@rollup/plugin-typescript": "^11.1.4", | ||
"@types/jest": "^29.5.5", | ||
"@types/react": "^18.2.25", | ||
"@types/use-sync-external-store": "^0.0.4", | ||
"jest": "^29.7.0", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"lodash": "^4.17.21", | ||
"rollup": "^3.29.4", | ||
"ts-jest": "^29.1.1", | ||
"tsc-alias": "^1.8.8", | ||
"typescript": "^5.2.2" | ||
}, | ||
"peerDependencies": { | ||
"@af-utils/react-virtual-headless": "^0.1.13", | ||
"@af-utils/styled": "^0.0.24", | ||
"react": "^17.0.0 || ^18.1.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"dev": "rollup --watch --config rollup.config.js --bundleConfigAsCjs", | ||
"build": "rollup --config rollup.config.js --bundleConfigAsCjs", | ||
"test": "jest" | ||
} | ||
} |
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
11100
7
17