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.
Files changed (501) hide show
  1. package/README.md +82 -66
  2. package/agent-skill/semiotic-charts/SKILL.md +11 -2
  3. package/ai/behaviorContracts.cjs +33 -3
  4. package/ai/cli.js +53 -2
  5. package/ai/componentMetadata.cjs +15 -0
  6. package/ai/dist/mcp-server.js +1530 -611
  7. package/ai/examples.md +48 -42
  8. package/{CLAUDE.md → ai/reference.md} +46 -24
  9. package/ai/schema.json +10704 -825
  10. package/ai/surface-manifest.json +643 -2
  11. package/ai/system-prompt.md +83 -130
  12. package/dist/c-3BLJEQNG.min.js +1 -0
  13. package/dist/c-3KZD6AXJ.min.js +1 -0
  14. package/dist/c-4TWEX5HG.min.js +1 -0
  15. package/dist/c-52TEGIUJ.min.js +1 -0
  16. package/dist/c-5YCIX3VZ.min.js +1 -0
  17. package/dist/c-6FEKTA3U.min.js +1 -0
  18. package/dist/c-6O5EVOPH.min.js +1 -0
  19. package/dist/c-74HEEZGK.min.js +1 -0
  20. package/dist/c-AKAF6JAD.min.js +1 -0
  21. package/dist/c-BBKITSXB.min.js +1 -0
  22. package/dist/c-BWNB6USU.min.js +1 -0
  23. package/dist/c-C25ENHIK.min.js +1 -0
  24. package/dist/c-CDR5AO3R.min.js +1 -0
  25. package/dist/c-COHXCW3Q.min.js +1 -0
  26. package/dist/{chunk-scatterplotMatrixBrushOverlay-SDIZSN66.module.min.js → c-DADXPJXV.min.js} +0 -1
  27. package/dist/c-E3JFRRMI.min.js +1 -0
  28. package/dist/c-EBFPQHHO.min.js +1 -0
  29. package/dist/c-G36WS6LN.min.js +1 -0
  30. package/dist/c-GIKRQI4X.min.js +1 -0
  31. package/dist/c-GPYOFETM.min.js +1 -0
  32. package/dist/c-IDUHYYSI.min.js +1 -0
  33. package/dist/{chunk-chunk-FQPKOAIH.module.min.js → c-IUHFPMHD.min.js} +0 -1
  34. package/dist/c-J5G56TUH.min.js +1 -0
  35. package/dist/c-JAZ73J32.min.js +1 -0
  36. package/dist/c-KG3NXHAL.min.js +1 -0
  37. package/dist/c-KII3PLZE.min.js +1 -0
  38. package/dist/c-LIXGXMNS.min.js +1 -0
  39. package/dist/c-LVEY6D6B.min.js +1 -0
  40. package/dist/c-M4Y3BHFR.min.js +1 -0
  41. package/dist/c-MAIICR2Z.min.js +1 -0
  42. package/dist/c-MG5DM6VE.min.js +1 -0
  43. package/dist/{chunk-minimapBrushOverlay-JU57U7NM.module.min.js → c-MNF2S4AA.min.js} +0 -1
  44. package/dist/c-MT3WBK7M.min.js +1 -0
  45. package/dist/c-NY3JWV2K.min.js +1 -0
  46. package/dist/c-O6U6K4CW.min.js +1 -0
  47. package/dist/c-OCI56QF2.min.js +1 -0
  48. package/dist/c-OQ7M4AGV.min.js +1 -0
  49. package/dist/c-OXYMVK7Q.min.js +1 -0
  50. package/dist/c-PPWDL5ZI.min.js +1 -0
  51. package/dist/c-QHF5YON3.min.js +1 -0
  52. package/dist/c-RR3GO5SW.min.js +1 -0
  53. package/dist/{chunk-chunk-J5QD4RAM.module.min.js → c-RSVIHIQ4.min.js} +0 -1
  54. package/dist/{chunk-chunk-EMO5NUGE.module.min.js → c-S2BXNNJN.min.js} +0 -1
  55. package/dist/{chunk-chunk-YCQYG6J5.module.min.js → c-SLGMUBUL.min.js} +0 -1
  56. package/dist/c-SUILCHWU.min.js +1 -0
  57. package/dist/c-TZW3JGJ5.min.js +1 -0
  58. package/dist/c-US5ZFT6E.min.js +1 -0
  59. package/dist/{chunk-chunk-RZH7VZYS.module.min.js → c-USFMFKIH.min.js} +0 -1
  60. package/dist/c-UUKVD4WB.min.js +1 -0
  61. package/dist/{chunk-chunk-SV4XAZ3Q.module.min.js → c-VGW3VG3I.min.js} +0 -1
  62. package/dist/c-W3CE4A4S.min.js +1 -0
  63. package/dist/{chunk-chunk-2NVFEB7P.module.min.js → c-WJCD5EUY.min.js} +0 -1
  64. package/dist/{chunk-chunk-2JGJ5GUG.module.min.js → c-X5UBGU2V.min.js} +0 -1
  65. package/dist/c-YDAY2WFR.min.js +1 -0
  66. package/dist/c-ZOWWU34K.min.js +1 -0
  67. package/dist/components/AccessibleNavTree.d.ts +1 -1
  68. package/dist/components/CategoryColors.d.ts +1 -1
  69. package/dist/components/GradientLegend.d.ts +14 -0
  70. package/dist/components/Legend.d.ts +2 -7
  71. package/dist/components/LinkedCharts.d.ts +1 -1
  72. package/dist/components/MobileAnnotationCalloutList.d.ts +1 -1
  73. package/dist/components/ObservationReadout.d.ts +45 -0
  74. package/dist/components/ThemeProvider.d.ts +4 -4
  75. package/dist/components/Tooltip/FlippingTooltip.d.ts +5 -7
  76. package/dist/components/Tooltip/Tooltip.d.ts +83 -5
  77. package/dist/components/Tooltip/tooltipChrome.d.ts +43 -0
  78. package/dist/components/ai/chartCapabilityTypes.d.ts +86 -2
  79. package/dist/components/ai/chartClinic.d.ts +2 -0
  80. package/dist/components/ai/deriveProfileFields.d.ts +40 -0
  81. package/dist/components/ai/evaluateChart.d.ts +85 -0
  82. package/dist/components/ai/fieldPolicy.d.ts +7 -0
  83. package/dist/components/ai/fieldRoles.d.ts +24 -0
  84. package/dist/components/ai/generativeChart.d.ts +18 -2
  85. package/dist/components/ai/inferIntent.d.ts +26 -2
  86. package/dist/components/ai/intents.d.ts +35 -0
  87. package/dist/components/ai/navigationTree.d.ts +2 -2
  88. package/dist/components/ai/observedSceneAudit.d.ts +2 -1
  89. package/dist/components/ai/profileData.d.ts +11 -0
  90. package/dist/components/ai/repairChartConfig.d.ts +2 -3
  91. package/dist/components/ai/semanticEvidence.d.ts +4 -0
  92. package/dist/components/ai/semanticViability.d.ts +11 -0
  93. package/dist/components/ai/semanticViabilityRegistry.d.ts +5 -0
  94. package/dist/components/ai/streamingTypes.d.ts +4 -0
  95. package/dist/components/ai/suggestCharts.d.ts +5 -6
  96. package/dist/components/ai/suggestDashboard.d.ts +2 -3
  97. package/dist/components/ai/suggestStreamCharts.d.ts +1 -1
  98. package/dist/components/ai/suggestStretchCharts.d.ts +2 -3
  99. package/dist/components/ai/suggestionPropContracts.d.ts +20 -0
  100. package/dist/components/ai/variantDiscovery.d.ts +3 -1
  101. package/dist/components/charts/custom/NetworkCustomChart.d.ts +3 -0
  102. package/dist/components/charts/custom/OrdinalCustomChart.d.ts +3 -0
  103. package/dist/components/charts/custom/XYCustomChart.d.ts +1 -1
  104. package/dist/components/charts/geo/ChoroplethMap.d.ts +3 -1
  105. package/dist/components/charts/geo/DistanceCartogram.d.ts +2 -7
  106. package/dist/components/charts/geo/cartogramOverlay.d.ts +28 -0
  107. package/dist/components/charts/index.d.ts +4 -3
  108. package/dist/components/charts/network/ProcessSankey.d.ts +2 -136
  109. package/dist/components/charts/network/ProcessSankeyProps.d.ts +139 -0
  110. package/dist/components/charts/network/Treemap.d.ts +2 -1
  111. package/dist/components/charts/network/processSankey/boundaryHubOrdering.d.ts +23 -0
  112. package/dist/components/charts/network/processSankey/layoutGeometry.d.ts +2 -0
  113. package/dist/components/charts/network/processSankey/ordering.d.ts +3 -41
  114. package/dist/components/charts/network/processSankey/orderingTypes.d.ts +32 -0
  115. package/dist/components/charts/network/processSankey/packing.d.ts +1 -1
  116. package/dist/components/charts/network/processSankey/packingCache.d.ts +1 -1
  117. package/dist/components/charts/network/processSankey/packingOptimization.d.ts +72 -0
  118. package/dist/components/charts/ordinal/BarChart.d.ts +4 -3
  119. package/dist/components/charts/ordinal/FunnelChart.d.ts +2 -0
  120. package/dist/components/charts/ordinal/GroupedBarChart.d.ts +3 -2
  121. package/dist/components/charts/ordinal/StackedBarChart.d.ts +4 -3
  122. package/dist/components/charts/ordinal/SwimlaneChart.d.ts +2 -2
  123. package/dist/components/charts/physics/GaltonBoardChart.d.ts +2 -9
  124. package/dist/components/charts/physics/GauntletChart.d.ts +10 -41
  125. package/dist/components/charts/physics/ProcessFlowChart.d.ts +1 -1
  126. package/dist/components/charts/physics/chainReactionAccessibleTable.d.ts +9 -0
  127. package/dist/components/charts/physics/chainReactionRuntime.d.ts +2 -1
  128. package/dist/components/charts/physics/chainReactionTypes.d.ts +6 -1
  129. package/dist/components/charts/physics/crucibleBodyRenderers.d.ts +2 -2
  130. package/dist/components/charts/physics/crucibleClone.d.ts +6 -0
  131. package/dist/components/charts/physics/crucibleEffects.d.ts +1 -2
  132. package/dist/components/charts/physics/crucibleRecord.d.ts +7 -0
  133. package/dist/components/charts/physics/gauntletChrome.d.ts +4 -4
  134. package/dist/components/charts/physics/gauntletPhysics.d.ts +1 -0
  135. package/dist/components/charts/physics/gauntletPublic.d.ts +4 -0
  136. package/dist/components/charts/physics/packetFlowOverlay.d.ts +7 -0
  137. package/dist/components/charts/physics/physicsChartLayout.d.ts +8 -0
  138. package/dist/components/charts/physics/physicsChartShared.d.ts +3 -1
  139. package/dist/components/charts/physics/physicsChartUtils.d.ts +1 -1
  140. package/dist/components/charts/physics/physicsHocUtils.d.ts +26 -13
  141. package/dist/components/charts/physics/physicsProjectionOverlays.d.ts +24 -0
  142. package/dist/components/charts/physics/processFlowOverlays.d.ts +9 -0
  143. package/dist/components/charts/realtime/RealtimeHeatmap.d.ts +17 -12
  144. package/dist/components/charts/realtime/RealtimeHistogram.d.ts +12 -7
  145. package/dist/components/charts/realtime/RealtimeLineChart.d.ts +37 -14
  146. package/dist/components/charts/realtime/RealtimeSwarmChart.d.ts +23 -14
  147. package/dist/components/charts/realtime/RealtimeWaterfallChart.d.ts +22 -13
  148. package/dist/components/charts/realtime/aggregate.d.ts +4 -1
  149. package/dist/components/charts/realtime/eventTime.d.ts +4 -0
  150. package/dist/components/charts/realtime/realtimeChartRuntime.d.ts +27 -0
  151. package/dist/components/charts/realtime/realtimeChartTypes.d.ts +30 -0
  152. package/dist/components/charts/realtime/useRealtimeCategoryColors.d.ts +30 -0
  153. package/dist/components/charts/shared/FrameTextAnnotationSVG.d.ts +10 -0
  154. package/dist/components/charts/shared/annotationActivation.d.ts +3 -7
  155. package/dist/components/charts/shared/annotationBandFill.d.ts +6 -0
  156. package/dist/components/charts/shared/annotationDispatch.d.ts +31 -0
  157. package/dist/components/charts/shared/annotationIdentity.d.ts +8 -0
  158. package/dist/components/charts/shared/annotationRules.d.ts +1 -15
  159. package/dist/components/charts/shared/boundedCategoryRegistry.d.ts +8 -0
  160. package/dist/components/charts/shared/chainReactionChartSpec.d.ts +3 -0
  161. package/dist/components/charts/shared/chartMode.d.ts +3 -2
  162. package/dist/components/charts/shared/chartSpecCore.d.ts +1 -0
  163. package/dist/components/charts/shared/formatUtils.d.ts +40 -9
  164. package/dist/components/charts/shared/frameTextAnnotation.d.ts +63 -0
  165. package/dist/components/charts/shared/gradient.d.ts +16 -0
  166. package/dist/components/charts/shared/hatchFill.d.ts +15 -0
  167. package/dist/components/charts/shared/hooks.d.ts +4 -4
  168. package/dist/components/charts/shared/legendUtils.d.ts +1 -0
  169. package/dist/components/charts/shared/streamPropsHelpers.d.ts +3 -1
  170. package/dist/components/charts/shared/styleRules.d.ts +9 -2
  171. package/dist/components/charts/shared/styleRulesWireSchema.d.ts +353 -0
  172. package/dist/components/charts/shared/types.d.ts +26 -10
  173. package/dist/components/charts/shared/useChartLegend.d.ts +43 -9
  174. package/dist/components/charts/shared/useChartSetup.d.ts +3 -1
  175. package/dist/components/charts/shared/useCustomChartSetup.d.ts +5 -2
  176. package/dist/components/charts/shared/useNetworkChartSetup.d.ts +5 -1
  177. package/dist/components/charts/shared/useOrdinalBrush.d.ts +3 -3
  178. package/dist/components/charts/shared/useStreamingLegend.d.ts +6 -1
  179. package/dist/components/charts/value/types.d.ts +1 -1
  180. package/dist/components/charts/xy/BubbleChart.d.ts +1 -1
  181. package/dist/components/charts/xy/BumpChart.capability.d.ts +14 -1
  182. package/dist/components/charts/xy/BumpChart.d.ts +13 -73
  183. package/dist/components/charts/xy/BumpChart.semanticViability.d.ts +5 -0
  184. package/dist/components/charts/xy/CandlestickChart.d.ts +2 -2
  185. package/dist/components/charts/xy/LineChart.d.ts +2 -2
  186. package/dist/components/charts/xy/Scatterplot.d.ts +1 -1
  187. package/dist/components/charts/xy/bumpData.d.ts +44 -0
  188. package/dist/components/charts/xy/bumpIdentity.d.ts +2 -0
  189. package/dist/components/charts/xy/bumpLayout.d.ts +45 -0
  190. package/dist/components/charts/xy/bumpTooltip.d.ts +20 -0
  191. package/dist/components/legendLayout.d.ts +131 -4
  192. package/dist/components/realtime/ReorderBuffer.d.ts +2 -0
  193. package/dist/components/realtime/types.d.ts +10 -1
  194. package/dist/components/recipes/balanceSnapshotsToFlows.d.ts +42 -0
  195. package/dist/components/recipes/directedReachability.d.ts +14 -0
  196. package/dist/components/recipes/gofishDisplayListFixtures.generated.d.ts +6 -6
  197. package/dist/components/recipes/gridObservatory.d.ts +1 -1
  198. package/dist/components/recipes/networkAnalysis.d.ts +1 -18
  199. package/dist/components/recipes/physics.d.ts +7 -4
  200. package/dist/components/recipes/processPhysics.d.ts +0 -1
  201. package/dist/components/recipes/waffle.d.ts +7 -4
  202. package/dist/components/semiotic-ai-core.d.ts +13 -4
  203. package/dist/components/semiotic-ai-observations.d.ts +3 -0
  204. package/dist/components/semiotic-ai.d.ts +16 -9
  205. package/dist/components/semiotic-client-shared.d.ts +10 -0
  206. package/dist/components/semiotic-experimental.d.ts +1 -1
  207. package/dist/components/semiotic-geo.d.ts +4 -1
  208. package/dist/components/semiotic-network.d.ts +7 -4
  209. package/dist/components/semiotic-ordinal.d.ts +4 -1
  210. package/dist/components/semiotic-physics.d.ts +11 -4
  211. package/dist/components/semiotic-realtime-core.d.ts +11 -4
  212. package/dist/components/semiotic-realtime-react.d.ts +4 -3
  213. package/dist/components/semiotic-realtime.d.ts +3 -1
  214. package/dist/components/semiotic-recipes-core.d.ts +7 -5
  215. package/dist/components/semiotic-server-edge.d.ts +3 -2
  216. package/dist/components/semiotic-server.d.ts +3 -2
  217. package/dist/components/semiotic-themes-core.d.ts +5 -48
  218. package/dist/components/semiotic-utils-core.d.ts +11 -5
  219. package/dist/components/semiotic-utils-react.d.ts +2 -0
  220. package/dist/components/semiotic-xy.d.ts +4 -1
  221. package/dist/components/semiotic.d.ts +68 -25
  222. package/dist/components/server/animatedGif.d.ts +1 -1
  223. package/dist/components/server/renderEvidence.d.ts +25 -2
  224. package/dist/components/server/renderToStaticSVG.d.ts +15 -7
  225. package/dist/components/server/serverChartConfigShared.d.ts +8 -1
  226. package/dist/components/server/serverChartConfigs.d.ts +1 -0
  227. package/dist/components/server/serverChartConfigsNetwork.d.ts +3 -3
  228. package/dist/components/server/serverChartConfigsNetworkChord.d.ts +2 -0
  229. package/dist/components/server/serverChartConfigsNetworkForce.d.ts +2 -0
  230. package/dist/components/server/serverChartConfigsNetworkHierarchy.d.ts +3 -0
  231. package/dist/components/server/serverChartConfigsXY.d.ts +3 -3
  232. package/dist/components/server/serverChartConfigsXYBubble.d.ts +5 -0
  233. package/dist/components/server/serverChartConfigsXYBump.d.ts +7 -0
  234. package/dist/components/server/serverChartConfigsXYScatter.d.ts +5 -0
  235. package/dist/components/server/staticAnnotationFallbacks.d.ts +10 -0
  236. package/dist/components/server/staticAnnotations.d.ts +28 -1
  237. package/dist/components/server/staticAxisTickLabel.d.ts +13 -0
  238. package/dist/components/server/staticLegend.d.ts +1 -1
  239. package/dist/components/server/staticLegendMargin.d.ts +41 -0
  240. package/dist/components/server/staticOrdinal.d.ts +8 -2
  241. package/dist/components/server/staticPhysics.d.ts +13 -1
  242. package/dist/components/server/staticPhysicsChrome.d.ts +20 -0
  243. package/dist/components/server/staticRawLegend.d.ts +15 -0
  244. package/dist/components/server/staticSVGChrome.d.ts +16 -55
  245. package/dist/components/server/staticXYAxes.d.ts +27 -0
  246. package/dist/components/server/staticXYAxisTicks.d.ts +39 -0
  247. package/dist/components/server/staticXYGrid.d.ts +11 -0
  248. package/dist/components/server/themeResolver.d.ts +5 -1
  249. package/dist/components/store/ThemeStore.d.ts +2 -98
  250. package/dist/components/store/designTokens.d.ts +1 -1
  251. package/dist/components/store/themeCSSVariables.d.ts +10 -0
  252. package/dist/components/store/themeCore.d.ts +91 -0
  253. package/dist/components/store/themePresets.d.ts +81 -0
  254. package/dist/components/store/themeSerialization.d.ts +2 -1
  255. package/dist/components/stream/AccessibleDataTable.d.ts +12 -14
  256. package/dist/components/stream/AccessibleTablePortalImpl.d.ts +6 -0
  257. package/dist/components/stream/GeoTileRenderer.d.ts +3 -0
  258. package/dist/components/stream/NetworkCanvasHitTester.d.ts +3 -1
  259. package/dist/components/stream/NetworkSSRFrame.d.ts +2 -1
  260. package/dist/components/stream/NetworkSVGOverlay.d.ts +3 -31
  261. package/dist/components/stream/OrdinalCanvasHitTester.d.ts +2 -0
  262. package/dist/components/stream/SVGChartTitle.d.ts +9 -0
  263. package/dist/components/stream/SVGOverlay.d.ts +1 -21
  264. package/dist/components/stream/SVGUnderlay.d.ts +24 -0
  265. package/dist/components/stream/SceneToSVG.d.ts +1 -1
  266. package/dist/components/stream/StreamGeoFrame.d.ts +1 -1
  267. package/dist/components/stream/StreamOrdinalFrame.d.ts +1 -1
  268. package/dist/components/stream/StreamXYFrame.d.ts +1 -1
  269. package/dist/components/stream/accessibleDataRows.d.ts +11 -0
  270. package/dist/components/stream/accessibleDataTableModel.d.ts +40 -0
  271. package/dist/components/stream/accessibleTableTypes.d.ts +11 -0
  272. package/dist/components/stream/axisTickUtils.d.ts +19 -0
  273. package/dist/components/stream/canvasBackground.d.ts +10 -0
  274. package/dist/components/stream/canvasSetup.d.ts +24 -4
  275. package/dist/components/stream/frameCursorInteraction.d.ts +25 -0
  276. package/dist/components/stream/frameDefaultMargins.d.ts +37 -0
  277. package/dist/components/stream/frameGraphics.d.ts +18 -0
  278. package/dist/components/stream/frameGraphicsSubscription.d.ts +26 -0
  279. package/dist/components/stream/frameLegendOptions.d.ts +18 -0
  280. package/dist/components/stream/geoFrameCursorInteraction.d.ts +9 -0
  281. package/dist/components/stream/geoFrameHelpers.d.ts +29 -1
  282. package/dist/components/stream/geoTypes.d.ts +12 -11
  283. package/dist/components/stream/hitTarget.d.ts +61 -2
  284. package/dist/components/stream/moduleWorkerSession.d.ts +6 -0
  285. package/dist/components/stream/networkAnnotationAnchors.d.ts +37 -0
  286. package/dist/components/stream/networkCustomLayout.d.ts +2 -2
  287. package/dist/components/stream/networkFrameCursorInteraction.d.ts +12 -0
  288. package/dist/components/stream/networkFrameInteraction.d.ts +2 -0
  289. package/dist/components/stream/networkFramePaint.d.ts +15 -0
  290. package/dist/components/stream/networkPipelineConfig.d.ts +1 -1
  291. package/dist/components/stream/networkTypes.d.ts +32 -32
  292. package/dist/components/stream/normalizeXYData.d.ts +7 -0
  293. package/dist/components/stream/ordinalFrameCursorInteraction.d.ts +7 -0
  294. package/dist/components/stream/ordinalFrameInteraction.d.ts +29 -0
  295. package/dist/components/stream/ordinalSceneSVG.d.ts +10 -0
  296. package/dist/components/stream/ordinalTypes.d.ts +12 -4
  297. package/dist/components/stream/physics/PhysicsBodySpatialIndex.d.ts +9 -1
  298. package/dist/components/stream/physics/PhysicsCanvasTheme.d.ts +25 -0
  299. package/dist/components/stream/physics/PhysicsControllers.d.ts +0 -3
  300. package/dist/components/stream/physics/PhysicsPipelineStore.d.ts +4 -1
  301. package/dist/components/stream/physics/PhysicsSVGOverlay.d.ts +3 -24
  302. package/dist/components/stream/physics/PhysicsSettledSVG.d.ts +9 -21
  303. package/dist/components/stream/physics/PhysicsSettledSVGElement.d.ts +37 -0
  304. package/dist/components/stream/physics/PhysicsSettledScene.d.ts +7 -3
  305. package/dist/components/stream/physics/StreamPhysicsFrame.d.ts +1 -1
  306. package/dist/components/stream/physics/StreamPhysicsTypes.d.ts +25 -4
  307. package/dist/components/stream/physics/physicsAnnotationContext.d.ts +19 -0
  308. package/dist/components/stream/physics/physicsBodyCanvas.d.ts +4 -0
  309. package/dist/components/stream/physics/physicsSettledChrome.d.ts +7 -0
  310. package/dist/components/stream/physics/usePhysicsCanvasPointer.d.ts +32 -0
  311. package/dist/components/stream/physics/usePhysicsSemanticNavigation.d.ts +36 -0
  312. package/dist/components/stream/pipelineConfig.d.ts +8 -17
  313. package/dist/components/stream/pipelineDomainResolution.d.ts +2 -2
  314. package/dist/components/stream/renderBackend.d.ts +2 -0
  315. package/dist/components/stream/renderers/canvasRenderHelpers.d.ts +13 -2
  316. package/dist/components/stream/renderers/resolveCSSColor.d.ts +7 -0
  317. package/dist/components/stream/responsiveSize.d.ts +17 -0
  318. package/dist/components/stream/sceneCursor.d.ts +41 -0
  319. package/dist/components/stream/sceneRevisionDiagnostics.d.ts +1 -1
  320. package/dist/components/stream/svgOverlayUtils.d.ts +22 -1
  321. package/dist/components/stream/types.d.ts +33 -13
  322. package/dist/components/stream/useCanvasFrameHost.d.ts +12 -1
  323. package/dist/components/stream/useFrame.d.ts +24 -1
  324. package/dist/components/stream/useResponsiveSize.d.ts +6 -1
  325. package/dist/components/stream/useStalenessCheck.d.ts +1 -1
  326. package/dist/components/stream/xyFrameAxisTypes.d.ts +20 -4
  327. package/dist/components/stream/xyFrameCursorInteraction.d.ts +6 -0
  328. package/dist/components/stream/xySceneBuilders/swarmScene.d.ts +1 -1
  329. package/dist/components/stream/xySceneBuilders/types.d.ts +6 -26
  330. package/dist/components/types/legendTypes.d.ts +6 -0
  331. package/dist/components/types/marginType.d.ts +7 -8
  332. package/dist/controls.min.js +1 -1
  333. package/dist/controls.module.min.js +1 -1
  334. package/dist/forceLayoutWorker.js +1 -1
  335. package/dist/geo.min.js +1 -1
  336. package/dist/geo.module.min.js +1 -1
  337. package/dist/network.min.js +1 -1
  338. package/dist/network.module.min.js +1 -1
  339. package/dist/ordinal.min.js +1 -1
  340. package/dist/ordinal.module.min.js +1 -1
  341. package/dist/physics-matter.module.min.js +1 -1
  342. package/dist/physics-rapier.module.min.js +1 -1
  343. package/dist/physics.min.js +1 -1
  344. package/dist/physics.module.min.js +1 -1
  345. package/dist/physicsWorker.js +1 -1
  346. package/dist/processSankeyLayoutWorker.js +1 -1
  347. package/dist/realtime.min.js +1 -1
  348. package/dist/realtime.module.min.js +1 -1
  349. package/dist/rough.min.js +1 -1
  350. package/dist/rough.module.min.js +1 -1
  351. package/dist/semiotic-ai-core.d.ts +13 -4
  352. package/dist/semiotic-ai-core.min.js +1 -1
  353. package/dist/semiotic-ai-core.module.min.js +1 -1
  354. package/dist/semiotic-ai.d.ts +16 -9
  355. package/dist/semiotic-ai.min.js +1 -1
  356. package/dist/semiotic-ai.module.min.js +1 -1
  357. package/dist/semiotic-client-cjs-shared.min.js +1 -0
  358. package/dist/semiotic-client-glyph.module.min.js +2 -0
  359. package/dist/semiotic-client-responsive.module.min.js +2 -0
  360. package/dist/semiotic-client-shared.module.min.js +2 -0
  361. package/dist/semiotic-custom-layout-selection-cjs-shared.min.js +2 -0
  362. package/dist/semiotic-data.min.js +1 -1
  363. package/dist/semiotic-data.module.min.js +1 -1
  364. package/dist/semiotic-experimental-auxiliary.module.min.js +2 -0
  365. package/dist/semiotic-experimental-node-auxiliary.module.min.js +2 -0
  366. package/dist/semiotic-experimental-node.module.min.js +2 -0
  367. package/dist/semiotic-experimental-react-shared.module.min.js +2 -0
  368. package/dist/semiotic-experimental-vacp.min.js +1 -1
  369. package/dist/semiotic-experimental-vacp.module.min.js +1 -1
  370. package/dist/semiotic-experimental.d.ts +1 -1
  371. package/dist/semiotic-experimental.min.js +1 -1
  372. package/dist/semiotic-experimental.module.min.js +1 -1
  373. package/dist/semiotic-geo.d.ts +4 -1
  374. package/dist/semiotic-network.d.ts +7 -4
  375. package/dist/semiotic-ordinal.d.ts +4 -1
  376. package/dist/semiotic-physics.d.ts +11 -4
  377. package/dist/semiotic-realtime-core.d.ts +11 -4
  378. package/dist/semiotic-realtime-core.min.js +2 -1
  379. package/dist/semiotic-realtime-core.module.min.js +2 -1
  380. package/dist/semiotic-realtime-react.d.ts +4 -3
  381. package/dist/semiotic-realtime-react.min.js +1 -1
  382. package/dist/semiotic-realtime-react.module.min.js +1 -1
  383. package/dist/semiotic-realtime.d.ts +3 -1
  384. package/dist/semiotic-recipes-core-cjs-base.min.js +1 -0
  385. package/dist/semiotic-recipes-core.d.ts +7 -5
  386. package/dist/semiotic-recipes-core.min.js +9 -1
  387. package/dist/semiotic-recipes-core.module.min.js +1 -1
  388. package/dist/semiotic-recipes-geo-cjs.min.js +1 -0
  389. package/dist/semiotic-recipes-react.min.js +1 -1
  390. package/dist/semiotic-recipes-react.module.min.js +1 -1
  391. package/dist/semiotic-recipes.min.js +7 -1
  392. package/dist/semiotic-recipes.module.min.js +2 -1
  393. package/dist/semiotic-server-edge-node.module.min.js +1 -0
  394. package/dist/semiotic-server-edge.d.ts +3 -2
  395. package/dist/semiotic-server-edge.min.js +1 -1
  396. package/dist/semiotic-server-edge.module.min.js +1 -1
  397. package/dist/semiotic-server-node.min.js +1 -1
  398. package/dist/semiotic-server-node.module.min.js +1 -1
  399. package/dist/semiotic-server.d.ts +3 -2
  400. package/dist/semiotic-themes-core.d.ts +5 -48
  401. package/dist/semiotic-themes-core.min.js +1 -1
  402. package/dist/semiotic-themes-core.module.min.js +1 -1
  403. package/dist/semiotic-themes-react.min.js +1 -1
  404. package/dist/semiotic-themes-react.module.min.js +1 -1
  405. package/dist/semiotic-themes.min.js +1 -1
  406. package/dist/semiotic-themes.module.min.js +1 -1
  407. package/dist/semiotic-utils-core.d.ts +11 -5
  408. package/dist/semiotic-utils-core.min.js +1 -1
  409. package/dist/semiotic-utils-core.module.min.js +1 -1
  410. package/dist/semiotic-utils-react.d.ts +2 -0
  411. package/dist/semiotic-utils-react.min.js +1 -1
  412. package/dist/semiotic-utils-react.module.min.js +1 -1
  413. package/dist/semiotic-utils.min.js +2 -1
  414. package/dist/semiotic-utils.module.min.js +2 -1
  415. package/dist/semiotic-value.min.js +1 -1
  416. package/dist/semiotic-value.module.min.js +1 -1
  417. package/dist/semiotic-xy.d.ts +4 -1
  418. package/dist/semiotic.d.ts +68 -25
  419. package/dist/semiotic.min.js +1 -1
  420. package/dist/semiotic.module.min.js +1 -1
  421. package/dist/server.min.js +1 -1
  422. package/dist/server.module.min.js +1 -1
  423. package/dist/xy.min.js +1 -1
  424. package/dist/xy.module.min.js +1 -1
  425. package/package.json +53 -19
  426. package/dist/__tests__/scenarios/mcpProtocolTypes.d.ts +0 -20
  427. package/dist/chunk-OrdinalBrushOverlay-PXHQYDB2.module.min.js +0 -2
  428. package/dist/chunk-XYBrushOverlay-ECZJJLAJ.module.min.js +0 -1
  429. package/dist/chunk-XYBrushOverlay-EP2SV3UI.module.min.js +0 -2
  430. package/dist/chunk-chartContainerDataAudit-IQ3NBN3Q.module.min.js +0 -2
  431. package/dist/chunk-chunk-2B3AIKUZ.module.min.js +0 -2
  432. package/dist/chunk-chunk-2CXCXRB4.module.min.js +0 -1
  433. package/dist/chunk-chunk-3GCILWPB.module.min.js +0 -2
  434. package/dist/chunk-chunk-46KRGJQP.module.min.js +0 -1
  435. package/dist/chunk-chunk-4ITOQRXM.module.min.js +0 -2
  436. package/dist/chunk-chunk-4MLLQUGW.module.min.js +0 -2
  437. package/dist/chunk-chunk-57RBPDBQ.module.min.js +0 -2
  438. package/dist/chunk-chunk-5UKL5W76.module.min.js +0 -2
  439. package/dist/chunk-chunk-5VVNW5AZ.module.min.js +0 -1
  440. package/dist/chunk-chunk-66PCWJUG.module.min.js +0 -1
  441. package/dist/chunk-chunk-6V5VQVCT.module.min.js +0 -2
  442. package/dist/chunk-chunk-7LE56WAE.module.min.js +0 -2
  443. package/dist/chunk-chunk-7T25U75Z.module.min.js +0 -2
  444. package/dist/chunk-chunk-ACLDBMRH.module.min.js +0 -2
  445. package/dist/chunk-chunk-AF53TBSN.module.min.js +0 -2
  446. package/dist/chunk-chunk-BTZYH2IE.module.min.js +0 -1
  447. package/dist/chunk-chunk-BWV55BZK.module.min.js +0 -2
  448. package/dist/chunk-chunk-BZNOAHJV.module.min.js +0 -2
  449. package/dist/chunk-chunk-CD6PVVS3.module.min.js +0 -2
  450. package/dist/chunk-chunk-DTSNLGRK.module.min.js +0 -2
  451. package/dist/chunk-chunk-FC3NZWYR.module.min.js +0 -2
  452. package/dist/chunk-chunk-FEPXDKJP.module.min.js +0 -1
  453. package/dist/chunk-chunk-FJ76HWQZ.module.min.js +0 -1
  454. package/dist/chunk-chunk-FRGBMTZR.module.min.js +0 -1
  455. package/dist/chunk-chunk-G75OPF5N.module.min.js +0 -2
  456. package/dist/chunk-chunk-H5IFO6CU.module.min.js +0 -2
  457. package/dist/chunk-chunk-HADHLMY5.module.min.js +0 -1
  458. package/dist/chunk-chunk-HBFA4NN6.module.min.js +0 -1
  459. package/dist/chunk-chunk-HCNDE26Q.module.min.js +0 -2
  460. package/dist/chunk-chunk-IY7RYD4S.module.min.js +0 -1
  461. package/dist/chunk-chunk-J3QOW4OE.module.min.js +0 -0
  462. package/dist/chunk-chunk-J3XWETBJ.module.min.js +0 -2
  463. package/dist/chunk-chunk-JJ4BSUYL.module.min.js +0 -2
  464. package/dist/chunk-chunk-JRHXQGEV.module.min.js +0 -2
  465. package/dist/chunk-chunk-KTWEBFMX.module.min.js +0 -2
  466. package/dist/chunk-chunk-L6FFYGYS.module.min.js +0 -1
  467. package/dist/chunk-chunk-LJDH3WV3.module.min.js +0 -2
  468. package/dist/chunk-chunk-LSJUXBMF.module.min.js +0 -1
  469. package/dist/chunk-chunk-N3Q33XCB.module.min.js +0 -2
  470. package/dist/chunk-chunk-NWIGA3UK.module.min.js +0 -1
  471. package/dist/chunk-chunk-OG3TTJGJ.module.min.js +0 -2
  472. package/dist/chunk-chunk-OZK46A5U.module.min.js +0 -1
  473. package/dist/chunk-chunk-PMR47KRY.module.min.js +0 -2
  474. package/dist/chunk-chunk-Q2YADC2V.module.min.js +0 -2
  475. package/dist/chunk-chunk-QQJNG23C.module.min.js +0 -2
  476. package/dist/chunk-chunk-RGJ6TKAH.module.min.js +0 -2
  477. package/dist/chunk-chunk-ROP4HI7H.module.min.js +0 -2
  478. package/dist/chunk-chunk-SFLUSZ73.module.min.js +0 -2
  479. package/dist/chunk-chunk-TCMHJWFJ.module.min.js +0 -1
  480. package/dist/chunk-chunk-TSCFL235.module.min.js +0 -1
  481. package/dist/chunk-chunk-U66USBWU.module.min.js +0 -1
  482. package/dist/chunk-chunk-UEZ6SHW5.module.min.js +0 -2
  483. package/dist/chunk-chunk-UOQRPGPK.module.min.js +0 -2
  484. package/dist/chunk-chunk-VUWYT7DY.module.min.js +0 -2
  485. package/dist/chunk-chunk-W5HWGQMD.module.min.js +0 -2
  486. package/dist/chunk-chunk-WFHZHWT7.module.min.js +0 -1
  487. package/dist/chunk-chunk-WGROBM3I.module.min.js +0 -2
  488. package/dist/chunk-chunk-WSDJFBKX.module.min.js +0 -2
  489. package/dist/chunk-chunk-YHNZCPOZ.module.min.js +0 -2
  490. package/dist/chunk-chunk-YWZB3KPI.module.min.js +0 -2
  491. package/dist/chunk-statisticalOverlays-HMYYSGPE.module.min.js +0 -2
  492. package/dist/components/stream/test-utils/frameScheduler.d.ts +0 -12
  493. package/dist/components/stream/test-utils/revisionConsumption.d.ts +0 -13
  494. package/dist/test-utils/canvasMock.d.ts +0 -86
  495. package/dist/test-utils/capturedFrameProps.d.ts +0 -67
  496. package/dist/test-utils/frameMock.d.ts +0 -81
  497. package/dist/test-utils/ordinalFixtures.d.ts +0 -48
  498. /package/dist/{chunk-chunk-JJ2OOIET.module.min.js → c-GGISSW5E.min.js} +0 -0
  499. /package/dist/{chunk-chunk-SIRIJ3DY.module.min.js → c-N4G2L7ID.min.js} +0 -0
  500. /package/dist/{chunk-chunk-CA3YDW6F.module.min.js → c-S6U5CGT5.min.js} +0 -0
  501. /package/dist/components/recipes/{mobileAnnotationStrategy.d.ts → mobileAnnotationBehavior.d.ts} +0 -0
@@ -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/ThemeStore";
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 {};
@@ -2,10 +2,16 @@ import * as React from "react";
2
2
  import { OrdinalPipelineStore } from "../stream/OrdinalPipelineStore";
3
3
  import type { StreamOrdinalFrameProps } from "../stream/ordinalTypes";
4
4
  import { type EvidenceSink } from "./renderEvidence";
5
- import type { SemioticTheme } from "../store/ThemeStore";
5
+ import type { SemioticTheme } from "../store/themeCore";
6
6
  import type { ThemeAwareProps } from "./staticSVGChrome";
7
+ import { type AxisChromeInput } from "../legendLayout";
7
8
  export declare function generateOrdinalAxesSVG(store: OrdinalPipelineStore, layout: {
8
9
  width: number;
9
10
  height: number;
10
- }, props: StreamOrdinalFrameProps, theme: SemioticTheme, idPrefix?: string): React.ReactNode;
11
+ }, props: StreamOrdinalFrameProps, theme: SemioticTheme, idPrefix?: string, margin?: {
12
+ top: number;
13
+ right: number;
14
+ bottom: number;
15
+ left: number;
16
+ }, axisChrome?: AxisChromeInput, hasRenderedLegend?: boolean): React.ReactNode;
11
17
  export declare function renderOrdinalFrame(props: StreamOrdinalFrameProps & ThemeAwareProps, sink?: EvidenceSink): string;
@@ -1,3 +1,15 @@
1
+ import { PhysicsPipelineStore, type PhysicsQueuedSpawn } from "../stream/physics/PhysicsPipelineStore";
2
+ import { type PhysicsSettledSVGOptions } from "../stream/physics/PhysicsSettledSVG";
1
3
  import { type EvidenceSink } from "./renderEvidence";
2
- import type { StaticPhysicsFrameProps } from "./staticSVGChrome";
4
+ import { resolveTheme } from "./themeResolver";
5
+ import { type StaticPhysicsChromeProps } from "./staticPhysicsChrome";
6
+ import type { StreamPhysicsFrameProps } from "../stream/physics/StreamPhysicsTypes";
7
+ export type StaticPhysicsFrameProps = PhysicsSettledSVGOptions & {
8
+ config?: ConstructorParameters<typeof PhysicsPipelineStore>[0];
9
+ initialSpawns?: PhysicsQueuedSpawn[];
10
+ projectionRows?: PhysicsSettledSVGOptions["projectionRows"];
11
+ size?: [number, number];
12
+ theme?: Parameters<typeof resolveTheme>[0];
13
+ _idPrefix?: string;
14
+ } & StaticPhysicsChromeProps & Pick<StreamPhysicsFrameProps, "regionEffects" | "seed">;
3
15
  export declare function renderPhysicsFrame(props: StaticPhysicsFrameProps, sink?: EvidenceSink): string;
@@ -0,0 +1,20 @@
1
+ import * as React from "react";
2
+ import type { SemioticTheme } from "../store/themeCore";
3
+ import type { FrameMargin } from "../stream/useFrame";
4
+ import type { PhysicsSettledScene } from "../stream/physics/PhysicsSettledScene";
5
+ import type { StreamPhysicsFrameProps } from "../stream/physics/StreamPhysicsTypes";
6
+ import { type StaticAnnotationRenderResult } from "./staticAnnotations";
7
+ export type StaticPhysicsChromeProps = Pick<StreamPhysicsFrameProps, "annotations" | "autoPlaceAnnotations" | "chartId" | "legend" | "legendClickBehavior" | "legendHighlightedCategory" | "legendHoverBehavior" | "legendIsolatedCategories" | "legendLayout" | "legendPosition" | "onAnnotationActivate" | "onObservation" | "svgAnnotationRules" | "title">;
8
+ export interface StaticPhysicsChromeRender {
9
+ node: React.ReactNode;
10
+ annotationRender?: StaticAnnotationRenderResult;
11
+ }
12
+ /**
13
+ * Server-only physics title, legend, and annotation chrome.
14
+ *
15
+ * The interactive overlay owns hooks and the live annotation factory; bringing
16
+ * it into `semiotic/server` solely to serialize a settled scene retains that
17
+ * client runtime. This counterpart intentionally uses the static legend and
18
+ * annotation paths while keeping the same nested SVG shell and paint order.
19
+ */
20
+ export declare function renderStaticPhysicsChrome(scene: PhysicsSettledScene, props: StaticPhysicsChromeProps, size: readonly [number, number], margin: FrameMargin, theme: SemioticTheme): StaticPhysicsChromeRender;
@@ -0,0 +1,15 @@
1
+ import * as React from "react";
2
+ import type { LegendLayout } from "../types/legendTypes";
3
+ import { type AxisChromeInput } from "../legendLayout";
4
+ /**
5
+ * Position caller-supplied legend nodes with the same geometry as the live
6
+ * overlay. Unlike configured legends, React nodes cannot be measured before
7
+ * render; `resolveLegendPlacement` intentionally uses the shared fallback
8
+ * box for that case.
9
+ */
10
+ export declare function renderStaticRawLegend(legend: React.ReactNode, size: readonly [number, number], margin: {
11
+ top: number;
12
+ right: number;
13
+ bottom: number;
14
+ left: number;
15
+ }, position?: "right" | "left" | "top" | "bottom", legendLayout?: LegendLayout, axisChrome?: AxisChromeInput): React.ReactNode;
@@ -1,26 +1,19 @@
1
1
  import type { Datum } from "../charts/shared/datumTypes";
2
2
  import type { LegendLayout } from "../types/legendTypes";
3
3
  import type { StreamXYFrameProps, StreamScales, StreamLayout } from "../stream/types";
4
- import type { XYFrameAxisConfig } from "../stream/xyFrameAxisTypes";
5
4
  import type { StreamNetworkFrameProps, RealtimeEdge } from "../stream/networkTypes";
6
5
  import type { StreamOrdinalFrameProps } from "../stream/ordinalTypes";
7
6
  import type { StreamGeoFrameProps } from "../stream/geoTypes";
8
- import type { PhysicsSettledSVGOptions } from "../stream/physics/PhysicsSettledSVG";
9
- import type { PhysicsPipelineStore, PhysicsQueuedSpawn } from "../stream/physics/PhysicsPipelineStore";
10
7
  import type { OrdinalPipelineStore } from "../stream/OrdinalPipelineStore";
8
+ import type { StaticPhysicsFrameProps } from "./staticPhysics";
9
+ export { reserveLegendConfigMargin, reserveStaticLegendMargin, } from "./staticLegendMargin";
11
10
  import { resolveTheme, type ThemeInput } from "./themeResolver";
12
- import type { SemioticTheme } from "../store/ThemeStore";
11
+ import type { SemioticTheme } from "../store/themeCore";
13
12
  import * as React from "react";
13
+ import { defaultTickFormat as defaultAxisTickFormat } from "../stream/axisTickUtils";
14
14
  import { type AxisExtentMode } from "../charts/shared/axisExtent";
15
15
  import { type AxisChromeInput } from "../legendLayout";
16
16
  export type FrameType = "xy" | "ordinal" | "network" | "geo" | "physics";
17
- export type StaticPhysicsFrameProps = PhysicsSettledSVGOptions & {
18
- config?: ConstructorParameters<typeof PhysicsPipelineStore>[0];
19
- initialSpawns?: PhysicsQueuedSpawn[];
20
- projectionRows?: PhysicsSettledSVGOptions["projectionRows"];
21
- size?: [number, number];
22
- _idPrefix?: string;
23
- };
24
17
  export type StaticFrameProps = (StreamXYFrameProps | StreamNetworkFrameProps | StreamOrdinalFrameProps | StreamGeoFrameProps | StaticPhysicsFrameProps) & ThemeAwareProps;
25
18
  export type CategoricalAccessor = string | ((d: Datum) => string);
26
19
  type EdgeEndpoint = RealtimeEdge["source"] | RealtimeEdge["target"] | null | undefined;
@@ -40,8 +33,8 @@ export interface ThemeAwareProps {
40
33
  legendLayout?: LegendLayout;
41
34
  /** Prefix for SVG element IDs — used by renderDashboard to avoid collisions */
42
35
  _idPrefix?: string;
43
- /** Internal HOC-level legend/margin contract metadata. */
44
- __explicitMargin?: unknown;
36
+ /** Internal HOC mode signal used by axis-free static chart chrome. */
37
+ __compactMode?: boolean;
45
38
  __autoLegendMargin?: boolean;
46
39
  /**
47
40
  * The supplied legend already contains the chart HOC's inferred groups.
@@ -65,45 +58,10 @@ type StaticLegendHostProps = ThemeAwareProps & {
65
58
  /**
66
59
  * The client HOCs reserve a minimum legend gutter before layout. The static
67
60
  * frame API uses the same content measurement, while renderChart() marks HOC
68
- * requests so both paths retain their compatibility floor. An explicitly set
69
- * numeric side remains fully caller-controlled.
61
+ * requests so both paths retain their compatibility floor. Caller-supplied
62
+ * numeric sides are minima and therefore compose with this requirement.
70
63
  */
71
64
  export declare function hocLegendMarginMinimum(props: ThemeAwareProps, position: LegendPosition): number | undefined;
72
- /** Whether the caller, rather than the HOC default, owns a legend side. */
73
- export declare function hasExplicitLegendMargin(props: ThemeAwareProps, position: LegendPosition): boolean;
74
- export declare function reserveStaticLegendMargin(margin: {
75
- top: number;
76
- right: number;
77
- bottom: number;
78
- left: number;
79
- }, options: {
80
- categories: string[];
81
- colorScheme?: string | string[] | Record<string, string>;
82
- theme: ReturnType<typeof resolveTheme>;
83
- position?: "right" | "left" | "top" | "bottom";
84
- size: [number, number];
85
- hasTitle?: boolean;
86
- legendLayout?: LegendLayout;
87
- minimumMargin?: number;
88
- preserveExplicitMargin?: boolean;
89
- axisChrome?: AxisChromeInput;
90
- }): void;
91
- export declare function reserveLegendConfigMargin(margin: {
92
- top: number;
93
- right: number;
94
- bottom: number;
95
- left: number;
96
- }, options: {
97
- legend: unknown;
98
- theme: ReturnType<typeof resolveTheme>;
99
- position?: "right" | "left" | "top" | "bottom";
100
- size: [number, number];
101
- hasTitle?: boolean;
102
- legendLayout?: LegendLayout;
103
- minimumMargin?: number;
104
- preserveExplicitMargin?: boolean;
105
- axisChrome?: AxisChromeInput;
106
- }): void;
107
65
  export declare function renderLegendConfig(legend: unknown, options: {
108
66
  theme: ReturnType<typeof resolveTheme>;
109
67
  position?: "right" | "left" | "top" | "bottom";
@@ -147,9 +105,8 @@ export declare function renderFrameLegend(options: {
147
105
  };
148
106
  hasTitle?: boolean;
149
107
  }): React.ReactNode;
150
- export declare function defaultTickFormat(v: number): string;
151
- /** Render grid lines for XY charts */
152
- export declare function renderGridSVG(scales: StreamScales, layout: StreamLayout, theme: SemioticTheme, idPrefix?: string, axisExtent?: AxisExtentMode, axes?: XYFrameAxisConfig[]): React.ReactNode;
108
+ /** Shared with the live overlay so time-scale defaults stay human-readable. */
109
+ export declare const defaultTickFormat: typeof defaultAxisTickFormat;
153
110
  /** Render grid lines for ordinal charts */
154
111
  export declare function renderOrdinalGridSVG(store: OrdinalPipelineStore, layout: {
155
112
  width: number;
@@ -173,5 +130,9 @@ export declare function wrapSVG(content: React.ReactNode, opts: {
173
130
  /** Prefix for SVG element IDs to avoid collisions in multi-chart documents */
174
131
  idPrefix?: string;
175
132
  }): React.ReactElement;
176
- export declare function generateAxesSVG(scales: StreamScales, layout: StreamLayout, props: StreamXYFrameProps, theme: SemioticTheme, idPrefix?: string): React.ReactNode;
177
- export {};
133
+ export declare function generateAxesSVG(scales: StreamScales, layout: StreamLayout, props: StreamXYFrameProps, theme: SemioticTheme, idPrefix?: string, margin?: {
134
+ top: number;
135
+ right: number;
136
+ bottom: number;
137
+ left: number;
138
+ }, axisChrome?: AxisChromeInput, hasRenderedLegend?: boolean): React.ReactNode;
@@ -0,0 +1,27 @@
1
+ import * as React from "react";
2
+ import type { StreamLayout, StreamScales, StreamXYFrameProps } from "../stream/types";
3
+ import type { XYFrameAxisConfig } from "../stream/xyFrameAxisTypes";
4
+ import type { SemioticTheme } from "../store/themeCore";
5
+ import { type AxisChromeInput } from "../legendLayout";
6
+ /**
7
+ * Render the second vertical axis when an XY frame explicitly supplies a
8
+ * left/right pair. The primary axis remains in staticSVGChrome so right-only
9
+ * configurations retain their longstanding markup; keeping the paired branch
10
+ * here prevents the shared chrome module from growing past its size boundary.
11
+ */
12
+ export declare function renderPairedRightAxisSVG(options: {
13
+ scales: StreamScales;
14
+ layout: StreamLayout;
15
+ props: StreamXYFrameProps;
16
+ theme: SemioticTheme;
17
+ leftAxis?: XYFrameAxisConfig;
18
+ rightAxis?: XYFrameAxisConfig;
19
+ margin: {
20
+ top: number;
21
+ right: number;
22
+ bottom: number;
23
+ left: number;
24
+ };
25
+ axisChrome?: AxisChromeInput;
26
+ hasRenderedLegend?: boolean;
27
+ }): React.ReactNode;
@@ -0,0 +1,39 @@
1
+ import type { ReactNode } from "react";
2
+ import type { XYFrameAxisConfig } from "../stream/xyFrameAxisTypes";
3
+ import type { AxisExtentMode } from "../charts/shared/axisExtent";
4
+ type AxisTickValue = number | Date;
5
+ export type StaticAxisTick = {
6
+ value: AxisTickValue;
7
+ pixel: number;
8
+ label: ReactNode;
9
+ };
10
+ type StaticAxisScale = {
11
+ (value: AxisTickValue): number;
12
+ domain(): readonly AxisTickValue[];
13
+ };
14
+ type StaticAxisFormatter = (value: AxisTickValue, index?: number, allTicks?: number[]) => ReactNode;
15
+ export declare function createStaticAxisTicks(options: {
16
+ values: AxisTickValue[];
17
+ scale: StaticAxisScale;
18
+ format: StaticAxisFormatter;
19
+ }): StaticAxisTick[];
20
+ /** Match SVGOverlay's deterministic label-width estimate. */
21
+ export declare function staticAxisLabelWidth(label: ReactNode): number;
22
+ /**
23
+ * Apply the same collision, duplicate-label, and include-max rules as the
24
+ * live SVGOverlay. Keeping this server-side makes a static export retain the
25
+ * readable endpoint set rather than serializing every crowded candidate.
26
+ */
27
+ export declare function resolveStaticAxisTicks(options: {
28
+ candidates: StaticAxisTick[];
29
+ scale: StaticAxisScale;
30
+ minPixelDistance: number;
31
+ includeMax?: boolean;
32
+ extentMode?: AxisExtentMode;
33
+ hasExplicitTickValues?: boolean;
34
+ dedupeLabels?: boolean;
35
+ includeDomainMax?: boolean;
36
+ format: StaticAxisFormatter;
37
+ }): StaticAxisTick[];
38
+ export declare function isStaticAxisLandmark(landmarkTicks: XYFrameAxisConfig["landmarkTicks"], tick: StaticAxisTick, index: number, ticks: StaticAxisTick[]): boolean;
39
+ export {};
@@ -0,0 +1,11 @@
1
+ import * as React from "react";
2
+ import type { StreamLayout, StreamScales, StreamXYFrameProps } from "../stream/types";
3
+ import type { XYFrameAxisConfig } from "../stream/xyFrameAxisTypes";
4
+ import type { SemioticTheme } from "../store/themeCore";
5
+ import { type AxisExtentMode } from "../charts/shared/axisExtent";
6
+ /**
7
+ * Server grid lines resolve the same filtered tick set as static axes. This
8
+ * prevents a crowded formatter or `includeMax` from leaving a grid line with
9
+ * no matching label (or a label without its grid line).
10
+ */
11
+ export declare function renderGridSVG(scales: StreamScales, layout: StreamLayout, theme: SemioticTheme, idPrefix?: string, axisExtent?: AxisExtentMode, axes?: XYFrameAxisConfig[], formatProps?: Pick<StreamXYFrameProps, "xFormat" | "yFormat" | "tickFormatTime" | "tickFormatValue">): React.ReactNode;
@@ -5,7 +5,7 @@
5
5
  * SemioticTheme instances with all color/font values resolved.
6
6
  * No CSS custom properties — everything is concrete for inline SVG.
7
7
  */
8
- import type { SemioticTheme } from "../store/ThemeStore";
8
+ import type { SemioticTheme } from "../store/themeCore";
9
9
  type PartialThemeObject = Omit<Partial<SemioticTheme>, "colors" | "typography" | "tooltip"> & {
10
10
  colors?: Partial<SemioticTheme["colors"]>;
11
11
  typography?: Partial<SemioticTheme["typography"]>;
@@ -39,7 +39,11 @@ export declare function themeStyles(theme: SemioticTheme): {
39
39
  categorical: string[];
40
40
  annotation: string;
41
41
  legendSize: number;
42
+ legendFontFamily: string;
43
+ legendFontWeight: string | number | undefined;
42
44
  titleFontSize: number;
45
+ titleFontFamily: string;
46
+ titleFontWeight: string | number;
43
47
  tickFontFamily: string;
44
48
  };
45
49
  export {};
@@ -1,103 +1,7 @@
1
- import type { ThemeSemanticColors } from "../stream/types";
2
- /**
3
- * Extract the semantic-role subset of a `SemioticTheme` into the flat
4
- * `ThemeSemanticColors` shape that Stream Frames thread through to
5
- * scene builders via `pipelineConfig.themeSemantic`.
6
- *
7
- * Centralizes two fallback rules documented on `SemioticTheme.colors`:
8
- * - `secondary` falls back to `primary` when unset
9
- * - `surface` falls back to `background` when unset
10
- *
11
- * Called from every Stream Frame (XY / Ordinal / Network / Geo) so role
12
- * additions and fallback tweaks land in exactly one place.
13
- *
14
- * Returns `undefined` when no theme is available so scene builders can
15
- * skip the theme-default path and use their hardcoded fallbacks.
16
- */
17
- export declare function resolveThemeSemanticColors(theme: SemioticTheme | null | undefined): ThemeSemanticColors | undefined;
18
- /** Apply accessibility flags to a resolved theme. Shared by ThemeStore and server themeResolver. */
19
- export declare function applyThemeAccessibility(theme: SemioticTheme): SemioticTheme;
20
- export interface SemioticTheme {
21
- mode: "light" | "dark" | "auto";
22
- colors: {
23
- primary: string;
24
- /** Secondary accent color. Falls back to `primary` when unset. */
25
- secondary?: string;
26
- categorical: string[];
27
- sequential: string;
28
- /** d3-scale-chromatic diverging scheme name, e.g. "RdBu", "PiYG" */
29
- diverging?: string;
30
- background: string;
31
- /** Elevated surface fill (e.g. card/tooltip bg). Falls back to `background`. */
32
- surface?: string;
33
- text: string;
34
- textSecondary: string;
35
- grid: string;
36
- border: string;
37
- /** Separator/border color for cell-like marks such as treemap tiles and heatmap cells. Falls back to `border`. */
38
- cellBorder?: string;
39
- focus?: string;
40
- /** Linked hover/selection highlight color */
41
- selection?: string;
42
- /** Opacity for non-selected (dimmed) elements, 0–1 */
43
- selectionOpacity?: number;
44
- /** Default annotation text/marker color. Falls back to `text` if unset. */
45
- annotation?: string;
46
- /** Positive outcomes, gains, "ok" states. */
47
- success?: string;
48
- /** Negative outcomes, losses, destructive actions. */
49
- danger?: string;
50
- /** Cautionary states, degraded but not failed. */
51
- warning?: string;
52
- /** Failed states, blocking errors. Typically more intense than `danger`. */
53
- error?: string;
54
- /** Neutral informational callouts, tips, help content. */
55
- info?: string;
56
- };
57
- typography: {
58
- fontFamily: string;
59
- titleSize: number;
60
- labelSize: number;
61
- tickSize: number;
62
- /** Font size for legend text. Falls back to `labelSize` if unset. */
63
- legendSize?: number;
64
- /** Font family for axis tick labels. Use monospace for aligned numerics. Falls back to `fontFamily`. */
65
- tickFontFamily?: string;
66
- /** Font size for chart title. Falls back to `titleSize` if unset. */
67
- titleFontSize?: number;
68
- };
69
- tooltip?: {
70
- background?: string;
71
- text?: string;
72
- borderRadius?: string;
73
- fontSize?: string;
74
- shadow?: string;
75
- };
76
- borderRadius?: string;
77
- accessibility?: {
78
- /** Auto-swap to color-blind safe palette when true */
79
- colorBlindSafe?: boolean;
80
- /** Enforce minimum 3:1 contrast ratios */
81
- highContrast?: boolean;
82
- };
83
- }
84
- /** Color-blind safe categorical palette (8 colors).
85
- * Derived from Wong (2011) "Points of view: Color blindness" — safe for
86
- * deuteranopia, protanopia, and tritanopia. */
87
- export declare const COLOR_BLIND_SAFE_CATEGORICAL: string[];
88
- export declare const LIGHT_THEME: SemioticTheme;
89
- export declare const DARK_THEME: SemioticTheme;
90
- export declare const HIGH_CONTRAST_THEME: SemioticTheme;
1
+ import type { SemioticTheme, ThemeStoreUpdate } from "./themeCore";
2
+ export * from "./themeCore";
91
3
  export interface ThemeStoreState {
92
4
  theme: SemioticTheme;
93
5
  setTheme: (theme: ThemeStoreUpdate) => void;
94
6
  }
95
- export type SemioticThemeUpdate = Omit<Partial<SemioticTheme>, "colors" | "typography" | "tooltip" | "accessibility"> & {
96
- colors?: Partial<SemioticTheme["colors"]>;
97
- typography?: Partial<SemioticTheme["typography"]>;
98
- tooltip?: Partial<NonNullable<SemioticTheme["tooltip"]>>;
99
- accessibility?: Partial<NonNullable<SemioticTheme["accessibility"]>>;
100
- };
101
- export type ThemeStoreUpdate = SemioticThemeUpdate | "light" | "dark" | "high-contrast";
102
- export declare function resolveThemeUpdate(current: SemioticTheme, theme: ThemeStoreUpdate): SemioticTheme;
103
7
  export declare const ThemeProvider: import("react").FC<import("./createStore").StoreProviderProps<ThemeStoreState>>, useThemeSelector: <R>(selector: (state: ThemeStoreState) => R, equalityFn?: ((a: R, b: R) => boolean) | undefined) => R;
@@ -1,5 +1,5 @@
1
1
  import type { Datum } from "../charts/shared/datumTypes";
2
- import type { SemioticTheme } from "./ThemeStore";
2
+ import type { SemioticTheme } from "./themeCore";
3
3
  type ColorRole = "primary" | "secondary" | "background" | "surface" | "text" | "textSecondary" | "border" | "grid" | "focus" | "annotation" | "success" | "danger" | "warning" | "error" | "info";
4
4
  export interface DesignTokensToThemeOptions {
5
5
  /** Theme to merge resolved roles onto. Defaults to LIGHT/DARK by detected bg. */
@@ -0,0 +1,10 @@
1
+ import type { SemioticTheme } from "./themeCore";
2
+ /**
3
+ * Canonical CSS custom-property projection for a Semiotic theme.
4
+ *
5
+ * Both the React ThemeProvider and the string serializer consume this map so
6
+ * a token cannot exist in one delivery path but silently disappear from the
7
+ * other. Object insertion order is intentional: themeToCSS preserves it for
8
+ * stable snapshots and generated stylesheets.
9
+ */
10
+ export declare function themeToCSSVariables(theme: SemioticTheme): Record<`--semiotic-${string}`, string>;
@@ -0,0 +1,91 @@
1
+ import type { ThemeSemanticColors } from "../stream/streamThemeTypes";
2
+ export interface SemioticTheme {
3
+ mode: "light" | "dark" | "auto";
4
+ colors: {
5
+ primary: string;
6
+ /** Secondary accent color. Falls back to `primary` when unset. */
7
+ secondary?: string;
8
+ categorical: string[];
9
+ sequential: string;
10
+ /** d3-scale-chromatic diverging scheme name, e.g. "RdBu", "PiYG" */
11
+ diverging?: string;
12
+ background: string;
13
+ /** Elevated surface fill (e.g. card/tooltip bg). Falls back to `background`. */
14
+ surface?: string;
15
+ text: string;
16
+ textSecondary: string;
17
+ grid: string;
18
+ border: string;
19
+ /** Separator/border color for cell-like marks such as treemap tiles and heatmap cells. Falls back to `border`. */
20
+ cellBorder?: string;
21
+ focus?: string;
22
+ /** Linked hover/selection highlight color */
23
+ selection?: string;
24
+ /** Opacity for non-selected (dimmed) elements, 0–1 */
25
+ selectionOpacity?: number;
26
+ /** Default annotation text/marker color. Falls back to `text` if unset. */
27
+ annotation?: string;
28
+ /** Positive outcomes, gains, "ok" states. */
29
+ success?: string;
30
+ /** Negative outcomes, losses, destructive actions. */
31
+ danger?: string;
32
+ /** Cautionary states, degraded but not failed. */
33
+ warning?: string;
34
+ /** Failed states, blocking errors. Typically more intense than `danger`. */
35
+ error?: string;
36
+ /** Neutral informational callouts, tips, help content. */
37
+ info?: string;
38
+ };
39
+ typography: {
40
+ fontFamily: string;
41
+ titleSize: number;
42
+ labelSize: number;
43
+ tickSize: number;
44
+ /** Font size for legend text. Falls back to `labelSize` if unset. */
45
+ legendSize?: number;
46
+ /** Font family for legends. Falls back to `fontFamily` if unset. */
47
+ legendFontFamily?: string;
48
+ /** Font weight for legends. Inherits the browser normal weight if unset. */
49
+ legendFontWeight?: string | number;
50
+ /** Font family for axis tick labels. Falls back to `fontFamily`. */
51
+ tickFontFamily?: string;
52
+ /** Font size for chart title. Falls back to `titleSize` if unset. */
53
+ titleFontSize?: number;
54
+ /** Font family for chart titles. Falls back to `fontFamily` if unset. */
55
+ titleFontFamily?: string;
56
+ /** Font weight for chart titles. Falls back to the established bold title treatment. */
57
+ titleFontWeight?: string | number;
58
+ };
59
+ tooltip?: {
60
+ background?: string;
61
+ text?: string;
62
+ borderRadius?: string;
63
+ fontSize?: string;
64
+ shadow?: string;
65
+ };
66
+ borderRadius?: string;
67
+ accessibility?: {
68
+ /** Auto-swap to color-blind safe palette when true */
69
+ colorBlindSafe?: boolean;
70
+ /** Enforce minimum 3:1 contrast ratios */
71
+ highContrast?: boolean;
72
+ };
73
+ }
74
+ export type SemioticThemeUpdate = Omit<Partial<SemioticTheme>, "colors" | "typography" | "tooltip" | "accessibility"> & {
75
+ colors?: Partial<SemioticTheme["colors"]>;
76
+ typography?: Partial<SemioticTheme["typography"]>;
77
+ tooltip?: Partial<NonNullable<SemioticTheme["tooltip"]>>;
78
+ accessibility?: Partial<NonNullable<SemioticTheme["accessibility"]>>;
79
+ };
80
+ export type ThemeStoreUpdate = SemioticThemeUpdate | "light" | "dark" | "high-contrast";
81
+ /** Color-blind safe categorical palette (8 colors).
82
+ * Derived from Wong (2011) "Points of view: Color blindness". */
83
+ export declare const COLOR_BLIND_SAFE_CATEGORICAL: string[];
84
+ export declare const LIGHT_THEME: SemioticTheme;
85
+ export declare const DARK_THEME: SemioticTheme;
86
+ export declare const HIGH_CONTRAST_THEME: SemioticTheme;
87
+ /** Extract the semantic-role subset consumed by Stream Frame scene builders. */
88
+ export declare function resolveThemeSemanticColors(theme: SemioticTheme | null | undefined): ThemeSemanticColors | undefined;
89
+ /** Apply accessibility flags to a resolved theme. */
90
+ export declare function applyThemeAccessibility(theme: SemioticTheme): SemioticTheme;
91
+ export declare function resolveThemeUpdate(current: SemioticTheme, theme: ThemeStoreUpdate): SemioticTheme;
@@ -0,0 +1,81 @@
1
+ /**
2
+ * Internal named theme presets for Semiotic charts.
3
+ *
4
+ * Each theme provides light and dark mode variants as full SemioticTheme objects.
5
+ * Use with ThemeProvider: `<ThemeProvider theme={TUFTE_LIGHT} />` or by name:
6
+ * `<ThemeProvider theme="tufte" />` / `<ThemeProvider theme="tufte-dark" />`.
7
+ */
8
+ import type { SemioticTheme } from "./themeCore";
9
+ import { LIGHT_THEME, DARK_THEME, HIGH_CONTRAST_THEME, COLOR_BLIND_SAFE_CATEGORICAL } from "./themeCore";
10
+ export { LIGHT_THEME, DARK_THEME, HIGH_CONTRAST_THEME, COLOR_BLIND_SAFE_CATEGORICAL };
11
+ export type { SemioticTheme };
12
+ export declare const PASTELS_LIGHT: SemioticTheme;
13
+ export declare const PASTELS_DARK: SemioticTheme;
14
+ export declare const BI_TOOL_LIGHT: SemioticTheme;
15
+ export declare const BI_TOOL_DARK: SemioticTheme;
16
+ export declare const ITALIAN_LIGHT: SemioticTheme;
17
+ export declare const ITALIAN_DARK: SemioticTheme;
18
+ export declare const TUFTE_LIGHT: SemioticTheme;
19
+ export declare const TUFTE_DARK: SemioticTheme;
20
+ export declare const JOURNALIST_LIGHT: SemioticTheme;
21
+ export declare const JOURNALIST_DARK: SemioticTheme;
22
+ export declare const PLAYFUL_LIGHT: SemioticTheme;
23
+ export declare const PLAYFUL_DARK: SemioticTheme;
24
+ /**
25
+ * IBM Carbon Design System categorical palette (14 colors).
26
+ * Full palette for data-dense visualizations; themes use the first 4.
27
+ */
28
+ export declare const CARBON_CATEGORICAL_14: string[];
29
+ /**
30
+ * IBM Carbon alert palette — danger, warning, success, info.
31
+ */
32
+ export declare const CARBON_ALERT: {
33
+ readonly danger: "#da1e28";
34
+ readonly warning: "#f1c21b";
35
+ readonly success: "#24a148";
36
+ readonly info: "#0043ce";
37
+ };
38
+ export declare const CARBON_LIGHT: SemioticTheme;
39
+ export declare const CARBON_DARK: SemioticTheme;
40
+ declare const THEME_PRESET_DEFINITIONS: {
41
+ light: SemioticTheme;
42
+ dark: SemioticTheme;
43
+ "high-contrast": SemioticTheme;
44
+ pastels: SemioticTheme;
45
+ "pastels-dark": SemioticTheme;
46
+ "bi-tool": SemioticTheme;
47
+ "bi-tool-dark": SemioticTheme;
48
+ italian: SemioticTheme;
49
+ "italian-dark": SemioticTheme;
50
+ tufte: SemioticTheme;
51
+ "tufte-dark": SemioticTheme;
52
+ journalist: SemioticTheme;
53
+ "journalist-dark": SemioticTheme;
54
+ playful: SemioticTheme;
55
+ "playful-dark": SemioticTheme;
56
+ carbon: SemioticTheme;
57
+ "carbon-dark": SemioticTheme;
58
+ };
59
+ /** Exact built-in preset slugs for callers that want typo rejection. */
60
+ export type KnownThemePresetName = keyof typeof THEME_PRESET_DEFINITIONS;
61
+ /**
62
+ * All named theme presets, keyed by slug.
63
+ *
64
+ * The string index preserves the pre-3.9 registry contract for consumers that
65
+ * look up dynamically supplied names. The intersection retains named members
66
+ * for editor completion, while KnownThemePresetName exposes the strict key set.
67
+ */
68
+ export declare const THEME_PRESETS: typeof THEME_PRESET_DEFINITIONS & Record<string, SemioticTheme>;
69
+ /**
70
+ * Theme name accepted by ThemeProvider.
71
+ *
72
+ * The open-string branch preserves compatibility with 3.8.x consumers that
73
+ * source names dynamically, while KnownThemePresetName provides a strict
74
+ * alias for authored configuration and editor completion.
75
+ */
76
+ export type ThemePresetName = KnownThemePresetName | (string & {});
77
+ /**
78
+ * Resolve a theme preset name to a SemioticTheme object.
79
+ * Returns undefined if the name is not recognized.
80
+ */
81
+ export declare function resolveThemePreset(name: string): SemioticTheme | undefined;
@@ -1,5 +1,6 @@
1
1
  import type { Datum } from "../charts/shared/datumTypes";
2
- import type { SemioticTheme } from "./ThemeStore";
2
+ import type { SemioticTheme } from "./themeCore";
3
+ export { themeToCSSVariables } from "./themeCSSVariables";
3
4
  /**
4
5
  * Convert a SemioticTheme to a CSS custom properties string.
5
6
  * Useful for SSR or generating stylesheet content.