@sophistry/core 0.0.1 → 0.1.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 (380) hide show
  1. package/dist/anim/animation.d.ts +1 -2
  2. package/dist/anim/draw.d.ts +2 -3
  3. package/dist/anim/emphasis.d.ts +2 -3
  4. package/dist/anim/fade.d.ts +3 -4
  5. package/dist/anim/growing.d.ts +3 -4
  6. package/dist/anim/index.d.ts +32 -33
  7. package/dist/anim/indication.d.ts +3 -4
  8. package/dist/anim/move.d.ts +4 -5
  9. package/dist/anim/movement.d.ts +4 -5
  10. package/dist/anim/points.d.ts +1 -2
  11. package/dist/anim/sequence.d.ts +1 -2
  12. package/dist/anim/slots.d.ts +4 -5
  13. package/dist/anim/speed.d.ts +1 -2
  14. package/dist/anim/spring.d.ts +6 -7
  15. package/dist/anim/timeline.d.ts +4 -5
  16. package/dist/anim/transform.d.ts +4 -5
  17. package/dist/anim/tween.d.ts +3 -4
  18. package/dist/anim/types.d.ts +3 -4
  19. package/dist/color/convert.d.ts +1 -2
  20. package/dist/color/index.d.ts +8 -9
  21. package/dist/color/named.d.ts +0 -1
  22. package/dist/color/ops.d.ts +2 -3
  23. package/dist/color/parse.d.ts +1 -2
  24. package/dist/color/random.d.ts +1 -2
  25. package/dist/color/types.d.ts +0 -1
  26. package/dist/coords/axes.d.ts +8 -9
  27. package/dist/coords/axis-composition.d.ts +2 -3
  28. package/dist/coords/axis-labels.d.ts +6 -7
  29. package/dist/coords/complex-plane.d.ts +8 -9
  30. package/dist/coords/coords.d.ts +3 -4
  31. package/dist/coords/function-graph.d.ts +6 -7
  32. package/dist/coords/graph-annotations.d.ts +11 -12
  33. package/dist/coords/grid-lines.d.ts +6 -7
  34. package/dist/coords/implicit-function.d.ts +3 -4
  35. package/dist/coords/index.d.ts +24 -25
  36. package/dist/coords/linear-transform.d.ts +6 -7
  37. package/dist/coords/number-line.d.ts +7 -8
  38. package/dist/coords/number-plane.d.ts +7 -8
  39. package/dist/coords/polar-plane.d.ts +6 -7
  40. package/dist/coords/tangent.d.ts +3 -4
  41. package/dist/coords/vector-field.d.ts +8 -9
  42. package/dist/entries/color.d.ts +12 -13
  43. package/dist/entries/definitions.d.ts +2 -3
  44. package/dist/entries/geometry.d.ts +42 -43
  45. package/dist/entries/internal.d.ts +45 -46
  46. package/dist/entries/internal.js +1 -1
  47. package/dist/entries/themes.d.ts +14 -15
  48. package/dist/export/frames.d.ts +3 -4
  49. package/dist/export/index.d.ts +1 -2
  50. package/dist/geometry/arc.d.ts +1 -2
  51. package/dist/geometry/band.d.ts +1 -2
  52. package/dist/geometry/bounds.d.ts +3 -4
  53. package/dist/geometry/brace.d.ts +1 -2
  54. package/dist/geometry/complex.d.ts +0 -1
  55. package/dist/geometry/curves.d.ts +1 -2
  56. package/dist/geometry/delaunay.d.ts +0 -1
  57. package/dist/geometry/field.d.ts +1 -2
  58. package/dist/geometry/graph-layout.d.ts +1 -2
  59. package/dist/geometry/implicit.d.ts +1 -2
  60. package/dist/geometry/index.d.ts +41 -42
  61. package/dist/geometry/lerp.d.ts +2 -3
  62. package/dist/geometry/morph.d.ts +2 -3
  63. package/dist/geometry/num.d.ts +1 -2
  64. package/dist/geometry/path/arclength.d.ts +1 -2
  65. package/dist/geometry/path/cubic.d.ts +1 -2
  66. package/dist/geometry/path/outline-reveal.d.ts +2 -3
  67. package/dist/geometry/path/svg-path.d.ts +1 -2
  68. package/dist/geometry/path/types.d.ts +0 -1
  69. package/dist/geometry/resolver.d.ts +0 -1
  70. package/dist/geometry/scale/range-transition.d.ts +1 -2
  71. package/dist/geometry/scale/scales.d.ts +2 -3
  72. package/dist/geometry/scale/tick-format.d.ts +2 -3
  73. package/dist/geometry/scale/ticks.d.ts +1 -2
  74. package/dist/geometry/shape-match.d.ts +1 -2
  75. package/dist/geometry/shapes.d.ts +1 -2
  76. package/dist/geometry/stitch.d.ts +0 -1
  77. package/dist/geometry/time.d.ts +0 -1
  78. package/dist/geometry/tips.d.ts +1 -2
  79. package/dist/geometry/transform.d.ts +1 -2
  80. package/dist/geometry/view-matrix.d.ts +2 -3
  81. package/dist/geometry/write-phase.d.ts +0 -1
  82. package/dist/geometry3d/camera.d.ts +1 -2
  83. package/dist/geometry3d/index.d.ts +4 -5
  84. package/dist/geometry3d/mat.d.ts +0 -3
  85. package/dist/index.d.ts +34 -35
  86. package/dist/interact/constrain.d.ts +3 -4
  87. package/dist/interact/drag.d.ts +5 -6
  88. package/dist/interact/drop.d.ts +1 -2
  89. package/dist/interact/hit.d.ts +4 -5
  90. package/dist/interact/index.d.ts +11 -12
  91. package/dist/interact/item-order.d.ts +3 -4
  92. package/dist/interact/param.d.ts +3 -4
  93. package/dist/interact/pick-items.d.ts +2 -3
  94. package/dist/interact/pointer.d.ts +2 -3
  95. package/dist/interact/registry.d.ts +2 -3
  96. package/dist/interact/slop.d.ts +0 -1
  97. package/dist/interact/types.d.ts +4 -5
  98. package/dist/labels/decimal-number.d.ts +6 -7
  99. package/dist/labels/digits.d.ts +1 -2
  100. package/dist/labels/index.d.ts +4 -5
  101. package/dist/labels/paragraph.d.ts +8 -9
  102. package/dist/labels/text-layout.d.ts +4 -5
  103. package/dist/network/index.d.ts +2 -3
  104. package/dist/network/network-graph.d.ts +7 -8
  105. package/dist/reactive/index.d.ts +2 -3
  106. package/dist/reactive/track.d.ts +0 -1
  107. package/dist/render/a11y.d.ts +6 -7
  108. package/dist/render/camera-gesture.d.ts +1 -2
  109. package/dist/render/camera.d.ts +3 -4
  110. package/dist/render/canvas-renderer.d.ts +7 -8
  111. package/dist/render/index.d.ts +8 -9
  112. package/dist/render/layer-cache.d.ts +2 -3
  113. package/dist/render/paint-items.d.ts +5 -6
  114. package/dist/render/paint.d.ts +4 -5
  115. package/dist/render/pointer-core.d.ts +5 -6
  116. package/dist/render/pointer-drop.d.ts +3 -4
  117. package/dist/render/pointer-gestures.d.ts +5 -6
  118. package/dist/render/pointer-presence.d.ts +3 -4
  119. package/dist/render/pointer-wheel.d.ts +3 -4
  120. package/dist/render/pointer.d.ts +8 -9
  121. package/dist/scene/cameras.d.ts +5 -6
  122. package/dist/scene/composite.d.ts +5 -6
  123. package/dist/scene/container.d.ts +4 -5
  124. package/dist/scene/context.d.ts +6 -7
  125. package/dist/scene/fonts.d.ts +3 -4
  126. package/dist/scene/graph.d.ts +4 -5
  127. package/dist/scene/group.d.ts +6 -7
  128. package/dist/scene/index.d.ts +21 -22
  129. package/dist/scene/instance-bank.d.ts +3 -4
  130. package/dist/scene/instance-marks.d.ts +5 -6
  131. package/dist/scene/instance-node.d.ts +7 -8
  132. package/dist/scene/instances.d.ts +5 -6
  133. package/dist/scene/interaction-group-context.d.ts +2 -3
  134. package/dist/scene/interaction-group.d.ts +3 -4
  135. package/dist/scene/interaction-props.d.ts +2 -3
  136. package/dist/scene/interaction.d.ts +2 -3
  137. package/dist/scene/marks.d.ts +7 -8
  138. package/dist/scene/node.d.ts +8 -9
  139. package/dist/scene/pan-zoom.d.ts +4 -5
  140. package/dist/scene/path-batch.d.ts +4 -5
  141. package/dist/scene/primitive.d.ts +5 -6
  142. package/dist/scene/scene.d.ts +20 -21
  143. package/dist/scene/shape.d.ts +10 -11
  144. package/dist/scene/text.d.ts +10 -11
  145. package/dist/scene/types.d.ts +5 -6
  146. package/dist/shapes/angle.d.ts +5 -6
  147. package/dist/shapes/animated-boundary.d.ts +5 -6
  148. package/dist/shapes/arc.d.ts +7 -8
  149. package/dist/shapes/bezier.d.ts +4 -5
  150. package/dist/shapes/brace.d.ts +4 -5
  151. package/dist/shapes/circle.d.ts +4 -5
  152. package/dist/shapes/dot.d.ts +6 -7
  153. package/dist/shapes/forward.d.ts +3 -4
  154. package/dist/shapes/index.d.ts +30 -31
  155. package/dist/shapes/line.d.ts +12 -13
  156. package/dist/shapes/matchers.d.ts +4 -5
  157. package/dist/shapes/path.d.ts +4 -5
  158. package/dist/shapes/polygon.d.ts +3 -4
  159. package/dist/shapes/polygram.d.ts +5 -6
  160. package/dist/shapes/rect.d.ts +4 -5
  161. package/dist/shapes/traced-path.d.ts +6 -7
  162. package/dist/shapes/transform-matching-shapes.d.ts +4 -5
  163. package/dist/spec/bake.d.ts +6 -7
  164. package/dist/spec/clip.d.ts +3 -4
  165. package/dist/spec/colorRampProp.d.ts +2 -3
  166. package/dist/spec/compile.d.ts +1 -2
  167. package/dist/spec/gradient.d.ts +3 -4
  168. package/dist/spec/index.d.ts +8 -9
  169. package/dist/spec/layout.d.ts +2 -3
  170. package/dist/spec/metrics.d.ts +2 -3
  171. package/dist/spec/types.d.ts +2 -3
  172. package/dist/themes/catppuccin.d.ts +1 -2
  173. package/dist/themes/colormap.d.ts +1 -2
  174. package/dist/themes/css.d.ts +1 -2
  175. package/dist/themes/index.d.ts +13 -14
  176. package/dist/themes/mode.d.ts +2 -3
  177. package/dist/themes/palette.d.ts +1 -2
  178. package/dist/themes/ramp.d.ts +1 -2
  179. package/dist/themes/theme.d.ts +1 -2
  180. package/dist/themes/types.d.ts +1 -2
  181. package/dist/tween/clock.d.ts +2 -3
  182. package/dist/tween/easing.d.ts +0 -1
  183. package/dist/tween/frame-loop.d.ts +1 -2
  184. package/dist/tween/index.d.ts +19 -20
  185. package/dist/tween/interpolate.d.ts +1 -2
  186. package/dist/tween/interpolators.d.ts +5 -6
  187. package/dist/tween/reduced-motion.d.ts +1 -2
  188. package/dist/tween/spring.d.ts +1 -2
  189. package/dist/tween/target.d.ts +0 -1
  190. package/dist/tween/track.d.ts +2 -3
  191. package/package.json +2 -2
  192. package/dist/anim/animation.d.ts.map +0 -1
  193. package/dist/anim/draw.d.ts.map +0 -1
  194. package/dist/anim/emphasis.d.ts.map +0 -1
  195. package/dist/anim/fade.d.ts.map +0 -1
  196. package/dist/anim/growing.d.ts.map +0 -1
  197. package/dist/anim/index.d.ts.map +0 -1
  198. package/dist/anim/indication.d.ts.map +0 -1
  199. package/dist/anim/move.d.ts.map +0 -1
  200. package/dist/anim/movement.d.ts.map +0 -1
  201. package/dist/anim/points.d.ts.map +0 -1
  202. package/dist/anim/sequence.d.ts.map +0 -1
  203. package/dist/anim/slots.d.ts.map +0 -1
  204. package/dist/anim/speed.d.ts.map +0 -1
  205. package/dist/anim/spring.d.ts.map +0 -1
  206. package/dist/anim/timeline.d.ts.map +0 -1
  207. package/dist/anim/transform.d.ts.map +0 -1
  208. package/dist/anim/tween.d.ts.map +0 -1
  209. package/dist/anim/types.d.ts.map +0 -1
  210. package/dist/color/convert.d.ts.map +0 -1
  211. package/dist/color/index.d.ts.map +0 -1
  212. package/dist/color/named.d.ts.map +0 -1
  213. package/dist/color/ops.d.ts.map +0 -1
  214. package/dist/color/parse.d.ts.map +0 -1
  215. package/dist/color/random.d.ts.map +0 -1
  216. package/dist/color/types.d.ts.map +0 -1
  217. package/dist/coords/axes.d.ts.map +0 -1
  218. package/dist/coords/axis-composition.d.ts.map +0 -1
  219. package/dist/coords/axis-labels.d.ts.map +0 -1
  220. package/dist/coords/complex-plane.d.ts.map +0 -1
  221. package/dist/coords/coords.d.ts.map +0 -1
  222. package/dist/coords/function-graph.d.ts.map +0 -1
  223. package/dist/coords/graph-annotations.d.ts.map +0 -1
  224. package/dist/coords/grid-lines.d.ts.map +0 -1
  225. package/dist/coords/implicit-function.d.ts.map +0 -1
  226. package/dist/coords/index.d.ts.map +0 -1
  227. package/dist/coords/linear-transform.d.ts.map +0 -1
  228. package/dist/coords/number-line.d.ts.map +0 -1
  229. package/dist/coords/number-plane.d.ts.map +0 -1
  230. package/dist/coords/polar-plane.d.ts.map +0 -1
  231. package/dist/coords/tangent.d.ts.map +0 -1
  232. package/dist/coords/vector-field.d.ts.map +0 -1
  233. package/dist/entries/color.d.ts.map +0 -1
  234. package/dist/entries/definitions.d.ts.map +0 -1
  235. package/dist/entries/geometry.d.ts.map +0 -1
  236. package/dist/entries/internal.d.ts.map +0 -1
  237. package/dist/entries/themes.d.ts.map +0 -1
  238. package/dist/export/frames.d.ts.map +0 -1
  239. package/dist/export/index.d.ts.map +0 -1
  240. package/dist/geometry/arc.d.ts.map +0 -1
  241. package/dist/geometry/band.d.ts.map +0 -1
  242. package/dist/geometry/bounds.d.ts.map +0 -1
  243. package/dist/geometry/brace.d.ts.map +0 -1
  244. package/dist/geometry/complex.d.ts.map +0 -1
  245. package/dist/geometry/curves.d.ts.map +0 -1
  246. package/dist/geometry/delaunay.d.ts.map +0 -1
  247. package/dist/geometry/field.d.ts.map +0 -1
  248. package/dist/geometry/graph-layout.d.ts.map +0 -1
  249. package/dist/geometry/implicit.d.ts.map +0 -1
  250. package/dist/geometry/index.d.ts.map +0 -1
  251. package/dist/geometry/lerp.d.ts.map +0 -1
  252. package/dist/geometry/morph.d.ts.map +0 -1
  253. package/dist/geometry/num.d.ts.map +0 -1
  254. package/dist/geometry/path/arclength.d.ts.map +0 -1
  255. package/dist/geometry/path/cubic.d.ts.map +0 -1
  256. package/dist/geometry/path/outline-reveal.d.ts.map +0 -1
  257. package/dist/geometry/path/svg-path.d.ts.map +0 -1
  258. package/dist/geometry/path/types.d.ts.map +0 -1
  259. package/dist/geometry/resolver.d.ts.map +0 -1
  260. package/dist/geometry/scale/range-transition.d.ts.map +0 -1
  261. package/dist/geometry/scale/scales.d.ts.map +0 -1
  262. package/dist/geometry/scale/tick-format.d.ts.map +0 -1
  263. package/dist/geometry/scale/ticks.d.ts.map +0 -1
  264. package/dist/geometry/shape-match.d.ts.map +0 -1
  265. package/dist/geometry/shapes.d.ts.map +0 -1
  266. package/dist/geometry/stitch.d.ts.map +0 -1
  267. package/dist/geometry/time.d.ts.map +0 -1
  268. package/dist/geometry/tips.d.ts.map +0 -1
  269. package/dist/geometry/transform.d.ts.map +0 -1
  270. package/dist/geometry/view-matrix.d.ts.map +0 -1
  271. package/dist/geometry/write-phase.d.ts.map +0 -1
  272. package/dist/geometry3d/camera.d.ts.map +0 -1
  273. package/dist/geometry3d/index.d.ts.map +0 -1
  274. package/dist/geometry3d/mat.d.ts.map +0 -1
  275. package/dist/index.d.ts.map +0 -1
  276. package/dist/interact/constrain.d.ts.map +0 -1
  277. package/dist/interact/drag.d.ts.map +0 -1
  278. package/dist/interact/drop.d.ts.map +0 -1
  279. package/dist/interact/hit.d.ts.map +0 -1
  280. package/dist/interact/index.d.ts.map +0 -1
  281. package/dist/interact/item-order.d.ts.map +0 -1
  282. package/dist/interact/param.d.ts.map +0 -1
  283. package/dist/interact/pick-items.d.ts.map +0 -1
  284. package/dist/interact/pointer.d.ts.map +0 -1
  285. package/dist/interact/registry.d.ts.map +0 -1
  286. package/dist/interact/slop.d.ts.map +0 -1
  287. package/dist/interact/types.d.ts.map +0 -1
  288. package/dist/labels/decimal-number.d.ts.map +0 -1
  289. package/dist/labels/digits.d.ts.map +0 -1
  290. package/dist/labels/index.d.ts.map +0 -1
  291. package/dist/labels/paragraph.d.ts.map +0 -1
  292. package/dist/labels/text-layout.d.ts.map +0 -1
  293. package/dist/network/index.d.ts.map +0 -1
  294. package/dist/network/network-graph.d.ts.map +0 -1
  295. package/dist/reactive/index.d.ts.map +0 -1
  296. package/dist/reactive/track.d.ts.map +0 -1
  297. package/dist/render/a11y.d.ts.map +0 -1
  298. package/dist/render/camera-gesture.d.ts.map +0 -1
  299. package/dist/render/camera.d.ts.map +0 -1
  300. package/dist/render/canvas-renderer.d.ts.map +0 -1
  301. package/dist/render/index.d.ts.map +0 -1
  302. package/dist/render/layer-cache.d.ts.map +0 -1
  303. package/dist/render/paint-items.d.ts.map +0 -1
  304. package/dist/render/paint.d.ts.map +0 -1
  305. package/dist/render/pointer-core.d.ts.map +0 -1
  306. package/dist/render/pointer-drop.d.ts.map +0 -1
  307. package/dist/render/pointer-gestures.d.ts.map +0 -1
  308. package/dist/render/pointer-presence.d.ts.map +0 -1
  309. package/dist/render/pointer-wheel.d.ts.map +0 -1
  310. package/dist/render/pointer.d.ts.map +0 -1
  311. package/dist/scene/cameras.d.ts.map +0 -1
  312. package/dist/scene/composite.d.ts.map +0 -1
  313. package/dist/scene/container.d.ts.map +0 -1
  314. package/dist/scene/context.d.ts.map +0 -1
  315. package/dist/scene/fonts.d.ts.map +0 -1
  316. package/dist/scene/graph.d.ts.map +0 -1
  317. package/dist/scene/group.d.ts.map +0 -1
  318. package/dist/scene/index.d.ts.map +0 -1
  319. package/dist/scene/instance-bank.d.ts.map +0 -1
  320. package/dist/scene/instance-marks.d.ts.map +0 -1
  321. package/dist/scene/instance-node.d.ts.map +0 -1
  322. package/dist/scene/instances.d.ts.map +0 -1
  323. package/dist/scene/interaction-group-context.d.ts.map +0 -1
  324. package/dist/scene/interaction-group.d.ts.map +0 -1
  325. package/dist/scene/interaction-props.d.ts.map +0 -1
  326. package/dist/scene/interaction.d.ts.map +0 -1
  327. package/dist/scene/marks.d.ts.map +0 -1
  328. package/dist/scene/node.d.ts.map +0 -1
  329. package/dist/scene/pan-zoom.d.ts.map +0 -1
  330. package/dist/scene/path-batch.d.ts.map +0 -1
  331. package/dist/scene/primitive.d.ts.map +0 -1
  332. package/dist/scene/scene.d.ts.map +0 -1
  333. package/dist/scene/shape.d.ts.map +0 -1
  334. package/dist/scene/text.d.ts.map +0 -1
  335. package/dist/scene/types.d.ts.map +0 -1
  336. package/dist/shapes/angle.d.ts.map +0 -1
  337. package/dist/shapes/animated-boundary.d.ts.map +0 -1
  338. package/dist/shapes/arc.d.ts.map +0 -1
  339. package/dist/shapes/bezier.d.ts.map +0 -1
  340. package/dist/shapes/brace.d.ts.map +0 -1
  341. package/dist/shapes/circle.d.ts.map +0 -1
  342. package/dist/shapes/dot.d.ts.map +0 -1
  343. package/dist/shapes/forward.d.ts.map +0 -1
  344. package/dist/shapes/index.d.ts.map +0 -1
  345. package/dist/shapes/line.d.ts.map +0 -1
  346. package/dist/shapes/matchers.d.ts.map +0 -1
  347. package/dist/shapes/path.d.ts.map +0 -1
  348. package/dist/shapes/polygon.d.ts.map +0 -1
  349. package/dist/shapes/polygram.d.ts.map +0 -1
  350. package/dist/shapes/rect.d.ts.map +0 -1
  351. package/dist/shapes/traced-path.d.ts.map +0 -1
  352. package/dist/shapes/transform-matching-shapes.d.ts.map +0 -1
  353. package/dist/spec/bake.d.ts.map +0 -1
  354. package/dist/spec/clip.d.ts.map +0 -1
  355. package/dist/spec/colorRampProp.d.ts.map +0 -1
  356. package/dist/spec/compile.d.ts.map +0 -1
  357. package/dist/spec/gradient.d.ts.map +0 -1
  358. package/dist/spec/index.d.ts.map +0 -1
  359. package/dist/spec/layout.d.ts.map +0 -1
  360. package/dist/spec/metrics.d.ts.map +0 -1
  361. package/dist/spec/types.d.ts.map +0 -1
  362. package/dist/themes/catppuccin.d.ts.map +0 -1
  363. package/dist/themes/colormap.d.ts.map +0 -1
  364. package/dist/themes/css.d.ts.map +0 -1
  365. package/dist/themes/index.d.ts.map +0 -1
  366. package/dist/themes/mode.d.ts.map +0 -1
  367. package/dist/themes/palette.d.ts.map +0 -1
  368. package/dist/themes/ramp.d.ts.map +0 -1
  369. package/dist/themes/theme.d.ts.map +0 -1
  370. package/dist/themes/types.d.ts.map +0 -1
  371. package/dist/tween/clock.d.ts.map +0 -1
  372. package/dist/tween/easing.d.ts.map +0 -1
  373. package/dist/tween/frame-loop.d.ts.map +0 -1
  374. package/dist/tween/index.d.ts.map +0 -1
  375. package/dist/tween/interpolate.d.ts.map +0 -1
  376. package/dist/tween/interpolators.d.ts.map +0 -1
  377. package/dist/tween/reduced-motion.d.ts.map +0 -1
  378. package/dist/tween/spring.d.ts.map +0 -1
  379. package/dist/tween/target.d.ts.map +0 -1
  380. package/dist/tween/track.d.ts.map +0 -1
@@ -14,12 +14,12 @@
14
14
  * outline. Style props (`stroke`, `progress`, ...) are bound straight through
15
15
  * to the shape, so animating one never re-samples the curve.
16
16
  */
17
- import type { Point } from "../geometry";
18
- import type { Changes, CompositeNode } from "../scene/composite";
19
- import type { ShapeInstanceable, ShapeNode, ShapeProps } from "../scene/shape";
20
- import type { Definition, PropsDescriptor, SceneNode } from "../scene/types";
21
- import type { ShapeGeometry } from "../spec/bake";
22
- import type { CoordinateSystem } from "./coords";
17
+ import type { Point } from "../geometry/index.js";
18
+ import type { Changes, CompositeNode } from "../scene/composite.js";
19
+ import type { ShapeInstanceable, ShapeNode, ShapeProps } from "../scene/shape.js";
20
+ import type { Definition, PropsDescriptor, SceneNode } from "../scene/types.js";
21
+ import type { ShapeGeometry } from "../spec/bake.js";
22
+ import type { CoordinateSystem } from "./coords.js";
23
23
  /**
24
24
  * Sampling controls shared by every curve in data space.
25
25
  *
@@ -288,4 +288,3 @@ export interface PolarGraphProps extends ShapeProps, CurveSampling {
288
288
  * @category Coordinate systems & graphs
289
289
  */
290
290
  export declare const polarGraph: Definition<PolarGraphProps, CompositeNode<PolarGraphProps>, keyof PolarGraphProps>;
291
- //# sourceMappingURL=function-graph.d.ts.map
@@ -10,11 +10,11 @@
10
10
  * system or the theme change; the style props it hands on unchanged are bound
11
11
  * straight through to the shapes it draws.
12
12
  */
13
- import type { ColorInput } from "../color";
14
- import type { Point } from "../geometry";
15
- import type { ShapeProps } from "../scene/shape";
16
- import type { Vec2 } from "../spec/layout";
17
- import type { CoordinateSystem } from "./coords";
13
+ import type { ColorInput } from "../color/index.js";
14
+ import type { Point } from "../geometry/index.js";
15
+ import type { ShapeProps } from "../scene/shape.js";
16
+ import type { Vec2 } from "../spec/layout.js";
17
+ import type { CoordinateSystem } from "./coords.js";
18
18
  /**
19
19
  * The scene-unit point on the curve `y = f(x)` — Manim's `input_to_graph_point`.
20
20
  *
@@ -129,7 +129,7 @@ export interface AreaUnderGraphProps extends ShapeProps {
129
129
  * @see {@link riemannRectangles}
130
130
  * @category Coordinate systems & graphs
131
131
  */
132
- export declare const areaUnderGraph: import("..").Definition<AreaUnderGraphProps, import("../scene/composite").CompositeNode<AreaUnderGraphProps>, keyof AreaUnderGraphProps>;
132
+ export declare const areaUnderGraph: import("../scene/types.js").Definition<AreaUnderGraphProps, import("../scene/composite.js").CompositeNode<AreaUnderGraphProps>, keyof AreaUnderGraphProps>;
133
133
  /**
134
134
  * Props for {@link riemannRectangles}. Style props apply to the rectangles.
135
135
  *
@@ -175,7 +175,7 @@ export interface RiemannRectanglesProps extends ShapeProps {
175
175
  * @see {@link areaUnderGraph}
176
176
  * @category Coordinate systems & graphs
177
177
  */
178
- export declare const riemannRectangles: import("..").Definition<RiemannRectanglesProps, import("../scene/composite").CompositeNode<RiemannRectanglesProps>, keyof RiemannRectanglesProps>;
178
+ export declare const riemannRectangles: import("../scene/types.js").Definition<RiemannRectanglesProps, import("../scene/composite.js").CompositeNode<RiemannRectanglesProps>, keyof RiemannRectanglesProps>;
179
179
  /**
180
180
  * What both drop-line composites ({@link verticalLineToGraph}, {@link horizontalLineToGraph}) take.
181
181
  *
@@ -234,7 +234,7 @@ export interface LineToGraphProps extends ShapeProps {
234
234
  * @see {@link horizontalLineToGraph}
235
235
  * @category Coordinate systems & graphs
236
236
  */
237
- export declare const verticalLineToGraph: import("..").Definition<LineToGraphProps, import("../scene/composite").CompositeNode<LineToGraphProps>, keyof LineToGraphProps>;
237
+ export declare const verticalLineToGraph: import("../scene/types.js").Definition<LineToGraphProps, import("../scene/composite.js").CompositeNode<LineToGraphProps>, keyof LineToGraphProps>;
238
238
  /**
239
239
  * The sibling that falls out for free: a dashed line from the y axis across to
240
240
  * the curve, still indexed by the *input* `x` rather than by a height, so the
@@ -254,7 +254,7 @@ export declare const verticalLineToGraph: import("..").Definition<LineToGraphPro
254
254
  * @see {@link verticalLineToGraph}
255
255
  * @category Coordinate systems & graphs
256
256
  */
257
- export declare const horizontalLineToGraph: import("..").Definition<LineToGraphProps, import("../scene/composite").CompositeNode<LineToGraphProps>, keyof LineToGraphProps>;
257
+ export declare const horizontalLineToGraph: import("../scene/types.js").Definition<LineToGraphProps, import("../scene/composite.js").CompositeNode<LineToGraphProps>, keyof LineToGraphProps>;
258
258
  /**
259
259
  * Props for {@link secantSlopeGroup}. Style props apply to the secant line (and the triangle legs' width).
260
260
  *
@@ -318,7 +318,7 @@ export interface SecantSlopeGroupProps extends ShapeProps {
318
318
  * @see {@link slopeOfSecant}
319
319
  * @category Coordinate systems & graphs
320
320
  */
321
- export declare const secantSlopeGroup: import("..").Definition<SecantSlopeGroupProps, import("../scene/composite").CompositeNode<SecantSlopeGroupProps>, keyof SecantSlopeGroupProps>;
321
+ export declare const secantSlopeGroup: import("../scene/types.js").Definition<SecantSlopeGroupProps, import("../scene/composite.js").CompositeNode<SecantSlopeGroupProps>, keyof SecantSlopeGroupProps>;
322
322
  /**
323
323
  * Props for {@link tangentToGraph}. Style props apply to the line.
324
324
  *
@@ -352,5 +352,4 @@ export interface TangentToGraphProps extends ShapeProps {
352
352
  * @see {@link secantSlopeGroup}
353
353
  * @category Coordinate systems & graphs
354
354
  */
355
- export declare const tangentToGraph: import("..").Definition<TangentToGraphProps, import("../scene/composite").CompositeNode<TangentToGraphProps>, keyof TangentToGraphProps>;
356
- //# sourceMappingURL=graph-annotations.d.ts.map
355
+ export declare const tangentToGraph: import("../scene/types.js").Definition<TangentToGraphProps, import("../scene/composite.js").CompositeNode<TangentToGraphProps>, keyof TangentToGraphProps>;
@@ -6,12 +6,12 @@
6
6
  *
7
7
  * Internal — not in the barrel. Owned by `coords/`; `charts` imports it.
8
8
  */
9
- import type { ColorInput } from "../color";
10
- import type { Bounds, Point, Range, RangeTransition, WeightedTick } from "../geometry";
11
- import type { Readable } from "../reactive";
12
- import type { CompositeContext } from "../scene/composite";
13
- import type { SceneNode } from "../scene/types";
14
- import type { AxisTickSource } from "./axis-composition";
9
+ import type { ColorInput } from "../color/index.js";
10
+ import type { Bounds, Point, Range, RangeTransition, WeightedTick } from "../geometry/index.js";
11
+ import type { Readable } from "../reactive/index.js";
12
+ import type { CompositeContext } from "../scene/composite.js";
13
+ import type { SceneNode } from "../scene/types.js";
14
+ import type { AxisTickSource } from "./axis-composition.js";
15
15
  /**
16
16
  * Cap on grid lines *per axis* (and on a polar plane's rings and spokes).
17
17
  *
@@ -124,4 +124,3 @@ export interface GridLinesOptions {
124
124
  * @returns The one node that draws the family (kept across updates).
125
125
  */
126
126
  export declare function gridLineNodes(ctx: Pick<CompositeContext<unknown>, "list">, slot: string, given: GridLinesOptions): SceneNode[];
127
- //# sourceMappingURL=grid-lines.d.ts.map
@@ -8,8 +8,8 @@
8
8
  * screen and a log axis gets the same resolution at every decade instead of
9
9
  * all of it bunched at the top.
10
10
  */
11
- import type { ImplicitCurveOptions, Range } from "../geometry";
12
- import type { ShapeProps } from "../scene/shape";
11
+ import type { ImplicitCurveOptions, Range } from "../geometry/index.js";
12
+ import type { ShapeProps } from "../scene/shape.js";
13
13
  /**
14
14
  * Props for {@link implicitFunction}: the shape style props, the resolution
15
15
  * controls of {@link ImplicitCurveOptions}, and the function.
@@ -47,5 +47,4 @@ export interface ImplicitFunctionProps extends ShapeProps, ImplicitCurveOptions
47
47
  * @see {@link https://sophistry.dev/guides/coordinate-systems/#implicit-curves}
48
48
  * @category Coordinate systems & graphs
49
49
  */
50
- export declare const implicitFunction: import("..").Definition<ImplicitFunctionProps, import("../scene/composite").CompositeNode<ImplicitFunctionProps>, keyof ImplicitFunctionProps>;
51
- //# sourceMappingURL=implicit-function.d.ts.map
50
+ export declare const implicitFunction: import("../index.js").Definition<ImplicitFunctionProps, import("../scene/composite.js").CompositeNode<ImplicitFunctionProps>, keyof ImplicitFunctionProps>;
@@ -2,28 +2,27 @@
2
2
  * coords: coordinate systems (axes, planes, number lines) and the context
3
3
  * they publish.
4
4
  */
5
- export type { AxesProps, AxisOptions } from "./axes";
6
- export { axes } from "./axes";
7
- export type { Complex, ComplexCoordinateSystem, ComplexPlaneProps, } from "./complex-plane";
8
- export { complexCoordsOf, complexPlane, imaginaryTick } from "./complex-plane";
9
- export type { AxisPosition, CartesianOptions, CoordinateSystem, XAxisPosition, YAxisPosition, } from "./coords";
10
- export { axisPositionValue, coordsContext, coordsOf, coordsReadable, createCartesianCoords, createPhases, crossingValue, phaseProgress, publishCoords, requireCoords, UNDER_AXES_Z_INDEX, } from "./coords";
11
- export type { CurveSampling, FunctionGraphHandle, FunctionGraphProps, ParametricGraphProps, PolarGraphProps, } from "./function-graph";
12
- export { functionGraph, graphHandle, parametricGraph, polarGraph, sampleRuns, } from "./function-graph";
13
- export type { AreaUnderGraphProps, LineToGraphProps, RiemannRectanglesProps, SecantSlopeGroupProps, TangentToGraphProps, } from "./graph-annotations";
14
- export { angleOfTangent, areaUnderGraph, horizontalLineToGraph, inputToGraphPoint, riemannRectangles, secantSlopeGroup, slopeOfSecant, tangentToGraph, verticalLineToGraph, } from "./graph-annotations";
15
- export type { ImplicitFunctionProps } from "./implicit-function";
16
- export { implicitFunction } from "./implicit-function";
17
- export type { BasisVectorsProps, LinearTransformProps, } from "./linear-transform";
18
- export { basisVectors, LinearTransformNode, linearTransform, transformDeterminant, } from "./linear-transform";
19
- export type { NumberLineProps, UnitIntervalProps } from "./number-line";
20
- export { numberLine, unitInterval } from "./number-line";
21
- export type { NumberPlaneProps } from "./number-plane";
22
- export { numberPlane } from "./number-plane";
23
- export type { AzimuthUnits, PolarCoordinateSystem, PolarPlaneProps, } from "./polar-plane";
24
- export { piMultipleLabel, polarCoordsOf, polarPlane } from "./polar-plane";
25
- export type { TangentLineProps } from "./tangent";
26
- export { tangentLine } from "./tangent";
27
- export type { FieldEngine, FieldEnvironment, FieldProps, StreamLinesProps, VectorFieldHandle, VectorFieldProps, } from "./vector-field";
28
- export { createFieldEngine, fieldHandle, streamLines, vectorField, } from "./vector-field";
29
- //# sourceMappingURL=index.d.ts.map
5
+ export type { AxesProps, AxisOptions } from "./axes.js";
6
+ export { axes } from "./axes.js";
7
+ export type { Complex, ComplexCoordinateSystem, ComplexPlaneProps, } from "./complex-plane.js";
8
+ export { complexCoordsOf, complexPlane, imaginaryTick, } from "./complex-plane.js";
9
+ export type { AxisPosition, CartesianOptions, CoordinateSystem, XAxisPosition, YAxisPosition, } from "./coords.js";
10
+ export { axisPositionValue, coordsContext, coordsOf, coordsReadable, createCartesianCoords, createPhases, crossingValue, phaseProgress, publishCoords, requireCoords, UNDER_AXES_Z_INDEX, } from "./coords.js";
11
+ export type { CurveSampling, FunctionGraphHandle, FunctionGraphProps, ParametricGraphProps, PolarGraphProps, } from "./function-graph.js";
12
+ export { functionGraph, graphHandle, parametricGraph, polarGraph, sampleRuns, } from "./function-graph.js";
13
+ export type { AreaUnderGraphProps, LineToGraphProps, RiemannRectanglesProps, SecantSlopeGroupProps, TangentToGraphProps, } from "./graph-annotations.js";
14
+ export { angleOfTangent, areaUnderGraph, horizontalLineToGraph, inputToGraphPoint, riemannRectangles, secantSlopeGroup, slopeOfSecant, tangentToGraph, verticalLineToGraph, } from "./graph-annotations.js";
15
+ export type { ImplicitFunctionProps } from "./implicit-function.js";
16
+ export { implicitFunction } from "./implicit-function.js";
17
+ export type { BasisVectorsProps, LinearTransformProps, } from "./linear-transform.js";
18
+ export { basisVectors, LinearTransformNode, linearTransform, transformDeterminant, } from "./linear-transform.js";
19
+ export type { NumberLineProps, UnitIntervalProps } from "./number-line.js";
20
+ export { numberLine, unitInterval } from "./number-line.js";
21
+ export type { NumberPlaneProps } from "./number-plane.js";
22
+ export { numberPlane } from "./number-plane.js";
23
+ export type { AzimuthUnits, PolarCoordinateSystem, PolarPlaneProps, } from "./polar-plane.js";
24
+ export { piMultipleLabel, polarCoordsOf, polarPlane } from "./polar-plane.js";
25
+ export type { TangentLineProps } from "./tangent.js";
26
+ export { tangentLine } from "./tangent.js";
27
+ export type { FieldEngine, FieldEnvironment, FieldProps, StreamLinesProps, VectorFieldHandle, VectorFieldProps, } from "./vector-field.js";
28
+ export { createFieldEngine, fieldHandle, streamLines, vectorField, } from "./vector-field.js";
@@ -11,10 +11,10 @@
11
11
  * a group, it pins the pen scale (`Space.penScale`), so a shear moves points
12
12
  * and not ink.
13
13
  */
14
- import type { ColorInput } from "../color";
15
- import type { Matrix, Point } from "../geometry";
16
- import { BaseContainer } from "../scene/container";
17
- import type { InvalidateBits, SceneNode, Space } from "../scene/types";
14
+ import type { ColorInput } from "../color/index.js";
15
+ import type { Matrix, Point } from "../geometry/index.js";
16
+ import { BaseContainer } from "../scene/container.js";
17
+ import type { InvalidateBits, SceneNode, Space } from "../scene/types.js";
18
18
  /**
19
19
  * Props for {@link linearTransform}. Give either `matrix` or `iHat`/`jHat`.
20
20
  *
@@ -105,7 +105,7 @@ export declare class LinearTransformNode extends BaseContainer<LinearTransformPr
105
105
  * @see {@link https://sophistry.dev/guides/coordinate-systems/}
106
106
  * @category Coordinate systems & graphs
107
107
  */
108
- export declare const linearTransform: import("..").Definition<LinearTransformProps, LinearTransformNode, keyof LinearTransformProps>;
108
+ export declare const linearTransform: import("../scene/types.js").Definition<LinearTransformProps, LinearTransformNode, keyof LinearTransformProps>;
109
109
  /**
110
110
  * Props for {@link basisVectors}. The map fields mirror {@link LinearTransformProps}.
111
111
  *
@@ -175,7 +175,7 @@ export interface BasisVectorsProps {
175
175
  *
176
176
  * @category Coordinate systems & graphs
177
177
  */
178
- export declare const basisVectors: import("..").Definition<BasisVectorsProps, import("../scene/composite").CompositeNode<BasisVectorsProps>, keyof BasisVectorsProps>;
178
+ export declare const basisVectors: import("../scene/types.js").Definition<BasisVectorsProps, import("../scene/composite.js").CompositeNode<BasisVectorsProps>, keyof BasisVectorsProps>;
179
179
  /**
180
180
  * Signed area scale factor of the blended map — what the unit square's area
181
181
  * becomes at this point in the animation.
@@ -202,4 +202,3 @@ export declare function transformDeterminant(props: {
202
202
  jHat?: Point;
203
203
  progress?: number;
204
204
  }): number;
205
- //# sourceMappingURL=linear-transform.d.ts.map
@@ -2,11 +2,11 @@
2
2
  * `numberLine`: a single axis, its ticks and its numbers (Manim's
3
3
  * `NumberLine`), and `unitInterval`, its preset over `[0, 1]`.
4
4
  */
5
- import type { Point, Range, RangeTransition, ScaleSpec, TickFormatterSpec, TimeZone, TipShape } from "../geometry";
6
- import type { ShapeProps } from "../scene/shape";
7
- import type { TextHalo } from "../scene/text";
8
- import type { PropsDescriptor, SceneNode } from "../scene/types";
9
- import type { Vec2 } from "../spec/layout";
5
+ import type { Point, Range, RangeTransition, ScaleSpec, TickFormatterSpec, TimeZone, TipShape } from "../geometry/index.js";
6
+ import type { ShapeProps } from "../scene/shape.js";
7
+ import type { TextHalo } from "../scene/text.js";
8
+ import type { PropsDescriptor, SceneNode } from "../scene/types.js";
9
+ import type { Vec2 } from "../spec/layout.js";
10
10
  /**
11
11
  * The shape props a number line hands straight to its line and ticks: every
12
12
  * one but the transform (the line places itself) and `progress` (spent in
@@ -187,7 +187,7 @@ export declare const numberLineStyleProps: PropsDescriptor<NumberLineStyleProps>
187
187
  * @see {@link axes} for a pair of lines with a shared plotting area.
188
188
  * @category Coordinate systems & graphs
189
189
  */
190
- export declare const numberLine: import("..").Definition<NumberLineProps, import("../scene/composite").CompositeNode<NumberLineProps>, keyof NumberLineProps>;
190
+ export declare const numberLine: import("../scene/types.js").Definition<NumberLineProps, import("../scene/composite.js").CompositeNode<NumberLineProps>, keyof NumberLineProps>;
191
191
  /** @category Coordinate systems & graphs */
192
192
  export type UnitIntervalProps = Omit<NumberLineProps, "range"> & {
193
193
  /** Overrides the preset's `[0, 1, 0.25]`. */
@@ -207,6 +207,5 @@ export type UnitIntervalProps = Omit<NumberLineProps, "range"> & {
207
207
  *
208
208
  * @category Coordinate systems & graphs
209
209
  */
210
- export declare const unitInterval: import("..").Definition<UnitIntervalProps, import("../scene/composite").CompositeNode<UnitIntervalProps>, "base" | "center" | "children" | "cursor" | "dash" | "dashOffset" | "decimalPlaces" | "drag" | "drop" | "fill" | "fillOpacity" | "focusable" | "hitArea" | "hover" | "itemLabel" | "keyboard" | "label" | "length" | "lineCap" | "lineJoin" | "minorTickCount" | "minorTickSize" | "numberDirection" | "numberFontSize" | "numberGap" | "numberHalo" | "numberOpacity" | "numberOverlap" | "numbers" | "numbersToExclude" | "numbersToInclude" | "onContextMenu" | "onDoubleTap" | "onEnter" | "onLeave" | "onLongPress" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onTap" | "onWheel" | "opacity" | "place" | "pointerEvents" | "pressed" | "progress" | "range" | "role" | "rotation" | "scale" | "step" | "stroke" | "strokeAlong" | "strokeWidth" | "tickFormat" | "tickSize" | "ticks" | "timeZone" | "tip" | "tipLength" | "tipShape" | "visible" | "zIndex">;
210
+ export declare const unitInterval: import("../scene/types.js").Definition<UnitIntervalProps, import("../scene/composite.js").CompositeNode<UnitIntervalProps>, "base" | "center" | "children" | "cursor" | "dash" | "dashOffset" | "decimalPlaces" | "drag" | "drop" | "fill" | "fillOpacity" | "focusable" | "hitArea" | "hover" | "itemLabel" | "keyboard" | "label" | "length" | "lineCap" | "lineJoin" | "minorTickCount" | "minorTickSize" | "numberDirection" | "numberFontSize" | "numberGap" | "numberHalo" | "numberOpacity" | "numberOverlap" | "numbers" | "numbersToExclude" | "numbersToInclude" | "onContextMenu" | "onDoubleTap" | "onEnter" | "onLeave" | "onLongPress" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onTap" | "onWheel" | "opacity" | "place" | "pointerEvents" | "pressed" | "progress" | "range" | "role" | "rotation" | "scale" | "step" | "stroke" | "strokeAlong" | "strokeWidth" | "tickFormat" | "tickSize" | "ticks" | "timeZone" | "tip" | "tipLength" | "tipShape" | "visible" | "zIndex">;
211
211
  export {};
212
- //# sourceMappingURL=number-line.d.ts.map
@@ -2,12 +2,12 @@
2
2
  * `numberPlane`: `axes` on a background grid (Manim's `NumberPlane`). The
3
3
  * layout is shared with `complexPlane`.
4
4
  */
5
- import type { ColorInput } from "../color";
6
- import type { CompositeContext } from "../scene/composite";
7
- import type { PropsDescriptor, SceneNode } from "../scene/types";
8
- import type { AxesProps, AxesState } from "./axes";
9
- import type { CoordinateSystem } from "./coords";
10
- import { createGridLines } from "./grid-lines";
5
+ import type { ColorInput } from "../color/index.js";
6
+ import type { CompositeContext } from "../scene/composite.js";
7
+ import type { PropsDescriptor, SceneNode } from "../scene/types.js";
8
+ import type { AxesProps, AxesState } from "./axes.js";
9
+ import type { CoordinateSystem } from "./coords.js";
10
+ import { createGridLines } from "./grid-lines.js";
11
11
  /**
12
12
  * Props for {@link numberPlane}: everything {@link AxesProps} takes, plus grid styling.
13
13
  *
@@ -108,5 +108,4 @@ export declare function numberPlaneLayout<P extends object>(ctx: CompositeContex
108
108
  * @see {@link polarPlane} for rings and spokes.
109
109
  * @category Coordinate systems & graphs
110
110
  */
111
- export declare const numberPlane: import("..").Definition<NumberPlaneProps, import("../scene/composite").CompositeNode<NumberPlaneProps>, keyof NumberPlaneProps>;
112
- //# sourceMappingURL=number-plane.d.ts.map
111
+ export declare const numberPlane: import("../scene/types.js").Definition<NumberPlaneProps, import("../scene/composite.js").CompositeNode<NumberPlaneProps>, keyof NumberPlaneProps>;
@@ -2,11 +2,11 @@
2
2
  * `polarPlane`: rings for radius, spokes for angle (Manim's `PolarPlane`),
3
3
  * over an ordinary cartesian mapping.
4
4
  */
5
- import type { ColorInput } from "../color";
6
- import type { Point } from "../geometry";
7
- import type { SceneNode } from "../scene/types";
8
- import type { AxisOptions } from "./axes";
9
- import type { CoordinateSystem } from "./coords";
5
+ import type { ColorInput } from "../color/index.js";
6
+ import type { Point } from "../geometry/index.js";
7
+ import type { SceneNode } from "../scene/types.js";
8
+ import type { AxisOptions } from "./axes.js";
9
+ import type { CoordinateSystem } from "./coords.js";
10
10
  /**
11
11
  * How the spokes are labelled — Manim's `azimuth_units`, minus the gradians
12
12
  * nobody has ever asked for.
@@ -159,7 +159,7 @@ export declare function piMultipleLabel(numerator: number, denominator: number):
159
159
  * @see {@link https://sophistry.dev/guides/coordinate-systems/#polarplane-and-complexplane}
160
160
  * @category Coordinate systems & graphs
161
161
  */
162
- export declare const polarPlane: import("..").Definition<PolarPlaneProps, import("../scene/composite").CompositeNode<PolarPlaneProps>, keyof PolarPlaneProps>;
162
+ export declare const polarPlane: import("../scene/types.js").Definition<PolarPlaneProps, import("../scene/composite.js").CompositeNode<PolarPlaneProps>, keyof PolarPlaneProps>;
163
163
  /**
164
164
  * {@link coordsOf} for a {@link polarPlane}: its system with
165
165
  * `polarToPoint`/`pointToPolar`.
@@ -170,4 +170,3 @@ export declare const polarPlane: import("..").Definition<PolarPlaneProps, import
170
170
  * @category Coordinate systems & graphs
171
171
  */
172
172
  export declare function polarCoordsOf(node: SceneNode<PolarPlaneProps>): PolarCoordinateSystem | null;
173
- //# sourceMappingURL=polar-plane.d.ts.map
@@ -6,8 +6,8 @@
6
6
  * which is the same job `plot` does, and it shares that shape's `function`/`from`/
7
7
  * `to` vocabulary.
8
8
  */
9
- import type { Point, Polyline } from "../geometry";
10
- import type { ShapeInstanceable, ShapeProps } from "../scene/shape";
9
+ import type { Point, Polyline } from "../geometry/index.js";
10
+ import type { ShapeInstanceable, ShapeProps } from "../scene/shape.js";
11
11
  /** @category Coordinate systems & graphs */
12
12
  export interface TangentLineProps extends ShapeProps {
13
13
  /** An already-sampled curve in scene units. Takes precedence over `function`/`from`/`to`. */
@@ -70,5 +70,4 @@ export interface TangentLineProps extends ShapeProps {
70
70
  * @see {@link plot}
71
71
  * @category Coordinate systems & graphs
72
72
  */
73
- export declare const tangentLine: import("..").Definition<TangentLineProps, import("..").ShapeNode<TangentLineProps>, "length" | "proportion" | ShapeInstanceable>;
74
- //# sourceMappingURL=tangent.d.ts.map
73
+ export declare const tangentLine: import("../index.js").Definition<TangentLineProps, import("../scene/shape.js").ShapeNode<TangentLineProps>, "length" | "proportion" | ShapeInstanceable>;
@@ -15,14 +15,14 @@
15
15
  * the frame, so a pan re-samples it without any `update`, and a field with
16
16
  * ranges never reads the frame at all.
17
17
  */
18
- import type { ColorInput } from "../color";
19
- import type { Bounds, Point, Polyline, Range, TipShape, VectorFn } from "../geometry";
20
- import type { CompositeNode } from "../scene/composite";
21
- import type { ShapeProps } from "../scene/shape";
22
- import type { Definition, SceneNode } from "../scene/types";
23
- import type { ColorRampSpec } from "../spec/colorRampProp";
24
- import type { Theme } from "../themes/types";
25
- import type { CoordinateSystem } from "./coords";
18
+ import type { ColorInput } from "../color/index.js";
19
+ import type { Bounds, Point, Polyline, Range, TipShape, VectorFn } from "../geometry/index.js";
20
+ import type { CompositeNode } from "../scene/composite.js";
21
+ import type { ShapeProps } from "../scene/shape.js";
22
+ import type { Definition, SceneNode } from "../scene/types.js";
23
+ import type { ColorRampSpec } from "../spec/colorRampProp.js";
24
+ import type { Theme } from "../themes/types.js";
25
+ import type { CoordinateSystem } from "./coords.js";
26
26
  /**
27
27
  * The imperative half of a field, for reading vectors and flow lines out of
28
28
  * it (to ride a dot along it, say). Made by {@link fieldHandle}; its methods
@@ -316,4 +316,3 @@ export interface StreamLinesProps extends FieldProps {
316
316
  */
317
317
  export declare const streamLines: Definition<StreamLinesProps, CompositeNode<StreamLinesProps>, keyof StreamLinesProps>;
318
318
  export {};
319
- //# sourceMappingURL=vector-field.d.ts.map
@@ -16,16 +16,15 @@
16
16
  * @module @sophistry/core/color
17
17
  * @packageDocumentation
18
18
  */
19
- export type { ColorInterpolationOptions, Hsl, Hsv, Oklch, } from "../color/convert";
20
- export { colorInterpolator, hslToRgb, hsvToRgb, oklchToRgb, rgbToHsl, rgbToHsv, rgbToOklch, } from "../color/convert";
21
- export { BLACK, BLUE, GOLD, GREEN, GREY, GREY_A, GREY_B, GREY_C, GREY_D, GREY_E, MAROON, namedColors, ORANGE, PINK, PURPLE, RED, TEAL, WHITE, YELLOW, } from "../color/named";
22
- export { darken, lighten, mixColor, shadeColor, withAlpha, } from "../color/ops";
23
- export { FALLBACK_COLOR, parseColor, toCss, tryParseColor, } from "../color/parse";
24
- export type { RandomColorOptions } from "../color/random";
25
- export { randomColor } from "../color/random";
26
- export type { Color, ColorInput, ColorSpace } from "../color/types";
27
- export type { Colormap, ColormapName, ColormapOptions, ColormapSpec, } from "../themes/colormap";
28
- export { colormapStops, colormaps, resolveColormap } from "../themes/colormap";
29
- export type { ColorRampOptions } from "../themes/ramp";
30
- export { colorRamp, sampleRamp } from "../themes/ramp";
31
- //# sourceMappingURL=color.d.ts.map
19
+ export type { ColorInterpolationOptions, Hsl, Hsv, Oklch, } from "../color/convert.js";
20
+ export { colorInterpolator, hslToRgb, hsvToRgb, oklchToRgb, rgbToHsl, rgbToHsv, rgbToOklch, } from "../color/convert.js";
21
+ export { BLACK, BLUE, GOLD, GREEN, GREY, GREY_A, GREY_B, GREY_C, GREY_D, GREY_E, MAROON, namedColors, ORANGE, PINK, PURPLE, RED, TEAL, WHITE, YELLOW, } from "../color/named.js";
22
+ export { darken, lighten, mixColor, shadeColor, withAlpha, } from "../color/ops.js";
23
+ export { FALLBACK_COLOR, parseColor, toCss, tryParseColor, } from "../color/parse.js";
24
+ export type { RandomColorOptions } from "../color/random.js";
25
+ export { randomColor } from "../color/random.js";
26
+ export type { Color, ColorInput, ColorSpace } from "../color/types.js";
27
+ export type { Colormap, ColormapName, ColormapOptions, ColormapSpec, } from "../themes/colormap.js";
28
+ export { colormapStops, colormaps, resolveColormap, } from "../themes/colormap.js";
29
+ export type { ColorRampOptions } from "../themes/ramp.js";
30
+ export { colorRamp, sampleRamp } from "../themes/ramp.js";
@@ -25,8 +25,8 @@
25
25
  *
26
26
  * @module @sophistry/core/definitions
27
27
  */
28
- import * as entry from "../index";
29
- import type { Definition } from "../scene/types";
28
+ import * as entry from "../index.js";
29
+ import type { Definition } from "../scene/types.js";
30
30
  /**
31
31
  * Whether `value` is a definition made by `definePrimitive`, `defineShape`,
32
32
  * `defineComposite` and friends.
@@ -70,4 +70,3 @@ export declare function collectDefinitions<M extends object>(namespace: M): Defi
70
70
  */
71
71
  export declare const definitions: DefinitionExports<typeof entry>;
72
72
  export {};
73
- //# sourceMappingURL=definitions.d.ts.map
@@ -15,46 +15,45 @@
15
15
  * @module @sophistry/core/geometry
16
16
  * @packageDocumentation
17
17
  */
18
- export type { AngleArcOptions } from "../geometry/arc";
19
- export { angleArcCurvePath, angleArcPolyline, annularSectorCurvePath, annularSectorPolyline, annulusCurvePaths, annulusPolylines, arcBetweenPoints, arcBetweenPointsCurvePath, arcCurvePath, cubicBezierPolyline, elbowPolyline, ellipseCurvePath, polygramPolyline, quadraticBezierPolyline, rightAngleMarkPolyline, sectorCurvePath, sectorPolyline, segmentsForArc, starInnerRadius, starPolygon, } from "../geometry/arc";
20
- export type { BandKey, BandScale, BandScaleOptions } from "../geometry/band";
21
- export { bandScale, interpolateBandScale, slotBandScale, } from "../geometry/band";
22
- export { boundsOf, centerOf, pointOnBounds } from "../geometry/bounds";
23
- export type { BraceOptions } from "../geometry/brace";
24
- export { braceRings, braceSpan, braceTip } from "../geometry/brace";
25
- export type { ClosedCurveKind, CurveKind } from "../geometry/curves";
26
- export { areaCurvePath, clipClosedCurvePathToX, clipCurvePathToX, closedCurvePath, curvePath, reverseCurvePath, } from "../geometry/curves";
27
- export type { StreamlineOptions, VectorFn } from "../geometry/field";
28
- export { fieldJitter, rk4Step, streamline, streamlineBothWays, } from "../geometry/field";
29
- export type { GraphData, GraphDirection, GraphEdge, GraphExtent, GraphLayout, GraphLayoutName, GraphLayoutOptions, GraphLayoutSpec, VertexId, } from "../geometry/graph-layout";
30
- export { circularLayout, edgeKey, explicitLayout, graphLayouts, gridLayout, partiteLayout, pathEdges, resolveGraphLayout, shellLayout, springGrowth, springLayout, springTrajectory, treeLayout, } from "../geometry/graph-layout";
31
- export type { ImplicitCurveOptions, ImplicitCurvePiece, } from "../geometry/implicit";
32
- export { implicitCurve } from "../geometry/implicit";
33
- export type { PointPath } from "../geometry/lerp";
34
- export { clamp, lerp, lerpPoint, lerpPoint3, pathAlongArc, progressIn, remap, } from "../geometry/lerp";
35
- export type { Correspondence, MorphInterpolator, RingsInterpolator, } from "../geometry/morph";
36
- export { morphCurvePaths, morphPathData, morphPolylines, morphRings, } from "../geometry/morph";
37
- export type { ArcTable, CurveArcTable } from "../geometry/path/arclength";
38
- export { measure, measureCurve, normalAtT, pointAtT, resample, revealedPolylines, sliceAtT, sliceBetween, sliceCurveAtT, sliceCurveBetween, tangentAtT, } from "../geometry/path/arclength";
39
- export { arcCubics, cubicArcLength, flattenCubicPolyline, lineSegment, quadraticToCubic, splitCubicAt, } from "../geometry/path/cubic";
40
- export type { PathSegment } from "../geometry/path/svg-path";
41
- export { closePolyline, curvePathToPolyline, flattenPath, parsePathData, pathDataToCurvePath, polylineToCurvePath, toPathData, } from "../geometry/path/svg-path";
42
- export type { Bounds, CurvePath, CurveSegment, Point, Polyline, Subpath, } from "../geometry/path/types";
43
- export type { RangeTransition, WeightedTick, } from "../geometry/scale/range-transition";
44
- export { currentRange, interpolateRange, isRangeTransition, spacedTicks, transitionTicks, } from "../geometry/scale/range-transition";
45
- export type { DivergingKind, DivergingScaleOptions, Range, Scale, ScaleName, ScaleSpec, ScaleTicks, TimeScaleOptions, } from "../geometry/scale/scales";
46
- export { divergingScale, linearScale, logScale, powScale, resolveScale, sqrtScale, symlogScale, timeScale, } from "../geometry/scale/scales";
47
- export type { TickFormatContext, TickFormatter, TickFormatterName, TickFormatterSpec, } from "../geometry/scale/tick-format";
48
- export { formatSpecifier, formatTick, resolveTickFormatter, tickFormatters, } from "../geometry/scale/tick-format";
49
- export type { AxisTickOptions, LogTickOptions, TickOptions, } from "../geometry/scale/ticks";
50
- export { axisTicks, logTicks, niceStep, thinTickLabels, tickStep, tickValues, } from "../geometry/scale/ticks";
51
- export type { MatchedShapePart, MatchShapesOptions, ShapeMatch, ShapePart, ShapeTransform, } from "../geometry/shape-match";
52
- export { matchShapesByPointCloud, morphShapes } from "../geometry/shape-match";
53
- export { arcPolyline, arrowHead, arrowHeadAt, circlePolyline, ellipsePolyline, linePolyline, plotPolyline, rectPolyline, regularPolygon, segmentsForRadius, } from "../geometry/shapes";
54
- export type { TemporalInstantLike, TemporalPlainDateLike, TemporalPlainDateTimeLike, TemporalValue, TimeValue, TimeZone, } from "../geometry/time";
55
- export { fromWallTime, timeZoneOffset, toEpochMs, toWallTime, } from "../geometry/time";
56
- export type { TipGeometry, TipShape } from "../geometry/tips";
57
- export { tipIsClosed, tipPolylines } from "../geometry/tips";
58
- export type { Matrix } from "../geometry/transform";
59
- export { about, applyToPoint, applyToPolyline, columnsOf, compose, determinant, fromColumns, fromTranslationRotationScale, IDENTITY, invert, lerpMatrix, linearMap, rotate, scale, scaleFactorOf, translate, } from "../geometry/transform";
60
- //# sourceMappingURL=geometry.d.ts.map
18
+ export type { AngleArcOptions } from "../geometry/arc.js";
19
+ export { angleArcCurvePath, angleArcPolyline, annularSectorCurvePath, annularSectorPolyline, annulusCurvePaths, annulusPolylines, arcBetweenPoints, arcBetweenPointsCurvePath, arcCurvePath, cubicBezierPolyline, elbowPolyline, ellipseCurvePath, polygramPolyline, quadraticBezierPolyline, rightAngleMarkPolyline, sectorCurvePath, sectorPolyline, segmentsForArc, starInnerRadius, starPolygon, } from "../geometry/arc.js";
20
+ export type { BandKey, BandScale, BandScaleOptions } from "../geometry/band.js";
21
+ export { bandScale, interpolateBandScale, slotBandScale, } from "../geometry/band.js";
22
+ export { boundsOf, centerOf, pointOnBounds } from "../geometry/bounds.js";
23
+ export type { BraceOptions } from "../geometry/brace.js";
24
+ export { braceRings, braceSpan, braceTip } from "../geometry/brace.js";
25
+ export type { ClosedCurveKind, CurveKind } from "../geometry/curves.js";
26
+ export { areaCurvePath, clipClosedCurvePathToX, clipCurvePathToX, closedCurvePath, curvePath, reverseCurvePath, } from "../geometry/curves.js";
27
+ export type { StreamlineOptions, VectorFn } from "../geometry/field.js";
28
+ export { fieldJitter, rk4Step, streamline, streamlineBothWays, } from "../geometry/field.js";
29
+ export type { GraphData, GraphDirection, GraphEdge, GraphExtent, GraphLayout, GraphLayoutName, GraphLayoutOptions, GraphLayoutSpec, VertexId, } from "../geometry/graph-layout.js";
30
+ export { circularLayout, edgeKey, explicitLayout, graphLayouts, gridLayout, partiteLayout, pathEdges, resolveGraphLayout, shellLayout, springGrowth, springLayout, springTrajectory, treeLayout, } from "../geometry/graph-layout.js";
31
+ export type { ImplicitCurveOptions, ImplicitCurvePiece, } from "../geometry/implicit.js";
32
+ export { implicitCurve } from "../geometry/implicit.js";
33
+ export type { PointPath } from "../geometry/lerp.js";
34
+ export { clamp, lerp, lerpPoint, lerpPoint3, pathAlongArc, progressIn, remap, } from "../geometry/lerp.js";
35
+ export type { Correspondence, MorphInterpolator, RingsInterpolator, } from "../geometry/morph.js";
36
+ export { morphCurvePaths, morphPathData, morphPolylines, morphRings, } from "../geometry/morph.js";
37
+ export type { ArcTable, CurveArcTable } from "../geometry/path/arclength.js";
38
+ export { measure, measureCurve, normalAtT, pointAtT, resample, revealedPolylines, sliceAtT, sliceBetween, sliceCurveAtT, sliceCurveBetween, tangentAtT, } from "../geometry/path/arclength.js";
39
+ export { arcCubics, cubicArcLength, flattenCubicPolyline, lineSegment, quadraticToCubic, splitCubicAt, } from "../geometry/path/cubic.js";
40
+ export type { PathSegment } from "../geometry/path/svg-path.js";
41
+ export { closePolyline, curvePathToPolyline, flattenPath, parsePathData, pathDataToCurvePath, polylineToCurvePath, toPathData, } from "../geometry/path/svg-path.js";
42
+ export type { Bounds, CurvePath, CurveSegment, Point, Polyline, Subpath, } from "../geometry/path/types.js";
43
+ export type { RangeTransition, WeightedTick, } from "../geometry/scale/range-transition.js";
44
+ export { currentRange, interpolateRange, isRangeTransition, spacedTicks, transitionTicks, } from "../geometry/scale/range-transition.js";
45
+ export type { DivergingKind, DivergingScaleOptions, Range, Scale, ScaleName, ScaleSpec, ScaleTicks, TimeScaleOptions, } from "../geometry/scale/scales.js";
46
+ export { divergingScale, linearScale, logScale, powScale, resolveScale, sqrtScale, symlogScale, timeScale, } from "../geometry/scale/scales.js";
47
+ export type { TickFormatContext, TickFormatter, TickFormatterName, TickFormatterSpec, } from "../geometry/scale/tick-format.js";
48
+ export { formatSpecifier, formatTick, resolveTickFormatter, tickFormatters, } from "../geometry/scale/tick-format.js";
49
+ export type { AxisTickOptions, LogTickOptions, TickOptions, } from "../geometry/scale/ticks.js";
50
+ export { axisTicks, logTicks, niceStep, thinTickLabels, tickStep, tickValues, } from "../geometry/scale/ticks.js";
51
+ export type { MatchedShapePart, MatchShapesOptions, ShapeMatch, ShapePart, ShapeTransform, } from "../geometry/shape-match.js";
52
+ export { matchShapesByPointCloud, morphShapes, } from "../geometry/shape-match.js";
53
+ export { arcPolyline, arrowHead, arrowHeadAt, circlePolyline, ellipsePolyline, linePolyline, plotPolyline, rectPolyline, regularPolygon, segmentsForRadius, } from "../geometry/shapes.js";
54
+ export type { TemporalInstantLike, TemporalPlainDateLike, TemporalPlainDateTimeLike, TemporalValue, TimeValue, TimeZone, } from "../geometry/time.js";
55
+ export { fromWallTime, timeZoneOffset, toEpochMs, toWallTime, } from "../geometry/time.js";
56
+ export type { TipGeometry, TipShape } from "../geometry/tips.js";
57
+ export { tipIsClosed, tipPolylines } from "../geometry/tips.js";
58
+ export type { Matrix } from "../geometry/transform.js";
59
+ export { about, applyToPoint, applyToPolyline, columnsOf, compose, determinant, fromColumns, fromTranslationRotationScale, IDENTITY, invert, lerpMatrix, linearMap, rotate, scale, scaleFactorOf, translate, } from "../geometry/transform.js";