react-virtuoso 4.7.5 → 4.7.6

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -3
  2. package/package.json +2 -13
package/dist/index.d.ts CHANGED
@@ -181,10 +181,12 @@ export declare interface GridItemContent<D, C> {
181
181
  (index: number, data: D, context: C): React_2.ReactNode;
182
182
  }
183
183
 
184
- export declare interface GridItemProps {
184
+ /**
185
+ * Passed to the Components.Item custom component
186
+ */
187
+ export declare type GridItemProps = Pick<React_2.ComponentProps<'div'>, 'style' | 'children' | 'className'> & {
185
188
  'data-index': number;
186
- className?: string;
187
- }
189
+ } & React_2.RefAttributes<HTMLDivElement>;
188
190
 
189
191
  /**
190
192
  * Passed to the Components.List custom component
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "react-virtuoso",
3
3
  "author": "Petyo Ivanov",
4
4
  "sideEffects": false,
5
- "version": "4.7.5",
5
+ "version": "4.7.6",
6
6
  "homepage": "https://virtuoso.dev/",
7
7
  "license": "MIT",
8
8
  "source": "src/index.tsx",
@@ -35,29 +35,19 @@
35
35
  "typecheck": "tsc --noEmit -p tsconfig.typecheck.json",
36
36
  "dev": "LADLE=true ladle serve",
37
37
  "prepare": "pnpm run build && husky install",
38
- "semantic-release": "semantic-release",
39
- "docs:start": "docusaurus start --config docusaurus/docusaurus.config.js",
40
- "docs:build": "docusaurus build --config docusaurus/docusaurus.config.js",
41
- "docs:deploy": "docusaurus deploy --config docusaurus/docusaurus.config.js"
38
+ "semantic-release": "semantic-release"
42
39
  },
43
40
  "peerDependencies": {
44
41
  "react": ">=16 || >=17 || >= 18",
45
42
  "react-dom": ">=16 || >=17 || >= 18"
46
43
  },
47
44
  "devDependencies": {
48
- "@codesandbox/sandpack-react": "^2.6.3",
49
- "@codesandbox/sandpack-themes": "^2.0.21",
50
45
  "@commitlint/cli": "^17.6.3",
51
46
  "@commitlint/config-conventional": "^17.6.3",
52
- "@docusaurus/core": "2.4.0",
53
- "@docusaurus/module-type-aliases": "2.4.0",
54
- "@docusaurus/plugin-google-gtag": "^2.4.0",
55
- "@docusaurus/preset-classic": "2.4.0",
56
47
  "@emotion/core": "^11.0.0",
57
48
  "@emotion/styled": "^11.10.8",
58
49
  "@faker-js/faker": "^7.6.0",
59
50
  "@ladle/react": "^2.12.3",
60
- "@mdx-js/react": "^1.6.22",
61
51
  "@playwright/test": "^1.33.0",
62
52
  "@tanstack/react-table": "^8.9.11",
63
53
  "@testing-library/react": "^14.0.0",
@@ -71,7 +61,6 @@
71
61
  "@typescript-eslint/parser": "^5.59.2",
72
62
  "@vitejs/plugin-react": "^4.0.0",
73
63
  "clsx": "^1.2.1",
74
- "docusaurus-plugin-typedoc": "^0.19.2",
75
64
  "eslint": "^8.39.0",
76
65
  "eslint-config-prettier": "^8.8.0",
77
66
  "eslint-plugin-html": "^7.1.0",