react-cheminfo 0.11.0 → 0.13.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 (2175) hide show
  1. package/README.md +37 -32
  2. package/bin/check-deploy.mjs +132 -0
  3. package/bin/check-tokens.mjs +16 -29
  4. package/bin/cli.mjs +43 -0
  5. package/lib/about/core/about.d.ts +27 -0
  6. package/lib/about/core/about.d.ts.map +1 -1
  7. package/lib/about/core/about.js +3 -0
  8. package/lib/about/core/about.js.map +1 -1
  9. package/lib/about/core/index.d.ts +3 -1
  10. package/lib/about/core/index.d.ts.map +1 -1
  11. package/lib/about/core/index.js +1 -0
  12. package/lib/about/core/index.js.map +1 -1
  13. package/lib/about/core/providers.d.ts +31 -0
  14. package/lib/about/core/providers.d.ts.map +1 -0
  15. package/lib/about/core/providers.js +28 -0
  16. package/lib/about/core/providers.js.map +1 -0
  17. package/lib/about/ui/AboutCitations.d.ts +4 -2
  18. package/lib/about/ui/AboutCitations.d.ts.map +1 -1
  19. package/lib/about/ui/AboutCitations.js +6 -20
  20. package/lib/about/ui/AboutCitations.js.map +1 -1
  21. package/lib/about/ui/AboutPage.d.ts +11 -3
  22. package/lib/about/ui/AboutPage.d.ts.map +1 -1
  23. package/lib/about/ui/AboutPage.js +15 -5
  24. package/lib/about/ui/AboutPage.js.map +1 -1
  25. package/lib/about/ui/AboutProvidedBy.d.ts +18 -0
  26. package/lib/about/ui/AboutProvidedBy.d.ts.map +1 -0
  27. package/lib/about/ui/AboutProvidedBy.js +81 -0
  28. package/lib/about/ui/AboutProvidedBy.js.map +1 -0
  29. package/lib/about/ui/index.d.ts +2 -0
  30. package/lib/about/ui/index.d.ts.map +1 -1
  31. package/lib/about/ui/index.js +1 -0
  32. package/lib/about/ui/index.js.map +1 -1
  33. package/lib/capsule/ui/CapsuleFilter.d.ts +48 -8
  34. package/lib/capsule/ui/CapsuleFilter.d.ts.map +1 -1
  35. package/lib/capsule/ui/CapsuleFilter.js +43 -12
  36. package/lib/capsule/ui/CapsuleFilter.js.map +1 -1
  37. package/lib/capsule/ui/index.d.ts +1 -1
  38. package/lib/capsule/ui/index.d.ts.map +1 -1
  39. package/lib/capsule/ui/index.js.map +1 -1
  40. package/lib/chart/core/chartAxisPair.d.ts +33 -0
  41. package/lib/chart/core/chartAxisPair.d.ts.map +1 -0
  42. package/lib/chart/core/chartAxisPair.js +35 -0
  43. package/lib/chart/core/chartAxisPair.js.map +1 -0
  44. package/lib/chart/core/chartAxisScale.d.ts.map +1 -1
  45. package/lib/chart/core/chartAxisScale.js +4 -9
  46. package/lib/chart/core/chartAxisScale.js.map +1 -1
  47. package/lib/chart/core/chartBins.d.ts.map +1 -1
  48. package/lib/chart/core/chartBins.js +2 -9
  49. package/lib/chart/core/chartBins.js.map +1 -1
  50. package/lib/chart/core/chartGroups.d.ts +16 -0
  51. package/lib/chart/core/chartGroups.d.ts.map +1 -0
  52. package/lib/chart/core/chartGroups.js +22 -0
  53. package/lib/chart/core/chartGroups.js.map +1 -0
  54. package/lib/chart/core/chartLabels.d.ts.map +1 -1
  55. package/lib/chart/core/chartLabels.js +3 -8
  56. package/lib/chart/core/chartLabels.js.map +1 -1
  57. package/lib/chart/core/chartPalette.d.ts +2 -2
  58. package/lib/chart/core/chartPalette.d.ts.map +1 -1
  59. package/lib/chart/core/chartPalette.js +4 -4
  60. package/lib/chart/core/chartPalette.js.map +1 -1
  61. package/lib/chart/core/chartScale.d.ts +12 -0
  62. package/lib/chart/core/chartScale.d.ts.map +1 -1
  63. package/lib/chart/core/chartScale.js +15 -0
  64. package/lib/chart/core/chartScale.js.map +1 -1
  65. package/lib/chart/core/matrix.d.ts +9 -0
  66. package/lib/chart/core/matrix.d.ts.map +1 -1
  67. package/lib/chart/core/matrix.js +23 -0
  68. package/lib/chart/core/matrix.js.map +1 -1
  69. package/lib/chart/ui/ChartAxis.js +3 -3
  70. package/lib/chart/ui/ChartAxis.js.map +1 -1
  71. package/lib/chart/ui/ChartFrame.d.ts +12 -0
  72. package/lib/chart/ui/ChartFrame.d.ts.map +1 -1
  73. package/lib/chart/ui/ChartFrame.js +9 -26
  74. package/lib/chart/ui/ChartFrame.js.map +1 -1
  75. package/lib/chart/ui/ChartSeriesMarks.d.ts.map +1 -1
  76. package/lib/chart/ui/ChartSeriesMarks.js +6 -6
  77. package/lib/chart/ui/ChartSeriesMarks.js.map +1 -1
  78. package/lib/chart/ui/ChartTrackingLayer.d.ts.map +1 -1
  79. package/lib/chart/ui/ChartTrackingLayer.js +2 -2
  80. package/lib/chart/ui/ChartTrackingLayer.js.map +1 -1
  81. package/lib/chart/ui/TrackedLineChart.d.ts +6 -1
  82. package/lib/chart/ui/TrackedLineChart.d.ts.map +1 -1
  83. package/lib/chart/ui/TrackedLineChart.js +2 -2
  84. package/lib/chart/ui/TrackedLineChart.js.map +1 -1
  85. package/lib/chart/ui/TrackedStickChart.d.ts +5 -1
  86. package/lib/chart/ui/TrackedStickChart.d.ts.map +1 -1
  87. package/lib/chart/ui/TrackedStickChart.js +2 -2
  88. package/lib/chart/ui/TrackedStickChart.js.map +1 -1
  89. package/lib/chart/ui/chartFrameGeometry.d.ts +19 -0
  90. package/lib/chart/ui/chartFrameGeometry.d.ts.map +1 -0
  91. package/lib/chart/ui/chartFrameGeometry.js +41 -0
  92. package/lib/chart/ui/chartFrameGeometry.js.map +1 -0
  93. package/lib/chart/ui/index.d.ts +3 -1
  94. package/lib/chart/ui/index.d.ts.map +1 -1
  95. package/lib/chart/ui/index.js +1 -0
  96. package/lib/chart/ui/index.js.map +1 -1
  97. package/lib/chart/ui/stickChartModel.d.ts +3 -12
  98. package/lib/chart/ui/stickChartModel.d.ts.map +1 -1
  99. package/lib/chart/ui/stickChartModel.js +19 -21
  100. package/lib/chart/ui/stickChartModel.js.map +1 -1
  101. package/lib/chart/ui/useWheelZoom.d.ts +2 -1
  102. package/lib/chart/ui/useWheelZoom.d.ts.map +1 -1
  103. package/lib/chart/ui/useWheelZoom.js +26 -45
  104. package/lib/chart/ui/useWheelZoom.js.map +1 -1
  105. package/lib/chart/ui/wheelDwell.d.ts +77 -0
  106. package/lib/chart/ui/wheelDwell.d.ts.map +1 -0
  107. package/lib/chart/ui/wheelDwell.js +85 -0
  108. package/lib/chart/ui/wheelDwell.js.map +1 -0
  109. package/lib/chrome/ui/NavLink.d.ts.map +1 -1
  110. package/lib/chrome/ui/NavLink.js +16 -4
  111. package/lib/chrome/ui/NavLink.js.map +1 -1
  112. package/lib/chrome/ui/NavMenuButton.d.ts +6 -0
  113. package/lib/chrome/ui/NavMenuButton.d.ts.map +1 -1
  114. package/lib/chrome/ui/NavMenuButton.js +10 -3
  115. package/lib/chrome/ui/NavMenuButton.js.map +1 -1
  116. package/lib/chrome/ui/SiteHeader.d.ts +10 -0
  117. package/lib/chrome/ui/SiteHeader.d.ts.map +1 -1
  118. package/lib/chrome/ui/SiteHeader.js +7 -2
  119. package/lib/chrome/ui/SiteHeader.js.map +1 -1
  120. package/lib/chrome/ui/navItem.d.ts +5 -3
  121. package/lib/chrome/ui/navItem.d.ts.map +1 -1
  122. package/lib/chrome/ui/navItem.js.map +1 -1
  123. package/lib/citation/core/index.d.ts +1 -0
  124. package/lib/citation/core/index.d.ts.map +1 -1
  125. package/lib/citation/core/index.js +1 -0
  126. package/lib/citation/core/index.js.map +1 -1
  127. package/lib/citation/core/openchemlibPaper.d.ts +10 -0
  128. package/lib/citation/core/openchemlibPaper.d.ts.map +1 -0
  129. package/lib/citation/core/openchemlibPaper.js +29 -0
  130. package/lib/citation/core/openchemlibPaper.js.map +1 -0
  131. package/lib/citation/core/platformPaper.d.ts +2 -2
  132. package/lib/citation/core/platformPaper.js +2 -2
  133. package/lib/clipboard/core/clipboardItem.d.ts +13 -0
  134. package/lib/clipboard/core/clipboardItem.d.ts.map +1 -0
  135. package/lib/clipboard/core/clipboardItem.js +26 -0
  136. package/lib/clipboard/core/clipboardItem.js.map +1 -0
  137. package/lib/clipboard/core/index.d.ts +3 -0
  138. package/lib/clipboard/core/index.d.ts.map +1 -1
  139. package/lib/clipboard/core/index.js +1 -0
  140. package/lib/clipboard/core/index.js.map +1 -1
  141. package/lib/clipboard/core/writeBlobToClipboard.d.ts +23 -0
  142. package/lib/clipboard/core/writeBlobToClipboard.d.ts.map +1 -0
  143. package/lib/clipboard/core/writeBlobToClipboard.js +29 -0
  144. package/lib/clipboard/core/writeBlobToClipboard.js.map +1 -0
  145. package/lib/clipboard/core/writeToClipboard.d.ts +22 -7
  146. package/lib/clipboard/core/writeToClipboard.d.ts.map +1 -1
  147. package/lib/clipboard/core/writeToClipboard.js +20 -7
  148. package/lib/clipboard/core/writeToClipboard.js.map +1 -1
  149. package/lib/clipboard/ui/CodeBlock.d.ts +1 -0
  150. package/lib/clipboard/ui/CodeBlock.d.ts.map +1 -1
  151. package/lib/clipboard/ui/CodeBlock.js +5 -11
  152. package/lib/clipboard/ui/CodeBlock.js.map +1 -1
  153. package/lib/clipboard/ui/CopyButton.d.ts +8 -1
  154. package/lib/clipboard/ui/CopyButton.d.ts.map +1 -1
  155. package/lib/clipboard/ui/CopyButton.js +31 -8
  156. package/lib/clipboard/ui/CopyButton.js.map +1 -1
  157. package/lib/clipboard/ui/CopyableValue.d.ts +51 -0
  158. package/lib/clipboard/ui/CopyableValue.d.ts.map +1 -0
  159. package/lib/clipboard/ui/CopyableValue.js +51 -0
  160. package/lib/clipboard/ui/CopyableValue.js.map +1 -0
  161. package/lib/clipboard/ui/copyFeedback.d.ts +38 -0
  162. package/lib/clipboard/ui/copyFeedback.d.ts.map +1 -0
  163. package/lib/clipboard/ui/copyFeedback.js +40 -0
  164. package/lib/clipboard/ui/copyFeedback.js.map +1 -0
  165. package/lib/clipboard/ui/index.d.ts +3 -1
  166. package/lib/clipboard/ui/index.d.ts.map +1 -1
  167. package/lib/clipboard/ui/index.js +1 -0
  168. package/lib/clipboard/ui/index.js.map +1 -1
  169. package/lib/clipboard/ui/useCopyToClipboard.d.ts +23 -7
  170. package/lib/clipboard/ui/useCopyToClipboard.d.ts.map +1 -1
  171. package/lib/clipboard/ui/useCopyToClipboard.js +33 -20
  172. package/lib/clipboard/ui/useCopyToClipboard.js.map +1 -1
  173. package/lib/color/core/hex.d.ts +10 -0
  174. package/lib/color/core/hex.d.ts.map +1 -1
  175. package/lib/color/core/hex.js +19 -3
  176. package/lib/color/core/hex.js.map +1 -1
  177. package/lib/color/core/hsv.d.ts.map +1 -1
  178. package/lib/color/core/hsv.js +4 -10
  179. package/lib/color/core/hsv.js.map +1 -1
  180. package/lib/color/core/index.d.ts +2 -2
  181. package/lib/color/core/index.d.ts.map +1 -1
  182. package/lib/color/core/index.js +2 -2
  183. package/lib/color/core/index.js.map +1 -1
  184. package/lib/color/core/interpolate.d.ts.map +1 -1
  185. package/lib/color/core/interpolate.js +2 -6
  186. package/lib/color/core/interpolate.js.map +1 -1
  187. package/lib/color/core/scale.d.ts +0 -28
  188. package/lib/color/core/scale.d.ts.map +1 -1
  189. package/lib/color/core/scale.js +3 -38
  190. package/lib/color/core/scale.js.map +1 -1
  191. package/lib/color/core/scaleText.d.ts.map +1 -1
  192. package/lib/color/core/scaleText.js +4 -5
  193. package/lib/color/core/scaleText.js.map +1 -1
  194. package/lib/color/ui/ColorScaleBar.d.ts +5 -0
  195. package/lib/color/ui/ColorScaleBar.d.ts.map +1 -1
  196. package/lib/color/ui/ColorScaleBar.js +2 -2
  197. package/lib/color/ui/ColorScaleBar.js.map +1 -1
  198. package/lib/color/ui/ColorScaleEditor.d.ts +5 -0
  199. package/lib/color/ui/ColorScaleEditor.d.ts.map +1 -1
  200. package/lib/color/ui/ColorScaleEditor.js +9 -13
  201. package/lib/color/ui/ColorScaleEditor.js.map +1 -1
  202. package/lib/color/ui/ColorScaleEntry.d.ts +28 -0
  203. package/lib/color/ui/ColorScaleEntry.d.ts.map +1 -0
  204. package/lib/color/ui/ColorScaleEntry.js +28 -0
  205. package/lib/color/ui/ColorScaleEntry.js.map +1 -0
  206. package/lib/color/ui/ColorScaleLegend.d.ts +14 -3
  207. package/lib/color/ui/ColorScaleLegend.d.ts.map +1 -1
  208. package/lib/color/ui/ColorScaleLegend.js +46 -16
  209. package/lib/color/ui/ColorScaleLegend.js.map +1 -1
  210. package/lib/color/ui/ColorScaleSelect.d.ts +5 -0
  211. package/lib/color/ui/ColorScaleSelect.d.ts.map +1 -1
  212. package/lib/color/ui/ColorScaleSelect.js +7 -36
  213. package/lib/color/ui/ColorScaleSelect.js.map +1 -1
  214. package/lib/confirm/ui/ConfirmButton.d.ts +34 -0
  215. package/lib/confirm/ui/ConfirmButton.d.ts.map +1 -0
  216. package/lib/confirm/ui/ConfirmButton.js +32 -0
  217. package/lib/confirm/ui/ConfirmButton.js.map +1 -0
  218. package/lib/confirm/ui/index.d.ts +3 -0
  219. package/lib/confirm/ui/index.d.ts.map +1 -0
  220. package/lib/confirm/ui/index.js +2 -0
  221. package/lib/confirm/ui/index.js.map +1 -0
  222. package/lib/core.d.ts +3 -1
  223. package/lib/core.d.ts.map +1 -1
  224. package/lib/core.js +5 -1
  225. package/lib/core.js.map +1 -1
  226. package/lib/credits/core/credits.d.ts +8 -3
  227. package/lib/credits/core/credits.d.ts.map +1 -1
  228. package/lib/credits/core/credits.js +9 -3
  229. package/lib/credits/core/credits.js.map +1 -1
  230. package/lib/credits/ui/CreditsList.d.ts.map +1 -1
  231. package/lib/credits/ui/CreditsList.js +4 -2
  232. package/lib/credits/ui/CreditsList.js.map +1 -1
  233. package/lib/delimited/core/index.d.ts +2 -4
  234. package/lib/delimited/core/index.d.ts.map +1 -1
  235. package/lib/delimited/core/index.js +2 -3
  236. package/lib/delimited/core/index.js.map +1 -1
  237. package/lib/delimited/ui/DelimitedTextDialog.d.ts.map +1 -1
  238. package/lib/delimited/ui/DelimitedTextDialog.js +2 -2
  239. package/lib/delimited/ui/DelimitedTextDialog.js.map +1 -1
  240. package/lib/delimited/ui/DelimitedTextPanel.d.ts +5 -0
  241. package/lib/delimited/ui/DelimitedTextPanel.d.ts.map +1 -1
  242. package/lib/delimited/ui/DelimitedTextPanel.js +10 -6
  243. package/lib/delimited/ui/DelimitedTextPanel.js.map +1 -1
  244. package/lib/deploy/core/checkDeploy.d.ts +20 -0
  245. package/lib/deploy/core/checkDeploy.d.ts.map +1 -0
  246. package/lib/deploy/core/checkDeploy.js +74 -0
  247. package/lib/deploy/core/checkDeploy.js.map +1 -0
  248. package/lib/deploy/core/composeDocument.d.ts +40 -0
  249. package/lib/deploy/core/composeDocument.d.ts.map +1 -0
  250. package/lib/deploy/core/composeDocument.js +125 -0
  251. package/lib/deploy/core/composeDocument.js.map +1 -0
  252. package/lib/deploy/core/composeFile.d.ts +25 -0
  253. package/lib/deploy/core/composeFile.d.ts.map +1 -0
  254. package/lib/deploy/core/composeFile.js +138 -0
  255. package/lib/deploy/core/composeFile.js.map +1 -0
  256. package/lib/deploy/core/envExample.d.ts +10 -0
  257. package/lib/deploy/core/envExample.d.ts.map +1 -0
  258. package/lib/deploy/core/envExample.js +36 -0
  259. package/lib/deploy/core/envExample.js.map +1 -0
  260. package/lib/deploy/core/index.d.ts +4 -0
  261. package/lib/deploy/core/index.d.ts.map +1 -0
  262. package/lib/deploy/core/index.js +3 -0
  263. package/lib/deploy/core/index.js.map +1 -0
  264. package/lib/deploy/core/markers.d.ts +10 -0
  265. package/lib/deploy/core/markers.d.ts.map +1 -0
  266. package/lib/deploy/core/markers.js +21 -0
  267. package/lib/deploy/core/markers.js.map +1 -0
  268. package/lib/deploy/core/types.d.ts +70 -0
  269. package/lib/deploy/core/types.d.ts.map +1 -0
  270. package/lib/deploy/core/types.js +10 -0
  271. package/lib/deploy/core/types.js.map +1 -0
  272. package/lib/disclosure/ui/CollapsibleSection.d.ts.map +1 -1
  273. package/lib/disclosure/ui/CollapsibleSection.js +2 -3
  274. package/lib/disclosure/ui/CollapsibleSection.js.map +1 -1
  275. package/lib/download/ui/FigureDownloadPanel.d.ts +6 -0
  276. package/lib/download/ui/FigureDownloadPanel.d.ts.map +1 -1
  277. package/lib/download/ui/FigureDownloadPanel.js +8 -4
  278. package/lib/download/ui/FigureDownloadPanel.js.map +1 -1
  279. package/lib/ecosystem/core/groups.d.ts +30 -0
  280. package/lib/ecosystem/core/groups.d.ts.map +1 -0
  281. package/lib/ecosystem/core/groups.js +42 -0
  282. package/lib/ecosystem/core/groups.js.map +1 -0
  283. package/lib/ecosystem/core/index.d.ts +7 -3
  284. package/lib/ecosystem/core/index.d.ts.map +1 -1
  285. package/lib/ecosystem/core/index.js +4 -3
  286. package/lib/ecosystem/core/index.js.map +1 -1
  287. package/lib/ecosystem/core/lookup.d.ts +21 -0
  288. package/lib/ecosystem/core/lookup.d.ts.map +1 -1
  289. package/lib/ecosystem/core/lookup.js +29 -0
  290. package/lib/ecosystem/core/lookup.js.map +1 -1
  291. package/lib/ecosystem/core/nameColors.d.ts +33 -0
  292. package/lib/ecosystem/core/nameColors.d.ts.map +1 -0
  293. package/lib/ecosystem/core/nameColors.js +23 -0
  294. package/lib/ecosystem/core/nameColors.js.map +1 -0
  295. package/lib/ecosystem/core/sites.d.ts +2 -47
  296. package/lib/ecosystem/core/sites.d.ts.map +1 -1
  297. package/lib/ecosystem/core/sites.js +34 -4
  298. package/lib/ecosystem/core/sites.js.map +1 -1
  299. package/lib/ecosystem/core/tokens.d.ts +0 -8
  300. package/lib/ecosystem/core/tokens.d.ts.map +1 -1
  301. package/lib/ecosystem/core/tokens.js +0 -10
  302. package/lib/ecosystem/core/tokens.js.map +1 -1
  303. package/lib/ecosystem/core/types.d.ts +71 -0
  304. package/lib/ecosystem/core/types.d.ts.map +1 -0
  305. package/lib/ecosystem/core/types.js +2 -0
  306. package/lib/ecosystem/core/types.js.map +1 -0
  307. package/lib/ecosystem/ui/EcosystemButton.d.ts +6 -0
  308. package/lib/ecosystem/ui/EcosystemButton.d.ts.map +1 -1
  309. package/lib/ecosystem/ui/EcosystemButton.js +3 -2
  310. package/lib/ecosystem/ui/EcosystemButton.js.map +1 -1
  311. package/lib/ecosystem/ui/EcosystemLinks.d.ts +12 -6
  312. package/lib/ecosystem/ui/EcosystemLinks.d.ts.map +1 -1
  313. package/lib/ecosystem/ui/EcosystemLinks.js +27 -21
  314. package/lib/ecosystem/ui/EcosystemLinks.js.map +1 -1
  315. package/lib/ecosystem/ui/EcosystemMenu.d.ts +15 -5
  316. package/lib/ecosystem/ui/EcosystemMenu.d.ts.map +1 -1
  317. package/lib/ecosystem/ui/EcosystemMenu.js +19 -24
  318. package/lib/ecosystem/ui/EcosystemMenu.js.map +1 -1
  319. package/lib/ecosystem/ui/SiteGroupGrid.d.ts +30 -0
  320. package/lib/ecosystem/ui/SiteGroupGrid.d.ts.map +1 -0
  321. package/lib/ecosystem/ui/SiteGroupGrid.js +23 -0
  322. package/lib/ecosystem/ui/SiteGroupGrid.js.map +1 -0
  323. package/lib/ecosystem/ui/SiteGroupSection.d.ts +20 -0
  324. package/lib/ecosystem/ui/SiteGroupSection.d.ts.map +1 -0
  325. package/lib/ecosystem/ui/SiteGroupSection.js +44 -0
  326. package/lib/ecosystem/ui/SiteGroupSection.js.map +1 -0
  327. package/lib/ecosystem/ui/SiteTheme.d.ts +1 -0
  328. package/lib/ecosystem/ui/SiteTheme.d.ts.map +1 -1
  329. package/lib/ecosystem/ui/SiteTheme.js.map +1 -1
  330. package/lib/ecosystem/ui/SiteTile.d.ts +6 -0
  331. package/lib/ecosystem/ui/SiteTile.d.ts.map +1 -1
  332. package/lib/ecosystem/ui/SiteTile.js +14 -8
  333. package/lib/ecosystem/ui/SiteTile.js.map +1 -1
  334. package/lib/ecosystem/ui/Wordmark.d.ts +1 -0
  335. package/lib/ecosystem/ui/Wordmark.d.ts.map +1 -1
  336. package/lib/ecosystem/ui/Wordmark.js +5 -5
  337. package/lib/ecosystem/ui/Wordmark.js.map +1 -1
  338. package/lib/ecosystem/ui/ecosystemStyles.d.ts +4 -0
  339. package/lib/ecosystem/ui/ecosystemStyles.d.ts.map +1 -0
  340. package/lib/ecosystem/ui/ecosystemStyles.js +9 -0
  341. package/lib/ecosystem/ui/ecosystemStyles.js.map +1 -0
  342. package/lib/ecosystem/ui/glyphs.d.ts.map +1 -1
  343. package/lib/ecosystem/ui/glyphs.js +7 -3
  344. package/lib/ecosystem/ui/glyphs.js.map +1 -1
  345. package/lib/ecosystem/ui/marks.d.ts +6 -0
  346. package/lib/ecosystem/ui/marks.d.ts.map +1 -1
  347. package/lib/ecosystem/ui/marks.js +2 -2
  348. package/lib/ecosystem/ui/marks.js.map +1 -1
  349. package/lib/error/core/index.d.ts +2 -0
  350. package/lib/error/core/index.d.ts.map +1 -0
  351. package/lib/error/core/index.js +2 -0
  352. package/lib/error/core/index.js.map +1 -0
  353. package/lib/error/core/toError.d.ts +18 -0
  354. package/lib/error/core/toError.d.ts.map +1 -0
  355. package/lib/error/{ui → core}/toError.js +12 -3
  356. package/lib/error/core/toError.js.map +1 -0
  357. package/lib/error/ui/ErrorBoundary.d.ts.map +1 -1
  358. package/lib/error/ui/ErrorBoundary.js +1 -1
  359. package/lib/error/ui/ErrorBoundary.js.map +1 -1
  360. package/lib/error/ui/index.d.ts +1 -1
  361. package/lib/error/ui/index.d.ts.map +1 -1
  362. package/lib/error/ui/index.js.map +1 -1
  363. package/lib/format/core/clamp.d.ts +15 -0
  364. package/lib/format/core/clamp.d.ts.map +1 -0
  365. package/lib/format/core/clamp.js +23 -0
  366. package/lib/format/core/clamp.js.map +1 -0
  367. package/lib/format/core/index.d.ts +8 -1
  368. package/lib/format/core/index.d.ts.map +1 -1
  369. package/lib/format/core/index.js +5 -1
  370. package/lib/format/core/index.js.map +1 -1
  371. package/lib/format/core/numbers.d.ts +25 -8
  372. package/lib/format/core/numbers.d.ts.map +1 -1
  373. package/lib/format/core/numbers.js +35 -13
  374. package/lib/format/core/numbers.js.map +1 -1
  375. package/lib/format/core/relativeTime.d.ts +29 -0
  376. package/lib/format/core/relativeTime.d.ts.map +1 -0
  377. package/lib/format/core/relativeTime.js +52 -0
  378. package/lib/format/core/relativeTime.js.map +1 -0
  379. package/lib/format/core/roundTo.d.ts +12 -0
  380. package/lib/format/core/roundTo.d.ts.map +1 -0
  381. package/lib/format/core/roundTo.js +25 -0
  382. package/lib/format/core/roundTo.js.map +1 -0
  383. package/lib/format/core/superscript.d.ts +12 -0
  384. package/lib/format/core/superscript.d.ts.map +1 -0
  385. package/lib/format/core/superscript.js +23 -0
  386. package/lib/format/core/superscript.js.map +1 -0
  387. package/lib/format/core/units.d.ts +22 -2
  388. package/lib/format/core/units.d.ts.map +1 -1
  389. package/lib/format/core/units.js +25 -6
  390. package/lib/format/core/units.js.map +1 -1
  391. package/lib/help/ui/HelpBody.d.ts +18 -7
  392. package/lib/help/ui/HelpBody.d.ts.map +1 -1
  393. package/lib/help/ui/HelpBody.js +24 -2
  394. package/lib/help/ui/HelpBody.js.map +1 -1
  395. package/lib/help/ui/HelpIcon.d.ts +16 -2
  396. package/lib/help/ui/HelpIcon.d.ts.map +1 -1
  397. package/lib/help/ui/HelpIcon.js +4 -2
  398. package/lib/help/ui/HelpIcon.js.map +1 -1
  399. package/lib/help/ui/HelpToolbarButton.d.ts.map +1 -1
  400. package/lib/help/ui/HelpToolbarButton.js +2 -1
  401. package/lib/help/ui/HelpToolbarButton.js.map +1 -1
  402. package/lib/help/ui/HelpTooltip.d.ts +5 -0
  403. package/lib/help/ui/HelpTooltip.d.ts.map +1 -1
  404. package/lib/help/ui/HelpTooltip.js +2 -2
  405. package/lib/help/ui/HelpTooltip.js.map +1 -1
  406. package/lib/help/ui/helpName.d.ts +9 -0
  407. package/lib/help/ui/helpName.d.ts.map +1 -0
  408. package/lib/help/ui/helpName.js +10 -0
  409. package/lib/help/ui/helpName.js.map +1 -0
  410. package/lib/hooks/ui/activationKey.d.ts +34 -0
  411. package/lib/hooks/ui/activationKey.d.ts.map +1 -0
  412. package/lib/hooks/ui/activationKey.js +39 -0
  413. package/lib/hooks/ui/activationKey.js.map +1 -0
  414. package/lib/hooks/ui/activeHeading.d.ts +21 -0
  415. package/lib/hooks/ui/activeHeading.d.ts.map +1 -0
  416. package/lib/hooks/ui/activeHeading.js +24 -0
  417. package/lib/hooks/ui/activeHeading.js.map +1 -0
  418. package/lib/hooks/ui/asyncState.d.ts +31 -0
  419. package/lib/hooks/ui/asyncState.d.ts.map +1 -0
  420. package/lib/hooks/ui/asyncState.js +28 -0
  421. package/lib/hooks/ui/asyncState.js.map +1 -0
  422. package/lib/hooks/ui/documentListNavigation.d.ts +54 -0
  423. package/lib/hooks/ui/documentListNavigation.d.ts.map +1 -0
  424. package/lib/hooks/ui/documentListNavigation.js +41 -0
  425. package/lib/hooks/ui/documentListNavigation.js.map +1 -0
  426. package/lib/hooks/ui/elementTarget.d.ts +14 -0
  427. package/lib/hooks/ui/elementTarget.d.ts.map +1 -0
  428. package/lib/hooks/ui/elementTarget.js +11 -0
  429. package/lib/hooks/ui/elementTarget.js.map +1 -0
  430. package/lib/hooks/ui/index.d.ts +15 -0
  431. package/lib/hooks/ui/index.d.ts.map +1 -1
  432. package/lib/hooks/ui/index.js +6 -0
  433. package/lib/hooks/ui/index.js.map +1 -1
  434. package/lib/hooks/ui/keyTargets.d.ts +17 -0
  435. package/lib/hooks/ui/keyTargets.d.ts.map +1 -0
  436. package/lib/hooks/ui/keyTargets.js +59 -0
  437. package/lib/hooks/ui/keyTargets.js.map +1 -0
  438. package/lib/hooks/ui/listNavigation.d.ts +2 -3
  439. package/lib/hooks/ui/listNavigation.d.ts.map +1 -1
  440. package/lib/hooks/ui/listNavigation.js +8 -13
  441. package/lib/hooks/ui/listNavigation.js.map +1 -1
  442. package/lib/hooks/ui/pollingController.d.ts +63 -0
  443. package/lib/hooks/ui/pollingController.d.ts.map +1 -0
  444. package/lib/hooks/ui/pollingController.js +86 -0
  445. package/lib/hooks/ui/pollingController.js.map +1 -0
  446. package/lib/hooks/ui/useActiveHeading.d.ts +29 -0
  447. package/lib/hooks/ui/useActiveHeading.d.ts.map +1 -0
  448. package/lib/hooks/ui/useActiveHeading.js +50 -0
  449. package/lib/hooks/ui/useActiveHeading.js.map +1 -0
  450. package/lib/hooks/ui/useAsync.d.ts +19 -0
  451. package/lib/hooks/ui/useAsync.d.ts.map +1 -0
  452. package/lib/hooks/ui/useAsync.js +36 -0
  453. package/lib/hooks/ui/useAsync.js.map +1 -0
  454. package/lib/hooks/ui/useDocumentListNavigation.d.ts +28 -0
  455. package/lib/hooks/ui/useDocumentListNavigation.d.ts.map +1 -0
  456. package/lib/hooks/ui/useDocumentListNavigation.js +53 -0
  457. package/lib/hooks/ui/useDocumentListNavigation.js.map +1 -0
  458. package/lib/hooks/ui/usePolling.d.ts +30 -0
  459. package/lib/hooks/ui/usePolling.d.ts.map +1 -0
  460. package/lib/hooks/ui/usePolling.js +52 -0
  461. package/lib/hooks/ui/usePolling.js.map +1 -0
  462. package/lib/hooks/ui/useResizeObserver.d.ts +5 -3
  463. package/lib/hooks/ui/useResizeObserver.d.ts.map +1 -1
  464. package/lib/hooks/ui/useResizeObserver.js +7 -4
  465. package/lib/hooks/ui/useResizeObserver.js.map +1 -1
  466. package/lib/molecule3d/core/exportImage.d.ts +29 -0
  467. package/lib/molecule3d/core/exportImage.d.ts.map +1 -0
  468. package/lib/molecule3d/core/exportImage.js +42 -0
  469. package/lib/molecule3d/core/exportImage.js.map +1 -0
  470. package/lib/molecule3d/core/gestures.d.ts +17 -0
  471. package/lib/molecule3d/core/gestures.d.ts.map +1 -0
  472. package/lib/molecule3d/core/gestures.js +23 -0
  473. package/lib/molecule3d/core/gestures.js.map +1 -0
  474. package/lib/molecule3d/core/index.d.ts +9 -0
  475. package/lib/molecule3d/core/index.d.ts.map +1 -0
  476. package/lib/molecule3d/core/index.js +5 -0
  477. package/lib/molecule3d/core/index.js.map +1 -0
  478. package/lib/molecule3d/core/measurement.d.ts +30 -0
  479. package/lib/molecule3d/core/measurement.d.ts.map +1 -0
  480. package/lib/molecule3d/core/measurement.js +24 -0
  481. package/lib/molecule3d/core/measurement.js.map +1 -0
  482. package/lib/molecule3d/core/settings.d.ts +120 -0
  483. package/lib/molecule3d/core/settings.d.ts.map +1 -0
  484. package/lib/molecule3d/core/settings.js +133 -0
  485. package/lib/molecule3d/core/settings.js.map +1 -0
  486. package/lib/molecule3d/ui/Molecule3DExport.d.ts +21 -0
  487. package/lib/molecule3d/ui/Molecule3DExport.d.ts.map +1 -0
  488. package/lib/molecule3d/ui/Molecule3DExport.js +32 -0
  489. package/lib/molecule3d/ui/Molecule3DExport.js.map +1 -0
  490. package/lib/molecule3d/ui/Molecule3DHelp.d.ts +11 -0
  491. package/lib/molecule3d/ui/Molecule3DHelp.d.ts.map +1 -0
  492. package/lib/molecule3d/ui/Molecule3DHelp.js +43 -0
  493. package/lib/molecule3d/ui/Molecule3DHelp.js.map +1 -0
  494. package/lib/molecule3d/ui/Molecule3DOptions.d.ts +21 -0
  495. package/lib/molecule3d/ui/Molecule3DOptions.d.ts.map +1 -0
  496. package/lib/molecule3d/ui/Molecule3DOptions.js +65 -0
  497. package/lib/molecule3d/ui/Molecule3DOptions.js.map +1 -0
  498. package/lib/molecule3d/ui/Molecule3DSurfaceColors.d.ts +21 -0
  499. package/lib/molecule3d/ui/Molecule3DSurfaceColors.d.ts.map +1 -0
  500. package/lib/molecule3d/ui/Molecule3DSurfaceColors.js +69 -0
  501. package/lib/molecule3d/ui/Molecule3DSurfaceColors.js.map +1 -0
  502. package/lib/molecule3d/ui/Molecule3DToolbar.d.ts +33 -0
  503. package/lib/molecule3d/ui/Molecule3DToolbar.d.ts.map +1 -0
  504. package/lib/molecule3d/ui/Molecule3DToolbar.js +57 -0
  505. package/lib/molecule3d/ui/Molecule3DToolbar.js.map +1 -0
  506. package/lib/molecule3d/ui/MoleculeCanvas3D.d.ts +20 -0
  507. package/lib/molecule3d/ui/MoleculeCanvas3D.d.ts.map +1 -0
  508. package/lib/molecule3d/ui/MoleculeCanvas3D.js +132 -0
  509. package/lib/molecule3d/ui/MoleculeCanvas3D.js.map +1 -0
  510. package/lib/molecule3d/ui/MoleculeViewer3D.d.ts +26 -0
  511. package/lib/molecule3d/ui/MoleculeViewer3D.d.ts.map +1 -0
  512. package/lib/molecule3d/ui/MoleculeViewer3D.js +56 -0
  513. package/lib/molecule3d/ui/MoleculeViewer3D.js.map +1 -0
  514. package/lib/molecule3d/ui/camera.d.ts +29 -0
  515. package/lib/molecule3d/ui/camera.d.ts.map +1 -0
  516. package/lib/molecule3d/ui/camera.js +58 -0
  517. package/lib/molecule3d/ui/camera.js.map +1 -0
  518. package/lib/molecule3d/ui/drawScene.d.ts +15 -0
  519. package/lib/molecule3d/ui/drawScene.d.ts.map +1 -0
  520. package/lib/molecule3d/ui/drawScene.js +34 -0
  521. package/lib/molecule3d/ui/drawScene.js.map +1 -0
  522. package/lib/molecule3d/ui/exportMoleculeImage.d.ts +21 -0
  523. package/lib/molecule3d/ui/exportMoleculeImage.d.ts.map +1 -0
  524. package/lib/molecule3d/ui/exportMoleculeImage.js +26 -0
  525. package/lib/molecule3d/ui/exportMoleculeImage.js.map +1 -0
  526. package/lib/molecule3d/ui/index.d.ts +11 -0
  527. package/lib/molecule3d/ui/index.d.ts.map +1 -0
  528. package/lib/molecule3d/ui/index.js +10 -0
  529. package/lib/molecule3d/ui/index.js.map +1 -0
  530. package/lib/molecule3d/ui/measurements.d.ts +46 -0
  531. package/lib/molecule3d/ui/measurements.d.ts.map +1 -0
  532. package/lib/molecule3d/ui/measurements.js +148 -0
  533. package/lib/molecule3d/ui/measurements.js.map +1 -0
  534. package/lib/molecule3d/ui/molecule3dIcons.d.ts +29 -0
  535. package/lib/molecule3d/ui/molecule3dIcons.d.ts.map +1 -0
  536. package/lib/molecule3d/ui/molecule3dIcons.js +47 -0
  537. package/lib/molecule3d/ui/molecule3dIcons.js.map +1 -0
  538. package/lib/molecule3d/ui/moleculeViewer3DProps.d.ts +93 -0
  539. package/lib/molecule3d/ui/moleculeViewer3DProps.d.ts.map +1 -0
  540. package/lib/molecule3d/ui/moleculeViewer3DProps.js +2 -0
  541. package/lib/molecule3d/ui/moleculeViewer3DProps.js.map +1 -0
  542. package/lib/molecule3d/ui/polarityColorTheme.d.ts +20 -0
  543. package/lib/molecule3d/ui/polarityColorTheme.d.ts.map +1 -0
  544. package/lib/molecule3d/ui/polarityColorTheme.js +105 -0
  545. package/lib/molecule3d/ui/polarityColorTheme.js.map +1 -0
  546. package/lib/molecule3d/ui/renderMolecule.d.ts +38 -0
  547. package/lib/molecule3d/ui/renderMolecule.d.ts.map +1 -0
  548. package/lib/molecule3d/ui/renderMolecule.js +135 -0
  549. package/lib/molecule3d/ui/renderMolecule.js.map +1 -0
  550. package/lib/molecule3d/ui/renderSurface.d.ts +22 -0
  551. package/lib/molecule3d/ui/renderSurface.d.ts.map +1 -0
  552. package/lib/molecule3d/ui/renderSurface.js +69 -0
  553. package/lib/molecule3d/ui/renderSurface.js.map +1 -0
  554. package/lib/molecule3d/ui/useControlledState.d.ts +11 -0
  555. package/lib/molecule3d/ui/useControlledState.d.ts.map +1 -0
  556. package/lib/molecule3d/ui/useControlledState.js +25 -0
  557. package/lib/molecule3d/ui/useControlledState.js.map +1 -0
  558. package/lib/molecule3d/ui/useImageExport.d.ts +20 -0
  559. package/lib/molecule3d/ui/useImageExport.d.ts.map +1 -0
  560. package/lib/molecule3d/ui/useImageExport.js +29 -0
  561. package/lib/molecule3d/ui/useImageExport.js.map +1 -0
  562. package/lib/molecule3d/ui/usePolarSurfaceArea.d.ts +11 -0
  563. package/lib/molecule3d/ui/usePolarSurfaceArea.d.ts.map +1 -0
  564. package/lib/molecule3d/ui/usePolarSurfaceArea.js +37 -0
  565. package/lib/molecule3d/ui/usePolarSurfaceArea.js.map +1 -0
  566. package/lib/molecule3d/ui/viewer.d.ts +99 -0
  567. package/lib/molecule3d/ui/viewer.d.ts.map +1 -0
  568. package/lib/molecule3d/ui/viewer.js +203 -0
  569. package/lib/molecule3d/ui/viewer.js.map +1 -0
  570. package/lib/molecule3d/ui/viewerTypes.d.ts +57 -0
  571. package/lib/molecule3d/ui/viewerTypes.d.ts.map +1 -0
  572. package/lib/molecule3d/ui/viewerTypes.js +6 -0
  573. package/lib/molecule3d/ui/viewerTypes.js.map +1 -0
  574. package/lib/molecule3d.d.ts +11 -0
  575. package/lib/molecule3d.d.ts.map +1 -0
  576. package/lib/molecule3d.js +11 -0
  577. package/lib/molecule3d.js.map +1 -0
  578. package/lib/orbital/core/atomicGrid.d.ts +3 -2
  579. package/lib/orbital/core/atomicGrid.d.ts.map +1 -1
  580. package/lib/orbital/core/atomicGrid.js +3 -2
  581. package/lib/orbital/core/atomicGrid.js.map +1 -1
  582. package/lib/orbital/core/atomicOrbitals.d.ts +1 -8
  583. package/lib/orbital/core/atomicOrbitals.d.ts.map +1 -1
  584. package/lib/orbital/core/atomicOrbitals.js +1 -1
  585. package/lib/orbital/core/atomicOrbitals.js.map +1 -1
  586. package/lib/orbital/core/constants.d.ts +3 -0
  587. package/lib/orbital/core/constants.d.ts.map +1 -1
  588. package/lib/orbital/core/electronConfiguration.d.ts +4 -12
  589. package/lib/orbital/core/electronConfiguration.d.ts.map +1 -1
  590. package/lib/orbital/core/electronConfiguration.js +26 -38
  591. package/lib/orbital/core/electronConfiguration.js.map +1 -1
  592. package/lib/orbital/core/grid.d.ts +3 -0
  593. package/lib/orbital/core/grid.d.ts.map +1 -1
  594. package/lib/orbital/core/grid.js.map +1 -1
  595. package/lib/orbital/core/index.d.ts +2 -0
  596. package/lib/orbital/core/index.d.ts.map +1 -1
  597. package/lib/orbital/core/index.js +1 -0
  598. package/lib/orbital/core/index.js.map +1 -1
  599. package/lib/orbital/core/isovalue.d.ts +3 -2
  600. package/lib/orbital/core/isovalue.d.ts.map +1 -1
  601. package/lib/orbital/core/isovalue.js +3 -2
  602. package/lib/orbital/core/isovalue.js.map +1 -1
  603. package/lib/orbital/core/occupancy.d.ts.map +1 -1
  604. package/lib/orbital/core/occupancy.js +2 -3
  605. package/lib/orbital/core/occupancy.js.map +1 -1
  606. package/lib/orbital/core/palette.d.ts +8 -4
  607. package/lib/orbital/core/palette.d.ts.map +1 -1
  608. package/lib/orbital/core/palette.js +3 -3
  609. package/lib/orbital/core/palette.js.map +1 -1
  610. package/lib/orbital/core/radialDistribution.d.ts +51 -0
  611. package/lib/orbital/core/radialDistribution.d.ts.map +1 -0
  612. package/lib/orbital/core/radialDistribution.js +47 -0
  613. package/lib/orbital/core/radialDistribution.js.map +1 -0
  614. package/lib/orbital/core/realHarmonics.d.ts +3 -3
  615. package/lib/orbital/core/realHarmonics.js +3 -3
  616. package/lib/orbital/ui/AtomicOrbitalCanvas.d.ts +5 -3
  617. package/lib/orbital/ui/AtomicOrbitalCanvas.d.ts.map +1 -1
  618. package/lib/orbital/ui/AtomicOrbitalCanvas.js +27 -85
  619. package/lib/orbital/ui/AtomicOrbitalCanvas.js.map +1 -1
  620. package/lib/orbital/ui/AtomicOrbitalControls.d.ts +23 -0
  621. package/lib/orbital/ui/AtomicOrbitalControls.d.ts.map +1 -0
  622. package/lib/orbital/ui/AtomicOrbitalControls.js +40 -0
  623. package/lib/orbital/ui/AtomicOrbitalControls.js.map +1 -0
  624. package/lib/orbital/ui/AtomicOrbitalViewer.d.ts +6 -0
  625. package/lib/orbital/ui/AtomicOrbitalViewer.d.ts.map +1 -1
  626. package/lib/orbital/ui/AtomicOrbitalViewer.js +23 -14
  627. package/lib/orbital/ui/AtomicOrbitalViewer.js.map +1 -1
  628. package/lib/orbital/ui/RadialPlot.d.ts +79 -0
  629. package/lib/orbital/ui/RadialPlot.d.ts.map +1 -0
  630. package/lib/orbital/ui/RadialPlot.js +59 -0
  631. package/lib/orbital/ui/RadialPlot.js.map +1 -0
  632. package/lib/orbital/ui/RadialPlotMarks.d.ts +31 -0
  633. package/lib/orbital/ui/RadialPlotMarks.d.ts.map +1 -0
  634. package/lib/orbital/ui/RadialPlotMarks.js +22 -0
  635. package/lib/orbital/ui/RadialPlotMarks.js.map +1 -0
  636. package/lib/orbital/ui/camera.d.ts +0 -6
  637. package/lib/orbital/ui/camera.d.ts.map +1 -1
  638. package/lib/orbital/ui/camera.js +1 -1
  639. package/lib/orbital/ui/camera.js.map +1 -1
  640. package/lib/orbital/ui/index.d.ts +3 -1
  641. package/lib/orbital/ui/index.d.ts.map +1 -1
  642. package/lib/orbital/ui/index.js +1 -0
  643. package/lib/orbital/ui/index.js.map +1 -1
  644. package/lib/orbital/ui/orbitalCanvasHelpers.d.ts +24 -0
  645. package/lib/orbital/ui/orbitalCanvasHelpers.d.ts.map +1 -0
  646. package/lib/orbital/ui/orbitalCanvasHelpers.js +34 -0
  647. package/lib/orbital/ui/orbitalCanvasHelpers.js.map +1 -0
  648. package/lib/orbital/ui/orbitalPluginSpec.d.ts +20 -0
  649. package/lib/orbital/ui/orbitalPluginSpec.d.ts.map +1 -0
  650. package/lib/orbital/ui/orbitalPluginSpec.js +34 -0
  651. package/lib/orbital/ui/orbitalPluginSpec.js.map +1 -0
  652. package/lib/orbital/ui/radialPlotGeometry.d.ts +41 -0
  653. package/lib/orbital/ui/radialPlotGeometry.d.ts.map +1 -0
  654. package/lib/orbital/ui/radialPlotGeometry.js +80 -0
  655. package/lib/orbital/ui/radialPlotGeometry.js.map +1 -0
  656. package/lib/orbital/ui/renderAxes.d.ts +2 -2
  657. package/lib/orbital/ui/renderAxes.d.ts.map +1 -1
  658. package/lib/orbital/ui/renderAxes.js +11 -11
  659. package/lib/orbital/ui/renderAxes.js.map +1 -1
  660. package/lib/orbital/ui/renderVolume.d.ts +2 -2
  661. package/lib/orbital/ui/renderVolume.d.ts.map +1 -1
  662. package/lib/orbital/ui/renderVolume.js +9 -9
  663. package/lib/orbital/ui/renderVolume.js.map +1 -1
  664. package/lib/orbital/ui/serial.d.ts +2 -1
  665. package/lib/orbital/ui/serial.d.ts.map +1 -1
  666. package/lib/orbital/ui/viewer.d.ts +4 -11
  667. package/lib/orbital/ui/viewer.d.ts.map +1 -1
  668. package/lib/orbital/ui/viewer.js +5 -27
  669. package/lib/orbital/ui/viewer.js.map +1 -1
  670. package/lib/orbital.d.ts +5 -4
  671. package/lib/orbital.d.ts.map +1 -1
  672. package/lib/orbital.js +5 -4
  673. package/lib/orbital.js.map +1 -1
  674. package/lib/overlay/core/index.d.ts +2 -1
  675. package/lib/overlay/core/index.d.ts.map +1 -1
  676. package/lib/overlay/core/index.js +1 -1
  677. package/lib/overlay/core/index.js.map +1 -1
  678. package/lib/overlay/core/overlayCollapse.d.ts +25 -0
  679. package/lib/overlay/core/overlayCollapse.d.ts.map +1 -1
  680. package/lib/overlay/core/overlayCollapse.js +17 -0
  681. package/lib/overlay/core/overlayCollapse.js.map +1 -1
  682. package/lib/overlay/core/placeOverlayCard.d.ts.map +1 -1
  683. package/lib/overlay/core/placeOverlayCard.js +2 -4
  684. package/lib/overlay/core/placeOverlayCard.js.map +1 -1
  685. package/lib/overlay/ui/OverlayBar.d.ts +3 -6
  686. package/lib/overlay/ui/OverlayBar.d.ts.map +1 -1
  687. package/lib/overlay/ui/OverlayBar.js +2 -3
  688. package/lib/overlay/ui/OverlayBar.js.map +1 -1
  689. package/lib/overlay/ui/OverlayBarButton.d.ts +2 -1
  690. package/lib/overlay/ui/OverlayBarButton.d.ts.map +1 -1
  691. package/lib/overlay/ui/OverlayBarButton.js.map +1 -1
  692. package/lib/overlay/ui/OverlayBarCard.d.ts +2 -1
  693. package/lib/overlay/ui/OverlayBarCard.d.ts.map +1 -1
  694. package/lib/overlay/ui/OverlayChip.d.ts.map +1 -1
  695. package/lib/overlay/ui/OverlayChip.js +3 -3
  696. package/lib/overlay/ui/OverlayChip.js.map +1 -1
  697. package/lib/overlay/ui/OverlayIconButton.d.ts +2 -1
  698. package/lib/overlay/ui/OverlayIconButton.d.ts.map +1 -1
  699. package/lib/overlay/ui/OverlayIconButton.js +5 -4
  700. package/lib/overlay/ui/OverlayIconButton.js.map +1 -1
  701. package/lib/overlay/ui/OverlayLayer.d.ts.map +1 -1
  702. package/lib/overlay/ui/OverlayLayer.js +2 -1
  703. package/lib/overlay/ui/OverlayLayer.js.map +1 -1
  704. package/lib/overlay/ui/OverlayLegend.d.ts.map +1 -1
  705. package/lib/overlay/ui/OverlayLegend.js +2 -1
  706. package/lib/overlay/ui/OverlayLegend.js.map +1 -1
  707. package/lib/overlay/ui/OverlayNumber.d.ts.map +1 -1
  708. package/lib/overlay/ui/OverlayNumber.js +9 -11
  709. package/lib/overlay/ui/OverlayNumber.js.map +1 -1
  710. package/lib/overlay/ui/OverlayPanel.d.ts.map +1 -1
  711. package/lib/overlay/ui/OverlayPanel.js +4 -3
  712. package/lib/overlay/ui/OverlayPanel.js.map +1 -1
  713. package/lib/overlay/ui/OverlayRow.d.ts +2 -2
  714. package/lib/overlay/ui/OverlayRow.d.ts.map +1 -1
  715. package/lib/overlay/ui/OverlayRow.js +2 -2
  716. package/lib/overlay/ui/OverlayRow.js.map +1 -1
  717. package/lib/overlay/ui/OverlayToggle.d.ts.map +1 -1
  718. package/lib/overlay/ui/OverlayToggle.js.map +1 -1
  719. package/lib/overlay/ui/OverlayValueButton.d.ts +2 -3
  720. package/lib/overlay/ui/OverlayValueButton.d.ts.map +1 -1
  721. package/lib/overlay/ui/OverlayValueButton.js +5 -7
  722. package/lib/overlay/ui/OverlayValueButton.js.map +1 -1
  723. package/lib/overlay/ui/overlayBarShape.d.ts +1 -34
  724. package/lib/overlay/ui/overlayBarShape.d.ts.map +1 -1
  725. package/lib/overlay/ui/overlayBarShape.js +2 -40
  726. package/lib/overlay/ui/overlayBarShape.js.map +1 -1
  727. package/lib/overlay/ui/overlayControlStyles.d.ts +9 -2
  728. package/lib/overlay/ui/overlayControlStyles.d.ts.map +1 -1
  729. package/lib/overlay/ui/overlayControlStyles.js +4 -1
  730. package/lib/overlay/ui/overlayControlStyles.js.map +1 -1
  731. package/lib/overlay/ui/overlayPanelContext.d.ts.map +1 -1
  732. package/lib/overlay/ui/overlayPanelContext.js.map +1 -1
  733. package/lib/overlay/ui/overlayPanelStyles.d.ts +11 -4
  734. package/lib/overlay/ui/overlayPanelStyles.d.ts.map +1 -1
  735. package/lib/overlay/ui/overlayPanelStyles.js +9 -3
  736. package/lib/overlay/ui/overlayPanelStyles.js.map +1 -1
  737. package/lib/overlay/ui/overlayPillStyles.d.ts +2 -1
  738. package/lib/overlay/ui/overlayPillStyles.d.ts.map +1 -1
  739. package/lib/overlay/ui/overlayRowStyles.d.ts +2 -10
  740. package/lib/overlay/ui/overlayRowStyles.d.ts.map +1 -1
  741. package/lib/overlay/ui/overlayRowStyles.js +1 -1
  742. package/lib/overlay/ui/overlayRowStyles.js.map +1 -1
  743. package/lib/overlay/ui/overlaySurface.d.ts.map +1 -1
  744. package/lib/overlay/ui/overlaySurface.js.map +1 -1
  745. package/lib/overlay/ui/overlaySwitchStyles.d.ts +2 -1
  746. package/lib/overlay/ui/overlaySwitchStyles.d.ts.map +1 -1
  747. package/lib/overlay/ui/overlayValueStyles.d.ts +19 -7
  748. package/lib/overlay/ui/overlayValueStyles.d.ts.map +1 -1
  749. package/lib/overlay/ui/overlayValueStyles.js +45 -52
  750. package/lib/overlay/ui/overlayValueStyles.js.map +1 -1
  751. package/lib/overlay/ui/useOverlayInteraction.d.ts +31 -0
  752. package/lib/overlay/ui/useOverlayInteraction.d.ts.map +1 -0
  753. package/lib/overlay/ui/useOverlayInteraction.js +21 -0
  754. package/lib/overlay/ui/useOverlayInteraction.js.map +1 -0
  755. package/lib/pedagogy/core/bucketProgressStore.d.ts +51 -0
  756. package/lib/pedagogy/core/bucketProgressStore.d.ts.map +1 -0
  757. package/lib/pedagogy/core/bucketProgressStore.js +42 -0
  758. package/lib/pedagogy/core/bucketProgressStore.js.map +1 -0
  759. package/lib/pedagogy/core/glossary.d.ts +31 -9
  760. package/lib/pedagogy/core/glossary.d.ts.map +1 -1
  761. package/lib/pedagogy/core/glossary.js +12 -4
  762. package/lib/pedagogy/core/glossary.js.map +1 -1
  763. package/lib/pedagogy/core/glossarySearch.d.ts +23 -0
  764. package/lib/pedagogy/core/glossarySearch.d.ts.map +1 -0
  765. package/lib/pedagogy/core/glossarySearch.js +52 -0
  766. package/lib/pedagogy/core/glossarySearch.js.map +1 -0
  767. package/lib/pedagogy/core/index.d.ts +8 -2
  768. package/lib/pedagogy/core/index.d.ts.map +1 -1
  769. package/lib/pedagogy/core/index.js +5 -2
  770. package/lib/pedagogy/core/index.js.map +1 -1
  771. package/lib/pedagogy/core/inlineMarks.d.ts +57 -0
  772. package/lib/pedagogy/core/inlineMarks.d.ts.map +1 -0
  773. package/lib/pedagogy/core/inlineMarks.js +78 -0
  774. package/lib/pedagogy/core/inlineMarks.js.map +1 -0
  775. package/lib/pedagogy/core/progress.d.ts +18 -18
  776. package/lib/pedagogy/core/progress.d.ts.map +1 -1
  777. package/lib/pedagogy/core/progress.js +25 -51
  778. package/lib/pedagogy/core/progress.js.map +1 -1
  779. package/lib/pedagogy/core/types.d.ts +4 -0
  780. package/lib/pedagogy/core/types.d.ts.map +1 -1
  781. package/lib/pedagogy/core/validation.d.ts +3 -0
  782. package/lib/pedagogy/core/validation.d.ts.map +1 -1
  783. package/lib/pedagogy/core/validation.js.map +1 -1
  784. package/lib/pedagogy/ui/ExerciseActions.d.ts +1 -0
  785. package/lib/pedagogy/ui/ExerciseActions.d.ts.map +1 -1
  786. package/lib/pedagogy/ui/ExerciseActions.js.map +1 -1
  787. package/lib/pedagogy/ui/ExerciseProgressHeader.d.ts +1 -0
  788. package/lib/pedagogy/ui/ExerciseProgressHeader.d.ts.map +1 -1
  789. package/lib/pedagogy/ui/ExerciseProgressHeader.js +2 -1
  790. package/lib/pedagogy/ui/ExerciseProgressHeader.js.map +1 -1
  791. package/lib/pedagogy/ui/ExerciseTags.d.ts +14 -0
  792. package/lib/pedagogy/ui/ExerciseTags.d.ts.map +1 -1
  793. package/lib/pedagogy/ui/ExerciseTags.js +4 -4
  794. package/lib/pedagogy/ui/ExerciseTags.js.map +1 -1
  795. package/lib/pedagogy/ui/GlossaryDefinition.d.ts +39 -0
  796. package/lib/pedagogy/ui/GlossaryDefinition.d.ts.map +1 -0
  797. package/lib/pedagogy/ui/GlossaryDefinition.js +59 -0
  798. package/lib/pedagogy/ui/GlossaryDefinition.js.map +1 -0
  799. package/lib/pedagogy/ui/GlossaryIndex.d.ts +59 -0
  800. package/lib/pedagogy/ui/GlossaryIndex.d.ts.map +1 -0
  801. package/lib/pedagogy/ui/GlossaryIndex.js +63 -0
  802. package/lib/pedagogy/ui/GlossaryIndex.js.map +1 -0
  803. package/lib/pedagogy/ui/GlossaryProvider.d.ts +22 -6
  804. package/lib/pedagogy/ui/GlossaryProvider.d.ts.map +1 -1
  805. package/lib/pedagogy/ui/GlossaryProvider.js +12 -4
  806. package/lib/pedagogy/ui/GlossaryProvider.js.map +1 -1
  807. package/lib/pedagogy/ui/GlossaryText.d.ts +22 -21
  808. package/lib/pedagogy/ui/GlossaryText.d.ts.map +1 -1
  809. package/lib/pedagogy/ui/GlossaryText.js +21 -61
  810. package/lib/pedagogy/ui/GlossaryText.js.map +1 -1
  811. package/lib/pedagogy/ui/HintLadder.d.ts +6 -0
  812. package/lib/pedagogy/ui/HintLadder.d.ts.map +1 -1
  813. package/lib/pedagogy/ui/HintLadder.js +4 -5
  814. package/lib/pedagogy/ui/HintLadder.js.map +1 -1
  815. package/lib/pedagogy/ui/InlineText.d.ts +28 -0
  816. package/lib/pedagogy/ui/InlineText.d.ts.map +1 -0
  817. package/lib/pedagogy/ui/InlineText.js +19 -0
  818. package/lib/pedagogy/ui/InlineText.js.map +1 -0
  819. package/lib/pedagogy/ui/ReferenceGrid.d.ts +1 -0
  820. package/lib/pedagogy/ui/ReferenceGrid.d.ts.map +1 -1
  821. package/lib/pedagogy/ui/ReferenceGrid.js +2 -3
  822. package/lib/pedagogy/ui/ReferenceGrid.js.map +1 -1
  823. package/lib/pedagogy/ui/ReferenceSectionBlock.d.ts +4 -0
  824. package/lib/pedagogy/ui/ReferenceSectionBlock.d.ts.map +1 -1
  825. package/lib/pedagogy/ui/ReferenceSectionBlock.js +10 -15
  826. package/lib/pedagogy/ui/ReferenceSectionBlock.js.map +1 -1
  827. package/lib/pedagogy/ui/SyntaxTooltip.d.ts +15 -16
  828. package/lib/pedagogy/ui/SyntaxTooltip.d.ts.map +1 -1
  829. package/lib/pedagogy/ui/SyntaxTooltip.js +16 -12
  830. package/lib/pedagogy/ui/SyntaxTooltip.js.map +1 -1
  831. package/lib/pedagogy/ui/TestCaseList.d.ts +1 -0
  832. package/lib/pedagogy/ui/TestCaseList.d.ts.map +1 -1
  833. package/lib/pedagogy/ui/TestCaseList.js +4 -3
  834. package/lib/pedagogy/ui/TestCaseList.js.map +1 -1
  835. package/lib/pedagogy/ui/TutorialStepStrip.d.ts +3 -0
  836. package/lib/pedagogy/ui/TutorialStepStrip.d.ts.map +1 -1
  837. package/lib/pedagogy/ui/TutorialStepStrip.js +11 -10
  838. package/lib/pedagogy/ui/TutorialStepStrip.js.map +1 -1
  839. package/lib/pedagogy/ui/exampleText.d.ts +12 -0
  840. package/lib/pedagogy/ui/exampleText.d.ts.map +1 -0
  841. package/lib/pedagogy/ui/exampleText.js +17 -0
  842. package/lib/pedagogy/ui/exampleText.js.map +1 -0
  843. package/lib/pedagogy/ui/glossaryContext.d.ts +23 -6
  844. package/lib/pedagogy/ui/glossaryContext.d.ts.map +1 -1
  845. package/lib/pedagogy/ui/glossaryContext.js +8 -5
  846. package/lib/pedagogy/ui/glossaryContext.js.map +1 -1
  847. package/lib/pedagogy/ui/index.d.ts +9 -1
  848. package/lib/pedagogy/ui/index.d.ts.map +1 -1
  849. package/lib/pedagogy/ui/index.js +4 -1
  850. package/lib/pedagogy/ui/index.js.map +1 -1
  851. package/lib/pedagogy/ui/inlineSegments.d.ts +27 -0
  852. package/lib/pedagogy/ui/inlineSegments.d.ts.map +1 -0
  853. package/lib/pedagogy/ui/inlineSegments.js +42 -0
  854. package/lib/pedagogy/ui/inlineSegments.js.map +1 -0
  855. package/lib/pedagogy/ui/pedagogyStyle.d.ts +31 -0
  856. package/lib/pedagogy/ui/pedagogyStyle.d.ts.map +1 -0
  857. package/lib/pedagogy/ui/pedagogyStyle.js +33 -0
  858. package/lib/pedagogy/ui/pedagogyStyle.js.map +1 -0
  859. package/lib/periodic/core/categories.d.ts +1 -1
  860. package/lib/periodic/core/categories.d.ts.map +1 -1
  861. package/lib/periodic/core/elements.d.ts +2 -0
  862. package/lib/periodic/core/elements.d.ts.map +1 -1
  863. package/lib/periodic/core/elements.js.map +1 -1
  864. package/lib/periodic/core/layout.d.ts +4 -0
  865. package/lib/periodic/core/layout.d.ts.map +1 -1
  866. package/lib/periodic/core/layout.js +9 -9
  867. package/lib/periodic/core/layout.js.map +1 -1
  868. package/lib/periodic/ui/CategoryLegend.d.ts +5 -0
  869. package/lib/periodic/ui/CategoryLegend.d.ts.map +1 -1
  870. package/lib/periodic/ui/CategoryLegend.js +4 -3
  871. package/lib/periodic/ui/CategoryLegend.js.map +1 -1
  872. package/lib/periodic/ui/ElementCell.d.ts +7 -1
  873. package/lib/periodic/ui/ElementCell.d.ts.map +1 -1
  874. package/lib/periodic/ui/ElementCell.js +2 -2
  875. package/lib/periodic/ui/ElementCell.js.map +1 -1
  876. package/lib/periodic/ui/PeriodicTable.d.ts +8 -2
  877. package/lib/periodic/ui/PeriodicTable.d.ts.map +1 -1
  878. package/lib/periodic/ui/PeriodicTable.js +2 -2
  879. package/lib/periodic/ui/PeriodicTable.js.map +1 -1
  880. package/lib/periodic/ui/PeriodicTableChrome.d.ts +3 -2
  881. package/lib/periodic/ui/PeriodicTableChrome.d.ts.map +1 -1
  882. package/lib/periodic/ui/PeriodicTableChrome.js +4 -3
  883. package/lib/periodic/ui/PeriodicTableChrome.js.map +1 -1
  884. package/lib/projection/core/explainedShares.d.ts +1 -1
  885. package/lib/projection/core/explainedShares.d.ts.map +1 -1
  886. package/lib/projection/core/fillCopy.d.ts +12 -0
  887. package/lib/projection/core/fillCopy.d.ts.map +1 -0
  888. package/lib/projection/core/fillCopy.js +18 -0
  889. package/lib/projection/core/fillCopy.js.map +1 -0
  890. package/lib/projection/core/index.d.ts +7 -3
  891. package/lib/projection/core/index.d.ts.map +1 -1
  892. package/lib/projection/core/index.js +5 -2
  893. package/lib/projection/core/index.js.map +1 -1
  894. package/lib/projection/core/loadingProfiles.d.ts +7 -1
  895. package/lib/projection/core/loadingProfiles.d.ts.map +1 -1
  896. package/lib/projection/core/loadingProfiles.js +3 -4
  897. package/lib/projection/core/loadingProfiles.js.map +1 -1
  898. package/lib/projection/core/mergeProjectionCopy.d.ts +10 -0
  899. package/lib/projection/core/mergeProjectionCopy.d.ts.map +1 -0
  900. package/lib/projection/core/mergeProjectionCopy.js +30 -0
  901. package/lib/projection/core/mergeProjectionCopy.js.map +1 -0
  902. package/lib/projection/core/pcaColumns.d.ts +23 -0
  903. package/lib/projection/core/pcaColumns.d.ts.map +1 -0
  904. package/lib/projection/core/pcaColumns.js +73 -0
  905. package/lib/projection/core/pcaColumns.js.map +1 -0
  906. package/lib/projection/core/pcaLike.d.ts +29 -4
  907. package/lib/projection/core/pcaLike.d.ts.map +1 -1
  908. package/lib/projection/core/pcaResult.d.ts +8 -5
  909. package/lib/projection/core/pcaResult.d.ts.map +1 -1
  910. package/lib/projection/core/pcaResult.js +10 -35
  911. package/lib/projection/core/pcaResult.js.map +1 -1
  912. package/lib/projection/core/projectionCopy.d.ts +26 -20
  913. package/lib/projection/core/projectionCopy.d.ts.map +1 -1
  914. package/lib/projection/core/projectionCopy.js +12 -45
  915. package/lib/projection/core/projectionCopy.js.map +1 -1
  916. package/lib/projection/core/projectionOptions.d.ts +0 -15
  917. package/lib/projection/core/projectionOptions.d.ts.map +1 -1
  918. package/lib/projection/core/projectionOptions.js +0 -88
  919. package/lib/projection/core/projectionOptions.js.map +1 -1
  920. package/lib/projection/core/projectionPanelWords.d.ts +91 -0
  921. package/lib/projection/core/projectionPanelWords.d.ts.map +1 -0
  922. package/lib/projection/core/projectionPanelWords.js +56 -0
  923. package/lib/projection/core/projectionPanelWords.js.map +1 -0
  924. package/lib/projection/core/projectionResult.d.ts +1 -1
  925. package/lib/projection/core/projectionResult.d.ts.map +1 -1
  926. package/lib/projection/core/projectionStrings.d.ts +0 -30
  927. package/lib/projection/core/projectionStrings.d.ts.map +1 -1
  928. package/lib/projection/core/projectionStrings.js +0 -50
  929. package/lib/projection/core/projectionStrings.js.map +1 -1
  930. package/lib/projection/core/resolveProjectionOptions.d.ts +17 -0
  931. package/lib/projection/core/resolveProjectionOptions.d.ts.map +1 -0
  932. package/lib/projection/core/resolveProjectionOptions.js +79 -0
  933. package/lib/projection/core/resolveProjectionOptions.js.map +1 -0
  934. package/lib/projection/core/variableAxis.d.ts.map +1 -1
  935. package/lib/projection/core/variableAxis.js +4 -17
  936. package/lib/projection/core/variableAxis.js.map +1 -1
  937. package/lib/projection/ui/ProjectionBar.d.ts +2 -1
  938. package/lib/projection/ui/ProjectionBar.d.ts.map +1 -1
  939. package/lib/projection/ui/ProjectionBar.js +2 -2
  940. package/lib/projection/ui/ProjectionMapCaption.d.ts +2 -1
  941. package/lib/projection/ui/ProjectionMapCaption.d.ts.map +1 -1
  942. package/lib/projection/ui/ProjectionMapControls.d.ts.map +1 -1
  943. package/lib/projection/ui/ProjectionMapControls.js +6 -24
  944. package/lib/projection/ui/ProjectionMapControls.js.map +1 -1
  945. package/lib/projection/ui/ProjectionMapLegend.d.ts +2 -1
  946. package/lib/projection/ui/ProjectionMapLegend.d.ts.map +1 -1
  947. package/lib/projection/ui/ProjectionMapMore.d.ts +2 -1
  948. package/lib/projection/ui/ProjectionMapMore.d.ts.map +1 -1
  949. package/lib/projection/ui/ProjectionMapMore.js +4 -37
  950. package/lib/projection/ui/ProjectionMapMore.js.map +1 -1
  951. package/lib/projection/ui/ProjectionMapTab.d.ts +3 -2
  952. package/lib/projection/ui/ProjectionMapTab.d.ts.map +1 -1
  953. package/lib/projection/ui/ProjectionPairsControls.d.ts +2 -1
  954. package/lib/projection/ui/ProjectionPairsControls.d.ts.map +1 -1
  955. package/lib/projection/ui/ProjectionPairsMore.d.ts +2 -1
  956. package/lib/projection/ui/ProjectionPairsMore.d.ts.map +1 -1
  957. package/lib/projection/ui/ProjectionPairsMore.js +2 -3
  958. package/lib/projection/ui/ProjectionPairsMore.js.map +1 -1
  959. package/lib/projection/ui/ProjectionPairsTab.d.ts +2 -1
  960. package/lib/projection/ui/ProjectionPairsTab.d.ts.map +1 -1
  961. package/lib/projection/ui/ProjectionPairsTab.js +2 -1
  962. package/lib/projection/ui/ProjectionPairsTab.js.map +1 -1
  963. package/lib/projection/ui/ProjectionPanel.d.ts +3 -2
  964. package/lib/projection/ui/ProjectionPanel.d.ts.map +1 -1
  965. package/lib/projection/ui/ProjectionPanel.js.map +1 -1
  966. package/lib/projection/ui/ProjectionReadout.d.ts +2 -1
  967. package/lib/projection/ui/ProjectionReadout.d.ts.map +1 -1
  968. package/lib/projection/ui/ProjectionSharesAxis.d.ts +25 -0
  969. package/lib/projection/ui/ProjectionSharesAxis.d.ts.map +1 -0
  970. package/lib/projection/ui/ProjectionSharesAxis.js +20 -0
  971. package/lib/projection/ui/ProjectionSharesAxis.js.map +1 -0
  972. package/lib/projection/ui/ProjectionSharesMarks.d.ts +5 -22
  973. package/lib/projection/ui/ProjectionSharesMarks.d.ts.map +1 -1
  974. package/lib/projection/ui/ProjectionSharesMarks.js +27 -29
  975. package/lib/projection/ui/ProjectionSharesMarks.js.map +1 -1
  976. package/lib/projection/ui/ProjectionSharesMore.d.ts +2 -1
  977. package/lib/projection/ui/ProjectionSharesMore.d.ts.map +1 -1
  978. package/lib/projection/ui/ProjectionSharesMore.js +2 -3
  979. package/lib/projection/ui/ProjectionSharesMore.js.map +1 -1
  980. package/lib/projection/ui/ProjectionSharesTab.d.ts +2 -1
  981. package/lib/projection/ui/ProjectionSharesTab.d.ts.map +1 -1
  982. package/lib/projection/ui/ProjectionSharesTab.js +3 -2
  983. package/lib/projection/ui/ProjectionSharesTab.js.map +1 -1
  984. package/lib/projection/ui/ProjectionSpaceControls.d.ts.map +1 -1
  985. package/lib/projection/ui/ProjectionSpaceControls.js +8 -25
  986. package/lib/projection/ui/ProjectionSpaceControls.js.map +1 -1
  987. package/lib/projection/ui/ProjectionSpaceMore.d.ts +2 -1
  988. package/lib/projection/ui/ProjectionSpaceMore.d.ts.map +1 -1
  989. package/lib/projection/ui/ProjectionSpaceMore.js +4 -31
  990. package/lib/projection/ui/ProjectionSpaceMore.js.map +1 -1
  991. package/lib/projection/ui/ProjectionSpaceTab.d.ts +3 -2
  992. package/lib/projection/ui/ProjectionSpaceTab.d.ts.map +1 -1
  993. package/lib/projection/ui/ProjectionSurface.d.ts +2 -1
  994. package/lib/projection/ui/ProjectionSurface.d.ts.map +1 -1
  995. package/lib/projection/ui/ProjectionTabStrip.d.ts +2 -1
  996. package/lib/projection/ui/ProjectionTabStrip.d.ts.map +1 -1
  997. package/lib/projection/ui/ProjectionTabStrip.js +15 -5
  998. package/lib/projection/ui/ProjectionTabStrip.js.map +1 -1
  999. package/lib/projection/ui/ProjectionVariablesControls.d.ts +2 -1
  1000. package/lib/projection/ui/ProjectionVariablesControls.d.ts.map +1 -1
  1001. package/lib/projection/ui/ProjectionVariablesMore.d.ts +2 -1
  1002. package/lib/projection/ui/ProjectionVariablesMore.d.ts.map +1 -1
  1003. package/lib/projection/ui/ProjectionVariablesMore.js +4 -15
  1004. package/lib/projection/ui/ProjectionVariablesMore.js.map +1 -1
  1005. package/lib/projection/ui/ProjectionVariablesTab.d.ts +3 -3
  1006. package/lib/projection/ui/ProjectionVariablesTab.d.ts.map +1 -1
  1007. package/lib/projection/ui/ProjectionVariablesTab.js +1 -1
  1008. package/lib/projection/ui/ProjectionVariablesTab.js.map +1 -1
  1009. package/lib/projection/ui/ProjectionViewer.d.ts +2 -6
  1010. package/lib/projection/ui/ProjectionViewer.d.ts.map +1 -1
  1011. package/lib/projection/ui/ProjectionViewer.js +6 -6
  1012. package/lib/projection/ui/ProjectionViewer.js.map +1 -1
  1013. package/lib/projection/ui/projectionAxisChoices.d.ts +12 -0
  1014. package/lib/projection/ui/projectionAxisChoices.d.ts.map +1 -0
  1015. package/lib/projection/ui/projectionAxisChoices.js +26 -0
  1016. package/lib/projection/ui/projectionAxisChoices.js.map +1 -0
  1017. package/lib/projection/ui/projectionBarReadings.d.ts +10 -1
  1018. package/lib/projection/ui/projectionBarReadings.d.ts.map +1 -1
  1019. package/lib/projection/ui/projectionBarReadings.js +25 -8
  1020. package/lib/projection/ui/projectionBarReadings.js.map +1 -1
  1021. package/lib/projection/ui/projectionBarSlots.d.ts +3 -2
  1022. package/lib/projection/ui/projectionBarSlots.d.ts.map +1 -1
  1023. package/lib/projection/ui/projectionBarStyles.d.ts +2 -2
  1024. package/lib/projection/ui/projectionBarStyles.js +2 -2
  1025. package/lib/projection/ui/projectionEllipse.d.ts +21 -7
  1026. package/lib/projection/ui/projectionEllipse.d.ts.map +1 -1
  1027. package/lib/projection/ui/projectionEllipse.js +45 -18
  1028. package/lib/projection/ui/projectionEllipse.js.map +1 -1
  1029. package/lib/projection/ui/projectionFormat.d.ts.map +1 -1
  1030. package/lib/projection/ui/projectionFormat.js +2 -1
  1031. package/lib/projection/ui/projectionFormat.js.map +1 -1
  1032. package/lib/projection/ui/projectionMapChoices.d.ts +4 -2
  1033. package/lib/projection/ui/projectionMapChoices.d.ts.map +1 -1
  1034. package/lib/projection/ui/projectionMapChoices.js +5 -4
  1035. package/lib/projection/ui/projectionMapChoices.js.map +1 -1
  1036. package/lib/projection/ui/projectionMapChrome.d.ts +2 -1
  1037. package/lib/projection/ui/projectionMapChrome.d.ts.map +1 -1
  1038. package/lib/projection/ui/projectionMapChrome.js +17 -19
  1039. package/lib/projection/ui/projectionMapChrome.js.map +1 -1
  1040. package/lib/projection/ui/projectionMapModel.d.ts +2 -1
  1041. package/lib/projection/ui/projectionMapModel.d.ts.map +1 -1
  1042. package/lib/projection/ui/projectionMapModel.js.map +1 -1
  1043. package/lib/projection/ui/projectionMapView.d.ts +2 -1
  1044. package/lib/projection/ui/projectionMapView.d.ts.map +1 -1
  1045. package/lib/projection/ui/projectionPairsCeiling.d.ts +2 -1
  1046. package/lib/projection/ui/projectionPairsCeiling.d.ts.map +1 -1
  1047. package/lib/projection/ui/projectionTabInfo.d.ts +5 -17
  1048. package/lib/projection/ui/projectionTabInfo.d.ts.map +1 -1
  1049. package/lib/projection/ui/projectionTabInfo.js +7 -8
  1050. package/lib/projection/ui/projectionTabInfo.js.map +1 -1
  1051. package/lib/projection/ui/projectionTabModels.d.ts +5 -1
  1052. package/lib/projection/ui/projectionTabModels.d.ts.map +1 -1
  1053. package/lib/projection/ui/projectionTabModels.js +4 -2
  1054. package/lib/projection/ui/projectionTabModels.js.map +1 -1
  1055. package/lib/projection/ui/projectionVariablesModel.d.ts +3 -3
  1056. package/lib/projection/ui/projectionVariablesModel.d.ts.map +1 -1
  1057. package/lib/projection/ui/projectionVariablesModel.js +3 -2
  1058. package/lib/projection/ui/projectionVariablesModel.js.map +1 -1
  1059. package/lib/projection/ui/projectionVariablesWords.d.ts.map +1 -1
  1060. package/lib/projection/ui/projectionVariablesWords.js +1 -1
  1061. package/lib/projection/ui/projectionVariablesWords.js.map +1 -1
  1062. package/lib/projection/ui/projectionViewChoices.d.ts.map +1 -1
  1063. package/lib/projection/ui/projectionViewChoices.js +4 -7
  1064. package/lib/projection/ui/projectionViewChoices.js.map +1 -1
  1065. package/lib/projection/ui/projectionViewerProps.d.ts +1 -1
  1066. package/lib/projection/ui/projectionViewerProps.d.ts.map +1 -1
  1067. package/lib/projection/ui/projectionWordChoices.d.ts +31 -0
  1068. package/lib/projection/ui/projectionWordChoices.d.ts.map +1 -0
  1069. package/lib/projection/ui/projectionWordChoices.js +48 -0
  1070. package/lib/projection/ui/projectionWordChoices.js.map +1 -0
  1071. package/lib/projection/ui/useProjectionState.d.ts +2 -1
  1072. package/lib/projection/ui/useProjectionState.d.ts.map +1 -1
  1073. package/lib/projection/ui/useProjectionState.js +1 -1
  1074. package/lib/projection/ui/useProjectionState.js.map +1 -1
  1075. package/lib/router/core/address.d.ts +15 -6
  1076. package/lib/router/core/address.d.ts.map +1 -1
  1077. package/lib/router/core/address.js +20 -7
  1078. package/lib/router/core/address.js.map +1 -1
  1079. package/lib/router/core/basePath.d.ts.map +1 -1
  1080. package/lib/router/core/basePath.js +3 -3
  1081. package/lib/router/core/basePath.js.map +1 -1
  1082. package/lib/router/core/history.d.ts +69 -0
  1083. package/lib/router/core/history.d.ts.map +1 -0
  1084. package/lib/router/core/history.js +122 -0
  1085. package/lib/router/core/history.js.map +1 -0
  1086. package/lib/router/core/index.d.ts +7 -2
  1087. package/lib/router/core/index.d.ts.map +1 -1
  1088. package/lib/router/core/index.js +4 -1
  1089. package/lib/router/core/index.js.map +1 -1
  1090. package/lib/router/core/query.d.ts +36 -6
  1091. package/lib/router/core/query.d.ts.map +1 -1
  1092. package/lib/router/core/query.js +67 -19
  1093. package/lib/router/core/query.js.map +1 -1
  1094. package/lib/router/core/siteAddresses.d.ts +49 -0
  1095. package/lib/router/core/siteAddresses.d.ts.map +1 -0
  1096. package/lib/router/core/siteAddresses.js +47 -0
  1097. package/lib/router/core/siteAddresses.js.map +1 -0
  1098. package/lib/router/core/tabRouter.d.ts +9 -0
  1099. package/lib/router/core/tabRouter.d.ts.map +1 -1
  1100. package/lib/router/core/tabRouter.js +15 -6
  1101. package/lib/router/core/tabRouter.js.map +1 -1
  1102. package/lib/router/ui/index.d.ts +2 -0
  1103. package/lib/router/ui/index.d.ts.map +1 -0
  1104. package/lib/router/ui/index.js +2 -0
  1105. package/lib/router/ui/index.js.map +1 -0
  1106. package/lib/router/ui/useTabRoute.d.ts +12 -0
  1107. package/lib/router/ui/useTabRoute.d.ts.map +1 -0
  1108. package/lib/router/ui/useTabRoute.js +20 -0
  1109. package/lib/router/ui/useTabRoute.js.map +1 -0
  1110. package/lib/scatter/core/confidenceEllipse.d.ts +26 -19
  1111. package/lib/scatter/core/confidenceEllipse.d.ts.map +1 -1
  1112. package/lib/scatter/core/confidenceEllipse.js +63 -85
  1113. package/lib/scatter/core/confidenceEllipse.js.map +1 -1
  1114. package/lib/scatter/core/ellipseAxes.d.ts +40 -0
  1115. package/lib/scatter/core/ellipseAxes.d.ts.map +1 -0
  1116. package/lib/scatter/core/ellipseAxes.js +57 -0
  1117. package/lib/scatter/core/ellipseAxes.js.map +1 -0
  1118. package/lib/scatter/core/ellipseProjection.js +1 -1
  1119. package/lib/scatter/core/ellipseProjection.js.map +1 -1
  1120. package/lib/scatter/core/index.d.ts +7 -2
  1121. package/lib/scatter/core/index.d.ts.map +1 -1
  1122. package/lib/scatter/core/index.js +3 -1
  1123. package/lib/scatter/core/index.js.map +1 -1
  1124. package/lib/scatter/core/lassoPath.d.ts.map +1 -1
  1125. package/lib/scatter/core/lassoPath.js +2 -3
  1126. package/lib/scatter/core/lassoPath.js.map +1 -1
  1127. package/lib/scatter/core/scatterGroupMoments.d.ts +42 -0
  1128. package/lib/scatter/core/scatterGroupMoments.d.ts.map +1 -0
  1129. package/lib/scatter/core/scatterGroupMoments.js +101 -0
  1130. package/lib/scatter/core/scatterGroupMoments.js.map +1 -0
  1131. package/lib/scatter/{ui → core}/scatterGroupSpread.d.ts +17 -15
  1132. package/lib/scatter/core/scatterGroupSpread.d.ts.map +1 -0
  1133. package/lib/scatter/core/scatterGroupSpread.js +79 -0
  1134. package/lib/scatter/core/scatterGroupSpread.js.map +1 -0
  1135. package/lib/scatter/core/screenPoints.d.ts +13 -0
  1136. package/lib/scatter/core/screenPoints.d.ts.map +1 -1
  1137. package/lib/scatter/core/screenPoints.js +34 -1
  1138. package/lib/scatter/core/screenPoints.js.map +1 -1
  1139. package/lib/scatter/ui/ScatterEllipseLayer.d.ts +3 -9
  1140. package/lib/scatter/ui/ScatterEllipseLayer.d.ts.map +1 -1
  1141. package/lib/scatter/ui/ScatterEllipseLayer.js +17 -49
  1142. package/lib/scatter/ui/ScatterEllipseLayer.js.map +1 -1
  1143. package/lib/scatter/ui/ScatterLabelLayer.d.ts.map +1 -1
  1144. package/lib/scatter/ui/ScatterLabelLayer.js +3 -7
  1145. package/lib/scatter/ui/ScatterLabelLayer.js.map +1 -1
  1146. package/lib/scatter/ui/ScatterMarkLayer.d.ts +0 -1
  1147. package/lib/scatter/ui/ScatterMarkLayer.d.ts.map +1 -1
  1148. package/lib/scatter/ui/ScatterMarkLayer.js +5 -28
  1149. package/lib/scatter/ui/ScatterMarkLayer.js.map +1 -1
  1150. package/lib/scatter/ui/ScatterMatrix.d.ts +0 -1
  1151. package/lib/scatter/ui/ScatterMatrix.d.ts.map +1 -1
  1152. package/lib/scatter/ui/ScatterMatrix.js +5 -10
  1153. package/lib/scatter/ui/ScatterMatrix.js.map +1 -1
  1154. package/lib/scatter/ui/ScatterMatrixCell.js +1 -1
  1155. package/lib/scatter/ui/ScatterMatrixCell.js.map +1 -1
  1156. package/lib/scatter/ui/ScatterMatrixDiagonal.d.ts +1 -1
  1157. package/lib/scatter/ui/ScatterMatrixDiagonal.d.ts.map +1 -1
  1158. package/lib/scatter/ui/ScatterMatrixDiagonal.js +2 -1
  1159. package/lib/scatter/ui/ScatterMatrixDiagonal.js.map +1 -1
  1160. package/lib/scatter/ui/ScatterOverlayLayers.d.ts +22 -0
  1161. package/lib/scatter/ui/ScatterOverlayLayers.d.ts.map +1 -0
  1162. package/lib/scatter/ui/ScatterOverlayLayers.js +16 -0
  1163. package/lib/scatter/ui/ScatterOverlayLayers.js.map +1 -0
  1164. package/lib/scatter/ui/ScatterPlot.d.ts +0 -1
  1165. package/lib/scatter/ui/ScatterPlot.d.ts.map +1 -1
  1166. package/lib/scatter/ui/ScatterPlot.js +29 -53
  1167. package/lib/scatter/ui/ScatterPlot.js.map +1 -1
  1168. package/lib/scatter/ui/ScatterPointLayer.d.ts +12 -0
  1169. package/lib/scatter/ui/ScatterPointLayer.d.ts.map +1 -1
  1170. package/lib/scatter/ui/ScatterPointLayer.js +13 -13
  1171. package/lib/scatter/ui/ScatterPointLayer.js.map +1 -1
  1172. package/lib/scatter/ui/index.d.ts +7 -6
  1173. package/lib/scatter/ui/index.d.ts.map +1 -1
  1174. package/lib/scatter/ui/index.js +0 -1
  1175. package/lib/scatter/ui/index.js.map +1 -1
  1176. package/lib/scatter/ui/scatterFigureProps.d.ts +185 -0
  1177. package/lib/scatter/ui/scatterFigureProps.d.ts.map +1 -0
  1178. package/lib/scatter/ui/scatterFigureProps.js +10 -0
  1179. package/lib/scatter/ui/scatterFigureProps.js.map +1 -0
  1180. package/lib/scatter/ui/scatterInteractionTypes.d.ts +117 -0
  1181. package/lib/scatter/ui/scatterInteractionTypes.d.ts.map +1 -0
  1182. package/lib/scatter/ui/scatterInteractionTypes.js +6 -0
  1183. package/lib/scatter/ui/scatterInteractionTypes.js.map +1 -0
  1184. package/lib/scatter/ui/scatterLabels.d.ts.map +1 -1
  1185. package/lib/scatter/ui/scatterLabels.js +4 -17
  1186. package/lib/scatter/ui/scatterLabels.js.map +1 -1
  1187. package/lib/scatter/ui/scatterMarkGlyph.d.ts.map +1 -1
  1188. package/lib/scatter/ui/scatterMarkGlyph.js +6 -6
  1189. package/lib/scatter/ui/scatterMarkGlyph.js.map +1 -1
  1190. package/lib/scatter/ui/scatterMatrixDots.d.ts.map +1 -1
  1191. package/lib/scatter/ui/scatterMatrixDots.js +21 -16
  1192. package/lib/scatter/ui/scatterMatrixDots.js.map +1 -1
  1193. package/lib/scatter/ui/scatterMatrixLayout.d.ts +1 -1
  1194. package/lib/scatter/ui/scatterMatrixLayout.js +1 -1
  1195. package/lib/scatter/ui/scatterMatrixOutlines.d.ts.map +1 -1
  1196. package/lib/scatter/ui/scatterMatrixOutlines.js +1 -1
  1197. package/lib/scatter/ui/scatterMatrixOutlines.js.map +1 -1
  1198. package/lib/scatter/ui/scatterMatrixProps.d.ts +7 -2
  1199. package/lib/scatter/ui/scatterMatrixProps.d.ts.map +1 -1
  1200. package/lib/scatter/ui/scatterOutlineShape.d.ts.map +1 -1
  1201. package/lib/scatter/ui/scatterOutlineShape.js +5 -5
  1202. package/lib/scatter/ui/scatterOutlineShape.js.map +1 -1
  1203. package/lib/scatter/ui/scatterPlotModel.d.ts +25 -8
  1204. package/lib/scatter/ui/scatterPlotModel.d.ts.map +1 -1
  1205. package/lib/scatter/ui/scatterPlotModel.js +36 -23
  1206. package/lib/scatter/ui/scatterPlotModel.js.map +1 -1
  1207. package/lib/scatter/ui/scatterPlotProps.d.ts +9 -174
  1208. package/lib/scatter/ui/scatterPlotProps.d.ts.map +1 -1
  1209. package/lib/scatter/ui/scatterPlotProps.js +4 -4
  1210. package/lib/scatter/ui/useCapturedPointer.d.ts +60 -0
  1211. package/lib/scatter/ui/useCapturedPointer.d.ts.map +1 -0
  1212. package/lib/scatter/ui/useCapturedPointer.js +87 -0
  1213. package/lib/scatter/ui/useCapturedPointer.js.map +1 -0
  1214. package/lib/scatter/ui/useLassoGesture.d.ts +4 -9
  1215. package/lib/scatter/ui/useLassoGesture.d.ts.map +1 -1
  1216. package/lib/scatter/ui/useLassoGesture.js +39 -83
  1217. package/lib/scatter/ui/useLassoGesture.js.map +1 -1
  1218. package/lib/scatter/ui/useScatterFrame.d.ts.map +1 -1
  1219. package/lib/scatter/ui/useScatterFrame.js +2 -16
  1220. package/lib/scatter/ui/useScatterFrame.js.map +1 -1
  1221. package/lib/scatter/ui/useScatterInteraction.d.ts +1 -94
  1222. package/lib/scatter/ui/useScatterInteraction.d.ts.map +1 -1
  1223. package/lib/scatter/ui/useScatterInteraction.js +26 -4
  1224. package/lib/scatter/ui/useScatterInteraction.js.map +1 -1
  1225. package/lib/scatter/ui/useScatterLabels.d.ts +45 -0
  1226. package/lib/scatter/ui/useScatterLabels.d.ts.map +1 -0
  1227. package/lib/scatter/ui/useScatterLabels.js +32 -0
  1228. package/lib/scatter/ui/useScatterLabels.js.map +1 -0
  1229. package/lib/scatter3d/core/confidenceEllipsoid.d.ts +4 -5
  1230. package/lib/scatter3d/core/confidenceEllipsoid.d.ts.map +1 -1
  1231. package/lib/scatter3d/core/confidenceEllipsoid.js +33 -68
  1232. package/lib/scatter3d/core/confidenceEllipsoid.js.map +1 -1
  1233. package/lib/scatter3d/core/ellipsoidSilhouette.d.ts +4 -5
  1234. package/lib/scatter3d/core/ellipsoidSilhouette.d.ts.map +1 -1
  1235. package/lib/scatter3d/core/ellipsoidSilhouette.js +8 -14
  1236. package/lib/scatter3d/core/ellipsoidSilhouette.js.map +1 -1
  1237. package/lib/scatter3d/core/index.d.ts +4 -4
  1238. package/lib/scatter3d/core/index.js +4 -4
  1239. package/lib/scatter3d/ui/CloudFrameLayer.js +3 -1
  1240. package/lib/scatter3d/ui/CloudFrameLayer.js.map +1 -1
  1241. package/lib/scatter3d/ui/CloudShellLayer.d.ts +5 -6
  1242. package/lib/scatter3d/ui/CloudShellLayer.d.ts.map +1 -1
  1243. package/lib/scatter3d/ui/CloudShellLayer.js +5 -6
  1244. package/lib/scatter3d/ui/CloudShellLayer.js.map +1 -1
  1245. package/lib/scatter3d/ui/ScatterCloud.d.ts +6 -7
  1246. package/lib/scatter3d/ui/ScatterCloud.d.ts.map +1 -1
  1247. package/lib/scatter3d/ui/ScatterCloud.js +38 -76
  1248. package/lib/scatter3d/ui/ScatterCloud.js.map +1 -1
  1249. package/lib/scatter3d/ui/cloudGeometry.d.ts +16 -5
  1250. package/lib/scatter3d/ui/cloudGeometry.d.ts.map +1 -1
  1251. package/lib/scatter3d/ui/cloudGeometry.js +38 -20
  1252. package/lib/scatter3d/ui/cloudGeometry.js.map +1 -1
  1253. package/lib/scatter3d/ui/cloudShellStyles.d.ts +3 -5
  1254. package/lib/scatter3d/ui/cloudShellStyles.d.ts.map +1 -1
  1255. package/lib/scatter3d/ui/cloudShellStyles.js +9 -10
  1256. package/lib/scatter3d/ui/cloudShellStyles.js.map +1 -1
  1257. package/lib/scatter3d/ui/cloudZoom.d.ts.map +1 -1
  1258. package/lib/scatter3d/ui/cloudZoom.js +2 -3
  1259. package/lib/scatter3d/ui/cloudZoom.js.map +1 -1
  1260. package/lib/scatter3d/ui/index.d.ts +1 -3
  1261. package/lib/scatter3d/ui/index.d.ts.map +1 -1
  1262. package/lib/scatter3d/ui/index.js +0 -1
  1263. package/lib/scatter3d/ui/index.js.map +1 -1
  1264. package/lib/scatter3d/ui/orbitDragTrack.d.ts +83 -0
  1265. package/lib/scatter3d/ui/orbitDragTrack.d.ts.map +1 -0
  1266. package/lib/scatter3d/ui/orbitDragTrack.js +91 -0
  1267. package/lib/scatter3d/ui/orbitDragTrack.js.map +1 -0
  1268. package/lib/scatter3d/ui/scatterCloudModel.d.ts +3 -3
  1269. package/lib/scatter3d/ui/scatterCloudModel.d.ts.map +1 -1
  1270. package/lib/scatter3d/ui/scatterCloudModel.js +5 -4
  1271. package/lib/scatter3d/ui/scatterCloudModel.js.map +1 -1
  1272. package/lib/scatter3d/ui/scatterCloudProps.d.ts +7 -106
  1273. package/lib/scatter3d/ui/scatterCloudProps.d.ts.map +1 -1
  1274. package/lib/scatter3d/ui/scatterCloudProps.js +3 -3
  1275. package/lib/scatter3d/ui/useOrbitDrag.d.ts +5 -5
  1276. package/lib/scatter3d/ui/useOrbitDrag.d.ts.map +1 -1
  1277. package/lib/scatter3d/ui/useOrbitDrag.js +41 -98
  1278. package/lib/scatter3d/ui/useOrbitDrag.js.map +1 -1
  1279. package/lib/seo/core/documentMeta.d.ts.map +1 -1
  1280. package/lib/seo/core/documentMeta.js +2 -5
  1281. package/lib/seo/core/documentMeta.js.map +1 -1
  1282. package/lib/seo/core/index.d.ts +5 -2
  1283. package/lib/seo/core/index.d.ts.map +1 -1
  1284. package/lib/seo/core/index.js +4 -2
  1285. package/lib/seo/core/index.js.map +1 -1
  1286. package/lib/seo/core/noscript.js +1 -1
  1287. package/lib/seo/core/noscript.js.map +1 -1
  1288. package/lib/seo/core/plainDescription.d.ts +37 -0
  1289. package/lib/seo/core/plainDescription.d.ts.map +1 -0
  1290. package/lib/seo/core/plainDescription.js +80 -0
  1291. package/lib/seo/core/plainDescription.js.map +1 -0
  1292. package/lib/seo/core/routes.d.ts +9 -17
  1293. package/lib/seo/core/routes.d.ts.map +1 -1
  1294. package/lib/seo/core/routes.js +30 -27
  1295. package/lib/seo/core/routes.js.map +1 -1
  1296. package/lib/seo/core/siteFiles.d.ts.map +1 -1
  1297. package/lib/seo/core/siteFiles.js +1 -1
  1298. package/lib/seo/core/siteFiles.js.map +1 -1
  1299. package/lib/seo/core/startDocumentMeta.d.ts +3 -4
  1300. package/lib/seo/core/startDocumentMeta.d.ts.map +1 -1
  1301. package/lib/seo/core/startDocumentMeta.js +3 -4
  1302. package/lib/seo/core/startDocumentMeta.js.map +1 -1
  1303. package/lib/seo/core/trackingScript.d.ts +15 -0
  1304. package/lib/seo/core/trackingScript.d.ts.map +1 -0
  1305. package/lib/seo/core/trackingScript.js +24 -0
  1306. package/lib/seo/core/trackingScript.js.map +1 -0
  1307. package/lib/seo/vite/ogCard.d.ts.map +1 -1
  1308. package/lib/seo/vite/ogCard.js +11 -8
  1309. package/lib/seo/vite/ogCard.js.map +1 -1
  1310. package/lib/seo/vite/prerender.d.ts.map +1 -1
  1311. package/lib/seo/vite/prerender.js +2 -1
  1312. package/lib/seo/vite/prerender.js.map +1 -1
  1313. package/lib/share/core/config.d.ts +10 -1
  1314. package/lib/share/core/config.d.ts.map +1 -1
  1315. package/lib/share/core/config.js +19 -1
  1316. package/lib/share/core/config.js.map +1 -1
  1317. package/lib/share/core/index.d.ts +7 -3
  1318. package/lib/share/core/index.d.ts.map +1 -1
  1319. package/lib/share/core/index.js +4 -2
  1320. package/lib/share/core/index.js.map +1 -1
  1321. package/lib/share/core/params.d.ts +27 -0
  1322. package/lib/share/core/params.d.ts.map +1 -1
  1323. package/lib/share/core/params.js +37 -0
  1324. package/lib/share/core/params.js.map +1 -1
  1325. package/lib/share/core/preferences.d.ts +107 -0
  1326. package/lib/share/core/preferences.d.ts.map +1 -0
  1327. package/lib/share/core/preferences.js +130 -0
  1328. package/lib/share/core/preferences.js.map +1 -0
  1329. package/lib/share/core/presets.d.ts +50 -0
  1330. package/lib/share/core/presets.d.ts.map +1 -0
  1331. package/lib/share/core/presets.js +39 -0
  1332. package/lib/share/core/presets.js.map +1 -0
  1333. package/lib/share/core/vocabulary.d.ts +8 -0
  1334. package/lib/share/core/vocabulary.d.ts.map +1 -1
  1335. package/lib/share/ui/ShareButton.d.ts.map +1 -1
  1336. package/lib/share/ui/ShareButton.js +3 -1
  1337. package/lib/share/ui/ShareButton.js.map +1 -1
  1338. package/lib/share/ui/ShareConfigOptions.d.ts +21 -0
  1339. package/lib/share/ui/ShareConfigOptions.d.ts.map +1 -0
  1340. package/lib/share/ui/ShareConfigOptions.js +22 -0
  1341. package/lib/share/ui/ShareConfigOptions.js.map +1 -0
  1342. package/lib/share/ui/ShareDialog.d.ts +15 -1
  1343. package/lib/share/ui/ShareDialog.d.ts.map +1 -1
  1344. package/lib/share/ui/ShareDialog.js +4 -1
  1345. package/lib/share/ui/ShareDialog.js.map +1 -1
  1346. package/lib/share/ui/ShareDialogContent.d.ts.map +1 -1
  1347. package/lib/share/ui/ShareDialogContent.js +37 -18
  1348. package/lib/share/ui/ShareDialogContent.js.map +1 -1
  1349. package/lib/share/ui/SharePresetTabs.d.ts +20 -0
  1350. package/lib/share/ui/SharePresetTabs.d.ts.map +1 -0
  1351. package/lib/share/ui/SharePresetTabs.js +25 -0
  1352. package/lib/share/ui/SharePresetTabs.js.map +1 -0
  1353. package/lib/shared/ui/MenuButton.d.ts +1 -0
  1354. package/lib/shared/ui/MenuButton.d.ts.map +1 -1
  1355. package/lib/shared/ui/MenuButton.js.map +1 -1
  1356. package/lib/shared/ui/joinClassNames.d.ts +12 -0
  1357. package/lib/shared/ui/joinClassNames.d.ts.map +1 -0
  1358. package/lib/shared/ui/joinClassNames.js +20 -0
  1359. package/lib/shared/ui/joinClassNames.js.map +1 -0
  1360. package/lib/slides/core/familyFrame.d.ts +19 -0
  1361. package/lib/slides/core/familyFrame.d.ts.map +1 -0
  1362. package/lib/slides/core/familyFrame.js +44 -0
  1363. package/lib/slides/core/familyFrame.js.map +1 -0
  1364. package/lib/slides/core/index.d.ts +1 -1
  1365. package/lib/slides/core/index.d.ts.map +1 -1
  1366. package/lib/slides/core/index.js +1 -1
  1367. package/lib/slides/core/index.js.map +1 -1
  1368. package/lib/slides/ui/BackToSlides.d.ts +5 -0
  1369. package/lib/slides/ui/BackToSlides.d.ts.map +1 -1
  1370. package/lib/slides/ui/BackToSlides.js +3 -2
  1371. package/lib/slides/ui/BackToSlides.js.map +1 -1
  1372. package/lib/slides/ui/EmbedSlide.d.ts.map +1 -1
  1373. package/lib/slides/ui/EmbedSlide.js +1 -13
  1374. package/lib/slides/ui/EmbedSlide.js.map +1 -1
  1375. package/lib/slides/ui/SlideBody.d.ts +5 -3
  1376. package/lib/slides/ui/SlideBody.d.ts.map +1 -1
  1377. package/lib/slides/ui/SlideBody.js +14 -4
  1378. package/lib/slides/ui/SlideBody.js.map +1 -1
  1379. package/lib/slides/ui/Slideshow.d.ts +2 -6
  1380. package/lib/slides/ui/Slideshow.d.ts.map +1 -1
  1381. package/lib/slides/ui/Slideshow.js +7 -37
  1382. package/lib/slides/ui/Slideshow.js.map +1 -1
  1383. package/lib/slides/ui/SlideshowBar.d.ts +1 -1
  1384. package/lib/slides/ui/SlideshowBar.d.ts.map +1 -1
  1385. package/lib/slides/ui/SlideshowBar.js +3 -3
  1386. package/lib/slides/ui/SlideshowBar.js.map +1 -1
  1387. package/lib/slides/ui/TalkList.d.ts +5 -0
  1388. package/lib/slides/ui/TalkList.d.ts.map +1 -1
  1389. package/lib/slides/ui/TalkList.js +3 -2
  1390. package/lib/slides/ui/TalkList.js.map +1 -1
  1391. package/lib/slides/ui/index.d.ts +1 -0
  1392. package/lib/slides/ui/index.d.ts.map +1 -1
  1393. package/lib/slides/ui/slideSanitizeSchema.d.ts +11 -0
  1394. package/lib/slides/ui/slideSanitizeSchema.d.ts.map +1 -0
  1395. package/lib/slides/ui/slideSanitizeSchema.js +28 -0
  1396. package/lib/slides/ui/slideSanitizeSchema.js.map +1 -0
  1397. package/lib/slides/ui/useSlideshowFullscreen.d.ts +26 -0
  1398. package/lib/slides/ui/useSlideshowFullscreen.d.ts.map +1 -0
  1399. package/lib/slides/ui/useSlideshowFullscreen.js +39 -0
  1400. package/lib/slides/ui/useSlideshowFullscreen.js.map +1 -0
  1401. package/lib/spectra/core/axisEntries.d.ts +15 -0
  1402. package/lib/spectra/core/axisEntries.d.ts.map +1 -1
  1403. package/lib/spectra/core/axisEntries.js +15 -0
  1404. package/lib/spectra/core/axisEntries.js.map +1 -1
  1405. package/lib/spectra/core/chainProblems.d.ts.map +1 -1
  1406. package/lib/spectra/core/chainProblems.js +57 -23
  1407. package/lib/spectra/core/chainProblems.js.map +1 -1
  1408. package/lib/spectra/core/filterCatalog.d.ts +4 -5
  1409. package/lib/spectra/core/filterCatalog.d.ts.map +1 -1
  1410. package/lib/spectra/core/filterCatalog.js +4 -5
  1411. package/lib/spectra/core/filterCatalog.js.map +1 -1
  1412. package/lib/spectra/core/filterChain.d.ts +43 -9
  1413. package/lib/spectra/core/filterChain.d.ts.map +1 -1
  1414. package/lib/spectra/core/filterChain.js +41 -27
  1415. package/lib/spectra/core/filterChain.js.map +1 -1
  1416. package/lib/spectra/core/filterEntries.d.ts +14 -1
  1417. package/lib/spectra/core/filterEntries.d.ts.map +1 -1
  1418. package/lib/spectra/core/filterEntries.js +20 -6
  1419. package/lib/spectra/core/filterEntries.js.map +1 -1
  1420. package/lib/spectra/core/index.d.ts +6 -3
  1421. package/lib/spectra/core/index.d.ts.map +1 -1
  1422. package/lib/spectra/core/index.js +2 -1
  1423. package/lib/spectra/core/index.js.map +1 -1
  1424. package/lib/spectra/core/matrixCatalog.d.ts +64 -0
  1425. package/lib/spectra/core/matrixCatalog.d.ts.map +1 -0
  1426. package/lib/spectra/core/matrixCatalog.js +76 -0
  1427. package/lib/spectra/core/matrixCatalog.js.map +1 -0
  1428. package/lib/spectra/core/principalComponents.d.ts.map +1 -1
  1429. package/lib/spectra/core/principalComponents.js +6 -24
  1430. package/lib/spectra/core/principalComponents.js.map +1 -1
  1431. package/lib/spectra/core/problems.d.ts +25 -4
  1432. package/lib/spectra/core/problems.d.ts.map +1 -1
  1433. package/lib/spectra/core/problems.js +16 -5
  1434. package/lib/spectra/core/problems.js.map +1 -1
  1435. package/lib/spectra/core/settings.d.ts +12 -14
  1436. package/lib/spectra/core/settings.d.ts.map +1 -1
  1437. package/lib/spectra/core/settings.js +4 -4
  1438. package/lib/spectra/core/settings.js.map +1 -1
  1439. package/lib/spectra/core/settingsProblems.d.ts +1 -5
  1440. package/lib/spectra/core/settingsProblems.d.ts.map +1 -1
  1441. package/lib/spectra/core/settingsProblems.js +45 -50
  1442. package/lib/spectra/core/settingsProblems.js.map +1 -1
  1443. package/lib/spectra/core/stepProblems.d.ts +3 -3
  1444. package/lib/spectra/core/stepProblems.d.ts.map +1 -1
  1445. package/lib/spectra/core/stepProblems.js +29 -44
  1446. package/lib/spectra/core/stepProblems.js.map +1 -1
  1447. package/lib/spectra/core/zones.d.ts +35 -0
  1448. package/lib/spectra/core/zones.d.ts.map +1 -0
  1449. package/lib/spectra/core/zones.js +49 -0
  1450. package/lib/spectra/core/zones.js.map +1 -0
  1451. package/lib/spectra/ui/CalculationRows.d.ts +2 -1
  1452. package/lib/spectra/ui/CalculationRows.d.ts.map +1 -1
  1453. package/lib/spectra/ui/CalculationRows.js +29 -63
  1454. package/lib/spectra/ui/CalculationRows.js.map +1 -1
  1455. package/lib/spectra/ui/EditableRows.d.ts +47 -0
  1456. package/lib/spectra/ui/EditableRows.d.ts.map +1 -0
  1457. package/lib/spectra/ui/EditableRows.js +30 -0
  1458. package/lib/spectra/ui/EditableRows.js.map +1 -0
  1459. package/lib/spectra/ui/FilterChainEditor.d.ts +5 -0
  1460. package/lib/spectra/ui/FilterChainEditor.d.ts.map +1 -1
  1461. package/lib/spectra/ui/FilterChainEditor.js +19 -34
  1462. package/lib/spectra/ui/FilterChainEditor.js.map +1 -1
  1463. package/lib/spectra/ui/FilterChoiceControl.d.ts +2 -1
  1464. package/lib/spectra/ui/FilterChoiceControl.d.ts.map +1 -1
  1465. package/lib/spectra/ui/FilterChoiceControl.js +3 -30
  1466. package/lib/spectra/ui/FilterChoiceControl.js.map +1 -1
  1467. package/lib/spectra/ui/FilterFieldControl.d.ts +5 -2
  1468. package/lib/spectra/ui/FilterFieldControl.d.ts.map +1 -1
  1469. package/lib/spectra/ui/FilterFieldControl.js +5 -37
  1470. package/lib/spectra/ui/FilterFieldControl.js.map +1 -1
  1471. package/lib/spectra/ui/FilterRow.d.ts +2 -1
  1472. package/lib/spectra/ui/FilterRow.d.ts.map +1 -1
  1473. package/lib/spectra/ui/FilterRow.js +8 -10
  1474. package/lib/spectra/ui/FilterRow.js.map +1 -1
  1475. package/lib/spectra/ui/MatrixFilterRows.d.ts +2 -1
  1476. package/lib/spectra/ui/MatrixFilterRows.d.ts.map +1 -1
  1477. package/lib/spectra/ui/MatrixFilterRows.js +27 -36
  1478. package/lib/spectra/ui/MatrixFilterRows.js.map +1 -1
  1479. package/lib/spectra/ui/NormalizationEditor.d.ts +2 -1
  1480. package/lib/spectra/ui/NormalizationEditor.d.ts.map +1 -1
  1481. package/lib/spectra/ui/NormalizationEditor.js +9 -18
  1482. package/lib/spectra/ui/NormalizationEditor.js.map +1 -1
  1483. package/lib/spectra/ui/NumberField.d.ts +2 -1
  1484. package/lib/spectra/ui/NumberField.d.ts.map +1 -1
  1485. package/lib/spectra/ui/NumberField.js +2 -16
  1486. package/lib/spectra/ui/NumberField.js.map +1 -1
  1487. package/lib/spectra/ui/PostProcessingEditor.d.ts +2 -1
  1488. package/lib/spectra/ui/PostProcessingEditor.d.ts.map +1 -1
  1489. package/lib/spectra/ui/PostProcessingEditor.js +4 -4
  1490. package/lib/spectra/ui/PostProcessingEditor.js.map +1 -1
  1491. package/lib/spectra/ui/PrincipalComponentSelect.d.ts +5 -0
  1492. package/lib/spectra/ui/PrincipalComponentSelect.d.ts.map +1 -1
  1493. package/lib/spectra/ui/PrincipalComponentSelect.js +7 -30
  1494. package/lib/spectra/ui/PrincipalComponentSelect.js.map +1 -1
  1495. package/lib/spectra/ui/ProblemList.d.ts +7 -1
  1496. package/lib/spectra/ui/ProblemList.d.ts.map +1 -1
  1497. package/lib/spectra/ui/ProblemList.js +6 -4
  1498. package/lib/spectra/ui/ProblemList.js.map +1 -1
  1499. package/lib/spectra/ui/RangeRows.d.ts +2 -1
  1500. package/lib/spectra/ui/RangeRows.d.ts.map +1 -1
  1501. package/lib/spectra/ui/RangeRows.js +31 -60
  1502. package/lib/spectra/ui/RangeRows.js.map +1 -1
  1503. package/lib/spectra/ui/ScaleFields.d.ts +2 -1
  1504. package/lib/spectra/ui/ScaleFields.d.ts.map +1 -1
  1505. package/lib/spectra/ui/ScaleFields.js +6 -35
  1506. package/lib/spectra/ui/ScaleFields.js.map +1 -1
  1507. package/lib/spectra/ui/SettingsPart.d.ts +2 -1
  1508. package/lib/spectra/ui/SettingsPart.d.ts.map +1 -1
  1509. package/lib/spectra/ui/SettingsPart.js +6 -9
  1510. package/lib/spectra/ui/SettingsPart.js.map +1 -1
  1511. package/lib/spectra/ui/SpectraSettingsEditor.d.ts +5 -0
  1512. package/lib/spectra/ui/SpectraSettingsEditor.d.ts.map +1 -1
  1513. package/lib/spectra/ui/SpectraSettingsEditor.js +2 -2
  1514. package/lib/spectra/ui/SpectraSettingsEditor.js.map +1 -1
  1515. package/lib/spectra/ui/SpectrumSelection.d.ts +2 -1
  1516. package/lib/spectra/ui/SpectrumSelection.d.ts.map +1 -1
  1517. package/lib/spectra/ui/SpectrumSelection.js +2 -19
  1518. package/lib/spectra/ui/SpectrumSelection.js.map +1 -1
  1519. package/lib/spectra/ui/XWindowFields.d.ts +26 -0
  1520. package/lib/spectra/ui/XWindowFields.d.ts.map +1 -0
  1521. package/lib/spectra/ui/XWindowFields.js +24 -0
  1522. package/lib/spectra/ui/XWindowFields.js.map +1 -0
  1523. package/lib/spectra/ui/ZoneRows.d.ts +10 -15
  1524. package/lib/spectra/ui/ZoneRows.d.ts.map +1 -1
  1525. package/lib/spectra/ui/ZoneRows.js +23 -57
  1526. package/lib/spectra/ui/ZoneRows.js.map +1 -1
  1527. package/lib/spectra/ui/fieldStyles.d.ts +54 -0
  1528. package/lib/spectra/ui/fieldStyles.d.ts.map +1 -0
  1529. package/lib/spectra/ui/fieldStyles.js +61 -0
  1530. package/lib/spectra/ui/fieldStyles.js.map +1 -0
  1531. package/lib/spectra/ui/problemsAbout.d.ts +8 -8
  1532. package/lib/spectra/ui/problemsAbout.d.ts.map +1 -1
  1533. package/lib/spectra/ui/problemsAbout.js +8 -8
  1534. package/lib/spectra/ui/problemsAbout.js.map +1 -1
  1535. package/lib/spectra/ui/rowKeys.d.ts +24 -10
  1536. package/lib/spectra/ui/rowKeys.d.ts.map +1 -1
  1537. package/lib/spectra/ui/rowKeys.js +32 -16
  1538. package/lib/spectra/ui/rowKeys.js.map +1 -1
  1539. package/lib/spectra/ui/scaleOptions.d.ts +5 -0
  1540. package/lib/spectra/ui/scaleOptions.d.ts.map +1 -1
  1541. package/lib/spectra/ui/scaleOptions.js +11 -10
  1542. package/lib/spectra/ui/scaleOptions.js.map +1 -1
  1543. package/lib/spectra.d.ts +13 -0
  1544. package/lib/spectra.d.ts.map +1 -0
  1545. package/lib/spectra.js +13 -0
  1546. package/lib/spectra.js.map +1 -0
  1547. package/lib/state/core/index.d.ts +5 -0
  1548. package/lib/state/core/index.d.ts.map +1 -0
  1549. package/lib/state/core/index.js +3 -0
  1550. package/lib/state/core/index.js.map +1 -0
  1551. package/lib/state/core/mergeStored.d.ts.map +1 -0
  1552. package/lib/state/core/mergeStored.js.map +1 -0
  1553. package/lib/state/core/persistBucket.d.ts.map +1 -0
  1554. package/lib/state/core/persistBucket.js +36 -0
  1555. package/lib/state/core/persistBucket.js.map +1 -0
  1556. package/lib/state/core/persistSignalBucket.d.ts +51 -0
  1557. package/lib/state/core/persistSignalBucket.d.ts.map +1 -0
  1558. package/lib/state/core/persistSignalBucket.js +79 -0
  1559. package/lib/state/core/persistSignalBucket.js.map +1 -0
  1560. package/lib/state/core/storageEntry.d.ts +36 -0
  1561. package/lib/state/core/storageEntry.d.ts.map +1 -0
  1562. package/lib/state/core/storageEntry.js +93 -0
  1563. package/lib/state/core/storageEntry.js.map +1 -0
  1564. package/lib/structure/core/atomLabels.d.ts +41 -0
  1565. package/lib/structure/core/atomLabels.d.ts.map +1 -0
  1566. package/lib/structure/core/atomLabels.js +43 -0
  1567. package/lib/structure/core/atomLabels.js.map +1 -0
  1568. package/lib/structure/core/editorValue.d.ts +5 -1
  1569. package/lib/structure/core/editorValue.d.ts.map +1 -1
  1570. package/lib/structure/core/editorValue.js.map +1 -1
  1571. package/lib/structure/core/index.d.ts +7 -2
  1572. package/lib/structure/core/index.d.ts.map +1 -1
  1573. package/lib/structure/core/index.js +4 -2
  1574. package/lib/structure/core/index.js.map +1 -1
  1575. package/lib/structure/core/readStructure.d.ts +1 -0
  1576. package/lib/structure/core/readStructure.d.ts.map +1 -1
  1577. package/lib/structure/core/readStructure.js.map +1 -1
  1578. package/lib/structure/core/structureError.d.ts +25 -0
  1579. package/lib/structure/core/structureError.d.ts.map +1 -0
  1580. package/lib/structure/core/structureError.js +47 -0
  1581. package/lib/structure/core/structureError.js.map +1 -0
  1582. package/lib/structure/core/structureSource.d.ts +20 -5
  1583. package/lib/structure/core/structureSource.d.ts.map +1 -1
  1584. package/lib/structure/core/structureSource.js.map +1 -1
  1585. package/lib/structure/ui/EditorCanvas.d.ts +2 -1
  1586. package/lib/structure/ui/EditorCanvas.d.ts.map +1 -1
  1587. package/lib/structure/ui/Structure.d.ts +32 -0
  1588. package/lib/structure/ui/Structure.d.ts.map +1 -1
  1589. package/lib/structure/ui/Structure.js +2 -2
  1590. package/lib/structure/ui/Structure.js.map +1 -1
  1591. package/lib/structure/ui/StructureEditor.d.ts +9 -2
  1592. package/lib/structure/ui/StructureEditor.d.ts.map +1 -1
  1593. package/lib/structure/ui/StructureEditor.js +3 -2
  1594. package/lib/structure/ui/StructureEditor.js.map +1 -1
  1595. package/lib/structure/ui/StructurePlaceholder.d.ts +2 -1
  1596. package/lib/structure/ui/StructurePlaceholder.d.ts.map +1 -1
  1597. package/lib/structure/ui/StructurePlaceholder.js +2 -1
  1598. package/lib/structure/ui/StructurePlaceholder.js.map +1 -1
  1599. package/lib/structure/ui/StructureSvg.d.ts +27 -6
  1600. package/lib/structure/ui/StructureSvg.d.ts.map +1 -1
  1601. package/lib/structure/ui/StructureSvg.js +60 -19
  1602. package/lib/structure/ui/StructureSvg.js.map +1 -1
  1603. package/lib/structure/ui/useToolbarFloor.d.ts +1 -0
  1604. package/lib/structure/ui/useToolbarFloor.d.ts.map +1 -1
  1605. package/lib/structure/ui/useToolbarFloor.js.map +1 -1
  1606. package/lib/tokens/core/checkTokens.d.ts +12 -4
  1607. package/lib/tokens/core/checkTokens.d.ts.map +1 -1
  1608. package/lib/tokens/core/checkTokens.js +29 -43
  1609. package/lib/tokens/core/checkTokens.js.map +1 -1
  1610. package/lib/tokens/core/colors.d.ts +2 -1
  1611. package/lib/tokens/core/colors.d.ts.map +1 -1
  1612. package/lib/tokens/core/cssReading.d.ts +62 -0
  1613. package/lib/tokens/core/cssReading.d.ts.map +1 -0
  1614. package/lib/tokens/core/cssReading.js +129 -0
  1615. package/lib/tokens/core/cssReading.js.map +1 -0
  1616. package/lib/tokens/core/familyTokens.d.ts +60 -0
  1617. package/lib/tokens/core/familyTokens.d.ts.map +1 -0
  1618. package/lib/tokens/core/familyTokens.js +63 -0
  1619. package/lib/tokens/core/familyTokens.js.map +1 -0
  1620. package/lib/tokens/core/index.d.ts +4 -1
  1621. package/lib/tokens/core/index.d.ts.map +1 -1
  1622. package/lib/tokens/core/index.js +1 -0
  1623. package/lib/tokens/core/index.js.map +1 -1
  1624. package/lib/tokens/core/rules.d.ts +3 -2
  1625. package/lib/tokens/core/rules.d.ts.map +1 -1
  1626. package/lib/tokens/core/types.d.ts +3 -0
  1627. package/lib/tokens/core/types.d.ts.map +1 -0
  1628. package/lib/tokens/core/types.js +2 -0
  1629. package/lib/tokens/core/types.js.map +1 -0
  1630. package/lib/ui.d.ts +2 -2
  1631. package/lib/ui.d.ts.map +1 -1
  1632. package/lib/ui.js +2 -2
  1633. package/lib/ui.js.map +1 -1
  1634. package/lib/worker/core/chunks.d.ts +58 -0
  1635. package/lib/worker/core/chunks.d.ts.map +1 -0
  1636. package/lib/worker/core/chunks.js +77 -0
  1637. package/lib/worker/core/chunks.js.map +1 -0
  1638. package/lib/worker/core/index.d.ts +6 -2
  1639. package/lib/worker/core/index.d.ts.map +1 -1
  1640. package/lib/worker/core/index.js +2 -0
  1641. package/lib/worker/core/index.js.map +1 -1
  1642. package/lib/worker/core/messages.d.ts +46 -4
  1643. package/lib/worker/core/messages.d.ts.map +1 -1
  1644. package/lib/worker/core/messages.js +42 -1
  1645. package/lib/worker/core/messages.js.map +1 -1
  1646. package/lib/worker/core/serveWorkerRequests.d.ts +45 -0
  1647. package/lib/worker/core/serveWorkerRequests.d.ts.map +1 -0
  1648. package/lib/worker/core/serveWorkerRequests.js +88 -0
  1649. package/lib/worker/core/serveWorkerRequests.js.map +1 -0
  1650. package/lib/worker/core/workerChannel.d.ts +12 -61
  1651. package/lib/worker/core/workerChannel.d.ts.map +1 -1
  1652. package/lib/worker/core/workerChannel.js +175 -88
  1653. package/lib/worker/core/workerChannel.js.map +1 -1
  1654. package/lib/worker/core/workerChannelParts.d.ts +105 -0
  1655. package/lib/worker/core/workerChannelParts.d.ts.map +1 -0
  1656. package/lib/worker/core/workerChannelParts.js +93 -0
  1657. package/lib/worker/core/workerChannelParts.js.map +1 -0
  1658. package/lib/worker/core/workerChannelTypes.d.ts +118 -0
  1659. package/lib/worker/core/workerChannelTypes.d.ts.map +1 -0
  1660. package/lib/worker/core/workerChannelTypes.js +2 -0
  1661. package/lib/worker/core/workerChannelTypes.js.map +1 -0
  1662. package/package.json +15 -6
  1663. package/src/about/core/about.ts +32 -0
  1664. package/src/about/core/index.ts +3 -1
  1665. package/src/about/core/providers.ts +45 -0
  1666. package/src/about/ui/AboutCitations.tsx +10 -36
  1667. package/src/about/ui/AboutPage.tsx +37 -8
  1668. package/src/about/ui/AboutProvidedBy.tsx +165 -0
  1669. package/src/about/ui/index.ts +2 -0
  1670. package/src/capsule/ui/CapsuleFilter.tsx +167 -42
  1671. package/src/capsule/ui/index.ts +8 -1
  1672. package/src/chart/core/chartAxisPair.ts +47 -0
  1673. package/src/chart/core/chartAxisScale.ts +4 -8
  1674. package/src/chart/core/chartBins.ts +2 -6
  1675. package/src/chart/core/chartGroups.ts +24 -0
  1676. package/src/chart/core/chartLabels.ts +4 -8
  1677. package/src/chart/core/chartPalette.ts +7 -7
  1678. package/src/chart/core/chartScale.ts +17 -0
  1679. package/src/chart/core/matrix.ts +24 -0
  1680. package/src/chart/ui/ChartAxis.tsx +5 -2
  1681. package/src/chart/ui/ChartFrame.tsx +22 -31
  1682. package/src/chart/ui/ChartSeriesMarks.tsx +6 -7
  1683. package/src/chart/ui/ChartTrackingLayer.tsx +2 -3
  1684. package/src/chart/ui/TrackedLineChart.tsx +17 -2
  1685. package/src/chart/ui/TrackedStickChart.tsx +8 -3
  1686. package/src/chart/ui/chartFrameGeometry.ts +53 -0
  1687. package/src/chart/ui/index.ts +3 -4
  1688. package/src/chart/ui/stickChartModel.ts +20 -23
  1689. package/src/chart/ui/useWheelZoom.ts +29 -43
  1690. package/src/chart/ui/wheelDwell.ts +123 -0
  1691. package/src/chrome/ui/NavLink.tsx +35 -5
  1692. package/src/chrome/ui/NavMenuButton.tsx +25 -4
  1693. package/src/chrome/ui/SiteHeader.tsx +23 -0
  1694. package/src/chrome/ui/navItem.ts +5 -3
  1695. package/src/citation/core/index.ts +1 -0
  1696. package/src/citation/core/openchemlibPaper.ts +33 -0
  1697. package/src/citation/core/platformPaper.ts +2 -2
  1698. package/src/clipboard/core/clipboardItem.ts +28 -0
  1699. package/src/clipboard/core/index.ts +3 -0
  1700. package/src/clipboard/core/writeBlobToClipboard.ts +43 -0
  1701. package/src/clipboard/core/writeToClipboard.ts +39 -7
  1702. package/src/clipboard/ui/CodeBlock.tsx +14 -10
  1703. package/src/clipboard/ui/CopyButton.tsx +53 -13
  1704. package/src/clipboard/ui/CopyableValue.tsx +138 -0
  1705. package/src/clipboard/ui/copyFeedback.ts +68 -0
  1706. package/src/clipboard/ui/index.ts +3 -1
  1707. package/src/clipboard/ui/useCopyToClipboard.ts +54 -26
  1708. package/src/color/core/hex.ts +19 -3
  1709. package/src/color/core/hsv.ts +5 -9
  1710. package/src/color/core/index.ts +2 -7
  1711. package/src/color/core/interpolate.ts +3 -6
  1712. package/src/color/core/scale.ts +5 -52
  1713. package/src/color/core/scaleText.ts +5 -4
  1714. package/src/color/ui/ColorScaleBar.tsx +7 -0
  1715. package/src/color/ui/ColorScaleEditor.tsx +17 -15
  1716. package/src/color/ui/ColorScaleEntry.tsx +67 -0
  1717. package/src/color/ui/ColorScaleLegend.tsx +86 -31
  1718. package/src/color/ui/ColorScaleSelect.tsx +19 -66
  1719. package/src/confirm/ui/ConfirmButton.tsx +83 -0
  1720. package/src/confirm/ui/index.ts +2 -0
  1721. package/src/core.ts +5 -1
  1722. package/src/credits/core/credits.ts +10 -3
  1723. package/src/credits/ui/CreditsList.tsx +4 -4
  1724. package/src/delimited/core/index.ts +6 -7
  1725. package/src/delimited/ui/DelimitedTextDialog.tsx +8 -1
  1726. package/src/delimited/ui/DelimitedTextPanel.tsx +15 -5
  1727. package/src/deploy/core/checkDeploy.ts +84 -0
  1728. package/src/deploy/core/composeDocument.ts +181 -0
  1729. package/src/deploy/core/composeFile.ts +195 -0
  1730. package/src/deploy/core/envExample.ts +46 -0
  1731. package/src/deploy/core/index.ts +8 -0
  1732. package/src/deploy/core/markers.ts +21 -0
  1733. package/src/deploy/core/types.ts +87 -0
  1734. package/src/disclosure/ui/CollapsibleSection.tsx +3 -5
  1735. package/src/download/ui/FigureDownloadPanel.tsx +14 -3
  1736. package/src/ecosystem/core/groups.ts +59 -0
  1737. package/src/ecosystem/core/index.ts +12 -3
  1738. package/src/ecosystem/core/lookup.ts +38 -0
  1739. package/src/ecosystem/core/nameColors.ts +50 -0
  1740. package/src/ecosystem/core/sites.ts +41 -72
  1741. package/src/ecosystem/core/tokens.ts +0 -11
  1742. package/src/ecosystem/core/types.ts +94 -0
  1743. package/src/ecosystem/ui/EcosystemButton.tsx +9 -2
  1744. package/src/ecosystem/ui/EcosystemLinks.tsx +67 -49
  1745. package/src/ecosystem/ui/EcosystemMenu.tsx +30 -37
  1746. package/src/ecosystem/ui/SiteGroupGrid.tsx +65 -0
  1747. package/src/ecosystem/ui/SiteGroupSection.tsx +64 -0
  1748. package/src/ecosystem/ui/SiteTheme.tsx +1 -0
  1749. package/src/ecosystem/ui/SiteTile.tsx +29 -9
  1750. package/src/ecosystem/ui/Wordmark.tsx +12 -12
  1751. package/src/ecosystem/ui/ecosystemStyles.ts +11 -0
  1752. package/src/ecosystem/ui/glyphs.tsx +29 -10
  1753. package/src/ecosystem/ui/marks.tsx +15 -1
  1754. package/src/error/core/index.ts +1 -0
  1755. package/src/error/{ui → core}/toError.ts +13 -3
  1756. package/src/error/ui/ErrorBoundary.tsx +2 -1
  1757. package/src/error/ui/index.ts +4 -1
  1758. package/src/format/core/clamp.ts +24 -0
  1759. package/src/format/core/index.ts +8 -0
  1760. package/src/format/core/numbers.ts +51 -13
  1761. package/src/format/core/relativeTime.ts +80 -0
  1762. package/src/format/core/roundTo.ts +27 -0
  1763. package/src/format/core/superscript.ts +22 -0
  1764. package/src/format/core/units.ts +53 -6
  1765. package/src/help/ui/HelpBody.tsx +55 -19
  1766. package/src/help/ui/HelpIcon.tsx +30 -8
  1767. package/src/help/ui/HelpToolbarButton.tsx +2 -1
  1768. package/src/help/ui/HelpTooltip.tsx +7 -0
  1769. package/src/help/ui/helpName.ts +11 -0
  1770. package/src/hooks/ui/activationKey.ts +58 -0
  1771. package/src/hooks/ui/activeHeading.ts +30 -0
  1772. package/src/hooks/ui/asyncState.ts +38 -0
  1773. package/src/hooks/ui/documentListNavigation.ts +87 -0
  1774. package/src/hooks/ui/elementTarget.ts +18 -0
  1775. package/src/hooks/ui/index.ts +22 -0
  1776. package/src/hooks/ui/keyTargets.ts +73 -0
  1777. package/src/hooks/ui/listNavigation.ts +10 -16
  1778. package/src/hooks/ui/pollingController.ts +139 -0
  1779. package/src/hooks/ui/useActiveHeading.ts +73 -0
  1780. package/src/hooks/ui/useAsync.ts +44 -0
  1781. package/src/hooks/ui/useDocumentListNavigation.ts +70 -0
  1782. package/src/hooks/ui/usePolling.ts +97 -0
  1783. package/src/hooks/ui/useResizeObserver.ts +9 -5
  1784. package/src/molecule3d/core/exportImage.ts +50 -0
  1785. package/src/molecule3d/core/gestures.ts +35 -0
  1786. package/src/molecule3d/core/index.ts +35 -0
  1787. package/src/molecule3d/core/measurement.ts +43 -0
  1788. package/src/molecule3d/core/settings.ts +214 -0
  1789. package/src/molecule3d/ui/Molecule3DExport.tsx +65 -0
  1790. package/src/molecule3d/ui/Molecule3DHelp.tsx +77 -0
  1791. package/src/molecule3d/ui/Molecule3DOptions.tsx +168 -0
  1792. package/src/molecule3d/ui/Molecule3DSurfaceColors.tsx +150 -0
  1793. package/src/molecule3d/ui/Molecule3DToolbar.tsx +190 -0
  1794. package/src/molecule3d/ui/MoleculeCanvas3D.tsx +235 -0
  1795. package/src/molecule3d/ui/MoleculeViewer3D.tsx +84 -0
  1796. package/src/molecule3d/ui/camera.ts +76 -0
  1797. package/src/molecule3d/ui/drawScene.ts +43 -0
  1798. package/src/molecule3d/ui/exportMoleculeImage.ts +49 -0
  1799. package/src/molecule3d/ui/index.ts +11 -0
  1800. package/src/molecule3d/ui/measurements.ts +178 -0
  1801. package/src/molecule3d/ui/molecule3dIcons.tsx +108 -0
  1802. package/src/molecule3d/ui/moleculeViewer3DProps.ts +98 -0
  1803. package/src/molecule3d/ui/polarityColorTheme.ts +125 -0
  1804. package/src/molecule3d/ui/renderMolecule.ts +179 -0
  1805. package/src/molecule3d/ui/renderSurface.ts +88 -0
  1806. package/src/molecule3d/ui/useControlledState.ts +31 -0
  1807. package/src/molecule3d/ui/useImageExport.ts +50 -0
  1808. package/src/molecule3d/ui/usePolarSurfaceArea.ts +47 -0
  1809. package/src/molecule3d/ui/viewer.ts +240 -0
  1810. package/src/molecule3d/ui/viewerTypes.ts +60 -0
  1811. package/src/molecule3d.ts +11 -0
  1812. package/src/orbital/core/atomicGrid.ts +3 -2
  1813. package/src/orbital/core/atomicOrbitals.ts +2 -5
  1814. package/src/orbital/core/constants.ts +3 -0
  1815. package/src/orbital/core/electronConfiguration.ts +29 -40
  1816. package/src/orbital/core/grid.ts +3 -0
  1817. package/src/orbital/core/index.ts +5 -0
  1818. package/src/orbital/core/isovalue.ts +3 -2
  1819. package/src/orbital/core/occupancy.ts +2 -4
  1820. package/src/orbital/core/palette.ts +10 -6
  1821. package/src/orbital/core/radialDistribution.ts +97 -0
  1822. package/src/orbital/core/realHarmonics.ts +3 -3
  1823. package/src/orbital/ui/AtomicOrbitalCanvas.tsx +35 -112
  1824. package/src/orbital/ui/AtomicOrbitalControls.tsx +81 -0
  1825. package/src/orbital/ui/AtomicOrbitalViewer.tsx +22 -22
  1826. package/src/orbital/ui/RadialPlot.tsx +183 -0
  1827. package/src/orbital/ui/RadialPlotMarks.tsx +129 -0
  1828. package/src/orbital/ui/camera.ts +1 -1
  1829. package/src/orbital/ui/index.ts +3 -1
  1830. package/src/orbital/ui/orbitalCanvasHelpers.ts +42 -0
  1831. package/src/orbital/ui/orbitalPluginSpec.ts +47 -0
  1832. package/src/orbital/ui/radialPlotGeometry.ts +131 -0
  1833. package/src/orbital/ui/renderAxes.ts +14 -14
  1834. package/src/orbital/ui/renderVolume.ts +13 -13
  1835. package/src/orbital/ui/serial.ts +1 -1
  1836. package/src/orbital/ui/viewer.ts +6 -36
  1837. package/src/orbital.ts +5 -4
  1838. package/src/overlay/core/index.ts +2 -1
  1839. package/src/overlay/core/overlayCollapse.ts +32 -0
  1840. package/src/overlay/core/placeOverlayCard.ts +3 -3
  1841. package/src/overlay/ui/OverlayBar.tsx +6 -12
  1842. package/src/overlay/ui/OverlayBarButton.tsx +2 -1
  1843. package/src/overlay/ui/OverlayBarCard.tsx +1 -1
  1844. package/src/overlay/ui/OverlayChip.tsx +3 -6
  1845. package/src/overlay/ui/OverlayIconButton.tsx +6 -8
  1846. package/src/overlay/ui/OverlayLayer.tsx +2 -3
  1847. package/src/overlay/ui/OverlayLegend.tsx +2 -1
  1848. package/src/overlay/ui/OverlayNumber.tsx +13 -9
  1849. package/src/overlay/ui/OverlayPanel.tsx +8 -7
  1850. package/src/overlay/ui/OverlayRow.tsx +6 -2
  1851. package/src/overlay/ui/OverlayToggle.tsx +1 -0
  1852. package/src/overlay/ui/OverlayValueButton.tsx +5 -10
  1853. package/src/overlay/ui/overlayBarShape.ts +1 -60
  1854. package/src/overlay/ui/overlayControlStyles.ts +13 -3
  1855. package/src/overlay/ui/overlayPanelContext.ts +3 -0
  1856. package/src/overlay/ui/overlayPanelStyles.ts +10 -4
  1857. package/src/overlay/ui/overlayPillStyles.ts +1 -1
  1858. package/src/overlay/ui/overlayRowStyles.ts +2 -2
  1859. package/src/overlay/ui/overlaySurface.ts +2 -0
  1860. package/src/overlay/ui/overlaySwitchStyles.ts +1 -1
  1861. package/src/overlay/ui/overlayValueStyles.ts +68 -54
  1862. package/src/overlay/ui/useOverlayInteraction.ts +46 -0
  1863. package/src/pedagogy/core/bucketProgressStore.ts +83 -0
  1864. package/src/pedagogy/core/glossary.ts +40 -16
  1865. package/src/pedagogy/core/glossarySearch.ts +67 -0
  1866. package/src/pedagogy/core/index.ts +16 -2
  1867. package/src/pedagogy/core/inlineMarks.ts +117 -0
  1868. package/src/pedagogy/core/progress.ts +48 -57
  1869. package/src/pedagogy/core/types.ts +4 -0
  1870. package/src/pedagogy/core/validation.ts +3 -0
  1871. package/src/pedagogy/ui/ExerciseActions.tsx +1 -0
  1872. package/src/pedagogy/ui/ExerciseProgressHeader.tsx +3 -1
  1873. package/src/pedagogy/ui/ExerciseTags.tsx +18 -2
  1874. package/src/pedagogy/ui/GlossaryDefinition.tsx +136 -0
  1875. package/src/pedagogy/ui/GlossaryIndex.tsx +171 -0
  1876. package/src/pedagogy/ui/GlossaryProvider.tsx +36 -8
  1877. package/src/pedagogy/ui/GlossaryText.tsx +62 -113
  1878. package/src/pedagogy/ui/HintLadder.tsx +11 -3
  1879. package/src/pedagogy/ui/InlineText.tsx +39 -0
  1880. package/src/pedagogy/ui/ReferenceGrid.tsx +4 -5
  1881. package/src/pedagogy/ui/ReferenceSectionBlock.tsx +19 -17
  1882. package/src/pedagogy/ui/SyntaxTooltip.tsx +32 -28
  1883. package/src/pedagogy/ui/TestCaseList.tsx +5 -3
  1884. package/src/pedagogy/ui/TutorialStepStrip.tsx +14 -10
  1885. package/src/pedagogy/ui/exampleText.ts +18 -0
  1886. package/src/pedagogy/ui/glossaryContext.ts +26 -6
  1887. package/src/pedagogy/ui/index.ts +14 -1
  1888. package/src/pedagogy/ui/inlineSegments.tsx +69 -0
  1889. package/src/pedagogy/ui/pedagogyStyle.ts +53 -0
  1890. package/src/periodic/core/categories.ts +1 -1
  1891. package/src/periodic/core/elements.ts +2 -0
  1892. package/src/periodic/core/layout.ts +16 -10
  1893. package/src/periodic/ui/CategoryLegend.tsx +9 -3
  1894. package/src/periodic/ui/ElementCell.tsx +9 -1
  1895. package/src/periodic/ui/PeriodicTable.tsx +10 -3
  1896. package/src/periodic/ui/PeriodicTableChrome.tsx +6 -5
  1897. package/src/projection/core/explainedShares.ts +1 -1
  1898. package/src/projection/core/fillCopy.ts +21 -0
  1899. package/src/projection/core/index.ts +12 -10
  1900. package/src/projection/core/loadingProfiles.ts +10 -4
  1901. package/src/projection/core/mergeProjectionCopy.ts +39 -0
  1902. package/src/projection/core/pcaColumns.ts +84 -0
  1903. package/src/projection/core/pcaLike.ts +30 -4
  1904. package/src/projection/core/pcaResult.ts +17 -45
  1905. package/src/projection/core/projectionCopy.ts +50 -65
  1906. package/src/projection/core/projectionOptions.ts +0 -131
  1907. package/src/projection/core/projectionPanelWords.ts +152 -0
  1908. package/src/projection/core/projectionResult.ts +1 -1
  1909. package/src/projection/core/projectionStrings.ts +0 -52
  1910. package/src/projection/core/resolveProjectionOptions.ts +132 -0
  1911. package/src/projection/core/variableAxis.ts +5 -14
  1912. package/src/projection/ui/ProjectionBar.tsx +3 -3
  1913. package/src/projection/ui/ProjectionMapCaption.tsx +1 -1
  1914. package/src/projection/ui/ProjectionMapControls.tsx +8 -32
  1915. package/src/projection/ui/ProjectionMapLegend.tsx +1 -1
  1916. package/src/projection/ui/ProjectionMapMore.tsx +23 -55
  1917. package/src/projection/ui/ProjectionMapTab.tsx +2 -2
  1918. package/src/projection/ui/ProjectionPairsControls.tsx +1 -1
  1919. package/src/projection/ui/ProjectionPairsMore.tsx +5 -6
  1920. package/src/projection/ui/ProjectionPairsTab.tsx +5 -4
  1921. package/src/projection/ui/ProjectionPanel.tsx +3 -3
  1922. package/src/projection/ui/ProjectionReadout.tsx +1 -1
  1923. package/src/projection/ui/ProjectionSharesAxis.tsx +67 -0
  1924. package/src/projection/ui/ProjectionSharesMarks.tsx +36 -78
  1925. package/src/projection/ui/ProjectionSharesMore.tsx +3 -7
  1926. package/src/projection/ui/ProjectionSharesTab.tsx +4 -2
  1927. package/src/projection/ui/ProjectionSpaceControls.tsx +18 -34
  1928. package/src/projection/ui/ProjectionSpaceMore.tsx +34 -57
  1929. package/src/projection/ui/ProjectionSpaceTab.tsx +2 -2
  1930. package/src/projection/ui/ProjectionSurface.tsx +1 -1
  1931. package/src/projection/ui/ProjectionTabStrip.tsx +40 -7
  1932. package/src/projection/ui/ProjectionVariablesControls.tsx +1 -1
  1933. package/src/projection/ui/ProjectionVariablesMore.tsx +12 -30
  1934. package/src/projection/ui/ProjectionVariablesTab.tsx +2 -4
  1935. package/src/projection/ui/ProjectionViewer.tsx +6 -13
  1936. package/src/projection/ui/projectionAxisChoices.ts +31 -0
  1937. package/src/projection/ui/projectionBarReadings.ts +31 -10
  1938. package/src/projection/ui/projectionBarSlots.tsx +2 -2
  1939. package/src/projection/ui/projectionBarStyles.ts +2 -2
  1940. package/src/projection/ui/projectionEllipse.ts +57 -17
  1941. package/src/projection/ui/projectionFormat.ts +3 -1
  1942. package/src/projection/ui/projectionMapChoices.ts +6 -4
  1943. package/src/projection/ui/projectionMapChrome.ts +18 -23
  1944. package/src/projection/ui/projectionMapModel.ts +2 -4
  1945. package/src/projection/ui/projectionMapView.ts +1 -1
  1946. package/src/projection/ui/projectionPairsCeiling.ts +1 -1
  1947. package/src/projection/ui/projectionTabInfo.ts +7 -8
  1948. package/src/projection/ui/projectionTabModels.ts +8 -3
  1949. package/src/projection/ui/projectionVariablesModel.ts +6 -5
  1950. package/src/projection/ui/projectionVariablesWords.ts +1 -1
  1951. package/src/projection/ui/projectionViewChoices.ts +4 -9
  1952. package/src/projection/ui/projectionViewerProps.ts +2 -1
  1953. package/src/projection/ui/projectionWordChoices.ts +66 -0
  1954. package/src/projection/ui/useProjectionState.ts +2 -2
  1955. package/src/router/core/address.ts +24 -8
  1956. package/src/router/core/basePath.ts +4 -2
  1957. package/src/router/core/history.ts +160 -0
  1958. package/src/router/core/index.ts +18 -6
  1959. package/src/router/core/query.ts +77 -20
  1960. package/src/router/core/siteAddresses.ts +98 -0
  1961. package/src/router/core/tabRouter.ts +23 -6
  1962. package/src/router/ui/index.ts +1 -0
  1963. package/src/router/ui/useTabRoute.ts +35 -0
  1964. package/src/scatter/core/confidenceEllipse.ts +80 -109
  1965. package/src/scatter/core/ellipseAxes.ts +85 -0
  1966. package/src/scatter/core/ellipseProjection.ts +1 -1
  1967. package/src/scatter/core/index.ts +12 -2
  1968. package/src/scatter/core/lassoPath.ts +3 -2
  1969. package/src/scatter/core/scatterGroupMoments.ts +127 -0
  1970. package/src/scatter/core/scatterGroupSpread.ts +131 -0
  1971. package/src/scatter/core/screenPoints.ts +38 -1
  1972. package/src/scatter/ui/ScatterEllipseLayer.tsx +24 -68
  1973. package/src/scatter/ui/ScatterLabelLayer.tsx +8 -12
  1974. package/src/scatter/ui/ScatterMarkLayer.tsx +7 -35
  1975. package/src/scatter/ui/ScatterMatrix.tsx +9 -17
  1976. package/src/scatter/ui/ScatterMatrixCell.tsx +1 -1
  1977. package/src/scatter/ui/ScatterMatrixDiagonal.tsx +3 -2
  1978. package/src/scatter/ui/ScatterOverlayLayers.tsx +40 -0
  1979. package/src/scatter/ui/ScatterPlot.tsx +35 -126
  1980. package/src/scatter/ui/ScatterPointLayer.tsx +28 -15
  1981. package/src/scatter/ui/index.ts +11 -17
  1982. package/src/scatter/ui/scatterFigureProps.ts +191 -0
  1983. package/src/scatter/ui/scatterInteractionTypes.ts +127 -0
  1984. package/src/scatter/ui/scatterLabels.ts +4 -15
  1985. package/src/scatter/ui/scatterMarkGlyph.tsx +7 -8
  1986. package/src/scatter/ui/scatterMatrixDots.tsx +20 -16
  1987. package/src/scatter/ui/scatterMatrixLayout.ts +1 -1
  1988. package/src/scatter/ui/scatterMatrixOutlines.tsx +1 -1
  1989. package/src/scatter/ui/scatterMatrixProps.ts +8 -2
  1990. package/src/scatter/ui/scatterOutlineShape.tsx +12 -13
  1991. package/src/scatter/ui/scatterPlotModel.ts +59 -35
  1992. package/src/scatter/ui/scatterPlotProps.ts +13 -177
  1993. package/src/scatter/ui/useCapturedPointer.ts +157 -0
  1994. package/src/scatter/ui/useLassoGesture.ts +58 -118
  1995. package/src/scatter/ui/useScatterFrame.ts +5 -24
  1996. package/src/scatter/ui/useScatterInteraction.ts +35 -101
  1997. package/src/scatter/ui/useScatterLabels.ts +88 -0
  1998. package/src/scatter3d/core/confidenceEllipsoid.ts +35 -73
  1999. package/src/scatter3d/core/ellipsoidSilhouette.ts +9 -15
  2000. package/src/scatter3d/core/index.ts +4 -4
  2001. package/src/scatter3d/ui/CloudFrameLayer.tsx +6 -1
  2002. package/src/scatter3d/ui/CloudShellLayer.tsx +5 -6
  2003. package/src/scatter3d/ui/ScatterCloud.tsx +52 -117
  2004. package/src/scatter3d/ui/cloudGeometry.ts +44 -21
  2005. package/src/scatter3d/ui/cloudShellStyles.ts +9 -10
  2006. package/src/scatter3d/ui/cloudZoom.ts +3 -2
  2007. package/src/scatter3d/ui/index.ts +1 -3
  2008. package/src/scatter3d/ui/orbitDragTrack.ts +133 -0
  2009. package/src/scatter3d/ui/scatterCloudModel.ts +6 -5
  2010. package/src/scatter3d/ui/scatterCloudProps.ts +10 -110
  2011. package/src/scatter3d/ui/useOrbitDrag.ts +63 -125
  2012. package/src/seo/core/documentMeta.ts +3 -6
  2013. package/src/seo/core/index.ts +5 -12
  2014. package/src/seo/core/noscript.ts +4 -2
  2015. package/src/seo/core/plainDescription.ts +107 -0
  2016. package/src/seo/core/routes.ts +34 -29
  2017. package/src/seo/core/siteFiles.ts +1 -1
  2018. package/src/seo/core/startDocumentMeta.ts +3 -4
  2019. package/src/seo/core/trackingScript.ts +25 -0
  2020. package/src/seo/vite/ogCard.ts +11 -9
  2021. package/src/seo/vite/prerender.ts +2 -1
  2022. package/src/share/core/config.ts +24 -1
  2023. package/src/share/core/index.ts +17 -0
  2024. package/src/share/core/params.ts +54 -0
  2025. package/src/share/core/preferences.ts +211 -0
  2026. package/src/share/core/presets.ts +89 -0
  2027. package/src/share/core/vocabulary.ts +8 -0
  2028. package/src/share/ui/ShareButton.tsx +8 -2
  2029. package/src/share/ui/ShareConfigOptions.tsx +68 -0
  2030. package/src/share/ui/ShareDialog.tsx +19 -1
  2031. package/src/share/ui/ShareDialogContent.tsx +64 -39
  2032. package/src/share/ui/SharePresetTabs.tsx +70 -0
  2033. package/src/shared/ui/MenuButton.tsx +1 -0
  2034. package/src/shared/ui/joinClassNames.ts +20 -0
  2035. package/src/slides/core/familyFrame.ts +44 -0
  2036. package/src/slides/core/index.ts +1 -6
  2037. package/src/slides/ui/BackToSlides.tsx +8 -2
  2038. package/src/slides/ui/EmbedSlide.tsx +1 -13
  2039. package/src/slides/ui/SlideBody.tsx +21 -4
  2040. package/src/slides/ui/Slideshow.tsx +13 -50
  2041. package/src/slides/ui/SlideshowBar.tsx +4 -4
  2042. package/src/slides/ui/TalkList.tsx +8 -1
  2043. package/src/slides/ui/index.ts +1 -0
  2044. package/src/slides/ui/slideSanitizeSchema.ts +29 -0
  2045. package/src/slides/ui/useSlideshowFullscreen.ts +59 -0
  2046. package/src/spectra/core/axisEntries.ts +17 -0
  2047. package/src/spectra/core/chainProblems.ts +89 -50
  2048. package/src/spectra/core/filterCatalog.ts +4 -5
  2049. package/src/spectra/core/filterChain.ts +88 -23
  2050. package/src/spectra/core/filterEntries.ts +22 -7
  2051. package/src/spectra/core/index.ts +9 -8
  2052. package/src/spectra/core/matrixCatalog.ts +111 -0
  2053. package/src/spectra/core/principalComponents.ts +7 -21
  2054. package/src/spectra/core/problems.ts +43 -6
  2055. package/src/spectra/core/settings.ts +19 -16
  2056. package/src/spectra/core/settingsProblems.ts +64 -55
  2057. package/src/spectra/core/stepProblems.ts +34 -50
  2058. package/src/spectra/core/zones.ts +64 -0
  2059. package/src/spectra/ui/CalculationRows.tsx +45 -99
  2060. package/src/spectra/ui/EditableRows.tsx +118 -0
  2061. package/src/spectra/ui/FilterChainEditor.tsx +26 -55
  2062. package/src/spectra/ui/FilterChoiceControl.tsx +12 -36
  2063. package/src/spectra/ui/FilterFieldControl.tsx +6 -39
  2064. package/src/spectra/ui/FilterRow.tsx +10 -21
  2065. package/src/spectra/ui/MatrixFilterRows.tsx +40 -50
  2066. package/src/spectra/ui/NormalizationEditor.tsx +13 -35
  2067. package/src/spectra/ui/NumberField.tsx +5 -20
  2068. package/src/spectra/ui/PostProcessingEditor.tsx +5 -5
  2069. package/src/spectra/ui/PrincipalComponentSelect.tsx +18 -33
  2070. package/src/spectra/ui/ProblemList.tsx +22 -8
  2071. package/src/spectra/ui/RangeRows.tsx +46 -125
  2072. package/src/spectra/ui/ScaleFields.tsx +16 -67
  2073. package/src/spectra/ui/SettingsPart.tsx +8 -13
  2074. package/src/spectra/ui/SpectraSettingsEditor.tsx +8 -2
  2075. package/src/spectra/ui/SpectrumSelection.tsx +10 -25
  2076. package/src/spectra/ui/XWindowFields.tsx +73 -0
  2077. package/src/spectra/ui/ZoneRows.tsx +41 -106
  2078. package/src/spectra/ui/fieldStyles.ts +72 -0
  2079. package/src/spectra/ui/problemsAbout.ts +9 -11
  2080. package/src/spectra/ui/rowKeys.ts +51 -20
  2081. package/src/spectra/ui/scaleOptions.ts +16 -10
  2082. package/src/spectra.ts +13 -0
  2083. package/src/state/core/index.ts +11 -0
  2084. package/src/state/{ui → core}/persistBucket.ts +13 -62
  2085. package/src/state/core/persistSignalBucket.ts +118 -0
  2086. package/src/state/core/storageEntry.ts +93 -0
  2087. package/src/structure/core/atomLabels.ts +63 -0
  2088. package/src/structure/core/editorValue.ts +5 -1
  2089. package/src/structure/core/index.ts +11 -2
  2090. package/src/structure/core/readStructure.ts +1 -0
  2091. package/src/structure/core/structureError.ts +58 -0
  2092. package/src/structure/core/structureSource.ts +20 -5
  2093. package/src/structure/ui/EditorCanvas.tsx +1 -1
  2094. package/src/structure/ui/Structure.tsx +41 -0
  2095. package/src/structure/ui/StructureEditor.tsx +13 -4
  2096. package/src/structure/ui/StructurePlaceholder.tsx +4 -2
  2097. package/src/structure/ui/StructureSvg.tsx +118 -42
  2098. package/src/structure/ui/useToolbarFloor.ts +1 -0
  2099. package/src/tokens/core/checkTokens.ts +48 -51
  2100. package/src/tokens/core/colors.ts +1 -1
  2101. package/src/tokens/core/cssReading.ts +166 -0
  2102. package/src/tokens/core/familyTokens.ts +69 -0
  2103. package/src/tokens/core/index.ts +9 -5
  2104. package/src/tokens/core/rules.ts +2 -2
  2105. package/src/tokens/core/types.ts +7 -0
  2106. package/src/ui.ts +2 -2
  2107. package/src/worker/core/chunks.ts +126 -0
  2108. package/src/worker/core/index.ts +20 -3
  2109. package/src/worker/core/messages.ts +79 -4
  2110. package/src/worker/core/serveWorkerRequests.ts +144 -0
  2111. package/src/worker/core/workerChannel.ts +209 -177
  2112. package/src/worker/core/workerChannelParts.ts +183 -0
  2113. package/src/worker/core/workerChannelTypes.ts +129 -0
  2114. package/styles/chrome.css +82 -0
  2115. package/lib/delimited/core/rowsToDelimited.d.ts +0 -59
  2116. package/lib/delimited/core/rowsToDelimited.d.ts.map +0 -1
  2117. package/lib/delimited/core/rowsToDelimited.js +0 -87
  2118. package/lib/delimited/core/rowsToDelimited.js.map +0 -1
  2119. package/lib/ecosystem/core/links.d.ts +0 -11
  2120. package/lib/ecosystem/core/links.d.ts.map +0 -1
  2121. package/lib/ecosystem/core/links.js +0 -28
  2122. package/lib/ecosystem/core/links.js.map +0 -1
  2123. package/lib/error/ui/toError.d.ts +0 -11
  2124. package/lib/error/ui/toError.d.ts.map +0 -1
  2125. package/lib/error/ui/toError.js.map +0 -1
  2126. package/lib/pedagogy/core/jsonStorage.d.ts +0 -21
  2127. package/lib/pedagogy/core/jsonStorage.d.ts.map +0 -1
  2128. package/lib/pedagogy/core/jsonStorage.js +0 -55
  2129. package/lib/pedagogy/core/jsonStorage.js.map +0 -1
  2130. package/lib/projection/ui/projectionCloudChoices.d.ts +0 -18
  2131. package/lib/projection/ui/projectionCloudChoices.d.ts.map +0 -1
  2132. package/lib/projection/ui/projectionCloudChoices.js +0 -19
  2133. package/lib/projection/ui/projectionCloudChoices.js.map +0 -1
  2134. package/lib/projection/ui/projectionEllipsoid.d.ts +0 -38
  2135. package/lib/projection/ui/projectionEllipsoid.d.ts.map +0 -1
  2136. package/lib/projection/ui/projectionEllipsoid.js +0 -71
  2137. package/lib/projection/ui/projectionEllipsoid.js.map +0 -1
  2138. package/lib/router/core/pageAddresses.d.ts +0 -50
  2139. package/lib/router/core/pageAddresses.d.ts.map +0 -1
  2140. package/lib/router/core/pageAddresses.js +0 -56
  2141. package/lib/router/core/pageAddresses.js.map +0 -1
  2142. package/lib/scatter/ui/scatterGroupSpread.d.ts.map +0 -1
  2143. package/lib/scatter/ui/scatterGroupSpread.js +0 -147
  2144. package/lib/scatter/ui/scatterGroupSpread.js.map +0 -1
  2145. package/lib/scatter3d/ui/CloudPointLayer.d.ts +0 -62
  2146. package/lib/scatter3d/ui/CloudPointLayer.d.ts.map +0 -1
  2147. package/lib/scatter3d/ui/CloudPointLayer.js +0 -67
  2148. package/lib/scatter3d/ui/CloudPointLayer.js.map +0 -1
  2149. package/lib/spectra/ui/matrixSteps.d.ts +0 -61
  2150. package/lib/spectra/ui/matrixSteps.d.ts.map +0 -1
  2151. package/lib/spectra/ui/matrixSteps.js +0 -92
  2152. package/lib/spectra/ui/matrixSteps.js.map +0 -1
  2153. package/lib/state/ui/index.d.ts +0 -3
  2154. package/lib/state/ui/index.d.ts.map +0 -1
  2155. package/lib/state/ui/index.js +0 -2
  2156. package/lib/state/ui/index.js.map +0 -1
  2157. package/lib/state/ui/mergeStored.d.ts.map +0 -1
  2158. package/lib/state/ui/mergeStored.js.map +0 -1
  2159. package/lib/state/ui/persistBucket.d.ts.map +0 -1
  2160. package/lib/state/ui/persistBucket.js +0 -90
  2161. package/lib/state/ui/persistBucket.js.map +0 -1
  2162. package/src/delimited/core/rowsToDelimited.ts +0 -135
  2163. package/src/ecosystem/core/links.ts +0 -29
  2164. package/src/pedagogy/core/jsonStorage.ts +0 -51
  2165. package/src/projection/ui/projectionCloudChoices.ts +0 -23
  2166. package/src/projection/ui/projectionEllipsoid.ts +0 -78
  2167. package/src/router/core/pageAddresses.ts +0 -106
  2168. package/src/scatter/ui/scatterGroupSpread.ts +0 -206
  2169. package/src/scatter3d/ui/CloudPointLayer.tsx +0 -132
  2170. package/src/spectra/ui/matrixSteps.ts +0 -128
  2171. package/src/state/ui/index.ts +0 -6
  2172. /package/lib/state/{ui → core}/mergeStored.d.ts +0 -0
  2173. /package/lib/state/{ui → core}/mergeStored.js +0 -0
  2174. /package/lib/state/{ui → core}/persistBucket.d.ts +0 -0
  2175. /package/src/state/{ui → core}/mergeStored.ts +0 -0
@@ -0,0 +1,91 @@
1
+ /**
2
+ * What a drag over a cloud has done so far.
3
+ *
4
+ * Kept out of `useOrbitDrag` the way `lassoGesture` is kept out of the lasso:
5
+ * how far the pointer has travelled, which turn is waiting for the next frame
6
+ * and whether a release was a tap are questions with one answer each, and none
7
+ * of them needs React to be read or checked.
8
+ */
9
+ /**
10
+ * How far a press may travel and still be a tap, in pixels of total travel.
11
+ *
12
+ * Generous on purpose: a mouse moves a pixel or two under the click of its own
13
+ * button, and a finger moves rather more, so a stricter number turns "pick
14
+ * this sample" into "turn the box by nothing at all" for anybody whose hand is
15
+ * not steady.
16
+ */
17
+ export const ORBIT_TAP_SLACK = 5;
18
+ /**
19
+ * A track with no press behind it.
20
+ * @returns The track, to be held for the life of the surface.
21
+ */
22
+ export function createOrbitDragTrack() {
23
+ return { lastX: 0, lastY: 0, travel: 0, pending: null };
24
+ }
25
+ /**
26
+ * Start following a press.
27
+ * @param track - The track, changed in place.
28
+ * @param clientX - Where the press happened, in the window.
29
+ * @param clientY - Where it happened vertically.
30
+ */
31
+ export function pressOrbitDrag(track, clientX, clientY) {
32
+ track.lastX = clientX;
33
+ track.lastY = clientY;
34
+ track.travel = 0;
35
+ }
36
+ /**
37
+ * Remember where a pointer that turns nothing has moved to.
38
+ * @param track - The track, changed in place.
39
+ * @param x - Where the pointer is on the surface.
40
+ * @param y - Where it is vertically.
41
+ */
42
+ export function hoverOrbitDrag(track, x, y) {
43
+ track.pending = { x, y, dx: 0, dy: 0 };
44
+ }
45
+ /**
46
+ * Follow a move of the claimed pointer.
47
+ *
48
+ * The travel is counted whether or not the drag may turn the box, so a press
49
+ * that wandered is still not a tap when turning is off.
50
+ * @param track - The track, changed in place.
51
+ * @param clientX - Where the pointer is now, in the window.
52
+ * @param clientY - Where it is vertically.
53
+ * @param enabled - Whether the drag turns the box at all.
54
+ * @returns Whether a frame has to be booked for the turn now waiting.
55
+ */
56
+ export function followOrbitDrag(track, clientX, clientY, enabled) {
57
+ const dx = clientX - track.lastX;
58
+ const dy = clientY - track.lastY;
59
+ track.lastX = clientX;
60
+ track.lastY = clientY;
61
+ track.travel += Math.abs(dx) + Math.abs(dy);
62
+ if (!enabled)
63
+ return false;
64
+ const waiting = track.pending;
65
+ track.pending = {
66
+ x: 0,
67
+ y: 0,
68
+ dx: (waiting?.dx ?? 0) + dx,
69
+ dy: (waiting?.dy ?? 0) + dy,
70
+ };
71
+ return true;
72
+ }
73
+ /**
74
+ * Take what was waiting for the frame, leaving nothing behind.
75
+ * @param track - The track, changed in place.
76
+ * @returns The waiting turn or move, or `null` when there was none.
77
+ */
78
+ export function takePendingTurn(track) {
79
+ const next = track.pending;
80
+ track.pending = null;
81
+ return next;
82
+ }
83
+ /**
84
+ * Whether the press being released went nowhere worth calling a turn.
85
+ * @param track - The track.
86
+ * @returns `true` when the travel is within {@link ORBIT_TAP_SLACK}.
87
+ */
88
+ export function isOrbitTap(track) {
89
+ return track.travel <= ORBIT_TAP_SLACK;
90
+ }
91
+ //# sourceMappingURL=orbitDragTrack.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orbitDragTrack.js","sourceRoot":"","sources":["../../../src/scatter3d/ui/orbitDragTrack.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC;AA0BjC;;;GAGG;AACH,MAAM,UAAU,oBAAoB;IAClC,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;AAC1D,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,cAAc,CAC5B,KAAqB,EACrB,OAAe,EACf,OAAe;IAEf,KAAK,CAAC,KAAK,GAAG,OAAO,CAAC;IACtB,KAAK,CAAC,KAAK,GAAG,OAAO,CAAC;IACtB,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;AACnB,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,cAAc,CAC5B,KAAqB,EACrB,CAAS,EACT,CAAS;IAET,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC;AACzC,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,eAAe,CAC7B,KAAqB,EACrB,OAAe,EACf,OAAe,EACf,OAAgB;IAEhB,MAAM,EAAE,GAAG,OAAO,GAAG,KAAK,CAAC,KAAK,CAAC;IACjC,MAAM,EAAE,GAAG,OAAO,GAAG,KAAK,CAAC,KAAK,CAAC;IACjC,KAAK,CAAC,KAAK,GAAG,OAAO,CAAC;IACtB,KAAK,CAAC,KAAK,GAAG,OAAO,CAAC;IACtB,KAAK,CAAC,MAAM,IAAI,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAC5C,IAAI,CAAC,OAAO;QAAE,OAAO,KAAK,CAAC;IAC3B,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;IAC9B,KAAK,CAAC,OAAO,GAAG;QACd,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,EAAE,EAAE,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC,CAAC,GAAG,EAAE;QAC3B,EAAE,EAAE,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC,CAAC,GAAG,EAAE;KAC5B,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAAC,KAAqB;IACnD,MAAM,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC;IAC3B,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC;IACrB,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAC,KAAqB;IAC9C,OAAO,KAAK,CAAC,MAAM,IAAI,eAAe,CAAC;AACzC,CAAC"}
@@ -3,12 +3,12 @@
3
3
  * group, and the sentence a screen reader is given instead of the picture.
4
4
  *
5
5
  * It is kept out of the component for the same reason the flat scatter's model
6
- * is — a shell has to be cut before there is anything to project, and cutting
7
- * it inside the render callback would cut it again on every turn.
6
+ * is: a shell is fitted once per change of data, and fitting it inside the
7
+ * render callback would fit it again on every frame of a turn.
8
8
  */
9
9
  import type { EllipseSize } from '../../scatter/core/confidenceEllipse.ts';
10
+ import type { ScatterGroup } from '../../scatter/ui/scatterFigureProps.ts';
10
11
  import type { ScatterGroupInk } from '../../scatter/ui/scatterPlotModel.ts';
11
- import type { ScatterGroup } from '../../scatter/ui/scatterPlotProps.ts';
12
12
  import type { Vector3 } from '../core/orbitCamera.ts';
13
13
  import type { CloudShell } from './CloudShellLayer.tsx';
14
14
  /** What {@link cloudShells} needs to fit one shell per group. */
@@ -1 +1 @@
1
- {"version":3,"file":"scatterCloudModel.d.ts","sourceRoot":"","sources":["../../../src/scatter3d/ui/scatterCloudModel.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAEzE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAExD,iEAAiE;AACjE,MAAM,WAAW,gBAAgB;IAC/B,mCAAmC;IACnC,IAAI,EAAE,SAAS,OAAO,EAAE,CAAC;IACzB,qEAAqE;IACrE,OAAO,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAC3B,kDAAkD;IAClD,MAAM,EAAE,SAAS,YAAY,EAAE,CAAC;IAChC,0DAA0D;IAC1D,GAAG,EAAE,eAAe,CAAC;IACrB,gCAAgC;IAChC,IAAI,EAAE,WAAW,CAAC;IAClB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;;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,GACZ,MAAM,CAER"}
@@ -3,9 +3,10 @@
3
3
  * group, and the sentence a screen reader is given instead of the picture.
4
4
  *
5
5
  * It is kept out of the component for the same reason the flat scatter's model
6
- * is — a shell has to be cut before there is anything to project, and cutting
7
- * it inside the render callback would cut it again on every turn.
6
+ * is: a shell is fitted once per change of data, and fitting it inside the
7
+ * render callback would fit it again on every frame of a turn.
8
8
  */
9
+ import { chartGroupIndex } from "../../chart/core/chartGroups.js";
9
10
  import { confidenceEllipsoid } from "../core/confidenceEllipsoid.js";
10
11
  /**
11
12
  * One shell per group that has enough samples to have a shape.
@@ -26,8 +27,8 @@ export function cloudShells(input) {
26
27
  const held = groups.map(() => []);
27
28
  const count = Math.min(cube.length, groupOf.length);
28
29
  for (let index = 0; index < count; index++) {
29
- const group = groupOf[index];
30
- if (group === undefined || group < 0 || group >= groups.length)
30
+ const group = chartGroupIndex(groupOf, index, groups.length);
31
+ if (group === -1)
31
32
  continue;
32
33
  held[group].push(cube[index]);
33
34
  }
@@ -1 +1 @@
1
- {"version":3,"file":"scatterCloudModel.js","sourceRoot":"","sources":["../../../src/scatter3d/ui/scatterCloudModel.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAwBrE;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,WAAW,CAAC,KAAuB;IACjD,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IAElE,MAAM,IAAI,GAAgB,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;IAC/C,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACpD,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,EAAE,KAAK,E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MAAM,CAAC;AAChB,CAAC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,UAAU,CACxB,MAAc,EACd,MAAc,EACd,MAAc,EACd,KAAa;IAEb,OAAO,uCAAuC,KAAK,aAAa,MAAM,YAAY,MAAM,YAAY,MAAM,oBAAoB,CAAC;AACjI,CAAC"}
@@ -1,20 +1,16 @@
1
1
  /**
2
2
  * What a caller hands a `ScatterCloud`.
3
3
  *
4
- * The types live beside the component rather than inside it because the
5
- * component's own file would otherwise be mostly prose, exactly as the flat
6
- * scatter's are.
4
+ * What the cloud shares with the flat map — groups, labels, selection, hover
5
+ * and double click — is declared once in `scatterFigureProps.ts`; this adds
6
+ * the three axes, the shells, and the camera only a box has.
7
7
  */
8
- import type { ReactNode } from 'react';
9
8
  import type { EllipseSize } from '../../scatter/core/confidenceEllipse.ts';
10
- import type { ScatterSelectionMode } from '../../scatter/core/scatterSelection.ts';
11
- import type { ScatterGroup, ScatterPointOpen } from '../../scatter/ui/scatterPlotProps.ts';
12
- import type { SelectionChange } from '../../scatter/ui/useScatterSelection.ts';
9
+ import type { ScatterGroupProps, ScatterInteractionProps } from '../../scatter/ui/scatterFigureProps.ts';
13
10
  import type { CloudGesture } from '../core/cloudGesture.ts';
14
11
  import type { OrbitCamera } from '../core/orbitCamera.ts';
15
- export type { CloudGesture } from '../core/cloudGesture.ts';
16
12
  /** What a `ScatterCloud` needs. */
17
- export interface ScatterCloudProps {
13
+ export interface ScatterCloudProps extends ScatterGroupProps, ScatterInteractionProps {
18
14
  /** Where every sample sits along the axis that runs left to right, in data units. */
19
15
  x: ArrayLike<number>;
20
16
  /** Along the axis that runs bottom to top, in the same order. */
@@ -31,23 +27,6 @@ export interface ScatterCloudProps {
31
27
  yLabel: string;
32
28
  /** What the axis running away from the reader is called. */
33
29
  zLabel: string;
34
- /**
35
- * Which group each sample belongs to, as an index into `groups`. A sample
36
- * with `-1`, or an index outside the range, is drawn in the muted ink and
37
- * left out of every shell.
38
- * @default undefined — every sample is one crowd
39
- */
40
- groupOf?: ArrayLike<number>;
41
- /**
42
- * The groups, in the order they are coloured and listed.
43
- * @default undefined
44
- */
45
- groups?: readonly ScatterGroup[];
46
- /**
47
- * Which groups are drawn faint, by id — what a legend entry switches.
48
- * @default undefined — every group is drawn in full
49
- */
50
- mutedGroups?: ReadonlySet<string>;
51
30
  /**
52
31
  * How large the group shells are, or `null` for none. A share is read in
53
32
  * three dimensions here, so the same share gives a wider shell than the same
@@ -63,35 +42,10 @@ export interface ScatterCloudProps {
63
42
  */
64
43
  ellipsoidMinimumPoints?: number;
65
44
  /**
66
- * How solid the glass is; `0` draws no shells at all.
67
- * @default SHELL_FILL_OPACITY
45
+ * How solid one wall of the glass is; `0` draws no shells at all.
46
+ * @default 0.1
68
47
  */
69
48
  ellipsoidFillOpacity?: number;
70
- /**
71
- * Whether each group's name is written once, over the middle of its own
72
- * shell. It needs `groups`, since it is their names it writes.
73
- * @default false
74
- */
75
- showGroupLabels?: boolean;
76
- /**
77
- * What each sample is called, written beside its own dot. A sample whose
78
- * entry is `undefined` is left unnamed.
79
- * @default undefined — no sample is named
80
- */
81
- pointLabels?: ReadonlyArray<string | undefined>;
82
- /**
83
- * Radius of a dot at the middle of the box, in pixels. One at the front is
84
- * drawn larger and one at the back smaller, about this.
85
- * @default 3.5
86
- */
87
- pointRadius?: number;
88
- /**
89
- * The index from which samples are drawn as outlines rather than filled,
90
- * which is how one the model was fitted on is told from one placed into it
91
- * afterwards.
92
- * @default undefined — every sample is filled
93
- */
94
- outlinedFrom?: number;
95
49
  /**
96
50
  * What a drag does. The cloud never changes it on its own, because the
97
51
  * control belongs in the bar above the figure rather than on top of the
@@ -128,58 +82,5 @@ export interface ScatterCloudProps {
128
82
  * @default true
129
83
  */
130
84
  wheelZoom?: boolean;
131
- /**
132
- * The selected rows. Present, the caller owns the selection.
133
- * @default undefined — the cloud keeps its own
134
- */
135
- selected?: readonly number[];
136
- /**
137
- * The rows selected before the reader touches anything.
138
- * @default undefined
139
- */
140
- defaultSelected?: readonly number[];
141
- /**
142
- * Called when a lasso is released or a dot is tapped — never while a lasso
143
- * is being drawn, and never while the box is being turned.
144
- * @default undefined
145
- */
146
- onSelectionChange?: (change: SelectionChange) => void;
147
- /**
148
- * What a gesture with no modifier held does to the selection. Shift always
149
- * adds and Alt always removes, exactly as on the map.
150
- * @default 'replace'
151
- */
152
- selectMode?: ScatterSelectionMode;
153
- /**
154
- * Called with the row under the pointer, or `-1`.
155
- * @default undefined
156
- */
157
- onHoverChange?: (index: number) => void;
158
- /**
159
- * Called when the reader double-clicks a sample, exactly as on the flat map:
160
- * the gesture for "tell me more about this one", or "let me change it".
161
- *
162
- * It fires whichever gesture a drag is set to, because a double click is not
163
- * a drag — a reader turning the box must not have to switch to Select to
164
- * open a sample. The sample is selected first, since a double click is also
165
- * two clicks; the map says why, and the two behave alike on purpose.
166
- * @default undefined
167
- */
168
- onPointDoubleClick?: (point: ScatterPointOpen) => void;
169
- /**
170
- * What floats over the figure — a bar, a key, a caption, a card.
171
- * @default undefined
172
- */
173
- overlay?: ReactNode;
174
- /**
175
- * What a screen reader is told the figure shows.
176
- * @default a sentence built from the three axis names and the sample count
177
- */
178
- label?: string;
179
- /**
180
- * Value of the `data-testid` attribute of the wrapper.
181
- * @default undefined
182
- */
183
- testId?: string;
184
85
  }
185
86
  //# sourceMappingURL=scatterCloudProps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scatterCloudProps.d.ts","sourceRoot":"","sources":["../../../src/scatter3d/ui/scatterCloudProps.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EACjB,MAAM,sCAAsC,CAAC;AAC9C,OA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KG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAC/C;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B;;;OAGG;IACH,eAAe,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IACtD;;;;OAIG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC;;;OAGG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;;;;;;;;OASG;IACH,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACvD;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"scatterCloudProps.d.ts","sourceRoot":"","sources":["../../../src/scatter3d/ui/scatterCloudProps.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,mCAAmC;AACnC,MAAM,WAAW,iBACf,SAAQ,iBAAiB,EAAE,uBAAuB;IAClD,qFAAqF;IACrF,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACrB,iEAAiE;IACjE,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACrB,qDAAqD;IACrD,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACrB,uDAAuD;IACvD,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,MAAM,EAAE,MAAM,CAAC;IACf,4DAA4D;IAC5D,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;;OAKG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAC/C;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB"}
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * What a caller hands a `ScatterCloud`.
3
3
  *
4
- * The types live beside the component rather than inside it because the
5
- * component's own file would otherwise be mostly prose, exactly as the flat
6
- * scatter's are.
4
+ * What the cloud shares with the flat map — groups, labels, selection, hover
5
+ * and double click — is declared once in `scatterFigureProps.ts`; this adds
6
+ * the three axes, the shells, and the camera only a box has.
7
7
  */
8
8
  export {};
9
9
  //# sourceMappingURL=scatterCloudProps.js.map
@@ -44,15 +44,15 @@ export interface OrbitDrag {
44
44
  /**
45
45
  * Turning the box with the pointer.
46
46
  *
47
- * It is the lasso's twin and is built the same way — the pointer is captured
48
- * on the way down so a drag that wanders off the figure keeps turning it, all
49
- * three ways a capture can end lead to one function, and moves are coalesced
50
- * to one a frame because a pointer emits many per frame and each one that
51
- * reaches the caller repaints every dot and every face.
47
+ * It is the lasso's twin and stands on the same `useCapturedPointer`, so a
48
+ * drag that wanders off the figure keeps turning it and every way a capture
49
+ * can end leads to one place. A finger is always claimed: a box whose one
50
+ * gesture is turning cannot be turned on a phone that scrolls instead.
52
51
  *
53
52
  * A press that goes nowhere is a tap rather than a turn of no degrees, because
54
53
  * nobody presses a mouse button without moving it a pixel or two and a reader
55
54
  * who meant to pick a sample must not have to hold their hand still to do it.
55
+ * The arithmetic of that decision is in `orbitDragTrack`.
56
56
  * @param options - See {@link OrbitDragOptions}.
57
57
  * @returns The drag. See {@link OrbitDrag}.
58
58
  */
@@ -1 +1 @@
1
- {"version":3,"file":"useOrbitDrag.d.ts","sourceRoot":"","sources":["../../../src/scatter3d/ui/useOrbitDrag.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAQ5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAG1D,uCAAuC;AACvC,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iEAAiE;IACjE,OAAO,EAAE,CAAC,IAAI,EAAE,CAA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AAC;IACnE;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;OAGG;IACH,IAAI,CAAC,EAAE,oBAAoB,CAAC;CAC7B;AAED,+DAA+D;AAC/D,MAAM,WAAW,SAAS;IACxB,iDAAiD;IACjD,OAAO,EAAE,OAAO,CAAC;IACjB,6DAA6D;IAC7D,OAAO,EAAE,mBAAmB,CAAC;CAC9B;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,gBAAgB,GAAG,SAAS,CA6EjE"}
@@ -1,129 +1,72 @@
1
- import { useCallback, useMemo, useRef, useState } from 'react';
2
- import { capturePointer, dropFrame, modifierMode, scheduleFrame, surfacePosition, } from "../../scatter/ui/lassoGesture.js";
1
+ import { useCallback, useRef, useState } from 'react';
2
+ import { modifierMode, surfacePosition, } from "../../scatter/ui/lassoGesture.js";
3
+ import { useCapturedPointer } from "../../scatter/ui/useCapturedPointer.js";
3
4
  import { orbitByDrag } from "../core/orbitCamera.js";
5
+ import { createOrbitDragTrack, followOrbitDrag, hoverOrbitDrag, isOrbitTap, pressOrbitDrag, takePendingTurn, } from "./orbitDragTrack.js";
4
6
  /**
5
7
  * Turning the box with the pointer.
6
8
  *
7
- * It is the lasso's twin and is built the same way — the pointer is captured
8
- * on the way down so a drag that wanders off the figure keeps turning it, all
9
- * three ways a capture can end lead to one function, and moves are coalesced
10
- * to one a frame because a pointer emits many per frame and each one that
11
- * reaches the caller repaints every dot and every face.
9
+ * It is the lasso's twin and stands on the same `useCapturedPointer`, so a
10
+ * drag that wanders off the figure keeps turning it and every way a capture
11
+ * can end leads to one place. A finger is always claimed: a box whose one
12
+ * gesture is turning cannot be turned on a phone that scrolls instead.
12
13
  *
13
14
  * A press that goes nowhere is a tap rather than a turn of no degrees, because
14
15
  * nobody presses a mouse button without moving it a pixel or two and a reader
15
16
  * who meant to pick a sample must not have to hold their hand still to do it.
17
+ * The arithmetic of that decision is in `orbitDragTrack`.
16
18
  * @param options - See {@link OrbitDragOptions}.
17
19
  * @returns The drag. See {@link OrbitDrag}.
18
20
  */
19
21
  export function useOrbitDrag(options) {
20
22
  const { enabled = true, onOrbit, onTap, onMove, onLeave, mode: restingMode = 'replace', } = options;
21
- const pointerRef = useRef(null);
22
- const lastRef = useRef({ x: 0, y: 0 });
23
- const travelRef = useRef(0);
24
- const frameRef = useRef(null);
25
- const pendingRef = useRef(null);
23
+ const trackRef = useRef(createOrbitDragTrack());
26
24
  const [turning, setTurning] = useState(false);
27
- const flush = useCallback(() => {
28
- frameRef.current = null;
29
- const next = pendingRef.current;
30
- pendingRef.current = null;
25
+ const press = useCallback((event) => {
26
+ pressOrbitDrag(trackRef.current, event.clientX, event.clientY);
27
+ setTurning(true);
28
+ return true;
29
+ }, []);
30
+ const follow = useCallback((event, claimed) => {
31
+ if (!claimed) {
32
+ const at = surfacePosition(event, 0, 0);
33
+ hoverOrbitDrag(trackRef.current, at.x, at.y);
34
+ return true;
35
+ }
36
+ return followOrbitDrag(trackRef.current, event.clientX, event.clientY, enabled);
37
+ }, [enabled]);
38
+ const flush = useCallback((claimed) => {
39
+ const next = takePendingTurn(trackRef.current);
31
40
  if (next === null)
32
41
  return;
33
- if (pointerRef.current === null) {
42
+ if (!claimed) {
34
43
  onMove?.(next.x, next.y);
35
44
  return;
36
45
  }
37
46
  onOrbit((camera) => orbitByDrag(camera, next.dx, next.dy));
38
47
  }, [onMove, onOrbit]);
39
- const end = useCallback((event, commit) => {
40
- if (event.pointerId !== pointerRef.current)
41
- return;
42
- pointerRef.current = null;
43
- pendingRef.current = null;
44
- dropFrame(frameRef);
48
+ const finish = useCallback((event, commit) => {
49
+ const track = trackRef.current;
50
+ takePendingTurn(track);
45
51
  setTurning(false);
46
- if (!commit || travelRef.current > TAP_SLACK)
52
+ if (event === null || !commit || !isOrbitTap(track))
47
53
  return;
48
54
  const at = surfacePosition(event, 0, 0);
49
55
  onTap?.(at.x, at.y, modifierMode(event, restingMode));
50
56
  }, [onTap, restingMode]);
51
- const handleDown = useCallback((event) => {
52
- if (pointerRef.current !== null || event.button > 0)
53
- return;
54
- pointerRef.current = event.pointerId;
55
- lastRef.current = { x: event.clientX, y: event.clientY };
56
- travelRef.current = 0;
57
- setTurning(true);
58
- capturePointer(event);
59
- }, []);
60
- const handleMove = useCallback((event) => {
61
- const active = pointerRef.current;
62
- if (active === null) {
63
- const at = surfacePosition(event, 0, 0);
64
- pendingRef.current = { x: at.x, y: at.y, dx: 0, dy: 0 };
65
- scheduleFrame(frameRef, flush);
66
- return;
67
- }
68
- if (event.pointerId !== active)
69
- return;
70
- const last = lastRef.current;
71
- const dx = event.clientX - last.x;
72
- const dy = event.clientY - last.y;
73
- lastRef.current = { x: event.clientX, y: event.clientY };
74
- travelRef.current += Math.abs(dx) + Math.abs(dy);
75
- if (!enabled)
76
- return;
77
- const waiting = pendingRef.current;
78
- pendingRef.current = {
79
- x: 0,
80
- y: 0,
81
- dx: (waiting?.dx ?? 0) + dx,
82
- dy: (waiting?.dy ?? 0) + dy,
83
- };
84
- scheduleFrame(frameRef, flush);
85
- }, [enabled, flush]);
86
- const handleUp = useCallback((event) => {
87
- end(event, true);
88
- }, [end]);
89
- const handleAbandon = useCallback((event) => {
90
- end(event, false);
91
- }, [end]);
92
- const handleLeave = useCallback(() => {
93
- if (pointerRef.current !== null)
94
- return;
95
- pendingRef.current = null;
57
+ const forget = useCallback(() => {
58
+ takePendingTurn(trackRef.current);
96
59
  onLeave?.();
97
60
  }, [onLeave]);
98
- const surface = useMemo(() => ({
99
- onPointerDown: handleDown,
100
- onPointerMove: handleMove,
101
- onPointerUp: handleUp,
102
- onPointerCancel: handleAbandon,
103
- onLostPointerCapture: handleAbandon,
104
- onPointerLeave: handleLeave,
105
- style: {
106
- cursor: enabled ? (turning ? 'grabbing' : 'grab') : 'default',
107
- touchAction: 'none',
108
- },
109
- }), [
110
- enabled,
111
- handleAbandon,
112
- handleDown,
113
- handleLeave,
114
- handleMove,
115
- handleUp,
116
- turning,
117
- ]);
61
+ const { surface } = useCapturedPointer({
62
+ touch: true,
63
+ cursor: enabled ? (turning ? 'grabbing' : 'grab') : 'default',
64
+ onPress: press,
65
+ onMove: follow,
66
+ onFrame: flush,
67
+ onRelease: finish,
68
+ onLeave: forget,
69
+ });
118
70
  return { turning, surface };
119
71
  }
120
- /**
121
- * How far a press may travel and still be a tap, in pixels of total travel.
122
- *
123
- * Generous on purpose: a mouse moves a pixel or two under the click of its own
124
- * button, and a finger moves rather more, so a stricter number turns "pick
125
- * this sample" into "turn the box by nothing at all" for anybody whose hand is
126
- * not steady.
127
- */
128
- const TAP_SLACK = 5;
129
72
  //# sourceMappingURL=useOrbitDrag.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useOrbitDrag.js","sourceRoot":"","sources":["../../../src/scatter3d/ui/useOrbitDrag.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAI/D,OAAO,EACL,cAAc,EACd,SAAS,EACT,YAAY,EACZ,aAAa,EACb,eAAe,GAChB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AA4CrD;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,YAAY,CAAC,OAAyB;IACpD,MAAM,EACJ,OAAO,GAAG,IAAI,EACd,OAAO,EACP,KAAK,EACL,MAAM,EACN,OAAO,EACP,IAAI,EAAE,WAAW,GAAG,SAAS,GAC9B,GAAG,OAAO,CAAC;IAEZ,MAAM,UAAU,GAAG,MAAM,CAAgB,IAAI,CAAC,CAAC;IAC/C,MAAM,OAAO,GAAG,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAA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CAAC,CAAC,SAAS;QAC7D,OAAO,EAAE,KAAK;QACd,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,KAAK;QACd,SAAS,EAAE,MAAM;QACjB,OAAO,EAAE,MAAM;KAChB,CAAC,CAAC;IAEH,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;AAC9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"documentMeta.d.ts","sourceRoot":"","sources":["../../../src/seo/core/documentMeta.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAK1D;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAGjD;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAiBhD;AAED,qDAAqD;AACrD,MAAM,WAAW,YAAY;IAC3B,mEAAmE;IACnE,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"documentMeta.d.ts","sourceRoot":"","sources":["../../../src/seo/core/documentMeta.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAK1D;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAGjD;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAiBhD;AAED,qDAAqD;AACrD,MAAM,WAAW,YAAY;IAC3B,mEAAmE;IACnE,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -1,3 +1,4 @@
1
+ import { withoutQueryOrFragment } from "../../router/core/address.js";
1
2
  /**
2
3
  * Keep the head in step with the page on screen after an in-app move.
3
4
  *
@@ -39,7 +40,7 @@ export function documentTitle(title) {
39
40
  export function canonicalLink(href) {
40
41
  if (typeof document === 'undefined')
41
42
  return;
42
- const address = withoutQuery(href);
43
+ const address = withoutQueryOrFragment(href);
43
44
  if (address === '')
44
45
  return;
45
46
  const existing = document.querySelector('link[rel="canonical"]');
@@ -63,8 +64,4 @@ function metaDescription(content) {
63
64
  document.head.append(meta);
64
65
  meta.content = content;
65
66
  }
66
- function withoutQuery(href) {
67
- const cut = href.search(/[?#]/);
68
- return cut === -1 ? href : href.slice(0, cut);
69
- }
70
67
  //# sourceMappingURL=documentMeta.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"documentMeta.js","sourceRoot":"","sources":["../../../src/seo/core/documentMeta.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,MAAM,UAAU,iBAAiB,CAAC,IAAkB;IAClD,IAAI,OAAO,QAAQ,KAAK,WAAW;QAAE,OAAO;IAC5C,IAAI,IAAI,CAAC,KAAK;QAAE,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1C,IAAI,IAAI,CAAC,WAAW;QAAE,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACxD,IAAI,IAAI,CAAC,SAAS;QAAE,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AACpD,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,aAAa,CAAC,KAAa;IACzC,IAAI,OAAO,QAAQ,KAAK,WAAW;QAAE,OAAO;IAC5C,QAAQ,CAAC,KAAK,GAAG,KAAK,CAAC;AACzB,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,aAAa,CAAC,IAAY;IACxC,IAAI,OAAO,QAAQ,KAAK,WAAW;QAAE,OAAO;IAC5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AC,aAAa,CACrC,0BAA0B,CAC3B,CAAC;IACF,IAAI,QAAQ,EAAE,CAAC;QACb,QAAQ,CAAC,OAAO,GAAG,OAAO,CAAC;QAC3B,OAAO;IACT,CAAC;IAED,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IAC5C,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC;IAC1B,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC3B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AACzB,CAAC"}
@@ -1,13 +1,15 @@
1
1
  export type { DocumentMeta } from './documentMeta.ts';
2
- export { canonicalLink, documentTitle, writeDocumentMeta, } from './documentMeta.ts';
2
+ export { writeDocumentMeta } from './documentMeta.ts';
3
3
  export type { NoscriptEcosystem, NoscriptHrefs, NoscriptOptions, NoscriptRoute, NoscriptText, } from './noscript.ts';
4
4
  export { noscriptIndex } from './noscript.ts';
5
5
  export type { PageMetaOptions } from './pageMeta.ts';
6
6
  export { injectPageMeta, pageDocumentMeta, pageHeadTags } from './pageMeta.ts';
7
+ export type { PlainDescriptionOptions } from './plainDescription.ts';
8
+ export { plainDescription, plainProse } from './plainDescription.ts';
7
9
  export type { RobotsDisallow } from './robots.ts';
8
10
  export { robotsTxt } from './robots.ts';
9
11
  export type { RouteMeta } from './routes.ts';
10
- export { assertRoutes, homeRoute, pageMetaFor, routeFor, trimTrailingSlash, } from './routes.ts';
12
+ export { assertRoutes, homeRoute, pageMetaFor, routeFor } from './routes.ts';
11
13
  export type { SiteFilesOptions } from './siteFiles.ts';
12
14
  export { sitemapXml } from './siteFiles.ts';
13
15
  export type { StartDocumentMetaOptions } from './startDocumentMeta.ts';
@@ -15,4 +17,5 @@ export { startDocumentMeta } from './startDocumentMeta.ts';
15
17
  export type { StructuredDataOptions } from './structuredData.ts';
16
18
  export { structuredDataScript } from './structuredData.ts';
17
19
  export { PAGE_BODY_MARKER, PAGE_HEAD_MARKER, fill } from './template.ts';
20
+ export { injectTrackingScript } from './trackingScript.ts';
18
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/seo/core/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EACL,aAAa,EACb,aAAa,EACb,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACV,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,aAAa,EACb,YAAY,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC/E,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EACL,YAAY,EACZ,SAAS,EACT,WAAW,EACX,QAAQ,EACR,iBAAiB,GAClB,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,YAAY,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,YAAY,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":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