@gravity-ui/react-data-table 1.0.3
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/CHANGELOG.md +62 -0
- package/LICENSE +21 -0
- package/README.md +276 -0
- package/build/esm/lib/DataTable.d.ts +455 -0
- package/build/esm/lib/DataTable.js +838 -0
- package/build/esm/lib/DataTable.scss +273 -0
- package/build/esm/lib/constants.d.ts +11 -0
- package/build/esm/lib/constants.js +11 -0
- package/build/esm/lib/featureSupport.d.ts +1 -0
- package/build/esm/lib/featureSupport.js +7 -0
- package/build/esm/lib/height-observer.d.ts +14 -0
- package/build/esm/lib/height-observer.js +40 -0
- package/build/esm/lib/index.d.ts +4 -0
- package/build/esm/lib/index.js +4 -0
- package/build/esm/lib/types.d.ts +111 -0
- package/build/esm/lib/types.js +1 -0
- package/build/esm/lib/util.d.ts +28 -0
- package/build/esm/lib/util.js +146 -0
- package/package.json +102 -0
package/package.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@gravity-ui/react-data-table",
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "DataTable component",
|
|
5
|
+
"main": "build/esm/lib/index.js",
|
|
6
|
+
"types": "build/esm/lib/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"build/esm/lib"
|
|
9
|
+
],
|
|
10
|
+
"sideEffects": [
|
|
11
|
+
"*.scss"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"lint:js": "eslint src --ext .js,.jsx,.ts,.tsx",
|
|
15
|
+
"lint:other": "npm run prettier -- --check",
|
|
16
|
+
"lint:styles": "stylelint 'src/**/*.scss'",
|
|
17
|
+
"lint": "run-p lint:*",
|
|
18
|
+
"prettier": "prettier '**/*.{md,json,yaml,yml}'",
|
|
19
|
+
"start": "start-storybook -p 7007",
|
|
20
|
+
"build-storybook": "build-storybook -c .storybook -o storybook-static",
|
|
21
|
+
"typecheck": "npm run build:compile -- --noEmit",
|
|
22
|
+
"test": "jest",
|
|
23
|
+
"build:clean": "rm -rf build",
|
|
24
|
+
"build:compile": "tsc",
|
|
25
|
+
"build:copy": "copyfiles -u 1 \"src/**/*.scss\" build/esm",
|
|
26
|
+
"build": "npm run build:clean && npm run build:compile && npm run build:copy",
|
|
27
|
+
"prepublishOnly": "npm run build"
|
|
28
|
+
},
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "https://github.com/gravity-ui/react-data-table"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"table"
|
|
35
|
+
],
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"peerDependencies": {
|
|
38
|
+
"react": ">=16.14.0",
|
|
39
|
+
"prop-types": ">=15.8.0",
|
|
40
|
+
"bem-cn-lite": ">=4.0.0"
|
|
41
|
+
},
|
|
42
|
+
"publishConfig": {
|
|
43
|
+
"access": "public"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@commitlint/cli": "15.0.0",
|
|
47
|
+
"@commitlint/config-conventional": "15.0.0",
|
|
48
|
+
"@gravity-ui/eslint-config": "^2.0.0",
|
|
49
|
+
"@gravity-ui/prettier-config": "^1.0.1",
|
|
50
|
+
"@gravity-ui/stylelint-config": "^2.0.0",
|
|
51
|
+
"@gravity-ui/tsconfig": "^1.0.0",
|
|
52
|
+
"@gravity-ui/uikit": "^4.0.5",
|
|
53
|
+
"@storybook/addon-essentials": "6.4.9",
|
|
54
|
+
"@storybook/preset-scss": "1.0.3",
|
|
55
|
+
"@storybook/react": "6.4.9",
|
|
56
|
+
"@types/jest": "27.4.0",
|
|
57
|
+
"@types/node": "14.18.4",
|
|
58
|
+
"@types/react": "16.14.21",
|
|
59
|
+
"@types/react-dom": "16.9.14",
|
|
60
|
+
"@types/react-list": "0.8.7",
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "^5.50.0",
|
|
62
|
+
"bem-cn-lite": "4.0.0",
|
|
63
|
+
"copyfiles": "2.4.1",
|
|
64
|
+
"css-loader": "5.2.7",
|
|
65
|
+
"eslint": "8.6.0",
|
|
66
|
+
"jest": "27.4.5",
|
|
67
|
+
"nano-staged": "0.5.0",
|
|
68
|
+
"npm-run-all": "4.1.5",
|
|
69
|
+
"postcss": "8.4.5",
|
|
70
|
+
"prettier": "2.5.1",
|
|
71
|
+
"prop-types": "15.8.0",
|
|
72
|
+
"react": "16.14.0",
|
|
73
|
+
"react-dom": "16.14.0",
|
|
74
|
+
"react-router-dom": "5.3.0",
|
|
75
|
+
"sass": "1.45.2",
|
|
76
|
+
"sass-loader": "10.2.0",
|
|
77
|
+
"simple-git-hooks": "2.7.0",
|
|
78
|
+
"style-loader": "2.0.0",
|
|
79
|
+
"stylelint": "^14.16.1",
|
|
80
|
+
"ts-jest": "27.1.2",
|
|
81
|
+
"typescript": "4.5.4",
|
|
82
|
+
"webpack": "4.46.0"
|
|
83
|
+
},
|
|
84
|
+
"dependencies": {
|
|
85
|
+
"react-list": "0.8.16"
|
|
86
|
+
},
|
|
87
|
+
"nano-staged": {
|
|
88
|
+
"*.scss": [
|
|
89
|
+
"stylelint --fix --quiet"
|
|
90
|
+
],
|
|
91
|
+
"*.{js,jsx,ts,tsx}": [
|
|
92
|
+
"eslint --fix --quiet"
|
|
93
|
+
],
|
|
94
|
+
"*.{md,json,yaml,yml}": [
|
|
95
|
+
"prettier --write"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"simple-git-hooks": {
|
|
99
|
+
"pre-commit": "npx nano-staged",
|
|
100
|
+
"commit-msg": "npx commitlint --edit $1"
|
|
101
|
+
}
|
|
102
|
+
}
|