semiotic 3.2.0 → 3.2.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/CLAUDE.md +50 -8
- package/README.md +11 -11
- package/ai/dist/mcp-server.js +31925 -528
- package/ai/examples.md +91 -0
- package/ai/schema.json +235 -9
- package/ai/system-prompt.md +12 -4
- package/dist/components/ChartContainer.d.ts +2 -0
- package/dist/components/DataSummaryContext.d.ts +12 -0
- package/dist/components/Tooltip/FlippingTooltip.d.ts +34 -0
- package/dist/components/charts/index.d.ts +4 -0
- package/dist/components/charts/ordinal/BarChart.d.ts +3 -1
- package/dist/components/charts/ordinal/BoxPlot.d.ts +3 -1
- package/dist/components/charts/ordinal/DonutChart.d.ts +0 -1
- package/dist/components/charts/ordinal/DotPlot.d.ts +3 -1
- package/dist/components/charts/ordinal/FunnelChart.d.ts +3 -1
- package/dist/components/charts/ordinal/GroupedBarChart.d.ts +3 -1
- package/dist/components/charts/ordinal/Histogram.d.ts +16 -2
- package/dist/components/charts/ordinal/LikertChart.d.ts +94 -0
- package/dist/components/charts/ordinal/PieChart.d.ts +0 -1
- package/dist/components/charts/ordinal/RidgelinePlot.d.ts +11 -7
- package/dist/components/charts/ordinal/StackedBarChart.d.ts +3 -1
- package/dist/components/charts/ordinal/SwarmPlot.d.ts +14 -1
- package/dist/components/charts/ordinal/SwimlaneChart.d.ts +65 -0
- package/dist/components/charts/ordinal/ViolinPlot.d.ts +16 -2
- package/dist/components/charts/realtime/RealtimeHistogram.d.ts +20 -0
- package/dist/components/charts/shared/annotationResolvers.d.ts +28 -0
- package/dist/components/charts/shared/hooks.d.ts +23 -2
- package/dist/components/charts/shared/selectionUtils.d.ts +5 -1
- package/dist/components/charts/shared/statsTooltip.d.ts +11 -0
- package/dist/components/charts/shared/types.d.ts +22 -1
- package/dist/components/charts/shared/useChartSetup.d.ts +12 -2
- package/dist/components/charts/shared/useLikertAggregation.d.ts +51 -0
- package/dist/components/charts/shared/useOrdinalBrush.d.ts +28 -0
- package/dist/components/charts/shared/useOrdinalStreaming.d.ts +54 -0
- package/dist/components/charts/shared/useStreamingLegend.d.ts +2 -2
- package/dist/components/charts/shared/validateProps.d.ts +2 -2
- package/dist/components/charts/shared/validationMap.d.ts +12 -0
- package/dist/components/charts/xy/AreaChart.d.ts +11 -0
- package/dist/components/charts/xy/MinimapChart.d.ts +1 -1
- package/dist/components/charts/xy/StackedAreaChart.d.ts +11 -0
- package/dist/components/realtime/types.d.ts +4 -0
- package/dist/components/semiotic-ai.d.ts +1 -0
- package/dist/components/semiotic-ordinal.d.ts +2 -0
- package/dist/components/semiotic-themes.d.ts +16 -0
- package/dist/components/semiotic-utils.d.ts +30 -0
- package/dist/components/semiotic.d.ts +4 -4
- package/dist/components/store/LinkedCrosshairStore.d.ts +11 -0
- package/dist/components/store/useSelection.d.ts +1 -0
- package/dist/components/stream/AccessibleDataTable.d.ts +28 -6
- package/dist/components/stream/FocusRing.d.ts +33 -0
- package/dist/components/stream/OrdinalBrushOverlay.d.ts +43 -0
- package/dist/components/stream/OrdinalPipelineStore.d.ts +16 -0
- package/dist/components/stream/OrdinalSVGOverlay.d.ts +1 -1
- package/dist/components/stream/PipelineStore.d.ts +5 -47
- package/dist/components/stream/SVGOverlay.d.ts +4 -0
- package/dist/components/stream/SceneGraph.d.ts +6 -1
- package/dist/components/stream/XYBrushOverlay.d.ts +47 -0
- package/dist/components/stream/devDataAccessWarning.d.ts +13 -0
- package/dist/components/stream/geoTypes.d.ts +5 -1
- package/dist/components/stream/keyboardNav.d.ts +85 -9
- package/dist/components/stream/layouts/hierarchySceneBuilders.d.ts +35 -0
- package/dist/components/stream/layouts/hierarchyUtils.d.ts +25 -0
- package/dist/components/stream/networkTypes.d.ts +5 -1
- package/dist/components/stream/ordinalSceneBuilders/swimlaneScene.d.ts +12 -0
- package/dist/components/stream/ordinalTypes.d.ts +15 -3
- package/dist/components/stream/pipelineDecay.d.ts +20 -0
- package/dist/components/stream/pipelinePulse.d.ts +24 -0
- package/dist/components/stream/pipelineTransitions.d.ts +59 -0
- package/dist/components/stream/renderers/pointCanvasRenderer.d.ts +2 -1
- package/dist/components/stream/types.d.ts +19 -1
- package/dist/components/stream/useMediaPreferences.d.ts +11 -0
- package/dist/components/stream/xySceneBuilders/areaScene.d.ts +13 -0
- package/dist/components/stream/xySceneBuilders/barScene.d.ts +18 -0
- package/dist/components/stream/xySceneBuilders/boundsScene.d.ts +8 -0
- package/dist/components/stream/xySceneBuilders/candlestickScene.d.ts +10 -0
- package/dist/components/stream/xySceneBuilders/emitPointNodes.d.ts +13 -0
- package/dist/components/stream/xySceneBuilders/heatmapScene.d.ts +3 -0
- package/dist/components/stream/xySceneBuilders/lineScene.d.ts +12 -0
- package/dist/components/stream/xySceneBuilders/pointScene.d.ts +12 -0
- package/dist/components/stream/xySceneBuilders/swarmScene.d.ts +10 -0
- package/dist/components/stream/xySceneBuilders/types.d.ts +93 -0
- package/dist/components/stream/xySceneBuilders/waterfallScene.d.ts +12 -0
- 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.d.ts +1 -0
- package/dist/semiotic-ai.min.js +1 -1
- package/dist/semiotic-ai.module.min.js +1 -1
- package/dist/semiotic-ordinal.d.ts +2 -0
- package/dist/{semiotic-statisticalOverlays-D8LhSbQt.js → semiotic-statisticalOverlays-DGX_WWc5.js} +1 -1
- package/dist/semiotic-themes.d.ts +16 -0
- package/dist/semiotic-themes.min.js +1 -1
- package/dist/semiotic-themes.module.min.js +1 -1
- package/dist/semiotic-utils.d.ts +30 -0
- package/dist/semiotic-utils.min.js +1 -0
- package/dist/semiotic-utils.module.min.js +1 -0
- package/dist/semiotic.d.ts +4 -4
- package/dist/semiotic.min.js +1 -1
- package/dist/semiotic.module.min.js +1 -1
- package/dist/server.min.js +1 -1
- package/dist/server.module.min.js +1 -1
- package/dist/xy.min.js +1 -1
- package/dist/xy.module.min.js +1 -1
- package/package.json +19 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "semiotic",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"mcpName": "io.github.nteract/semiotic",
|
|
5
5
|
"description": "React data visualization library with built-in MCP server for AI-assisted chart generation",
|
|
6
6
|
"main": "dist/semiotic.min.js",
|
|
@@ -72,6 +72,12 @@
|
|
|
72
72
|
"require": "./dist/semiotic-themes.min.js",
|
|
73
73
|
"default": "./dist/semiotic-themes.module.min.js"
|
|
74
74
|
},
|
|
75
|
+
"./utils": {
|
|
76
|
+
"types": "./dist/semiotic-utils.d.ts",
|
|
77
|
+
"import": "./dist/semiotic-utils.module.min.js",
|
|
78
|
+
"require": "./dist/semiotic-utils.min.js",
|
|
79
|
+
"default": "./dist/semiotic-utils.module.min.js"
|
|
80
|
+
},
|
|
75
81
|
"./package.json": "./package.json"
|
|
76
82
|
},
|
|
77
83
|
"files": [
|
|
@@ -113,7 +119,7 @@
|
|
|
113
119
|
"website:start:clean": "npm run clean && npm run dist:prod && parcel serve --target website --no-cache",
|
|
114
120
|
"generate:ssr-gallery": "npx tsx scripts/ssr-gallery.tsx > docs/public/ssr-gallery.html 2>/dev/null",
|
|
115
121
|
"website:build": "npm run dist:prod && npm run docs:api:json && npm run generate:ssr-gallery && parcel build --target website && node scripts/prerender.mjs",
|
|
116
|
-
"build:mcp": "
|
|
122
|
+
"build:mcp": "esbuild ai/mcp-server.ts --bundle --platform=node --target=node18 --format=cjs --outfile=ai/dist/mcp-server.js --external:react --external:react-dom --external:semiotic --external:semiotic/ai --external:semiotic/geo --banner:js='#!/usr/bin/env node'",
|
|
117
123
|
"docs:api": "typedoc",
|
|
118
124
|
"docs:api:json": "typedoc --json docs/public/api/api.json",
|
|
119
125
|
"typescript": "tsc --noEmit",
|
|
@@ -135,7 +141,8 @@
|
|
|
135
141
|
},
|
|
136
142
|
"alias": {
|
|
137
143
|
"semiotic": "./src/components/semiotic.ts",
|
|
138
|
-
"semiotic/geo": "./src/components/semiotic-geo.ts"
|
|
144
|
+
"semiotic/geo": "./src/components/semiotic-geo.ts",
|
|
145
|
+
"semiotic/utils": "./src/components/semiotic-utils.ts"
|
|
139
146
|
},
|
|
140
147
|
"repository": {
|
|
141
148
|
"type": "git",
|
|
@@ -173,31 +180,32 @@
|
|
|
173
180
|
"size-limit": [
|
|
174
181
|
{
|
|
175
182
|
"path": "dist/semiotic.module.min.js",
|
|
176
|
-
"limit": "
|
|
183
|
+
"limit": "230 KB"
|
|
177
184
|
},
|
|
178
185
|
{
|
|
179
186
|
"path": "dist/xy.module.min.js",
|
|
180
|
-
"limit": "
|
|
187
|
+
"limit": "125 KB"
|
|
181
188
|
},
|
|
182
189
|
{
|
|
183
190
|
"path": "dist/ordinal.module.min.js",
|
|
184
|
-
"limit": "
|
|
191
|
+
"limit": "95 KB"
|
|
185
192
|
},
|
|
186
193
|
{
|
|
187
194
|
"path": "dist/network.module.min.js",
|
|
188
|
-
"limit": "
|
|
195
|
+
"limit": "95 KB"
|
|
189
196
|
},
|
|
190
197
|
{
|
|
191
198
|
"path": "dist/geo.module.min.js",
|
|
192
|
-
"limit": "
|
|
199
|
+
"limit": "90 KB"
|
|
193
200
|
},
|
|
194
201
|
{
|
|
195
202
|
"path": "dist/realtime.module.min.js",
|
|
196
|
-
"limit": "
|
|
203
|
+
"limit": "130 KB"
|
|
197
204
|
}
|
|
198
205
|
],
|
|
199
206
|
"devDependencies": {
|
|
200
207
|
"@axe-core/playwright": "^4.11.1",
|
|
208
|
+
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
201
209
|
"@parcel/transformer-inline-string": "^2.16.4",
|
|
202
210
|
"@playwright/test": "^1.17.1",
|
|
203
211
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
@@ -213,6 +221,7 @@
|
|
|
213
221
|
"@types/d3-geo": "^3.1.0",
|
|
214
222
|
"@types/d3-hierarchy": "^3.1.0",
|
|
215
223
|
"@types/d3-interpolate": "^3.0.0",
|
|
224
|
+
"@types/d3-quadtree": "^3.0.6",
|
|
216
225
|
"@types/d3-scale": "^4.0.9",
|
|
217
226
|
"@types/d3-scale-chromatic": "^3.1.0",
|
|
218
227
|
"@types/d3-selection": "^3.0.0",
|
|
@@ -230,6 +239,7 @@
|
|
|
230
239
|
"@vitest/ui": "^4.0.18",
|
|
231
240
|
"d3-dsv": "1.0.5",
|
|
232
241
|
"d3-flextree-v4": "^1.0.1",
|
|
242
|
+
"esbuild": "^0.27.4",
|
|
233
243
|
"eslint": "^8.0.0",
|
|
234
244
|
"eslint-plugin-react": "^7.27.1",
|
|
235
245
|
"jsdom": "^26.1.0",
|
|
@@ -258,8 +268,6 @@
|
|
|
258
268
|
"sharp": ">=0.33.0"
|
|
259
269
|
},
|
|
260
270
|
"dependencies": {
|
|
261
|
-
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
262
|
-
"@types/d3-quadtree": "^3.0.6",
|
|
263
271
|
"d3-array": "^3.2.4",
|
|
264
272
|
"d3-brush": "^3.0.0",
|
|
265
273
|
"d3-chord": "^3.0.1",
|