@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.
@@ -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.2.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
- "peerDependencies": {
52
- "react": "^19.0.0",
53
- "react-dom": "^19.0.0"
54
- },
55
- "dependencies": {
56
- "@tanstack/react-virtual": "^3.14.2"
57
- },
58
- "devDependencies": {
59
- "@eslint/js": "^10.0.1",
60
- "@testing-library/dom": "^10.4.1",
61
- "@testing-library/react": "^16.3.2",
62
- "@types/node": "^24.12.3",
63
- "@types/react": "^19.2.14",
64
- "@types/react-dom": "^19.2.3",
65
- "@vitejs/plugin-react": "^6.0.1",
66
- "eslint": "^10.3.0",
67
- "eslint-plugin-react-hooks": "^7.1.1",
68
- "eslint-plugin-react-refresh": "^0.5.2",
69
- "globals": "^17.6.0",
70
- "jsdom": "^29.1.1",
71
- "react": "^19.2.6",
72
- "react-dom": "^19.2.6",
73
- "typescript": "~6.0.2",
74
- "typescript-eslint": "^8.59.2",
75
- "vite": "^8.0.12",
76
- "vitest": "^4.1.9"
77
- },
78
- "scripts": {
79
- "dev": "vite",
80
- "build": "tsc -b && vite build",
81
- "build:lib": "vite build --config vite.lib.config.ts && tsc -p tsconfig.lib.json",
82
- "build:types": "tsc -p tsconfig.lib.json",
83
- "lint": "eslint .",
84
- "preview": "vite preview",
85
- "test": "vitest run",
86
- "test:watch": "vitest",
87
- "typecheck:test": "tsc --noEmit -p tsconfig.vitest.json"
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
+ }