virtua 0.17.6 → 0.18.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 +46 -14
- 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/vue/ListItem.d.ts +1 -0
- package/lib/vue/VList.d.ts +120 -0
- package/lib/vue/index.d.ts +1 -0
- package/lib/vue/index.js +2 -0
- package/lib/vue/index.js.map +1 -0
- package/lib/vue/index.mjs +2 -0
- package/lib/vue/index.mjs.map +1 -0
- package/package.json +33 -9
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "virtua",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "A zero-config, fast and small (~3kB) virtual list (and grid) component for React.",
|
|
3
|
+
"version": "0.18.0",
|
|
4
|
+
"description": "A zero-config, fast and small (~3kB) virtual list (and grid) component for React and Vue.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.mjs",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
@@ -11,6 +11,11 @@
|
|
|
11
11
|
"types": "./lib/index.d.ts",
|
|
12
12
|
"import": "./lib/index.mjs",
|
|
13
13
|
"default": "./lib/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./vue": {
|
|
16
|
+
"types": "./lib/vue/index.d.ts",
|
|
17
|
+
"import": "./lib/vue/index.mjs",
|
|
18
|
+
"default": "./lib/vue/index.js"
|
|
14
19
|
}
|
|
15
20
|
},
|
|
16
21
|
"files": [
|
|
@@ -24,11 +29,13 @@
|
|
|
24
29
|
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
|
|
25
30
|
"storybook": "storybook dev -p 6006",
|
|
26
31
|
"storybook:rtl": "STORYBOOK_RTL=1 npm run storybook",
|
|
32
|
+
"storybook:vue": "STORYBOOK_VUE=1 storybook dev -p 6006",
|
|
27
33
|
"storybook:build": "storybook build",
|
|
28
34
|
"storybook:test": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npm run storybook -- --no-open\" \"wait-on tcp:6006 && test-storybook\"",
|
|
29
35
|
"e2e": "npx playwright test",
|
|
30
36
|
"typedoc": "typedoc",
|
|
31
37
|
"size": "size-limit",
|
|
38
|
+
"prepare": "patch-package",
|
|
32
39
|
"prepublishOnly": "npm run typedoc && rimraf lib && npm run build"
|
|
33
40
|
},
|
|
34
41
|
"devDependencies": {
|
|
@@ -51,18 +58,22 @@
|
|
|
51
58
|
"@storybook/react-vite": "^7.6.4",
|
|
52
59
|
"@storybook/source-loader": "7.6.4",
|
|
53
60
|
"@storybook/test-runner": "0.16.0",
|
|
61
|
+
"@storybook/vue3": "7.6.4",
|
|
62
|
+
"@storybook/vue3-vite": "^7.6.4",
|
|
54
63
|
"@tanstack/react-virtual": "3.0.1",
|
|
55
64
|
"@testing-library/react": "14.1.2",
|
|
65
|
+
"@testing-library/vue": "8.0.1",
|
|
56
66
|
"@types/react": "18.2.43",
|
|
57
67
|
"@types/react-beautiful-dnd": "13.1.7",
|
|
58
68
|
"@types/react-virtualized": "9.21.28",
|
|
59
69
|
"@types/react-window": "1.8.8",
|
|
60
|
-
"@typescript-eslint/parser": "6.
|
|
70
|
+
"@typescript-eslint/parser": "6.14.0",
|
|
61
71
|
"concurrently": "8.2.2",
|
|
62
|
-
"eslint": "8.
|
|
72
|
+
"eslint": "8.56.0",
|
|
63
73
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
64
74
|
"jest": "29.7.0",
|
|
65
75
|
"jest-environment-jsdom": "29.7.0",
|
|
76
|
+
"patch-package": "8.0.0",
|
|
66
77
|
"re-resizable": "6.9.11",
|
|
67
78
|
"react": "18.2.0",
|
|
68
79
|
"react-beautiful-dnd": "13.1.1",
|
|
@@ -70,13 +81,12 @@
|
|
|
70
81
|
"react-dom": "18.2.0",
|
|
71
82
|
"react-is": "18.2.0",
|
|
72
83
|
"react-merge-refs": "2.1.1",
|
|
73
|
-
"react-pull-to-refresh": "2.0.1",
|
|
74
84
|
"react-select": "5.8.0",
|
|
75
85
|
"react-virtualized": "9.22.5",
|
|
76
86
|
"react-virtuoso": "4.6.2",
|
|
77
87
|
"react-window": "1.8.10",
|
|
78
88
|
"rimraf": "5.0.5",
|
|
79
|
-
"rollup": "4.
|
|
89
|
+
"rollup": "4.9.1",
|
|
80
90
|
"rollup-plugin-banner2": "1.2.2",
|
|
81
91
|
"size-limit": "^11.0.1",
|
|
82
92
|
"storybook": "^7.6.4",
|
|
@@ -84,13 +94,26 @@
|
|
|
84
94
|
"typedoc": "0.25.3",
|
|
85
95
|
"typedoc-plugin-markdown": "3.17.1",
|
|
86
96
|
"typescript": "5.3.2",
|
|
87
|
-
"virtua": "^0.17.
|
|
88
|
-
"vite": "5.0.
|
|
97
|
+
"virtua": "^0.17.6",
|
|
98
|
+
"vite": "5.0.10",
|
|
99
|
+
"vue": "3.3.12",
|
|
89
100
|
"wait-on": "7.2.0"
|
|
90
101
|
},
|
|
91
102
|
"peerDependencies": {
|
|
92
103
|
"react": ">=16.14.0",
|
|
93
|
-
"react-dom": ">=16.14.0"
|
|
104
|
+
"react-dom": ">=16.14.0",
|
|
105
|
+
"vue": ">=3.2"
|
|
106
|
+
},
|
|
107
|
+
"peerDependenciesMeta": {
|
|
108
|
+
"react": {
|
|
109
|
+
"optional": true
|
|
110
|
+
},
|
|
111
|
+
"react-dom": {
|
|
112
|
+
"optional": true
|
|
113
|
+
},
|
|
114
|
+
"vue": {
|
|
115
|
+
"optional": true
|
|
116
|
+
}
|
|
94
117
|
},
|
|
95
118
|
"repository": {
|
|
96
119
|
"type": "git",
|
|
@@ -99,6 +122,7 @@
|
|
|
99
122
|
"keywords": [
|
|
100
123
|
"react",
|
|
101
124
|
"react-component",
|
|
125
|
+
"vue",
|
|
102
126
|
"ui",
|
|
103
127
|
"headless",
|
|
104
128
|
"list",
|