@nuvui/table 0.0.0-stage → 0.1.1
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 +57 -2
- package/dist/components/data-table/content.d.ts +67 -0
- package/dist/components/data-table/content.js +278 -0
- package/dist/components/data-table/context.d.ts +23 -0
- package/dist/components/data-table/context.js +51 -0
- package/dist/components/data-table/create-data-table-hook.d.ts +78 -0
- package/dist/components/data-table/create-data-table-hook.js +103 -0
- package/dist/components/data-table/data-table.d.ts +76 -0
- package/dist/components/data-table/data-table.js +178 -0
- package/dist/components/data-table/header.d.ts +23 -0
- package/dist/components/data-table/header.js +120 -0
- package/dist/components/data-table/index.d.ts +11 -0
- package/dist/components/data-table/index.js +10 -0
- package/dist/components/data-table/labels.d.ts +50 -0
- package/dist/components/data-table/labels.js +35 -0
- package/dist/components/data-table/pagination.d.ts +18 -0
- package/dist/components/data-table/pagination.js +126 -0
- package/dist/components/data-table/selection.d.ts +48 -0
- package/dist/components/data-table/selection.js +153 -0
- package/dist/components/data-table/toolbar.d.ts +51 -0
- package/dist/components/data-table/toolbar.js +123 -0
- package/dist/components/data-table/use-data-table-request.d.ts +44 -0
- package/dist/components/data-table/use-data-table-request.js +72 -0
- package/dist/components/table/index.d.ts +2 -0
- package/dist/components/table/index.js +2 -0
- package/dist/components/table/table.d.ts +100 -0
- package/dist/components/table/table.js +130 -0
- package/dist/css/data-table.css +278 -0
- package/dist/css/table.css +164 -0
- package/dist/full.d.ts +264 -0
- package/dist/full.js +44 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +11 -0
- package/dist/styles.css +441 -0
- package/dist/utils/cx.js +6 -0
- package/dist/utils/use-shift-click.js +32 -0
- package/dist/virtual.d.ts +42 -0
- package/dist/virtual.js +133 -0
- package/package.json +101 -3
package/package.json
CHANGED
|
@@ -1,6 +1,104 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuvui/table",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Tables and data tables for @nuvui/react, built on TanStack Table.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Nuvraxis",
|
|
7
|
+
"homepage": "https://nuvui.nuvraxis.com",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/Nuvraxis/nuvui.git",
|
|
11
|
+
"directory": "packages/table"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/Nuvraxis/nuvui/issues"
|
|
15
|
+
},
|
|
16
|
+
"type": "module",
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=20"
|
|
19
|
+
},
|
|
20
|
+
"sideEffects": [
|
|
21
|
+
"**/*.css"
|
|
22
|
+
],
|
|
23
|
+
"files": [
|
|
24
|
+
"dist"
|
|
25
|
+
],
|
|
26
|
+
"module": "./dist/index.js",
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"default": "./dist/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./data-table": {
|
|
34
|
+
"types": "./dist/components/data-table/index.d.ts",
|
|
35
|
+
"default": "./dist/components/data-table/index.js"
|
|
36
|
+
},
|
|
37
|
+
"./table": {
|
|
38
|
+
"types": "./dist/components/table/index.d.ts",
|
|
39
|
+
"default": "./dist/components/table/index.js"
|
|
40
|
+
},
|
|
41
|
+
"./full": {
|
|
42
|
+
"types": "./dist/full.d.ts",
|
|
43
|
+
"default": "./dist/full.js"
|
|
44
|
+
},
|
|
45
|
+
"./virtual": {
|
|
46
|
+
"types": "./dist/virtual.d.ts",
|
|
47
|
+
"default": "./dist/virtual.js"
|
|
48
|
+
},
|
|
49
|
+
"./styles.css": "./dist/styles.css",
|
|
50
|
+
"./css/*.css": "./dist/css/*.css",
|
|
51
|
+
"./package.json": "./package.json"
|
|
52
|
+
},
|
|
53
|
+
"peerDependencies": {
|
|
54
|
+
"@nuvui/react": "^0.1.1",
|
|
55
|
+
"@tanstack/react-table": "^9.2.6",
|
|
56
|
+
"@tanstack/react-virtual": "^3.14.13",
|
|
57
|
+
"react": "^18.2.0 || ^19.0.0",
|
|
58
|
+
"react-dom": "^18.2.0 || ^19.0.0"
|
|
59
|
+
},
|
|
60
|
+
"peerDependenciesMeta": {
|
|
61
|
+
"@tanstack/react-virtual": {
|
|
62
|
+
"optional": true
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
67
|
+
"@nuvui/react": "0.1.1",
|
|
68
|
+
"@nuvui/tooling": "0.0.0",
|
|
69
|
+
"@nuvui/typescript-config": "0.0.0",
|
|
70
|
+
"@size-limit/preset-small-lib": "14.1.0",
|
|
71
|
+
"@tanstack/react-table": "^9.2.6",
|
|
72
|
+
"@tanstack/react-virtual": "^3.14.13",
|
|
73
|
+
"@types/node": "^24.0.0",
|
|
74
|
+
"@types/react": "^19.3.0",
|
|
75
|
+
"@types/react-dom": "^19.3.0",
|
|
76
|
+
"@vitest/browser-playwright": "^5.0.3",
|
|
77
|
+
"axe-core": "^4.13.0",
|
|
78
|
+
"playwright": "1.63.0",
|
|
79
|
+
"publint": "^0.3.25",
|
|
80
|
+
"react": "^19.3.0",
|
|
81
|
+
"react-dom": "^19.3.0",
|
|
82
|
+
"sass-embedded": "^1.105.1",
|
|
83
|
+
"size-limit": "14.1.0",
|
|
84
|
+
"stylelint": "^17.16.0",
|
|
85
|
+
"tsdown": "0.23.0",
|
|
86
|
+
"typescript": "^7.0.2",
|
|
87
|
+
"vitest": "^5.0.3",
|
|
88
|
+
"vitest-browser-react": "^2.3.0"
|
|
89
|
+
},
|
|
90
|
+
"publishConfig": {
|
|
91
|
+
"access": "public",
|
|
92
|
+
"provenance": true
|
|
93
|
+
},
|
|
94
|
+
"scripts": {
|
|
95
|
+
"build": "tsdown && node scripts/check-dist.mjs",
|
|
96
|
+
"dev": "tsdown --watch src",
|
|
97
|
+
"lint": "stylelint \"src/**/*.scss\"",
|
|
98
|
+
"typecheck": "tsc --noEmit",
|
|
99
|
+
"test": "vitest run",
|
|
100
|
+
"test:watch": "vitest",
|
|
101
|
+
"check:package": "publint && pnpm pack --out node_modules/.cache/attw/package.tgz && attw node_modules/.cache/attw/package.tgz",
|
|
102
|
+
"size": "size-limit"
|
|
103
|
+
}
|
|
6
104
|
}
|