semiotic 3.1.0 → 3.1.2
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 +104 -0
- package/ai/dist/componentRegistry.js +5 -0
- package/ai/dist/mcp-server.js +378 -46
- package/ai/dist/renderHOCToSVG.js +5 -3
- package/ai/schema.json +1 -1
- package/dist/components/charts/shared/ChartError.d.ts +3 -1
- package/dist/components/charts/shared/withChartWrapper.d.ts +4 -3
- package/dist/geo.min.js +1 -1
- package/dist/geo.module.min.js +1 -1
- package/dist/network.min.js +1 -1
- package/dist/network.module.min.js +1 -1
- package/dist/ordinal.min.js +1 -1
- package/dist/ordinal.module.min.js +1 -1
- package/dist/realtime.min.js +1 -1
- package/dist/realtime.module.min.js +1 -1
- package/dist/semiotic-ai-statisticalOverlays-C1f7TYyD.js +1 -0
- package/dist/semiotic-ai.min.js +1 -1
- package/dist/semiotic-ai.module.min.js +1 -1
- package/dist/semiotic-statisticalOverlays-C1f7TYyD.js +1 -0
- package/dist/semiotic.min.js +1 -1
- package/dist/semiotic.module.min.js +1 -1
- package/dist/xy-statisticalOverlays-C1f7TYyD.js +1 -0
- package/dist/xy.min.js +1 -1
- package/dist/xy.module.min.js +1 -1
- package/package.json +50 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "semiotic",
|
|
3
|
-
"version": "3.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "3.1.2",
|
|
4
|
+
"description": "React data visualization library with built-in MCP server for AI-assisted chart generation",
|
|
5
5
|
"main": "dist/semiotic.min.js",
|
|
6
6
|
"module": "dist/semiotic.module.min.js",
|
|
7
7
|
"types": "dist/semiotic.d.ts",
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
},
|
|
70
70
|
"files": [
|
|
71
71
|
"dist/*.min.js",
|
|
72
|
+
"dist/*-statisticalOverlays-*.js",
|
|
72
73
|
"dist/**/*.d.ts",
|
|
73
74
|
"ai/schema.json",
|
|
74
75
|
"ai/system-prompt.md",
|
|
@@ -91,7 +92,7 @@
|
|
|
91
92
|
"bench:ui": "vitest bench --ui",
|
|
92
93
|
"bench:baseline": "vitest bench --run && node scripts/save-baseline.js",
|
|
93
94
|
"bench:compare": "vitest bench --run && node scripts/compare-baseline.js",
|
|
94
|
-
"serve-examples": "npm run dist && parcel serve integration-tests/index.html integration-tests/xy-examples/index.html integration-tests/ordinal-examples/index.html integration-tests/network-examples/index.html integration-tests/
|
|
95
|
+
"serve-examples": "npm run dist && parcel serve integration-tests/index.html integration-tests/xy-examples/index.html integration-tests/ordinal-examples/index.html integration-tests/network-examples/index.html integration-tests/hoc-legend-examples/index.html integration-tests/coordinated-examples/index.html integration-tests/accessibility-examples/index.html integration-tests/geo-examples/index.html integration-tests/realtime-examples/index.html integration-tests/streaming-regression-examples/index.html --dist-dir .parcel-cache/integration-tests",
|
|
95
96
|
"dist": "node scripts/build.mjs",
|
|
96
97
|
"dist:prod": "node scripts/build.mjs --production",
|
|
97
98
|
"lint": "eslint src",
|
|
@@ -109,9 +110,10 @@
|
|
|
109
110
|
"docs:api": "typedoc",
|
|
110
111
|
"docs:api:json": "typedoc --json docs/build/api/api.json",
|
|
111
112
|
"typescript": "tsc --noEmit",
|
|
113
|
+
"size": "size-limit",
|
|
112
114
|
"check:schema": "node scripts/check-schema-freshness.js",
|
|
113
115
|
"release:check": "npm run lint && npm run typescript && npm run test && npm run check:schema && node scripts/build.mjs --production && npm pack --dry-run",
|
|
114
|
-
"prepublishOnly": "npm run lint && npm run typescript && npm run test && npm run check:schema && node scripts/build.mjs --production"
|
|
116
|
+
"prepublishOnly": "npm run lint && npm run typescript && npm run test && npm run check:schema && rm -rf dist && node scripts/build.mjs --production"
|
|
115
117
|
},
|
|
116
118
|
"targets": {
|
|
117
119
|
"website": {
|
|
@@ -139,12 +141,55 @@
|
|
|
139
141
|
"contributors": [
|
|
140
142
|
"Susie Lu <susie.lu.shan@gmail.com>"
|
|
141
143
|
],
|
|
144
|
+
"keywords": [
|
|
145
|
+
"mcp",
|
|
146
|
+
"model-context-protocol",
|
|
147
|
+
"mcp-server",
|
|
148
|
+
"data-visualization",
|
|
149
|
+
"charts",
|
|
150
|
+
"react",
|
|
151
|
+
"d3",
|
|
152
|
+
"canvas",
|
|
153
|
+
"svg",
|
|
154
|
+
"streaming",
|
|
155
|
+
"network-graph",
|
|
156
|
+
"ai",
|
|
157
|
+
"llm"
|
|
158
|
+
],
|
|
142
159
|
"license": "Apache-2.0",
|
|
160
|
+
"size-limit": [
|
|
161
|
+
{
|
|
162
|
+
"path": "dist/semiotic.module.min.js",
|
|
163
|
+
"limit": "475 KB"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"path": "dist/xy.module.min.js",
|
|
167
|
+
"limit": "210 KB"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"path": "dist/ordinal.module.min.js",
|
|
171
|
+
"limit": "160 KB"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"path": "dist/network.module.min.js",
|
|
175
|
+
"limit": "160 KB"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"path": "dist/geo.module.min.js",
|
|
179
|
+
"limit": "135 KB"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"path": "dist/realtime.module.min.js",
|
|
183
|
+
"limit": "250 KB"
|
|
184
|
+
}
|
|
185
|
+
],
|
|
143
186
|
"devDependencies": {
|
|
187
|
+
"@axe-core/playwright": "^4.11.1",
|
|
144
188
|
"@parcel/transformer-inline-string": "^2.16.4",
|
|
145
189
|
"@playwright/test": "^1.17.1",
|
|
146
190
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
147
191
|
"@rollup/plugin-terser": "^1.0.0",
|
|
192
|
+
"@size-limit/file": "^11.0.0",
|
|
148
193
|
"@testing-library/jest-dom": "^6.9.1",
|
|
149
194
|
"@testing-library/react": "^14.3.0",
|
|
150
195
|
"@types/d3-array": "^3.2.0",
|
|
@@ -187,6 +232,7 @@
|
|
|
187
232
|
"rollup-plugin-typescript2": "^0.34.1",
|
|
188
233
|
"rollup-plugin-visualizer": "^7.0.0",
|
|
189
234
|
"seedrandom": "^3.0.5",
|
|
235
|
+
"size-limit": "^11.0.0",
|
|
190
236
|
"typedoc": "^0.28.17",
|
|
191
237
|
"typescript": "~5.9.3",
|
|
192
238
|
"vitest": "^4.0.18"
|