@nuvui/charts 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 +75 -2
- package/dist/components/chart/chart-container.cjs +62 -0
- package/dist/components/chart/chart-container.d.cts +44 -0
- package/dist/components/chart/chart-container.d.ts +44 -0
- package/dist/components/chart/chart-container.js +62 -0
- package/dist/components/chart/chart-legend.cjs +55 -0
- package/dist/components/chart/chart-legend.d.cts +29 -0
- package/dist/components/chart/chart-legend.d.ts +29 -0
- package/dist/components/chart/chart-legend.js +54 -0
- package/dist/components/chart/chart-table.cjs +42 -0
- package/dist/components/chart/chart-table.d.cts +41 -0
- package/dist/components/chart/chart-table.d.ts +41 -0
- package/dist/components/chart/chart-table.js +42 -0
- package/dist/components/chart/chart-tooltip.cjs +99 -0
- package/dist/components/chart/chart-tooltip.d.cts +41 -0
- package/dist/components/chart/chart-tooltip.d.ts +41 -0
- package/dist/components/chart/chart-tooltip.js +97 -0
- package/dist/components/chart/config.cjs +81 -0
- package/dist/components/chart/config.d.cts +45 -0
- package/dist/components/chart/config.d.ts +45 -0
- package/dist/components/chart/config.js +75 -0
- package/dist/components/chart/context.cjs +20 -0
- package/dist/components/chart/context.d.cts +6 -0
- package/dist/components/chart/context.d.ts +6 -0
- package/dist/components/chart/context.js +18 -0
- package/dist/components/chart/index.cjs +15 -0
- package/dist/components/chart/index.d.cts +8 -0
- package/dist/components/chart/index.d.ts +8 -0
- package/dist/components/chart/index.js +6 -0
- package/dist/components/chart/patterns.cjs +81 -0
- package/dist/components/chart/patterns.js +81 -0
- package/dist/components/chart/swatch.cjs +34 -0
- package/dist/components/chart/swatch.d.cts +7 -0
- package/dist/components/chart/swatch.d.ts +7 -0
- package/dist/components/chart/swatch.js +34 -0
- package/dist/css/chart.css +199 -0
- package/dist/index.cjs +15 -0
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +6 -0
- package/dist/styles.css +199 -0
- package/dist/utils/cx.cjs +6 -0
- package/dist/utils/cx.js +6 -0
- package/package.json +96 -3
package/dist/utils/cx.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,99 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuvui/charts",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Charts for @nuvui/react, built on Recharts.",
|
|
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/charts"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/Nuvraxis/nuvui/issues"
|
|
15
|
+
},
|
|
16
|
+
"type": "module",
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=18"
|
|
19
|
+
},
|
|
20
|
+
"sideEffects": [
|
|
21
|
+
"**/*.css"
|
|
22
|
+
],
|
|
23
|
+
"files": [
|
|
24
|
+
"dist"
|
|
25
|
+
],
|
|
26
|
+
"main": "./dist/index.cjs",
|
|
27
|
+
"module": "./dist/index.js",
|
|
28
|
+
"types": "./dist/index.d.cts",
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"import": {
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"default": "./dist/index.js"
|
|
34
|
+
},
|
|
35
|
+
"require": {
|
|
36
|
+
"types": "./dist/index.d.cts",
|
|
37
|
+
"default": "./dist/index.cjs"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"./chart": {
|
|
41
|
+
"import": {
|
|
42
|
+
"types": "./dist/components/chart/index.d.ts",
|
|
43
|
+
"default": "./dist/components/chart/index.js"
|
|
44
|
+
},
|
|
45
|
+
"require": {
|
|
46
|
+
"types": "./dist/components/chart/index.d.cts",
|
|
47
|
+
"default": "./dist/components/chart/index.cjs"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"./styles.css": "./dist/styles.css",
|
|
51
|
+
"./css/*.css": "./dist/css/*.css",
|
|
52
|
+
"./package.json": "./package.json"
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"@nuvui/react": "^0.1.1",
|
|
56
|
+
"react": "^18.2.0 || ^19.0.0",
|
|
57
|
+
"react-dom": "^18.2.0 || ^19.0.0",
|
|
58
|
+
"recharts": "^3.10.1"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
62
|
+
"@nuvui/react": "0.1.1",
|
|
63
|
+
"@nuvui/tooling": "0.0.0",
|
|
64
|
+
"@nuvui/typescript-config": "0.0.0",
|
|
65
|
+
"@size-limit/preset-small-lib": "14.1.0",
|
|
66
|
+
"@types/node": "^24.0.0",
|
|
67
|
+
"@types/react": "^19.3.0",
|
|
68
|
+
"@types/react-dom": "^19.3.0",
|
|
69
|
+
"@vitest/browser-playwright": "^5.0.3",
|
|
70
|
+
"axe-core": "^4.13.0",
|
|
71
|
+
"playwright": "1.63.0",
|
|
72
|
+
"publint": "^0.3.25",
|
|
73
|
+
"react": "^19.3.0",
|
|
74
|
+
"react-dom": "^19.3.0",
|
|
75
|
+
"react-is": "^19.3.0",
|
|
76
|
+
"recharts": "^3.10.1",
|
|
77
|
+
"sass-embedded": "^1.105.1",
|
|
78
|
+
"size-limit": "14.1.0",
|
|
79
|
+
"stylelint": "^17.16.0",
|
|
80
|
+
"tsdown": "0.23.0",
|
|
81
|
+
"typescript": "^7.0.2",
|
|
82
|
+
"vitest": "^5.0.3",
|
|
83
|
+
"vitest-browser-react": "^2.3.0"
|
|
84
|
+
},
|
|
85
|
+
"publishConfig": {
|
|
86
|
+
"access": "public",
|
|
87
|
+
"provenance": true
|
|
88
|
+
},
|
|
89
|
+
"scripts": {
|
|
90
|
+
"build": "tsdown && node scripts/check-dist.mjs",
|
|
91
|
+
"dev": "tsdown --watch src",
|
|
92
|
+
"lint": "stylelint \"src/**/*.scss\"",
|
|
93
|
+
"typecheck": "tsc --noEmit",
|
|
94
|
+
"test": "vitest run",
|
|
95
|
+
"test:watch": "vitest",
|
|
96
|
+
"check:package": "publint && pnpm pack --out node_modules/.cache/attw/package.tgz && attw node_modules/.cache/attw/package.tgz",
|
|
97
|
+
"size": "size-limit"
|
|
98
|
+
}
|
|
6
99
|
}
|