semiotic 3.4.0 → 3.4.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 +16 -3
- package/ai/schema.json +42 -1
- package/ai/system-prompt.md +4 -0
- package/dist/components/Annotation.d.ts +42 -2
- package/dist/components/CategoryColors.d.ts +1 -1
- package/dist/components/ChartGrid.d.ts +1 -1
- package/dist/components/ContextLayout.d.ts +1 -1
- package/dist/components/DataSummaryContext.d.ts +1 -1
- package/dist/components/DetailsPanel.d.ts +3 -2
- package/dist/components/Legend.d.ts +2 -3
- package/dist/components/LinkedCharts.d.ts +1 -1
- package/dist/components/ThemeProvider.d.ts +1 -1
- package/dist/components/Tooltip/FlippingTooltip.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +4 -3
- package/dist/components/charts/geo/ChoroplethMap.d.ts +4 -4
- package/dist/components/charts/geo/DistanceCartogram.d.ts +5 -4
- package/dist/components/charts/geo/FlowMap.d.ts +4 -4
- package/dist/components/charts/geo/ProportionalSymbolMap.d.ts +4 -3
- package/dist/components/charts/index.d.ts +2 -0
- package/dist/components/charts/network/ChordDiagram.d.ts +4 -3
- package/dist/components/charts/network/CirclePack.d.ts +3 -3
- package/dist/components/charts/network/ForceDirectedGraph.d.ts +3 -2
- package/dist/components/charts/network/OrbitDiagram.d.ts +6 -5
- package/dist/components/charts/network/SankeyDiagram.d.ts +4 -3
- package/dist/components/charts/network/TreeDiagram.d.ts +3 -3
- package/dist/components/charts/network/Treemap.d.ts +3 -3
- package/dist/components/charts/ordinal/BarChart.d.ts +24 -4
- package/dist/components/charts/ordinal/BoxPlot.d.ts +4 -3
- package/dist/components/charts/ordinal/DonutChart.d.ts +4 -3
- package/dist/components/charts/ordinal/DotPlot.d.ts +4 -3
- package/dist/components/charts/ordinal/FunnelChart.d.ts +4 -3
- package/dist/components/charts/ordinal/GaugeChart.d.ts +2 -1
- package/dist/components/charts/ordinal/GroupedBarChart.d.ts +4 -3
- package/dist/components/charts/ordinal/Histogram.d.ts +4 -3
- package/dist/components/charts/ordinal/LikertChart.d.ts +4 -3
- package/dist/components/charts/ordinal/PieChart.d.ts +4 -3
- package/dist/components/charts/ordinal/RidgelinePlot.d.ts +4 -3
- package/dist/components/charts/ordinal/StackedBarChart.d.ts +4 -3
- package/dist/components/charts/ordinal/SwarmPlot.d.ts +4 -3
- package/dist/components/charts/ordinal/SwimlaneChart.d.ts +4 -3
- package/dist/components/charts/ordinal/ViolinPlot.d.ts +4 -3
- package/dist/components/charts/realtime/RealtimeHeatmap.d.ts +7 -6
- package/dist/components/charts/realtime/RealtimeHistogram.d.ts +10 -7
- package/dist/components/charts/realtime/RealtimeLineChart.d.ts +9 -6
- package/dist/components/charts/realtime/RealtimeSwarmChart.d.ts +7 -6
- package/dist/components/charts/realtime/RealtimeWaterfallChart.d.ts +9 -6
- package/dist/components/charts/shared/ChartError.d.ts +1 -2
- package/dist/components/charts/shared/annotationResolvers.d.ts +4 -3
- package/dist/components/charts/shared/annotationRules.d.ts +2 -1
- package/dist/components/charts/shared/colorUtils.d.ts +4 -3
- package/dist/components/charts/shared/datumTypes.d.ts +20 -0
- package/dist/components/charts/shared/diagnoseConfig.d.ts +2 -7
- package/dist/components/charts/shared/formatUtils.d.ts +4 -2
- package/dist/components/charts/shared/hooks.d.ts +27 -23
- package/dist/components/charts/shared/legendUtils.d.ts +3 -2
- package/dist/components/charts/shared/mergeShapeStyle.d.ts +43 -0
- package/dist/components/charts/shared/networkUtils.d.ts +7 -6
- package/dist/components/charts/shared/selectionUtils.d.ts +5 -4
- package/dist/components/charts/shared/statisticalOverlays.d.ts +14 -26
- package/dist/components/charts/shared/statisticalOverlaysLazy.d.ts +2 -2
- package/dist/components/charts/shared/statsTooltip.d.ts +3 -2
- package/dist/components/charts/shared/tooltipUtils.d.ts +7 -6
- package/dist/components/charts/shared/types.d.ts +22 -13
- package/dist/components/charts/shared/useChartSetup.d.ts +7 -6
- package/dist/components/charts/shared/useLikertAggregation.d.ts +18 -7
- package/dist/components/charts/shared/useOrdinalStreaming.d.ts +3 -2
- package/dist/components/charts/shared/useStreamingLegend.d.ts +2 -1
- package/dist/components/charts/shared/validateChartData.d.ts +2 -1
- package/dist/components/charts/shared/validateProps.d.ts +2 -8
- package/dist/components/charts/shared/withChartWrapper.d.ts +1 -1
- package/dist/components/charts/xy/AreaChart.d.ts +4 -3
- package/dist/components/charts/xy/BubbleChart.d.ts +4 -3
- package/dist/components/charts/xy/CandlestickChart.d.ts +47 -0
- package/dist/components/charts/xy/ConnectedScatterplot.d.ts +4 -3
- package/dist/components/charts/xy/Heatmap.d.ts +12 -7
- package/dist/components/charts/xy/LineChart.d.ts +4 -3
- package/dist/components/charts/xy/MinimapChart.d.ts +4 -4
- package/dist/components/charts/xy/MultiAxisLineChart.d.ts +5 -4
- package/dist/components/charts/xy/QuadrantChart.d.ts +4 -3
- package/dist/components/charts/xy/Scatterplot.d.ts +4 -3
- package/dist/components/charts/xy/ScatterplotMatrix.d.ts +3 -3
- package/dist/components/charts/xy/StackedAreaChart.d.ts +4 -3
- package/dist/components/data/transforms.d.ts +8 -7
- package/dist/components/export/chartConfig.d.ts +4 -3
- package/dist/components/export/selectionSerializer.d.ts +1 -1
- package/dist/components/geo/mergeData.d.ts +2 -1
- package/dist/components/realtime/BinAccumulator.d.ts +3 -2
- package/dist/components/realtime/renderers/types.d.ts +2 -1
- package/dist/components/realtime/renderers/waterfallRenderer.d.ts +2 -1
- package/dist/components/realtime/types.d.ts +25 -21
- package/dist/components/semiotic-themes.d.ts +2 -1
- package/dist/components/semiotic-xy.d.ts +2 -0
- package/dist/components/semiotic.d.ts +3 -3
- package/dist/components/server/animatedGif.d.ts +4 -18
- package/dist/components/server/renderToStaticSVG.d.ts +5 -4
- package/dist/components/server/serverChartConfigs.d.ts +2 -10
- package/dist/components/server/staticAnnotations.d.ts +2 -1
- package/dist/components/server/staticLegend.d.ts +2 -1
- package/dist/components/store/ObservationStore.d.ts +4 -3
- package/dist/components/store/SelectionStore.d.ts +4 -9
- package/dist/components/store/ThemeStore.d.ts +32 -4
- package/dist/components/store/TooltipStore.d.ts +6 -2
- package/dist/components/store/useSelection.d.ts +13 -9
- package/dist/components/stream/AccessibleDataTable.d.ts +5 -5
- package/dist/components/stream/CanvasHitTester.d.ts +2 -1
- package/dist/components/stream/DataSourceAdapter.d.ts +2 -1
- package/dist/components/stream/FocusRing.d.ts +1 -2
- package/dist/components/stream/GeoParticlePool.d.ts +2 -1
- package/dist/components/stream/GeoPipelineStore.d.ts +7 -6
- package/dist/components/stream/MarginalGraphics.d.ts +1 -2
- package/dist/components/stream/NetworkPipelineStore.d.ts +3 -2
- package/dist/components/stream/NetworkSVGOverlay.d.ts +21 -15
- package/dist/components/stream/OrdinalBrushOverlay.d.ts +1 -19
- package/dist/components/stream/OrdinalPipelineStore.d.ts +6 -5
- package/dist/components/stream/OrdinalSVGOverlay.d.ts +6 -5
- package/dist/components/stream/PipelineStore.d.ts +63 -28
- package/dist/components/stream/SVGOverlay.d.ts +10 -10
- package/dist/components/stream/SceneGraph.d.ts +6 -5
- package/dist/components/stream/StreamGeoFrame.d.ts +2 -1
- package/dist/components/stream/StreamNetworkFrame.d.ts +2 -1
- package/dist/components/stream/StreamOrdinalFrame.d.ts +2 -1
- package/dist/components/stream/StreamXYFrame.d.ts +2 -1
- package/dist/components/stream/XYBrushOverlay.d.ts +1 -21
- package/dist/components/stream/devDataAccessWarning.d.ts +2 -11
- package/dist/components/stream/geoTypes.d.ts +43 -24
- package/dist/components/stream/hoverUtils.d.ts +2 -1
- package/dist/components/stream/keyboardNav.d.ts +18 -6
- package/dist/components/stream/layouts/hierarchySceneBuilders.d.ts +4 -3
- package/dist/components/stream/layouts/hierarchyUtils.d.ts +4 -3
- package/dist/components/stream/networkTypes.d.ts +73 -47
- package/dist/components/stream/ordinalSceneBuilders/barFunnelScene.d.ts +1 -1
- package/dist/components/stream/ordinalSceneBuilders/barScene.d.ts +2 -2
- package/dist/components/stream/ordinalSceneBuilders/connectorScene.d.ts +1 -1
- package/dist/components/stream/ordinalSceneBuilders/pointScene.d.ts +2 -2
- package/dist/components/stream/ordinalSceneBuilders/statisticalScene.d.ts +4 -4
- package/dist/components/stream/ordinalSceneBuilders/swimlaneScene.d.ts +1 -1
- package/dist/components/stream/ordinalSceneBuilders/timelineScene.d.ts +1 -1
- package/dist/components/stream/ordinalSceneBuilders/types.d.ts +9 -8
- package/dist/components/stream/ordinalTypes.d.ts +65 -33
- package/dist/components/stream/pipelineDecay.d.ts +2 -1
- package/dist/components/stream/pipelinePulse.d.ts +2 -1
- package/dist/components/stream/pipelineTransitions.d.ts +16 -4
- package/dist/components/stream/renderers/colorUtils.d.ts +20 -0
- package/dist/components/stream/types.d.ts +58 -17
- package/dist/components/stream/xySceneBuilders/areaScene.d.ts +3 -2
- package/dist/components/stream/xySceneBuilders/barScene.d.ts +2 -1
- package/dist/components/stream/xySceneBuilders/boundsScene.d.ts +2 -1
- package/dist/components/stream/xySceneBuilders/candlestickScene.d.ts +2 -1
- package/dist/components/stream/xySceneBuilders/emitPointNodes.d.ts +3 -2
- package/dist/components/stream/xySceneBuilders/heatmapScene.d.ts +2 -1
- package/dist/components/stream/xySceneBuilders/lineScene.d.ts +2 -1
- package/dist/components/stream/xySceneBuilders/mixedScene.d.ts +2 -1
- package/dist/components/stream/xySceneBuilders/pointScene.d.ts +2 -1
- package/dist/components/stream/xySceneBuilders/swarmScene.d.ts +2 -1
- package/dist/components/stream/xySceneBuilders/types.d.ts +35 -26
- package/dist/components/stream/xySceneBuilders/waterfallScene.d.ts +2 -1
- package/dist/components/types/marginType.d.ts +15 -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.min.js +1 -1
- package/dist/semiotic-ai.module.min.js +1 -1
- package/dist/semiotic-statisticalOverlays-Ckd_jM8z.js +1 -0
- package/dist/semiotic-themes.d.ts +2 -1
- package/dist/semiotic-themes.min.js +1 -1
- package/dist/semiotic-themes.module.min.js +1 -1
- package/dist/semiotic-utils.min.js +1 -1
- package/dist/semiotic-utils.module.min.js +1 -1
- package/dist/semiotic-xy.d.ts +2 -0
- package/dist/semiotic.d.ts +3 -3
- 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/test-utils/canvasMock.d.ts +10 -2
- package/dist/xy.min.js +1 -1
- package/dist/xy.module.min.js +1 -1
- package/package.json +38 -32
- package/dist/components/types/annotationTypes.d.ts +0 -145
- package/dist/components/types/generalTypes.d.ts +0 -241
- package/dist/components/types/interactionTypes.d.ts +0 -72
- package/dist/components/types/networkTypes.d.ts +0 -174
- package/dist/components/types/ordinalTypes.d.ts +0 -112
- package/dist/semiotic-statisticalOverlays-DGX_WWc5.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "semiotic",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.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",
|
|
@@ -96,20 +96,20 @@
|
|
|
96
96
|
"scripts": {
|
|
97
97
|
"start": "parcel serve --target website --port 3000",
|
|
98
98
|
"build": "parcel build --target website",
|
|
99
|
-
"build:analyze": "node scripts/build.mjs --analyze",
|
|
100
|
-
"build:prod": "node scripts/build.mjs --production",
|
|
99
|
+
"build:analyze": "node --max-old-space-size=8192 scripts/build.mjs --analyze",
|
|
100
|
+
"build:prod": "node --max-old-space-size=8192 scripts/build.mjs --production",
|
|
101
101
|
"test": "vitest run",
|
|
102
|
-
"pretest:dist": "node scripts/build.mjs",
|
|
102
|
+
"pretest:dist": "node --max-old-space-size=8192 scripts/build.mjs",
|
|
103
103
|
"test:dist": "playwright test",
|
|
104
104
|
"test:visual:update": "playwright test --update-snapshots",
|
|
105
105
|
"bench": "vitest bench",
|
|
106
106
|
"bench:ui": "vitest bench --ui",
|
|
107
107
|
"bench:baseline": "vitest bench --run && node scripts/save-baseline.js",
|
|
108
108
|
"bench:compare": "vitest bench --run && node scripts/compare-baseline.js",
|
|
109
|
-
"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 integration-tests/themed-examples/index.html integration-tests/background-graphics-examples/index.html --dist-dir .parcel-cache/integration-tests",
|
|
110
|
-
"serve-examples:ci": "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 integration-tests/themed-examples/index.html integration-tests/background-graphics-examples/index.html --dist-dir .parcel-cache/integration-tests",
|
|
111
|
-
"dist": "node scripts/build.mjs",
|
|
112
|
-
"dist:prod": "node scripts/build.mjs --production",
|
|
109
|
+
"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 integration-tests/themed-examples/index.html integration-tests/background-graphics-examples/index.html integration-tests/histogram-theme-stroke-examples/index.html integration-tests/primitive-theme-matrix-examples/index.html integration-tests/status-scale-theme-examples/index.html integration-tests/primitive-props-examples/index.html integration-tests/chart-modes-examples/index.html --dist-dir .parcel-cache/integration-tests",
|
|
110
|
+
"serve-examples:ci": "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 integration-tests/themed-examples/index.html integration-tests/background-graphics-examples/index.html integration-tests/histogram-theme-stroke-examples/index.html integration-tests/primitive-theme-matrix-examples/index.html integration-tests/status-scale-theme-examples/index.html integration-tests/primitive-props-examples/index.html integration-tests/chart-modes-examples/index.html --dist-dir .parcel-cache/integration-tests",
|
|
111
|
+
"dist": "node --max-old-space-size=8192 scripts/build.mjs",
|
|
112
|
+
"dist:prod": "node --max-old-space-size=8192 scripts/build.mjs --production",
|
|
113
113
|
"lint": "eslint src",
|
|
114
114
|
"lint:fix": "eslint src --fix",
|
|
115
115
|
"create-release-branch": "sh ./scripts/create-release-branch.sh",
|
|
@@ -128,8 +128,8 @@
|
|
|
128
128
|
"typescript": "tsc --noEmit",
|
|
129
129
|
"size": "size-limit",
|
|
130
130
|
"check:schema": "node scripts/check-schema-freshness.js",
|
|
131
|
-
"release:check": "npm run lint && npm run typescript && npm run test && npm run check:schema &&
|
|
132
|
-
"prepublishOnly": "npm run lint && npm run typescript && npm run test && npm run check:schema && rm -rf dist &&
|
|
131
|
+
"release:check": "npm run lint && npm run typescript && npm run test && npm run check:schema && npm run dist:prod && npm pack --dry-run",
|
|
132
|
+
"prepublishOnly": "npm run lint && npm run typescript && npm run test && npm run check:schema && rm -rf dist && npm run dist:prod"
|
|
133
133
|
},
|
|
134
134
|
"targets": {
|
|
135
135
|
"website": {
|
|
@@ -145,7 +145,8 @@
|
|
|
145
145
|
"alias": {
|
|
146
146
|
"semiotic": "./src/components/semiotic.ts",
|
|
147
147
|
"semiotic/geo": "./src/components/semiotic-geo.ts",
|
|
148
|
-
"semiotic/utils": "./src/components/semiotic-utils.ts"
|
|
148
|
+
"semiotic/utils": "./src/components/semiotic-utils.ts",
|
|
149
|
+
"react-router-dom": "react-router"
|
|
149
150
|
},
|
|
150
151
|
"repository": {
|
|
151
152
|
"type": "git",
|
|
@@ -183,15 +184,15 @@
|
|
|
183
184
|
"size-limit": [
|
|
184
185
|
{
|
|
185
186
|
"path": "dist/semiotic.module.min.js",
|
|
186
|
-
"limit": "
|
|
187
|
+
"limit": "240 KB"
|
|
187
188
|
},
|
|
188
189
|
{
|
|
189
190
|
"path": "dist/xy.module.min.js",
|
|
190
|
-
"limit": "
|
|
191
|
+
"limit": "135 KB"
|
|
191
192
|
},
|
|
192
193
|
{
|
|
193
194
|
"path": "dist/ordinal.module.min.js",
|
|
194
|
-
"limit": "
|
|
195
|
+
"limit": "110 KB"
|
|
195
196
|
},
|
|
196
197
|
{
|
|
197
198
|
"path": "dist/network.module.min.js",
|
|
@@ -203,7 +204,7 @@
|
|
|
203
204
|
},
|
|
204
205
|
{
|
|
205
206
|
"path": "dist/realtime.module.min.js",
|
|
206
|
-
"limit": "
|
|
207
|
+
"limit": "140 KB"
|
|
207
208
|
}
|
|
208
209
|
],
|
|
209
210
|
"devDependencies": {
|
|
@@ -214,9 +215,10 @@
|
|
|
214
215
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
215
216
|
"@rollup/plugin-terser": "^1.0.0",
|
|
216
217
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
217
|
-
"@size-limit/file": "^
|
|
218
|
+
"@size-limit/file": "^12.0.0",
|
|
219
|
+
"@testing-library/dom": "^10.4.1",
|
|
218
220
|
"@testing-library/jest-dom": "^6.9.1",
|
|
219
|
-
"@testing-library/react": "^
|
|
221
|
+
"@testing-library/react": "^16.3.2",
|
|
220
222
|
"@types/d3-array": "^3.2.0",
|
|
221
223
|
"@types/d3-brush": "^3.0.0",
|
|
222
224
|
"@types/d3-chord": "^3.0.0",
|
|
@@ -233,42 +235,46 @@
|
|
|
233
235
|
"@types/d3-time-format": "^4.0.0",
|
|
234
236
|
"@types/d3-zoom": "^3.0.8",
|
|
235
237
|
"@types/node": "^22.19.17",
|
|
236
|
-
"@types/react": "^
|
|
237
|
-
"@types/react-dom": "^
|
|
238
|
+
"@types/react": "^19.2.14",
|
|
239
|
+
"@types/react-dom": "^19.2.3",
|
|
238
240
|
"@types/seedrandom": "^3.0.5",
|
|
239
241
|
"@types/topojson-client": "^3.1.5",
|
|
240
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
241
|
-
"@typescript-eslint/parser": "^
|
|
242
|
+
"@typescript-eslint/eslint-plugin": "^8.59.0",
|
|
243
|
+
"@typescript-eslint/parser": "^8.59.0",
|
|
242
244
|
"@vitest/coverage-v8": "^4.1.4",
|
|
243
245
|
"@vitest/ui": "^4.1.4",
|
|
244
246
|
"buffer": "^6.0.3",
|
|
245
247
|
"crypto-browserify": "^3.12.1",
|
|
246
|
-
"d3-dsv": "
|
|
248
|
+
"d3-dsv": "^3.0.1",
|
|
247
249
|
"d3-flextree-v4": "^1.0.1",
|
|
248
250
|
"esbuild": "^0.28.0",
|
|
249
|
-
"eslint": "^
|
|
250
|
-
"eslint-plugin-react": "^7.
|
|
251
|
+
"eslint": "^9.39.4",
|
|
252
|
+
"eslint-plugin-react": "^7.37.5",
|
|
253
|
+
"@eslint/js": "^9.39.4",
|
|
254
|
+
"globals": "^17.5.0",
|
|
255
|
+
"typescript-eslint": "^8.59.0",
|
|
251
256
|
"events": "^3.3.0",
|
|
252
|
-
"jsdom": "^
|
|
253
|
-
"marked": "
|
|
257
|
+
"jsdom": "^29.0.2",
|
|
258
|
+
"marked": "^18.0.2",
|
|
254
259
|
"os-browserify": "^0.3.0",
|
|
260
|
+
"marked-gfm-heading-id": "^4.1.4",
|
|
255
261
|
"parcel": "^2.16.4",
|
|
256
262
|
"path-browserify": "^1.0.1",
|
|
257
263
|
"playwright-chromium": "^1.59.1",
|
|
258
264
|
"prettier": "^3.8.3",
|
|
259
265
|
"process": "^0.11.10",
|
|
260
|
-
"react": "^
|
|
261
|
-
"react-dom": "^
|
|
262
|
-
"react-router
|
|
266
|
+
"react": "^19.2.5",
|
|
267
|
+
"react-dom": "^19.2.5",
|
|
268
|
+
"react-router": "^7.14.1",
|
|
269
|
+
"react-router-dom": "^7.0.0",
|
|
263
270
|
"rollup": "^4.59.0",
|
|
264
271
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
265
272
|
"rollup-plugin-visualizer": "^7.0.0",
|
|
266
273
|
"seedrandom": "^3.0.5",
|
|
267
|
-
"size-limit": "^
|
|
274
|
+
"size-limit": "^12.0.0",
|
|
268
275
|
"stream-browserify": "^3.0.0",
|
|
269
|
-
"tslib": "^2.8.1",
|
|
270
276
|
"typedoc": "^0.28.19",
|
|
271
|
-
"typescript": "~
|
|
277
|
+
"typescript": "~6.0.3",
|
|
272
278
|
"util": "^0.12.5",
|
|
273
279
|
"vitest": "^4.1.4",
|
|
274
280
|
"vm-browserify": "^1.1.2"
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { RawPoint, MarginType, AxisSummaryTypeSettings, OrdinalSummaryTypes } from "./generalTypes";
|
|
2
|
-
import { NodeType, EdgeType } from "./networkTypes";
|
|
3
|
-
import { ScaleLinear } from "d3-scale";
|
|
4
|
-
export type AnnotationType = {
|
|
5
|
-
type?: string;
|
|
6
|
-
column?: {
|
|
7
|
-
name: string;
|
|
8
|
-
};
|
|
9
|
-
facetColumn?: string;
|
|
10
|
-
bounds?: RawPoint[];
|
|
11
|
-
x?: number;
|
|
12
|
-
y?: number;
|
|
13
|
-
yTop?: number;
|
|
14
|
-
yBottom?: number;
|
|
15
|
-
yMiddle?: number;
|
|
16
|
-
coordinates?: object[];
|
|
17
|
-
key?: string;
|
|
18
|
-
percent?: number;
|
|
19
|
-
style?: Record<string, any> | ((arg?: Record<string, any>, index?: number) => Record<string, any>);
|
|
20
|
-
ids?: string[];
|
|
21
|
-
edge?: EdgeType;
|
|
22
|
-
source?: NodeType;
|
|
23
|
-
target?: NodeType;
|
|
24
|
-
id?: string;
|
|
25
|
-
element?: Element;
|
|
26
|
-
label?: string | Element;
|
|
27
|
-
neighbors?: object[];
|
|
28
|
-
isColumnAnnotation?: boolean;
|
|
29
|
-
};
|
|
30
|
-
export type CustomHoverType = boolean | Array<AnnotationType | Function> | object | Function | "all" | "edge" | "node" | "area";
|
|
31
|
-
export type AnnotationTypes = "marginalia" | "bump" | false;
|
|
32
|
-
interface AnnotationLayout {
|
|
33
|
-
type: AnnotationTypes;
|
|
34
|
-
orient?: "nearest" | "left" | "right" | "top" | "bottom" | Array<string>;
|
|
35
|
-
characterWidth?: number;
|
|
36
|
-
noteHeight?: Function | number;
|
|
37
|
-
noteWidth?: Function | number;
|
|
38
|
-
lineWidth?: number;
|
|
39
|
-
lineHeight?: number;
|
|
40
|
-
padding?: number;
|
|
41
|
-
iterations?: number;
|
|
42
|
-
pointSizeFunction?: Function;
|
|
43
|
-
labelSizeFunction?: Function;
|
|
44
|
-
marginOffset?: number;
|
|
45
|
-
axisMarginOverride?: {
|
|
46
|
-
top?: number;
|
|
47
|
-
right?: number;
|
|
48
|
-
bottom?: number;
|
|
49
|
-
left?: number;
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
export interface AnnotationHandling {
|
|
53
|
-
dataVersion?: string;
|
|
54
|
-
layout: AnnotationLayout;
|
|
55
|
-
}
|
|
56
|
-
export interface AnnotationProps {
|
|
57
|
-
noteData: {
|
|
58
|
-
eventListeners?: object;
|
|
59
|
-
events?: object;
|
|
60
|
-
type: string;
|
|
61
|
-
screenCoordinates?: Array<Array<number>>;
|
|
62
|
-
coordinates?: boolean;
|
|
63
|
-
noteHeight?: Function | number;
|
|
64
|
-
noteWidth?: Function | number;
|
|
65
|
-
x: number | number[];
|
|
66
|
-
y: number | number[];
|
|
67
|
-
nx?: number;
|
|
68
|
-
ny?: number;
|
|
69
|
-
dx?: number;
|
|
70
|
-
dy?: number;
|
|
71
|
-
note: {
|
|
72
|
-
label?: string;
|
|
73
|
-
title?: string;
|
|
74
|
-
wrap?: number;
|
|
75
|
-
orientation?: string;
|
|
76
|
-
align?: string;
|
|
77
|
-
noWrap?: boolean;
|
|
78
|
-
};
|
|
79
|
-
i?: number;
|
|
80
|
-
fixedPosition?: boolean;
|
|
81
|
-
label?: string;
|
|
82
|
-
connector?: any;
|
|
83
|
-
subject?: any;
|
|
84
|
-
color?: string;
|
|
85
|
-
className?: string;
|
|
86
|
-
disable?: string[];
|
|
87
|
-
[key: string]: any;
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
type GlyphProps = {
|
|
91
|
-
lineHeight: number;
|
|
92
|
-
lineWidth: number;
|
|
93
|
-
value: number;
|
|
94
|
-
};
|
|
95
|
-
type AxisPart = {
|
|
96
|
-
value: number;
|
|
97
|
-
};
|
|
98
|
-
export interface AxisProps {
|
|
99
|
-
orient: "left" | "right" | "top" | "bottom";
|
|
100
|
-
label?: {
|
|
101
|
-
position?: {
|
|
102
|
-
anchor?: string;
|
|
103
|
-
location?: string;
|
|
104
|
-
rotation?: string;
|
|
105
|
-
};
|
|
106
|
-
name: string;
|
|
107
|
-
locationDistance: number;
|
|
108
|
-
};
|
|
109
|
-
dynamicLabelPosition?: boolean;
|
|
110
|
-
position?: number[];
|
|
111
|
-
rotate?: number;
|
|
112
|
-
tickFormat?: Function;
|
|
113
|
-
size?: number[];
|
|
114
|
-
width?: number;
|
|
115
|
-
height?: number;
|
|
116
|
-
className?: string;
|
|
117
|
-
padding?: number;
|
|
118
|
-
tickValues?: number[] | Function;
|
|
119
|
-
scale?: ScaleLinear<number, number>;
|
|
120
|
-
ticks?: number;
|
|
121
|
-
footer?: boolean;
|
|
122
|
-
tickSize?: number;
|
|
123
|
-
tickLineGenerator?: ({ xy, orient, i, className }: {
|
|
124
|
-
xy?: object;
|
|
125
|
-
orient?: string;
|
|
126
|
-
i?: number;
|
|
127
|
-
className?: string;
|
|
128
|
-
}) => SVGElement;
|
|
129
|
-
baseline?: boolean | "under";
|
|
130
|
-
jaggedBase?: boolean;
|
|
131
|
-
margin?: MarginType;
|
|
132
|
-
center?: boolean;
|
|
133
|
-
axisParts?: AxisPart[];
|
|
134
|
-
annotationFunction?: (args: any) => void;
|
|
135
|
-
glyphFunction?: (args: GlyphProps) => SVGElement;
|
|
136
|
-
axis?: object;
|
|
137
|
-
extentOverride?: number[];
|
|
138
|
-
key?: string | number;
|
|
139
|
-
axisAnnotationFunction?: (args: object) => void;
|
|
140
|
-
xyPoints?: object[];
|
|
141
|
-
marginalSummaryType?: AxisSummaryTypeSettings | OrdinalSummaryTypes;
|
|
142
|
-
showOutboundTickLines?: boolean;
|
|
143
|
-
}
|
|
144
|
-
export type AxisGeneratingFunction = (args: object) => AxisProps;
|
|
145
|
-
export {};
|
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
import { CustomHoverType, AnnotationHandling } from "./annotationTypes";
|
|
2
|
-
import { Interactivity, AdvancedInteractionSettings } from "./interactionTypes";
|
|
3
|
-
export type TitleType = string | Element | {
|
|
4
|
-
title?: string | Element;
|
|
5
|
-
orient?: string;
|
|
6
|
-
};
|
|
7
|
-
import { LegendProps } from "./legendTypes";
|
|
8
|
-
import { AxisProps } from "./annotationTypes";
|
|
9
|
-
/** @deprecated Use Record<string, any> instead */
|
|
10
|
-
export type GenericObject = Record<string, any>;
|
|
11
|
-
export interface MarginType {
|
|
12
|
-
top: number;
|
|
13
|
-
bottom: number;
|
|
14
|
-
left: number;
|
|
15
|
-
right: number;
|
|
16
|
-
}
|
|
17
|
-
export type ProjectionTypes = "vertical" | "horizontal" | "radial";
|
|
18
|
-
export type ExtentType = number[] | {
|
|
19
|
-
extent?: number[];
|
|
20
|
-
onChange?: Function;
|
|
21
|
-
includeAnnotations?: boolean;
|
|
22
|
-
};
|
|
23
|
-
export interface ProjectedPoint {
|
|
24
|
-
x?: number;
|
|
25
|
-
y?: number;
|
|
26
|
-
xTop?: number;
|
|
27
|
-
xMiddle?: number;
|
|
28
|
-
xBottom?: number;
|
|
29
|
-
yTop?: number;
|
|
30
|
-
yMiddle?: number;
|
|
31
|
-
yBottom?: number;
|
|
32
|
-
parentSummary?: ProjectedSummary;
|
|
33
|
-
parentLine?: ProjectedLine;
|
|
34
|
-
percent?: number;
|
|
35
|
-
data?: object;
|
|
36
|
-
_XYFrameRank?: number;
|
|
37
|
-
style?: Function | object;
|
|
38
|
-
class?: Function | string;
|
|
39
|
-
coordinates?: object[];
|
|
40
|
-
}
|
|
41
|
-
export type PieceLayoutType = (args: {
|
|
42
|
-
type: string | {
|
|
43
|
-
type: string;
|
|
44
|
-
};
|
|
45
|
-
data: Record<string, any>;
|
|
46
|
-
renderMode: (d?: Record<string, any>, i?: number) => string | Record<string, any>;
|
|
47
|
-
eventListenersGenerator: (d: object, i: number) => Record<string, Function>;
|
|
48
|
-
styleFn: (d: object) => object;
|
|
49
|
-
projection: string;
|
|
50
|
-
classFn: (d: object) => string;
|
|
51
|
-
adjustedSize: number[];
|
|
52
|
-
chartSize: number[];
|
|
53
|
-
margin: MarginType;
|
|
54
|
-
rScale?: Function;
|
|
55
|
-
}) => Record<string, any>[];
|
|
56
|
-
export interface ProjectedLine {
|
|
57
|
-
data: ProjectedPoint[];
|
|
58
|
-
key: string | number;
|
|
59
|
-
__lineIndex?: number;
|
|
60
|
-
coordinates: object[];
|
|
61
|
-
}
|
|
62
|
-
export interface ProjectedSummary {
|
|
63
|
-
_baseData: object[];
|
|
64
|
-
_xyfCoordinates: [number | Date, number | Date][];
|
|
65
|
-
coordinates: {
|
|
66
|
-
x: number;
|
|
67
|
-
y: number;
|
|
68
|
-
}[];
|
|
69
|
-
data: object[];
|
|
70
|
-
y: number;
|
|
71
|
-
x: number;
|
|
72
|
-
parentSummary?: Record<string, any>;
|
|
73
|
-
bounds: object[] | number[];
|
|
74
|
-
customMark?: Function;
|
|
75
|
-
type?: string;
|
|
76
|
-
curve?: Function;
|
|
77
|
-
processedData?: boolean;
|
|
78
|
-
binMax?: number;
|
|
79
|
-
}
|
|
80
|
-
export type RoughType = {
|
|
81
|
-
canvas: Function;
|
|
82
|
-
generator: Function;
|
|
83
|
-
};
|
|
84
|
-
export type CanvasPostProcessTypes = Function;
|
|
85
|
-
export type ExtentSettingsType = {
|
|
86
|
-
extent?: Array<number>;
|
|
87
|
-
onChange?: Function;
|
|
88
|
-
};
|
|
89
|
-
export type accessorType<ReturnValue> = string | ((args?: unknown, index?: number) => ReturnValue);
|
|
90
|
-
export type DataAccessor<TDatum, ReturnValue> = (keyof TDatum & string) | ((datum: TDatum, index?: number) => ReturnValue);
|
|
91
|
-
export interface AccessorFnType {
|
|
92
|
-
<T>(arg: Record<string, any>): T;
|
|
93
|
-
}
|
|
94
|
-
export type BasicLineTypes = "line" | "area" | "summary" | "cumulative" | "cumulative-reverse" | "linepercent" | "stackedarea" | "stackedarea-invert" | "stackedpercent" | "bumparea" | "bumparea-invert" | "bumpline" | "stackedpercent-invert" | "difference";
|
|
95
|
-
export interface LineTypeSettings {
|
|
96
|
-
type: BasicLineTypes | Function;
|
|
97
|
-
simpleLine?: boolean;
|
|
98
|
-
y1?: (d?: ProjectedPoint, index?: number) => number;
|
|
99
|
-
interpolator: string | Function;
|
|
100
|
-
}
|
|
101
|
-
export type BasicSummaryTypes = "basic" | "contour" | "hexbin" | "heatmap" | "trendline" | "linebounds";
|
|
102
|
-
export interface SummaryTypeSettings {
|
|
103
|
-
showSlope?: boolean;
|
|
104
|
-
type: BasicSummaryTypes | Function;
|
|
105
|
-
label?: string | Function;
|
|
106
|
-
cellPx?: number;
|
|
107
|
-
xCellPx?: number;
|
|
108
|
-
yCellPx?: number;
|
|
109
|
-
bins?: number;
|
|
110
|
-
xBins?: number;
|
|
111
|
-
yBins?: number;
|
|
112
|
-
binValue?: Function;
|
|
113
|
-
binMax?: number;
|
|
114
|
-
customMark?: Function;
|
|
115
|
-
}
|
|
116
|
-
export interface RawLine<TDatum = Record<string, any>> {
|
|
117
|
-
coordinates?: TDatum[];
|
|
118
|
-
}
|
|
119
|
-
export interface RawSummary<TDatum = Record<string, any>> {
|
|
120
|
-
processedData?: TDatum[];
|
|
121
|
-
coordinates?: TDatum[];
|
|
122
|
-
preprocess?: boolean;
|
|
123
|
-
}
|
|
124
|
-
export interface RawPoint<TDatum = Record<string, any>> {
|
|
125
|
-
}
|
|
126
|
-
export interface CustomAreaMarkProps {
|
|
127
|
-
d: object;
|
|
128
|
-
margin: object;
|
|
129
|
-
styleFn: Function;
|
|
130
|
-
classFn: Function;
|
|
131
|
-
renderFn: Function;
|
|
132
|
-
chartSize: Function;
|
|
133
|
-
adjustedSize: number[];
|
|
134
|
-
}
|
|
135
|
-
export interface ProjectedBin {
|
|
136
|
-
x: number;
|
|
137
|
-
y: number;
|
|
138
|
-
binItems: object[];
|
|
139
|
-
customMark?: (props: CustomAreaMarkProps) => JSX.Element;
|
|
140
|
-
_xyfCoordinates: Array<number[]>;
|
|
141
|
-
value: number;
|
|
142
|
-
percent: number;
|
|
143
|
-
data: object;
|
|
144
|
-
parentSummary: object;
|
|
145
|
-
centroid: boolean;
|
|
146
|
-
}
|
|
147
|
-
export type GenericAccessor<GenericValue> = (args?: Record<string, any>, index?: number) => GenericValue;
|
|
148
|
-
export type VizLayerTypes = "pieces" | "summaries" | "connectors" | "edges" | "nodes" | "lines" | "points";
|
|
149
|
-
export type RenderPipelineType = {
|
|
150
|
-
[key in VizLayerTypes]?: {
|
|
151
|
-
data?: object[];
|
|
152
|
-
ariaLabel?: {
|
|
153
|
-
chart?: string;
|
|
154
|
-
items?: string;
|
|
155
|
-
};
|
|
156
|
-
behavior?: Function;
|
|
157
|
-
styleFn?: Function;
|
|
158
|
-
};
|
|
159
|
-
};
|
|
160
|
-
export type OrdinalSummaryTypes = "none" | "histogram" | "heatmap" | "violin" | "joy" | "ridgeline" | "boxplot" | "contour";
|
|
161
|
-
export type OrdinalSummaryTypeSettings = {
|
|
162
|
-
type: OrdinalSummaryTypes;
|
|
163
|
-
amplitude?: number;
|
|
164
|
-
eventListenersGenerator?: Function;
|
|
165
|
-
flip?: boolean;
|
|
166
|
-
bins?: number;
|
|
167
|
-
axis?: AxisProps;
|
|
168
|
-
};
|
|
169
|
-
export interface AxisSummaryTypeSettings extends OrdinalSummaryTypeSettings {
|
|
170
|
-
summaryStyle?: object;
|
|
171
|
-
pointStyle?: object;
|
|
172
|
-
renderMode?: object | string;
|
|
173
|
-
summaryClass?: string;
|
|
174
|
-
r?: number;
|
|
175
|
-
showPoints?: boolean;
|
|
176
|
-
filter?: Function;
|
|
177
|
-
}
|
|
178
|
-
export interface TransitionConfig {
|
|
179
|
-
/** Duration in milliseconds. @default 300 */
|
|
180
|
-
duration?: number;
|
|
181
|
-
/** CSS easing function. @default "ease" */
|
|
182
|
-
ease?: string;
|
|
183
|
-
}
|
|
184
|
-
export interface GeneralFrameProps {
|
|
185
|
-
title?: string | object;
|
|
186
|
-
margin?: number | {
|
|
187
|
-
top?: number;
|
|
188
|
-
bottom?: number;
|
|
189
|
-
left?: number;
|
|
190
|
-
right?: number;
|
|
191
|
-
} | ((args: object) => number | {
|
|
192
|
-
top?: number;
|
|
193
|
-
left?: number;
|
|
194
|
-
right?: number;
|
|
195
|
-
bottom?: number;
|
|
196
|
-
});
|
|
197
|
-
name?: string;
|
|
198
|
-
dataVersion?: string;
|
|
199
|
-
frameKey?: string;
|
|
200
|
-
size?: number[];
|
|
201
|
-
canvasPostProcess?: CanvasPostProcessTypes;
|
|
202
|
-
additionalDefs?: React.ReactNode;
|
|
203
|
-
className?: string;
|
|
204
|
-
customHoverBehavior?: Function;
|
|
205
|
-
customClickBehavior?: Function;
|
|
206
|
-
customDoubleClickBehavior?: Function;
|
|
207
|
-
hoverAnnotation?: CustomHoverType;
|
|
208
|
-
disableContext?: boolean;
|
|
209
|
-
interaction?: Interactivity;
|
|
210
|
-
svgAnnotationRules?: Function;
|
|
211
|
-
htmlAnnotationRules?: Function;
|
|
212
|
-
tooltipContent?: Function;
|
|
213
|
-
optimizeCustomTooltipPosition?: boolean;
|
|
214
|
-
annotations?: object[];
|
|
215
|
-
backgroundGraphics?: React.ReactNode | Function;
|
|
216
|
-
foregroundGraphics?: React.ReactNode | Function;
|
|
217
|
-
beforeElements?: React.ReactNode;
|
|
218
|
-
afterElements?: React.ReactNode;
|
|
219
|
-
annotationSettings?: AnnotationHandling;
|
|
220
|
-
renderKey?: string | GenericAccessor<string>;
|
|
221
|
-
legend?: object | boolean;
|
|
222
|
-
matte?: object;
|
|
223
|
-
onUnmount?: Function;
|
|
224
|
-
sketchyRenderingEngine?: RoughType;
|
|
225
|
-
frameRenderOrder?: Array<string>;
|
|
226
|
-
disableCanvasInteraction?: boolean;
|
|
227
|
-
interactionSettings?: AdvancedInteractionSettings;
|
|
228
|
-
disableProgressiveRendering?: boolean;
|
|
229
|
-
transition?: boolean | TransitionConfig;
|
|
230
|
-
}
|
|
231
|
-
export interface GeneralFrameState {
|
|
232
|
-
dataVersion?: string;
|
|
233
|
-
adjustedPosition: number[];
|
|
234
|
-
adjustedSize: number[];
|
|
235
|
-
backgroundGraphics?: React.ReactNode | Function;
|
|
236
|
-
foregroundGraphics?: React.ReactNode | Function;
|
|
237
|
-
title: TitleType;
|
|
238
|
-
margin: MarginType;
|
|
239
|
-
legendSettings?: LegendProps;
|
|
240
|
-
renderNumber: number;
|
|
241
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ScaleLinear } from "d3-scale";
|
|
3
|
-
import { CustomHoverType } from "./annotationTypes";
|
|
4
|
-
import { MarginType } from "./generalTypes";
|
|
5
|
-
export interface AdvancedInteractionSettings {
|
|
6
|
-
voronoiClipping?: boolean | number;
|
|
7
|
-
voronoiFilter?: Function;
|
|
8
|
-
}
|
|
9
|
-
export interface Interactivity {
|
|
10
|
-
start?: Function;
|
|
11
|
-
during?: Function;
|
|
12
|
-
end?: Function;
|
|
13
|
-
brush?: string;
|
|
14
|
-
extent?: Array<number[]> | number[];
|
|
15
|
-
columnsBrush?: boolean;
|
|
16
|
-
projection?: string;
|
|
17
|
-
projectedColumns?: object;
|
|
18
|
-
startEmpty?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export type InteractionLayerProps = {
|
|
21
|
-
name?: string;
|
|
22
|
-
interaction?: Interactivity;
|
|
23
|
-
overlay?: Array<object>;
|
|
24
|
-
oColumns?: object;
|
|
25
|
-
xScale: ScaleLinear<number, number>;
|
|
26
|
-
yScale: ScaleLinear<number, number>;
|
|
27
|
-
rScale?: ScaleLinear<number, number>;
|
|
28
|
-
svgSize: Array<number>;
|
|
29
|
-
hoverAnnotation?: CustomHoverType;
|
|
30
|
-
interactionOverflow?: {
|
|
31
|
-
top?: number;
|
|
32
|
-
bottom?: number;
|
|
33
|
-
left?: number;
|
|
34
|
-
right?: number;
|
|
35
|
-
};
|
|
36
|
-
size: Array<number>;
|
|
37
|
-
projectedYMiddle?: string;
|
|
38
|
-
projectedX: string;
|
|
39
|
-
projectedY: string;
|
|
40
|
-
points?: Array<{
|
|
41
|
-
data: Record<string, any>;
|
|
42
|
-
}>;
|
|
43
|
-
position?: number[];
|
|
44
|
-
enabled?: boolean;
|
|
45
|
-
margin: MarginType;
|
|
46
|
-
projection?: string;
|
|
47
|
-
customDoubleClickBehavior?: Function;
|
|
48
|
-
customClickBehavior?: Function;
|
|
49
|
-
customHoverBehavior?: Function;
|
|
50
|
-
canvasRendering?: boolean;
|
|
51
|
-
disableCanvasInteraction: boolean;
|
|
52
|
-
showLinePoints?: string;
|
|
53
|
-
renderPipeline: object;
|
|
54
|
-
advancedSettings?: AdvancedInteractionSettings;
|
|
55
|
-
};
|
|
56
|
-
export type VoronoiEntryType = {
|
|
57
|
-
voronoiX: number;
|
|
58
|
-
voronoiY: number;
|
|
59
|
-
coincidentPoints: object[];
|
|
60
|
-
type?: string;
|
|
61
|
-
data?: Record<string, any>;
|
|
62
|
-
};
|
|
63
|
-
export type BaseColumnType = {
|
|
64
|
-
x: number;
|
|
65
|
-
width: number;
|
|
66
|
-
};
|
|
67
|
-
export type InteractionLayerState = {
|
|
68
|
-
overlayRegions: Array<React.ReactElement>;
|
|
69
|
-
props: InteractionLayerProps;
|
|
70
|
-
canvasMap: Map<string, number>;
|
|
71
|
-
interactionCanvas: React.ReactNode;
|
|
72
|
-
};
|