virtua 0.35.0 → 0.36.0
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.
- package/README.md +34 -32
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1 -1
- package/lib/index.mjs.map +1 -1
- package/lib/solid/index.js +1 -1
- package/lib/solid/index.js.map +1 -1
- package/lib/solid/index.mjs +1 -1
- package/lib/solid/index.mjs.map +1 -1
- package/lib/svelte/ListItem.svelte +31 -15
- package/lib/svelte/ListItem.svelte.d.ts +21 -17
- package/lib/svelte/VList.svelte +51 -222
- package/lib/svelte/VList.svelte.d.ts +22 -88
- package/lib/svelte/VList.type.d.ts +13 -0
- package/lib/svelte/VList.type.js +1 -0
- package/lib/svelte/Virtualizer.svelte +192 -0
- package/lib/svelte/Virtualizer.svelte.d.ts +26 -0
- package/lib/svelte/Virtualizer.type.d.ts +114 -0
- package/lib/svelte/Virtualizer.type.js +1 -0
- package/lib/svelte/core.d.ts +20 -14
- package/lib/svelte/core.js +1 -1
- package/lib/svelte/index.d.ts +3 -0
- package/lib/svelte/index.js +1 -0
- package/lib/svelte/types.d.ts +3 -0
- package/lib/svelte/utils.d.ts +0 -7
- package/lib/svelte/utils.js +0 -6
- package/lib/vue/index.js +1 -1
- package/lib/vue/index.js.map +1 -1
- package/lib/vue/index.mjs +1 -1
- package/lib/vue/index.mjs.map +1 -1
- package/package.json +56 -58
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "virtua",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.0",
|
|
4
4
|
"description": "A zero-config, fast and small (~3kB) virtual list (and grid) component for React, Vue, Solid and Svelte.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.mjs",
|
|
@@ -55,106 +55,104 @@
|
|
|
55
55
|
"deps:latest": "npm-check-updates --target latest -u"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@atlaskit/pragmatic-drag-and-drop": "^1.
|
|
58
|
+
"@atlaskit/pragmatic-drag-and-drop": "^1.4.0",
|
|
59
59
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^1.4.0",
|
|
60
60
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.3",
|
|
61
|
-
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^1.1.
|
|
62
|
-
"@babel/plugin-transform-react-pure-annotations": "^7.
|
|
61
|
+
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^1.1.3",
|
|
62
|
+
"@babel/plugin-transform-react-pure-annotations": "^7.25.9",
|
|
63
63
|
"@dnd-kit/core": "^6.1.0",
|
|
64
64
|
"@dnd-kit/sortable": "^8.0.0",
|
|
65
|
-
"@emotion/react": "^11.13.
|
|
65
|
+
"@emotion/react": "^11.13.3",
|
|
66
66
|
"@emotion/styled": "^11.13.0",
|
|
67
|
-
"@
|
|
68
|
-
"@faker-js/faker": "^8.4.1",
|
|
67
|
+
"@faker-js/faker": "^9.0.3",
|
|
69
68
|
"@formkit/auto-animate": "^0.8.2",
|
|
70
|
-
"@mui/material": "^6.
|
|
71
|
-
"@playwright/test": "^1.
|
|
69
|
+
"@mui/material": "^6.1.5",
|
|
70
|
+
"@playwright/test": "^1.48.2",
|
|
72
71
|
"@radix-ui/colors": "^3.0.0",
|
|
73
72
|
"@radix-ui/react-icons": "^1.3.0",
|
|
74
|
-
"@radix-ui/react-scroll-area": "^1.
|
|
75
|
-
"@radix-ui/react-select": "^2.1.
|
|
73
|
+
"@radix-ui/react-scroll-area": "^1.2.0",
|
|
74
|
+
"@radix-ui/react-select": "^2.1.2",
|
|
76
75
|
"@rollup/plugin-babel": "^6.0.4",
|
|
77
76
|
"@rollup/plugin-terser": "^0.4.4",
|
|
78
77
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
79
|
-
"@size-limit/preset-small-lib": "^11.1.
|
|
80
|
-
"@storybook/addon-storysource": "^8.
|
|
81
|
-
"@storybook/docs-tools": "^8.
|
|
82
|
-
"@storybook/react": "^8.
|
|
83
|
-
"@storybook/react-vite": "^8.
|
|
84
|
-
"@storybook/source-loader": "^8.
|
|
85
|
-
"@storybook/svelte": "^8.
|
|
86
|
-
"@storybook/svelte-vite": "^8.
|
|
78
|
+
"@size-limit/preset-small-lib": "^11.1.6",
|
|
79
|
+
"@storybook/addon-storysource": "^8.3.5",
|
|
80
|
+
"@storybook/docs-tools": "^8.3.5",
|
|
81
|
+
"@storybook/react": "^8.3.5",
|
|
82
|
+
"@storybook/react-vite": "^8.3.5",
|
|
83
|
+
"@storybook/source-loader": "^8.3.5",
|
|
84
|
+
"@storybook/svelte": "^8.3.5",
|
|
85
|
+
"@storybook/svelte-vite": "^8.3.5",
|
|
87
86
|
"@storybook/test-runner": "^0.19.1",
|
|
88
|
-
"@storybook/vue3": "^8.
|
|
89
|
-
"@storybook/vue3-vite": "^8.
|
|
90
|
-
"@sveltejs/vite-plugin-svelte": "^
|
|
91
|
-
"@tanstack/react-virtual": "^3.8
|
|
87
|
+
"@storybook/vue3": "^8.3.5",
|
|
88
|
+
"@storybook/vue3-vite": "^8.3.5",
|
|
89
|
+
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
|
90
|
+
"@tanstack/react-virtual": "^3.10.8",
|
|
92
91
|
"@testing-library/dom": "^10.4.0",
|
|
93
|
-
"@testing-library/react": "^16.0.
|
|
92
|
+
"@testing-library/react": "^16.0.1",
|
|
94
93
|
"@testing-library/vue": "^8.1.0",
|
|
95
94
|
"@types/jsdom": "^21.1.7",
|
|
96
|
-
"@types/react": "^18.3.
|
|
97
|
-
"@types/react-
|
|
98
|
-
"@types/react-dom": "^18.3.0",
|
|
95
|
+
"@types/react": "^18.3.12",
|
|
96
|
+
"@types/react-dom": "^18.3.1",
|
|
99
97
|
"@types/react-virtualized": "^9.21.30",
|
|
100
98
|
"@types/react-window": "^1.8.8",
|
|
101
|
-
"@typescript-eslint/parser": "^8.
|
|
102
|
-
"@vitejs/plugin-react": "^4.3.
|
|
103
|
-
"@vitejs/plugin-vue": "^5.1.
|
|
104
|
-
"@vitejs/plugin-vue-jsx": "^4.0.
|
|
105
|
-
"@vue/babel-plugin-jsx": "^1.2.
|
|
106
|
-
"babel-preset-solid": "^1.
|
|
99
|
+
"@typescript-eslint/parser": "^8.11.0",
|
|
100
|
+
"@vitejs/plugin-react": "^4.3.3",
|
|
101
|
+
"@vitejs/plugin-vue": "^5.1.4",
|
|
102
|
+
"@vitejs/plugin-vue-jsx": "^4.0.1",
|
|
103
|
+
"@vue/babel-plugin-jsx": "^1.2.5",
|
|
104
|
+
"babel-preset-solid": "^1.9.3",
|
|
107
105
|
"cmdk": "^1.0.0",
|
|
108
|
-
"concurrently": "^
|
|
109
|
-
"eslint": "^9.
|
|
106
|
+
"concurrently": "^9.0.1",
|
|
107
|
+
"eslint": "^9.13.0",
|
|
110
108
|
"eslint-import-resolver-typescript": "^3.6.3",
|
|
111
|
-
"eslint-plugin-import": "^2.
|
|
112
|
-
"eslint-plugin-react
|
|
113
|
-
"eslint-plugin-react-
|
|
109
|
+
"eslint-plugin-import": "^2.31.0",
|
|
110
|
+
"eslint-plugin-react": "^7.37.2",
|
|
111
|
+
"eslint-plugin-react-compiler": "^19.0.0-beta-8a03594-20241020",
|
|
112
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
114
113
|
"eslint-plugin-solid": "^0.14.3",
|
|
115
|
-
"eslint-plugin-vue": "^9.
|
|
116
|
-
"glob": "^
|
|
117
|
-
"jsdom": "^24.1.
|
|
114
|
+
"eslint-plugin-vue": "^9.29.1",
|
|
115
|
+
"glob": "^11.0.0",
|
|
116
|
+
"jsdom": "^24.1.3",
|
|
118
117
|
"npm-check-updates": "^16.14.20",
|
|
119
|
-
"re-resizable": "^6.
|
|
118
|
+
"re-resizable": "^6.10.0",
|
|
120
119
|
"react": "^18.3.1",
|
|
121
|
-
"react-beautiful-dnd": "^13.1.1",
|
|
122
120
|
"react-content-loader": "^7.0.2",
|
|
123
121
|
"react-dom": "^18.3.1",
|
|
124
122
|
"react-is": "^18.3.1",
|
|
125
123
|
"react-merge-refs": "^2.1.1",
|
|
126
124
|
"react-new-window": "^1.0.1",
|
|
127
125
|
"react-virtualized": "^9.22.5",
|
|
128
|
-
"react-virtuoso": "^4.
|
|
126
|
+
"react-virtuoso": "^4.12.0",
|
|
129
127
|
"react-window": "^1.8.10",
|
|
130
128
|
"rimraf": "^6.0.1",
|
|
131
|
-
"rollup": "^4.
|
|
129
|
+
"rollup": "^4.24.0",
|
|
132
130
|
"rollup-plugin-banner2": "^1.3.0",
|
|
133
|
-
"size-limit": "^11.1.
|
|
134
|
-
"solid-js": "^1.
|
|
135
|
-
"storybook": "^8.
|
|
131
|
+
"size-limit": "^11.1.6",
|
|
132
|
+
"solid-js": "^1.9.3",
|
|
133
|
+
"storybook": "^8.3.5",
|
|
136
134
|
"storybook-solidjs": "^1.0.0-beta.2",
|
|
137
135
|
"storybook-solidjs-vite": "^1.0.0-beta.2",
|
|
138
|
-
"svelte": "^
|
|
139
|
-
"svelte-check": "^
|
|
140
|
-
"svelte2tsx": "^0.7.
|
|
141
|
-
"typedoc": "^0.26.
|
|
142
|
-
"typedoc-plugin-markdown": "^4.2.
|
|
136
|
+
"svelte": "^5.0.0",
|
|
137
|
+
"svelte-check": "^4.0.0",
|
|
138
|
+
"svelte2tsx": "^0.7.22",
|
|
139
|
+
"typedoc": "^0.26.10",
|
|
140
|
+
"typedoc-plugin-markdown": "^4.2.9",
|
|
143
141
|
"typedoc-plugin-vue": "^1.2.0",
|
|
144
|
-
"typescript": "^5.
|
|
145
|
-
"virtua": "^0.
|
|
142
|
+
"typescript": "^5.6.3",
|
|
143
|
+
"virtua": "^0.35.1",
|
|
146
144
|
"vite": "5.1.8",
|
|
147
145
|
"vite-plugin-solid": "^2.10.2",
|
|
148
|
-
"vitest": "^2.
|
|
146
|
+
"vitest": "^2.1.3",
|
|
149
147
|
"vue": "^3.4.34",
|
|
150
148
|
"vue-eslint-parser": "^9.4.3",
|
|
151
|
-
"wait-on": "^
|
|
149
|
+
"wait-on": "^8.0.1"
|
|
152
150
|
},
|
|
153
151
|
"peerDependencies": {
|
|
154
152
|
"react": ">=16.14.0",
|
|
155
153
|
"react-dom": ">=16.14.0",
|
|
156
154
|
"solid-js": ">=1.0",
|
|
157
|
-
"svelte": ">=
|
|
155
|
+
"svelte": ">=5.0",
|
|
158
156
|
"vue": ">=3.2"
|
|
159
157
|
},
|
|
160
158
|
"peerDependenciesMeta": {
|