react-cheminfo 0.8.0 → 0.10.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 (1397) hide show
  1. package/README.md +309 -20
  2. package/bin/check-tokens.mjs +105 -0
  3. package/lib/about/core/about.d.ts +95 -0
  4. package/lib/about/core/about.d.ts.map +1 -0
  5. package/lib/about/core/about.js +78 -0
  6. package/lib/about/core/about.js.map +1 -0
  7. package/lib/about/core/index.d.ts +3 -0
  8. package/lib/about/core/index.d.ts.map +1 -0
  9. package/lib/about/core/index.js +2 -0
  10. package/lib/about/core/index.js.map +1 -0
  11. package/lib/about/ui/AboutCitations.d.ts +14 -0
  12. package/lib/about/ui/AboutCitations.d.ts.map +1 -0
  13. package/lib/about/ui/AboutCitations.js +40 -0
  14. package/lib/about/ui/AboutCitations.js.map +1 -0
  15. package/lib/about/ui/AboutPage.d.ts +32 -0
  16. package/lib/about/ui/AboutPage.d.ts.map +1 -0
  17. package/lib/about/ui/AboutPage.js +70 -0
  18. package/lib/about/ui/AboutPage.js.map +1 -0
  19. package/lib/about/ui/AboutSection.d.ts +23 -0
  20. package/lib/about/ui/AboutSection.d.ts.map +1 -0
  21. package/lib/about/ui/AboutSection.js +28 -0
  22. package/lib/about/ui/AboutSection.js.map +1 -0
  23. package/lib/about/ui/index.d.ts +7 -0
  24. package/lib/about/ui/index.d.ts.map +1 -0
  25. package/lib/about/ui/index.js +4 -0
  26. package/lib/about/ui/index.js.map +1 -0
  27. package/lib/chart/core/chartAxisScale.d.ts +88 -0
  28. package/lib/chart/core/chartAxisScale.d.ts.map +1 -0
  29. package/lib/chart/core/chartAxisScale.js +205 -0
  30. package/lib/chart/core/chartAxisScale.js.map +1 -0
  31. package/lib/chart/core/chartBand.d.ts +47 -0
  32. package/lib/chart/core/chartBand.d.ts.map +1 -0
  33. package/lib/chart/core/chartBand.js +55 -0
  34. package/lib/chart/core/chartBand.js.map +1 -0
  35. package/lib/chart/core/chartBins.d.ts +32 -0
  36. package/lib/chart/core/chartBins.d.ts.map +1 -0
  37. package/lib/chart/core/chartBins.js +64 -0
  38. package/lib/chart/core/chartBins.js.map +1 -0
  39. package/lib/chart/core/chartExtent.d.ts +105 -0
  40. package/lib/chart/core/chartExtent.d.ts.map +1 -0
  41. package/lib/chart/core/chartExtent.js +134 -0
  42. package/lib/chart/core/chartExtent.js.map +1 -0
  43. package/lib/chart/core/chartLabels.d.ts +49 -0
  44. package/lib/chart/core/chartLabels.d.ts.map +1 -0
  45. package/lib/chart/core/chartLabels.js +44 -0
  46. package/lib/chart/core/chartLabels.js.map +1 -0
  47. package/lib/chart/core/chartPalette.d.ts +33 -0
  48. package/lib/chart/core/chartPalette.d.ts.map +1 -0
  49. package/lib/chart/core/chartPalette.js +51 -0
  50. package/lib/chart/core/chartPalette.js.map +1 -0
  51. package/lib/chart/core/chartScale.d.ts +49 -0
  52. package/lib/chart/core/chartScale.d.ts.map +1 -0
  53. package/lib/chart/core/chartScale.js +53 -0
  54. package/lib/chart/core/chartScale.js.map +1 -0
  55. package/lib/chart/core/chartViewport.d.ts +88 -0
  56. package/lib/chart/core/chartViewport.d.ts.map +1 -0
  57. package/lib/chart/core/chartViewport.js +164 -0
  58. package/lib/chart/core/chartViewport.js.map +1 -0
  59. package/lib/chart/core/index.d.ts +29 -0
  60. package/lib/chart/core/index.d.ts.map +1 -0
  61. package/lib/chart/core/index.js +20 -0
  62. package/lib/chart/core/index.js.map +1 -0
  63. package/lib/chart/core/matrix.d.ts +56 -0
  64. package/lib/chart/core/matrix.d.ts.map +1 -0
  65. package/lib/chart/core/matrix.js +75 -0
  66. package/lib/chart/core/matrix.js.map +1 -0
  67. package/lib/chart/ui/ChartAxis.d.ts +50 -0
  68. package/lib/chart/ui/ChartAxis.d.ts.map +1 -0
  69. package/lib/chart/ui/ChartAxis.js +89 -0
  70. package/lib/chart/ui/ChartAxis.js.map +1 -0
  71. package/lib/chart/ui/ChartFrame.d.ts +136 -0
  72. package/lib/chart/ui/ChartFrame.d.ts.map +1 -0
  73. package/lib/chart/ui/ChartFrame.js +61 -0
  74. package/lib/chart/ui/ChartFrame.js.map +1 -0
  75. package/lib/chart/ui/ChartSeriesMarks.d.ts +44 -0
  76. package/lib/chart/ui/ChartSeriesMarks.d.ts.map +1 -0
  77. package/lib/chart/ui/ChartSeriesMarks.js +48 -0
  78. package/lib/chart/ui/ChartSeriesMarks.js.map +1 -0
  79. package/lib/chart/ui/ChartTrackingLayer.d.ts +54 -0
  80. package/lib/chart/ui/ChartTrackingLayer.d.ts.map +1 -0
  81. package/lib/chart/ui/ChartTrackingLayer.js +98 -0
  82. package/lib/chart/ui/ChartTrackingLayer.js.map +1 -0
  83. package/lib/chart/ui/TrackedLineChart.d.ts +136 -0
  84. package/lib/chart/ui/TrackedLineChart.d.ts.map +1 -0
  85. package/lib/chart/ui/TrackedLineChart.js +90 -0
  86. package/lib/chart/ui/TrackedLineChart.js.map +1 -0
  87. package/lib/chart/ui/TrackedStickChart.d.ts +88 -0
  88. package/lib/chart/ui/TrackedStickChart.d.ts.map +1 -0
  89. package/lib/chart/ui/TrackedStickChart.js +58 -0
  90. package/lib/chart/ui/TrackedStickChart.js.map +1 -0
  91. package/lib/chart/ui/chartStyles.d.ts +141 -0
  92. package/lib/chart/ui/chartStyles.d.ts.map +1 -0
  93. package/lib/chart/ui/chartStyles.js +154 -0
  94. package/lib/chart/ui/chartStyles.js.map +1 -0
  95. package/lib/chart/ui/index.d.ts +20 -0
  96. package/lib/chart/ui/index.d.ts.map +1 -0
  97. package/lib/chart/ui/index.js +13 -0
  98. package/lib/chart/ui/index.js.map +1 -0
  99. package/lib/chart/ui/stickChartModel.d.ts +99 -0
  100. package/lib/chart/ui/stickChartModel.d.ts.map +1 -0
  101. package/lib/chart/ui/stickChartModel.js +140 -0
  102. package/lib/chart/ui/stickChartModel.js.map +1 -0
  103. package/lib/chart/ui/useWheelZoom.d.ts +69 -0
  104. package/lib/chart/ui/useWheelZoom.d.ts.map +1 -0
  105. package/lib/chart/ui/useWheelZoom.js +122 -0
  106. package/lib/chart/ui/useWheelZoom.js.map +1 -0
  107. package/lib/chrome/ui/index.d.ts +1 -0
  108. package/lib/chrome/ui/index.d.ts.map +1 -1
  109. package/lib/chrome/ui/index.js +3 -0
  110. package/lib/chrome/ui/index.js.map +1 -1
  111. package/lib/clipboard/ui/CodeBlock.d.ts.map +1 -1
  112. package/lib/clipboard/ui/CodeBlock.js +4 -1
  113. package/lib/clipboard/ui/CodeBlock.js.map +1 -1
  114. package/lib/color/core/gradient.d.ts +15 -0
  115. package/lib/color/core/gradient.d.ts.map +1 -0
  116. package/lib/color/core/gradient.js +28 -0
  117. package/lib/color/core/gradient.js.map +1 -0
  118. package/lib/color/core/hsv.d.ts +38 -0
  119. package/lib/color/core/hsv.d.ts.map +1 -0
  120. package/lib/color/core/hsv.js +92 -0
  121. package/lib/color/core/hsv.js.map +1 -0
  122. package/lib/color/core/index.d.ts +12 -1
  123. package/lib/color/core/index.d.ts.map +1 -1
  124. package/lib/color/core/index.js +6 -0
  125. package/lib/color/core/index.js.map +1 -1
  126. package/lib/color/core/interpolate.d.ts +67 -0
  127. package/lib/color/core/interpolate.d.ts.map +1 -0
  128. package/lib/color/core/interpolate.js +121 -0
  129. package/lib/color/core/interpolate.js.map +1 -0
  130. package/lib/color/core/scale.d.ts +11 -15
  131. package/lib/color/core/scale.d.ts.map +1 -1
  132. package/lib/color/core/scale.js +14 -41
  133. package/lib/color/core/scale.js.map +1 -1
  134. package/lib/color/core/scaleData.d.ts +19 -0
  135. package/lib/color/core/scaleData.d.ts.map +1 -0
  136. package/lib/color/core/scaleData.js +120 -0
  137. package/lib/color/core/scaleData.js.map +1 -0
  138. package/lib/color/core/scaleText.d.ts +43 -0
  139. package/lib/color/core/scaleText.d.ts.map +1 -0
  140. package/lib/color/core/scaleText.js +109 -0
  141. package/lib/color/core/scaleText.js.map +1 -0
  142. package/lib/color/core/scales.d.ts +42 -0
  143. package/lib/color/core/scales.d.ts.map +1 -0
  144. package/lib/color/core/scales.js +110 -0
  145. package/lib/color/core/scales.js.map +1 -0
  146. package/lib/color/ui/ColorScaleBar.d.ts +39 -0
  147. package/lib/color/ui/ColorScaleBar.d.ts.map +1 -0
  148. package/lib/color/ui/ColorScaleBar.js +27 -0
  149. package/lib/color/ui/ColorScaleBar.js.map +1 -0
  150. package/lib/color/ui/ColorScaleEditor.d.ts +21 -0
  151. package/lib/color/ui/ColorScaleEditor.d.ts.map +1 -0
  152. package/lib/color/ui/ColorScaleEditor.js +141 -0
  153. package/lib/color/ui/ColorScaleEditor.js.map +1 -0
  154. package/lib/color/ui/ColorScaleLegend.js +1 -1
  155. package/lib/color/ui/ColorScaleLegend.js.map +1 -1
  156. package/lib/color/ui/ColorScaleSelect.d.ts +38 -0
  157. package/lib/color/ui/ColorScaleSelect.d.ts.map +1 -0
  158. package/lib/color/ui/ColorScaleSelect.js +109 -0
  159. package/lib/color/ui/ColorScaleSelect.js.map +1 -0
  160. package/lib/color/ui/index.d.ts +6 -0
  161. package/lib/color/ui/index.d.ts.map +1 -1
  162. package/lib/color/ui/index.js +3 -0
  163. package/lib/color/ui/index.js.map +1 -1
  164. package/lib/core.d.ts +8 -0
  165. package/lib/core.d.ts.map +1 -1
  166. package/lib/core.js +10 -0
  167. package/lib/core.js.map +1 -1
  168. package/lib/credits/core/credits.d.ts +53 -0
  169. package/lib/credits/core/credits.d.ts.map +1 -1
  170. package/lib/credits/core/credits.js +62 -0
  171. package/lib/credits/core/credits.js.map +1 -1
  172. package/lib/credits/ui/CreditsList.js +1 -1
  173. package/lib/credits/ui/CreditsList.js.map +1 -1
  174. package/lib/delimited/ui/DelimitedTextPanel.js +1 -1
  175. package/lib/delimited/ui/DelimitedTextPanel.js.map +1 -1
  176. package/lib/download/core/cssTokens.d.ts +33 -0
  177. package/lib/download/core/cssTokens.d.ts.map +1 -0
  178. package/lib/download/core/cssTokens.js +82 -0
  179. package/lib/download/core/cssTokens.js.map +1 -0
  180. package/lib/download/core/downloadFigure.d.ts +39 -0
  181. package/lib/download/core/downloadFigure.d.ts.map +1 -0
  182. package/lib/download/core/downloadFigure.js +35 -0
  183. package/lib/download/core/downloadFigure.js.map +1 -0
  184. package/lib/download/core/figurePng.d.ts +21 -0
  185. package/lib/download/core/figurePng.d.ts.map +1 -0
  186. package/lib/download/core/figurePng.js +76 -0
  187. package/lib/download/core/figurePng.js.map +1 -0
  188. package/lib/download/core/figureScale.d.ts +61 -0
  189. package/lib/download/core/figureScale.d.ts.map +1 -0
  190. package/lib/download/core/figureScale.js +67 -0
  191. package/lib/download/core/figureScale.js.map +1 -0
  192. package/lib/download/core/figureSvg.d.ts +37 -0
  193. package/lib/download/core/figureSvg.d.ts.map +1 -0
  194. package/lib/download/core/figureSvg.js +94 -0
  195. package/lib/download/core/figureSvg.js.map +1 -0
  196. package/lib/download/core/figureSvgDocument.d.ts +55 -0
  197. package/lib/download/core/figureSvgDocument.d.ts.map +1 -0
  198. package/lib/download/core/figureSvgDocument.js +79 -0
  199. package/lib/download/core/figureSvgDocument.js.map +1 -0
  200. package/lib/download/core/figureTarget.d.ts +56 -0
  201. package/lib/download/core/figureTarget.d.ts.map +1 -0
  202. package/lib/download/core/figureTarget.js +119 -0
  203. package/lib/download/core/figureTarget.js.map +1 -0
  204. package/lib/download/core/index.d.ts +12 -0
  205. package/lib/download/core/index.d.ts.map +1 -1
  206. package/lib/download/core/index.js +7 -0
  207. package/lib/download/core/index.js.map +1 -1
  208. package/lib/download/ui/FigureDownload.d.ts +81 -0
  209. package/lib/download/ui/FigureDownload.d.ts.map +1 -0
  210. package/lib/download/ui/FigureDownload.js +65 -0
  211. package/lib/download/ui/FigureDownload.js.map +1 -0
  212. package/lib/download/ui/FigureDownloadPanel.d.ts +45 -0
  213. package/lib/download/ui/FigureDownloadPanel.d.ts.map +1 -0
  214. package/lib/download/ui/FigureDownloadPanel.js +86 -0
  215. package/lib/download/ui/FigureDownloadPanel.js.map +1 -0
  216. package/lib/download/ui/index.d.ts +13 -0
  217. package/lib/download/ui/index.d.ts.map +1 -0
  218. package/lib/download/ui/index.js +11 -0
  219. package/lib/download/ui/index.js.map +1 -0
  220. package/lib/ecosystem/core/sites.d.ts +1 -1
  221. package/lib/ecosystem/core/sites.d.ts.map +1 -1
  222. package/lib/ecosystem/core/sites.js +20 -0
  223. package/lib/ecosystem/core/sites.js.map +1 -1
  224. package/lib/ecosystem/core/tokens.d.ts.map +1 -1
  225. package/lib/ecosystem/core/tokens.js +1 -0
  226. package/lib/ecosystem/core/tokens.js.map +1 -1
  227. package/lib/ecosystem/ui/EcosystemLinks.js +2 -2
  228. package/lib/ecosystem/ui/EcosystemLinks.js.map +1 -1
  229. package/lib/ecosystem/ui/EcosystemMenu.js +1 -1
  230. package/lib/ecosystem/ui/EcosystemMenu.js.map +1 -1
  231. package/lib/ecosystem/ui/SiteTile.d.ts.map +1 -1
  232. package/lib/ecosystem/ui/SiteTile.js +5 -5
  233. package/lib/ecosystem/ui/SiteTile.js.map +1 -1
  234. package/lib/ecosystem/ui/glyphs.d.ts.map +1 -1
  235. package/lib/ecosystem/ui/glyphs.js +7 -0
  236. package/lib/ecosystem/ui/glyphs.js.map +1 -1
  237. package/lib/orbital/core/index.d.ts +1 -1
  238. package/lib/orbital/core/index.d.ts.map +1 -1
  239. package/lib/orbital/core/index.js +1 -1
  240. package/lib/orbital/core/index.js.map +1 -1
  241. package/lib/orbital/core/realHarmonics.d.ts +5 -2
  242. package/lib/orbital/core/realHarmonics.d.ts.map +1 -1
  243. package/lib/orbital/core/realHarmonics.js.map +1 -1
  244. package/lib/orbital/ui/AtomicOrbitalCanvas.d.ts +18 -0
  245. package/lib/orbital/ui/AtomicOrbitalCanvas.d.ts.map +1 -1
  246. package/lib/orbital/ui/AtomicOrbitalCanvas.js +84 -7
  247. package/lib/orbital/ui/AtomicOrbitalCanvas.js.map +1 -1
  248. package/lib/orbital/ui/AtomicOrbitalViewer.d.ts +13 -0
  249. package/lib/orbital/ui/AtomicOrbitalViewer.d.ts.map +1 -1
  250. package/lib/orbital/ui/AtomicOrbitalViewer.js +1 -1
  251. package/lib/orbital/ui/AtomicOrbitalViewer.js.map +1 -1
  252. package/lib/orbital/ui/camera.d.ts +15 -0
  253. package/lib/orbital/ui/camera.d.ts.map +1 -1
  254. package/lib/orbital/ui/camera.js +68 -0
  255. package/lib/orbital/ui/camera.js.map +1 -1
  256. package/lib/orbital/ui/renderVolume.d.ts.map +1 -1
  257. package/lib/orbital/ui/renderVolume.js +8 -1
  258. package/lib/orbital/ui/renderVolume.js.map +1 -1
  259. package/lib/orbital/ui/serial.d.ts +25 -0
  260. package/lib/orbital/ui/serial.d.ts.map +1 -0
  261. package/lib/orbital/ui/serial.js +25 -0
  262. package/lib/orbital/ui/serial.js.map +1 -0
  263. package/lib/orbital/ui/viewer.d.ts +23 -0
  264. package/lib/orbital/ui/viewer.d.ts.map +1 -1
  265. package/lib/orbital/ui/viewer.js +70 -17
  266. package/lib/orbital/ui/viewer.js.map +1 -1
  267. package/lib/overlay/core/emptiestCorner.d.ts +47 -0
  268. package/lib/overlay/core/emptiestCorner.d.ts.map +1 -0
  269. package/lib/overlay/core/emptiestCorner.js +84 -0
  270. package/lib/overlay/core/emptiestCorner.js.map +1 -0
  271. package/lib/overlay/core/index.d.ts +23 -0
  272. package/lib/overlay/core/index.d.ts.map +1 -0
  273. package/lib/overlay/core/index.js +16 -0
  274. package/lib/overlay/core/index.js.map +1 -0
  275. package/lib/overlay/core/overlayCollapse.d.ts +14 -0
  276. package/lib/overlay/core/overlayCollapse.d.ts.map +1 -0
  277. package/lib/overlay/core/overlayCollapse.js +20 -0
  278. package/lib/overlay/core/overlayCollapse.js.map +1 -0
  279. package/lib/overlay/core/overlayMarks.d.ts +31 -0
  280. package/lib/overlay/core/overlayMarks.d.ts.map +1 -0
  281. package/lib/overlay/core/overlayMarks.js +38 -0
  282. package/lib/overlay/core/overlayMarks.js.map +1 -0
  283. package/lib/overlay/core/overlayMetrics.d.ts +41 -0
  284. package/lib/overlay/core/overlayMetrics.d.ts.map +1 -0
  285. package/lib/overlay/core/overlayMetrics.js +73 -0
  286. package/lib/overlay/core/overlayMetrics.js.map +1 -0
  287. package/lib/overlay/core/overlayPlacement.d.ts +60 -0
  288. package/lib/overlay/core/overlayPlacement.d.ts.map +1 -0
  289. package/lib/overlay/core/overlayPlacement.js +24 -0
  290. package/lib/overlay/core/overlayPlacement.js.map +1 -0
  291. package/lib/overlay/core/overlayTierRoom.d.ts +89 -0
  292. package/lib/overlay/core/overlayTierRoom.d.ts.map +1 -0
  293. package/lib/overlay/core/overlayTierRoom.js +135 -0
  294. package/lib/overlay/core/overlayTierRoom.js.map +1 -0
  295. package/lib/overlay/core/overlayTiers.d.ts +71 -0
  296. package/lib/overlay/core/overlayTiers.d.ts.map +1 -0
  297. package/lib/overlay/core/overlayTiers.js +89 -0
  298. package/lib/overlay/core/overlayTiers.js.map +1 -0
  299. package/lib/overlay/core/placeOverlayCard.d.ts +47 -0
  300. package/lib/overlay/core/placeOverlayCard.d.ts.map +1 -0
  301. package/lib/overlay/core/placeOverlayCard.js +42 -0
  302. package/lib/overlay/core/placeOverlayCard.js.map +1 -0
  303. package/lib/overlay/ui/OverlayAction.d.ts +32 -0
  304. package/lib/overlay/ui/OverlayAction.d.ts.map +1 -0
  305. package/lib/overlay/ui/OverlayAction.js +19 -0
  306. package/lib/overlay/ui/OverlayAction.js.map +1 -0
  307. package/lib/overlay/ui/OverlayBar.d.ts +122 -0
  308. package/lib/overlay/ui/OverlayBar.d.ts.map +1 -0
  309. package/lib/overlay/ui/OverlayBar.js +42 -0
  310. package/lib/overlay/ui/OverlayBar.js.map +1 -0
  311. package/lib/overlay/ui/OverlayBarButton.d.ts +38 -0
  312. package/lib/overlay/ui/OverlayBarButton.d.ts.map +1 -0
  313. package/lib/overlay/ui/OverlayBarButton.js +40 -0
  314. package/lib/overlay/ui/OverlayBarButton.js.map +1 -0
  315. package/lib/overlay/ui/OverlayBarCard.d.ts +25 -0
  316. package/lib/overlay/ui/OverlayBarCard.d.ts.map +1 -0
  317. package/lib/overlay/ui/OverlayBarCard.js +28 -0
  318. package/lib/overlay/ui/OverlayBarCard.js.map +1 -0
  319. package/lib/overlay/ui/OverlayBarStrip.d.ts +18 -0
  320. package/lib/overlay/ui/OverlayBarStrip.d.ts.map +1 -0
  321. package/lib/overlay/ui/OverlayBarStrip.js +26 -0
  322. package/lib/overlay/ui/OverlayBarStrip.js.map +1 -0
  323. package/lib/overlay/ui/OverlayCaption.d.ts +52 -0
  324. package/lib/overlay/ui/OverlayCaption.d.ts.map +1 -0
  325. package/lib/overlay/ui/OverlayCaption.js +62 -0
  326. package/lib/overlay/ui/OverlayCaption.js.map +1 -0
  327. package/lib/overlay/ui/OverlayChip.d.ts +60 -0
  328. package/lib/overlay/ui/OverlayChip.d.ts.map +1 -0
  329. package/lib/overlay/ui/OverlayChip.js +73 -0
  330. package/lib/overlay/ui/OverlayChip.js.map +1 -0
  331. package/lib/overlay/ui/OverlayDivider.d.ts +11 -0
  332. package/lib/overlay/ui/OverlayDivider.d.ts.map +1 -0
  333. package/lib/overlay/ui/OverlayDivider.js +16 -0
  334. package/lib/overlay/ui/OverlayDivider.js.map +1 -0
  335. package/lib/overlay/ui/OverlayGroup.d.ts +53 -0
  336. package/lib/overlay/ui/OverlayGroup.d.ts.map +1 -0
  337. package/lib/overlay/ui/OverlayGroup.js +63 -0
  338. package/lib/overlay/ui/OverlayGroup.js.map +1 -0
  339. package/lib/overlay/ui/OverlayIconButton.d.ts +75 -0
  340. package/lib/overlay/ui/OverlayIconButton.d.ts.map +1 -0
  341. package/lib/overlay/ui/OverlayIconButton.js +43 -0
  342. package/lib/overlay/ui/OverlayIconButton.js.map +1 -0
  343. package/lib/overlay/ui/OverlayInfo.d.ts +43 -0
  344. package/lib/overlay/ui/OverlayInfo.d.ts.map +1 -0
  345. package/lib/overlay/ui/OverlayInfo.js +47 -0
  346. package/lib/overlay/ui/OverlayInfo.js.map +1 -0
  347. package/lib/overlay/ui/OverlayLayer.d.ts +54 -0
  348. package/lib/overlay/ui/OverlayLayer.d.ts.map +1 -0
  349. package/lib/overlay/ui/OverlayLayer.js +50 -0
  350. package/lib/overlay/ui/OverlayLayer.js.map +1 -0
  351. package/lib/overlay/ui/OverlayLegend.d.ts +75 -0
  352. package/lib/overlay/ui/OverlayLegend.d.ts.map +1 -0
  353. package/lib/overlay/ui/OverlayLegend.js +81 -0
  354. package/lib/overlay/ui/OverlayLegend.js.map +1 -0
  355. package/lib/overlay/ui/OverlayLegendMark.d.ts +36 -0
  356. package/lib/overlay/ui/OverlayLegendMark.d.ts.map +1 -0
  357. package/lib/overlay/ui/OverlayLegendMark.js +43 -0
  358. package/lib/overlay/ui/OverlayLegendMark.js.map +1 -0
  359. package/lib/overlay/ui/OverlayNumber.d.ts +43 -0
  360. package/lib/overlay/ui/OverlayNumber.d.ts.map +1 -0
  361. package/lib/overlay/ui/OverlayNumber.js +74 -0
  362. package/lib/overlay/ui/OverlayNumber.js.map +1 -0
  363. package/lib/overlay/ui/OverlayPanel.d.ts +81 -0
  364. package/lib/overlay/ui/OverlayPanel.d.ts.map +1 -0
  365. package/lib/overlay/ui/OverlayPanel.js +42 -0
  366. package/lib/overlay/ui/OverlayPanel.js.map +1 -0
  367. package/lib/overlay/ui/OverlayPills.d.ts +73 -0
  368. package/lib/overlay/ui/OverlayPills.d.ts.map +1 -0
  369. package/lib/overlay/ui/OverlayPills.js +55 -0
  370. package/lib/overlay/ui/OverlayPills.js.map +1 -0
  371. package/lib/overlay/ui/OverlayReadout.d.ts +63 -0
  372. package/lib/overlay/ui/OverlayReadout.d.ts.map +1 -0
  373. package/lib/overlay/ui/OverlayReadout.js +129 -0
  374. package/lib/overlay/ui/OverlayReadout.js.map +1 -0
  375. package/lib/overlay/ui/OverlayRow.d.ts +111 -0
  376. package/lib/overlay/ui/OverlayRow.d.ts.map +1 -0
  377. package/lib/overlay/ui/OverlayRow.js +50 -0
  378. package/lib/overlay/ui/OverlayRow.js.map +1 -0
  379. package/lib/overlay/ui/OverlaySegmented.d.ts +28 -0
  380. package/lib/overlay/ui/OverlaySegmented.d.ts.map +1 -0
  381. package/lib/overlay/ui/OverlaySegmented.js +23 -0
  382. package/lib/overlay/ui/OverlaySegmented.js.map +1 -0
  383. package/lib/overlay/ui/OverlaySelect.d.ts +35 -0
  384. package/lib/overlay/ui/OverlaySelect.d.ts.map +1 -0
  385. package/lib/overlay/ui/OverlaySelect.js +30 -0
  386. package/lib/overlay/ui/OverlaySelect.js.map +1 -0
  387. package/lib/overlay/ui/OverlaySwatchIcon.d.ts +26 -0
  388. package/lib/overlay/ui/OverlaySwatchIcon.d.ts.map +1 -0
  389. package/lib/overlay/ui/OverlaySwatchIcon.js +94 -0
  390. package/lib/overlay/ui/OverlaySwatchIcon.js.map +1 -0
  391. package/lib/overlay/ui/OverlayToggle.d.ts +56 -0
  392. package/lib/overlay/ui/OverlayToggle.d.ts.map +1 -0
  393. package/lib/overlay/ui/OverlayToggle.js +42 -0
  394. package/lib/overlay/ui/OverlayToggle.js.map +1 -0
  395. package/lib/overlay/ui/OverlayValueButton.d.ts +80 -0
  396. package/lib/overlay/ui/OverlayValueButton.d.ts.map +1 -0
  397. package/lib/overlay/ui/OverlayValueButton.js +46 -0
  398. package/lib/overlay/ui/OverlayValueButton.js.map +1 -0
  399. package/lib/overlay/ui/OverlayValueMenu.d.ts +68 -0
  400. package/lib/overlay/ui/OverlayValueMenu.d.ts.map +1 -0
  401. package/lib/overlay/ui/OverlayValueMenu.js +40 -0
  402. package/lib/overlay/ui/OverlayValueMenu.js.map +1 -0
  403. package/lib/overlay/ui/index.d.ts +55 -0
  404. package/lib/overlay/ui/index.d.ts.map +1 -0
  405. package/lib/overlay/ui/index.js +33 -0
  406. package/lib/overlay/ui/index.js.map +1 -0
  407. package/lib/overlay/ui/overlayBarShape.d.ts +85 -0
  408. package/lib/overlay/ui/overlayBarShape.d.ts.map +1 -0
  409. package/lib/overlay/ui/overlayBarShape.js +48 -0
  410. package/lib/overlay/ui/overlayBarShape.js.map +1 -0
  411. package/lib/overlay/ui/overlayControlStyles.d.ts +82 -0
  412. package/lib/overlay/ui/overlayControlStyles.d.ts.map +1 -0
  413. package/lib/overlay/ui/overlayControlStyles.js +142 -0
  414. package/lib/overlay/ui/overlayControlStyles.js.map +1 -0
  415. package/lib/overlay/ui/overlayFigureStyles.d.ts +52 -0
  416. package/lib/overlay/ui/overlayFigureStyles.d.ts.map +1 -0
  417. package/lib/overlay/ui/overlayFigureStyles.js +98 -0
  418. package/lib/overlay/ui/overlayFigureStyles.js.map +1 -0
  419. package/lib/overlay/ui/overlayPanelContext.d.ts +34 -0
  420. package/lib/overlay/ui/overlayPanelContext.d.ts.map +1 -0
  421. package/lib/overlay/ui/overlayPanelContext.js +29 -0
  422. package/lib/overlay/ui/overlayPanelContext.js.map +1 -0
  423. package/lib/overlay/ui/overlayPanelStyles.d.ts +112 -0
  424. package/lib/overlay/ui/overlayPanelStyles.d.ts.map +1 -0
  425. package/lib/overlay/ui/overlayPanelStyles.js +193 -0
  426. package/lib/overlay/ui/overlayPanelStyles.js.map +1 -0
  427. package/lib/overlay/ui/overlayPillKeys.d.ts +19 -0
  428. package/lib/overlay/ui/overlayPillKeys.d.ts.map +1 -0
  429. package/lib/overlay/ui/overlayPillKeys.js +33 -0
  430. package/lib/overlay/ui/overlayPillKeys.js.map +1 -0
  431. package/lib/overlay/ui/overlayPillStyles.d.ts +78 -0
  432. package/lib/overlay/ui/overlayPillStyles.d.ts.map +1 -0
  433. package/lib/overlay/ui/overlayPillStyles.js +140 -0
  434. package/lib/overlay/ui/overlayPillStyles.js.map +1 -0
  435. package/lib/overlay/ui/overlayRowStyles.d.ts +113 -0
  436. package/lib/overlay/ui/overlayRowStyles.d.ts.map +1 -0
  437. package/lib/overlay/ui/overlayRowStyles.js +135 -0
  438. package/lib/overlay/ui/overlayRowStyles.js.map +1 -0
  439. package/lib/overlay/ui/overlayStepperStyles.d.ts +51 -0
  440. package/lib/overlay/ui/overlayStepperStyles.d.ts.map +1 -0
  441. package/lib/overlay/ui/overlayStepperStyles.js +96 -0
  442. package/lib/overlay/ui/overlayStepperStyles.js.map +1 -0
  443. package/lib/overlay/ui/overlayStyles.d.ts +123 -0
  444. package/lib/overlay/ui/overlayStyles.d.ts.map +1 -0
  445. package/lib/overlay/ui/overlayStyles.js +203 -0
  446. package/lib/overlay/ui/overlayStyles.js.map +1 -0
  447. package/lib/overlay/ui/overlaySurface.d.ts +54 -0
  448. package/lib/overlay/ui/overlaySurface.d.ts.map +1 -0
  449. package/lib/overlay/ui/overlaySurface.js +85 -0
  450. package/lib/overlay/ui/overlaySurface.js.map +1 -0
  451. package/lib/overlay/ui/overlaySwitchStyles.d.ts +70 -0
  452. package/lib/overlay/ui/overlaySwitchStyles.d.ts.map +1 -0
  453. package/lib/overlay/ui/overlaySwitchStyles.js +102 -0
  454. package/lib/overlay/ui/overlaySwitchStyles.js.map +1 -0
  455. package/lib/overlay/ui/overlayValueStyles.d.ts +101 -0
  456. package/lib/overlay/ui/overlayValueStyles.d.ts.map +1 -0
  457. package/lib/overlay/ui/overlayValueStyles.js +166 -0
  458. package/lib/overlay/ui/overlayValueStyles.js.map +1 -0
  459. package/lib/pedagogy/ui/ExerciseProgressHeader.js +1 -1
  460. package/lib/pedagogy/ui/ExerciseProgressHeader.js.map +1 -1
  461. package/lib/pedagogy/ui/GlossaryText.js +2 -2
  462. package/lib/pedagogy/ui/GlossaryText.js.map +1 -1
  463. package/lib/pedagogy/ui/ReferenceSectionBlock.js +5 -2
  464. package/lib/pedagogy/ui/ReferenceSectionBlock.js.map +1 -1
  465. package/lib/pedagogy/ui/SyntaxTooltip.js +2 -2
  466. package/lib/pedagogy/ui/SyntaxTooltip.js.map +1 -1
  467. package/lib/pedagogy/ui/TutorialStepStrip.js +4 -1
  468. package/lib/pedagogy/ui/TutorialStepStrip.js.map +1 -1
  469. package/lib/periodic/ui/CategoryLegend.js +1 -1
  470. package/lib/periodic/ui/CategoryLegend.js.map +1 -1
  471. package/lib/periodic/ui/PeriodicTableChrome.js +2 -2
  472. package/lib/periodic/ui/PeriodicTableChrome.js.map +1 -1
  473. package/lib/projection/core/embeddingResult.d.ts +60 -0
  474. package/lib/projection/core/embeddingResult.d.ts.map +1 -0
  475. package/lib/projection/core/embeddingResult.js +52 -0
  476. package/lib/projection/core/embeddingResult.js.map +1 -0
  477. package/lib/projection/core/explainedShares.d.ts +51 -0
  478. package/lib/projection/core/explainedShares.d.ts.map +1 -0
  479. package/lib/projection/core/explainedShares.js +55 -0
  480. package/lib/projection/core/explainedShares.js.map +1 -0
  481. package/lib/projection/core/index.d.ts +38 -0
  482. package/lib/projection/core/index.d.ts.map +1 -0
  483. package/lib/projection/core/index.js +25 -0
  484. package/lib/projection/core/index.js.map +1 -0
  485. package/lib/projection/core/loadingProfiles.d.ts +87 -0
  486. package/lib/projection/core/loadingProfiles.d.ts.map +1 -0
  487. package/lib/projection/core/loadingProfiles.js +125 -0
  488. package/lib/projection/core/loadingProfiles.js.map +1 -0
  489. package/lib/projection/core/pcaLike.d.ts +32 -0
  490. package/lib/projection/core/pcaLike.d.ts.map +1 -0
  491. package/lib/projection/core/pcaLike.js +2 -0
  492. package/lib/projection/core/pcaLike.js.map +1 -0
  493. package/lib/projection/core/pcaResult.d.ts +86 -0
  494. package/lib/projection/core/pcaResult.d.ts.map +1 -0
  495. package/lib/projection/core/pcaResult.js +122 -0
  496. package/lib/projection/core/pcaResult.js.map +1 -0
  497. package/lib/projection/core/projectionCopy.d.ts +130 -0
  498. package/lib/projection/core/projectionCopy.d.ts.map +1 -0
  499. package/lib/projection/core/projectionCopy.js +111 -0
  500. package/lib/projection/core/projectionCopy.js.map +1 -0
  501. package/lib/projection/core/projectionCopyPatch.d.ts +13 -0
  502. package/lib/projection/core/projectionCopyPatch.d.ts.map +1 -0
  503. package/lib/projection/core/projectionCopyPatch.js +2 -0
  504. package/lib/projection/core/projectionCopyPatch.js.map +1 -0
  505. package/lib/projection/core/projectionOptions.d.ts +131 -0
  506. package/lib/projection/core/projectionOptions.d.ts.map +1 -0
  507. package/lib/projection/core/projectionOptions.js +85 -0
  508. package/lib/projection/core/projectionOptions.js.map +1 -0
  509. package/lib/projection/core/projectionResult.d.ts +119 -0
  510. package/lib/projection/core/projectionResult.d.ts.map +1 -0
  511. package/lib/projection/core/projectionResult.js +2 -0
  512. package/lib/projection/core/projectionResult.js.map +1 -0
  513. package/lib/projection/core/projectionSamples.d.ts +77 -0
  514. package/lib/projection/core/projectionSamples.d.ts.map +1 -0
  515. package/lib/projection/core/projectionSamples.js +81 -0
  516. package/lib/projection/core/projectionSamples.js.map +1 -0
  517. package/lib/projection/core/projectionStrings.d.ts +134 -0
  518. package/lib/projection/core/projectionStrings.d.ts.map +1 -0
  519. package/lib/projection/core/projectionStrings.js +168 -0
  520. package/lib/projection/core/projectionStrings.js.map +1 -0
  521. package/lib/projection/core/projectionTabDefaults.d.ts +18 -0
  522. package/lib/projection/core/projectionTabDefaults.d.ts.map +1 -0
  523. package/lib/projection/core/projectionTabDefaults.js +46 -0
  524. package/lib/projection/core/projectionTabDefaults.js.map +1 -0
  525. package/lib/projection/core/projectionTabs.d.ts +25 -0
  526. package/lib/projection/core/projectionTabs.d.ts.map +1 -0
  527. package/lib/projection/core/projectionTabs.js +51 -0
  528. package/lib/projection/core/projectionTabs.js.map +1 -0
  529. package/lib/projection/core/variableAxis.d.ts +106 -0
  530. package/lib/projection/core/variableAxis.d.ts.map +1 -0
  531. package/lib/projection/core/variableAxis.js +84 -0
  532. package/lib/projection/core/variableAxis.js.map +1 -0
  533. package/lib/projection/core/variablesView.d.ts +33 -0
  534. package/lib/projection/core/variablesView.d.ts.map +1 -0
  535. package/lib/projection/core/variablesView.js +49 -0
  536. package/lib/projection/core/variablesView.js.map +1 -0
  537. package/lib/projection/ui/PcaViewer.d.ts +31 -0
  538. package/lib/projection/ui/PcaViewer.d.ts.map +1 -0
  539. package/lib/projection/ui/PcaViewer.js +46 -0
  540. package/lib/projection/ui/PcaViewer.js.map +1 -0
  541. package/lib/projection/ui/ProjectionBar.d.ts +55 -0
  542. package/lib/projection/ui/ProjectionBar.d.ts.map +1 -0
  543. package/lib/projection/ui/ProjectionBar.js +112 -0
  544. package/lib/projection/ui/ProjectionBar.js.map +1 -0
  545. package/lib/projection/ui/ProjectionMapCaption.d.ts +46 -0
  546. package/lib/projection/ui/ProjectionMapCaption.d.ts.map +1 -0
  547. package/lib/projection/ui/ProjectionMapCaption.js +54 -0
  548. package/lib/projection/ui/ProjectionMapCaption.js.map +1 -0
  549. package/lib/projection/ui/ProjectionMapControls.d.ts +67 -0
  550. package/lib/projection/ui/ProjectionMapControls.d.ts.map +1 -0
  551. package/lib/projection/ui/ProjectionMapControls.js +108 -0
  552. package/lib/projection/ui/ProjectionMapControls.js.map +1 -0
  553. package/lib/projection/ui/ProjectionMapLegend.d.ts +39 -0
  554. package/lib/projection/ui/ProjectionMapLegend.d.ts.map +1 -0
  555. package/lib/projection/ui/ProjectionMapLegend.js +29 -0
  556. package/lib/projection/ui/ProjectionMapLegend.js.map +1 -0
  557. package/lib/projection/ui/ProjectionMapMore.d.ts +42 -0
  558. package/lib/projection/ui/ProjectionMapMore.d.ts.map +1 -0
  559. package/lib/projection/ui/ProjectionMapMore.js +74 -0
  560. package/lib/projection/ui/ProjectionMapMore.js.map +1 -0
  561. package/lib/projection/ui/ProjectionMapTab.d.ts +101 -0
  562. package/lib/projection/ui/ProjectionMapTab.d.ts.map +1 -0
  563. package/lib/projection/ui/ProjectionMapTab.js +42 -0
  564. package/lib/projection/ui/ProjectionMapTab.js.map +1 -0
  565. package/lib/projection/ui/ProjectionPairsControls.d.ts +37 -0
  566. package/lib/projection/ui/ProjectionPairsControls.d.ts.map +1 -0
  567. package/lib/projection/ui/ProjectionPairsControls.js +20 -0
  568. package/lib/projection/ui/ProjectionPairsControls.js.map +1 -0
  569. package/lib/projection/ui/ProjectionPairsMore.d.ts +40 -0
  570. package/lib/projection/ui/ProjectionPairsMore.d.ts.map +1 -0
  571. package/lib/projection/ui/ProjectionPairsMore.js +31 -0
  572. package/lib/projection/ui/ProjectionPairsMore.js.map +1 -0
  573. package/lib/projection/ui/ProjectionPairsTab.d.ts +66 -0
  574. package/lib/projection/ui/ProjectionPairsTab.d.ts.map +1 -0
  575. package/lib/projection/ui/ProjectionPairsTab.js +64 -0
  576. package/lib/projection/ui/ProjectionPairsTab.js.map +1 -0
  577. package/lib/projection/ui/ProjectionPanel.d.ts +73 -0
  578. package/lib/projection/ui/ProjectionPanel.d.ts.map +1 -0
  579. package/lib/projection/ui/ProjectionPanel.js +58 -0
  580. package/lib/projection/ui/ProjectionPanel.js.map +1 -0
  581. package/lib/projection/ui/ProjectionReadout.d.ts +65 -0
  582. package/lib/projection/ui/ProjectionReadout.d.ts.map +1 -0
  583. package/lib/projection/ui/ProjectionReadout.js +46 -0
  584. package/lib/projection/ui/ProjectionReadout.js.map +1 -0
  585. package/lib/projection/ui/ProjectionSharesControls.d.ts +34 -0
  586. package/lib/projection/ui/ProjectionSharesControls.d.ts.map +1 -0
  587. package/lib/projection/ui/ProjectionSharesControls.js +20 -0
  588. package/lib/projection/ui/ProjectionSharesControls.js.map +1 -0
  589. package/lib/projection/ui/ProjectionSharesMarks.d.ts +49 -0
  590. package/lib/projection/ui/ProjectionSharesMarks.d.ts.map +1 -0
  591. package/lib/projection/ui/ProjectionSharesMarks.js +110 -0
  592. package/lib/projection/ui/ProjectionSharesMarks.js.map +1 -0
  593. package/lib/projection/ui/ProjectionSharesMore.d.ts +19 -0
  594. package/lib/projection/ui/ProjectionSharesMore.d.ts.map +1 -0
  595. package/lib/projection/ui/ProjectionSharesMore.js +25 -0
  596. package/lib/projection/ui/ProjectionSharesMore.js.map +1 -0
  597. package/lib/projection/ui/ProjectionSharesTab.d.ts +50 -0
  598. package/lib/projection/ui/ProjectionSharesTab.d.ts.map +1 -0
  599. package/lib/projection/ui/ProjectionSharesTab.js +48 -0
  600. package/lib/projection/ui/ProjectionSharesTab.js.map +1 -0
  601. package/lib/projection/ui/ProjectionSurface.d.ts +33 -0
  602. package/lib/projection/ui/ProjectionSurface.d.ts.map +1 -0
  603. package/lib/projection/ui/ProjectionSurface.js +35 -0
  604. package/lib/projection/ui/ProjectionSurface.js.map +1 -0
  605. package/lib/projection/ui/ProjectionTabStrip.d.ts +74 -0
  606. package/lib/projection/ui/ProjectionTabStrip.d.ts.map +1 -0
  607. package/lib/projection/ui/ProjectionTabStrip.js +64 -0
  608. package/lib/projection/ui/ProjectionTabStrip.js.map +1 -0
  609. package/lib/projection/ui/ProjectionVariablesControls.d.ts +33 -0
  610. package/lib/projection/ui/ProjectionVariablesControls.d.ts.map +1 -0
  611. package/lib/projection/ui/ProjectionVariablesControls.js +26 -0
  612. package/lib/projection/ui/ProjectionVariablesControls.js.map +1 -0
  613. package/lib/projection/ui/ProjectionVariablesMore.d.ts +33 -0
  614. package/lib/projection/ui/ProjectionVariablesMore.d.ts.map +1 -0
  615. package/lib/projection/ui/ProjectionVariablesMore.js +55 -0
  616. package/lib/projection/ui/ProjectionVariablesMore.js.map +1 -0
  617. package/lib/projection/ui/ProjectionVariablesTab.d.ts +78 -0
  618. package/lib/projection/ui/ProjectionVariablesTab.d.ts.map +1 -0
  619. package/lib/projection/ui/ProjectionVariablesTab.js +93 -0
  620. package/lib/projection/ui/ProjectionVariablesTab.js.map +1 -0
  621. package/lib/projection/ui/ProjectionViewer.d.ts +32 -0
  622. package/lib/projection/ui/ProjectionViewer.d.ts.map +1 -0
  623. package/lib/projection/ui/ProjectionViewer.js +90 -0
  624. package/lib/projection/ui/ProjectionViewer.js.map +1 -0
  625. package/lib/projection/ui/index.d.ts +19 -0
  626. package/lib/projection/ui/index.d.ts.map +1 -0
  627. package/lib/projection/ui/index.js +15 -0
  628. package/lib/projection/ui/index.js.map +1 -0
  629. package/lib/projection/ui/projectionBarModel.d.ts +92 -0
  630. package/lib/projection/ui/projectionBarModel.d.ts.map +1 -0
  631. package/lib/projection/ui/projectionBarModel.js +140 -0
  632. package/lib/projection/ui/projectionBarModel.js.map +1 -0
  633. package/lib/projection/ui/projectionBarReadings.d.ts +65 -0
  634. package/lib/projection/ui/projectionBarReadings.d.ts.map +1 -0
  635. package/lib/projection/ui/projectionBarReadings.js +121 -0
  636. package/lib/projection/ui/projectionBarReadings.js.map +1 -0
  637. package/lib/projection/ui/projectionBarSlots.d.ts +59 -0
  638. package/lib/projection/ui/projectionBarSlots.d.ts.map +1 -0
  639. package/lib/projection/ui/projectionBarSlots.js +81 -0
  640. package/lib/projection/ui/projectionBarSlots.js.map +1 -0
  641. package/lib/projection/ui/projectionBarStyles.d.ts +102 -0
  642. package/lib/projection/ui/projectionBarStyles.d.ts.map +1 -0
  643. package/lib/projection/ui/projectionBarStyles.js +154 -0
  644. package/lib/projection/ui/projectionBarStyles.js.map +1 -0
  645. package/lib/projection/ui/projectionEllipse.d.ts +50 -0
  646. package/lib/projection/ui/projectionEllipse.d.ts.map +1 -0
  647. package/lib/projection/ui/projectionEllipse.js +101 -0
  648. package/lib/projection/ui/projectionEllipse.js.map +1 -0
  649. package/lib/projection/ui/projectionFormat.d.ts +13 -0
  650. package/lib/projection/ui/projectionFormat.d.ts.map +1 -0
  651. package/lib/projection/ui/projectionFormat.js +19 -0
  652. package/lib/projection/ui/projectionFormat.js.map +1 -0
  653. package/lib/projection/ui/projectionMapChoices.d.ts +31 -0
  654. package/lib/projection/ui/projectionMapChoices.d.ts.map +1 -0
  655. package/lib/projection/ui/projectionMapChoices.js +46 -0
  656. package/lib/projection/ui/projectionMapChoices.js.map +1 -0
  657. package/lib/projection/ui/projectionMapChrome.d.ts +73 -0
  658. package/lib/projection/ui/projectionMapChrome.d.ts.map +1 -0
  659. package/lib/projection/ui/projectionMapChrome.js +135 -0
  660. package/lib/projection/ui/projectionMapChrome.js.map +1 -0
  661. package/lib/projection/ui/projectionMapModel.d.ts +114 -0
  662. package/lib/projection/ui/projectionMapModel.d.ts.map +1 -0
  663. package/lib/projection/ui/projectionMapModel.js +177 -0
  664. package/lib/projection/ui/projectionMapModel.js.map +1 -0
  665. package/lib/projection/ui/projectionMapView.d.ts +59 -0
  666. package/lib/projection/ui/projectionMapView.d.ts.map +1 -0
  667. package/lib/projection/ui/projectionMapView.js +90 -0
  668. package/lib/projection/ui/projectionMapView.js.map +1 -0
  669. package/lib/projection/ui/projectionPairsCeiling.d.ts +29 -0
  670. package/lib/projection/ui/projectionPairsCeiling.d.ts.map +1 -0
  671. package/lib/projection/ui/projectionPairsCeiling.js +29 -0
  672. package/lib/projection/ui/projectionPairsCeiling.js.map +1 -0
  673. package/lib/projection/ui/projectionSelection.d.ts +51 -0
  674. package/lib/projection/ui/projectionSelection.d.ts.map +1 -0
  675. package/lib/projection/ui/projectionSelection.js +66 -0
  676. package/lib/projection/ui/projectionSelection.js.map +1 -0
  677. package/lib/projection/ui/projectionTabInfo.d.ts +59 -0
  678. package/lib/projection/ui/projectionTabInfo.d.ts.map +1 -0
  679. package/lib/projection/ui/projectionTabInfo.js +108 -0
  680. package/lib/projection/ui/projectionTabInfo.js.map +1 -0
  681. package/lib/projection/ui/projectionTabModels.d.ts +49 -0
  682. package/lib/projection/ui/projectionTabModels.d.ts.map +1 -0
  683. package/lib/projection/ui/projectionTabModels.js +59 -0
  684. package/lib/projection/ui/projectionTabModels.js.map +1 -0
  685. package/lib/projection/ui/projectionTabStyles.d.ts +131 -0
  686. package/lib/projection/ui/projectionTabStyles.d.ts.map +1 -0
  687. package/lib/projection/ui/projectionTabStyles.js +134 -0
  688. package/lib/projection/ui/projectionTabStyles.js.map +1 -0
  689. package/lib/projection/ui/projectionVariablesModel.d.ts +104 -0
  690. package/lib/projection/ui/projectionVariablesModel.d.ts.map +1 -0
  691. package/lib/projection/ui/projectionVariablesModel.js +165 -0
  692. package/lib/projection/ui/projectionVariablesModel.js.map +1 -0
  693. package/lib/projection/ui/projectionVariablesWords.d.ts +50 -0
  694. package/lib/projection/ui/projectionVariablesWords.d.ts.map +1 -0
  695. package/lib/projection/ui/projectionVariablesWords.js +91 -0
  696. package/lib/projection/ui/projectionVariablesWords.js.map +1 -0
  697. package/lib/projection/ui/projectionViewChoices.d.ts +31 -0
  698. package/lib/projection/ui/projectionViewChoices.d.ts.map +1 -0
  699. package/lib/projection/ui/projectionViewChoices.js +53 -0
  700. package/lib/projection/ui/projectionViewChoices.js.map +1 -0
  701. package/lib/projection/ui/projectionViewerProps.d.ts +153 -0
  702. package/lib/projection/ui/projectionViewerProps.d.ts.map +1 -0
  703. package/lib/projection/ui/projectionViewerProps.js +9 -0
  704. package/lib/projection/ui/projectionViewerProps.js.map +1 -0
  705. package/lib/projection/ui/useProjectionState.d.ts +63 -0
  706. package/lib/projection/ui/useProjectionState.d.ts.map +1 -0
  707. package/lib/projection/ui/useProjectionState.js +107 -0
  708. package/lib/projection/ui/useProjectionState.js.map +1 -0
  709. package/lib/scatter/core/confidenceEllipse.d.ts +117 -0
  710. package/lib/scatter/core/confidenceEllipse.d.ts.map +1 -0
  711. package/lib/scatter/core/confidenceEllipse.js +132 -0
  712. package/lib/scatter/core/confidenceEllipse.js.map +1 -0
  713. package/lib/scatter/core/ellipseCoverage.d.ts +33 -0
  714. package/lib/scatter/core/ellipseCoverage.d.ts.map +1 -0
  715. package/lib/scatter/core/ellipseCoverage.js +46 -0
  716. package/lib/scatter/core/ellipseCoverage.js.map +1 -0
  717. package/lib/scatter/core/ellipseProjection.d.ts +53 -0
  718. package/lib/scatter/core/ellipseProjection.d.ts.map +1 -0
  719. package/lib/scatter/core/ellipseProjection.js +94 -0
  720. package/lib/scatter/core/ellipseProjection.js.map +1 -0
  721. package/lib/scatter/core/index.d.ts +24 -0
  722. package/lib/scatter/core/index.d.ts.map +1 -0
  723. package/lib/scatter/core/index.js +19 -0
  724. package/lib/scatter/core/index.js.map +1 -0
  725. package/lib/scatter/core/lassoPath.d.ts +60 -0
  726. package/lib/scatter/core/lassoPath.d.ts.map +1 -0
  727. package/lib/scatter/core/lassoPath.js +101 -0
  728. package/lib/scatter/core/lassoPath.js.map +1 -0
  729. package/lib/scatter/core/polygon.d.ts +58 -0
  730. package/lib/scatter/core/polygon.d.ts.map +1 -0
  731. package/lib/scatter/core/polygon.js +140 -0
  732. package/lib/scatter/core/polygon.js.map +1 -0
  733. package/lib/scatter/core/scatterSelection.d.ts +44 -0
  734. package/lib/scatter/core/scatterSelection.d.ts.map +1 -0
  735. package/lib/scatter/core/scatterSelection.js +81 -0
  736. package/lib/scatter/core/scatterSelection.js.map +1 -0
  737. package/lib/scatter/core/screenPoints.d.ts +58 -0
  738. package/lib/scatter/core/screenPoints.d.ts.map +1 -0
  739. package/lib/scatter/core/screenPoints.js +78 -0
  740. package/lib/scatter/core/screenPoints.js.map +1 -0
  741. package/lib/scatter/ui/ScatterEllipseLayer.d.ts +69 -0
  742. package/lib/scatter/ui/ScatterEllipseLayer.d.ts.map +1 -0
  743. package/lib/scatter/ui/ScatterEllipseLayer.js +77 -0
  744. package/lib/scatter/ui/ScatterEllipseLayer.js.map +1 -0
  745. package/lib/scatter/ui/ScatterLabelLayer.d.ts +40 -0
  746. package/lib/scatter/ui/ScatterLabelLayer.d.ts.map +1 -0
  747. package/lib/scatter/ui/ScatterLabelLayer.js +77 -0
  748. package/lib/scatter/ui/ScatterLabelLayer.js.map +1 -0
  749. package/lib/scatter/ui/ScatterMarkLayer.d.ts +68 -0
  750. package/lib/scatter/ui/ScatterMarkLayer.d.ts.map +1 -0
  751. package/lib/scatter/ui/ScatterMarkLayer.js +134 -0
  752. package/lib/scatter/ui/ScatterMarkLayer.js.map +1 -0
  753. package/lib/scatter/ui/ScatterMatrix.d.ts +19 -0
  754. package/lib/scatter/ui/ScatterMatrix.d.ts.map +1 -0
  755. package/lib/scatter/ui/ScatterMatrix.js +125 -0
  756. package/lib/scatter/ui/ScatterMatrix.js.map +1 -0
  757. package/lib/scatter/ui/ScatterMatrixCell.d.ts +24 -0
  758. package/lib/scatter/ui/ScatterMatrixCell.d.ts.map +1 -0
  759. package/lib/scatter/ui/ScatterMatrixCell.js +90 -0
  760. package/lib/scatter/ui/ScatterMatrixCell.js.map +1 -0
  761. package/lib/scatter/ui/ScatterMatrixDiagonal.d.ts +78 -0
  762. package/lib/scatter/ui/ScatterMatrixDiagonal.d.ts.map +1 -0
  763. package/lib/scatter/ui/ScatterMatrixDiagonal.js +83 -0
  764. package/lib/scatter/ui/ScatterMatrixDiagonal.js.map +1 -0
  765. package/lib/scatter/ui/ScatterPlot.d.ts +17 -0
  766. package/lib/scatter/ui/ScatterPlot.d.ts.map +1 -0
  767. package/lib/scatter/ui/ScatterPlot.js +91 -0
  768. package/lib/scatter/ui/ScatterPlot.js.map +1 -0
  769. package/lib/scatter/ui/ScatterPointLayer.d.ts +67 -0
  770. package/lib/scatter/ui/ScatterPointLayer.d.ts.map +1 -0
  771. package/lib/scatter/ui/ScatterPointLayer.js +87 -0
  772. package/lib/scatter/ui/ScatterPointLayer.js.map +1 -0
  773. package/lib/scatter/ui/index.d.ts +53 -0
  774. package/lib/scatter/ui/index.d.ts.map +1 -0
  775. package/lib/scatter/ui/index.js +34 -0
  776. package/lib/scatter/ui/index.js.map +1 -0
  777. package/lib/scatter/ui/lassoGesture.d.ts +185 -0
  778. package/lib/scatter/ui/lassoGesture.d.ts.map +1 -0
  779. package/lib/scatter/ui/lassoGesture.js +100 -0
  780. package/lib/scatter/ui/lassoGesture.js.map +1 -0
  781. package/lib/scatter/ui/scatterGroupSpread.d.ts +81 -0
  782. package/lib/scatter/ui/scatterGroupSpread.d.ts.map +1 -0
  783. package/lib/scatter/ui/scatterGroupSpread.js +147 -0
  784. package/lib/scatter/ui/scatterGroupSpread.js.map +1 -0
  785. package/lib/scatter/ui/scatterLabelBoxes.d.ts +94 -0
  786. package/lib/scatter/ui/scatterLabelBoxes.d.ts.map +1 -0
  787. package/lib/scatter/ui/scatterLabelBoxes.js +140 -0
  788. package/lib/scatter/ui/scatterLabelBoxes.js.map +1 -0
  789. package/lib/scatter/ui/scatterLabelPlacement.d.ts +96 -0
  790. package/lib/scatter/ui/scatterLabelPlacement.d.ts.map +1 -0
  791. package/lib/scatter/ui/scatterLabelPlacement.js +210 -0
  792. package/lib/scatter/ui/scatterLabelPlacement.js.map +1 -0
  793. package/lib/scatter/ui/scatterLabels.d.ts +81 -0
  794. package/lib/scatter/ui/scatterLabels.d.ts.map +1 -0
  795. package/lib/scatter/ui/scatterLabels.js +101 -0
  796. package/lib/scatter/ui/scatterLabels.js.map +1 -0
  797. package/lib/scatter/ui/scatterMarkGlyph.d.ts +37 -0
  798. package/lib/scatter/ui/scatterMarkGlyph.d.ts.map +1 -0
  799. package/lib/scatter/ui/scatterMarkGlyph.js +33 -0
  800. package/lib/scatter/ui/scatterMarkGlyph.js.map +1 -0
  801. package/lib/scatter/ui/scatterMatrixDots.d.ts +24 -0
  802. package/lib/scatter/ui/scatterMatrixDots.d.ts.map +1 -0
  803. package/lib/scatter/ui/scatterMatrixDots.js +84 -0
  804. package/lib/scatter/ui/scatterMatrixDots.js.map +1 -0
  805. package/lib/scatter/ui/scatterMatrixLayout.d.ts +93 -0
  806. package/lib/scatter/ui/scatterMatrixLayout.d.ts.map +1 -0
  807. package/lib/scatter/ui/scatterMatrixLayout.js +117 -0
  808. package/lib/scatter/ui/scatterMatrixLayout.js.map +1 -0
  809. package/lib/scatter/ui/scatterMatrixOutlines.d.ts +27 -0
  810. package/lib/scatter/ui/scatterMatrixOutlines.d.ts.map +1 -0
  811. package/lib/scatter/ui/scatterMatrixOutlines.js +34 -0
  812. package/lib/scatter/ui/scatterMatrixOutlines.js.map +1 -0
  813. package/lib/scatter/ui/scatterMatrixProps.d.ts +99 -0
  814. package/lib/scatter/ui/scatterMatrixProps.d.ts.map +1 -0
  815. package/lib/scatter/ui/scatterMatrixProps.js +10 -0
  816. package/lib/scatter/ui/scatterMatrixProps.js.map +1 -0
  817. package/lib/scatter/ui/scatterOutlineShape.d.ts +63 -0
  818. package/lib/scatter/ui/scatterOutlineShape.d.ts.map +1 -0
  819. package/lib/scatter/ui/scatterOutlineShape.js +82 -0
  820. package/lib/scatter/ui/scatterOutlineShape.js.map +1 -0
  821. package/lib/scatter/ui/scatterPlotModel.d.ts +107 -0
  822. package/lib/scatter/ui/scatterPlotModel.d.ts.map +1 -0
  823. package/lib/scatter/ui/scatterPlotModel.js +139 -0
  824. package/lib/scatter/ui/scatterPlotModel.js.map +1 -0
  825. package/lib/scatter/ui/scatterPlotProps.d.ts +235 -0
  826. package/lib/scatter/ui/scatterPlotProps.d.ts.map +1 -0
  827. package/lib/scatter/ui/scatterPlotProps.js +10 -0
  828. package/lib/scatter/ui/scatterPlotProps.js.map +1 -0
  829. package/lib/scatter/ui/useLassoGesture.d.ts +18 -0
  830. package/lib/scatter/ui/useLassoGesture.d.ts.map +1 -0
  831. package/lib/scatter/ui/useLassoGesture.js +140 -0
  832. package/lib/scatter/ui/useLassoGesture.js.map +1 -0
  833. package/lib/scatter/ui/usePointHover.d.ts +88 -0
  834. package/lib/scatter/ui/usePointHover.d.ts.map +1 -0
  835. package/lib/scatter/ui/usePointHover.js +88 -0
  836. package/lib/scatter/ui/usePointHover.js.map +1 -0
  837. package/lib/scatter/ui/useScatterFrame.d.ts +80 -0
  838. package/lib/scatter/ui/useScatterFrame.d.ts.map +1 -0
  839. package/lib/scatter/ui/useScatterFrame.js +101 -0
  840. package/lib/scatter/ui/useScatterFrame.js.map +1 -0
  841. package/lib/scatter/ui/useScatterInteraction.d.ts +103 -0
  842. package/lib/scatter/ui/useScatterInteraction.d.ts.map +1 -0
  843. package/lib/scatter/ui/useScatterInteraction.js +93 -0
  844. package/lib/scatter/ui/useScatterInteraction.js.map +1 -0
  845. package/lib/scatter/ui/useScatterKeyboard.d.ts +60 -0
  846. package/lib/scatter/ui/useScatterKeyboard.d.ts.map +1 -0
  847. package/lib/scatter/ui/useScatterKeyboard.js +56 -0
  848. package/lib/scatter/ui/useScatterKeyboard.js.map +1 -0
  849. package/lib/scatter/ui/useScatterSelection.d.ts +78 -0
  850. package/lib/scatter/ui/useScatterSelection.d.ts.map +1 -0
  851. package/lib/scatter/ui/useScatterSelection.js +72 -0
  852. package/lib/scatter/ui/useScatterSelection.js.map +1 -0
  853. package/lib/seo/vite/ogCard.d.ts.map +1 -1
  854. package/lib/seo/vite/ogCard.js +1 -0
  855. package/lib/seo/vite/ogCard.js.map +1 -1
  856. package/lib/share/core/query.d.ts +10 -4
  857. package/lib/share/core/query.d.ts.map +1 -1
  858. package/lib/share/core/query.js +11 -7
  859. package/lib/share/core/query.js.map +1 -1
  860. package/lib/share/ui/ShareDialogContent.d.ts.map +1 -1
  861. package/lib/share/ui/ShareDialogContent.js +5 -2
  862. package/lib/share/ui/ShareDialogContent.js.map +1 -1
  863. package/lib/share/ui/SharePartOptions.js +1 -1
  864. package/lib/share/ui/SharePartOptions.js.map +1 -1
  865. package/lib/slides/core/demoLinks.d.ts +43 -0
  866. package/lib/slides/core/demoLinks.d.ts.map +1 -0
  867. package/lib/slides/core/demoLinks.js +104 -0
  868. package/lib/slides/core/demoLinks.js.map +1 -0
  869. package/lib/slides/core/index.d.ts +13 -0
  870. package/lib/slides/core/index.d.ts.map +1 -0
  871. package/lib/slides/core/index.js +7 -0
  872. package/lib/slides/core/index.js.map +1 -0
  873. package/lib/slides/core/sectionHeading.d.ts +19 -0
  874. package/lib/slides/core/sectionHeading.d.ts.map +1 -0
  875. package/lib/slides/core/sectionHeading.js +19 -0
  876. package/lib/slides/core/sectionHeading.js.map +1 -0
  877. package/lib/slides/core/slideNavigation.d.ts +38 -0
  878. package/lib/slides/core/slideNavigation.d.ts.map +1 -0
  879. package/lib/slides/core/slideNavigation.js +65 -0
  880. package/lib/slides/core/slideNavigation.js.map +1 -0
  881. package/lib/slides/core/talk.d.ts +82 -0
  882. package/lib/slides/core/talk.d.ts.map +1 -0
  883. package/lib/slides/core/talk.js +134 -0
  884. package/lib/slides/core/talk.js.map +1 -0
  885. package/lib/slides/core/talkManifest.d.ts +90 -0
  886. package/lib/slides/core/talkManifest.d.ts.map +1 -0
  887. package/lib/slides/core/talkManifest.js +109 -0
  888. package/lib/slides/core/talkManifest.js.map +1 -0
  889. package/lib/slides/core/talkOrigin.d.ts +50 -0
  890. package/lib/slides/core/talkOrigin.d.ts.map +1 -0
  891. package/lib/slides/core/talkOrigin.js +62 -0
  892. package/lib/slides/core/talkOrigin.js.map +1 -0
  893. package/lib/slides/ui/BackToSlides.d.ts +26 -0
  894. package/lib/slides/ui/BackToSlides.d.ts.map +1 -0
  895. package/lib/slides/ui/BackToSlides.js +24 -0
  896. package/lib/slides/ui/BackToSlides.js.map +1 -0
  897. package/lib/slides/ui/DemoLink.d.ts +42 -0
  898. package/lib/slides/ui/DemoLink.d.ts.map +1 -0
  899. package/lib/slides/ui/DemoLink.js +17 -0
  900. package/lib/slides/ui/DemoLink.js.map +1 -0
  901. package/lib/slides/ui/EmbedSlide.d.ts +19 -0
  902. package/lib/slides/ui/EmbedSlide.d.ts.map +1 -0
  903. package/lib/slides/ui/EmbedSlide.js +56 -0
  904. package/lib/slides/ui/EmbedSlide.js.map +1 -0
  905. package/lib/slides/ui/SectionSlide.d.ts +18 -0
  906. package/lib/slides/ui/SectionSlide.d.ts.map +1 -0
  907. package/lib/slides/ui/SectionSlide.js +18 -0
  908. package/lib/slides/ui/SectionSlide.js.map +1 -0
  909. package/lib/slides/ui/Slide.d.ts +52 -0
  910. package/lib/slides/ui/Slide.d.ts.map +1 -0
  911. package/lib/slides/ui/Slide.js +58 -0
  912. package/lib/slides/ui/Slide.js.map +1 -0
  913. package/lib/slides/ui/SlideBody.d.ts +32 -0
  914. package/lib/slides/ui/SlideBody.d.ts.map +1 -0
  915. package/lib/slides/ui/SlideBody.js +27 -0
  916. package/lib/slides/ui/SlideBody.js.map +1 -0
  917. package/lib/slides/ui/Slideshow.d.ts +93 -0
  918. package/lib/slides/ui/Slideshow.d.ts.map +1 -0
  919. package/lib/slides/ui/Slideshow.js +122 -0
  920. package/lib/slides/ui/Slideshow.js.map +1 -0
  921. package/lib/slides/ui/SlideshowBar.d.ts +33 -0
  922. package/lib/slides/ui/SlideshowBar.d.ts.map +1 -0
  923. package/lib/slides/ui/SlideshowBar.js +20 -0
  924. package/lib/slides/ui/SlideshowBar.js.map +1 -0
  925. package/lib/slides/ui/TalkList.d.ts +37 -0
  926. package/lib/slides/ui/TalkList.d.ts.map +1 -0
  927. package/lib/slides/ui/TalkList.js +68 -0
  928. package/lib/slides/ui/TalkList.js.map +1 -0
  929. package/lib/slides/ui/index.d.ts +19 -0
  930. package/lib/slides/ui/index.d.ts.map +1 -0
  931. package/lib/slides/ui/index.js +10 -0
  932. package/lib/slides/ui/index.js.map +1 -0
  933. package/lib/slides/vite/index.d.ts +3 -0
  934. package/lib/slides/vite/index.d.ts.map +1 -0
  935. package/lib/slides/vite/index.js +2 -0
  936. package/lib/slides/vite/index.js.map +1 -0
  937. package/lib/slides/vite/talks.d.ts +50 -0
  938. package/lib/slides/vite/talks.d.ts.map +1 -0
  939. package/lib/slides/vite/talks.js +87 -0
  940. package/lib/slides/vite/talks.js.map +1 -0
  941. package/lib/slides.d.ts +3 -0
  942. package/lib/slides.d.ts.map +1 -0
  943. package/lib/slides.js +3 -0
  944. package/lib/slides.js.map +1 -0
  945. package/lib/spectra/core/axisEntries.d.ts +50 -0
  946. package/lib/spectra/core/axisEntries.d.ts.map +1 -0
  947. package/lib/spectra/core/axisEntries.js +78 -0
  948. package/lib/spectra/core/axisEntries.js.map +1 -0
  949. package/lib/spectra/core/chainProblems.d.ts +14 -0
  950. package/lib/spectra/core/chainProblems.d.ts.map +1 -0
  951. package/lib/spectra/core/chainProblems.js +100 -0
  952. package/lib/spectra/core/chainProblems.js.map +1 -0
  953. package/lib/spectra/core/filterCatalog.d.ts +57 -0
  954. package/lib/spectra/core/filterCatalog.d.ts.map +1 -0
  955. package/lib/spectra/core/filterCatalog.js +81 -0
  956. package/lib/spectra/core/filterCatalog.js.map +1 -0
  957. package/lib/spectra/core/filterChain.d.ts +69 -0
  958. package/lib/spectra/core/filterChain.d.ts.map +1 -0
  959. package/lib/spectra/core/filterChain.js +163 -0
  960. package/lib/spectra/core/filterChain.js.map +1 -0
  961. package/lib/spectra/core/filterEntries.d.ts +136 -0
  962. package/lib/spectra/core/filterEntries.d.ts.map +1 -0
  963. package/lib/spectra/core/filterEntries.js +139 -0
  964. package/lib/spectra/core/filterEntries.js.map +1 -0
  965. package/lib/spectra/core/filterFields.d.ts +94 -0
  966. package/lib/spectra/core/filterFields.d.ts.map +1 -0
  967. package/lib/spectra/core/filterFields.js +82 -0
  968. package/lib/spectra/core/filterFields.js.map +1 -0
  969. package/lib/spectra/core/index.d.ts +14 -0
  970. package/lib/spectra/core/index.d.ts.map +1 -0
  971. package/lib/spectra/core/index.js +9 -0
  972. package/lib/spectra/core/index.js.map +1 -0
  973. package/lib/spectra/core/principalComponents.d.ts +70 -0
  974. package/lib/spectra/core/principalComponents.d.ts.map +1 -0
  975. package/lib/spectra/core/principalComponents.js +90 -0
  976. package/lib/spectra/core/principalComponents.js.map +1 -0
  977. package/lib/spectra/core/problems.d.ts +57 -0
  978. package/lib/spectra/core/problems.d.ts.map +1 -0
  979. package/lib/spectra/core/problems.js +121 -0
  980. package/lib/spectra/core/problems.js.map +1 -0
  981. package/lib/spectra/core/settings.d.ts +67 -0
  982. package/lib/spectra/core/settings.d.ts.map +1 -0
  983. package/lib/spectra/core/settings.js +35 -0
  984. package/lib/spectra/core/settings.js.map +1 -0
  985. package/lib/spectra/core/settingsProblems.d.ts +18 -0
  986. package/lib/spectra/core/settingsProblems.d.ts.map +1 -0
  987. package/lib/spectra/core/settingsProblems.js +148 -0
  988. package/lib/spectra/core/settingsProblems.js.map +1 -0
  989. package/lib/spectra/core/stepProblems.d.ts +13 -0
  990. package/lib/spectra/core/stepProblems.d.ts.map +1 -0
  991. package/lib/spectra/core/stepProblems.js +133 -0
  992. package/lib/spectra/core/stepProblems.js.map +1 -0
  993. package/lib/spectra/ui/CalculationRows.d.ts +21 -0
  994. package/lib/spectra/ui/CalculationRows.d.ts.map +1 -0
  995. package/lib/spectra/ui/CalculationRows.js +77 -0
  996. package/lib/spectra/ui/CalculationRows.js.map +1 -0
  997. package/lib/spectra/ui/FilterChainEditor.d.ts +34 -0
  998. package/lib/spectra/ui/FilterChainEditor.d.ts.map +1 -0
  999. package/lib/spectra/ui/FilterChainEditor.js +111 -0
  1000. package/lib/spectra/ui/FilterChainEditor.js.map +1 -0
  1001. package/lib/spectra/ui/FilterChoiceControl.d.ts +23 -0
  1002. package/lib/spectra/ui/FilterChoiceControl.d.ts.map +1 -0
  1003. package/lib/spectra/ui/FilterChoiceControl.js +65 -0
  1004. package/lib/spectra/ui/FilterChoiceControl.js.map +1 -0
  1005. package/lib/spectra/ui/FilterFieldControl.d.ts +25 -0
  1006. package/lib/spectra/ui/FilterFieldControl.d.ts.map +1 -0
  1007. package/lib/spectra/ui/FilterFieldControl.js +68 -0
  1008. package/lib/spectra/ui/FilterFieldControl.js.map +1 -0
  1009. package/lib/spectra/ui/FilterRow.d.ts +33 -0
  1010. package/lib/spectra/ui/FilterRow.d.ts.map +1 -0
  1011. package/lib/spectra/ui/FilterRow.js +76 -0
  1012. package/lib/spectra/ui/FilterRow.js.map +1 -0
  1013. package/lib/spectra/ui/MatrixFilterRows.d.ts +22 -0
  1014. package/lib/spectra/ui/MatrixFilterRows.d.ts.map +1 -0
  1015. package/lib/spectra/ui/MatrixFilterRows.js +92 -0
  1016. package/lib/spectra/ui/MatrixFilterRows.js.map +1 -0
  1017. package/lib/spectra/ui/NormalizationEditor.d.ts +24 -0
  1018. package/lib/spectra/ui/NormalizationEditor.d.ts.map +1 -0
  1019. package/lib/spectra/ui/NormalizationEditor.js +108 -0
  1020. package/lib/spectra/ui/NormalizationEditor.js.map +1 -0
  1021. package/lib/spectra/ui/NumberField.d.ts +41 -0
  1022. package/lib/spectra/ui/NumberField.d.ts.map +1 -0
  1023. package/lib/spectra/ui/NumberField.js +81 -0
  1024. package/lib/spectra/ui/NumberField.js.map +1 -0
  1025. package/lib/spectra/ui/PostProcessingEditor.d.ts +29 -0
  1026. package/lib/spectra/ui/PostProcessingEditor.d.ts.map +1 -0
  1027. package/lib/spectra/ui/PostProcessingEditor.js +53 -0
  1028. package/lib/spectra/ui/PostProcessingEditor.js.map +1 -0
  1029. package/lib/spectra/ui/PrincipalComponentSelect.d.ts +40 -0
  1030. package/lib/spectra/ui/PrincipalComponentSelect.d.ts.map +1 -0
  1031. package/lib/spectra/ui/PrincipalComponentSelect.js +97 -0
  1032. package/lib/spectra/ui/PrincipalComponentSelect.js.map +1 -0
  1033. package/lib/spectra/ui/ProblemList.d.ts +24 -0
  1034. package/lib/spectra/ui/ProblemList.d.ts.map +1 -0
  1035. package/lib/spectra/ui/ProblemList.js +40 -0
  1036. package/lib/spectra/ui/ProblemList.js.map +1 -0
  1037. package/lib/spectra/ui/RangeRows.d.ts +23 -0
  1038. package/lib/spectra/ui/RangeRows.d.ts.map +1 -0
  1039. package/lib/spectra/ui/RangeRows.js +76 -0
  1040. package/lib/spectra/ui/RangeRows.js.map +1 -0
  1041. package/lib/spectra/ui/ScaleFields.d.ts +28 -0
  1042. package/lib/spectra/ui/ScaleFields.d.ts.map +1 -0
  1043. package/lib/spectra/ui/ScaleFields.js +67 -0
  1044. package/lib/spectra/ui/ScaleFields.js.map +1 -0
  1045. package/lib/spectra/ui/SettingsPart.d.ts +25 -0
  1046. package/lib/spectra/ui/SettingsPart.d.ts.map +1 -0
  1047. package/lib/spectra/ui/SettingsPart.js +35 -0
  1048. package/lib/spectra/ui/SettingsPart.js.map +1 -0
  1049. package/lib/spectra/ui/SpectraSettingsEditor.d.ts +62 -0
  1050. package/lib/spectra/ui/SpectraSettingsEditor.d.ts.map +1 -0
  1051. package/lib/spectra/ui/SpectraSettingsEditor.js +39 -0
  1052. package/lib/spectra/ui/SpectraSettingsEditor.js.map +1 -0
  1053. package/lib/spectra/ui/SpectrumSelection.d.ts +30 -0
  1054. package/lib/spectra/ui/SpectrumSelection.d.ts.map +1 -0
  1055. package/lib/spectra/ui/SpectrumSelection.js +116 -0
  1056. package/lib/spectra/ui/SpectrumSelection.js.map +1 -0
  1057. package/lib/spectra/ui/ZoneRows.d.ts +41 -0
  1058. package/lib/spectra/ui/ZoneRows.d.ts.map +1 -0
  1059. package/lib/spectra/ui/ZoneRows.js +70 -0
  1060. package/lib/spectra/ui/ZoneRows.js.map +1 -0
  1061. package/lib/spectra/ui/index.d.ts +7 -0
  1062. package/lib/spectra/ui/index.d.ts.map +1 -0
  1063. package/lib/spectra/ui/index.js +4 -0
  1064. package/lib/spectra/ui/index.js.map +1 -0
  1065. package/lib/spectra/ui/matrixSteps.d.ts +61 -0
  1066. package/lib/spectra/ui/matrixSteps.d.ts.map +1 -0
  1067. package/lib/spectra/ui/matrixSteps.js +92 -0
  1068. package/lib/spectra/ui/matrixSteps.js.map +1 -0
  1069. package/lib/spectra/ui/problemsAbout.d.ts +14 -0
  1070. package/lib/spectra/ui/problemsAbout.d.ts.map +1 -0
  1071. package/lib/spectra/ui/problemsAbout.js +15 -0
  1072. package/lib/spectra/ui/problemsAbout.js.map +1 -0
  1073. package/lib/spectra/ui/rowKeys.d.ts +27 -0
  1074. package/lib/spectra/ui/rowKeys.d.ts.map +1 -0
  1075. package/lib/spectra/ui/rowKeys.js +45 -0
  1076. package/lib/spectra/ui/rowKeys.js.map +1 -0
  1077. package/lib/spectra/ui/scaleOptions.d.ts +50 -0
  1078. package/lib/spectra/ui/scaleOptions.d.ts.map +1 -0
  1079. package/lib/spectra/ui/scaleOptions.js +103 -0
  1080. package/lib/spectra/ui/scaleOptions.js.map +1 -0
  1081. package/lib/structure/ui/StructureEditor.js +2 -2
  1082. package/lib/structure/ui/StructureEditor.js.map +1 -1
  1083. package/lib/structure/ui/StructurePlaceholder.js +1 -1
  1084. package/lib/structure/ui/StructurePlaceholder.js.map +1 -1
  1085. package/lib/tokens/core/checkTokens.d.ts +51 -0
  1086. package/lib/tokens/core/checkTokens.d.ts.map +1 -0
  1087. package/lib/tokens/core/checkTokens.js +188 -0
  1088. package/lib/tokens/core/checkTokens.js.map +1 -0
  1089. package/lib/tokens/core/colors.d.ts +42 -0
  1090. package/lib/tokens/core/colors.d.ts.map +1 -0
  1091. package/lib/tokens/core/colors.js +119 -0
  1092. package/lib/tokens/core/colors.js.map +1 -0
  1093. package/lib/tokens/core/index.d.ts +3 -0
  1094. package/lib/tokens/core/index.d.ts.map +1 -0
  1095. package/lib/tokens/core/index.js +2 -0
  1096. package/lib/tokens/core/index.js.map +1 -0
  1097. package/lib/tokens/core/rules.d.ts +23 -0
  1098. package/lib/tokens/core/rules.d.ts.map +1 -0
  1099. package/lib/tokens/core/rules.js +90 -0
  1100. package/lib/tokens/core/rules.js.map +1 -0
  1101. package/lib/ui.d.ts +7 -0
  1102. package/lib/ui.d.ts.map +1 -1
  1103. package/lib/ui.js +7 -0
  1104. package/lib/ui.js.map +1 -1
  1105. package/lib/vite.d.ts +1 -0
  1106. package/lib/vite.d.ts.map +1 -1
  1107. package/lib/vite.js +1 -0
  1108. package/lib/vite.js.map +1 -1
  1109. package/package.json +27 -3
  1110. package/src/about/core/about.ts +176 -0
  1111. package/src/about/core/index.ts +2 -0
  1112. package/src/about/ui/AboutCitations.tsx +79 -0
  1113. package/src/about/ui/AboutPage.tsx +177 -0
  1114. package/src/about/ui/AboutSection.tsx +56 -0
  1115. package/src/about/ui/index.ts +6 -0
  1116. package/src/chart/core/chartAxisScale.ts +249 -0
  1117. package/src/chart/core/chartBand.ts +82 -0
  1118. package/src/chart/core/chartBins.ts +96 -0
  1119. package/src/chart/core/chartExtent.ts +203 -0
  1120. package/src/chart/core/chartLabels.ts +68 -0
  1121. package/src/chart/core/chartPalette.ts +71 -0
  1122. package/src/chart/core/chartScale.ts +72 -0
  1123. package/src/chart/core/chartViewport.ts +211 -0
  1124. package/src/chart/core/index.ts +58 -0
  1125. package/src/chart/core/matrix.ts +100 -0
  1126. package/src/chart/ui/ChartAxis.tsx +232 -0
  1127. package/src/chart/ui/ChartFrame.tsx +246 -0
  1128. package/src/chart/ui/ChartSeriesMarks.tsx +98 -0
  1129. package/src/chart/ui/ChartTrackingLayer.tsx +192 -0
  1130. package/src/chart/ui/TrackedLineChart.tsx +267 -0
  1131. package/src/chart/ui/TrackedStickChart.tsx +197 -0
  1132. package/src/chart/ui/chartStyles.ts +194 -0
  1133. package/src/chart/ui/index.ts +34 -0
  1134. package/src/chart/ui/stickChartModel.ts +201 -0
  1135. package/src/chart/ui/useWheelZoom.ts +177 -0
  1136. package/src/chrome/ui/index.ts +3 -0
  1137. package/src/clipboard/ui/CodeBlock.tsx +4 -1
  1138. package/src/color/core/gradient.ts +29 -0
  1139. package/src/color/core/hsv.ts +112 -0
  1140. package/src/color/core/index.ts +27 -1
  1141. package/src/color/core/interpolate.ts +179 -0
  1142. package/src/color/core/scale.ts +17 -49
  1143. package/src/color/core/scaleData.ts +128 -0
  1144. package/src/color/core/scaleText.ts +134 -0
  1145. package/src/color/core/scales.ts +148 -0
  1146. package/src/color/ui/ColorScaleBar.tsx +73 -0
  1147. package/src/color/ui/ColorScaleEditor.tsx +243 -0
  1148. package/src/color/ui/ColorScaleLegend.tsx +1 -1
  1149. package/src/color/ui/ColorScaleSelect.tsx +252 -0
  1150. package/src/color/ui/index.ts +6 -0
  1151. package/src/core.ts +10 -0
  1152. package/src/credits/core/credits.ts +62 -0
  1153. package/src/credits/ui/CreditsList.tsx +1 -1
  1154. package/src/delimited/ui/DelimitedTextPanel.tsx +1 -1
  1155. package/src/download/core/cssTokens.ts +90 -0
  1156. package/src/download/core/downloadFigure.ts +66 -0
  1157. package/src/download/core/figurePng.ts +87 -0
  1158. package/src/download/core/figureScale.ts +83 -0
  1159. package/src/download/core/figureSvg.ts +130 -0
  1160. package/src/download/core/figureSvgDocument.ts +129 -0
  1161. package/src/download/core/figureTarget.ts +130 -0
  1162. package/src/download/core/index.ts +28 -0
  1163. package/src/download/ui/FigureDownload.tsx +158 -0
  1164. package/src/download/ui/FigureDownloadPanel.tsx +165 -0
  1165. package/src/download/ui/index.ts +13 -0
  1166. package/src/ecosystem/core/sites.ts +24 -1
  1167. package/src/ecosystem/core/tokens.ts +1 -0
  1168. package/src/ecosystem/ui/EcosystemLinks.tsx +2 -2
  1169. package/src/ecosystem/ui/EcosystemMenu.tsx +1 -1
  1170. package/src/ecosystem/ui/SiteTile.tsx +7 -5
  1171. package/src/ecosystem/ui/glyphs.tsx +56 -0
  1172. package/src/orbital/core/index.ts +4 -1
  1173. package/src/orbital/core/realHarmonics.ts +5 -2
  1174. package/src/orbital/ui/AtomicOrbitalCanvas.tsx +126 -4
  1175. package/src/orbital/ui/AtomicOrbitalViewer.tsx +14 -1
  1176. package/src/orbital/ui/camera.ts +81 -0
  1177. package/src/orbital/ui/renderVolume.ts +8 -1
  1178. package/src/orbital/ui/serial.ts +35 -0
  1179. package/src/orbital/ui/viewer.ts +72 -13
  1180. package/src/overlay/core/emptiestCorner.ts +122 -0
  1181. package/src/overlay/core/index.ts +34 -0
  1182. package/src/overlay/core/overlayCollapse.ts +20 -0
  1183. package/src/overlay/core/overlayMarks.ts +43 -0
  1184. package/src/overlay/core/overlayMetrics.ts +112 -0
  1185. package/src/overlay/core/overlayPlacement.ts +80 -0
  1186. package/src/overlay/core/overlayTierRoom.ts +199 -0
  1187. package/src/overlay/core/overlayTiers.ts +130 -0
  1188. package/src/overlay/core/placeOverlayCard.ts +93 -0
  1189. package/src/overlay/ui/OverlayAction.tsx +66 -0
  1190. package/src/overlay/ui/OverlayBar.tsx +188 -0
  1191. package/src/overlay/ui/OverlayBarButton.tsx +83 -0
  1192. package/src/overlay/ui/OverlayBarCard.tsx +78 -0
  1193. package/src/overlay/ui/OverlayBarStrip.tsx +62 -0
  1194. package/src/overlay/ui/OverlayCaption.tsx +124 -0
  1195. package/src/overlay/ui/OverlayChip.tsx +181 -0
  1196. package/src/overlay/ui/OverlayDivider.tsx +24 -0
  1197. package/src/overlay/ui/OverlayGroup.tsx +157 -0
  1198. package/src/overlay/ui/OverlayIconButton.tsx +131 -0
  1199. package/src/overlay/ui/OverlayInfo.tsx +92 -0
  1200. package/src/overlay/ui/OverlayLayer.tsx +118 -0
  1201. package/src/overlay/ui/OverlayLegend.tsx +222 -0
  1202. package/src/overlay/ui/OverlayLegendMark.tsx +95 -0
  1203. package/src/overlay/ui/OverlayNumber.tsx +160 -0
  1204. package/src/overlay/ui/OverlayPanel.tsx +162 -0
  1205. package/src/overlay/ui/OverlayPills.tsx +157 -0
  1206. package/src/overlay/ui/OverlayReadout.tsx +247 -0
  1207. package/src/overlay/ui/OverlayRow.tsx +200 -0
  1208. package/src/overlay/ui/OverlaySegmented.tsx +67 -0
  1209. package/src/overlay/ui/OverlaySelect.tsx +114 -0
  1210. package/src/overlay/ui/OverlaySwatchIcon.tsx +126 -0
  1211. package/src/overlay/ui/OverlayToggle.tsx +136 -0
  1212. package/src/overlay/ui/OverlayValueButton.tsx +149 -0
  1213. package/src/overlay/ui/OverlayValueMenu.tsx +141 -0
  1214. package/src/overlay/ui/index.ts +72 -0
  1215. package/src/overlay/ui/overlayBarShape.ts +113 -0
  1216. package/src/overlay/ui/overlayControlStyles.ts +176 -0
  1217. package/src/overlay/ui/overlayFigureStyles.ts +111 -0
  1218. package/src/overlay/ui/overlayPanelContext.ts +42 -0
  1219. package/src/overlay/ui/overlayPanelStyles.ts +235 -0
  1220. package/src/overlay/ui/overlayPillKeys.ts +45 -0
  1221. package/src/overlay/ui/overlayPillStyles.ts +190 -0
  1222. package/src/overlay/ui/overlayRowStyles.ts +166 -0
  1223. package/src/overlay/ui/overlayStepperStyles.ts +112 -0
  1224. package/src/overlay/ui/overlayStyles.ts +222 -0
  1225. package/src/overlay/ui/overlaySurface.ts +120 -0
  1226. package/src/overlay/ui/overlaySwitchStyles.ts +136 -0
  1227. package/src/overlay/ui/overlayValueStyles.ts +210 -0
  1228. package/src/pedagogy/ui/ExerciseProgressHeader.tsx +1 -1
  1229. package/src/pedagogy/ui/GlossaryText.tsx +2 -2
  1230. package/src/pedagogy/ui/ReferenceSectionBlock.tsx +5 -2
  1231. package/src/pedagogy/ui/SyntaxTooltip.tsx +2 -2
  1232. package/src/pedagogy/ui/TutorialStepStrip.tsx +4 -1
  1233. package/src/periodic/ui/CategoryLegend.tsx +1 -1
  1234. package/src/periodic/ui/PeriodicTableChrome.tsx +2 -2
  1235. package/src/projection/core/embeddingResult.ts +119 -0
  1236. package/src/projection/core/explainedShares.ts +105 -0
  1237. package/src/projection/core/index.ts +81 -0
  1238. package/src/projection/core/loadingProfiles.ts +226 -0
  1239. package/src/projection/core/pcaLike.ts +33 -0
  1240. package/src/projection/core/pcaResult.ts +238 -0
  1241. package/src/projection/core/projectionCopy.ts +252 -0
  1242. package/src/projection/core/projectionCopyPatch.ts +12 -0
  1243. package/src/projection/core/projectionOptions.ts +238 -0
  1244. package/src/projection/core/projectionResult.ts +123 -0
  1245. package/src/projection/core/projectionSamples.ts +170 -0
  1246. package/src/projection/core/projectionStrings.ts +265 -0
  1247. package/src/projection/core/projectionTabDefaults.ts +51 -0
  1248. package/src/projection/core/projectionTabs.ts +56 -0
  1249. package/src/projection/core/variableAxis.ts +161 -0
  1250. package/src/projection/core/variablesView.ts +53 -0
  1251. package/src/projection/ui/PcaViewer.tsx +80 -0
  1252. package/src/projection/ui/ProjectionBar.tsx +222 -0
  1253. package/src/projection/ui/ProjectionMapCaption.tsx +96 -0
  1254. package/src/projection/ui/ProjectionMapControls.tsx +271 -0
  1255. package/src/projection/ui/ProjectionMapLegend.tsx +70 -0
  1256. package/src/projection/ui/ProjectionMapMore.tsx +178 -0
  1257. package/src/projection/ui/ProjectionMapTab.tsx +205 -0
  1258. package/src/projection/ui/ProjectionPairsControls.tsx +58 -0
  1259. package/src/projection/ui/ProjectionPairsMore.tsx +95 -0
  1260. package/src/projection/ui/ProjectionPairsTab.tsx +159 -0
  1261. package/src/projection/ui/ProjectionPanel.tsx +199 -0
  1262. package/src/projection/ui/ProjectionReadout.tsx +149 -0
  1263. package/src/projection/ui/ProjectionSharesControls.tsx +56 -0
  1264. package/src/projection/ui/ProjectionSharesMarks.tsx +241 -0
  1265. package/src/projection/ui/ProjectionSharesMore.tsx +53 -0
  1266. package/src/projection/ui/ProjectionSharesTab.tsx +118 -0
  1267. package/src/projection/ui/ProjectionSurface.tsx +63 -0
  1268. package/src/projection/ui/ProjectionTabStrip.tsx +144 -0
  1269. package/src/projection/ui/ProjectionVariablesControls.tsx +62 -0
  1270. package/src/projection/ui/ProjectionVariablesMore.tsx +144 -0
  1271. package/src/projection/ui/ProjectionVariablesTab.tsx +216 -0
  1272. package/src/projection/ui/ProjectionViewer.tsx +143 -0
  1273. package/src/projection/ui/index.ts +19 -0
  1274. package/src/projection/ui/projectionBarModel.ts +193 -0
  1275. package/src/projection/ui/projectionBarReadings.ts +177 -0
  1276. package/src/projection/ui/projectionBarSlots.tsx +139 -0
  1277. package/src/projection/ui/projectionBarStyles.ts +174 -0
  1278. package/src/projection/ui/projectionEllipse.ts +104 -0
  1279. package/src/projection/ui/projectionFormat.ts +18 -0
  1280. package/src/projection/ui/projectionMapChoices.ts +64 -0
  1281. package/src/projection/ui/projectionMapChrome.ts +207 -0
  1282. package/src/projection/ui/projectionMapModel.ts +253 -0
  1283. package/src/projection/ui/projectionMapView.ts +188 -0
  1284. package/src/projection/ui/projectionPairsCeiling.ts +45 -0
  1285. package/src/projection/ui/projectionSelection.ts +87 -0
  1286. package/src/projection/ui/projectionTabInfo.ts +126 -0
  1287. package/src/projection/ui/projectionTabModels.ts +106 -0
  1288. package/src/projection/ui/projectionTabStyles.ts +161 -0
  1289. package/src/projection/ui/projectionVariablesModel.ts +231 -0
  1290. package/src/projection/ui/projectionVariablesWords.ts +105 -0
  1291. package/src/projection/ui/projectionViewChoices.ts +77 -0
  1292. package/src/projection/ui/projectionViewerProps.ts +155 -0
  1293. package/src/projection/ui/useProjectionState.ts +224 -0
  1294. package/src/scatter/core/confidenceEllipse.ts +230 -0
  1295. package/src/scatter/core/ellipseCoverage.ts +46 -0
  1296. package/src/scatter/core/ellipseProjection.ts +126 -0
  1297. package/src/scatter/core/index.ts +48 -0
  1298. package/src/scatter/core/lassoPath.ts +127 -0
  1299. package/src/scatter/core/polygon.ts +155 -0
  1300. package/src/scatter/core/scatterSelection.ts +88 -0
  1301. package/src/scatter/core/screenPoints.ts +110 -0
  1302. package/src/scatter/ui/ScatterEllipseLayer.tsx +153 -0
  1303. package/src/scatter/ui/ScatterLabelLayer.tsx +135 -0
  1304. package/src/scatter/ui/ScatterMarkLayer.tsx +245 -0
  1305. package/src/scatter/ui/ScatterMatrix.tsx +177 -0
  1306. package/src/scatter/ui/ScatterMatrixCell.tsx +140 -0
  1307. package/src/scatter/ui/ScatterMatrixDiagonal.tsx +182 -0
  1308. package/src/scatter/ui/ScatterPlot.tsx +234 -0
  1309. package/src/scatter/ui/ScatterPointLayer.tsx +168 -0
  1310. package/src/scatter/ui/index.ts +123 -0
  1311. package/src/scatter/ui/lassoGesture.ts +237 -0
  1312. package/src/scatter/ui/scatterGroupSpread.ts +206 -0
  1313. package/src/scatter/ui/scatterLabelBoxes.ts +177 -0
  1314. package/src/scatter/ui/scatterLabelPlacement.ts +325 -0
  1315. package/src/scatter/ui/scatterLabels.ts +147 -0
  1316. package/src/scatter/ui/scatterMarkGlyph.tsx +94 -0
  1317. package/src/scatter/ui/scatterMatrixDots.tsx +134 -0
  1318. package/src/scatter/ui/scatterMatrixLayout.ts +133 -0
  1319. package/src/scatter/ui/scatterMatrixOutlines.tsx +53 -0
  1320. package/src/scatter/ui/scatterMatrixProps.ts +103 -0
  1321. package/src/scatter/ui/scatterOutlineShape.tsx +169 -0
  1322. package/src/scatter/ui/scatterPlotModel.ts +200 -0
  1323. package/src/scatter/ui/scatterPlotProps.ts +240 -0
  1324. package/src/scatter/ui/useLassoGesture.ts +214 -0
  1325. package/src/scatter/ui/usePointHover.ts +187 -0
  1326. package/src/scatter/ui/useScatterFrame.ts +191 -0
  1327. package/src/scatter/ui/useScatterInteraction.ts +237 -0
  1328. package/src/scatter/ui/useScatterKeyboard.ts +120 -0
  1329. package/src/scatter/ui/useScatterSelection.ts +189 -0
  1330. package/src/seo/vite/ogCard.ts +1 -0
  1331. package/src/share/core/query.ts +11 -7
  1332. package/src/share/ui/ShareDialogContent.tsx +5 -2
  1333. package/src/share/ui/SharePartOptions.tsx +1 -1
  1334. package/src/slides/core/demoLinks.ts +113 -0
  1335. package/src/slides/core/index.ts +22 -0
  1336. package/src/slides/core/sectionHeading.ts +29 -0
  1337. package/src/slides/core/slideNavigation.ts +77 -0
  1338. package/src/slides/core/talk.ts +203 -0
  1339. package/src/slides/core/talkManifest.ts +158 -0
  1340. package/src/slides/core/talkOrigin.ts +83 -0
  1341. package/src/slides/ui/BackToSlides.tsx +49 -0
  1342. package/src/slides/ui/DemoLink.tsx +67 -0
  1343. package/src/slides/ui/EmbedSlide.tsx +85 -0
  1344. package/src/slides/ui/SectionSlide.tsx +44 -0
  1345. package/src/slides/ui/Slide.tsx +143 -0
  1346. package/src/slides/ui/SlideBody.tsx +64 -0
  1347. package/src/slides/ui/Slideshow.tsx +282 -0
  1348. package/src/slides/ui/SlideshowBar.tsx +83 -0
  1349. package/src/slides/ui/TalkList.tsx +146 -0
  1350. package/src/slides/ui/index.ts +18 -0
  1351. package/src/slides/vite/index.ts +2 -0
  1352. package/src/slides/vite/talks.ts +126 -0
  1353. package/src/slides.ts +2 -0
  1354. package/src/spectra/core/axisEntries.ts +107 -0
  1355. package/src/spectra/core/chainProblems.ts +165 -0
  1356. package/src/spectra/core/filterCatalog.ts +100 -0
  1357. package/src/spectra/core/filterChain.ts +194 -0
  1358. package/src/spectra/core/filterEntries.ts +214 -0
  1359. package/src/spectra/core/filterFields.ts +159 -0
  1360. package/src/spectra/core/index.ts +67 -0
  1361. package/src/spectra/core/principalComponents.ts +130 -0
  1362. package/src/spectra/core/problems.ts +143 -0
  1363. package/src/spectra/core/settings.ts +119 -0
  1364. package/src/spectra/core/settingsProblems.ts +222 -0
  1365. package/src/spectra/core/stepProblems.ts +228 -0
  1366. package/src/spectra/ui/CalculationRows.tsx +161 -0
  1367. package/src/spectra/ui/FilterChainEditor.tsx +199 -0
  1368. package/src/spectra/ui/FilterChoiceControl.tsx +153 -0
  1369. package/src/spectra/ui/FilterFieldControl.tsx +105 -0
  1370. package/src/spectra/ui/FilterRow.tsx +190 -0
  1371. package/src/spectra/ui/MatrixFilterRows.tsx +184 -0
  1372. package/src/spectra/ui/NormalizationEditor.tsx +235 -0
  1373. package/src/spectra/ui/NumberField.tsx +126 -0
  1374. package/src/spectra/ui/PostProcessingEditor.tsx +136 -0
  1375. package/src/spectra/ui/PrincipalComponentSelect.tsx +245 -0
  1376. package/src/spectra/ui/ProblemList.tsx +77 -0
  1377. package/src/spectra/ui/RangeRows.tsx +175 -0
  1378. package/src/spectra/ui/ScaleFields.tsx +183 -0
  1379. package/src/spectra/ui/SettingsPart.tsx +60 -0
  1380. package/src/spectra/ui/SpectraSettingsEditor.tsx +143 -0
  1381. package/src/spectra/ui/SpectrumSelection.tsx +193 -0
  1382. package/src/spectra/ui/ZoneRows.tsx +159 -0
  1383. package/src/spectra/ui/index.ts +9 -0
  1384. package/src/spectra/ui/matrixSteps.ts +128 -0
  1385. package/src/spectra/ui/problemsAbout.ts +21 -0
  1386. package/src/spectra/ui/rowKeys.ts +47 -0
  1387. package/src/spectra/ui/scaleOptions.ts +116 -0
  1388. package/src/structure/ui/StructureEditor.tsx +2 -2
  1389. package/src/structure/ui/StructurePlaceholder.tsx +1 -1
  1390. package/src/tokens/core/checkTokens.ts +242 -0
  1391. package/src/tokens/core/colors.ts +122 -0
  1392. package/src/tokens/core/index.ts +6 -0
  1393. package/src/tokens/core/rules.ts +103 -0
  1394. package/src/ui.ts +7 -0
  1395. package/src/vite.ts +1 -0
  1396. package/styles/chrome.css +1 -0
  1397. package/styles/slides.css +667 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overlayTierRoom.d.ts","sourceRoot":"","sources":["../../../src/overlay/core/overlayTierRoom.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,4EAA4E;AAC5E,MAAM,WAAW,kBAAkB;IACjC;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,iEAAiE;AACjE,MAAM,WAAW,eAAe;IAC9B,kEAAkE;IAClE,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;IACxB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9B,kEAAkE;IAClE,QAAQ,EAAE,SAAS,kBAAkB,EAAE,CAAC;IACxC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,SAAS,MAAM,EAAE,EACzB,OAAO,EAAE,cAAc,GACtB,MAAM,CAQR;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,SAAS,kBAAkB,EAAE,EACvC,QAAQ,EAAE,OAAO,EACjB,OAAO,EAAE,cAAc,GACtB,MAAM,CAYR;AAED;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,SAAS,kBAAkB,EAAE,EACvC,OAAO,EAAE,cAAc,GACtB,MAAM,CAeR;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,cAAc,GACtB,MAAM,CAIR"}
@@ -0,0 +1,135 @@
1
+ /**
2
+ * What a bar of controls is holding, and how much room each part of it needs.
3
+ *
4
+ * Every width here is an estimate of laid-out type rather than a measurement.
5
+ * Measuring the real labels would mean putting them in the document and
6
+ * reading their boxes back, which costs a layout pass on every render of every
7
+ * embedded figure on the page — and the answer would still arrive one frame
8
+ * after the width that prompted it. The estimate is deliberately generous: a
9
+ * bar that folds a word early costs the reader a caret, while one that folds
10
+ * late runs its controls off the edge of the figure.
11
+ *
12
+ * The geometry is restated here rather than read off the styles that draw it,
13
+ * because those styles are React's and this has to answer on a server, before
14
+ * anything exists to measure. Being an estimate is the point — it is allowed
15
+ * to be a few pixels out, and it is not allowed to need a browser.
16
+ */
17
+ /**
18
+ * The tab strip, sunken track and all.
19
+ * @param labels - What each tab reads.
20
+ * @param metrics - The measurements the bar is drawn from.
21
+ * @returns The width in pixels; `0` where there is no strip at all.
22
+ */
23
+ export function overlayStripWidth(labels, metrics) {
24
+ if (labels.length === 0)
25
+ return 0;
26
+ const segment = 2 * (metrics.paddingX + 2) + OVERLAY_TRACK_PADDING;
27
+ let total = OVERLAY_TRACK_PADDING * 2;
28
+ for (const label of labels) {
29
+ total += overlayTextWidth(label, metrics) + segment;
30
+ }
31
+ return total;
32
+ }
33
+ /**
34
+ * The settings, each written as a value button of its own.
35
+ * @param settings - What the bar holds at its far end.
36
+ * @param withKeys - Whether each value still carries its key word.
37
+ * @param metrics - The measurements the bar is drawn from.
38
+ * @returns The width in pixels, the gaps between the buttons included.
39
+ */
40
+ export function overlaySettingsWidth(settings, withKeys, metrics) {
41
+ let total = 0;
42
+ for (let index = 0; index < settings.length; index++) {
43
+ const setting = settings[index];
44
+ if (setting === undefined)
45
+ continue;
46
+ const written = withKeys
47
+ ? `${setting.key} ${setting.value}`
48
+ : setting.value;
49
+ total += controlWidth(written, setting.swatches === true, metrics);
50
+ if (index > 0)
51
+ total += metrics.gap;
52
+ }
53
+ return total;
54
+ }
55
+ /**
56
+ * Every setting gathered into one chip.
57
+ *
58
+ * What the chip saves is one button's worth of padding and one caret per
59
+ * setting it swallows — never the words themselves, which are the whole reason
60
+ * the reader is given a chip rather than a cog.
61
+ * @param settings - What the bar holds at its far end.
62
+ * @param metrics - The measurements the bar is drawn from.
63
+ * @returns The width in pixels.
64
+ */
65
+ export function overlayChipRoom(settings, metrics) {
66
+ let written = '';
67
+ let swatches = false;
68
+ let separators = 0;
69
+ for (let index = 0; index < settings.length; index++) {
70
+ const setting = settings[index];
71
+ if (setting === undefined)
72
+ continue;
73
+ written += setting.value;
74
+ if (setting.swatches === true)
75
+ swatches = true;
76
+ if (index > 0)
77
+ separators++;
78
+ }
79
+ return (controlWidth(written, swatches, metrics) +
80
+ separators * OVERLAY_CHIP_SEPARATOR);
81
+ }
82
+ /**
83
+ * The bare glyphs at the very end of the bar, with the bar's own padding.
84
+ *
85
+ * One extra gap is counted for the space between the two ends of the row,
86
+ * which is what a bar spanning the figure pushes its ends apart with.
87
+ * @param glyphs - How many bare glyphs ride at the end.
88
+ * @param metrics - The measurements the bar is drawn from.
89
+ * @returns The width in pixels.
90
+ */
91
+ export function overlayTailWidth(glyphs, metrics) {
92
+ const count = Number.isFinite(glyphs) ? Math.max(0, Math.floor(glyphs)) : 0;
93
+ const buttons = count * (metrics.buttonSize + metrics.gap);
94
+ return buttons + 2 * metrics.paddingX + metrics.gap;
95
+ }
96
+ /**
97
+ * The room a run of words takes.
98
+ * @param text - The words.
99
+ * @param metrics - The measurements the bar is drawn from.
100
+ * @returns The width in pixels.
101
+ */
102
+ function overlayTextWidth(text, metrics) {
103
+ return text.length * metrics.fontSize * OVERLAY_CHARACTER_RATIO;
104
+ }
105
+ /**
106
+ * What one character of a label takes, as a fraction of the type size.
107
+ *
108
+ * A mixed-case interface sans averages a little over half its size per
109
+ * character. This sits above that average on purpose: the labels that decide a
110
+ * fold are the long ones, and a long label of wide letters is the case where
111
+ * being wrong runs the row off the figure rather than merely folding it early.
112
+ */
113
+ const OVERLAY_CHARACTER_RATIO = 0.58;
114
+ /** The band of sunken track showing around a segment, on every side. */
115
+ const OVERLAY_TRACK_PADDING = 2;
116
+ /** How many colours the swatch glyph draws before the last becomes a count. */
117
+ const OVERLAY_SWATCH_DOTS = 4;
118
+ /** What sits between two settings inside a chip, hairline and margins. */
119
+ const OVERLAY_CHIP_SEPARATOR = 9;
120
+ /**
121
+ * One button carrying words, a caret, and possibly a row of colours.
122
+ * @param written - The words on it.
123
+ * @param swatches - Whether the figure's colours ride in front of them.
124
+ * @param metrics - The measurements the bar is drawn from.
125
+ * @returns The width in pixels, never under the button's own floor.
126
+ */
127
+ function controlWidth(written, swatches, metrics) {
128
+ const dot = Math.max(4, Math.round(metrics.buttonSize / 6));
129
+ const glyph = swatches
130
+ ? OVERLAY_SWATCH_DOTS * dot + (OVERLAY_SWATCH_DOTS - 1) * 2 + 4
131
+ : 0;
132
+ const room = 2 * metrics.paddingX + metrics.fontSize;
133
+ return Math.max(metrics.buttonSize, overlayTextWidth(written, metrics) + glyph + room);
134
+ }
135
+ //# sourceMappingURL=overlayTierRoom.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overlayTierRoom.js","sourceRoot":"","sources":["../../../src/overlay/core/overlayTierRoom.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAyCH;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAC/B,MAAyB,EACzB,OAAuB;IAEvB,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,CAAC,CAAC;IAClC,MAAM,OAAO,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC,GAAG,qBAAqB,CAAC;IACnE,IAAI,KAAK,GAAG,qBAAqB,GAAG,CAAC,CAAC;IACtC,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,KAAK,IAAI,gBAAgB,CAAC,KAAK,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC;IACtD,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAClC,QAAuC,EACvC,QAAiB,EACjB,OAAuB;IAEvB,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QACrD,MAAM,OAAO,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;QAChC,IAAI,OAAO,KAAK,SAAS;YAAE,SAAS;QACpC,MAAM,OAAO,GAAG,QAAQ;YACtB,CAAC,CAAC,GAAG,OAAO,CAAC,GAAG,IAAI,OAAO,CAAC,KAAK,EAAE;YACnC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;QAClB,KAAK,IAAI,YAAY,CAAC,OAAO,EAAE,OAAO,CAAC,QAAQ,KAAK,IAAI,EAAE,OAAO,CAAC,CAAC;QACnE,IAAI,KAAK,GAAG,CAAC;YAAE,KAAK,IAAI,OAAO,CAAC,GAAG,CAAC;IACtC,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,eAAe,CAC7B,QAAuC,EACvC,OAAuB;IAEvB,IAAI,OAAO,GAAG,EAAE,CAAC;IACjB,IAAI,QAAQ,GAAG,KAAK,CAAC;IACrB,IAAI,UAAU,GAAG,CAAC,CAAC;IACnB,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QACrD,MAAM,OAAO,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;QAChC,IAAI,OAAO,KAAK,SAAS;YAAE,SAAS;QACpC,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC;QACzB,IAAI,OAAO,CAAC,QAAQ,KAAK,IAAI;YAAE,QAAQ,GAAG,IAAI,CAAC;QAC/C,IAAI,KAAK,GAAG,CAAC;YAAE,UAAU,EAAE,CAAC;IAC9B,CAAC;IACD,OAAO,CACL,YAAY,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;QACxC,UAAU,GAAG,sBAAsB,CACpC,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,gBAAgB,CAC9B,MAAc,EACd,OAAuB;IAEvB,MAAM,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5E,MAAM,OAAO,GAAG,KAAK,GAAG,CAAC,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAC3D,OAAO,OAAO,GAAG,CAAC,GAAG,OAAO,CAAC,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC;AACtD,CAAC;AAED;;;;;GAKG;AACH,SAAS,gBAAgB,CAAC,IAAY,EAAE,OAAuB;IAC7D,OAAO,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,QAAQ,GAAG,uBAAuB,CAAC;AAClE,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,wEAAwE;AACxE,MAAM,qBAAqB,GAAG,CAAC,CAAC;AAEhC,+EAA+E;AAC/E,MAAM,mBAAmB,GAAG,CAAC,CAAC;AAE9B,0EAA0E;AAC1E,MAAM,sBAAsB,GAAG,CAAC,CAAC;AAEjC;;;;;;GAMG;AACH,SAAS,YAAY,CACnB,OAAe,EACf,QAAiB,EACjB,OAAuB;IAEvB,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC;IAC5D,MAAM,KAAK,GAAG,QAAQ;QACpB,CAAC,CAAC,mBAAmB,GAAG,GAAG,GAAG,CAAC,mBAAmB,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;QAC/D,CAAC,CAAC,CAAC,CAAC;IACN,MAAM,IAAI,GAAG,CAAC,GAAG,OAAO,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;IACrD,OAAO,IAAI,CAAC,GAAG,CACb,OAAO,CAAC,UAAU,EAClB,gBAAgB,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,KAAK,GAAG,IAAI,CAClD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,71 @@
1
+ /**
2
+ * How much of itself a bar of controls writes, at the width it actually has.
3
+ *
4
+ * An embedded figure has no idea how wide the page around it is; it only knows
5
+ * its own box, which is why this answers from a measured component width and
6
+ * why there is no media query anywhere in the domain. A figure four hundred
7
+ * pixels wide in a wide page and the same figure filling a phone are the same
8
+ * problem, and a rule written against the viewport gets one of the two wrong.
9
+ *
10
+ * The ladder never *hides* a control. Each rung writes less of one: the key
11
+ * word in front of a value goes, then the long form of a tab label, then the
12
+ * settings gather into a single chip that still reads the configuration. That
13
+ * chip is the point of the whole ladder — a cog tells the reader nothing about
14
+ * how the figure is drawn, where `Species · 95%` answers the question they
15
+ * actually have without being opened at all.
16
+ */
17
+ import type { OverlayMetrics } from './overlayMetrics.ts';
18
+ import type { OverlayTierRoom } from './overlayTierRoom.ts';
19
+ /**
20
+ * How much of itself a bar writes.
21
+ *
22
+ * `full` writes every word. `condensed` drops the key word in front of each
23
+ * setting's value. `short` shortens the tab labels with it. `chip` gathers
24
+ * every setting into one chip that still reads the configuration. `tiny` keeps
25
+ * that chip and lets the tab strip scroll rather than shrink any further, so
26
+ * the strip is never clipped down to a row of initials.
27
+ */
28
+ export type OverlayTier = 'full' | 'condensed' | 'short' | 'chip' | 'tiny';
29
+ /** The width each rung of the ladder needs, in pixels. */
30
+ export interface OverlayTierWidths {
31
+ /** Every word: full tab labels, and a key word in front of every value. */
32
+ full: number;
33
+ /** Full tab labels, values written without their key words. */
34
+ condensed: number;
35
+ /** Short tab labels, values written without their key words. */
36
+ short: number;
37
+ /** Short tab labels, every setting gathered into one chip. */
38
+ chip: number;
39
+ }
40
+ /**
41
+ * Which rung of the ladder a bar holding this content is on at this width.
42
+ *
43
+ * An unmeasured bar — a width of zero, which is what a component reports
44
+ * before its first layout and what a server render always reports — is given
45
+ * the roomiest tier. Folded is the answer that costs the reader something, so
46
+ * it is never the answer given on a guess; a bar that opened folded and sprang
47
+ * open a frame later would flicker on every page that embeds the figure.
48
+ * @param width - Width of the bar itself, in pixels, never of the page.
49
+ * @param room - See {@link OverlayTierRoom}.
50
+ * @param metrics - The measurements the bar is drawn from.
51
+ * @returns The tier.
52
+ */
53
+ export declare function overlayTier(width: number, room: OverlayTierRoom, metrics: OverlayMetrics): OverlayTier;
54
+ /**
55
+ * The width each rung needs, for this content at these measurements.
56
+ *
57
+ * Nothing here is a number a caller has to know: a viewer with two tabs stays
58
+ * roomy far longer than one with six, and a site that has translated the tab
59
+ * names has changed exactly these widths. That is why the content goes in and
60
+ * the thresholds come out, rather than the other way round.
61
+ *
62
+ * The rungs are forced to descend even where the writing saves nothing — a bar
63
+ * holding one setting has a chip exactly as wide as the value button it
64
+ * replaces — because a lower rung asking for more room than the rung above it
65
+ * would step the bar *down* into a tier that does not fit.
66
+ * @param room - See {@link OverlayTierRoom}.
67
+ * @param metrics - The measurements the bar is drawn from.
68
+ * @returns See {@link OverlayTierWidths}.
69
+ */
70
+ export declare function overlayTierWidths(room: OverlayTierRoom, metrics: OverlayMetrics): OverlayTierWidths;
71
+ //# sourceMappingURL=overlayTiers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overlayTiers.d.ts","sourceRoot":"","sources":["../../../src/overlay/core/overlayTiers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAQ5D;;;;;;;;GAQG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAE3E,0DAA0D;AAC1D,MAAM,WAAW,iBAAiB;IAChC,2EAA2E;IAC3E,IAAI,EAAE,MAAM,CAAC;IACb,+DAA+D;IAC/D,SAAS,EAAE,MAAM,CAAC;IAClB,gEAAgE;IAChE,KAAK,EAAE,MAAM,CAAC;IACd,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CACzB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,eAAe,EACrB,OAAO,EAAE,cAAc,GACtB,WAAW,CAQb;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,eAAe,EACrB,OAAO,EAAE,cAAc,GACtB,iBAAiB,CAgBnB"}
@@ -0,0 +1,89 @@
1
+ /**
2
+ * How much of itself a bar of controls writes, at the width it actually has.
3
+ *
4
+ * An embedded figure has no idea how wide the page around it is; it only knows
5
+ * its own box, which is why this answers from a measured component width and
6
+ * why there is no media query anywhere in the domain. A figure four hundred
7
+ * pixels wide in a wide page and the same figure filling a phone are the same
8
+ * problem, and a rule written against the viewport gets one of the two wrong.
9
+ *
10
+ * The ladder never *hides* a control. Each rung writes less of one: the key
11
+ * word in front of a value goes, then the long form of a tab label, then the
12
+ * settings gather into a single chip that still reads the configuration. That
13
+ * chip is the point of the whole ladder — a cog tells the reader nothing about
14
+ * how the figure is drawn, where `Species · 95%` answers the question they
15
+ * actually have without being opened at all.
16
+ */
17
+ import { overlayChipRoom, overlaySettingsWidth, overlayStripWidth, overlayTailWidth, } from "./overlayTierRoom.js";
18
+ /**
19
+ * Which rung of the ladder a bar holding this content is on at this width.
20
+ *
21
+ * An unmeasured bar — a width of zero, which is what a component reports
22
+ * before its first layout and what a server render always reports — is given
23
+ * the roomiest tier. Folded is the answer that costs the reader something, so
24
+ * it is never the answer given on a guess; a bar that opened folded and sprang
25
+ * open a frame later would flicker on every page that embeds the figure.
26
+ * @param width - Width of the bar itself, in pixels, never of the page.
27
+ * @param room - See {@link OverlayTierRoom}.
28
+ * @param metrics - The measurements the bar is drawn from.
29
+ * @returns The tier.
30
+ */
31
+ export function overlayTier(width, room, metrics) {
32
+ if (!Number.isFinite(width) || width <= 0)
33
+ return 'full';
34
+ const widths = overlayTierWidths(room, metrics);
35
+ if (width >= widths.full)
36
+ return 'full';
37
+ if (width >= widths.condensed)
38
+ return 'condensed';
39
+ if (width >= widths.short)
40
+ return 'short';
41
+ if (width >= widths.chip)
42
+ return 'chip';
43
+ return 'tiny';
44
+ }
45
+ /**
46
+ * The width each rung needs, for this content at these measurements.
47
+ *
48
+ * Nothing here is a number a caller has to know: a viewer with two tabs stays
49
+ * roomy far longer than one with six, and a site that has translated the tab
50
+ * names has changed exactly these widths. That is why the content goes in and
51
+ * the thresholds come out, rather than the other way round.
52
+ *
53
+ * The rungs are forced to descend even where the writing saves nothing — a bar
54
+ * holding one setting has a chip exactly as wide as the value button it
55
+ * replaces — because a lower rung asking for more room than the rung above it
56
+ * would step the bar *down* into a tier that does not fit.
57
+ * @param room - See {@link OverlayTierRoom}.
58
+ * @param metrics - The measurements the bar is drawn from.
59
+ * @returns See {@link OverlayTierWidths}.
60
+ */
61
+ export function overlayTierWidths(room, metrics) {
62
+ const { tabs, shortTabs = tabs, settings, glyphs = 2 } = room;
63
+ const long = overlayStripWidth(tabs, metrics);
64
+ const brief = overlayStripWidth(shortened(tabs, shortTabs), metrics);
65
+ const tail = overlayTailWidth(glyphs, metrics);
66
+ const keyed = overlaySettingsWidth(settings, true, metrics);
67
+ const bare = overlaySettingsWidth(settings, false, metrics);
68
+ const full = long + keyed + tail;
69
+ const condensed = Math.min(full, long + bare + tail);
70
+ const short = Math.min(condensed, brief + bare + tail);
71
+ const chip = Math.min(short, brief + overlayChipRoom(settings, metrics) + tail);
72
+ return { full, condensed, short, chip };
73
+ }
74
+ /**
75
+ * The tab labels as they read once shortened.
76
+ * @param tabs - What each tab reads in full.
77
+ * @param shortTabs - The short forms, in the same order.
78
+ * @returns The labels to lay out.
79
+ */
80
+ function shortened(tabs, shortTabs) {
81
+ if (shortTabs === tabs)
82
+ return tabs;
83
+ const labels = [];
84
+ for (let index = 0; index < tabs.length; index++) {
85
+ labels.push(shortTabs[index] ?? tabs[index] ?? '');
86
+ }
87
+ return labels;
88
+ }
89
+ //# sourceMappingURL=overlayTiers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overlayTiers.js","sourceRoot":"","sources":["../../../src/overlay/core/overlayTiers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,sBAAsB,CAAC;AAyB9B;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,WAAW,CACzB,KAAa,EACb,IAAqB,EACrB,OAAuB;IAEvB,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC;QAAE,OAAO,MAAM,CAAC;IACzD,MAAM,MAAM,GAAG,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAChD,IAAI,KAAK,IAAI,MAAM,CAAC,IAAI;QAAE,OAAO,MAAM,CAAC;IACxC,IAAI,KAAK,IAAI,MAAM,CAAC,SAAS;QAAE,OAAO,WAAW,CAAC;IAClD,IAAI,KAAK,IAAI,MAAM,CAAC,KAAK;QAAE,OAAO,OAAO,CAAC;IAC1C,IAAI,KAAK,IAAI,MAAM,CAAC,IAAI;QAAE,OAAO,MAAM,CAAC;IACxC,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,iBAAiB,CAC/B,IAAqB,EACrB,OAAuB;IAEvB,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,IAAI,EAAE,QAAQ,EAAE,MAAM,GAAG,CAAC,EAAE,GAAG,IAAI,CAAC;IAC9D,MAAM,IAAI,GAAG,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC9C,MAAM,KAAK,GAAG,iBAAiB,CAAC,SAAS,CAAC,IAAI,EAAE,SAAS,CAAC,EAAE,OAAO,CAAC,CAAC;IACrE,MAAM,IAAI,GAAG,gBAAgB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/C,MAAM,KAAK,GAAG,oBAAoB,CAAC,QAAQ,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAC5D,MAAM,IAAI,GAAG,oBAAoB,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;IAE5D,MAAM,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,IAAI,CAAC;IACjC,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC;IACrD,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC;IACvD,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CACnB,KAAK,EACL,KAAK,GAAG,eAAe,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,IAAI,CAClD,CAAC;IACF,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC1C,CAAC;AAED;;;;;GAKG;AACH,SAAS,SAAS,CAChB,IAAuB,EACvB,SAA4B;IAE5B,IAAI,SAAS,KAAK,IAAI;QAAE,OAAO,IAAI,CAAC;IACpC,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QACjD,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -0,0 +1,47 @@
1
+ /** What {@link placeOverlayCard} has to know. */
2
+ export interface OverlayCardPlacementOptions {
3
+ /** Pointer position inside the figure, in pixels from its left. */
4
+ pointerX: number;
5
+ /** Pointer position inside the figure, in pixels from its top. */
6
+ pointerY: number;
7
+ /** Width of the card, as it was last measured. */
8
+ cardWidth: number;
9
+ /** Height of the card, as it was last measured. */
10
+ cardHeight: number;
11
+ /** Width of the box the card has to stay inside. */
12
+ boxWidth: number;
13
+ /** Height of that box. */
14
+ boxHeight: number;
15
+ /**
16
+ * Gap kept between the pointer and the card, so the card never covers the
17
+ * mark being read.
18
+ * @default 14
19
+ */
20
+ offset?: number;
21
+ }
22
+ /** Where a pointer-following card goes, and which way round it ended up. */
23
+ export interface OverlayCardPlacement {
24
+ /** Distance from the box's left edge to the card's left edge. */
25
+ left: number;
26
+ /** Distance from the box's top edge to the card's top edge. */
27
+ top: number;
28
+ /** Whether the card had to open to the pointer's left. */
29
+ flippedX: boolean;
30
+ /** Whether it had to open above the pointer. */
31
+ flippedY: boolean;
32
+ }
33
+ /**
34
+ * Place a card down and to the right of the pointer, flipping it to the other
35
+ * side of whichever axis would push it out of the figure.
36
+ *
37
+ * Pure arithmetic on numbers the caller has already measured, so it runs on
38
+ * every pointer move without touching the DOM: reading the card's size back
39
+ * from the layout on each move would force a reflow every frame. Flipping
40
+ * rather than only clamping matters because a card clamped against the right
41
+ * edge sits under the pointer, and the mark the reader is pointing at is
42
+ * exactly the one it then hides.
43
+ * @param options - See {@link OverlayCardPlacementOptions}.
44
+ * @returns Where to put the card's top left corner.
45
+ */
46
+ export declare function placeOverlayCard(options: OverlayCardPlacementOptions): OverlayCardPlacement;
47
+ //# sourceMappingURL=placeOverlayCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"placeOverlayCard.d.ts","sourceRoot":"","sources":["../../../src/overlay/core/placeOverlayCard.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,MAAM,WAAW,2BAA2B;IAC1C,mEAAmE;IACnE,QAAQ,EAAE,MAAM,CAAC;IACjB,kEAAkE;IAClE,QAAQ,EAAE,MAAM,CAAC;IACjB,kDAAkD;IAClD,SAAS,EAAE,MAAM,CAAC;IAClB,mDAAmD;IACnD,UAAU,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,0BAA0B;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,4EAA4E;AAC5E,MAAM,WAAW,oBAAoB;IACnC,iEAAiE;IACjE,IAAI,EAAE,MAAM,CAAC;IACb,+DAA+D;IAC/D,GAAG,EAAE,MAAM,CAAC;IACZ,0DAA0D;IAC1D,QAAQ,EAAE,OAAO,CAAC;IAClB,gDAAgD;IAChD,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,2BAA2B,GACnC,oBAAoB,CAyBtB"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Place a card down and to the right of the pointer, flipping it to the other
3
+ * side of whichever axis would push it out of the figure.
4
+ *
5
+ * Pure arithmetic on numbers the caller has already measured, so it runs on
6
+ * every pointer move without touching the DOM: reading the card's size back
7
+ * from the layout on each move would force a reflow every frame. Flipping
8
+ * rather than only clamping matters because a card clamped against the right
9
+ * edge sits under the pointer, and the mark the reader is pointing at is
10
+ * exactly the one it then hides.
11
+ * @param options - See {@link OverlayCardPlacementOptions}.
12
+ * @returns Where to put the card's top left corner.
13
+ */
14
+ export function placeOverlayCard(options) {
15
+ const { pointerX, pointerY, cardWidth, cardHeight, boxWidth, boxHeight, offset = DEFAULT_OFFSET, } = options;
16
+ const flippedX = pointerX + offset + cardWidth > boxWidth;
17
+ const flippedY = pointerY + offset + cardHeight > boxHeight;
18
+ return {
19
+ left: withinBox(flippedX ? pointerX - offset - cardWidth : pointerX + offset, boxWidth - cardWidth),
20
+ top: withinBox(flippedY ? pointerY - offset - cardHeight : pointerY + offset, boxHeight - cardHeight),
21
+ flippedX,
22
+ flippedY,
23
+ };
24
+ }
25
+ const DEFAULT_OFFSET = 14;
26
+ /**
27
+ * The flip alone is not enough when the card is larger than the figure it has
28
+ * to live in — a fifty pixel sparkline with a full readout beside it — because
29
+ * both sides then overflow. Clamping the far edge to zero keeps the card's top
30
+ * left corner on screen, which is where the reader's eye already is, instead of
31
+ * pushing the whole card past the edge and showing nothing at all.
32
+ * @param value - The offset the flip arrived at.
33
+ * @param furthest - The largest offset that still leaves the card inside.
34
+ * @returns The offset, brought back between zero and that limit.
35
+ */
36
+ function withinBox(value, furthest) {
37
+ if (!Number.isFinite(value))
38
+ return 0;
39
+ const limit = Number.isFinite(furthest) ? Math.max(0, furthest) : 0;
40
+ return Math.max(0, Math.min(value, limit));
41
+ }
42
+ //# sourceMappingURL=placeOverlayCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"placeOverlayCard.js","sourceRoot":"","sources":["../../../src/overlay/core/placeOverlayCard.ts"],"names":[],"mappings":"AAkCA;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,gBAAgB,CAC9B,OAAoC;IAEpC,MAAM,EACJ,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,UAAU,EACV,QAAQ,EACR,SAAS,EACT,MAAM,GAAG,cAAc,GACxB,GAAG,OAAO,CAAC;IAEZ,MAAM,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;IAC1D,MAAM,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;IAC5D,OAAO;QACL,IAAI,EAAE,SAAS,CACb,QAAQ,CAAC,CAAC,CAAC,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC,QAAQ,GAAG,MAAM,EAC5D,QAAQ,GAAG,SAAS,CACrB;QACD,GAAG,EAAE,SAAS,CACZ,QAAQ,CAAC,CAAC,CAAC,QAAQ,GAAG,MAAM,GAAG,UAAU,CAAC,CAAC,CAAC,QAAQ,GAAG,MAAM,EAC7D,SAAS,GAAG,UAAU,CACvB;QACD,QAAQ;QACR,QAAQ;KACT,CAAC;AACJ,CAAC;AAED,MAAM,cAAc,GAAG,EAAE,CAAC;AAE1B;;;;;;;;;GASG;AACH,SAAS,SAAS,CAAC,KAAa,EAAE,QAAgB;IAChD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC;QAAE,OAAO,CAAC,CAAC;IACtC,MAAM,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACpE,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;AAC7C,CAAC"}
@@ -0,0 +1,32 @@
1
+ import type { IconName, Intent } from '@blueprintjs/core';
2
+ import type { ReactElement } from 'react';
3
+ import type { OverlayControlProps } from './OverlayRow.tsx';
4
+ /** What {@link OverlayAction} needs. */
5
+ export interface OverlayActionProps extends Omit<OverlayControlProps, 'label' | 'hideLabel'> {
6
+ /** What the button reads: a verb and its object, `Zoom to selection`. */
7
+ text: string;
8
+ /** Called when it is pressed. */
9
+ onClick: () => void;
10
+ /**
11
+ * A glyph before the text. Never instead of it: an icon-only control in a
12
+ * floating card is a control nobody presses.
13
+ * @default undefined
14
+ */
15
+ icon?: IconName;
16
+ /**
17
+ * What the button means, which is not whether it is pressed.
18
+ * @default 'none'
19
+ */
20
+ intent?: Intent;
21
+ }
22
+ /**
23
+ * The one control here that does something rather than changing something.
24
+ *
25
+ * It carries no caption of its own because its words already are one — a verb
26
+ * and its object — and a caption in front of a button that reads `Zoom to
27
+ * selection` says the same thing twice in a card that has room for neither.
28
+ * @param props - See {@link OverlayActionProps}.
29
+ * @returns The button, with its help.
30
+ */
31
+ export declare function OverlayAction(props: OverlayActionProps): ReactElement;
32
+ //# sourceMappingURL=OverlayAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OverlayAction.d.ts","sourceRoot":"","sources":["../../../src/overlay/ui/OverlayAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAI5D,wCAAwC;AACxC,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAC9C,mBAAmB,EACnB,OAAO,GAAG,WAAW,CACtB;IACC,yEAAyE;IACzE,IAAI,EAAE,MAAM,CAAC;IACb,iCAAiC;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,GAAG,YAAY,CA0BrE"}
@@ -0,0 +1,19 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Button } from 'react-science/ui';
3
+ import { OverlayRow } from "./OverlayRow.js";
4
+ import { useOverlaySurface } from "./overlaySurface.js";
5
+ /**
6
+ * The one control here that does something rather than changing something.
7
+ *
8
+ * It carries no caption of its own because its words already are one — a verb
9
+ * and its object — and a caption in front of a button that reads `Zoom to
10
+ * selection` says the same thing twice in a card that has room for neither.
11
+ * @param props - See {@link OverlayActionProps}.
12
+ * @returns The button, with its help.
13
+ */
14
+ export function OverlayAction(props) {
15
+ const { text, onClick, icon, intent = 'none', help, disabled = false, testId, } = props;
16
+ const { metrics } = useOverlaySurface();
17
+ return (_jsx(OverlayRow, { label: text, help: help, hideLabel: true, disabled: disabled, children: _jsx(Button, { variant: "minimal", size: metrics.blueprintSize, intent: intent, icon: icon, text: text, disabled: disabled, "data-testid": testId, onClick: onClick }) }));
18
+ }
19
+ //# sourceMappingURL=OverlayAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OverlayAction.js","sourceRoot":"","sources":["../../../src/overlay/ui/OverlayAction.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAG1C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAkB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAwBxD;;;;;;;;GAQG;AACH,MAAM,UAAU,aAAa,CAAC,KAAyB;IACrD,MAAM,EACJ,IAAI,EACJ,OAAO,EACP,IAAI,EACJ,MAAM,GAAG,MAAM,EACf,IAAI,EACJ,QAAQ,GAAG,KAAK,EAChB,MAAM,GACP,GAAG,KAAK,CAAC;IACV,MAAM,EAAE,OAAO,EAAE,GAAG,iBAAiB,EAAE,CAAC;IAExC,OAAO,CACL,KAAC,UAAU,IAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,QAAC,QAAQ,EAAE,QAAQ,YAC/D,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,IAAI,EAAE,OAAO,CAAC,aAAa,EAC3B,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,iBACL,MAAM,EACnB,OAAO,EAAE,OAAO,GAChB,GACS,CACd,CAAC;AACJ,CAAC"}
@@ -0,0 +1,122 @@
1
+ import type { IconName } from '@blueprintjs/core';
2
+ import type { ReactElement, ReactNode } from 'react';
3
+ import type { OverlayPlacement } from '../core/overlayPlacement.ts';
4
+ /** What {@link OverlayBar} needs. */
5
+ export interface OverlayBarProps {
6
+ /**
7
+ * The controls that stay on screen. Keep it to one or two in a floating
8
+ * card: a third is already a panel, and a panel over a figure hides the
9
+ * figure. A stretched bar holds its tab strip here, at the start of the row.
10
+ */
11
+ children: ReactNode;
12
+ /**
13
+ * What sits at the far end of the row: the controls belonging to whatever
14
+ * the figure is currently showing. They are the first thing to go when the
15
+ * figure is too narrow for both ends, folding in behind the button.
16
+ * @default undefined — the bar's end holds only its glyphs
17
+ */
18
+ end?: ReactNode;
19
+ /**
20
+ * The glyph-sized tools that act on the figure rather than change how it is
21
+ * drawn — saving it as a file, printing it. They ride beside the `?` at the
22
+ * end of the row and, on a stretched bar, never fold: a tool is one button
23
+ * wide already, and a reader who cannot find the one that takes the figure
24
+ * away concludes the figure cannot be taken away.
25
+ * @default undefined — the bar carries no tools
26
+ */
27
+ tools?: ReactNode;
28
+ /**
29
+ * The one control drawn at the end whatever the width — the `?` opening the
30
+ * figure's own explanation. It never folds, because a reader short of room
31
+ * is exactly the reader who has not been told what they are looking at.
32
+ * @default undefined — the bar carries no glyph
33
+ */
34
+ info?: ReactNode;
35
+ /**
36
+ * What opens behind the button at the end of the bar — everything an expert
37
+ * changes and a reader never does. This is where a control goes unless
38
+ * somebody argued for putting it in the strip.
39
+ * @default undefined — the bar carries no button
40
+ */
41
+ more?: ReactNode;
42
+ /**
43
+ * Where it sits. Pick the corner the data leaves emptiest, which
44
+ * `emptiestCorner` answers from the points themselves, or `stretch` for the
45
+ * settings bar of an embedded figure, which spans the width above it.
46
+ * @default 'top-right'
47
+ */
48
+ placement?: OverlayPlacement;
49
+ /**
50
+ * What the group of controls is called, for a reader arriving by tab and for
51
+ * the button the bar folds into.
52
+ * @default 'Options'
53
+ */
54
+ label?: string;
55
+ /**
56
+ * How opaque the bar is while nothing is pointing at the figure. Never below
57
+ * about 0.6: a control the reader cannot see is a control they will not look
58
+ * for, and only the ground fades — the text is always at full strength. `1`
59
+ * pins it, which is what a figure about to be screenshotted wants. A
60
+ * stretched bar ignores it: its ground is chrome rather than something laid
61
+ * over the picture, and chrome that fades reads as a fault.
62
+ * @default 0.74
63
+ */
64
+ restingOpacity?: number;
65
+ /**
66
+ * Whether the bar is reduced to a button opening the same controls in a
67
+ * popover. Left out, it folds on its own once the figure is narrower than
68
+ * `collapseBelow`.
69
+ * @default undefined — the bar decides from the figure's width
70
+ */
71
+ collapsed?: boolean;
72
+ /**
73
+ * Whether it starts folded, for a bar the reader may open and close.
74
+ * @default false
75
+ */
76
+ defaultCollapsed?: boolean;
77
+ /**
78
+ * Called when the reader opens or closes it.
79
+ * @default undefined
80
+ */
81
+ onCollapsedChange?: (collapsed: boolean) => void;
82
+ /**
83
+ * Figure width, in pixels, under which the bar folds on its own.
84
+ * @default 420
85
+ */
86
+ collapseBelow?: number;
87
+ /**
88
+ * Blueprint glyph of the button that opens the rest. A cog rather than an
89
+ * ellipsis, because once the bar folds that button holds every control and
90
+ * not only the second tier.
91
+ * @default 'cog'
92
+ */
93
+ moreIcon?: IconName;
94
+ /**
95
+ * Whether what opens behind that button is drawn with the card's own padding
96
+ * around it. Turn it off when `more` is an {@link OverlayPanel}, which
97
+ * brings its own: nested inside a padded surface a panel's header rule stops
98
+ * short of both edges and reads as a mis-drawn line rather than as a header.
99
+ * @default true
100
+ */
101
+ morePadded?: boolean;
102
+ /**
103
+ * Value of the `data-testid` attribute of the card, for the end-to-end tests.
104
+ * @default undefined
105
+ */
106
+ testId?: string;
107
+ }
108
+ /**
109
+ * The controls of a figure: a small card floating in one of its corners, or
110
+ * one bar spanning the width above it.
111
+ *
112
+ * Which of the two it is, is the whole of the decision made here — the shapes
113
+ * themselves are drawn by {@link OverlayBarCard} and {@link OverlayBarStrip},
114
+ * because a card that hides in a corner and a strip that spans the width agree
115
+ * on what they hold and on nothing about how they sit. A stretched bar is what
116
+ * an embedded figure wants, where a floating card would spend the host's page
117
+ * twice — once on the chrome and once on the data the chrome is covering.
118
+ * @param props - See {@link OverlayBarProps}.
119
+ * @returns The bar.
120
+ */
121
+ export declare function OverlayBar(props: OverlayBarProps): ReactElement;
122
+ //# sourceMappingURL=OverlayBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OverlayBar.d.ts","sourceRoot":"","sources":["../../../src/overlay/ui/OverlayBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAQpE,qCAAqC;AACrC,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;;OAKG;IACH,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;;OAQG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,YAAY,CAyD/D"}
@@ -0,0 +1,42 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { useState } from 'react';
3
+ import { OverlayBarCard } from "./OverlayBarCard.js";
4
+ import { OverlayBarStrip } from "./OverlayBarStrip.js";
5
+ import { overlayBarFolded, useFoldReport } from "./overlayBarShape.js";
6
+ import { OVERLAY_RESTING_OPACITY } from "./overlayStyles.js";
7
+ import { useOverlaySurface } from "./overlaySurface.js";
8
+ /**
9
+ * The controls of a figure: a small card floating in one of its corners, or
10
+ * one bar spanning the width above it.
11
+ *
12
+ * Which of the two it is, is the whole of the decision made here — the shapes
13
+ * themselves are drawn by {@link OverlayBarCard} and {@link OverlayBarStrip},
14
+ * because a card that hides in a corner and a strip that spans the width agree
15
+ * on what they hold and on nothing about how they sit. A stretched bar is what
16
+ * an embedded figure wants, where a floating card would spend the host's page
17
+ * twice — once on the chrome and once on the data the chrome is covering.
18
+ * @param props - See {@link OverlayBarProps}.
19
+ * @returns The bar.
20
+ */
21
+ export function OverlayBar(props) {
22
+ const { children, end, tools, info, more } = props;
23
+ const { placement = 'top-right' } = props;
24
+ const { label = 'Options', restingOpacity = OVERLAY_RESTING_OPACITY } = props;
25
+ const { collapsed, defaultCollapsed = false, onCollapsedChange } = props;
26
+ const { collapseBelow = 420, moreIcon = 'cog', testId } = props;
27
+ const { morePadded = true } = props;
28
+ const { width } = useOverlaySurface();
29
+ const [startedFolded] = useState(defaultCollapsed);
30
+ const folded = overlayBarFolded({
31
+ collapsed,
32
+ startedFolded,
33
+ width,
34
+ collapseBelow,
35
+ });
36
+ useFoldReport(folded, collapsed === undefined ? onCollapsedChange : undefined);
37
+ if (placement === 'stretch') {
38
+ return (_jsx(OverlayBarStrip, { end: end, tools: tools, info: info, more: more, placement: placement, label: label, moreIcon: moreIcon, morePadded: morePadded, folded: folded, testId: testId, children: children }));
39
+ }
40
+ return (_jsx(OverlayBarCard, { end: end, tools: tools, info: info, more: more, placement: placement, label: label, moreIcon: moreIcon, morePadded: morePadded, folded: folded, restingOpacity: restingOpacity, testId: testId, children: children }));
41
+ }
42
+ //# sourceMappingURL=OverlayBar.js.map