semiotic 3.8.8 → 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 +82 -66
- 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} +46 -24
- package/ai/schema.json +10704 -825
- 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 +83 -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 +6 -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 +26 -13
- 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 +17 -12
- package/dist/components/charts/realtime/RealtimeHistogram.d.ts +12 -7
- package/dist/components/charts/realtime/RealtimeLineChart.d.ts +37 -14
- package/dist/components/charts/realtime/RealtimeSwarmChart.d.ts +23 -14
- package/dist/components/charts/realtime/RealtimeWaterfallChart.d.ts +22 -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/formatUtils.d.ts +40 -9
- 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 +3 -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 +26 -10
- 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 +11 -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 -25
- 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 +3 -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 +24 -4
- 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 +12 -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 +15 -0
- package/dist/components/stream/networkPipelineConfig.d.ts +1 -1
- package/dist/components/stream/networkTypes.d.ts +32 -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 +12 -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 +25 -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 +8 -17
- package/dist/components/stream/pipelineDomainResolution.d.ts +2 -2
- 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 +33 -13
- package/dist/components/stream/useCanvasFrameHost.d.ts +12 -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 +20 -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 +11 -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 -25
- 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-3GCILWPB.module.min.js +0 -2
- package/dist/chunk-chunk-46KRGJQP.module.min.js +0 -1
- package/dist/chunk-chunk-4ITOQRXM.module.min.js +0 -2
- package/dist/chunk-chunk-4MLLQUGW.module.min.js +0 -2
- package/dist/chunk-chunk-57RBPDBQ.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-66PCWJUG.module.min.js +0 -1
- package/dist/chunk-chunk-6V5VQVCT.module.min.js +0 -2
- package/dist/chunk-chunk-7LE56WAE.module.min.js +0 -2
- package/dist/chunk-chunk-7T25U75Z.module.min.js +0 -2
- package/dist/chunk-chunk-ACLDBMRH.module.min.js +0 -2
- package/dist/chunk-chunk-AF53TBSN.module.min.js +0 -2
- package/dist/chunk-chunk-BTZYH2IE.module.min.js +0 -1
- package/dist/chunk-chunk-BWV55BZK.module.min.js +0 -2
- package/dist/chunk-chunk-BZNOAHJV.module.min.js +0 -2
- package/dist/chunk-chunk-CD6PVVS3.module.min.js +0 -2
- package/dist/chunk-chunk-DTSNLGRK.module.min.js +0 -2
- package/dist/chunk-chunk-FC3NZWYR.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-FRGBMTZR.module.min.js +0 -1
- package/dist/chunk-chunk-G75OPF5N.module.min.js +0 -2
- package/dist/chunk-chunk-H5IFO6CU.module.min.js +0 -2
- package/dist/chunk-chunk-HADHLMY5.module.min.js +0 -1
- package/dist/chunk-chunk-HBFA4NN6.module.min.js +0 -1
- package/dist/chunk-chunk-HCNDE26Q.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-JJ4BSUYL.module.min.js +0 -2
- package/dist/chunk-chunk-JRHXQGEV.module.min.js +0 -2
- package/dist/chunk-chunk-KTWEBFMX.module.min.js +0 -2
- package/dist/chunk-chunk-L6FFYGYS.module.min.js +0 -1
- package/dist/chunk-chunk-LJDH3WV3.module.min.js +0 -2
- package/dist/chunk-chunk-LSJUXBMF.module.min.js +0 -1
- package/dist/chunk-chunk-N3Q33XCB.module.min.js +0 -2
- package/dist/chunk-chunk-NWIGA3UK.module.min.js +0 -1
- package/dist/chunk-chunk-OG3TTJGJ.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-Q2YADC2V.module.min.js +0 -2
- package/dist/chunk-chunk-QQJNG23C.module.min.js +0 -2
- package/dist/chunk-chunk-RGJ6TKAH.module.min.js +0 -2
- package/dist/chunk-chunk-ROP4HI7H.module.min.js +0 -2
- package/dist/chunk-chunk-SFLUSZ73.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-U66USBWU.module.min.js +0 -1
- package/dist/chunk-chunk-UEZ6SHW5.module.min.js +0 -2
- package/dist/chunk-chunk-UOQRPGPK.module.min.js +0 -2
- package/dist/chunk-chunk-VUWYT7DY.module.min.js +0 -2
- package/dist/chunk-chunk-W5HWGQMD.module.min.js +0 -2
- package/dist/chunk-chunk-WFHZHWT7.module.min.js +0 -1
- package/dist/chunk-chunk-WGROBM3I.module.min.js +0 -2
- package/dist/chunk-chunk-WSDJFBKX.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
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
2
|
import type { ChartDataProfile } from "./chartCapabilityTypes";
|
|
3
|
+
import { type ProfileFieldRoleHints } from "./fieldRoles";
|
|
3
4
|
export interface ProfileDataOptions {
|
|
4
5
|
/** If you have access to the raw input (which might be {nodes, edges} or GeoJSON), pass it for structure detection. */
|
|
5
6
|
rawInput?: unknown;
|
|
6
7
|
/** Override the field used as the primary series, useful when the heuristic guesses wrong. */
|
|
7
8
|
seriesField?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Fields that identify records rather than encode values. Identifier fields
|
|
11
|
+
* are excluded from every x/y/size/category/series/time candidate list.
|
|
12
|
+
*/
|
|
13
|
+
identifiers?: ReadonlyArray<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Per-field semantic or exact encoding roles. `identifier` and `ignore`
|
|
16
|
+
* always take precedence; exact roles boost that candidate deterministically.
|
|
17
|
+
*/
|
|
18
|
+
fieldRoles?: ProfileFieldRoleHints;
|
|
8
19
|
}
|
|
9
20
|
/**
|
|
10
21
|
* Build a ChartDataProfile from row data. Extends DataSummary with shape inference —
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
|
+
import { type ProfileDataOptions } from "./profileData";
|
|
2
3
|
import type { ChartDataProfile, Suggestion } from "./chartCapabilityTypes";
|
|
3
4
|
import type { IntentId } from "./intents";
|
|
4
5
|
import type { ObservedSceneAuditResult } from "./observedSceneAudit";
|
|
@@ -41,11 +42,9 @@ export interface RepairUnknownResult {
|
|
|
41
42
|
repairs?: string[];
|
|
42
43
|
}
|
|
43
44
|
export type RepairResult = RepairOkResult | RepairAlternativeResult | RepairUnknownResult;
|
|
44
|
-
export interface RepairOptions {
|
|
45
|
+
export interface RepairOptions extends ProfileDataOptions {
|
|
45
46
|
/** Caller's intent — informs ranking of alternatives when the chart doesn't fit. */
|
|
46
47
|
intent?: IntentId | IntentId[];
|
|
47
|
-
/** Non-tabular payload (network/hierarchy/GeoJSON). Forwarded to profileData. */
|
|
48
|
-
rawInput?: unknown;
|
|
49
48
|
/** Limit number of alternatives returned (default 3). */
|
|
50
49
|
maxAlternatives?: number;
|
|
51
50
|
/** Pre-computed profile, avoids recomputation. */
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SemanticViabilityDiagnostic } from "./chartCapabilityTypes";
|
|
2
|
+
import type { RenderEvidence } from "../server/renderEvidence";
|
|
3
|
+
export declare function semanticEvidenceDiagnostics(evidence: RenderEvidence): ReadonlyArray<SemanticViabilityDiagnostic>;
|
|
4
|
+
export declare function semanticFailureReasons(evidence: RenderEvidence): string[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
|
+
import type { RenderEvidence } from "../server/renderEvidence";
|
|
3
|
+
/**
|
|
4
|
+
* Attach capability-owned semantic viability to scene evidence in place.
|
|
5
|
+
*
|
|
6
|
+
* Paint status remains independent: a semantically degenerate chart still has
|
|
7
|
+
* `status: "ok"` and `empty: false`, while `semanticStatus` explains that the
|
|
8
|
+
* marks do not form a meaningful encoding. Unknown charts and capabilities
|
|
9
|
+
* without a check are explicitly `not-assessed` rather than assumed sound.
|
|
10
|
+
*/
|
|
11
|
+
export declare function applySemanticViability(evidence: RenderEvidence, component: string, props: Readonly<Datum>): void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SemanticViabilityCheck } from "./chartCapabilityTypes";
|
|
2
|
+
export declare function setRegisteredSemanticViability(component: string, check: SemanticViabilityCheck | undefined): void;
|
|
3
|
+
export declare function deleteRegisteredSemanticViability(component: string): void;
|
|
4
|
+
export declare function hasRegisteredSemanticViability(component: string): boolean;
|
|
5
|
+
export declare function getRegisteredSemanticViability(component: string): SemanticViabilityCheck | undefined;
|
|
@@ -43,6 +43,8 @@ export interface StreamSchema {
|
|
|
43
43
|
export interface StreamChartCapability {
|
|
44
44
|
component: string;
|
|
45
45
|
importPath: "semiotic/realtime";
|
|
46
|
+
/** True when this chart consumes an event stream and has no static render proof. */
|
|
47
|
+
requiresLiveData?: boolean;
|
|
46
48
|
rubric: ChartRubric;
|
|
47
49
|
fits: (schema: StreamSchema) => null | string;
|
|
48
50
|
intentScores: Partial<Record<IntentId, StreamIntentScorer>>;
|
|
@@ -54,6 +56,8 @@ export interface StreamSuggestion {
|
|
|
54
56
|
component: string;
|
|
55
57
|
family: "realtime";
|
|
56
58
|
importPath: "semiotic/realtime";
|
|
59
|
+
/** Whether the recommendation must receive live event data rather than a bounded array. */
|
|
60
|
+
requiresLiveData?: boolean;
|
|
57
61
|
score: number;
|
|
58
62
|
intentScores: Partial<Record<IntentId, number>>;
|
|
59
63
|
rubric: ChartRubric;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
2
|
import { type ProfileDataOptions } from "./profileData";
|
|
3
|
-
import type { ChartCapability, ChartDataProfile, ScaledSuggestionGroups, Suggestion } from "./chartCapabilityTypes";
|
|
4
|
-
import type
|
|
3
|
+
import type { ChartCapability, ChartDataProfile, ScoreChartResult, ScaledSuggestionGroups, Suggestion } from "./chartCapabilityTypes";
|
|
4
|
+
import { type IntentId } from "./intents";
|
|
5
5
|
import { type AudienceProfile, type ReceptionModality } from "./audienceProfile";
|
|
6
6
|
import { type DataQualityProfile, type DataScaleProfile } from "./dataScaleProfile";
|
|
7
7
|
export interface SuggestChartsOptions extends ProfileDataOptions {
|
|
@@ -87,7 +87,7 @@ export declare function explainCapabilityFit(data: ReadonlyArray<Datum> | null |
|
|
|
87
87
|
* Score a specific (component, variant) pair against a dataset and (optionally) an intent.
|
|
88
88
|
* Useful for evaluating a chart a user already chose: "is this a good fit for what they want?"
|
|
89
89
|
*/
|
|
90
|
-
export
|
|
90
|
+
export interface ScoreChartOptions extends ProfileDataOptions {
|
|
91
91
|
intent?: IntentId | IntentId[];
|
|
92
92
|
variantKey?: string;
|
|
93
93
|
profile?: ChartDataProfile;
|
|
@@ -95,9 +95,8 @@ export declare function scoreChart(component: string, data: ReadonlyArray<Datum>
|
|
|
95
95
|
portability?: "portable" | "local";
|
|
96
96
|
riskTolerance?: "low" | "medium" | "high";
|
|
97
97
|
receptionChannel?: ReceptionModality;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
};
|
|
98
|
+
}
|
|
99
|
+
export declare function scoreChart(component: string, data: ReadonlyArray<Datum> | null | undefined, options?: ScoreChartOptions): ScoreChartResult;
|
|
101
100
|
/**
|
|
102
101
|
* Return suggestions grouped by scale band. The "graduation of views" surface:
|
|
103
102
|
* the same data + intent can produce different chart recommendations depending
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
|
+
import { type ProfileDataOptions } from "./profileData";
|
|
2
3
|
import { type StretchSuggestion } from "./suggestStretchCharts";
|
|
3
4
|
import type { ChartDataProfile, Suggestion } from "./chartCapabilityTypes";
|
|
4
5
|
import type { IntentId } from "./intents";
|
|
@@ -31,7 +32,7 @@ export interface DashboardSuggestion {
|
|
|
31
32
|
/** The shape profile (computed once, reused for every panel). */
|
|
32
33
|
profile: ChartDataProfile;
|
|
33
34
|
}
|
|
34
|
-
export interface SuggestDashboardOptions {
|
|
35
|
+
export interface SuggestDashboardOptions extends ProfileDataOptions {
|
|
35
36
|
/**
|
|
36
37
|
* Intents to attempt. When omitted, the engine picks a sensible default set
|
|
37
38
|
* based on the data shape (e.g. if `hasTimeAxis`, include "trend"; if
|
|
@@ -51,8 +52,6 @@ export interface SuggestDashboardOptions {
|
|
|
51
52
|
deny?: ReadonlyArray<string>;
|
|
52
53
|
/** Optional pre-built profile (avoids recomputation). */
|
|
53
54
|
profile?: ChartDataProfile;
|
|
54
|
-
/** Non-tabular payload — forwarded to profileData. */
|
|
55
|
-
rawInput?: unknown;
|
|
56
55
|
/**
|
|
57
56
|
* Audience profile — applies familiarity overrides and adoption-target bias
|
|
58
57
|
* to every panel's ranking. When set with `exposureLevel >= 1`, the dashboard
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { StreamChartCapability, StreamSchema, StreamSuggestion } from "./streamingTypes";
|
|
2
|
-
import type
|
|
2
|
+
import { type IntentId } from "./intents";
|
|
3
3
|
export declare function registerStreamChartCapability(capability: StreamChartCapability): void;
|
|
4
4
|
export declare function unregisterStreamChartCapability(component: string): void;
|
|
5
5
|
export declare function getStreamCapabilities(): ReadonlyArray<StreamChartCapability>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
|
+
import { type ProfileDataOptions } from "./profileData";
|
|
2
3
|
import type { ChartDataProfile, Suggestion } from "./chartCapabilityTypes";
|
|
3
4
|
import type { IntentId } from "./intents";
|
|
4
5
|
import { type AudienceProfile } from "./audienceProfile";
|
|
@@ -21,7 +22,7 @@ export interface StretchSuggestion {
|
|
|
21
22
|
/** Audience familiarity for this chart — the number that made it qualify as a stretch. */
|
|
22
23
|
familiarity: number;
|
|
23
24
|
}
|
|
24
|
-
export interface SuggestStretchChartsOptions {
|
|
25
|
+
export interface SuggestStretchChartsOptions extends ProfileDataOptions {
|
|
25
26
|
/** Intent(s) to rank by. When omitted, charts are picked by data fit alone. */
|
|
26
27
|
intent?: IntentId | IntentId[];
|
|
27
28
|
/** Required — without an audience profile, the concept of "stretch" doesn't apply. */
|
|
@@ -34,8 +35,6 @@ export interface SuggestStretchChartsOptions {
|
|
|
34
35
|
maxResults?: number;
|
|
35
36
|
/** Pre-built profile. */
|
|
36
37
|
profile?: ChartDataProfile;
|
|
37
|
-
/** Non-tabular payload — forwarded to profileData. */
|
|
38
|
-
rawInput?: unknown;
|
|
39
38
|
/**
|
|
40
39
|
* Only return stretches within this score distance of the top familiar pick
|
|
41
40
|
* (default 1.5). Tighter values keep the suggestions plausible; wider values
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Machine-readable contract for props emitted by chart suggestions.
|
|
3
|
+
*
|
|
4
|
+
* `componentKind` lets generic renderers route value cards separately from
|
|
5
|
+
* chart HOCs without maintaining their own component-name set.
|
|
6
|
+
* `commonChartProps` says whether it is safe to layer chart-HOC defaults onto
|
|
7
|
+
* `Suggestion.props`; component-specific consumers must consult the selected
|
|
8
|
+
* component's schema instead. `headingProp` and `modeValues` cover the two
|
|
9
|
+
* common defaults that otherwise tend to leak across component families.
|
|
10
|
+
*/
|
|
11
|
+
export interface SuggestionPropContract {
|
|
12
|
+
readonly componentKind: "chart-hoc" | "value-component";
|
|
13
|
+
readonly commonChartProps: "supported" | "component-specific";
|
|
14
|
+
readonly headingProp: string;
|
|
15
|
+
readonly modeValues: ReadonlyArray<string>;
|
|
16
|
+
}
|
|
17
|
+
export declare const PHYSICS_SAMPLE_SUGGESTION_PROP_CONTRACT: SuggestionPropContract;
|
|
18
|
+
export declare const CHAIN_REACTION_SUGGESTION_PROP_CONTRACT: SuggestionPropContract;
|
|
19
|
+
export declare const BIG_NUMBER_SUGGESTION_PROP_CONTRACT: SuggestionPropContract;
|
|
20
|
+
export declare function suggestionPropContractForFamily(family: string): SuggestionPropContract;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ChartCapability, ChartDataProfile, ChartRubric, ChartVariant } from "./chartCapabilityTypes";
|
|
2
|
-
import type
|
|
2
|
+
import { type IntentId } from "./intents";
|
|
3
3
|
import { type AudienceProfile } from "./audienceProfile";
|
|
4
4
|
/**
|
|
5
5
|
* Where a proposal came from. Used by scoring + ranking to weight
|
|
@@ -63,6 +63,8 @@ export type VariantRejectionReason = string;
|
|
|
63
63
|
export interface VariantScore {
|
|
64
64
|
/** Echoes `VariantProposal.id`. */
|
|
65
65
|
proposalId: string;
|
|
66
|
+
/** True when this proposal cannot safely be emitted for the supplied profile. */
|
|
67
|
+
rejected?: boolean;
|
|
66
68
|
/**
|
|
67
69
|
* How well this proposal matches the profile + audience, 0..5.
|
|
68
70
|
* Drawn from the same 0..5 scale `suggestCharts` uses so consumers
|
|
@@ -5,6 +5,7 @@ import type { NetworkCustomLayout } from "../../stream/networkCustomLayout";
|
|
|
5
5
|
import type { Datum } from "../shared/datumTypes";
|
|
6
6
|
import type { BaseChartProps, ChartAccessor } from "../shared/types";
|
|
7
7
|
import type { ChartRecipe } from "../../ai/chartRecipes";
|
|
8
|
+
import { type TooltipProp } from "../../Tooltip/Tooltip";
|
|
8
9
|
export interface NetworkCustomChartProps<TNode extends Datum = Datum, TEdge extends Datum = Datum, TConfig extends object = Record<string, unknown>> extends BaseChartProps {
|
|
9
10
|
/** Node objects with at least an `id` field. Positions are typically pre-computed by the user (e.g. from dagre / d3-flextree) and read by the layout. */
|
|
10
11
|
nodes?: TNode[];
|
|
@@ -28,6 +29,8 @@ export interface NetworkCustomChartProps<TNode extends Datum = Datum, TEdge exte
|
|
|
28
29
|
colorBy?: ChartAccessor<TNode, string | number>;
|
|
29
30
|
colorScheme?: string | string[] | Record<string, string>;
|
|
30
31
|
enableHover?: boolean;
|
|
32
|
+
/** Tooltip content/configuration. Custom callbacks receive the authored node or edge datum. */
|
|
33
|
+
tooltip?: TooltipProp;
|
|
31
34
|
/**
|
|
32
35
|
* Annotations rendered over the chart. A custom network layout's marks are
|
|
33
36
|
* anchorable by id: emit a scene node with `id: <foo>` and an annotation with
|
|
@@ -5,6 +5,7 @@ import type { OrdinalCustomLayout } from "../../stream/ordinalCustomLayout";
|
|
|
5
5
|
import type { Datum } from "../shared/datumTypes";
|
|
6
6
|
import type { BaseChartProps, ChartAccessor } from "../shared/types";
|
|
7
7
|
import type { ChartRecipe } from "../../ai/chartRecipes";
|
|
8
|
+
import { type TooltipProp } from "../../Tooltip/Tooltip";
|
|
8
9
|
export interface OrdinalCustomChartProps<TDatum extends Datum = Datum, TConfig extends object = Record<string, unknown>> extends BaseChartProps {
|
|
9
10
|
/** Data passed through to OrdinalLayoutContext.data. */
|
|
10
11
|
data?: TDatum[];
|
|
@@ -33,6 +34,8 @@ export interface OrdinalCustomChartProps<TDatum extends Datum = Datum, TConfig e
|
|
|
33
34
|
colorBy?: ChartAccessor<TDatum, string>;
|
|
34
35
|
colorScheme?: string | string[] | Record<string, string>;
|
|
35
36
|
enableHover?: boolean;
|
|
37
|
+
/** Tooltip content/configuration. Custom callbacks receive the authored datum. */
|
|
38
|
+
tooltip?: TooltipProp;
|
|
36
39
|
showAxes?: boolean;
|
|
37
40
|
showGrid?: boolean;
|
|
38
41
|
annotations?: Datum[];
|
|
@@ -4,7 +4,7 @@ import type { RealtimeFrameHandle } from "../../realtime/types";
|
|
|
4
4
|
import type { CustomLayout } from "../../stream/customLayout";
|
|
5
5
|
import type { Datum } from "../shared/datumTypes";
|
|
6
6
|
import type { BaseChartProps, AxisConfig, ChartAccessor } from "../shared/types";
|
|
7
|
-
import type
|
|
7
|
+
import { type TooltipProp } from "../../Tooltip/Tooltip";
|
|
8
8
|
import type { ChartRecipe } from "../../ai/chartRecipes";
|
|
9
9
|
import type { LegendValue } from "../../types/legendTypes";
|
|
10
10
|
import type { LegendInteractionMode, LegendPosition } from "../shared/useChartLegend";
|
|
@@ -3,7 +3,7 @@ import * as React from "react";
|
|
|
3
3
|
import type { StreamGeoFrameProps, ProjectionProp } from "../../stream/geoTypes";
|
|
4
4
|
import type { BaseChartProps, ChartAccessor } from "../shared/types";
|
|
5
5
|
import { type TooltipProp } from "../../Tooltip/Tooltip";
|
|
6
|
-
import type { LegendInteractionMode } from "../shared/hooks";
|
|
6
|
+
import type { LegendInteractionMode, LegendPosition } from "../shared/hooks";
|
|
7
7
|
import { type StyleRule } from "../shared/styleRules";
|
|
8
8
|
import { type AreasProp } from "../../geo/useReferenceAreas";
|
|
9
9
|
/**
|
|
@@ -57,6 +57,8 @@ export interface ChoroplethMapProps<TDatum extends Datum = Datum> extends BaseCh
|
|
|
57
57
|
showLegend?: boolean;
|
|
58
58
|
/** Legend interaction mode */
|
|
59
59
|
legendInteraction?: LegendInteractionMode;
|
|
60
|
+
/** Legend position @default "right" */
|
|
61
|
+
legendPosition?: LegendPosition;
|
|
60
62
|
/**
|
|
61
63
|
* Finite projection-fit fraction in `[0, 0.5)`. `0.1` = 10% inset;
|
|
62
64
|
* nullish values use 0 and invalid values throw. An explicit
|
|
@@ -6,6 +6,7 @@ import { type TooltipProp } from "../../Tooltip/Tooltip";
|
|
|
6
6
|
import type { LegendPosition } from "../shared/hooks";
|
|
7
7
|
import { type StyleRule } from "../shared/styleRules";
|
|
8
8
|
import type { RealtimeFrameHandle } from "../../realtime/types";
|
|
9
|
+
import { type DistanceCartogramRingStyle } from "./cartogramOverlay";
|
|
9
10
|
export interface DistanceCartogramProps<TDatum extends Datum = Datum> extends BaseChartProps {
|
|
10
11
|
/** Point data with geographic coordinates */
|
|
11
12
|
points?: TDatum[];
|
|
@@ -89,13 +90,7 @@ export interface DistanceCartogramProps<TDatum extends Datum = Datum> extends Ba
|
|
|
89
90
|
/** Show numeric labels on distance rings. Defaults to false in context and sparkline modes. */
|
|
90
91
|
showRingLabels?: boolean;
|
|
91
92
|
/** Ring / strip-tick style overrides */
|
|
92
|
-
ringStyle?:
|
|
93
|
-
stroke?: string;
|
|
94
|
-
strokeWidth?: number;
|
|
95
|
-
strokeDasharray?: string;
|
|
96
|
-
labelColor?: string;
|
|
97
|
-
labelSize?: number;
|
|
98
|
-
};
|
|
93
|
+
ringStyle?: DistanceCartogramRingStyle;
|
|
99
94
|
/** Show north indicator arrow. Defaults to true, or false in sparkline mode. */
|
|
100
95
|
showNorth?: boolean;
|
|
101
96
|
/** Label for cost units shown on rings (e.g. "hrs", "km") */
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface DistanceCartogramOverlayLayout {
|
|
3
|
+
cx: number;
|
|
4
|
+
cy: number;
|
|
5
|
+
maxCost: number;
|
|
6
|
+
availableRadius: number;
|
|
7
|
+
layout: "radial" | "strip";
|
|
8
|
+
}
|
|
9
|
+
export interface DistanceCartogramRingStyle {
|
|
10
|
+
stroke?: string;
|
|
11
|
+
strokeWidth?: number;
|
|
12
|
+
strokeDasharray?: string;
|
|
13
|
+
labelColor?: string;
|
|
14
|
+
labelSize?: number;
|
|
15
|
+
}
|
|
16
|
+
interface DistanceCartogramOverlayProps {
|
|
17
|
+
bottomMargin?: number;
|
|
18
|
+
costLabel?: string;
|
|
19
|
+
layout: DistanceCartogramOverlayLayout;
|
|
20
|
+
ringStyle?: DistanceCartogramRingStyle;
|
|
21
|
+
ringValues: number[];
|
|
22
|
+
showNorth: boolean;
|
|
23
|
+
showRingLabels: boolean;
|
|
24
|
+
showRings: boolean | number | number[];
|
|
25
|
+
}
|
|
26
|
+
/** Plot-relative reference rings, axis, and compass for DistanceCartogram. */
|
|
27
|
+
export declare function DistanceCartogramOverlay({ bottomMargin, costLabel, layout: { cx, cy, maxCost, availableRadius, layout }, ringStyle, ringValues, showNorth, showRingLabels, showRings }: DistanceCartogramOverlayProps): React.JSX.Element;
|
|
28
|
+
export {};
|
|
@@ -90,7 +90,7 @@ export type { CirclePackProps } from "./network/CirclePack";
|
|
|
90
90
|
export { OrbitDiagram } from "./network/OrbitDiagram";
|
|
91
91
|
export type { OrbitDiagramProps, OrbitNode } from "./network/OrbitDiagram";
|
|
92
92
|
export { RealtimeLineChart } from "./realtime/RealtimeLineChart";
|
|
93
|
-
export type { RealtimeLineChartProps } from "./realtime/RealtimeLineChart";
|
|
93
|
+
export type { RealtimeLineChartHandle, RealtimeLineChartProps } from "./realtime/RealtimeLineChart";
|
|
94
94
|
export { RealtimeTemporalHistogram, RealtimeHistogram, TemporalHistogram } from "./realtime/RealtimeHistogram";
|
|
95
95
|
export type { RealtimeTemporalHistogramProps, RealtimeHistogramProps, TemporalHistogramProps } from "./realtime/RealtimeHistogram";
|
|
96
96
|
export { RealtimeSwarmChart } from "./realtime/RealtimeSwarmChart";
|
|
@@ -112,9 +112,9 @@ export { GauntletChart, GuantletChart, planGauntletPropertyWork, replaceGauntlet
|
|
|
112
112
|
export type { GauntletChartProps, GauntletEffect, GauntletEvent, GauntletEventContext, GauntletEventLogItem, GauntletGate, GauntletLayout, GauntletNegativeReplacementOptions, GauntletPopSpec, GauntletProjectPlacement, GauntletProjectState, GauntletPropertyForceContext, GauntletPropertyDefinition, GauntletPropertyWorkPlan, GauntletPropertyWorkPlanOptions } from "./physics/GauntletChart";
|
|
113
113
|
export { physicsProcessBoundaryColliders, physicsProcessGroupSemanticItems, physicsProcessRegionSemanticItem, physicsProcessStageSemanticItems } from "./physics/physicsProcessPrimitives";
|
|
114
114
|
export type { PhysicsProcessBodyGroup, PhysicsProcessBoundaryOptions, PhysicsProcessStage } from "./physics/physicsProcessPrimitives";
|
|
115
|
-
export { absorbRegion, bodyGroupSpec, capacitatedRegion, chargeGateRegion, forceFieldRegion, membraneRegion, portalRegion, pressureFieldRegion, processLaneWalls, processStageLayout, processStageRegions, routeSurfaceRegion
|
|
115
|
+
export { absorbRegion, bodyGroupSpec, capacitatedRegion, chargeGateRegion, forceFieldRegion, membraneRegion, portalRegion, pressureFieldRegion, processLaneWalls, processStageLayout, processStageRegions, routeSurfaceRegion } from "../recipes/processPhysics";
|
|
116
116
|
export { aggregateRegionCounts, groupCompletionRows, regionCountsToProjectionRows } from "../recipes/processAggregates";
|
|
117
|
-
export { processVolumePolygons } from "../recipes/processVolumeGeometry";
|
|
117
|
+
export { processVolumePolygons, stageTargetInVolume } from "../recipes/processVolumeGeometry";
|
|
118
118
|
export { createProcessJourneyLedger, processJourneyRows, updateProcessJourney } from "../recipes/processJourney";
|
|
119
119
|
export type { BodyGroupSpec, BodyGroupSpecOptions, ProcessMembraneDef, ProcessRegionBaseOptions, ProcessStageRegionOptions, ProcessStageDef, ProcessVolumeLayout, ProcessVolumeLayoutOptions, ProcessVolumeMembraneBand, ProcessVolumeShape, ProcessVolumeStageBand } from "../recipes/processPhysics";
|
|
120
120
|
export type { RegionCountBucket, RegionCountMap } from "../recipes/processAggregates";
|
|
@@ -127,6 +127,7 @@ export type { ProcessFlowChartProps, ProcessFlowProjectionMetadata, ProcessFlowS
|
|
|
127
127
|
export { PhysicsCustomChart } from "./physics/PhysicsCustomChart";
|
|
128
128
|
export type { PhysicsCustomChartProps, PhysicsCustomLayout, PhysicsCustomLayoutContext, PhysicsCustomLayoutResult, PhysicsCustomSpawnDatumResult } from "./physics/PhysicsCustomChart";
|
|
129
129
|
export type { BaseChartProps, AxisConfig, Accessor, ChartAccessor, ChartMode, MobileClearSelectionBehavior, MobileSnapBehavior, MobileInteractionConfig, MobileInteractionProp, MobileStandardControlsMode, ResolvedMobileInteractionConfig, } from "./shared/types";
|
|
130
|
+
export type { FrameTextAnnotation, FrameTextPosition, } from "./shared/frameTextAnnotation";
|
|
130
131
|
export { responsiveRuleMatches, resolveResponsiveRules } from "./shared/responsiveRules";
|
|
131
132
|
export type { ResponsiveOrientation, ResponsiveRuleCondition, ResponsiveRuleContext, ResponsiveRule, ResponsiveRuleMatch, ResponsiveRuleResult, } from "./shared/responsiveRules";
|
|
132
133
|
export { useColorScale, useSortedData, DEFAULT_COLOR } from "./shared/hooks";
|
|
@@ -1,142 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import type { ProcessSankeyOrientation } from "./processSankey/orientation";
|
|
3
|
-
import type { ProcessSankeyLayoutExecution } from "./processSankey/processSankeyLayoutWorkerClient";
|
|
4
|
-
import { type ProcessSankeyTimeLike } from "./processSankey/time";
|
|
5
|
-
import type { StyleRule } from "../shared/styleRules";
|
|
6
2
|
import type { Datum } from "../shared/datumTypes";
|
|
7
|
-
import type { BaseChartProps, ChartAccessor, SelectionConfig, LinkedHoverProp } from "../shared/types";
|
|
8
3
|
import type { RealtimeFrameHandle } from "../../realtime/types";
|
|
9
|
-
import type {
|
|
10
|
-
|
|
11
|
-
type TimeLike = ProcessSankeyTimeLike;
|
|
12
|
-
export interface ProcessSankeyTick {
|
|
13
|
-
date: TimeLike;
|
|
14
|
-
label: string;
|
|
15
|
-
}
|
|
16
|
-
export interface ProcessSankeyProps<TNode extends Datum = Datum, TEdge extends Datum = Datum> extends BaseChartProps {
|
|
17
|
-
nodes?: TNode[];
|
|
18
|
-
edges?: TEdge[];
|
|
19
|
-
/** [tStart, tEnd] of the chart's time axis. Required. */
|
|
20
|
-
domain: [TimeLike, TimeLike];
|
|
21
|
-
/** Optional axis ticks. Each tick: { date, label }. */
|
|
22
|
-
axisTicks?: ProcessSankeyTick[];
|
|
23
|
-
nodeIdAccessor?: ChartAccessor<TNode, string>;
|
|
24
|
-
nodeLabel?: ChartAccessor<TNode, string>;
|
|
25
|
-
sourceAccessor?: ChartAccessor<TEdge, string>;
|
|
26
|
-
targetAccessor?: ChartAccessor<TEdge, string>;
|
|
27
|
-
valueAccessor?: ChartAccessor<TEdge, number>;
|
|
28
|
-
startTimeAccessor?: ChartAccessor<TEdge, TimeLike>;
|
|
29
|
-
endTimeAccessor?: ChartAccessor<TEdge, TimeLike>;
|
|
30
|
-
/** Optional source-side inventory arrival time (before ribbon departs). */
|
|
31
|
-
systemInTimeAccessor?: ChartAccessor<TEdge, TimeLike>;
|
|
32
|
-
/** Optional target-side inventory departure time (after ribbon arrives). */
|
|
33
|
-
systemOutTimeAccessor?: ChartAccessor<TEdge, TimeLike>;
|
|
34
|
-
/**
|
|
35
|
-
* Accessor for a node's explicit lifetime extent — a `[start, end]`
|
|
36
|
-
* tuple of time-likes. Lane spans
|
|
37
|
-
* `min(xExtent[0], earliestEdge)` to `max(xExtent[1], latestEdge)`.
|
|
38
|
-
*/
|
|
39
|
-
xExtentAccessor?: ChartAccessor<TNode, [TimeLike, TimeLike]>;
|
|
40
|
-
/** Optional node accessor that bonds equal, non-empty values into one
|
|
41
|
-
* contiguous stream-like lane block. Use `"category"` to bond an existing
|
|
42
|
-
* categorical field without coupling grouping to color. */
|
|
43
|
-
groupBy?: ChartAccessor<TNode, string | number>;
|
|
44
|
-
edgeIdAccessor?: ChartAccessor<TEdge, string>;
|
|
45
|
-
colorBy?: ChartAccessor<TNode, string>;
|
|
46
|
-
colorScheme?: string | string[] | Record<string, string>;
|
|
47
|
-
/** Show a swatch + label legend. Defaults to `true` when `colorBy` is set. */
|
|
48
|
-
showLegend?: boolean;
|
|
49
|
-
/** Legend position. Default `"right"`. */
|
|
50
|
-
legendPosition?: "right" | "left" | "top" | "bottom";
|
|
51
|
-
/**
|
|
52
|
-
* Format function for time values — applied to axis tick labels and
|
|
53
|
-
* to time fields in the default tooltip. Same convention as
|
|
54
|
-
* `xFormat` on XY charts.
|
|
55
|
-
*/
|
|
56
|
-
timeFormat?: (d: number | Date) => string | React.ReactNode;
|
|
57
|
-
/** Format function for the `value` field. Mirrors `yFormat` on XY charts. */
|
|
58
|
-
valueFormat?: (d: number) => string | React.ReactNode;
|
|
59
|
-
/** Direction of time. Horizontal (default) reads left-to-right;
|
|
60
|
-
* vertical reads top-to-bottom while lanes occupy the x-axis. */
|
|
61
|
-
orientation?: ProcessSankeyOrientation;
|
|
62
|
-
pairing?: "value" | "temporal";
|
|
63
|
-
packing?: "off" | "reuse";
|
|
64
|
-
laneOrder?: "insertion" | "crossing-min" | "inside-out" | "crossing-min+inside-out";
|
|
65
|
-
/** Maximum pixels per value unit. Set this to keep sparse lanes from
|
|
66
|
-
* inflating until they fill the plot. Unset preserves legacy scaling. */
|
|
67
|
-
maxValueScale?: number;
|
|
68
|
-
/** Vertical coordinate assignment. `"hug"` uses any scale-cap slack to
|
|
69
|
-
* pull connected lane attachments together while preserving order/gaps. */
|
|
70
|
-
lanePlacement?: "stack" | "hug";
|
|
71
|
-
/** How explicit node `xExtent`s size visible bands. `"max"` holds a
|
|
72
|
-
* node's largest instantaneous mass across its extent, for staged Sankeys. */
|
|
73
|
-
nodeSizing?: "temporal" | "max";
|
|
74
|
-
/** Pixel gutter inside a bonded node group. Defaults to `0`, so adjacent
|
|
75
|
-
* band silhouettes touch without overlapping. */
|
|
76
|
-
groupPadding?: number;
|
|
77
|
-
ribbonLane?: "source" | "target" | "both";
|
|
78
|
-
/**
|
|
79
|
-
* Minimum rendered run along the time axis for **source-only feeder**
|
|
80
|
-
* ribbons (not a general minimum ribbon length). A number is a pixel
|
|
81
|
-
* minimum; `"auto"` adapts to lateral lane distance. Only source-only
|
|
82
|
-
* feeders with proven xExtent/systemInTime runway are affected.
|
|
83
|
-
* Authored event times and mass accounting remain unchanged.
|
|
84
|
-
* Default `0` preserves exact temporal endpoints.
|
|
85
|
-
*/
|
|
86
|
-
ribbonMinRun?: number | "auto";
|
|
87
|
-
lifetimeMode?: "full" | "half";
|
|
88
|
-
showLaneRails?: boolean;
|
|
89
|
-
showQualityReadout?: boolean;
|
|
90
|
-
/** Render the per-band node id label at the band's opening edge.
|
|
91
|
-
* Default `true`. Set `false` for dense layouts, or `"auto"` for a
|
|
92
|
-
* density-budgeted subset shared by CSR/SSR. */
|
|
93
|
-
showLabels?: boolean | "auto";
|
|
94
|
-
/**
|
|
95
|
-
* Author priority for `showLabels="auto"`. Higher values survive density
|
|
96
|
-
* shedding first. Field name or function over the raw node datum.
|
|
97
|
-
* Shed labels reappear under selection without a layout recompute.
|
|
98
|
-
*/
|
|
99
|
-
labelPriorityAccessor?: string | ((d: TNode) => number);
|
|
100
|
-
/** Optional hard cap on visible auto labels (after the area budget). */
|
|
101
|
-
maxLabels?: number;
|
|
102
|
-
/**
|
|
103
|
-
* Which datum shape selection / linkedHover predicates receive.
|
|
104
|
-
* `"raw"` (default) unwraps author records from the scene payload so field
|
|
105
|
-
* matchers work without knowing ProcessSankey's `{ __kind, data, id }` shape.
|
|
106
|
-
* `"scene"` keeps the full payload for tooling that needs `__kind`.
|
|
107
|
-
*/
|
|
108
|
-
selectionDatum?: "raw" | "scene";
|
|
109
|
-
/** A shared opacity, or a per-edge opacity resolver for confidence-aware flows. */
|
|
110
|
-
edgeOpacity?: number | ((edge: TEdge) => number);
|
|
111
|
-
/** Declarative threshold-aware styling for node bands (raw node datum). */
|
|
112
|
-
styleRules?: StyleRule[];
|
|
113
|
-
/** Layout execution: auto (cost threshold), worker, or sync. SSR always sync. */
|
|
114
|
-
layoutExecution?: ProcessSankeyLayoutExecution;
|
|
115
|
-
/** Override auto worker cost threshold (see estimateProcessSankeyLayoutCost). */
|
|
116
|
-
layoutWorkerThreshold?: number;
|
|
117
|
-
/** Content while worker layout is pending. `false` suppresses. */
|
|
118
|
-
layoutLoadingContent?: React.ReactNode | false;
|
|
119
|
-
/** Called when worker/async layout changes state. */
|
|
120
|
-
onLayoutStateChange?: (state: "pending" | "ready" | "error") => void;
|
|
121
|
-
/** Tooltip content. `false` disables, `true` uses the default,
|
|
122
|
-
* or pass a `Tooltip(...)` / custom function for full control. */
|
|
123
|
-
tooltip?: TooltipProp;
|
|
124
|
-
enableHover?: boolean;
|
|
125
|
-
onClick?: (datum: Datum, position?: {
|
|
126
|
-
x: number;
|
|
127
|
-
y: number;
|
|
128
|
-
}) => void;
|
|
129
|
-
selection?: SelectionConfig;
|
|
130
|
-
linkedHover?: LinkedHoverProp;
|
|
131
|
-
showParticles?: boolean;
|
|
132
|
-
/** Style config for the particle overlay — same shape
|
|
133
|
-
* StreamNetworkFrame consumes from SankeyDiagram. Defaults
|
|
134
|
-
* (radius 3, opacity 0.7, spawnRate 0.1, maxPerEdge 50) live in
|
|
135
|
-
* `DEFAULT_PARTICLE_STYLE`. */
|
|
136
|
-
particleStyle?: ParticleStyle;
|
|
137
|
-
/** Pass-through to the underlying StreamNetworkFrame. */
|
|
138
|
-
frameProps?: Partial<Omit<StreamNetworkFrameProps, "nodes" | "edges" | "chartType" | "size" | "customNetworkLayout" | "layoutConfig">>;
|
|
139
|
-
}
|
|
4
|
+
import type { ProcessSankeyProps } from "./ProcessSankeyProps";
|
|
5
|
+
export type { ProcessSankeyProps, ProcessSankeyTick } from "./ProcessSankeyProps";
|
|
140
6
|
/**
|
|
141
7
|
* ProcessSankey draws timed process flow as lane bands and ribbons on a real time axis.
|
|
142
8
|
*
|