@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
@@ -4,7 +4,7 @@
4
4
  * script at one absolute time per clock step, which keeps composition exact and
5
5
  * makes fast-forward and scrubbing work. No canvas, no clock here.
6
6
  */
7
- import type { Easing } from "../tween/easing";
7
+ import type { Easing } from "../tween/easing.js";
8
8
  /**
9
9
  * Floating-point slack, in seconds, when comparing absolute times. Child
10
10
  * offsets are sums of floats (`0.1 + 0.2`), so a child that "should" be exactly
@@ -205,4 +205,3 @@ export type CycleStart = "continue" | "fixed";
205
205
  * anywhere, in either direction, is exact.
206
206
  */
207
207
  export declare function cycles(inner: Animation, times: number, start?: CycleStart): Animation;
208
- //# sourceMappingURL=animation.d.ts.map
@@ -5,8 +5,8 @@
5
5
  * that into an arc-length reveal. A shape's polylines share one budget, spent in
6
6
  * order, so a multi-part shape draws part by part rather than all at once.
7
7
  */
8
- import type { Animatable } from "../tween";
9
- import type { Animation, AnimOptions } from "./types";
8
+ import type { Animatable } from "../tween/index.js";
9
+ import type { Animation, AnimOptions } from "./types.js";
10
10
  /** @category Animation presets */
11
11
  export interface DrawOptions extends AnimOptions {
12
12
  /** Progress (0..1) to reset the track to before drawing; defaults to the track's current value. */
@@ -106,4 +106,3 @@ export declare function unwrite(progresses: Animatable<number>[], options?: Unwr
106
106
  export declare function drawBorderThenFill(progress: Animatable<number>, fillOpacity: Animatable<number>, options?: AnimOptions & {
107
107
  fillTo?: number;
108
108
  }): Animation;
109
- //# sourceMappingURL=draw.d.ts.map
@@ -5,8 +5,8 @@
5
5
  * to exactly where it started, so they can be fired at any time without
6
6
  * disturbing the scene's resting state.
7
7
  */
8
- import type { Animatable } from "../tween";
9
- import type { Animation, AnimOptions } from "./types";
8
+ import type { Animatable } from "../tween/index.js";
9
+ import type { Animation, AnimOptions } from "./types.js";
10
10
  /** @category Animation presets */
11
11
  export interface IndicateOptions extends AnimOptions {
12
12
  /**
@@ -91,4 +91,3 @@ export declare function pulse(scale: Animatable<number>, options?: AnimOptions &
91
91
  * @category Animation presets
92
92
  */
93
93
  export declare function circumscribe(progress: Animatable<number>, options?: AnimOptions): Animation;
94
- //# sourceMappingURL=emphasis.d.ts.map
@@ -2,9 +2,9 @@
2
2
  * Fades. The whole category is one opacity tween, plus optional drift so
3
3
  * `FadeIn(shift=UP)` has an equivalent.
4
4
  */
5
- import type { Point } from "../geometry";
6
- import type { Animatable } from "../tween";
7
- import type { Animation, AnimOptions } from "./types";
5
+ import type { Point } from "../geometry/index.js";
6
+ import type { Animatable } from "../tween/index.js";
7
+ import type { Animation, AnimOptions } from "./types.js";
8
8
  /** @category Animation presets */
9
9
  export interface FadeOptions extends AnimOptions {
10
10
  /**
@@ -80,4 +80,3 @@ export declare function fadeInFrom(opacity: Animatable<number>, position: Animat
80
80
  * @category Animation presets
81
81
  */
82
82
  export declare function fadeOutTo(opacity: Animatable<number>, position: Animatable<Point>, offset: Point, options?: AnimOptions): Animation;
83
- //# sourceMappingURL=fade.d.ts.map
@@ -4,9 +4,9 @@
4
4
  * held through `delay`, and an aborted grow snaps back to rest so a cancelled
5
5
  * script never leaves a shape half-size or invisible.
6
6
  */
7
- import type { Bounds, Point } from "../geometry";
8
- import type { Animatable } from "../tween";
9
- import type { Animation, AnimOptions } from "./types";
7
+ import type { Bounds, Point } from "../geometry/index.js";
8
+ import type { Animatable } from "../tween/index.js";
9
+ import type { Animation, AnimOptions } from "./types.js";
10
10
  /**
11
11
  * `GrowFromCenter` — the shape swells from nothing about its own centre.
12
12
  *
@@ -90,4 +90,3 @@ export interface SpinInOptions extends AnimOptions {
90
90
  * @category Animation presets
91
91
  */
92
92
  export declare function spinInFromNothing(scale: Animatable<number>, rotation: Animatable<number>, options?: SpinInOptions): Animation;
93
- //# sourceMappingURL=growing.d.ts.map
@@ -1,33 +1,32 @@
1
- export type { Animation, CycleStart, LeafHooks, LeafTiming, Placed, } from "./animation";
2
- export { animation, compose, cycles, EPSILON, easedLeaf, restTime, sampleTime, } from "./animation";
3
- export type { DrawOptions, UnwriteOptions, WriteOptions } from "./draw";
4
- export { draw, drawBorderThenFill, erase, unwrite, write } from "./draw";
5
- export type { IndicateOptions } from "./emphasis";
6
- export { circumscribe, flash, indicate, pulse, wiggle } from "./emphasis";
7
- export type { FadeOptions } from "./fade";
8
- export { fadeIn, fadeInFrom, fadeOut, fadeOutTo, fadeTo } from "./fade";
9
- export type { SpinInOptions } from "./growing";
10
- export { growFromCenter, growFromEdge, growFromPoint, shrinkToCenter, spinInFromNothing, } from "./growing";
11
- export type { ApplyWaveOptions, BlinkOptions, FocusOnOptions, } from "./indication";
12
- export { applyWave, blink, focusOn, passingFlash, showPassingFlash, } from "./indication";
13
- export type { MoveOptions } from "./move";
14
- export { colorTo, moveAlong, moveBy, moveTo, rotateBy, rotateTo, scaleTo, valueTo, } from "./move";
15
- export type { ApplyFunctionOptions, PhaseFlowOptions, PointMapOptions, } from "./movement";
16
- export { applyComplexFunction, applyFunction, homotopy, phaseFlow, } from "./movement";
17
- export type { LaggedOptions, RepeatOptions } from "./sequence";
18
- export { forever, hold, lagged, parallel, repeat, sequence } from "./sequence";
19
- export type { ArcMotionOptions, CircleSlotsOptions, GridSlotsOptions, Motion, MotionContext, Presence, RowSlotsOptions, SlotItem, SlotLayout, SlotOpOptions, SlotPlan, Slots, SlotsOptions, } from "./slots";
20
- export { arcMotion, circleSlots, createSlots, gridSlots, rowSlots, } from "./slots";
21
- export type { SpeedSpec } from "./speed";
22
- export { changeSpeed } from "./speed";
23
- export type { FollowOptions, SpringToOptions } from "./spring";
24
- export { follow, springTo } from "./spring";
25
- export type { PlayContext, PlayResult, Timeline, TimelineInternals, } from "./timeline";
26
- export { anySignal, play, splitPlayArguments, timeline, timelineInternals, } from "./timeline";
27
- export type { MorphOptions } from "./transform";
28
- export { morph, morphCurve, morphPath, morphWith } from "./transform";
29
- export type { TweenOptions } from "./tween";
30
- export { tween, wait } from "./tween";
31
- export type { AnimOptions, DriveProgressOptions, DriveTrackOptions, } from "./types";
32
- export { driveProgress, driveTrack } from "./types";
33
- //# sourceMappingURL=index.d.ts.map
1
+ export type { Animation, CycleStart, LeafHooks, LeafTiming, Placed, } from "./animation.js";
2
+ export { animation, compose, cycles, EPSILON, easedLeaf, restTime, sampleTime, } from "./animation.js";
3
+ export type { DrawOptions, UnwriteOptions, WriteOptions } from "./draw.js";
4
+ export { draw, drawBorderThenFill, erase, unwrite, write } from "./draw.js";
5
+ export type { IndicateOptions } from "./emphasis.js";
6
+ export { circumscribe, flash, indicate, pulse, wiggle } from "./emphasis.js";
7
+ export type { FadeOptions } from "./fade.js";
8
+ export { fadeIn, fadeInFrom, fadeOut, fadeOutTo, fadeTo } from "./fade.js";
9
+ export type { SpinInOptions } from "./growing.js";
10
+ export { growFromCenter, growFromEdge, growFromPoint, shrinkToCenter, spinInFromNothing, } from "./growing.js";
11
+ export type { ApplyWaveOptions, BlinkOptions, FocusOnOptions, } from "./indication.js";
12
+ export { applyWave, blink, focusOn, passingFlash, showPassingFlash, } from "./indication.js";
13
+ export type { MoveOptions } from "./move.js";
14
+ export { colorTo, moveAlong, moveBy, moveTo, rotateBy, rotateTo, scaleTo, valueTo, } from "./move.js";
15
+ export type { ApplyFunctionOptions, PhaseFlowOptions, PointMapOptions, } from "./movement.js";
16
+ export { applyComplexFunction, applyFunction, homotopy, phaseFlow, } from "./movement.js";
17
+ export type { LaggedOptions, RepeatOptions } from "./sequence.js";
18
+ export { forever, hold, lagged, parallel, repeat, sequence, } from "./sequence.js";
19
+ export type { ArcMotionOptions, CircleSlotsOptions, GridSlotsOptions, Motion, MotionContext, Presence, RowSlotsOptions, SlotItem, SlotLayout, SlotOpOptions, SlotPlan, Slots, SlotsOptions, } from "./slots.js";
20
+ export { arcMotion, circleSlots, createSlots, gridSlots, rowSlots, } from "./slots.js";
21
+ export type { SpeedSpec } from "./speed.js";
22
+ export { changeSpeed } from "./speed.js";
23
+ export type { FollowOptions, SpringToOptions } from "./spring.js";
24
+ export { follow, springTo } from "./spring.js";
25
+ export type { PlayContext, PlayResult, Timeline, TimelineInternals, } from "./timeline.js";
26
+ export { anySignal, play, splitPlayArguments, timeline, timelineInternals, } from "./timeline.js";
27
+ export type { MorphOptions } from "./transform.js";
28
+ export { morph, morphCurve, morphPath, morphWith } from "./transform.js";
29
+ export type { TweenOptions } from "./tween.js";
30
+ export { tween, wait } from "./tween.js";
31
+ export type { AnimOptions, DriveProgressOptions, DriveTrackOptions, } from "./types.js";
32
+ export { driveProgress, driveTrack } from "./types.js";
@@ -8,9 +8,9 @@
8
8
  * is not a value but a *dash*, so the animation drives a plain 0..1 track and
9
9
  * {@link passingFlash} turns that into the stroke's `dash`/`dashOffset`.
10
10
  */
11
- import type { Point, Polyline } from "../geometry";
12
- import type { Animatable } from "../tween";
13
- import type { Animation, AnimOptions } from "./types";
11
+ import type { Point, Polyline } from "../geometry/index.js";
12
+ import type { Animatable } from "../tween/index.js";
13
+ import type { Animation, AnimOptions } from "./types.js";
14
14
  /** @category Animation presets */
15
15
  export interface BlinkOptions extends Omit<AnimOptions, "easing"> {
16
16
  /**
@@ -155,4 +155,3 @@ export interface ApplyWaveOptions extends AnimOptions {
155
155
  * @category Animation presets
156
156
  */
157
157
  export declare function applyWave<T extends Polyline | Polyline[]>(points: Animatable<T>, options?: ApplyWaveOptions): Animation;
158
- //# sourceMappingURL=indication.d.ts.map
@@ -4,10 +4,10 @@
4
4
  * `rotateTo` and `scaleTo` forward to it, and `moveTo` and `colorTo` call
5
5
  * `driveTrack` with the matching `resolveInterpolator` entry.
6
6
  */
7
- import type { ColorSpace } from "../color";
8
- import type { Point, Polyline } from "../geometry";
9
- import type { Animatable } from "../tween";
10
- import type { Animation, AnimOptions } from "./types";
7
+ import type { ColorSpace } from "../color/index.js";
8
+ import type { Point, Polyline } from "../geometry/index.js";
9
+ import type { Animatable } from "../tween/index.js";
10
+ import type { Animation, AnimOptions } from "./types.js";
11
11
  /**
12
12
  * Tweens a position track to an absolute point, in scene units.
13
13
  *
@@ -121,4 +121,3 @@ export declare function scaleTo(scale: Animatable<number>, factor: number, optio
121
121
  export declare function colorTo(color: Animatable<string>, to: string, options?: AnimOptions & {
122
122
  colorSpace?: ColorSpace;
123
123
  }): Animation;
124
- //# sourceMappingURL=move.d.ts.map
@@ -11,10 +11,10 @@
11
11
  * by default into pieces of a sixty-fourth of the shape's size. Linear maps
12
12
  * need none of this; `linearTransform()` does those exactly and for free.
13
13
  */
14
- import type { Point, Polyline } from "../geometry";
15
- import type { Complex } from "../geometry/complex";
16
- import type { Animatable } from "../tween";
17
- import type { Animation, AnimOptions } from "./types";
14
+ import type { Complex } from "../geometry/complex.js";
15
+ import type { Point, Polyline } from "../geometry/index.js";
16
+ import type { Animatable } from "../tween/index.js";
17
+ import type { Animation, AnimOptions } from "./types.js";
18
18
  /** @category Animation presets */
19
19
  export interface PointMapOptions extends AnimOptions {
20
20
  /**
@@ -112,4 +112,3 @@ export interface PhaseFlowOptions extends PointMapOptions {
112
112
  * @category Animation presets
113
113
  */
114
114
  export declare function phaseFlow<T extends Polyline | Polyline[]>(points: Animatable<T>, f: (point: Point) => Point, options?: PhaseFlowOptions): Animation;
115
- //# sourceMappingURL=movement.d.ts.map
@@ -5,7 +5,7 @@
5
5
  * edge has, or a long edge stays straight while everything around it curves.
6
6
  * Internal to `anim/`.
7
7
  */
8
- import type { Polyline } from "../geometry";
8
+ import type { Polyline } from "../geometry/index.js";
9
9
  /** A points track's value as rings, and how to put rings back into that shape. */
10
10
  export declare function asRings<T extends Polyline | Polyline[]>(value: T): {
11
11
  rings: Polyline[];
@@ -22,4 +22,3 @@ export declare const MAX_SPLIT_POINTS = 4000;
22
22
  * leaves the rings as they are.
23
23
  */
24
24
  export declare function splitLongEdges(rings: Polyline[], step: number): Polyline[];
25
- //# sourceMappingURL=points.d.ts.map
@@ -8,7 +8,7 @@
8
8
  * child `i` starts at `i * lag`, and none of it accumulates frame-rounding
9
9
  * drift. See {@link Animation} for how seeking a composite treats its children.
10
10
  */
11
- import type { Animation, CycleStart } from "./animation";
11
+ import type { Animation, CycleStart } from "./animation.js";
12
12
  /**
13
13
  * `AnimationGroup`: runs every animation at once; lasts as long as the
14
14
  * longest.
@@ -133,4 +133,3 @@ export declare function repeat(animation: Animation, times?: number, options?: R
133
133
  * @category Animation composition & timelines
134
134
  */
135
135
  export declare function forever(animation: Animation, options?: RepeatOptions): Animation;
136
- //# sourceMappingURL=sequence.d.ts.map
@@ -10,10 +10,10 @@
10
10
  * `items` is in stable registration order so a keyed list never remounts; slot
11
11
  * order is `order`.
12
12
  */
13
- import type { Point } from "../geometry";
14
- import type { Readable, Track } from "../reactive";
15
- import type { Easing } from "../tween";
16
- import type { Animation } from "./animation";
13
+ import type { Point } from "../geometry/index.js";
14
+ import type { Readable, Track } from "../reactive/index.js";
15
+ import type { Easing } from "../tween/index.js";
16
+ import type { Animation } from "./animation.js";
17
17
  /**
18
18
  * Maps a slot index to a point in scene units.
19
19
  *
@@ -301,4 +301,3 @@ export declare function arcMotion<K = string | number>(options?: ArcMotionOption
301
301
  * @category Layout
302
302
  */
303
303
  export declare function createSlots<K = string | number>(keys: readonly K[], options?: SlotsOptions<K>): Slots<K>;
304
- //# sourceMappingURL=slots.d.ts.map
@@ -8,7 +8,7 @@
8
8
  * inner animation follows (restore order, the first-entry capture) still
9
9
  * holds. Only time changes.
10
10
  */
11
- import type { Animation } from "./animation";
11
+ import type { Animation } from "./animation.js";
12
12
  /**
13
13
  * How fast to play: one factor for the whole animation, or speeds at points
14
14
  * through it.
@@ -41,4 +41,3 @@ export type SpeedSpec = number | Readonly<Record<number, number>>;
41
41
  * @category Animation composition & timelines
42
42
  */
43
43
  export declare function changeSpeed(animation: Animation, speed: SpeedSpec): Animation;
44
- //# sourceMappingURL=speed.d.ts.map
@@ -10,12 +10,12 @@
10
10
  * change. Springs feed the ordinary interpolators with progress that can
11
11
  * overshoot 0..1; the interpolators extrapolate (and clamp colour channels).
12
12
  */
13
- import type { Readable } from "../reactive/track";
14
- import type { Clock } from "../tween/clock";
15
- import type { Interpolator } from "../tween/interpolate";
16
- import type { SpringOptions } from "../tween/spring";
17
- import type { Animatable } from "../tween/target";
18
- import type { Animation } from "./animation";
13
+ import type { Readable } from "../reactive/track.js";
14
+ import type { Clock } from "../tween/clock.js";
15
+ import type { Interpolator } from "../tween/interpolate.js";
16
+ import type { SpringOptions } from "../tween/spring.js";
17
+ import type { Animatable } from "../tween/target.js";
18
+ import type { Animation } from "./animation.js";
19
19
  /**
20
20
  * Options for {@link springTo}.
21
21
  *
@@ -144,4 +144,3 @@ export interface FollowOptions<T> {
144
144
  * @category Springs
145
145
  */
146
146
  export declare function follow<T>(target: Animatable<T>, source: Readable<T>, springOptions?: Omit<SpringOptions, "velocity">, options?: FollowOptions<T>): () => void;
147
- //# sourceMappingURL=spring.d.ts.map
@@ -9,10 +9,10 @@
9
9
  * to its absolute elapsed time each step, so composition is frame-exact and
10
10
  * `clock.advance(10)` fast-forwards a nested script.
11
11
  */
12
- import type { Readable } from "../reactive";
13
- import type { Clock } from "../tween/clock";
14
- import type { ReducedMotion } from "../tween/reduced-motion";
15
- import type { Animation } from "./animation";
12
+ import type { Readable } from "../reactive/index.js";
13
+ import type { Clock } from "../tween/clock.js";
14
+ import type { ReducedMotion } from "../tween/reduced-motion.js";
15
+ import type { Animation } from "./animation.js";
16
16
  /**
17
17
  * How a run ended. `play()` and `timeline().play()` resolve with this and never
18
18
  * reject, so scripts unwind with `if (result === "aborted") return;`.
@@ -207,4 +207,3 @@ export declare function anySignal(...signals: (AbortSignal | undefined)[]): Abor
207
207
  * @category Animation composition & timelines
208
208
  */
209
209
  export declare function play(...args: Animation[] | [...Animation[], PlayContext]): Promise<PlayResult>;
210
- //# sourceMappingURL=timeline.d.ts.map
@@ -4,10 +4,10 @@
4
4
  * for SVG shapes of many rings (holes, separate pieces), and `morphWith` to
5
5
  * replay a prebuilt interpolator.
6
6
  */
7
- import type { CurvePath, Polyline } from "../geometry";
8
- import type { MorphInterpolator } from "../geometry/morph";
9
- import type { Animatable } from "../tween";
10
- import type { Animation, AnimOptions } from "./types";
7
+ import type { CurvePath, Polyline } from "../geometry/index.js";
8
+ import type { MorphInterpolator } from "../geometry/morph.js";
9
+ import type { Animatable } from "../tween/index.js";
10
+ import type { Animation, AnimOptions } from "./types.js";
11
11
  /** @category Animation presets */
12
12
  export interface MorphOptions extends AnimOptions {
13
13
  /** Aligns ring correspondence so closed shapes don't spin en route. Pass `true` for polygons and circles. */
@@ -90,4 +90,3 @@ export declare function morphPath(rings: Animatable<Polyline[]>, from: string, t
90
90
  * @category Animation presets
91
91
  */
92
92
  export declare function morphWith(points: Animatable<Polyline>, interpolator: MorphInterpolator, options?: AnimOptions): Animation;
93
- //# sourceMappingURL=transform.d.ts.map
@@ -4,9 +4,9 @@
4
4
  * run through `play`, so it behaves the same, but does not compose; build an
5
5
  * `Animation` with `driveTrack`/`driveProgress` to compose or scrub.
6
6
  */
7
- import type { Clock } from "../tween/clock";
8
- import type { Easing } from "../tween/easing";
9
- import type { PlayResult } from "./timeline";
7
+ import type { Clock } from "../tween/clock.js";
8
+ import type { Easing } from "../tween/easing.js";
9
+ import type { PlayResult } from "./timeline.js";
10
10
  /**
11
11
  * Options for {@link tween}.
12
12
  *
@@ -90,4 +90,3 @@ export declare function wait(seconds: number, options?: {
90
90
  clock?: Clock;
91
91
  signal?: AbortSignal;
92
92
  }): Promise<PlayResult>;
93
- //# sourceMappingURL=tween.d.ts.map
@@ -11,9 +11,9 @@
11
11
  * Nothing in `anim/` imports `render/` or touches a canvas. These functions
12
12
  * only ever read and write tracks over time.
13
13
  */
14
- import type { Animatable, Easing } from "../tween";
15
- import type { Animation } from "./animation";
16
- export type { Animation } from "./animation";
14
+ import type { Animatable, Easing } from "../tween/index.js";
15
+ import type { Animation } from "./animation.js";
16
+ export type { Animation } from "./animation.js";
17
17
  /**
18
18
  * Options shared by every animation preset.
19
19
  *
@@ -111,4 +111,3 @@ export interface DriveProgressOptions extends AnimOptions {
111
111
  * @category Extending
112
112
  */
113
113
  export declare function driveProgress(onUpdate: (t: number, raw: number) => void, options?: DriveProgressOptions): Animation;
114
- //# sourceMappingURL=types.d.ts.map
@@ -4,7 +4,7 @@
4
4
  * saturated colours dips through grey, an OKLCH one keeps lightness and chroma.
5
5
  * `rgb` stays the default colour space for interpolation.
6
6
  */
7
- import type { Color, ColorInput, ColorSpace } from "./types";
7
+ import type { Color, ColorInput, ColorSpace } from "./types.js";
8
8
  /**
9
9
  * Hue, saturation, lightness.
10
10
  *
@@ -144,4 +144,3 @@ export interface ColorInterpolationOptions {
144
144
  * @category Interpolation
145
145
  */
146
146
  export declare function colorInterpolator(a: ColorInput, b: ColorInput, options?: ColorInterpolationOptions): (t: number) => Color;
147
- //# sourceMappingURL=convert.d.ts.map
@@ -3,12 +3,11 @@
3
3
  * parser, one CSS serialiser, and the interpolation and shading operations.
4
4
  * A leaf module (d3-color and d3-interpolate only).
5
5
  */
6
- export type { ColorInterpolationOptions, Hsl, Hsv, Oklch, } from "./convert";
7
- export { colorInterpolator, hslToRgb, hsvToRgb, oklchToRgb, rgbToHsl, rgbToHsv, rgbToOklch, } from "./convert";
8
- 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 "./named";
9
- export { darken, lighten, mixColor, shadeColor, withAlpha, } from "./ops";
10
- export { cssColor, FALLBACK_COLOR, parseColor, toCss, tryParseColor, } from "./parse";
11
- export type { RandomColorOptions } from "./random";
12
- export { randomColor } from "./random";
13
- export type { Color, ColorInput, ColorSpace } from "./types";
14
- //# sourceMappingURL=index.d.ts.map
6
+ export type { ColorInterpolationOptions, Hsl, Hsv, Oklch, } from "./convert.js";
7
+ export { colorInterpolator, hslToRgb, hsvToRgb, oklchToRgb, rgbToHsl, rgbToHsv, rgbToOklch, } from "./convert.js";
8
+ 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 "./named.js";
9
+ export { darken, lighten, mixColor, shadeColor, withAlpha, } from "./ops.js";
10
+ export { cssColor, FALLBACK_COLOR, parseColor, toCss, tryParseColor, } from "./parse.js";
11
+ export type { RandomColorOptions } from "./random.js";
12
+ export { randomColor } from "./random.js";
13
+ export type { Color, ColorInput, ColorSpace } from "./types.js";
@@ -125,4 +125,3 @@ export declare const PINK = "#D147BD";
125
125
  * @category Colour
126
126
  */
127
127
  export declare const namedColors: Readonly<Record<string, string>>;
128
- //# sourceMappingURL=named.d.ts.map
@@ -4,8 +4,8 @@
4
4
  * defaults to `"rgb"` (a plain blend), `lighten`/`darken` to `"oklch"` (so
5
5
  * saturation holds). `shadeColor` scales RGB channels.
6
6
  */
7
- import { type ColorInterpolationOptions } from "./convert";
8
- import type { Color, ColorInput } from "./types";
7
+ import { type ColorInterpolationOptions } from "./convert.js";
8
+ import type { Color, ColorInput } from "./types.js";
9
9
  /** `color` between `a` and `b`, at `t`, in RGB — the direct replacement for
10
10
  * `mesh-math.ts`'s old `mixHexColor`, and the general "fade toward a base
11
11
  * colour" primitive `scene/core/gradient.ts`'s `sheen` wants. Pass `{ colorSpace }`
@@ -93,4 +93,3 @@ export declare function shadeColor(color: ColorInput, intensity: number): Color;
93
93
  * @category Colour
94
94
  */
95
95
  export declare function withAlpha(color: ColorInput, alpha: number): Color;
96
- //# sourceMappingURL=ops.d.ts.map
@@ -10,7 +10,7 @@
10
10
  * usually arrives from a scene author's prop, and a typo in a `fill` string
11
11
  * should render something rather than crash the whole scene tree.
12
12
  */
13
- import type { Color, ColorInput } from "./types";
13
+ import type { Color, ColorInput } from "./types.js";
14
14
  /**
15
15
  * The documented fallback for a colour string d3-color cannot parse:
16
16
  * opaque mid-grey. This is the same fallback `mesh-math.ts`'s old
@@ -80,4 +80,3 @@ export declare function toCss(color: ColorInput): string;
80
80
  * @category Colour
81
81
  */
82
82
  export declare function cssColor(input: ColorInput): string;
83
- //# sourceMappingURL=parse.d.ts.map
@@ -3,7 +3,7 @@
3
3
  * nothing calls `Math.random`: `randomColor` hashes its seed (integer-only, so
4
4
  * identical on every engine) for variety that is the same on every render.
5
5
  */
6
- import type { Color } from "./types";
6
+ import type { Color } from "./types.js";
7
7
  /**
8
8
  * Options for {@link randomColor}.
9
9
  *
@@ -44,4 +44,3 @@ export interface RandomColorOptions {
44
44
  * @category Ops
45
45
  */
46
46
  export declare function randomColor(seed: number | string, options?: RandomColorOptions): Color;
47
- //# sourceMappingURL=random.d.ts.map
@@ -36,4 +36,3 @@ export type ColorInput = string | Color;
36
36
  * @category Colour
37
37
  */
38
38
  export type ColorSpace = "rgb" | "hsl" | "oklch";
39
- //# sourceMappingURL=types.d.ts.map
@@ -3,13 +3,13 @@
3
3
  * `Axes`). The layout is shared with `numberPlane` and `complexPlane`, which
4
4
  * draw the same axes over a grid.
5
5
  */
6
- import type { Point, Range, RangeTransition } from "../geometry";
7
- import type { Readable } from "../reactive";
8
- import type { CompositeContext } from "../scene/composite";
9
- import type { LabelProps, TextNode } from "../scene/text";
10
- import type { PropsDescriptor, SceneNode } from "../scene/types";
11
- import type { AxisPosition, CoordinateSystem, XAxisPosition, YAxisPosition } from "./coords";
12
- import type { NumberLineProps } from "./number-line";
6
+ import type { Point, Range, RangeTransition } from "../geometry/index.js";
7
+ import type { Readable } from "../reactive/index.js";
8
+ import type { CompositeContext } from "../scene/composite.js";
9
+ import type { LabelProps, TextNode } from "../scene/text.js";
10
+ import type { PropsDescriptor, SceneNode } from "../scene/types.js";
11
+ import type { AxisPosition, CoordinateSystem, XAxisPosition, YAxisPosition } from "./coords.js";
12
+ import type { NumberLineProps } from "./number-line.js";
13
13
  /**
14
14
  * Everything a {@link numberLine} takes except the geometry `axes` decides for it.
15
15
  *
@@ -169,5 +169,4 @@ export declare function axesLayout<P extends object>(ctx: CompositeContext<P>, s
169
169
  * @see {@link numberPlane}
170
170
  * @category Coordinate systems & graphs
171
171
  */
172
- export declare const axes: import("..").Definition<AxesProps, import("../scene/composite").CompositeNode<AxesProps>, keyof AxesProps>;
173
- //# sourceMappingURL=axes.d.ts.map
172
+ export declare const axes: import("../scene/types.js").Definition<AxesProps, import("../scene/composite.js").CompositeNode<AxesProps>, keyof AxesProps>;
@@ -6,8 +6,8 @@
6
6
  * (`originWeight`, `resolveOrigin`, `originFade`, `yieldOrigin`). Internal; `charts` builds on
7
7
  * it, never the reverse.
8
8
  */
9
- import type { Range, RangeTransition, ScaleSpec, ScaleTicks, TimeZone, WeightedTick } from "../geometry";
10
- import type { AxisOptions } from "./axes";
9
+ import type { Range, RangeTransition, ScaleSpec, ScaleTicks, TimeZone, WeightedTick } from "../geometry/index.js";
10
+ import type { AxisOptions } from "./axes.js";
11
11
  /** The y axis's default exclusion, one array for good, so it never reads as a changed prop. */
12
12
  export declare const ORIGIN_ONLY: number[];
13
13
  /** Whether `value` lies within `range`, whichever way round its ends are. */
@@ -117,4 +117,3 @@ export declare function originFade(weight: number): OriginFade;
117
117
  */
118
118
  export declare function yieldOrigin<T extends AxisOptions>(merged: T, fade: OriginFade): T;
119
119
  export {};
120
- //# sourceMappingURL=axis-composition.d.ts.map
@@ -3,11 +3,11 @@
3
3
  * anchored label that sits beside a point, an axis's number formatter, and
4
4
  * the room its numbers take. Internal — not in the barrel.
5
5
  */
6
- import type { ColorInput } from "../color";
7
- import type { Bounds, Matrix, Point, Range, RangeTransition } from "../geometry";
8
- import type { TextHalo } from "../scene/text";
9
- import type { Placement, Vec2 } from "../spec/layout";
10
- import type { NumberLineProps } from "./number-line";
6
+ import type { ColorInput } from "../color/index.js";
7
+ import type { Bounds, Matrix, Point, Range, RangeTransition } from "../geometry/index.js";
8
+ import type { TextHalo } from "../scene/text.js";
9
+ import type { Placement, Vec2 } from "../spec/layout.js";
10
+ import type { NumberLineProps } from "./number-line.js";
11
11
  /** Half-length of a major tick — it straddles the line, as Manim's does. */
12
12
  export declare const DEFAULT_TICK_SIZE = 0.1;
13
13
  export declare const DEFAULT_NUMBER_GAP = 0.14;
@@ -20,7 +20,7 @@ export type NumberFormatOptions = Pick<NumberLineProps, "scale" | "base" | "time
20
20
  *
21
21
  * Internal — not in the barrel; `chart` writes its tooltips' values with it.
22
22
  */
23
- export declare function axisFormatter(options: NumberFormatOptions, at: Range): import("../geometry").TickFormatter;
23
+ export declare function axisFormatter(options: NumberFormatOptions, at: Range): import("../geometry/index.js").TickFormatter;
24
24
  /**
25
25
  * The options {@link measureAxisNumbers} reads: the ones that decide which
26
26
  * numbers an axis writes and how.
@@ -124,4 +124,3 @@ export declare function anchoredLabelProps(options: AnchoredLabelOptions, fontFa
124
124
  progress: number | undefined;
125
125
  halo: boolean | TextHalo | undefined;
126
126
  };
127
- //# sourceMappingURL=axis-labels.d.ts.map
@@ -2,13 +2,13 @@
2
2
  * `complexPlane`: the complex plane (Manim's `ComplexPlane`), a
3
3
  * `numberPlane` speaking in `{ re, im }`.
4
4
  */
5
- import type { Point } from "../geometry";
6
- import type { Complex } from "../geometry/complex";
7
- import type { SceneNode } from "../scene/types";
8
- import type { AxisOptions } from "./axes";
9
- import type { CoordinateSystem } from "./coords";
10
- import type { NumberPlaneProps } from "./number-plane";
11
- export type { Complex } from "../geometry/complex";
5
+ import type { Complex } from "../geometry/complex.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
+ import type { NumberPlaneProps } from "./number-plane.js";
11
+ export type { Complex } from "../geometry/complex.js";
12
12
  /**
13
13
  * The coordinate system a {@link complexPlane} publishes: `coordsToPoint`/`pointToCoords` plus complex-number conversions.
14
14
  *
@@ -81,7 +81,7 @@ export declare function imaginaryTick(value: number, decimalPlaces?: number): st
81
81
  *
82
82
  * @category Coordinate systems & graphs
83
83
  */
84
- export declare const complexPlane: import("..").Definition<ComplexPlaneProps, import("../scene/composite").CompositeNode<ComplexPlaneProps>, keyof ComplexPlaneProps>;
84
+ export declare const complexPlane: import("../scene/types.js").Definition<ComplexPlaneProps, import("../scene/composite.js").CompositeNode<ComplexPlaneProps>, keyof ComplexPlaneProps>;
85
85
  /**
86
86
  * {@link coordsOf} for a {@link complexPlane}: its system with
87
87
  * `numberToPoint`/`pointToNumber`.
@@ -92,4 +92,3 @@ export declare const complexPlane: import("..").Definition<ComplexPlaneProps, im
92
92
  * @category Coordinate systems & graphs
93
93
  */
94
94
  export declare function complexCoordsOf(node: SceneNode<ComplexPlaneProps>): ComplexCoordinateSystem | null;
95
- //# sourceMappingURL=complex-plane.d.ts.map
@@ -18,9 +18,9 @@
18
18
  * Code outside the tree reads a coordinate-publishing node's current system
19
19
  * with {@link coordsOf} (or follows it with {@link coordsReadable}).
20
20
  */
21
- import type { Bounds, Point, Range, ScaleSpec } from "../geometry";
22
- import type { Readable } from "../reactive";
23
- import type { ContextKey, SceneNode } from "../scene/types";
21
+ import type { Bounds, Point, Range, ScaleSpec } from "../geometry/index.js";
22
+ import type { Readable } from "../reactive/index.js";
23
+ import type { ContextKey, SceneNode } from "../scene/types.js";
24
24
  /**
25
25
  * The mapping between **data** coordinates (the numbers on the axes) and
26
26
  * **scene units** (the stage's own space) that {@link axes},
@@ -334,4 +334,3 @@ export declare function phaseProgress(progress: number, index: number, count: nu
334
334
  * @category Scene registry & specs
335
335
  */
336
336
  export declare function createPhases(progress: Readable<number | undefined>, count: number): (index: number) => Readable<number>;
337
- //# sourceMappingURL=coords.d.ts.map