semiotic 3.8.9 → 3.9.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 +83 -67
- package/agent-skill/semiotic-charts/SKILL.md +11 -2
- package/ai/behaviorContracts.cjs +33 -3
- package/ai/cli.js +53 -2
- package/ai/componentMetadata.cjs +15 -0
- package/ai/dist/mcp-server.js +1530 -611
- package/ai/examples.md +48 -42
- package/{CLAUDE.md → ai/reference.md} +43 -22
- package/ai/schema.json +10603 -986
- package/ai/surface-manifest.json +643 -2
- package/ai/system-prompt.md +83 -130
- package/dist/c-3BLJEQNG.min.js +1 -0
- package/dist/c-3KZD6AXJ.min.js +1 -0
- package/dist/c-4TWEX5HG.min.js +1 -0
- package/dist/c-52TEGIUJ.min.js +1 -0
- package/dist/c-5YCIX3VZ.min.js +1 -0
- package/dist/c-6FEKTA3U.min.js +1 -0
- package/dist/c-6O5EVOPH.min.js +1 -0
- package/dist/c-74HEEZGK.min.js +1 -0
- package/dist/c-AKAF6JAD.min.js +1 -0
- package/dist/c-BBKITSXB.min.js +1 -0
- package/dist/c-BWNB6USU.min.js +1 -0
- package/dist/c-C25ENHIK.min.js +1 -0
- package/dist/c-CDR5AO3R.min.js +1 -0
- package/dist/c-COHXCW3Q.min.js +1 -0
- package/dist/{chunk-scatterplotMatrixBrushOverlay-SDIZSN66.module.min.js → c-DADXPJXV.min.js} +0 -1
- package/dist/c-E3JFRRMI.min.js +1 -0
- package/dist/c-EBFPQHHO.min.js +1 -0
- package/dist/c-G36WS6LN.min.js +1 -0
- package/dist/c-GIKRQI4X.min.js +1 -0
- package/dist/c-GPYOFETM.min.js +1 -0
- package/dist/c-IDUHYYSI.min.js +1 -0
- package/dist/{chunk-chunk-FQPKOAIH.module.min.js → c-IUHFPMHD.min.js} +0 -1
- package/dist/c-J5G56TUH.min.js +1 -0
- package/dist/c-JAZ73J32.min.js +1 -0
- package/dist/c-KG3NXHAL.min.js +1 -0
- package/dist/c-KII3PLZE.min.js +1 -0
- package/dist/c-LIXGXMNS.min.js +1 -0
- package/dist/c-LVEY6D6B.min.js +1 -0
- package/dist/c-M4Y3BHFR.min.js +1 -0
- package/dist/c-MAIICR2Z.min.js +1 -0
- package/dist/c-MG5DM6VE.min.js +1 -0
- package/dist/{chunk-minimapBrushOverlay-JU57U7NM.module.min.js → c-MNF2S4AA.min.js} +0 -1
- package/dist/c-MT3WBK7M.min.js +1 -0
- package/dist/c-NY3JWV2K.min.js +1 -0
- package/dist/c-O6U6K4CW.min.js +1 -0
- package/dist/c-OCI56QF2.min.js +1 -0
- package/dist/c-OQ7M4AGV.min.js +1 -0
- package/dist/c-OXYMVK7Q.min.js +1 -0
- package/dist/c-PPWDL5ZI.min.js +1 -0
- package/dist/c-QHF5YON3.min.js +1 -0
- package/dist/c-RR3GO5SW.min.js +1 -0
- package/dist/{chunk-chunk-J5QD4RAM.module.min.js → c-RSVIHIQ4.min.js} +0 -1
- package/dist/{chunk-chunk-EMO5NUGE.module.min.js → c-S2BXNNJN.min.js} +0 -1
- package/dist/{chunk-chunk-YCQYG6J5.module.min.js → c-SLGMUBUL.min.js} +0 -1
- package/dist/c-SUILCHWU.min.js +1 -0
- package/dist/c-TZW3JGJ5.min.js +1 -0
- package/dist/c-US5ZFT6E.min.js +1 -0
- package/dist/{chunk-chunk-RZH7VZYS.module.min.js → c-USFMFKIH.min.js} +0 -1
- package/dist/c-UUKVD4WB.min.js +1 -0
- package/dist/{chunk-chunk-SV4XAZ3Q.module.min.js → c-VGW3VG3I.min.js} +0 -1
- package/dist/c-W3CE4A4S.min.js +1 -0
- package/dist/{chunk-chunk-2NVFEB7P.module.min.js → c-WJCD5EUY.min.js} +0 -1
- package/dist/{chunk-chunk-2JGJ5GUG.module.min.js → c-X5UBGU2V.min.js} +0 -1
- package/dist/c-YDAY2WFR.min.js +1 -0
- package/dist/c-ZOWWU34K.min.js +1 -0
- package/dist/components/AccessibleNavTree.d.ts +1 -1
- package/dist/components/CategoryColors.d.ts +1 -1
- package/dist/components/GradientLegend.d.ts +14 -0
- package/dist/components/Legend.d.ts +2 -7
- package/dist/components/LinkedCharts.d.ts +1 -1
- package/dist/components/MobileAnnotationCalloutList.d.ts +1 -1
- package/dist/components/ObservationReadout.d.ts +45 -0
- package/dist/components/ThemeProvider.d.ts +4 -4
- package/dist/components/Tooltip/FlippingTooltip.d.ts +5 -7
- package/dist/components/Tooltip/Tooltip.d.ts +30 -5
- package/dist/components/Tooltip/tooltipChrome.d.ts +43 -0
- package/dist/components/ai/chartCapabilityTypes.d.ts +86 -2
- package/dist/components/ai/chartClinic.d.ts +2 -0
- package/dist/components/ai/deriveProfileFields.d.ts +40 -0
- package/dist/components/ai/evaluateChart.d.ts +85 -0
- package/dist/components/ai/fieldPolicy.d.ts +7 -0
- package/dist/components/ai/fieldRoles.d.ts +24 -0
- package/dist/components/ai/generativeChart.d.ts +18 -2
- package/dist/components/ai/inferIntent.d.ts +26 -2
- package/dist/components/ai/intents.d.ts +35 -0
- package/dist/components/ai/navigationTree.d.ts +2 -2
- package/dist/components/ai/observedSceneAudit.d.ts +2 -1
- package/dist/components/ai/profileData.d.ts +11 -0
- package/dist/components/ai/repairChartConfig.d.ts +2 -3
- package/dist/components/ai/semanticEvidence.d.ts +4 -0
- package/dist/components/ai/semanticViability.d.ts +11 -0
- package/dist/components/ai/semanticViabilityRegistry.d.ts +5 -0
- package/dist/components/ai/streamingTypes.d.ts +4 -0
- package/dist/components/ai/suggestCharts.d.ts +5 -6
- package/dist/components/ai/suggestDashboard.d.ts +2 -3
- package/dist/components/ai/suggestStreamCharts.d.ts +1 -1
- package/dist/components/ai/suggestStretchCharts.d.ts +2 -3
- package/dist/components/ai/suggestionPropContracts.d.ts +20 -0
- package/dist/components/ai/variantDiscovery.d.ts +3 -1
- package/dist/components/charts/custom/NetworkCustomChart.d.ts +3 -0
- package/dist/components/charts/custom/OrdinalCustomChart.d.ts +3 -0
- package/dist/components/charts/custom/XYCustomChart.d.ts +1 -1
- package/dist/components/charts/geo/ChoroplethMap.d.ts +3 -1
- package/dist/components/charts/geo/DistanceCartogram.d.ts +2 -7
- package/dist/components/charts/geo/cartogramOverlay.d.ts +28 -0
- package/dist/components/charts/index.d.ts +4 -3
- package/dist/components/charts/network/ProcessSankey.d.ts +2 -136
- package/dist/components/charts/network/ProcessSankeyProps.d.ts +139 -0
- package/dist/components/charts/network/Treemap.d.ts +2 -1
- package/dist/components/charts/network/processSankey/boundaryHubOrdering.d.ts +23 -0
- package/dist/components/charts/network/processSankey/layoutGeometry.d.ts +2 -0
- package/dist/components/charts/network/processSankey/ordering.d.ts +3 -41
- package/dist/components/charts/network/processSankey/orderingTypes.d.ts +32 -0
- package/dist/components/charts/network/processSankey/packing.d.ts +1 -1
- package/dist/components/charts/network/processSankey/packingCache.d.ts +1 -1
- package/dist/components/charts/network/processSankey/packingOptimization.d.ts +72 -0
- package/dist/components/charts/ordinal/BarChart.d.ts +4 -3
- package/dist/components/charts/ordinal/FunnelChart.d.ts +2 -0
- package/dist/components/charts/ordinal/GroupedBarChart.d.ts +3 -2
- package/dist/components/charts/ordinal/StackedBarChart.d.ts +4 -3
- package/dist/components/charts/ordinal/SwimlaneChart.d.ts +2 -2
- package/dist/components/charts/physics/GaltonBoardChart.d.ts +2 -9
- package/dist/components/charts/physics/GauntletChart.d.ts +10 -41
- package/dist/components/charts/physics/ProcessFlowChart.d.ts +1 -1
- package/dist/components/charts/physics/chainReactionAccessibleTable.d.ts +9 -0
- package/dist/components/charts/physics/chainReactionRuntime.d.ts +2 -1
- package/dist/components/charts/physics/chainReactionTypes.d.ts +5 -1
- package/dist/components/charts/physics/crucibleBodyRenderers.d.ts +2 -2
- package/dist/components/charts/physics/crucibleClone.d.ts +6 -0
- package/dist/components/charts/physics/crucibleEffects.d.ts +1 -2
- package/dist/components/charts/physics/crucibleRecord.d.ts +7 -0
- package/dist/components/charts/physics/gauntletChrome.d.ts +4 -4
- package/dist/components/charts/physics/gauntletPhysics.d.ts +1 -0
- package/dist/components/charts/physics/gauntletPublic.d.ts +4 -0
- package/dist/components/charts/physics/packetFlowOverlay.d.ts +7 -0
- package/dist/components/charts/physics/physicsChartLayout.d.ts +8 -0
- package/dist/components/charts/physics/physicsChartShared.d.ts +3 -1
- package/dist/components/charts/physics/physicsChartUtils.d.ts +1 -1
- package/dist/components/charts/physics/physicsHocUtils.d.ts +25 -12
- package/dist/components/charts/physics/physicsProjectionOverlays.d.ts +24 -0
- package/dist/components/charts/physics/processFlowOverlays.d.ts +9 -0
- package/dist/components/charts/realtime/RealtimeHeatmap.d.ts +15 -12
- package/dist/components/charts/realtime/RealtimeHistogram.d.ts +10 -7
- package/dist/components/charts/realtime/RealtimeLineChart.d.ts +35 -14
- package/dist/components/charts/realtime/RealtimeSwarmChart.d.ts +21 -14
- package/dist/components/charts/realtime/RealtimeWaterfallChart.d.ts +20 -13
- package/dist/components/charts/realtime/aggregate.d.ts +4 -1
- package/dist/components/charts/realtime/eventTime.d.ts +4 -0
- package/dist/components/charts/realtime/realtimeChartRuntime.d.ts +27 -0
- package/dist/components/charts/realtime/realtimeChartTypes.d.ts +30 -0
- package/dist/components/charts/realtime/useRealtimeCategoryColors.d.ts +30 -0
- package/dist/components/charts/shared/FrameTextAnnotationSVG.d.ts +10 -0
- package/dist/components/charts/shared/annotationActivation.d.ts +3 -7
- package/dist/components/charts/shared/annotationBandFill.d.ts +6 -0
- package/dist/components/charts/shared/annotationDispatch.d.ts +31 -0
- package/dist/components/charts/shared/annotationIdentity.d.ts +8 -0
- package/dist/components/charts/shared/annotationRules.d.ts +1 -15
- package/dist/components/charts/shared/boundedCategoryRegistry.d.ts +8 -0
- package/dist/components/charts/shared/chainReactionChartSpec.d.ts +3 -0
- package/dist/components/charts/shared/chartMode.d.ts +3 -2
- package/dist/components/charts/shared/chartSpecCore.d.ts +1 -0
- package/dist/components/charts/shared/frameTextAnnotation.d.ts +63 -0
- package/dist/components/charts/shared/gradient.d.ts +16 -0
- package/dist/components/charts/shared/hatchFill.d.ts +15 -0
- package/dist/components/charts/shared/hooks.d.ts +4 -4
- package/dist/components/charts/shared/legendUtils.d.ts +1 -0
- package/dist/components/charts/shared/streamPropsHelpers.d.ts +2 -1
- package/dist/components/charts/shared/styleRules.d.ts +9 -2
- package/dist/components/charts/shared/styleRulesWireSchema.d.ts +353 -0
- package/dist/components/charts/shared/types.d.ts +18 -9
- package/dist/components/charts/shared/useChartLegend.d.ts +43 -9
- package/dist/components/charts/shared/useChartSetup.d.ts +3 -1
- package/dist/components/charts/shared/useCustomChartSetup.d.ts +5 -2
- package/dist/components/charts/shared/useNetworkChartSetup.d.ts +5 -1
- package/dist/components/charts/shared/useOrdinalBrush.d.ts +3 -3
- package/dist/components/charts/shared/useStreamingLegend.d.ts +6 -1
- package/dist/components/charts/value/types.d.ts +1 -1
- package/dist/components/charts/xy/BubbleChart.d.ts +1 -1
- package/dist/components/charts/xy/BumpChart.capability.d.ts +14 -1
- package/dist/components/charts/xy/BumpChart.d.ts +13 -73
- package/dist/components/charts/xy/BumpChart.semanticViability.d.ts +5 -0
- package/dist/components/charts/xy/CandlestickChart.d.ts +2 -2
- package/dist/components/charts/xy/LineChart.d.ts +2 -2
- package/dist/components/charts/xy/Scatterplot.d.ts +1 -1
- package/dist/components/charts/xy/bumpData.d.ts +44 -0
- package/dist/components/charts/xy/bumpIdentity.d.ts +2 -0
- package/dist/components/charts/xy/bumpLayout.d.ts +45 -0
- package/dist/components/charts/xy/bumpTooltip.d.ts +20 -0
- package/dist/components/legendLayout.d.ts +131 -4
- package/dist/components/realtime/ReorderBuffer.d.ts +2 -0
- package/dist/components/realtime/types.d.ts +10 -1
- package/dist/components/recipes/balanceSnapshotsToFlows.d.ts +42 -0
- package/dist/components/recipes/directedReachability.d.ts +14 -0
- package/dist/components/recipes/gofishDisplayListFixtures.generated.d.ts +6 -6
- package/dist/components/recipes/gridObservatory.d.ts +1 -1
- package/dist/components/recipes/networkAnalysis.d.ts +1 -18
- package/dist/components/recipes/physics.d.ts +7 -4
- package/dist/components/recipes/processPhysics.d.ts +0 -1
- package/dist/components/recipes/waffle.d.ts +7 -4
- package/dist/components/semiotic-ai-core.d.ts +13 -4
- package/dist/components/semiotic-ai-observations.d.ts +3 -0
- package/dist/components/semiotic-ai.d.ts +16 -9
- package/dist/components/semiotic-client-shared.d.ts +10 -0
- package/dist/components/semiotic-experimental.d.ts +1 -1
- package/dist/components/semiotic-geo.d.ts +4 -1
- package/dist/components/semiotic-network.d.ts +7 -4
- package/dist/components/semiotic-ordinal.d.ts +4 -1
- package/dist/components/semiotic-physics.d.ts +11 -4
- package/dist/components/semiotic-realtime-core.d.ts +11 -4
- package/dist/components/semiotic-realtime-react.d.ts +4 -3
- package/dist/components/semiotic-realtime.d.ts +3 -1
- package/dist/components/semiotic-recipes-core.d.ts +7 -5
- package/dist/components/semiotic-server-edge.d.ts +3 -2
- package/dist/components/semiotic-server.d.ts +3 -2
- package/dist/components/semiotic-themes-core.d.ts +5 -48
- package/dist/components/semiotic-utils-core.d.ts +10 -5
- package/dist/components/semiotic-utils-react.d.ts +2 -0
- package/dist/components/semiotic-xy.d.ts +4 -1
- package/dist/components/semiotic.d.ts +68 -26
- package/dist/components/server/animatedGif.d.ts +1 -1
- package/dist/components/server/renderEvidence.d.ts +25 -2
- package/dist/components/server/renderToStaticSVG.d.ts +15 -7
- package/dist/components/server/serverChartConfigShared.d.ts +8 -1
- package/dist/components/server/serverChartConfigs.d.ts +1 -0
- package/dist/components/server/serverChartConfigsNetwork.d.ts +3 -3
- package/dist/components/server/serverChartConfigsNetworkChord.d.ts +2 -0
- package/dist/components/server/serverChartConfigsNetworkForce.d.ts +2 -0
- package/dist/components/server/serverChartConfigsNetworkHierarchy.d.ts +3 -0
- package/dist/components/server/serverChartConfigsXY.d.ts +3 -3
- package/dist/components/server/serverChartConfigsXYBubble.d.ts +5 -0
- package/dist/components/server/serverChartConfigsXYBump.d.ts +7 -0
- package/dist/components/server/serverChartConfigsXYScatter.d.ts +5 -0
- package/dist/components/server/staticAnnotationFallbacks.d.ts +10 -0
- package/dist/components/server/staticAnnotations.d.ts +28 -1
- package/dist/components/server/staticAxisTickLabel.d.ts +13 -0
- package/dist/components/server/staticLegend.d.ts +1 -1
- package/dist/components/server/staticLegendMargin.d.ts +41 -0
- package/dist/components/server/staticOrdinal.d.ts +8 -2
- package/dist/components/server/staticPhysics.d.ts +13 -1
- package/dist/components/server/staticPhysicsChrome.d.ts +20 -0
- package/dist/components/server/staticRawLegend.d.ts +15 -0
- package/dist/components/server/staticSVGChrome.d.ts +16 -55
- package/dist/components/server/staticXYAxes.d.ts +27 -0
- package/dist/components/server/staticXYAxisTicks.d.ts +39 -0
- package/dist/components/server/staticXYGrid.d.ts +11 -0
- package/dist/components/server/themeResolver.d.ts +5 -1
- package/dist/components/store/ThemeStore.d.ts +2 -98
- package/dist/components/store/designTokens.d.ts +1 -1
- package/dist/components/store/themeCSSVariables.d.ts +10 -0
- package/dist/components/store/themeCore.d.ts +91 -0
- package/dist/components/store/themePresets.d.ts +81 -0
- package/dist/components/store/themeSerialization.d.ts +2 -1
- package/dist/components/stream/AccessibleDataTable.d.ts +12 -14
- package/dist/components/stream/AccessibleTablePortalImpl.d.ts +6 -0
- package/dist/components/stream/GeoTileRenderer.d.ts +2 -0
- package/dist/components/stream/NetworkCanvasHitTester.d.ts +3 -1
- package/dist/components/stream/NetworkSSRFrame.d.ts +2 -1
- package/dist/components/stream/NetworkSVGOverlay.d.ts +3 -31
- package/dist/components/stream/OrdinalCanvasHitTester.d.ts +2 -0
- package/dist/components/stream/SVGChartTitle.d.ts +9 -0
- package/dist/components/stream/SVGOverlay.d.ts +1 -21
- package/dist/components/stream/SVGUnderlay.d.ts +24 -0
- package/dist/components/stream/SceneToSVG.d.ts +1 -1
- package/dist/components/stream/StreamGeoFrame.d.ts +1 -1
- package/dist/components/stream/StreamOrdinalFrame.d.ts +1 -1
- package/dist/components/stream/StreamXYFrame.d.ts +1 -1
- package/dist/components/stream/accessibleDataRows.d.ts +11 -0
- package/dist/components/stream/accessibleDataTableModel.d.ts +40 -0
- package/dist/components/stream/accessibleTableTypes.d.ts +11 -0
- package/dist/components/stream/axisTickUtils.d.ts +19 -0
- package/dist/components/stream/canvasBackground.d.ts +10 -0
- package/dist/components/stream/canvasSetup.d.ts +9 -0
- package/dist/components/stream/frameCursorInteraction.d.ts +25 -0
- package/dist/components/stream/frameDefaultMargins.d.ts +37 -0
- package/dist/components/stream/frameGraphics.d.ts +18 -0
- package/dist/components/stream/frameGraphicsSubscription.d.ts +26 -0
- package/dist/components/stream/frameLegendOptions.d.ts +18 -0
- package/dist/components/stream/geoFrameCursorInteraction.d.ts +9 -0
- package/dist/components/stream/geoFrameHelpers.d.ts +29 -1
- package/dist/components/stream/geoTypes.d.ts +10 -11
- package/dist/components/stream/hitTarget.d.ts +61 -2
- package/dist/components/stream/moduleWorkerSession.d.ts +6 -0
- package/dist/components/stream/networkAnnotationAnchors.d.ts +37 -0
- package/dist/components/stream/networkCustomLayout.d.ts +2 -2
- package/dist/components/stream/networkFrameCursorInteraction.d.ts +12 -0
- package/dist/components/stream/networkFrameInteraction.d.ts +2 -0
- package/dist/components/stream/networkFramePaint.d.ts +7 -0
- package/dist/components/stream/networkPipelineConfig.d.ts +1 -1
- package/dist/components/stream/networkTypes.d.ts +30 -32
- package/dist/components/stream/normalizeXYData.d.ts +7 -0
- package/dist/components/stream/ordinalFrameCursorInteraction.d.ts +7 -0
- package/dist/components/stream/ordinalFrameInteraction.d.ts +29 -0
- package/dist/components/stream/ordinalSceneSVG.d.ts +10 -0
- package/dist/components/stream/ordinalTypes.d.ts +10 -4
- package/dist/components/stream/physics/PhysicsBodySpatialIndex.d.ts +9 -1
- package/dist/components/stream/physics/PhysicsCanvasTheme.d.ts +25 -0
- package/dist/components/stream/physics/PhysicsControllers.d.ts +0 -3
- package/dist/components/stream/physics/PhysicsPipelineStore.d.ts +4 -1
- package/dist/components/stream/physics/PhysicsSVGOverlay.d.ts +3 -24
- package/dist/components/stream/physics/PhysicsSettledSVG.d.ts +9 -21
- package/dist/components/stream/physics/PhysicsSettledSVGElement.d.ts +37 -0
- package/dist/components/stream/physics/PhysicsSettledScene.d.ts +7 -3
- package/dist/components/stream/physics/StreamPhysicsFrame.d.ts +1 -1
- package/dist/components/stream/physics/StreamPhysicsTypes.d.ts +23 -4
- package/dist/components/stream/physics/physicsAnnotationContext.d.ts +19 -0
- package/dist/components/stream/physics/physicsBodyCanvas.d.ts +4 -0
- package/dist/components/stream/physics/physicsSettledChrome.d.ts +7 -0
- package/dist/components/stream/physics/usePhysicsCanvasPointer.d.ts +32 -0
- package/dist/components/stream/physics/usePhysicsSemanticNavigation.d.ts +36 -0
- package/dist/components/stream/pipelineConfig.d.ts +6 -17
- package/dist/components/stream/pipelineDomainResolution.d.ts +1 -1
- package/dist/components/stream/renderBackend.d.ts +2 -0
- package/dist/components/stream/renderers/canvasRenderHelpers.d.ts +13 -2
- package/dist/components/stream/renderers/resolveCSSColor.d.ts +7 -0
- package/dist/components/stream/responsiveSize.d.ts +17 -0
- package/dist/components/stream/sceneCursor.d.ts +41 -0
- package/dist/components/stream/sceneRevisionDiagnostics.d.ts +1 -1
- package/dist/components/stream/svgOverlayUtils.d.ts +22 -1
- package/dist/components/stream/types.d.ts +25 -12
- package/dist/components/stream/useCanvasFrameHost.d.ts +3 -1
- package/dist/components/stream/useFrame.d.ts +24 -1
- package/dist/components/stream/useResponsiveSize.d.ts +6 -1
- package/dist/components/stream/useStalenessCheck.d.ts +1 -1
- package/dist/components/stream/xyFrameAxisTypes.d.ts +15 -4
- package/dist/components/stream/xyFrameCursorInteraction.d.ts +6 -0
- package/dist/components/stream/xySceneBuilders/swarmScene.d.ts +1 -1
- package/dist/components/stream/xySceneBuilders/types.d.ts +6 -26
- package/dist/components/types/legendTypes.d.ts +6 -0
- package/dist/components/types/marginType.d.ts +7 -8
- package/dist/controls.min.js +1 -1
- package/dist/controls.module.min.js +1 -1
- package/dist/forceLayoutWorker.js +1 -1
- 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/physics-matter.module.min.js +1 -1
- package/dist/physics-rapier.module.min.js +1 -1
- package/dist/physics.min.js +1 -1
- package/dist/physics.module.min.js +1 -1
- package/dist/physicsWorker.js +1 -1
- package/dist/processSankeyLayoutWorker.js +1 -1
- package/dist/realtime.min.js +1 -1
- package/dist/realtime.module.min.js +1 -1
- package/dist/rough.min.js +1 -1
- package/dist/rough.module.min.js +1 -1
- package/dist/semiotic-ai-core.d.ts +13 -4
- package/dist/semiotic-ai-core.min.js +1 -1
- package/dist/semiotic-ai-core.module.min.js +1 -1
- package/dist/semiotic-ai.d.ts +16 -9
- package/dist/semiotic-ai.min.js +1 -1
- package/dist/semiotic-ai.module.min.js +1 -1
- package/dist/semiotic-client-cjs-shared.min.js +1 -0
- package/dist/semiotic-client-glyph.module.min.js +2 -0
- package/dist/semiotic-client-responsive.module.min.js +2 -0
- package/dist/semiotic-client-shared.module.min.js +2 -0
- package/dist/semiotic-custom-layout-selection-cjs-shared.min.js +2 -0
- package/dist/semiotic-data.min.js +1 -1
- package/dist/semiotic-data.module.min.js +1 -1
- package/dist/semiotic-experimental-auxiliary.module.min.js +2 -0
- package/dist/semiotic-experimental-node-auxiliary.module.min.js +2 -0
- package/dist/semiotic-experimental-node.module.min.js +2 -0
- package/dist/semiotic-experimental-react-shared.module.min.js +2 -0
- package/dist/semiotic-experimental-vacp.min.js +1 -1
- package/dist/semiotic-experimental-vacp.module.min.js +1 -1
- package/dist/semiotic-experimental.d.ts +1 -1
- package/dist/semiotic-experimental.min.js +1 -1
- package/dist/semiotic-experimental.module.min.js +1 -1
- package/dist/semiotic-geo.d.ts +4 -1
- package/dist/semiotic-network.d.ts +7 -4
- package/dist/semiotic-ordinal.d.ts +4 -1
- package/dist/semiotic-physics.d.ts +11 -4
- package/dist/semiotic-realtime-core.d.ts +11 -4
- package/dist/semiotic-realtime-core.min.js +2 -1
- package/dist/semiotic-realtime-core.module.min.js +2 -1
- package/dist/semiotic-realtime-react.d.ts +4 -3
- package/dist/semiotic-realtime-react.min.js +1 -1
- package/dist/semiotic-realtime-react.module.min.js +1 -1
- package/dist/semiotic-realtime.d.ts +3 -1
- package/dist/semiotic-recipes-core-cjs-base.min.js +1 -0
- package/dist/semiotic-recipes-core.d.ts +7 -5
- package/dist/semiotic-recipes-core.min.js +9 -1
- package/dist/semiotic-recipes-core.module.min.js +1 -1
- package/dist/semiotic-recipes-geo-cjs.min.js +1 -0
- package/dist/semiotic-recipes-react.min.js +1 -1
- package/dist/semiotic-recipes-react.module.min.js +1 -1
- package/dist/semiotic-recipes.min.js +7 -1
- package/dist/semiotic-recipes.module.min.js +2 -1
- package/dist/semiotic-server-edge-node.module.min.js +1 -0
- package/dist/semiotic-server-edge.d.ts +3 -2
- package/dist/semiotic-server-edge.min.js +1 -1
- package/dist/semiotic-server-edge.module.min.js +1 -1
- package/dist/semiotic-server-node.min.js +1 -1
- package/dist/semiotic-server-node.module.min.js +1 -1
- package/dist/semiotic-server.d.ts +3 -2
- package/dist/semiotic-themes-core.d.ts +5 -48
- package/dist/semiotic-themes-core.min.js +1 -1
- package/dist/semiotic-themes-core.module.min.js +1 -1
- package/dist/semiotic-themes-react.min.js +1 -1
- package/dist/semiotic-themes-react.module.min.js +1 -1
- package/dist/semiotic-themes.min.js +1 -1
- package/dist/semiotic-themes.module.min.js +1 -1
- package/dist/semiotic-utils-core.d.ts +10 -5
- package/dist/semiotic-utils-core.min.js +1 -1
- package/dist/semiotic-utils-core.module.min.js +1 -1
- package/dist/semiotic-utils-react.d.ts +2 -0
- package/dist/semiotic-utils-react.min.js +1 -1
- package/dist/semiotic-utils-react.module.min.js +1 -1
- package/dist/semiotic-utils.min.js +2 -1
- package/dist/semiotic-utils.module.min.js +2 -1
- package/dist/semiotic-value.min.js +1 -1
- package/dist/semiotic-value.module.min.js +1 -1
- package/dist/semiotic-xy.d.ts +4 -1
- package/dist/semiotic.d.ts +68 -26
- 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 +53 -19
- package/dist/__tests__/scenarios/mcpProtocolTypes.d.ts +0 -20
- package/dist/chunk-OrdinalBrushOverlay-PXHQYDB2.module.min.js +0 -2
- package/dist/chunk-XYBrushOverlay-ECZJJLAJ.module.min.js +0 -1
- package/dist/chunk-XYBrushOverlay-EP2SV3UI.module.min.js +0 -2
- package/dist/chunk-chartContainerDataAudit-IQ3NBN3Q.module.min.js +0 -2
- package/dist/chunk-chunk-2B3AIKUZ.module.min.js +0 -2
- package/dist/chunk-chunk-2CXCXRB4.module.min.js +0 -1
- package/dist/chunk-chunk-2X3FJCME.module.min.js +0 -1
- package/dist/chunk-chunk-2ZHHWZQM.module.min.js +0 -2
- package/dist/chunk-chunk-4ITOQRXM.module.min.js +0 -2
- package/dist/chunk-chunk-5UKL5W76.module.min.js +0 -2
- package/dist/chunk-chunk-5VVNW5AZ.module.min.js +0 -1
- package/dist/chunk-chunk-5ZON5NMV.module.min.js +0 -2
- package/dist/chunk-chunk-66PCWJUG.module.min.js +0 -1
- package/dist/chunk-chunk-6S3YGYW7.module.min.js +0 -1
- package/dist/chunk-chunk-6V5VQVCT.module.min.js +0 -2
- package/dist/chunk-chunk-7C5EDZ3Z.module.min.js +0 -2
- package/dist/chunk-chunk-A3I4HBD5.module.min.js +0 -1
- package/dist/chunk-chunk-ACLDBMRH.module.min.js +0 -2
- package/dist/chunk-chunk-AFQHURLO.module.min.js +0 -2
- package/dist/chunk-chunk-DDB4TLQG.module.min.js +0 -2
- package/dist/chunk-chunk-DTH3SUOU.module.min.js +0 -2
- package/dist/chunk-chunk-DTSNLGRK.module.min.js +0 -2
- package/dist/chunk-chunk-DVCWU7MT.module.min.js +0 -2
- package/dist/chunk-chunk-FEPXDKJP.module.min.js +0 -1
- package/dist/chunk-chunk-FJ76HWQZ.module.min.js +0 -1
- package/dist/chunk-chunk-FSIHAW6L.module.min.js +0 -2
- package/dist/chunk-chunk-G2RGVEYY.module.min.js +0 -2
- package/dist/chunk-chunk-G75OPF5N.module.min.js +0 -2
- package/dist/chunk-chunk-HADHLMY5.module.min.js +0 -1
- package/dist/chunk-chunk-HAJVODLO.module.min.js +0 -2
- package/dist/chunk-chunk-HBFA4NN6.module.min.js +0 -1
- package/dist/chunk-chunk-HIV7AW2V.module.min.js +0 -2
- package/dist/chunk-chunk-IY7RYD4S.module.min.js +0 -1
- package/dist/chunk-chunk-J3QOW4OE.module.min.js +0 -0
- package/dist/chunk-chunk-J3XWETBJ.module.min.js +0 -2
- package/dist/chunk-chunk-JZAMMSQQ.module.min.js +0 -2
- package/dist/chunk-chunk-KTWEBFMX.module.min.js +0 -2
- package/dist/chunk-chunk-LSJUXBMF.module.min.js +0 -1
- package/dist/chunk-chunk-MXMRXSCI.module.min.js +0 -2
- package/dist/chunk-chunk-MXVBXFKW.module.min.js +0 -2
- package/dist/chunk-chunk-NWIGA3UK.module.min.js +0 -1
- package/dist/chunk-chunk-OFAP623Y.module.min.js +0 -2
- package/dist/chunk-chunk-OHLRAEQZ.module.min.js +0 -2
- package/dist/chunk-chunk-OZK46A5U.module.min.js +0 -1
- package/dist/chunk-chunk-PMR47KRY.module.min.js +0 -2
- package/dist/chunk-chunk-PRNXOCYZ.module.min.js +0 -2
- package/dist/chunk-chunk-Q2YADC2V.module.min.js +0 -2
- package/dist/chunk-chunk-RLKZVJMQ.module.min.js +0 -2
- package/dist/chunk-chunk-ROP4HI7H.module.min.js +0 -2
- package/dist/chunk-chunk-SK2TQMG4.module.min.js +0 -2
- package/dist/chunk-chunk-SKLYXNYW.module.min.js +0 -2
- package/dist/chunk-chunk-TCMHJWFJ.module.min.js +0 -1
- package/dist/chunk-chunk-TSCFL235.module.min.js +0 -1
- package/dist/chunk-chunk-U4NZCU5T.module.min.js +0 -2
- package/dist/chunk-chunk-U66USBWU.module.min.js +0 -1
- package/dist/chunk-chunk-UOQRPGPK.module.min.js +0 -2
- package/dist/chunk-chunk-VKL6DI43.module.min.js +0 -2
- package/dist/chunk-chunk-W62673ZE.module.min.js +0 -1
- package/dist/chunk-chunk-WFHZHWT7.module.min.js +0 -1
- package/dist/chunk-chunk-XCC25CZZ.module.min.js +0 -2
- package/dist/chunk-chunk-XECNOUZY.module.min.js +0 -2
- package/dist/chunk-chunk-XYZDTYAF.module.min.js +0 -2
- package/dist/chunk-chunk-YHNZCPOZ.module.min.js +0 -2
- package/dist/chunk-chunk-YWZB3KPI.module.min.js +0 -2
- package/dist/chunk-statisticalOverlays-HMYYSGPE.module.min.js +0 -2
- package/dist/components/stream/test-utils/frameScheduler.d.ts +0 -12
- package/dist/components/stream/test-utils/revisionConsumption.d.ts +0 -13
- package/dist/test-utils/canvasMock.d.ts +0 -86
- package/dist/test-utils/capturedFrameProps.d.ts +0 -67
- package/dist/test-utils/frameMock.d.ts +0 -81
- package/dist/test-utils/ordinalFixtures.d.ts +0 -48
- /package/dist/{chunk-chunk-JJ2OOIET.module.min.js → c-GGISSW5E.min.js} +0 -0
- /package/dist/{chunk-chunk-SIRIJ3DY.module.min.js → c-N4G2L7ID.min.js} +0 -0
- /package/dist/{chunk-chunk-CA3YDW6F.module.min.js → c-S6U5CGT5.min.js} +0 -0
- /package/dist/components/recipes/{mobileAnnotationStrategy.d.ts → mobileAnnotationBehavior.d.ts} +0 -0
|
@@ -6,12 +6,14 @@
|
|
|
6
6
|
* in any chart type bundles. Import from "semiotic/utils" instead of
|
|
7
7
|
* "semiotic" to keep bundle size minimal.
|
|
8
8
|
*/
|
|
9
|
-
export type { SemioticTheme } from "./store/
|
|
10
|
-
export { LIGHT_THEME, DARK_THEME, HIGH_CONTRAST_THEME, COLOR_BLIND_SAFE_CATEGORICAL, } from "./store/
|
|
11
|
-
export { themeToCSS, themeToTokens, resolveThemePreset, THEME_PRESETS, CARBON_CATEGORICAL_14, CARBON_ALERT, } from "./semiotic-themes";
|
|
12
|
-
export type { ThemePresetName } from "./semiotic-themes";
|
|
9
|
+
export type { SemioticTheme } from "./store/themeCore";
|
|
10
|
+
export { LIGHT_THEME, DARK_THEME, HIGH_CONTRAST_THEME, COLOR_BLIND_SAFE_CATEGORICAL, } from "./store/themeCore";
|
|
11
|
+
export { themeToCSS, themeToCSSVariables, themeToTokens, resolveThemePreset, THEME_PRESETS, CARBON_CATEGORICAL_14, CARBON_ALERT, } from "./semiotic-themes-core";
|
|
12
|
+
export type { KnownThemePresetName, ThemePresetName } from "./semiotic-themes-core";
|
|
13
13
|
export { adaptiveTimeTicks, smartTickFormat } from "./charts/shared/formatUtils";
|
|
14
14
|
export type { AdaptiveTimeTickOptions, TimeGranularity } from "./charts/shared/formatUtils";
|
|
15
|
+
export { resolveResponsiveDimension } from "./stream/responsiveSize";
|
|
16
|
+
export type { ResponsiveSizeOptions } from "./stream/responsiveSize";
|
|
15
17
|
export { darkenColor, lightenColor } from "./charts/shared/colorManipulation";
|
|
16
18
|
export { createHatchPattern } from "./charts/shared/hatchPattern";
|
|
17
19
|
export type { HatchPatternOptions } from "./charts/shared/hatchPattern";
|
|
@@ -24,6 +26,8 @@ export { diagnoseConfig } from "./charts/shared/diagnoseConfig";
|
|
|
24
26
|
export { auditData, formatDataAudit, profileNumericFields, toDataAuditNotifications, } from "./data/auditData";
|
|
25
27
|
export type { AuditDataOptions, CheckedNumericContract, DataAuditChartNotification, DataAuditDiagnosis, DataAuditNotificationOptions, DataAuditResult, NumericFieldProfile, ProfileNumericFieldsOptions, } from "./data/auditData";
|
|
26
28
|
export type { NumericAggregateContract, NumericContracts, NumericFieldContract, NumericFieldRole, NumericRequirement, } from "./data/numericContracts";
|
|
29
|
+
export { evaluateChart, formatEvaluateChart, toEvaluateChartNotifications, } from "./ai/evaluateChart";
|
|
30
|
+
export type { EvaluateChartFinding, EvaluateChartNotification, EvaluateChartOptions, EvaluateChartResult, EvaluateChartSeverity, EvaluateChartStage, EvaluateChartSummary, } from "./ai/evaluateChart";
|
|
27
31
|
export { auditAccessibility, formatAccessibilityAudit, accessibilityCaveats } from "./charts/shared/auditAccessibility";
|
|
28
32
|
export { auditMobileVisualization, formatMobileVisualizationAudit, mobileVisualizationCaveats } from "./charts/shared/auditMobileVisualization";
|
|
29
33
|
export { responsiveRuleMatches, resolveResponsiveRules } from "./charts/shared/responsiveRules";
|
|
@@ -49,6 +53,7 @@ export { fromVegaLite } from "./data/fromVegaLite";
|
|
|
49
53
|
export type { VegaLiteSpec, VegaLiteEncoding } from "./data/fromVegaLite";
|
|
50
54
|
export { RingBuffer } from "./realtime/RingBuffer";
|
|
51
55
|
export { IncrementalExtent } from "./realtime/IncrementalExtent";
|
|
52
|
-
export {
|
|
56
|
+
export { Tooltip, TooltipRoot, MultiLineTooltip, MultiPointTooltip, normalizeTooltip, resolveTooltipContent, resolveMultiCapableTooltip, isMultiTooltip, hasOwnTooltipChrome, markTooltipChrome, } from "./Tooltip/Tooltip";
|
|
57
|
+
export type { TooltipProp, TooltipConfig, TooltipField, MultiLineTooltipConfig, MultiTooltipConfig, TooltipRootProps, TooltipChromeMode, } from "./Tooltip/Tooltip";
|
|
53
58
|
export { sweepToAngles, valueToAngle, computeArcBoundingBox, } from "./charts/shared/radialGeometry";
|
|
54
59
|
export type { SweepAngles, ArcBoundingBox } from "./charts/shared/radialGeometry";
|
|
@@ -3,3 +3,5 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export { ThemeProvider, useTheme } from "./ThemeProvider";
|
|
5
5
|
export { useReducedMotion, useHighContrast } from "./stream/useMediaPreferences";
|
|
6
|
+
export { useResponsiveSize, resolveResponsiveDimension, } from "./stream/useResponsiveSize";
|
|
7
|
+
export type { ResponsiveSizeOptions } from "./stream/useResponsiveSize";
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import StreamXYFrame from "./stream/StreamXYFrame";
|
|
6
6
|
export { StreamXYFrame };
|
|
7
|
+
export { Tooltip, TooltipRoot, MultiLineTooltip, MultiPointTooltip, markTooltipChrome, } from "./Tooltip/Tooltip";
|
|
8
|
+
export type { TooltipProp, TooltipConfig, TooltipField, MultiLineTooltipConfig, MultiTooltipConfig, TooltipRootProps, TooltipChromeMode, } from "./Tooltip/Tooltip";
|
|
7
9
|
export { LineChart } from "./charts/xy/LineChart";
|
|
8
10
|
export { BumpChart, rankBumpData } from "./charts/xy/BumpChart";
|
|
9
11
|
export { AreaChart } from "./charts/xy/AreaChart";
|
|
@@ -21,6 +23,7 @@ export { CandlestickChart } from "./charts/xy/CandlestickChart";
|
|
|
21
23
|
export { XYCustomChart } from "./charts/custom/XYCustomChart";
|
|
22
24
|
export { responsiveRuleMatches, resolveResponsiveRules } from "./charts/shared/responsiveRules";
|
|
23
25
|
export type { ResponsiveOrientation, ResponsiveRuleCondition, ResponsiveRuleContext, ResponsiveRule, ResponsiveRuleMatch, ResponsiveRuleResult, } from "./charts/shared/responsiveRules";
|
|
26
|
+
export type { FrameTextAnnotation, FrameTextPosition, } from "./charts/shared/frameTextAnnotation";
|
|
24
27
|
export { useCustomLayoutSelection } from "./stream/customLayoutSelection";
|
|
25
28
|
export type { CustomLayoutSelection } from "./stream/customLayoutSelection";
|
|
26
29
|
export type { CustomLayoutFailureDiagnostic, CustomLayoutFailureRecovery, CustomLayoutFamily } from "./stream/customLayoutFailure";
|
|
@@ -28,7 +31,7 @@ export { hitTargetPoint, hitTargetRect, DEFAULT_HIT_RADIUS } from "./stream/hitT
|
|
|
28
31
|
export type { HitTargetPointProps, HitTargetRectProps } from "./stream/hitTarget";
|
|
29
32
|
export { glyphPlacement, glyphExtent } from "./stream/glyphDef";
|
|
30
33
|
export type { GlyphDef, GlyphPart } from "./stream/glyphDef";
|
|
31
|
-
export type { GlyphSceneNode, SceneAccessibilityMetadata } from "./stream/types";
|
|
34
|
+
export type { GlyphSceneNode, SceneAccessibilityMetadata, Style } from "./stream/types";
|
|
32
35
|
export type { CategoricalLegendConfig, GradientLegendConfig, GradientLegendValue, LegendGroup, LegendItem, LegendLayout, LegendValue, } from "./types/legendTypes";
|
|
33
36
|
export type { StreamXYFrameProps, StreamXYFrameHandle } from "./stream/types";
|
|
34
37
|
export type { CustomLayout, LayoutContext, LayoutResult } from "./stream/customLayout";
|
|
@@ -1,7 +1,47 @@
|
|
|
1
1
|
import StreamXYFrame from "./stream/StreamXYFrame";
|
|
2
2
|
import StreamOrdinalFrame from "./stream/StreamOrdinalFrame";
|
|
3
3
|
import StreamNetworkFrame from "./stream/StreamNetworkFrame";
|
|
4
|
-
import { Scatterplot
|
|
4
|
+
import { Scatterplot } from "./charts/xy/Scatterplot";
|
|
5
|
+
import { ConnectedScatterplot } from "./charts/xy/ConnectedScatterplot";
|
|
6
|
+
import { LineChart } from "./charts/xy/LineChart";
|
|
7
|
+
import { BumpChart, rankBumpData } from "./charts/xy/BumpChart";
|
|
8
|
+
import { AreaChart } from "./charts/xy/AreaChart";
|
|
9
|
+
import { DifferenceChart } from "./charts/xy/DifferenceChart";
|
|
10
|
+
import { StackedAreaChart } from "./charts/xy/StackedAreaChart";
|
|
11
|
+
import { Heatmap } from "./charts/xy/Heatmap";
|
|
12
|
+
import { BubbleChart } from "./charts/xy/BubbleChart";
|
|
13
|
+
import { ScatterplotMatrix } from "./charts/xy/ScatterplotMatrix";
|
|
14
|
+
import { MinimapChart } from "./charts/xy/MinimapChart";
|
|
15
|
+
import { QuadrantChart } from "./charts/xy/QuadrantChart";
|
|
16
|
+
import { MultiAxisLineChart } from "./charts/xy/MultiAxisLineChart";
|
|
17
|
+
import { CandlestickChart } from "./charts/xy/CandlestickChart";
|
|
18
|
+
import { BarChart } from "./charts/ordinal/BarChart";
|
|
19
|
+
import { StackedBarChart } from "./charts/ordinal/StackedBarChart";
|
|
20
|
+
import { LikertChart } from "./charts/ordinal/LikertChart";
|
|
21
|
+
import { SwarmPlot } from "./charts/ordinal/SwarmPlot";
|
|
22
|
+
import { BoxPlot } from "./charts/ordinal/BoxPlot";
|
|
23
|
+
import { Histogram } from "./charts/ordinal/Histogram";
|
|
24
|
+
import { ViolinPlot } from "./charts/ordinal/ViolinPlot";
|
|
25
|
+
import { RidgelinePlot } from "./charts/ordinal/RidgelinePlot";
|
|
26
|
+
import { DotPlot } from "./charts/ordinal/DotPlot";
|
|
27
|
+
import { PieChart } from "./charts/ordinal/PieChart";
|
|
28
|
+
import { DonutChart } from "./charts/ordinal/DonutChart";
|
|
29
|
+
import { GaugeChart } from "./charts/ordinal/GaugeChart";
|
|
30
|
+
import { GroupedBarChart } from "./charts/ordinal/GroupedBarChart";
|
|
31
|
+
import { FunnelChart } from "./charts/ordinal/FunnelChart";
|
|
32
|
+
import { SwimlaneChart } from "./charts/ordinal/SwimlaneChart";
|
|
33
|
+
import { ForceDirectedGraph } from "./charts/network/ForceDirectedGraph";
|
|
34
|
+
import { ChordDiagram } from "./charts/network/ChordDiagram";
|
|
35
|
+
import { SankeyDiagram } from "./charts/network/SankeyDiagram";
|
|
36
|
+
import { ProcessSankey } from "./charts/network/ProcessSankey";
|
|
37
|
+
import { TreeDiagram } from "./charts/network/TreeDiagram";
|
|
38
|
+
import { Treemap } from "./charts/network/Treemap";
|
|
39
|
+
import { CirclePack } from "./charts/network/CirclePack";
|
|
40
|
+
import { OrbitDiagram } from "./charts/network/OrbitDiagram";
|
|
41
|
+
import { XYCustomChart } from "./charts/custom/XYCustomChart";
|
|
42
|
+
import { NetworkCustomChart } from "./charts/custom/NetworkCustomChart";
|
|
43
|
+
import { OrdinalCustomChart } from "./charts/custom/OrdinalCustomChart";
|
|
44
|
+
import { responsiveRuleMatches, resolveResponsiveRules } from "./charts/shared/responsiveRules";
|
|
5
45
|
import { LinkedCharts } from "./LinkedCharts";
|
|
6
46
|
import { ThemeProvider, useTheme } from "./ThemeProvider";
|
|
7
47
|
import { exportChart } from "./export/exportChart";
|
|
@@ -20,7 +60,8 @@ import { ContextLayout } from "./ContextLayout";
|
|
|
20
60
|
import { CircularBrush } from "./CircularBrush";
|
|
21
61
|
import { DirectManipulationControl, VISUALIZATION_CONTROL_TYPES } from "./DirectManipulationControl";
|
|
22
62
|
import { DetailsPanel } from "./DetailsPanel";
|
|
23
|
-
import {
|
|
63
|
+
import { ObservationReadout, observedDatum } from "./ObservationReadout";
|
|
64
|
+
import { Tooltip, TooltipRoot, MultiLineTooltip, MultiPointTooltip, normalizeTooltip, resolveTooltipContent, resolveMultiCapableTooltip, isMultiTooltip, hasOwnTooltipChrome, markTooltipChrome } from "./Tooltip/Tooltip";
|
|
24
65
|
import { RingBuffer } from "./realtime/RingBuffer";
|
|
25
66
|
import { IncrementalExtent } from "./realtime/IncrementalExtent";
|
|
26
67
|
import { RealtimeLineChart } from "./charts/realtime/RealtimeLineChart";
|
|
@@ -28,18 +69,18 @@ import { RealtimeTemporalHistogram, RealtimeHistogram, TemporalHistogram } from
|
|
|
28
69
|
import { RealtimeSwarmChart } from "./charts/realtime/RealtimeSwarmChart";
|
|
29
70
|
import { RealtimeWaterfallChart } from "./charts/realtime/RealtimeWaterfallChart";
|
|
30
71
|
import { RealtimeHeatmap } from "./charts/realtime/RealtimeHeatmap";
|
|
31
|
-
export { StreamXYFrame, StreamOrdinalFrame, StreamNetworkFrame, Scatterplot, ConnectedScatterplot, LineChart, BumpChart, rankBumpData, AreaChart, DifferenceChart, StackedAreaChart, Heatmap, BubbleChart, BarChart, StackedBarChart, LikertChart, SwarmPlot, BoxPlot, Histogram, ViolinPlot, RidgelinePlot, DotPlot, ForceDirectedGraph, ChordDiagram, SankeyDiagram, ProcessSankey, TreeDiagram, PieChart, DonutChart, GaugeChart, FunnelChart, GroupedBarChart, SwimlaneChart, Treemap, CirclePack, OrbitDiagram, ScatterplotMatrix, MinimapChart, QuadrantChart, MultiAxisLineChart, CandlestickChart, XYCustomChart, NetworkCustomChart, OrdinalCustomChart, LinkedCharts, ThemeProvider, useTheme, exportChart, toConfig, fromConfig, toURL, fromURL, copyConfig, configToJSX, serializeSelections, deserializeSelections, fromVegaLite, ChartErrorBoundary, ChartContainer, MobileChartContainer, SmallMultipleChart, MobileStandardControls, clampMobileRange, useMobileRangeControls, zoomMobileRange, ChartGrid, CategoryColorProvider, useCategoryColors, ContextLayout, CircularBrush, DirectManipulationControl, VISUALIZATION_CONTROL_TYPES, DetailsPanel, Tooltip, MultiLineTooltip, MultiPointTooltip, normalizeTooltip, resolveMultiCapableTooltip, isMultiTooltip, RingBuffer, IncrementalExtent, RealtimeLineChart, RealtimeTemporalHistogram, RealtimeHistogram, TemporalHistogram, RealtimeSwarmChart, RealtimeWaterfallChart, RealtimeHeatmap, createHatchPattern, responsiveRuleMatches, resolveResponsiveRules };
|
|
32
|
-
export type { CategoricalLegendConfig, GradientLegendConfig, GradientLegendValue, LegendGroup, LegendItem, LegendLayout, LegendValue
|
|
72
|
+
export { StreamXYFrame, StreamOrdinalFrame, StreamNetworkFrame, Scatterplot, ConnectedScatterplot, LineChart, BumpChart, rankBumpData, AreaChart, DifferenceChart, StackedAreaChart, Heatmap, BubbleChart, BarChart, StackedBarChart, LikertChart, SwarmPlot, BoxPlot, Histogram, ViolinPlot, RidgelinePlot, DotPlot, ForceDirectedGraph, ChordDiagram, SankeyDiagram, ProcessSankey, TreeDiagram, PieChart, DonutChart, GaugeChart, FunnelChart, GroupedBarChart, SwimlaneChart, Treemap, CirclePack, OrbitDiagram, ScatterplotMatrix, MinimapChart, QuadrantChart, MultiAxisLineChart, CandlestickChart, XYCustomChart, NetworkCustomChart, OrdinalCustomChart, LinkedCharts, ThemeProvider, useTheme, exportChart, toConfig, fromConfig, toURL, fromURL, copyConfig, configToJSX, serializeSelections, deserializeSelections, fromVegaLite, ChartErrorBoundary, ChartContainer, MobileChartContainer, SmallMultipleChart, MobileStandardControls, clampMobileRange, useMobileRangeControls, zoomMobileRange, ChartGrid, CategoryColorProvider, useCategoryColors, ContextLayout, CircularBrush, DirectManipulationControl, VISUALIZATION_CONTROL_TYPES, DetailsPanel, ObservationReadout, observedDatum, Tooltip, TooltipRoot, MultiLineTooltip, MultiPointTooltip, normalizeTooltip, resolveTooltipContent, resolveMultiCapableTooltip, isMultiTooltip, hasOwnTooltipChrome, markTooltipChrome, RingBuffer, IncrementalExtent, RealtimeLineChart, RealtimeTemporalHistogram, RealtimeHistogram, TemporalHistogram, RealtimeSwarmChart, RealtimeWaterfallChart, RealtimeHeatmap, createHatchPattern, responsiveRuleMatches, resolveResponsiveRules };
|
|
73
|
+
export type { CategoricalLegendConfig, GradientLegendConfig, GradientLegendValue, LegendGroup, LegendItem, LegendLayout, LegendValue } from "./types/legendTypes";
|
|
33
74
|
export type { DirectManipulationControlProps, VisualizationControlType } from "./DirectManipulationControl";
|
|
34
|
-
export { createControlObservationAdapter
|
|
75
|
+
export { createControlObservationAdapter } from "./controls/controlContract";
|
|
35
76
|
export { auditVisualizationControls } from "./controls/controlAudit";
|
|
36
|
-
export type { ControlInputSource, ControlObservation, ControlObservationAdapterOptions, ControlObservationCallback, ControlObservationPhase, VisualizationControlDefinition, VisualizationControlValue
|
|
37
|
-
export type { AuditVisualizationControlsOptions, ControlAuditFinding, ControlAuditResult, ControlAuditStatus
|
|
38
|
-
export type { ScatterplotProps, ConnectedScatterplotProps, LineChartProps, BumpChartProps, RankedBumpData, RankedBumpDatum, RankBumpDataOptions, AreaChartProps, SemanticGradientStop, GradientConfig, GradientStop, SemanticGradientInput, DifferenceChartProps, StackedAreaChartProps, HeatmapProps, BubbleChartProps, BarChartProps, StackedBarChartProps, LikertChartProps, SwarmPlotProps, BoxPlotProps, HistogramProps, ViolinPlotProps, DotPlotProps, PieChartProps, DonutChartProps, GaugeChartProps, GaugeThreshold, FunnelChartProps, GroupedBarChartProps, SwimlaneChartProps, RidgelinePlotProps, OrbitDiagramProps, OrbitNode, ForceDirectedGraphProps, ChordDiagramProps, SankeyDiagramProps, ProcessSankeyProps, ProcessSankeyTick, TreeDiagramProps, TreemapProps, CirclePackProps, ScatterplotMatrixProps, MinimapChartProps, MinimapConfig, QuadrantChartProps, MultiAxisLineChartProps, MultiAxisSeriesConfig, CandlestickChartProps, QuadrantsConfig, QuadrantsConfigOverride, QuadrantConfig, CenterlineStyle, BaseChartProps, AxisConfig, Accessor, ChartAccessor, ChartMode, MobileClearSelectionBehavior, MobileSnapBehavior, MobileInteractionConfig, MobileInteractionProp, ResolvedMobileInteractionConfig, ResponsiveOrientation, ResponsiveRuleCondition, ResponsiveRuleContext, ResponsiveRule, ResponsiveRuleMatch, ResponsiveRuleResult } from "./charts";
|
|
39
|
-
export type { StreamXYFrameProps, StreamXYFrameHandle, StreamChartType, RuntimeMode, SceneNode, SceneAccessibilityMetadata, Changeset, StreamScales, StreamLayout, CurveType, CanvasRendererFn, XYFrameAxisConfig, BandConfig } from "./stream/types";
|
|
77
|
+
export type { ControlInputSource, ControlObservation, ControlObservationAdapterOptions, ControlObservationCallback, ControlObservationPhase, VisualizationControlDefinition, VisualizationControlValue } from "./controls/controlContract";
|
|
78
|
+
export type { AuditVisualizationControlsOptions, ControlAuditFinding, ControlAuditResult, ControlAuditStatus } from "./controls/controlAudit";
|
|
79
|
+
export type { ScatterplotProps, ConnectedScatterplotProps, LineChartProps, BumpChartProps, RankedBumpData, RankedBumpDatum, RankBumpDataOptions, AreaChartProps, SemanticGradientStop, GradientConfig, GradientStop, SemanticGradientInput, DifferenceChartProps, StackedAreaChartProps, HeatmapProps, BubbleChartProps, BarChartProps, StackedBarChartProps, LikertChartProps, SwarmPlotProps, BoxPlotProps, HistogramProps, ViolinPlotProps, DotPlotProps, PieChartProps, DonutChartProps, GaugeChartProps, GaugeThreshold, FunnelChartProps, GroupedBarChartProps, SwimlaneChartProps, RidgelinePlotProps, OrbitDiagramProps, OrbitNode, ForceDirectedGraphProps, ChordDiagramProps, SankeyDiagramProps, ProcessSankeyProps, ProcessSankeyTick, TreeDiagramProps, TreemapProps, CirclePackProps, ScatterplotMatrixProps, MinimapChartProps, MinimapConfig, QuadrantChartProps, MultiAxisLineChartProps, MultiAxisSeriesConfig, CandlestickChartProps, QuadrantsConfig, QuadrantsConfigOverride, QuadrantConfig, CenterlineStyle, BaseChartProps, AxisConfig, Accessor, ChartAccessor, ChartMode, MobileClearSelectionBehavior, MobileSnapBehavior, MobileInteractionConfig, MobileInteractionProp, ResolvedMobileInteractionConfig, FrameTextAnnotation, FrameTextPosition, ResponsiveOrientation, ResponsiveRuleCondition, ResponsiveRuleContext, ResponsiveRule, ResponsiveRuleMatch, ResponsiveRuleResult } from "./charts";
|
|
80
|
+
export type { StreamXYFrameProps, StreamXYFrameHandle, StreamChartType, RuntimeMode, Style, SceneNode, SceneAccessibilityMetadata, Changeset, StreamScales, StreamLayout, CurveType, CanvasRendererFn, XYFrameAxisConfig, BandConfig } from "./stream/types";
|
|
40
81
|
export type { StreamRendererFn } from "./stream/renderers/types";
|
|
41
82
|
export type { StreamOrdinalFrameProps, StreamOrdinalFrameHandle, OrdinalChartType, OrdinalScales, OrdinalSceneNode } from "./stream/ordinalTypes";
|
|
42
|
-
export type { StreamNetworkFrameProps, StreamNetworkFrameHandle, NetworkChartType, NetworkSceneNode, NetworkSceneEdge, NetworkLabel, ThresholdAlertConfig } from "./stream/networkTypes";
|
|
83
|
+
export type { StreamNetworkFrameProps, StreamNetworkFrameHandle, NetworkChartType, NetworkSceneNode, NetworkSceneEdge, NetworkMarkStyle, NetworkLabel, ThresholdAlertConfig } from "./stream/networkTypes";
|
|
43
84
|
export type { SelectionConfig, LinkedHoverProp, LinkedBrushProp } from "./charts/shared/types";
|
|
44
85
|
export type { LinkedChartsProps, LegendInteractionMode } from "./LinkedCharts";
|
|
45
86
|
export type { CircularBrushProps, CircularBrushValue } from "./CircularBrush";
|
|
@@ -47,8 +88,8 @@ export { useSelection, useSelectionActions, useLinkedHover, useBrushSelection, u
|
|
|
47
88
|
export { useCustomLayoutSelection } from "./stream/customLayoutSelection";
|
|
48
89
|
export { useForceLayout } from "./charts/network/useForceLayout";
|
|
49
90
|
export type { ForceLayoutStatus, UseForceLayoutResult } from "./charts/network/useForceLayout";
|
|
50
|
-
export { inventoryAtTime, toProcessSankeyTime, validateProcessSankey, formatProcessSankeyIssue, diagnoseProcessSankeyLayout, diagnoseProcessSankeyProps, explainProcessSankeyLayout
|
|
51
|
-
export type { InventoryEdge, InventoryAtTimeOptions, ProcessSankeyTimeLike, ProcessSankeyIssue
|
|
91
|
+
export { inventoryAtTime, toProcessSankeyTime, validateProcessSankey, formatProcessSankeyIssue, diagnoseProcessSankeyLayout, diagnoseProcessSankeyProps, explainProcessSankeyLayout } from "./charts/network/processSankey/algorithm";
|
|
92
|
+
export type { InventoryEdge, InventoryAtTimeOptions, ProcessSankeyTimeLike, ProcessSankeyIssue } from "./charts/network/processSankey/algorithm";
|
|
52
93
|
export type { CustomLayoutSelection } from "./stream/customLayoutSelection";
|
|
53
94
|
export type { CustomLayoutFailureDiagnostic, CustomLayoutFailureRecovery, CustomLayoutFamily } from "./stream/customLayoutFailure";
|
|
54
95
|
export type { UseSelectionOptions, UseSelectionResult, UseSelectionActionsResult, UseLinkedHoverOptions, UseLinkedHoverResult, UseBrushSelectionOptions, UseBrushSelectionResult } from "./LinkedCharts";
|
|
@@ -60,9 +101,9 @@ export type { ChartAnnotation, AnnotationActivationEvent, OnAnnotationActivateCa
|
|
|
60
101
|
export type { ResolutionMode, SelectionClause, Selection } from "./store/SelectionStore";
|
|
61
102
|
export type { SemioticTheme } from "./ThemeProvider";
|
|
62
103
|
export { LIGHT_THEME, DARK_THEME, HIGH_CONTRAST_THEME } from "./ThemeProvider";
|
|
63
|
-
export { COLOR_BLIND_SAFE_CATEGORICAL } from "./store/
|
|
64
|
-
export { themeToCSS, themeToTokens, resolveThemePreset, THEME_PRESETS, CARBON_CATEGORICAL_14, CARBON_ALERT } from "./semiotic-themes";
|
|
65
|
-
export type { ThemePresetName } from "./semiotic-themes";
|
|
104
|
+
export { COLOR_BLIND_SAFE_CATEGORICAL } from "./store/themeCore";
|
|
105
|
+
export { themeToCSS, themeToCSSVariables, themeToTokens, resolveThemePreset, THEME_PRESETS, CARBON_CATEGORICAL_14, CARBON_ALERT } from "./semiotic-themes-core";
|
|
106
|
+
export type { KnownThemePresetName, ThemePresetName } from "./semiotic-themes-core";
|
|
66
107
|
export type { ChartErrorBoundaryProps } from "./ChartErrorBoundary";
|
|
67
108
|
export { AccessibleNavTree } from "./AccessibleNavTree";
|
|
68
109
|
export type { AccessibleNavTreeProps } from "./AccessibleNavTree";
|
|
@@ -74,40 +115,41 @@ export { intentManifestFromRecipe, summarizeIntentManifest } from "./ai/intentMa
|
|
|
74
115
|
export type { IntentManifest, IntentManifestFromRecipeOptions } from "./ai/intentManifest";
|
|
75
116
|
export { useNavigationSync } from "./ai/useNavigationSync";
|
|
76
117
|
export type { UseNavigationSyncOptions, UseNavigationSyncResult } from "./ai/useNavigationSync";
|
|
77
|
-
export type { ChartContainerProps, ChartContainerHandle, ChartContainerDataAudit, ChartContainerDataAuditOptions, ChartContainerMobileOptions, ChartNotification, ChartNotificationLevel
|
|
78
|
-
export type { MobileChartChip, MobileChartContainerProps, MobileChartDetailMode
|
|
79
|
-
export type { MobileStandardBrushControls, MobileStandardControlKind, MobileStandardControlLegendItem, MobileStandardControlRequest, MobileStandardControlsMode, MobileStandardControlsProps, MobileStandardLegendControls, MobileStandardZoomControls, UseMobileRangeControlsOptions, UseMobileRangeControlsResult
|
|
118
|
+
export type { ChartContainerProps, ChartContainerHandle, ChartContainerDataAudit, ChartContainerDataAuditOptions, ChartContainerMobileOptions, ChartNotification, ChartNotificationLevel } from "./ChartContainer";
|
|
119
|
+
export type { MobileChartChip, MobileChartContainerProps, MobileChartDetailMode } from "./MobileChartContainer";
|
|
120
|
+
export type { MobileStandardBrushControls, MobileStandardControlKind, MobileStandardControlLegendItem, MobileStandardControlRequest, MobileStandardControlsMode, MobileStandardControlsProps, MobileStandardLegendControls, MobileStandardZoomControls, UseMobileRangeControlsOptions, UseMobileRangeControlsResult } from "./MobileStandardControls";
|
|
80
121
|
export type { MobileVisualizationContract } from "./charts/shared/auditMobileVisualization";
|
|
81
|
-
export type { SmallMultipleChartProps, SmallMultipleExtent, SmallMultipleItem, SmallMultipleRenderContext, SmallMultipleSharedExtent
|
|
122
|
+
export type { SmallMultipleChartProps, SmallMultipleExtent, SmallMultipleItem, SmallMultipleRenderContext, SmallMultipleSharedExtent } from "./SmallMultipleChart";
|
|
82
123
|
export type { ChartGridProps } from "./ChartGrid";
|
|
83
124
|
export type { CategoryColorMap, CategoryColorProviderProps } from "./CategoryColors";
|
|
84
125
|
export type { ContextLayoutProps } from "./ContextLayout";
|
|
85
126
|
export type { DetailsPanelProps } from "./DetailsPanel";
|
|
127
|
+
export type { ObservationReadoutProps } from "./ObservationReadout";
|
|
86
128
|
export type { ChartConfig, ToConfigOptions, CopyFormat } from "./export/chartConfig";
|
|
87
129
|
export type { VegaLiteSpec, VegaLiteEncoding } from "./data/fromVegaLite";
|
|
88
130
|
export type { SerializedSelections, SerializedSelection, SerializedFieldSelection } from "./export/selectionSerializer";
|
|
89
131
|
export type { HatchPatternOptions } from "./charts/shared/hatchPattern";
|
|
90
132
|
export { isHatchFill, hatchPatternDef, resolveSvgFill, hatchFillId } from "./charts/shared/hatchFill";
|
|
91
133
|
export type { HatchFill } from "./charts/shared/hatchFill";
|
|
92
|
-
export { resolveStyleRules, matchesThreshold, ruleMatches, makeRuleValueResolver, makeXYRuleContext, makeNodeRuleContext, composeStyleRules, makeStyleRuleStyleFn, styleRulesToPieceStyle, styleRulesToXYStyle, styleRulesToNodeStyle
|
|
93
|
-
export type { StyleRule, StyleRuleStyle, StyleRuleThreshold, StyleRuleContext, StyleRulePredicate
|
|
134
|
+
export { resolveStyleRules, matchesThreshold, ruleMatches, makeRuleValueResolver, makeXYRuleContext, makeNodeRuleContext, composeStyleRules, makeStyleRuleStyleFn, styleRulesToPieceStyle, styleRulesToXYStyle, styleRulesToNodeStyle } from "./charts/shared/styleRules";
|
|
135
|
+
export type { StyleRule, StyleRuleStyle, StyleRuleThreshold, StyleRuleContext, StyleRulePredicate } from "./charts/shared/styleRules";
|
|
94
136
|
export { AnnotationLabel, estimateLabelWidth } from "./charts/shared/AnnotationLabel";
|
|
95
137
|
export type { AnnotationLabelBackground, AnnotationLabelBackgroundConfig, AnnotationLabelProps } from "./charts/shared/AnnotationLabel";
|
|
96
138
|
export { smartTickFormat, adaptiveTimeTicks } from "./charts/shared/formatUtils";
|
|
97
|
-
export type { AdaptiveTimeTickOptions, TimeGranularity
|
|
139
|
+
export type { AdaptiveTimeTickOptions, TimeGranularity } from "./charts/shared/formatUtils";
|
|
98
140
|
export { darkenColor, lightenColor } from "./charts/shared/colorManipulation";
|
|
99
|
-
export type { TooltipProp, TooltipConfig, TooltipField, MultiLineTooltipConfig, MultiTooltipConfig, } from "./Tooltip/Tooltip";
|
|
141
|
+
export type { TooltipProp, TooltipConfig, TooltipField, MultiLineTooltipConfig, MultiTooltipConfig, TooltipRootProps, TooltipChromeMode } from "./Tooltip/Tooltip";
|
|
100
142
|
export { smartTooltipEntries } from "./charts/shared/tooltipUtils";
|
|
101
143
|
export type { SmartTooltipEntry, SmartTooltipResult } from "./charts/shared/tooltipUtils";
|
|
102
144
|
export type { ArrowOfTime, WindowMode, ThresholdType, LineStyle, BarStyle, WaterfallStyle, SwarmStyle, AnnotationContext, AnnotationAnchorMode, CrosshairStyle, HoverAnnotationConfig, HoverData } from "./realtime/types";
|
|
103
|
-
export type { RealtimeLineChartProps } from "./charts/realtime/RealtimeLineChart";
|
|
145
|
+
export type { RealtimeLineChartHandle, RealtimeLineChartProps } from "./charts/realtime/RealtimeLineChart";
|
|
104
146
|
export type { RealtimeTemporalHistogramProps, RealtimeHistogramProps, TemporalHistogramProps } from "./charts/realtime/RealtimeHistogram";
|
|
105
147
|
export type { RealtimeSwarmChartProps } from "./charts/realtime/RealtimeSwarmChart";
|
|
106
148
|
export type { RealtimeWaterfallChartProps } from "./charts/realtime/RealtimeWaterfallChart";
|
|
107
149
|
export type { RealtimeHeatmapProps } from "./charts/realtime/RealtimeHeatmap";
|
|
108
150
|
export { useSyncedPushData, syncPushBuffer } from "./charts/shared/useSyncedPushData";
|
|
109
|
-
export type { SyncedPushHandle, SyncedPushDataOptions, PushIdAccessor
|
|
110
|
-
export type { AnnotationProvenance, AnnotationSource, AnnotationActorKind, AnnotationBasis, AnnotationLifecycle, AnnotationFreshness, AnnotationStatus, AnnotationAnchor, Annotated
|
|
151
|
+
export type { SyncedPushHandle, SyncedPushDataOptions, PushIdAccessor } from "./charts/shared/useSyncedPushData";
|
|
152
|
+
export type { AnnotationProvenance, AnnotationSource, AnnotationActorKind, AnnotationBasis, AnnotationLifecycle, AnnotationFreshness, AnnotationStatus, AnnotationAnchor, Annotated } from "./ai/annotationProvenance";
|
|
111
153
|
export { MobileAnnotationCalloutList } from "./MobileAnnotationCalloutList";
|
|
112
154
|
export type { MobileAnnotationCalloutListProps } from "./MobileAnnotationCalloutList";
|
|
113
155
|
export { compileMotionEncoding, resolveMotionAccessor, resolveMotionAge, opacityFromAge, resolveMotionVector, deriveMotionVector } from "./charts/shared/motionEncoding";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
|
-
import type { SemioticTheme } from "../store/
|
|
2
|
+
import type { SemioticTheme } from "../store/themeCore";
|
|
3
3
|
import { type PhysicsPipelineConfig, type PhysicsQueuedSpawn, type PhysicsSpawnPacingOptions } from "../stream/physics/PhysicsPipelineStore";
|
|
4
4
|
import { type PhysicsSettledSceneOptions } from "../stream/physics/PhysicsSettledScene";
|
|
5
5
|
export interface AnimatedGifOptions {
|
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
* the point. A config can be valid and still render empty; evidence is how
|
|
16
16
|
* that difference becomes visible to a non-visual caller.
|
|
17
17
|
*/
|
|
18
|
+
import type { SemanticViabilityDiagnostic } from "../ai/chartCapabilityTypes";
|
|
19
|
+
export type SemanticViabilityStatus = "meaningful" | "degraded" | "degenerate" | "not-assessed";
|
|
18
20
|
export interface RenderEvidence {
|
|
19
21
|
/** HOC component name as passed to renderChart. */
|
|
20
22
|
component: string;
|
|
@@ -41,12 +43,26 @@ export interface RenderEvidence {
|
|
|
41
43
|
edgeCount?: number;
|
|
42
44
|
/** Number of legend entries rendered (when a legend rendered). */
|
|
43
45
|
legendItems?: number;
|
|
44
|
-
/** Number of annotations
|
|
46
|
+
/** Number of annotations that actually produced SVG nodes. */
|
|
45
47
|
annotationCount: number;
|
|
48
|
+
/** Number of annotation entries supplied by the caller before filtering. */
|
|
49
|
+
annotationInputCount?: number;
|
|
50
|
+
/** Requested annotations that did not produce SVG nodes. */
|
|
51
|
+
unrenderedAnnotationCount?: number;
|
|
52
|
+
/** Type names for requested annotations that did not produce SVG nodes. */
|
|
53
|
+
unrenderedAnnotationTypes?: string[];
|
|
46
54
|
/** The accessible name the SVG carries (description ?? title ?? generated). */
|
|
47
55
|
ariaLabel: string;
|
|
48
|
-
/** Stable warning codes (EMPTY_SCENE, NO_SCALES). */
|
|
56
|
+
/** Stable warning codes (EMPTY_SCENE, NO_SCALES, UNRENDERED_ANNOTATIONS). */
|
|
49
57
|
warnings: string[];
|
|
58
|
+
/**
|
|
59
|
+
* Whether a capability-owned post-render check found the painted encoding
|
|
60
|
+
* meaningful. Optional for compatibility with externally supplied evidence;
|
|
61
|
+
* `renderChartWithEvidence` always populates it.
|
|
62
|
+
*/
|
|
63
|
+
semanticStatus?: SemanticViabilityStatus;
|
|
64
|
+
/** Structured chart-family diagnostics supporting `semanticStatus`. */
|
|
65
|
+
semanticDiagnostics?: SemanticViabilityDiagnostic[];
|
|
50
66
|
/**
|
|
51
67
|
* The resolved margin Semiotic actually used — after auto-reservation for a
|
|
52
68
|
* legend, a title, or any other chrome that grows a side beyond the caller's
|
|
@@ -98,6 +114,13 @@ interface BuildEvidenceInput {
|
|
|
98
114
|
title?: unknown;
|
|
99
115
|
description?: unknown;
|
|
100
116
|
annotations?: unknown;
|
|
117
|
+
/** Static annotation pass accounting; omitted by callers that have none. */
|
|
118
|
+
annotationRender?: {
|
|
119
|
+
inputCount: number;
|
|
120
|
+
renderedCount: number;
|
|
121
|
+
unrenderedCount: number;
|
|
122
|
+
unrenderedTypes: string[];
|
|
123
|
+
};
|
|
101
124
|
xDomain?: [number, number];
|
|
102
125
|
yDomain?: [number, number];
|
|
103
126
|
categories?: string[];
|
|
@@ -19,18 +19,27 @@ export declare function renderGeoToStaticSVG(props: StreamGeoFrameProps & ThemeA
|
|
|
19
19
|
* union — no second edit required, no silent drift like the CandlestickChart
|
|
20
20
|
* gap that motivated this refactor.
|
|
21
21
|
*/
|
|
22
|
-
type
|
|
23
|
-
interface RenderChartOptions {
|
|
22
|
+
export type RenderChartName = keyof typeof CHART_CONFIGS | ValueChartName;
|
|
23
|
+
export interface RenderChartOptions {
|
|
24
24
|
/** Output format — currently only "svg" is synchronous */
|
|
25
25
|
format?: "svg";
|
|
26
|
+
/**
|
|
27
|
+
* Decimal places for SVG geometry serialization. This opt-in postprocess
|
|
28
|
+
* rounds numeric SVG attributes, path data, transforms, and point lists;
|
|
29
|
+
* text nodes, IDs, and arbitrary CSS/style strings are left untouched.
|
|
30
|
+
* Values are clamped to the practical 0–8 range.
|
|
31
|
+
*/
|
|
32
|
+
precision?: number;
|
|
26
33
|
}
|
|
34
|
+
/** Apply the documented renderChart precision contract to SVG geometry only. */
|
|
35
|
+
export declare function serializeSvgPrecision(svg: string, precision?: number): string;
|
|
27
36
|
/**
|
|
28
37
|
* Render a chart using HOC-level props (categoryAccessor, valueAccessor, etc.)
|
|
29
38
|
* instead of frame-level props (oAccessor, rAccessor, etc.).
|
|
30
39
|
*
|
|
31
40
|
* This is the primary API for AI/MCP workflows.
|
|
32
41
|
*/
|
|
33
|
-
export declare function renderChart(component:
|
|
42
|
+
export declare function renderChart(component: string, props: Datum, options?: RenderChartOptions): string;
|
|
34
43
|
/**
|
|
35
44
|
* Render a chart and return machine-readable evidence about what actually
|
|
36
45
|
* rendered — mark counts by scene type, resolved axis domains, emptiness,
|
|
@@ -39,7 +48,7 @@ export declare function renderChart(component: ChartName, props: Datum, options?
|
|
|
39
48
|
* non-visual caller (an agent repair loop, a CI assertion) can quote without
|
|
40
49
|
* pixel inspection. Exposed through the MCP `renderChart` tool response.
|
|
41
50
|
*/
|
|
42
|
-
export declare function renderChartWithEvidence(component:
|
|
51
|
+
export declare function renderChartWithEvidence(component: string, props: Datum, options?: RenderChartOptions): {
|
|
43
52
|
svg: string;
|
|
44
53
|
evidence: RenderEvidence;
|
|
45
54
|
};
|
|
@@ -57,10 +66,10 @@ export interface RenderToImageOptions {
|
|
|
57
66
|
* Requires `sharp` as an optional peer dependency.
|
|
58
67
|
* Falls back to a descriptive error if sharp is not installed.
|
|
59
68
|
*/
|
|
60
|
-
export declare function renderToImage(frameTypeOrComponent: FrameType |
|
|
69
|
+
export declare function renderToImage(frameTypeOrComponent: FrameType | RenderChartName, props: Datum, options?: RenderToImageOptions): Promise<Buffer>;
|
|
61
70
|
export interface DashboardChart {
|
|
62
71
|
/** Frame type or HOC component name */
|
|
63
|
-
component?:
|
|
72
|
+
component?: RenderChartName;
|
|
64
73
|
frameType?: FrameType;
|
|
65
74
|
/** Chart props (data, accessors, etc.) */
|
|
66
75
|
props: Datum;
|
|
@@ -88,4 +97,3 @@ export interface RenderDashboardOptions {
|
|
|
88
97
|
* Compose multiple charts into a single SVG.
|
|
89
98
|
*/
|
|
90
99
|
export declare function renderDashboard(charts: DashboardChart[], options?: RenderDashboardOptions): string;
|
|
91
|
-
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
2
|
import type { ChartMode } from "../charts/shared/types";
|
|
3
3
|
import type { ChartModeInput, ChartModeResult } from "../charts/shared/chartMode";
|
|
4
|
-
import type { SemioticTheme } from "../store/
|
|
4
|
+
import type { SemioticTheme } from "../store/themeCore";
|
|
5
5
|
import type { ReactNode } from "react";
|
|
6
6
|
import type { PrimitiveStyleOverrides } from "../charts/shared/mergeShapeStyle";
|
|
7
7
|
export type FrameType = "xy" | "ordinal" | "network" | "geo" | "physics";
|
|
@@ -57,6 +57,13 @@ export declare function viridisColor(i: number, n: number): string;
|
|
|
57
57
|
* unchanged and callers keep the no-override fast path.
|
|
58
58
|
*/
|
|
59
59
|
export declare function primitiveStyleOverrides(rest: Datum): PrimitiveStyleOverrides;
|
|
60
|
+
/**
|
|
61
|
+
* Server chart configs receive their raw HOC props as a generic datum. Keep
|
|
62
|
+
* the regression sugar merge in one place so every chart family that exposes
|
|
63
|
+
* `regression` preserves the client ordering: the trend paints beneath
|
|
64
|
+
* caller-authored annotations.
|
|
65
|
+
*/
|
|
66
|
+
export declare function mergeServerRegressionAnnotation(annotations: unknown, regression: unknown): Datum[] | undefined;
|
|
60
67
|
export declare function prepareConnectedScatterplotData(data: ServerChartData, rest: Datum): {
|
|
61
68
|
data: ServerChartData;
|
|
62
69
|
orderMap: WeakMap<Datum, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type ChartConfig } from "./serverChartConfigShared";
|
|
2
|
-
export declare const forceDirectedGraph: ChartConfig;
|
|
3
2
|
export declare const processSankey: ChartConfig;
|
|
4
3
|
export declare const sankeyDiagram: ChartConfig;
|
|
5
|
-
export declare const chordDiagram: ChartConfig;
|
|
6
4
|
export declare const treeDiagram: ChartConfig;
|
|
7
5
|
export declare const treemap: ChartConfig;
|
|
8
|
-
export
|
|
6
|
+
export { chordDiagram } from "./serverChartConfigsNetworkChord";
|
|
7
|
+
export { forceDirectedGraph } from "./serverChartConfigsNetworkForce";
|
|
8
|
+
export { circlePack, orbitDiagram } from "./serverChartConfigsNetworkHierarchy";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { type ChartConfig } from "./serverChartConfigShared";
|
|
2
|
-
export
|
|
2
|
+
export { bubbleChart } from "./serverChartConfigsXYBubble";
|
|
3
|
+
export { bumpChart } from "./serverChartConfigsXYBump";
|
|
4
|
+
export { scatterplot } from "./serverChartConfigsXYScatter";
|
|
3
5
|
export declare const sparkline: ChartConfig;
|
|
4
|
-
export declare const bumpChart: ChartConfig;
|
|
5
6
|
export declare const lineChart: ChartConfig;
|
|
6
7
|
/** Static-data TemporalHistogram mapped onto the shared time-binned XY pipeline. */
|
|
7
8
|
export declare const temporalHistogram: ChartConfig;
|
|
@@ -9,6 +10,5 @@ export declare const areaChart: ChartConfig;
|
|
|
9
10
|
export declare const differenceChart: ChartConfig;
|
|
10
11
|
export declare const stackedAreaChart: ChartConfig;
|
|
11
12
|
export declare const candlestickChart: ChartConfig;
|
|
12
|
-
export declare const scatterplot: ChartConfig;
|
|
13
13
|
export declare const quadrantChart: ChartConfig;
|
|
14
14
|
export declare const connectedScatterplot: ChartConfig;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
|
+
import { type ChartConfig } from "./serverChartConfigShared";
|
|
3
|
+
export declare const bubbleChart: ChartConfig;
|
|
4
|
+
/** Mirror BubbleChart's HOC-level point encoding on the server path. */
|
|
5
|
+
export declare function buildBubblePointStyle(data: unknown, colorBy: string | ((d: Datum) => unknown) | undefined, colorScheme: unknown, common: Datum, rest: Datum): (d: Datum) => Datum;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChartConfig } from "./serverChartConfigShared";
|
|
2
|
+
/**
|
|
3
|
+
* The static Bump contract is intentionally isolated from the general XY
|
|
4
|
+
* configurations: it ranks data, builds custom layout input, and owns its
|
|
5
|
+
* endpoint-label controls before the common frame renderer sees the result.
|
|
6
|
+
*/
|
|
7
|
+
export declare const bumpChart: ChartConfig;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
|
+
import { type ChartConfig } from "./serverChartConfigShared";
|
|
3
|
+
/** Resolve Scatterplot/QuadrantChart's HOC-level point encoding for SSR. */
|
|
4
|
+
export declare function buildScatterPointStyle(data: unknown, colorBy: string | ((d: Datum) => unknown) | undefined, colorScheme: unknown, common: Datum, rest: Datum): (d: Datum) => Datum;
|
|
5
|
+
export declare const scatterplot: ChartConfig;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { AnnotationContext } from "../realtime/types";
|
|
3
|
+
import type { Datum } from "../charts/shared/datumTypes";
|
|
4
|
+
/**
|
|
5
|
+
* Render the built-in annotation types which use only an annotation context.
|
|
6
|
+
* Static frame renderers invoke this after their theme-aware handlers, so one
|
|
7
|
+
* fallback serves XY, ordinal, network, and geo output without importing the
|
|
8
|
+
* complete live `createDefaultAnnotationRules` factory.
|
|
9
|
+
*/
|
|
10
|
+
export declare function renderStaticAnnotationFallback(ann: Datum, index: number, context: AnnotationContext): React.ReactNode | null;
|
|
@@ -6,7 +6,7 @@ import type { Datum, DatumValue } from "../charts/shared/datumTypes";
|
|
|
6
6
|
* Converts data coordinates to pixels using provided scales.
|
|
7
7
|
*/
|
|
8
8
|
import * as React from "react";
|
|
9
|
-
import type { SemioticTheme } from "../store/
|
|
9
|
+
import type { SemioticTheme } from "../store/themeCore";
|
|
10
10
|
import type { AnnotationContext } from "../realtime/types";
|
|
11
11
|
import { type AutoPlaceAnnotations } from "../recipes/annotationLayout";
|
|
12
12
|
interface AnnotationScales {
|
|
@@ -47,6 +47,11 @@ export interface StaticAnnotationConfig {
|
|
|
47
47
|
yAccessor?: string;
|
|
48
48
|
/** Ordinal projection — determines whether r maps to x or y */
|
|
49
49
|
projection?: "vertical" | "horizontal" | "radial";
|
|
50
|
+
/**
|
|
51
|
+
* Explicit frame family for custom/shared rules when a renderer supplies
|
|
52
|
+
* identity pixel scales (network annotations are the main case).
|
|
53
|
+
*/
|
|
54
|
+
frameType?: "xy" | "ordinal" | "network";
|
|
50
55
|
/**
|
|
51
56
|
* Custom SVG annotation renderer — same contract as the client
|
|
52
57
|
* `svgAnnotationRules` frame prop. When present, each annotation is
|
|
@@ -58,6 +63,28 @@ export interface StaticAnnotationConfig {
|
|
|
58
63
|
svgAnnotationRules?: (annotation: Datum, index: number, context: AnnotationContext) => React.ReactNode;
|
|
59
64
|
/** Chart data forwarded into the AnnotationContext for custom rules. */
|
|
60
65
|
annotationData?: Datum[];
|
|
66
|
+
/** Laid-out mark anchors for pointId/latest/semantic annotation modes. */
|
|
67
|
+
pointNodes?: AnnotationContext["pointNodes"];
|
|
68
|
+
/**
|
|
69
|
+
* Receives a count from the annotation pass after custom rules and built-in
|
|
70
|
+
* fallback have resolved. Static frame renderers use this to make render
|
|
71
|
+
* evidence describe the SVG that was produced, rather than merely echoing
|
|
72
|
+
* the annotations prop.
|
|
73
|
+
*/
|
|
74
|
+
onRender?: (result: StaticAnnotationRenderResult) => void;
|
|
75
|
+
}
|
|
76
|
+
/** Annotation accounting emitted by {@link renderStaticAnnotations}. */
|
|
77
|
+
export interface StaticAnnotationRenderResult {
|
|
78
|
+
/** Entries requested by the caller, including lifecycle-hidden entries. */
|
|
79
|
+
inputCount: number;
|
|
80
|
+
/** Entries that survived lifecycle filtering and reached the dispatch pass. */
|
|
81
|
+
eligibleCount: number;
|
|
82
|
+
/** Entries that produced an SVG node through either rule path. */
|
|
83
|
+
renderedCount: number;
|
|
84
|
+
/** Requested entries that produced no SVG node. */
|
|
85
|
+
unrenderedCount: number;
|
|
86
|
+
/** Type names for requested entries that did not produce an SVG node. */
|
|
87
|
+
unrenderedTypes: string[];
|
|
61
88
|
}
|
|
62
89
|
/**
|
|
63
90
|
* Render annotations as static SVG elements.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
/** A primitive label can use portable native SVG text. Other React content
|
|
3
|
+
* follows the live overlays and is hosted in an HTML foreignObject. */
|
|
4
|
+
export declare function isStaticTextTickLabel(label: React.ReactNode): label is string | number;
|
|
5
|
+
export declare function renderStaticTickForeignObject(options: {
|
|
6
|
+
label: React.ReactNode;
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
textAlign: "left" | "center" | "right";
|
|
10
|
+
fontSize: number;
|
|
11
|
+
fontFamily: string;
|
|
12
|
+
color: string;
|
|
13
|
+
}): React.ReactNode;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Used by renderToStaticSVG when showLegend is true.
|
|
6
6
|
*/
|
|
7
7
|
import * as React from "react";
|
|
8
|
-
import type { SemioticTheme } from "../store/
|
|
8
|
+
import type { SemioticTheme } from "../store/themeCore";
|
|
9
9
|
import type { Datum } from "../charts/shared/datumTypes";
|
|
10
10
|
import type { CategoricalLegendConfig, GradientLegendConfig, LegendGroup, LegendLayout } from "../types/legendTypes";
|
|
11
11
|
import { type AxisChromeInput } from "../legendLayout";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { LegendLayout } from "../types/legendTypes";
|
|
2
|
+
import { type AxisChromeInput } from "../legendLayout";
|
|
3
|
+
import type { resolveTheme } from "./themeResolver";
|
|
4
|
+
type LegendPosition = "right" | "left" | "top" | "bottom";
|
|
5
|
+
export declare function reserveStaticLegendMargin(margin: {
|
|
6
|
+
top: number;
|
|
7
|
+
right: number;
|
|
8
|
+
bottom: number;
|
|
9
|
+
left: number;
|
|
10
|
+
}, options: {
|
|
11
|
+
categories: string[];
|
|
12
|
+
colorScheme?: string | string[] | Record<string, string>;
|
|
13
|
+
theme: ReturnType<typeof resolveTheme>;
|
|
14
|
+
position?: LegendPosition;
|
|
15
|
+
size: [number, number];
|
|
16
|
+
hasTitle?: boolean;
|
|
17
|
+
legendLayout?: LegendLayout;
|
|
18
|
+
minimumMargin?: number;
|
|
19
|
+
axisChrome?: AxisChromeInput;
|
|
20
|
+
}): void;
|
|
21
|
+
/**
|
|
22
|
+
* Reserve a caller-supplied categorical, gradient, or raw React legend.
|
|
23
|
+
* Raw nodes share `resolveLegendPlacement`'s predictable 100px/20px fallback
|
|
24
|
+
* box, keeping static plot geometry aligned with the live overlay.
|
|
25
|
+
*/
|
|
26
|
+
export declare function reserveLegendConfigMargin(margin: {
|
|
27
|
+
top: number;
|
|
28
|
+
right: number;
|
|
29
|
+
bottom: number;
|
|
30
|
+
left: number;
|
|
31
|
+
}, options: {
|
|
32
|
+
legend: unknown;
|
|
33
|
+
theme: ReturnType<typeof resolveTheme>;
|
|
34
|
+
position?: LegendPosition;
|
|
35
|
+
size: [number, number];
|
|
36
|
+
hasTitle?: boolean;
|
|
37
|
+
legendLayout?: LegendLayout;
|
|
38
|
+
minimumMargin?: number;
|
|
39
|
+
axisChrome?: AxisChromeInput;
|
|
40
|
+
}): void;
|
|
41
|
+
export {};
|