flexitablesort 1.0.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/LICENSE +21 -0
- package/README.md +124 -0
- package/dist/Components/BodyRow.d.ts +9 -0
- package/dist/Components/ColumnCell.d.ts +10 -0
- package/dist/Components/DragHandle.d.ts +8 -0
- package/dist/Components/Draggable.d.ts +11 -0
- package/dist/Components/RowCell.d.ts +12 -0
- package/dist/Components/TableBody.d.ts +8 -0
- package/dist/Components/TableContainer/index.d.ts +23 -0
- package/dist/Components/TableContainer/styles.d.ts +1 -0
- package/dist/Components/TableContainer/useTable.d.ts +89 -0
- package/dist/Components/TableHeader.d.ts +8 -0
- package/dist/Components/index.d.ts +9 -0
- package/dist/Components/utils.d.ts +3 -0
- package/dist/hooks/useAutoScroll.d.ts +14 -0
- package/dist/hooks/useDragContextEvents.d.ts +4 -0
- package/dist/index.cjs.js +15 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +885 -0
- package/package.json +73 -0
package/package.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "flexitablesort",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Sortable table with draggable rows and columns",
|
|
6
|
+
"main": "dist/index.cjs.js",
|
|
7
|
+
"module": "dist/index.es.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/index.es.js",
|
|
12
|
+
"require": "./dist/index.cjs.js",
|
|
13
|
+
"types": "./dist/index.d.ts"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsc -b && vite build",
|
|
22
|
+
"dev": "vite --config vite.config.docs.ts",
|
|
23
|
+
"build:docs": "vite build --config vite.config.docs.ts",
|
|
24
|
+
"lint": "eslint ."
|
|
25
|
+
},
|
|
26
|
+
"keywords": [
|
|
27
|
+
"react",
|
|
28
|
+
"table",
|
|
29
|
+
"sortable",
|
|
30
|
+
"draggable",
|
|
31
|
+
"draggable table",
|
|
32
|
+
"draggable rows",
|
|
33
|
+
"draggable columns",
|
|
34
|
+
"react table",
|
|
35
|
+
"data grid",
|
|
36
|
+
"row reordering",
|
|
37
|
+
"column reordering"
|
|
38
|
+
],
|
|
39
|
+
"author": "Sami Odeh",
|
|
40
|
+
"license": "MIT",
|
|
41
|
+
"repository": {
|
|
42
|
+
"type": "git",
|
|
43
|
+
"url": "git+https://github.com/samiodeh1337/sortable-table.git"
|
|
44
|
+
},
|
|
45
|
+
"homepage": "https://github.com/samiodeh1337/sortable-table.git#readme",
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"react": ">=17.0.0",
|
|
48
|
+
"react-dom": ">=17.0.0"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"classnames": "^2.5.1",
|
|
52
|
+
"styled-components": "^6.3.11"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@tanstack/react-virtual": "^3.13.22",
|
|
56
|
+
"highlight.js": "^11.11.1",
|
|
57
|
+
"@eslint/js": "^9.39.4",
|
|
58
|
+
"@types/node": "^24.12.0",
|
|
59
|
+
"@types/react": "^19.2.14",
|
|
60
|
+
"@types/react-dom": "^19.2.3",
|
|
61
|
+
"@vitejs/plugin-react": "^6.0.0",
|
|
62
|
+
"eslint": "^9.39.4",
|
|
63
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
64
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
65
|
+
"globals": "^17.4.0",
|
|
66
|
+
"react": "^19.2.4",
|
|
67
|
+
"react-dom": "^19.2.4",
|
|
68
|
+
"typescript": "~5.9.3",
|
|
69
|
+
"typescript-eslint": "^8.56.1",
|
|
70
|
+
"vite": "^8.0.0",
|
|
71
|
+
"vite-plugin-dts": "^4.5.4"
|
|
72
|
+
}
|
|
73
|
+
}
|