@ishibashi0112/spreadsheet-grid 0.2.0 → 0.3.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 +26 -0
- package/dist/SpreadsheetGrid.d.ts +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +823 -819
- package/dist/model/gridTypes.d.ts +2 -0
- package/package.json +90 -89
|
@@ -248,6 +248,8 @@ export type SpreadsheetGridProps<T> = {
|
|
|
248
248
|
estimateRowHeight?: number;
|
|
249
249
|
headerHeight?: number;
|
|
250
250
|
rowHeaderWidth?: number;
|
|
251
|
+
height?: number | string;
|
|
252
|
+
maxHeight?: number | string;
|
|
251
253
|
readOnly?: boolean;
|
|
252
254
|
canEditCell?: (rowIndex: number, colIndex: number, row: T, column: GridColumn<T>) => boolean;
|
|
253
255
|
enableRangeSelection?: boolean;
|
package/package.json
CHANGED
|
@@ -1,89 +1,90 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ishibashi0112/spreadsheet-grid",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "React 19 製のカスタム仮想化データグリッド。100 万行対応の仮想化・3 ペイン固定列・ソート/フィルター・クライアント/サーバーサイド行モデル対応。",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"react",
|
|
7
|
-
"react19",
|
|
8
|
-
"grid",
|
|
9
|
-
"datagrid",
|
|
10
|
-
"table",
|
|
11
|
-
"spreadsheet",
|
|
12
|
-
"virtualized",
|
|
13
|
-
"virtual-scroll",
|
|
14
|
-
"typescript",
|
|
15
|
-
"ssrm"
|
|
16
|
-
],
|
|
17
|
-
"license": "MIT",
|
|
18
|
-
"author": "Yuki Sakakibara",
|
|
19
|
-
"repository": {
|
|
20
|
-
"type": "git",
|
|
21
|
-
"url": "git+https://github.com/ishibashi0112/datasheet-grid.git"
|
|
22
|
-
},
|
|
23
|
-
"homepage": "https://github.com/ishibashi0112/datasheet-grid#readme",
|
|
24
|
-
"bugs": {
|
|
25
|
-
"url": "https://github.com/ishibashi0112/datasheet-grid/issues"
|
|
26
|
-
},
|
|
27
|
-
"type": "module",
|
|
28
|
-
"sideEffects": [
|
|
29
|
-
"**/*.css"
|
|
30
|
-
],
|
|
31
|
-
"files": [
|
|
32
|
-
"dist"
|
|
33
|
-
],
|
|
34
|
-
"main": "./dist/index.cjs",
|
|
35
|
-
"module": "./dist/index.js",
|
|
36
|
-
"types": "./dist/index.d.ts",
|
|
37
|
-
"exports": {
|
|
38
|
-
".": {
|
|
39
|
-
"types": "./dist/index.d.ts",
|
|
40
|
-
"import": "./dist/index.js",
|
|
41
|
-
"require": "./dist/index.cjs"
|
|
42
|
-
},
|
|
43
|
-
"./style.css": "./dist/style.css"
|
|
44
|
-
},
|
|
45
|
-
"engines": {
|
|
46
|
-
"node": ">=18"
|
|
47
|
-
},
|
|
48
|
-
"publishConfig": {
|
|
49
|
-
"access": "public"
|
|
50
|
-
},
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@ishibashi0112/spreadsheet-grid",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "React 19 製のカスタム仮想化データグリッド。100 万行対応の仮想化・3 ペイン固定列・ソート/フィルター・クライアント/サーバーサイド行モデル対応。",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"react",
|
|
7
|
+
"react19",
|
|
8
|
+
"grid",
|
|
9
|
+
"datagrid",
|
|
10
|
+
"table",
|
|
11
|
+
"spreadsheet",
|
|
12
|
+
"virtualized",
|
|
13
|
+
"virtual-scroll",
|
|
14
|
+
"typescript",
|
|
15
|
+
"ssrm"
|
|
16
|
+
],
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"author": "Yuki Sakakibara",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/ishibashi0112/datasheet-grid.git"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/ishibashi0112/datasheet-grid#readme",
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/ishibashi0112/datasheet-grid/issues"
|
|
26
|
+
},
|
|
27
|
+
"type": "module",
|
|
28
|
+
"sideEffects": [
|
|
29
|
+
"**/*.css"
|
|
30
|
+
],
|
|
31
|
+
"files": [
|
|
32
|
+
"dist"
|
|
33
|
+
],
|
|
34
|
+
"main": "./dist/index.cjs",
|
|
35
|
+
"module": "./dist/index.js",
|
|
36
|
+
"types": "./dist/index.d.ts",
|
|
37
|
+
"exports": {
|
|
38
|
+
".": {
|
|
39
|
+
"types": "./dist/index.d.ts",
|
|
40
|
+
"import": "./dist/index.js",
|
|
41
|
+
"require": "./dist/index.cjs"
|
|
42
|
+
},
|
|
43
|
+
"./style.css": "./dist/style.css"
|
|
44
|
+
},
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": ">=18"
|
|
47
|
+
},
|
|
48
|
+
"publishConfig": {
|
|
49
|
+
"access": "public"
|
|
50
|
+
},
|
|
51
|
+
"scripts": {
|
|
52
|
+
"dev": "vite",
|
|
53
|
+
"build": "tsc -b && vite build",
|
|
54
|
+
"build:lib": "vite build --config vite.lib.config.ts && tsc -p tsconfig.lib.json",
|
|
55
|
+
"build:types": "tsc -p tsconfig.lib.json",
|
|
56
|
+
"prepublishOnly": "npm run build:lib",
|
|
57
|
+
"lint": "eslint .",
|
|
58
|
+
"preview": "vite preview",
|
|
59
|
+
"test": "vitest run",
|
|
60
|
+
"test:watch": "vitest",
|
|
61
|
+
"typecheck:test": "tsc --noEmit -p tsconfig.vitest.json"
|
|
62
|
+
},
|
|
63
|
+
"peerDependencies": {
|
|
64
|
+
"react": "^19.0.0",
|
|
65
|
+
"react-dom": "^19.0.0"
|
|
66
|
+
},
|
|
67
|
+
"dependencies": {
|
|
68
|
+
"@tanstack/react-virtual": "^3.14.2"
|
|
69
|
+
},
|
|
70
|
+
"devDependencies": {
|
|
71
|
+
"@eslint/js": "^10.0.1",
|
|
72
|
+
"@testing-library/dom": "^10.4.1",
|
|
73
|
+
"@testing-library/react": "^16.3.2",
|
|
74
|
+
"@types/node": "^24.12.3",
|
|
75
|
+
"@types/react": "^19.2.14",
|
|
76
|
+
"@types/react-dom": "^19.2.3",
|
|
77
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
78
|
+
"eslint": "^10.3.0",
|
|
79
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
80
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
81
|
+
"globals": "^17.6.0",
|
|
82
|
+
"jsdom": "^29.1.1",
|
|
83
|
+
"react": "^19.2.6",
|
|
84
|
+
"react-dom": "^19.2.6",
|
|
85
|
+
"typescript": "~6.0.2",
|
|
86
|
+
"typescript-eslint": "^8.59.2",
|
|
87
|
+
"vite": "^8.0.12",
|
|
88
|
+
"vitest": "^4.1.9"
|
|
89
|
+
}
|
|
90
|
+
}
|