@syook/react-tabulous 4.0.0-beta-0.2 → 4.0.0-beta-0.4
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/lib/index.esm.js +3 -3
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/lib/types/reactTabulous/helpers/getColumnsAndSearchKeys.d.ts +2 -0
- package/lib/types/reactTabulous/helpers/isEqual.d.ts +2 -0
- package/lib/types/reactTabulous/hooks/useGridRootProps.d.ts +1 -0
- package/lib/types/reactTabulous/models/props/dataGridProps.d.ts +5 -0
- package/package.json +107 -107
|
@@ -37,6 +37,7 @@ export declare const DATA_GRID_PROPS_DEFAULT_VALUES: {
|
|
|
37
37
|
bulkActions: string[];
|
|
38
38
|
noRowsOverlay: import("react/jsx-runtime").JSX.Element;
|
|
39
39
|
children: null;
|
|
40
|
+
isRealTimeDataUpdate: boolean;
|
|
40
41
|
onBulkActionClick: () => void;
|
|
41
42
|
fetchOnPageChange: null;
|
|
42
43
|
rowsCount: null;
|
|
@@ -109,6 +109,11 @@ export interface DataGridPropsWithDefaultValues {
|
|
|
109
109
|
checkboxSelection: boolean;
|
|
110
110
|
selectedRows: GridRowId[];
|
|
111
111
|
paginatedSelectedRows: GridRowId[];
|
|
112
|
+
/**
|
|
113
|
+
* If `true`, the columns will be updated with every props - Use it if the data update is real time.
|
|
114
|
+
* @default false
|
|
115
|
+
*/
|
|
116
|
+
isRealTimeDataUpdate: boolean;
|
|
112
117
|
/**
|
|
113
118
|
* Bulk actions to be displayed in the toolbar.
|
|
114
119
|
* @default []
|
package/package.json
CHANGED
|
@@ -1,109 +1,109 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
2
|
+
"name": "@syook/react-tabulous",
|
|
3
|
+
"version": "4.0.0-beta-0.4",
|
|
4
|
+
"description": "Terrifically fabulous React Table",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"module": "lib/index.esm.js",
|
|
7
|
+
"types": "lib/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"README.md",
|
|
10
|
+
"lib"
|
|
11
|
+
],
|
|
12
|
+
"keywords": [
|
|
13
|
+
"syook",
|
|
14
|
+
"table",
|
|
15
|
+
"react"
|
|
16
|
+
],
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/syook/react-tabulous.git"
|
|
20
|
+
},
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public"
|
|
23
|
+
},
|
|
24
|
+
"author": "Syook",
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/syook/react-tabulous/issues"
|
|
27
|
+
},
|
|
28
|
+
"lint-staged": {
|
|
29
|
+
"*.{js,jsx,json,css}": [
|
|
30
|
+
"npm run prettier:fix"
|
|
31
|
+
],
|
|
32
|
+
"*.{js, jsx, ts, tsx}": [
|
|
33
|
+
"npm run lint:fix"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"prepare": "husky install",
|
|
38
|
+
"start": "react-scripts start",
|
|
39
|
+
"build": "react-scripts build",
|
|
40
|
+
"test": "react-scripts test",
|
|
41
|
+
"coverage": "npm test -- --coverage --watchAll --collectCoverageFrom='!src/data/**/*.{ts,tsx}'",
|
|
42
|
+
"eject": "react-scripts eject",
|
|
43
|
+
"lint": "eslint --ignore-path .eslintignore ./src",
|
|
44
|
+
"lint:fix": "npm run lint --fix",
|
|
45
|
+
"prettier": "prettier . -c --config .prettierrc",
|
|
46
|
+
"prettier:fix": "prettier . -c --config .prettierrc --write",
|
|
47
|
+
"rollup": "rm -rf lib && rollup -c",
|
|
48
|
+
"build:dev": "npm run rollup && npm pack",
|
|
49
|
+
"npm-publish": "yarn install && npm run build:dev && npm publish"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@popperjs/core": "2.11.7"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@emotion/react": "11.11.0",
|
|
56
|
+
"@emotion/styled": "11.11.0",
|
|
57
|
+
"@rollup/plugin-babel": "6.0.3",
|
|
58
|
+
"@rollup/plugin-commonjs": "^25.0.0",
|
|
59
|
+
"@rollup/plugin-image": "3.0.2",
|
|
60
|
+
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
61
|
+
"@rollup/plugin-terser": "0.4.3",
|
|
62
|
+
"@rollup/plugin-typescript": "11.1.1",
|
|
63
|
+
"@testing-library/jest-dom": "^5.16.5",
|
|
64
|
+
"@testing-library/react": "^14.0.0",
|
|
65
|
+
"@testing-library/user-event": "^14.4.3",
|
|
66
|
+
"@types/jest": "^29.5.1",
|
|
67
|
+
"@types/node": "^20.2.1",
|
|
68
|
+
"@types/react": "^18.2.6",
|
|
69
|
+
"@types/react-dom": "^18.2.4",
|
|
70
|
+
"@typescript-eslint/eslint-plugin": "^5.59.6",
|
|
71
|
+
"eslint": "^8.40.0",
|
|
72
|
+
"eslint-config-prettier": "8.8.0",
|
|
73
|
+
"eslint-config-standard-with-typescript": "^34.0.1",
|
|
74
|
+
"eslint-plugin-import": "^2.27.5",
|
|
75
|
+
"eslint-plugin-n": "^16.0.0",
|
|
76
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
77
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
78
|
+
"eslint-plugin-react": "^7.32.2",
|
|
79
|
+
"eslint-plugin-react-hooks": "4.6.0",
|
|
80
|
+
"husky": "^8.0.3",
|
|
81
|
+
"prettier": "2.8.8",
|
|
82
|
+
"react": "^18.2.0",
|
|
83
|
+
"react-dom": "^18.2.0",
|
|
84
|
+
"react-scripts": "5.0.1",
|
|
85
|
+
"rollup": "^3.22.0",
|
|
86
|
+
"rollup-plugin-dts": "5.3.0",
|
|
87
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
88
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
89
|
+
"rollup-plugin-react-svg": "3.0.3",
|
|
90
|
+
"typescript": "^5.0.4",
|
|
91
|
+
"web-vitals": "^3.3.1"
|
|
92
|
+
},
|
|
93
|
+
"peerDependencies": {
|
|
94
|
+
"react": "^version",
|
|
95
|
+
"react-dom": "^version"
|
|
96
|
+
},
|
|
97
|
+
"browserslist": {
|
|
98
|
+
"production": [
|
|
99
|
+
">0.2%",
|
|
100
|
+
"not dead",
|
|
101
|
+
"not op_mini all"
|
|
102
|
+
],
|
|
103
|
+
"development": [
|
|
104
|
+
"last 1 chrome version",
|
|
105
|
+
"last 1 firefox version",
|
|
106
|
+
"last 1 safari version"
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
109
|
}
|