virtua 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,11 +41,6 @@ export interface WVListProps extends WindowComponentAttributes {
41
41
  * @defaultValue "div"
42
42
  */
43
43
  itemElement?: CustomItemComponentOrElement;
44
- /**
45
- * Callback invoked whenever scroll offset changes.
46
- * @param offset Current scrollTop or scrollLeft.
47
- */
48
- onScroll?: (offset: number) => void;
49
44
  /**
50
45
  * Callback invoked when scrolling stops.
51
46
  */
@@ -71,5 +66,5 @@ export interface WVListProps extends WindowComponentAttributes {
71
66
  /**
72
67
  * Virtualized list component controlled by the window scrolling. See {@link WVListProps}.
73
68
  */
74
- export declare const WVList: ({ children, overscan, initialItemSize, initialItemCount, horizontal: horizontalProp, element: Window, itemElement, onScroll: onScrollProp, onScrollStop: onScrollStopProp, onRangeChange: onRangeChangeProp, ...windowAttrs }: WVListProps) => ReactElement;
69
+ export declare const WVList: ({ children, overscan, initialItemSize, initialItemCount, horizontal: horizontalProp, element: Window, itemElement, onScrollStop: onScrollStopProp, onRangeChange: onRangeChangeProp, ...windowAttrs }: WVListProps) => ReactElement;
75
70
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virtua",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "A zero-config, fast and small (~3kB) virtual list and grid component for React.",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.mjs",
@@ -30,26 +30,26 @@
30
30
  "@emotion/styled": "11.10.8",
31
31
  "@faker-js/faker": "8.0.2",
32
32
  "@mui/material": "5.12.3",
33
- "@playwright/test": "^1.34.3",
33
+ "@playwright/test": "^1.36.1",
34
34
  "@rollup/plugin-babel": "6.0.3",
35
35
  "@rollup/plugin-terser": "0.4.3",
36
36
  "@rollup/plugin-typescript": "11.1.2",
37
37
  "@size-limit/preset-small-lib": "^8.2.6",
38
- "@storybook/addon-docs": "7.0.18",
39
- "@storybook/react": "7.0.18",
40
- "@storybook/react-vite": "^7.0.18",
41
- "@storybook/test-runner": "0.10.0",
38
+ "@storybook/addon-docs": "7.1.0",
39
+ "@storybook/react": "7.1.0",
40
+ "@storybook/react-vite": "^7.1.0",
41
+ "@storybook/test-runner": "0.11.0",
42
42
  "@tanstack/react-virtual": "3.0.0-alpha.0",
43
43
  "@testing-library/react": "14.0.0",
44
44
  "@types/react": "18.2.14",
45
45
  "@types/react-virtualized": "9.21.22",
46
46
  "@types/react-window": "1.8.5",
47
- "@typescript-eslint/parser": "5.59.2",
48
- "concurrently": "8.0.1",
49
- "eslint": "8.42.0",
47
+ "@typescript-eslint/parser": "6.1.0",
48
+ "concurrently": "8.2.0",
49
+ "eslint": "8.45.0",
50
50
  "eslint-plugin-react-hooks": "4.6.0",
51
- "jest": "29.5.0",
52
- "jest-environment-jsdom": "29.5.0",
51
+ "jest": "29.6.1",
52
+ "jest-environment-jsdom": "29.6.1",
53
53
  "re-resizable": "6.9.9",
54
54
  "react": "18.2.0",
55
55
  "react-content-loader": "6.2.1",
@@ -60,19 +60,19 @@
60
60
  "react-pull-to-refresh": "2.0.1",
61
61
  "react-select": "5.7.3",
62
62
  "react-virtualized": "9.22.5",
63
- "react-virtuoso": "4.3.11",
63
+ "react-virtuoso": "4.4.1",
64
64
  "react-window": "1.8.9",
65
65
  "rimraf": "5.0.0",
66
66
  "rollup": "3.23.0",
67
67
  "rollup-plugin-banner2": "1.2.2",
68
68
  "size-limit": "^8.2.6",
69
- "storybook": "^7.0.18",
69
+ "storybook": "^7.1.0",
70
70
  "ts-jest": "29.1.0",
71
71
  "typedoc": "0.24.7",
72
72
  "typedoc-plugin-markdown": "3.15.3",
73
- "typescript": "5.1.3",
74
- "virtua": "^0.4.0",
75
- "vite": "4.3.9",
73
+ "typescript": "5.1.6",
74
+ "virtua": "^0.4.3",
75
+ "vite": "4.4.4",
76
76
  "wait-on": "7.0.1"
77
77
  },
78
78
  "peerDependencies": {