@x12i/charts 1.0.0 → 1.1.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/README.md +514 -23
- package/dist/chunk-U3U6ZV7A.js +5040 -0
- package/dist/chunk-U3U6ZV7A.js.map +1 -0
- package/dist/echarts-option-DHFfEvN1.d.ts +1251 -0
- package/dist/index.d.ts +262 -154
- package/dist/index.js +537 -27
- package/dist/index.js.map +1 -1
- package/dist/react.d.ts +251 -0
- package/dist/react.js +1271 -0
- package/dist/react.js.map +1 -0
- package/dist/styles.css +821 -0
- package/package.json +64 -5
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@x12i/charts",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "Charts for the Unified UI Kit: one JSON ChartSpec, a token-themed SVG renderer, an optional ECharts canvas renderer for large data, and accessible text alternatives.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
"url": "https://github.com/x12i/unified-ui-kit/issues"
|
|
14
14
|
},
|
|
15
15
|
"type": "module",
|
|
16
|
-
"sideEffects":
|
|
16
|
+
"sideEffects": [
|
|
17
|
+
"*.css"
|
|
18
|
+
],
|
|
17
19
|
"files": [
|
|
18
20
|
"dist",
|
|
19
21
|
"README.md"
|
|
@@ -23,15 +25,72 @@
|
|
|
23
25
|
"types": "./dist/index.d.ts",
|
|
24
26
|
"default": "./dist/index.js"
|
|
25
27
|
},
|
|
28
|
+
"./react": {
|
|
29
|
+
"types": "./dist/react.d.ts",
|
|
30
|
+
"default": "./dist/react.js"
|
|
31
|
+
},
|
|
32
|
+
"./styles.css": "./dist/styles.css",
|
|
26
33
|
"./package.json": "./package.json"
|
|
27
34
|
},
|
|
28
35
|
"publishConfig": {
|
|
29
36
|
"access": "public"
|
|
30
37
|
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@x12i/tokens": "^1.1.0",
|
|
40
|
+
"d3-array": "^3.2.5",
|
|
41
|
+
"d3-format": "^3.1.3",
|
|
42
|
+
"d3-scale": "^4.0.3",
|
|
43
|
+
"d3-shape": "^3.2.1",
|
|
44
|
+
"d3-time": "^3.1.1",
|
|
45
|
+
"d3-time-format": "^4.1.1"
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"@x12i/ui": "^1.1.0",
|
|
49
|
+
"echarts": "^6.0.0",
|
|
50
|
+
"react": "^19.0.0",
|
|
51
|
+
"react-dom": "^19.0.0"
|
|
52
|
+
},
|
|
53
|
+
"peerDependenciesMeta": {
|
|
54
|
+
"echarts": {
|
|
55
|
+
"optional": true
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@testing-library/jest-dom": "^7.0.1",
|
|
60
|
+
"@testing-library/react": "^16.3.3",
|
|
61
|
+
"@testing-library/user-event": "^14.6.8",
|
|
62
|
+
"@types/d3-array": "^3.2.2",
|
|
63
|
+
"@types/d3-format": "^3.0.4",
|
|
64
|
+
"@types/d3-scale": "^4.0.9",
|
|
65
|
+
"@types/d3-shape": "^3.2.0",
|
|
66
|
+
"@types/d3-time": "^3.0.4",
|
|
67
|
+
"@types/d3-time-format": "^4.0.3",
|
|
68
|
+
"@types/node": "^24.0.0",
|
|
69
|
+
"@types/react": "^19.3.0",
|
|
70
|
+
"@types/react-dom": "^19.3.0",
|
|
71
|
+
"@vitejs/plugin-react": "^6.2.1",
|
|
72
|
+
"@x12i/themes": "^1.0.0",
|
|
73
|
+
"@x12i/ui": "^1.1.0",
|
|
74
|
+
"echarts": "^6.1.0",
|
|
75
|
+
"jsdom": "^30.1.3",
|
|
76
|
+
"react": "^19.3.1",
|
|
77
|
+
"react-dom": "^19.3.1",
|
|
78
|
+
"vite": "^8.3.6",
|
|
79
|
+
"vitest-axe": "^0.1.0"
|
|
80
|
+
},
|
|
81
|
+
"keywords": [
|
|
82
|
+
"react",
|
|
83
|
+
"charts",
|
|
84
|
+
"svg",
|
|
85
|
+
"accessibility",
|
|
86
|
+
"d3",
|
|
87
|
+
"echarts",
|
|
88
|
+
"design-system"
|
|
89
|
+
],
|
|
31
90
|
"scripts": {
|
|
32
|
-
"build": "tsup",
|
|
91
|
+
"build": "tsup && node scripts/copy-css.mjs",
|
|
33
92
|
"typecheck": "tsc --noEmit",
|
|
34
93
|
"lint": "eslint .",
|
|
35
|
-
"test": "vitest run
|
|
94
|
+
"test": "vitest run"
|
|
36
95
|
}
|
|
37
96
|
}
|