@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.
- package/dist/anim/animation.d.ts +1 -2
- package/dist/anim/draw.d.ts +2 -3
- package/dist/anim/emphasis.d.ts +2 -3
- package/dist/anim/fade.d.ts +3 -4
- package/dist/anim/growing.d.ts +3 -4
- package/dist/anim/index.d.ts +32 -33
- package/dist/anim/indication.d.ts +3 -4
- package/dist/anim/move.d.ts +4 -5
- package/dist/anim/movement.d.ts +4 -5
- package/dist/anim/points.d.ts +1 -2
- package/dist/anim/sequence.d.ts +1 -2
- package/dist/anim/slots.d.ts +4 -5
- package/dist/anim/speed.d.ts +1 -2
- package/dist/anim/spring.d.ts +6 -7
- package/dist/anim/timeline.d.ts +4 -5
- package/dist/anim/transform.d.ts +4 -5
- package/dist/anim/tween.d.ts +3 -4
- package/dist/anim/types.d.ts +3 -4
- package/dist/color/convert.d.ts +1 -2
- package/dist/color/index.d.ts +8 -9
- package/dist/color/named.d.ts +0 -1
- package/dist/color/ops.d.ts +2 -3
- package/dist/color/parse.d.ts +1 -2
- package/dist/color/random.d.ts +1 -2
- package/dist/color/types.d.ts +0 -1
- package/dist/coords/axes.d.ts +8 -9
- package/dist/coords/axis-composition.d.ts +2 -3
- package/dist/coords/axis-labels.d.ts +6 -7
- package/dist/coords/complex-plane.d.ts +8 -9
- package/dist/coords/coords.d.ts +3 -4
- package/dist/coords/function-graph.d.ts +6 -7
- package/dist/coords/graph-annotations.d.ts +11 -12
- package/dist/coords/grid-lines.d.ts +6 -7
- package/dist/coords/implicit-function.d.ts +3 -4
- package/dist/coords/index.d.ts +24 -25
- package/dist/coords/linear-transform.d.ts +6 -7
- package/dist/coords/number-line.d.ts +7 -8
- package/dist/coords/number-plane.d.ts +7 -8
- package/dist/coords/polar-plane.d.ts +6 -7
- package/dist/coords/tangent.d.ts +3 -4
- package/dist/coords/vector-field.d.ts +8 -9
- package/dist/entries/color.d.ts +12 -13
- package/dist/entries/definitions.d.ts +2 -3
- package/dist/entries/geometry.d.ts +42 -43
- package/dist/entries/internal.d.ts +45 -46
- package/dist/entries/internal.js +1 -1
- package/dist/entries/themes.d.ts +14 -15
- package/dist/export/frames.d.ts +3 -4
- package/dist/export/index.d.ts +1 -2
- package/dist/geometry/arc.d.ts +1 -2
- package/dist/geometry/band.d.ts +1 -2
- package/dist/geometry/bounds.d.ts +3 -4
- package/dist/geometry/brace.d.ts +1 -2
- package/dist/geometry/complex.d.ts +0 -1
- package/dist/geometry/curves.d.ts +1 -2
- package/dist/geometry/delaunay.d.ts +0 -1
- package/dist/geometry/field.d.ts +1 -2
- package/dist/geometry/graph-layout.d.ts +1 -2
- package/dist/geometry/implicit.d.ts +1 -2
- package/dist/geometry/index.d.ts +41 -42
- package/dist/geometry/lerp.d.ts +2 -3
- package/dist/geometry/morph.d.ts +2 -3
- package/dist/geometry/num.d.ts +1 -2
- package/dist/geometry/path/arclength.d.ts +1 -2
- package/dist/geometry/path/cubic.d.ts +1 -2
- package/dist/geometry/path/outline-reveal.d.ts +2 -3
- package/dist/geometry/path/svg-path.d.ts +1 -2
- package/dist/geometry/path/types.d.ts +0 -1
- package/dist/geometry/resolver.d.ts +0 -1
- package/dist/geometry/scale/range-transition.d.ts +1 -2
- package/dist/geometry/scale/scales.d.ts +2 -3
- package/dist/geometry/scale/tick-format.d.ts +2 -3
- package/dist/geometry/scale/ticks.d.ts +1 -2
- package/dist/geometry/shape-match.d.ts +1 -2
- package/dist/geometry/shapes.d.ts +1 -2
- package/dist/geometry/stitch.d.ts +0 -1
- package/dist/geometry/time.d.ts +0 -1
- package/dist/geometry/tips.d.ts +1 -2
- package/dist/geometry/transform.d.ts +1 -2
- package/dist/geometry/view-matrix.d.ts +2 -3
- package/dist/geometry/write-phase.d.ts +0 -1
- package/dist/geometry3d/camera.d.ts +1 -2
- package/dist/geometry3d/index.d.ts +4 -5
- package/dist/geometry3d/mat.d.ts +0 -3
- package/dist/index.d.ts +34 -35
- package/dist/interact/constrain.d.ts +3 -4
- package/dist/interact/drag.d.ts +5 -6
- package/dist/interact/drop.d.ts +1 -2
- package/dist/interact/hit.d.ts +4 -5
- package/dist/interact/index.d.ts +11 -12
- package/dist/interact/item-order.d.ts +3 -4
- package/dist/interact/param.d.ts +3 -4
- package/dist/interact/pick-items.d.ts +2 -3
- package/dist/interact/pointer.d.ts +2 -3
- package/dist/interact/registry.d.ts +2 -3
- package/dist/interact/slop.d.ts +0 -1
- package/dist/interact/types.d.ts +4 -5
- package/dist/labels/decimal-number.d.ts +6 -7
- package/dist/labels/digits.d.ts +1 -2
- package/dist/labels/index.d.ts +4 -5
- package/dist/labels/paragraph.d.ts +8 -9
- package/dist/labels/text-layout.d.ts +4 -5
- package/dist/network/index.d.ts +2 -3
- package/dist/network/network-graph.d.ts +7 -8
- package/dist/reactive/index.d.ts +2 -3
- package/dist/reactive/track.d.ts +0 -1
- package/dist/render/a11y.d.ts +6 -7
- package/dist/render/camera-gesture.d.ts +1 -2
- package/dist/render/camera.d.ts +3 -4
- package/dist/render/canvas-renderer.d.ts +7 -8
- package/dist/render/index.d.ts +8 -9
- package/dist/render/layer-cache.d.ts +2 -3
- package/dist/render/paint-items.d.ts +5 -6
- package/dist/render/paint.d.ts +4 -5
- package/dist/render/pointer-core.d.ts +5 -6
- package/dist/render/pointer-drop.d.ts +3 -4
- package/dist/render/pointer-gestures.d.ts +5 -6
- package/dist/render/pointer-presence.d.ts +3 -4
- package/dist/render/pointer-wheel.d.ts +3 -4
- package/dist/render/pointer.d.ts +8 -9
- package/dist/scene/cameras.d.ts +5 -6
- package/dist/scene/composite.d.ts +5 -6
- package/dist/scene/container.d.ts +4 -5
- package/dist/scene/context.d.ts +6 -7
- package/dist/scene/fonts.d.ts +3 -4
- package/dist/scene/graph.d.ts +4 -5
- package/dist/scene/group.d.ts +6 -7
- package/dist/scene/index.d.ts +21 -22
- package/dist/scene/instance-bank.d.ts +3 -4
- package/dist/scene/instance-marks.d.ts +5 -6
- package/dist/scene/instance-node.d.ts +7 -8
- package/dist/scene/instances.d.ts +5 -6
- package/dist/scene/interaction-group-context.d.ts +2 -3
- package/dist/scene/interaction-group.d.ts +3 -4
- package/dist/scene/interaction-props.d.ts +2 -3
- package/dist/scene/interaction.d.ts +2 -3
- package/dist/scene/marks.d.ts +7 -8
- package/dist/scene/node.d.ts +8 -9
- package/dist/scene/pan-zoom.d.ts +4 -5
- package/dist/scene/path-batch.d.ts +4 -5
- package/dist/scene/primitive.d.ts +5 -6
- package/dist/scene/scene.d.ts +20 -21
- package/dist/scene/shape.d.ts +10 -11
- package/dist/scene/text.d.ts +10 -11
- package/dist/scene/types.d.ts +5 -6
- package/dist/shapes/angle.d.ts +5 -6
- package/dist/shapes/animated-boundary.d.ts +5 -6
- package/dist/shapes/arc.d.ts +7 -8
- package/dist/shapes/bezier.d.ts +4 -5
- package/dist/shapes/brace.d.ts +4 -5
- package/dist/shapes/circle.d.ts +4 -5
- package/dist/shapes/dot.d.ts +6 -7
- package/dist/shapes/forward.d.ts +3 -4
- package/dist/shapes/index.d.ts +30 -31
- package/dist/shapes/line.d.ts +12 -13
- package/dist/shapes/matchers.d.ts +4 -5
- package/dist/shapes/path.d.ts +4 -5
- package/dist/shapes/polygon.d.ts +3 -4
- package/dist/shapes/polygram.d.ts +5 -6
- package/dist/shapes/rect.d.ts +4 -5
- package/dist/shapes/traced-path.d.ts +6 -7
- package/dist/shapes/transform-matching-shapes.d.ts +4 -5
- package/dist/spec/bake.d.ts +6 -7
- package/dist/spec/clip.d.ts +3 -4
- package/dist/spec/colorRampProp.d.ts +2 -3
- package/dist/spec/compile.d.ts +1 -2
- package/dist/spec/gradient.d.ts +3 -4
- package/dist/spec/index.d.ts +8 -9
- package/dist/spec/layout.d.ts +2 -3
- package/dist/spec/metrics.d.ts +2 -3
- package/dist/spec/types.d.ts +2 -3
- package/dist/themes/catppuccin.d.ts +1 -2
- package/dist/themes/colormap.d.ts +1 -2
- package/dist/themes/css.d.ts +1 -2
- package/dist/themes/index.d.ts +13 -14
- package/dist/themes/mode.d.ts +2 -3
- package/dist/themes/palette.d.ts +1 -2
- package/dist/themes/ramp.d.ts +1 -2
- package/dist/themes/theme.d.ts +1 -2
- package/dist/themes/types.d.ts +1 -2
- package/dist/tween/clock.d.ts +2 -3
- package/dist/tween/easing.d.ts +0 -1
- package/dist/tween/frame-loop.d.ts +1 -2
- package/dist/tween/index.d.ts +19 -20
- package/dist/tween/interpolate.d.ts +1 -2
- package/dist/tween/interpolators.d.ts +5 -6
- package/dist/tween/reduced-motion.d.ts +1 -2
- package/dist/tween/spring.d.ts +1 -2
- package/dist/tween/target.d.ts +0 -1
- package/dist/tween/track.d.ts +2 -3
- package/package.json +2 -2
- package/dist/anim/animation.d.ts.map +0 -1
- package/dist/anim/draw.d.ts.map +0 -1
- package/dist/anim/emphasis.d.ts.map +0 -1
- package/dist/anim/fade.d.ts.map +0 -1
- package/dist/anim/growing.d.ts.map +0 -1
- package/dist/anim/index.d.ts.map +0 -1
- package/dist/anim/indication.d.ts.map +0 -1
- package/dist/anim/move.d.ts.map +0 -1
- package/dist/anim/movement.d.ts.map +0 -1
- package/dist/anim/points.d.ts.map +0 -1
- package/dist/anim/sequence.d.ts.map +0 -1
- package/dist/anim/slots.d.ts.map +0 -1
- package/dist/anim/speed.d.ts.map +0 -1
- package/dist/anim/spring.d.ts.map +0 -1
- package/dist/anim/timeline.d.ts.map +0 -1
- package/dist/anim/transform.d.ts.map +0 -1
- package/dist/anim/tween.d.ts.map +0 -1
- package/dist/anim/types.d.ts.map +0 -1
- package/dist/color/convert.d.ts.map +0 -1
- package/dist/color/index.d.ts.map +0 -1
- package/dist/color/named.d.ts.map +0 -1
- package/dist/color/ops.d.ts.map +0 -1
- package/dist/color/parse.d.ts.map +0 -1
- package/dist/color/random.d.ts.map +0 -1
- package/dist/color/types.d.ts.map +0 -1
- package/dist/coords/axes.d.ts.map +0 -1
- package/dist/coords/axis-composition.d.ts.map +0 -1
- package/dist/coords/axis-labels.d.ts.map +0 -1
- package/dist/coords/complex-plane.d.ts.map +0 -1
- package/dist/coords/coords.d.ts.map +0 -1
- package/dist/coords/function-graph.d.ts.map +0 -1
- package/dist/coords/graph-annotations.d.ts.map +0 -1
- package/dist/coords/grid-lines.d.ts.map +0 -1
- package/dist/coords/implicit-function.d.ts.map +0 -1
- package/dist/coords/index.d.ts.map +0 -1
- package/dist/coords/linear-transform.d.ts.map +0 -1
- package/dist/coords/number-line.d.ts.map +0 -1
- package/dist/coords/number-plane.d.ts.map +0 -1
- package/dist/coords/polar-plane.d.ts.map +0 -1
- package/dist/coords/tangent.d.ts.map +0 -1
- package/dist/coords/vector-field.d.ts.map +0 -1
- package/dist/entries/color.d.ts.map +0 -1
- package/dist/entries/definitions.d.ts.map +0 -1
- package/dist/entries/geometry.d.ts.map +0 -1
- package/dist/entries/internal.d.ts.map +0 -1
- package/dist/entries/themes.d.ts.map +0 -1
- package/dist/export/frames.d.ts.map +0 -1
- package/dist/export/index.d.ts.map +0 -1
- package/dist/geometry/arc.d.ts.map +0 -1
- package/dist/geometry/band.d.ts.map +0 -1
- package/dist/geometry/bounds.d.ts.map +0 -1
- package/dist/geometry/brace.d.ts.map +0 -1
- package/dist/geometry/complex.d.ts.map +0 -1
- package/dist/geometry/curves.d.ts.map +0 -1
- package/dist/geometry/delaunay.d.ts.map +0 -1
- package/dist/geometry/field.d.ts.map +0 -1
- package/dist/geometry/graph-layout.d.ts.map +0 -1
- package/dist/geometry/implicit.d.ts.map +0 -1
- package/dist/geometry/index.d.ts.map +0 -1
- package/dist/geometry/lerp.d.ts.map +0 -1
- package/dist/geometry/morph.d.ts.map +0 -1
- package/dist/geometry/num.d.ts.map +0 -1
- package/dist/geometry/path/arclength.d.ts.map +0 -1
- package/dist/geometry/path/cubic.d.ts.map +0 -1
- package/dist/geometry/path/outline-reveal.d.ts.map +0 -1
- package/dist/geometry/path/svg-path.d.ts.map +0 -1
- package/dist/geometry/path/types.d.ts.map +0 -1
- package/dist/geometry/resolver.d.ts.map +0 -1
- package/dist/geometry/scale/range-transition.d.ts.map +0 -1
- package/dist/geometry/scale/scales.d.ts.map +0 -1
- package/dist/geometry/scale/tick-format.d.ts.map +0 -1
- package/dist/geometry/scale/ticks.d.ts.map +0 -1
- package/dist/geometry/shape-match.d.ts.map +0 -1
- package/dist/geometry/shapes.d.ts.map +0 -1
- package/dist/geometry/stitch.d.ts.map +0 -1
- package/dist/geometry/time.d.ts.map +0 -1
- package/dist/geometry/tips.d.ts.map +0 -1
- package/dist/geometry/transform.d.ts.map +0 -1
- package/dist/geometry/view-matrix.d.ts.map +0 -1
- package/dist/geometry/write-phase.d.ts.map +0 -1
- package/dist/geometry3d/camera.d.ts.map +0 -1
- package/dist/geometry3d/index.d.ts.map +0 -1
- package/dist/geometry3d/mat.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/interact/constrain.d.ts.map +0 -1
- package/dist/interact/drag.d.ts.map +0 -1
- package/dist/interact/drop.d.ts.map +0 -1
- package/dist/interact/hit.d.ts.map +0 -1
- package/dist/interact/index.d.ts.map +0 -1
- package/dist/interact/item-order.d.ts.map +0 -1
- package/dist/interact/param.d.ts.map +0 -1
- package/dist/interact/pick-items.d.ts.map +0 -1
- package/dist/interact/pointer.d.ts.map +0 -1
- package/dist/interact/registry.d.ts.map +0 -1
- package/dist/interact/slop.d.ts.map +0 -1
- package/dist/interact/types.d.ts.map +0 -1
- package/dist/labels/decimal-number.d.ts.map +0 -1
- package/dist/labels/digits.d.ts.map +0 -1
- package/dist/labels/index.d.ts.map +0 -1
- package/dist/labels/paragraph.d.ts.map +0 -1
- package/dist/labels/text-layout.d.ts.map +0 -1
- package/dist/network/index.d.ts.map +0 -1
- package/dist/network/network-graph.d.ts.map +0 -1
- package/dist/reactive/index.d.ts.map +0 -1
- package/dist/reactive/track.d.ts.map +0 -1
- package/dist/render/a11y.d.ts.map +0 -1
- package/dist/render/camera-gesture.d.ts.map +0 -1
- package/dist/render/camera.d.ts.map +0 -1
- package/dist/render/canvas-renderer.d.ts.map +0 -1
- package/dist/render/index.d.ts.map +0 -1
- package/dist/render/layer-cache.d.ts.map +0 -1
- package/dist/render/paint-items.d.ts.map +0 -1
- package/dist/render/paint.d.ts.map +0 -1
- package/dist/render/pointer-core.d.ts.map +0 -1
- package/dist/render/pointer-drop.d.ts.map +0 -1
- package/dist/render/pointer-gestures.d.ts.map +0 -1
- package/dist/render/pointer-presence.d.ts.map +0 -1
- package/dist/render/pointer-wheel.d.ts.map +0 -1
- package/dist/render/pointer.d.ts.map +0 -1
- package/dist/scene/cameras.d.ts.map +0 -1
- package/dist/scene/composite.d.ts.map +0 -1
- package/dist/scene/container.d.ts.map +0 -1
- package/dist/scene/context.d.ts.map +0 -1
- package/dist/scene/fonts.d.ts.map +0 -1
- package/dist/scene/graph.d.ts.map +0 -1
- package/dist/scene/group.d.ts.map +0 -1
- package/dist/scene/index.d.ts.map +0 -1
- package/dist/scene/instance-bank.d.ts.map +0 -1
- package/dist/scene/instance-marks.d.ts.map +0 -1
- package/dist/scene/instance-node.d.ts.map +0 -1
- package/dist/scene/instances.d.ts.map +0 -1
- package/dist/scene/interaction-group-context.d.ts.map +0 -1
- package/dist/scene/interaction-group.d.ts.map +0 -1
- package/dist/scene/interaction-props.d.ts.map +0 -1
- package/dist/scene/interaction.d.ts.map +0 -1
- package/dist/scene/marks.d.ts.map +0 -1
- package/dist/scene/node.d.ts.map +0 -1
- package/dist/scene/pan-zoom.d.ts.map +0 -1
- package/dist/scene/path-batch.d.ts.map +0 -1
- package/dist/scene/primitive.d.ts.map +0 -1
- package/dist/scene/scene.d.ts.map +0 -1
- package/dist/scene/shape.d.ts.map +0 -1
- package/dist/scene/text.d.ts.map +0 -1
- package/dist/scene/types.d.ts.map +0 -1
- package/dist/shapes/angle.d.ts.map +0 -1
- package/dist/shapes/animated-boundary.d.ts.map +0 -1
- package/dist/shapes/arc.d.ts.map +0 -1
- package/dist/shapes/bezier.d.ts.map +0 -1
- package/dist/shapes/brace.d.ts.map +0 -1
- package/dist/shapes/circle.d.ts.map +0 -1
- package/dist/shapes/dot.d.ts.map +0 -1
- package/dist/shapes/forward.d.ts.map +0 -1
- package/dist/shapes/index.d.ts.map +0 -1
- package/dist/shapes/line.d.ts.map +0 -1
- package/dist/shapes/matchers.d.ts.map +0 -1
- package/dist/shapes/path.d.ts.map +0 -1
- package/dist/shapes/polygon.d.ts.map +0 -1
- package/dist/shapes/polygram.d.ts.map +0 -1
- package/dist/shapes/rect.d.ts.map +0 -1
- package/dist/shapes/traced-path.d.ts.map +0 -1
- package/dist/shapes/transform-matching-shapes.d.ts.map +0 -1
- package/dist/spec/bake.d.ts.map +0 -1
- package/dist/spec/clip.d.ts.map +0 -1
- package/dist/spec/colorRampProp.d.ts.map +0 -1
- package/dist/spec/compile.d.ts.map +0 -1
- package/dist/spec/gradient.d.ts.map +0 -1
- package/dist/spec/index.d.ts.map +0 -1
- package/dist/spec/layout.d.ts.map +0 -1
- package/dist/spec/metrics.d.ts.map +0 -1
- package/dist/spec/types.d.ts.map +0 -1
- package/dist/themes/catppuccin.d.ts.map +0 -1
- package/dist/themes/colormap.d.ts.map +0 -1
- package/dist/themes/css.d.ts.map +0 -1
- package/dist/themes/index.d.ts.map +0 -1
- package/dist/themes/mode.d.ts.map +0 -1
- package/dist/themes/palette.d.ts.map +0 -1
- package/dist/themes/ramp.d.ts.map +0 -1
- package/dist/themes/theme.d.ts.map +0 -1
- package/dist/themes/types.d.ts.map +0 -1
- package/dist/tween/clock.d.ts.map +0 -1
- package/dist/tween/easing.d.ts.map +0 -1
- package/dist/tween/frame-loop.d.ts.map +0 -1
- package/dist/tween/index.d.ts.map +0 -1
- package/dist/tween/interpolate.d.ts.map +0 -1
- package/dist/tween/interpolators.d.ts.map +0 -1
- package/dist/tween/reduced-motion.d.ts.map +0 -1
- package/dist/tween/spring.d.ts.map +0 -1
- package/dist/tween/target.d.ts.map +0 -1
- package/dist/tween/track.d.ts.map +0 -1
|
@@ -8,49 +8,48 @@
|
|
|
8
8
|
* @module @sophistry/core/internal
|
|
9
9
|
* @packageDocumentation
|
|
10
10
|
*/
|
|
11
|
-
export { cssColor } from "../color/parse";
|
|
12
|
-
export { fullOptions } from "../coords/axes";
|
|
13
|
-
export type { AxisTickSource, OriginFade, OriginNumberOptions, } from "../coords/axis-composition";
|
|
14
|
-
export { axisTicksAt, contains, ORIGIN_ONLY, originBlocks, originFade, originWeight, resolveOrigin, weightedTicks, writesOrigin, yieldOrigin, } from "../coords/axis-composition";
|
|
15
|
-
export type { AnchoredLabelOptions, AxisNumberOptions, NumberFormatOptions, } from "../coords/axis-labels";
|
|
16
|
-
export { anchoredLabelPlace, anchoredLabelProps, axisFormatter, DEFAULT_NUMBER_FONT_SIZE, DEFAULT_NUMBER_GAP, DEFAULT_TICK_SIZE, measureAxisNumbers, numberStyle, stablePlace, } from "../coords/axis-labels";
|
|
17
|
-
export { axisFacesFar } from "../coords/coords";
|
|
18
|
-
export type { GridLinesOptions } from "../coords/grid-lines";
|
|
19
|
-
export { DEFAULT_GRID_OPACITY, DEFAULT_GRID_STROKE_WIDTH, DEFAULT_GRID_Z_INDEX, gridLineNodes, stablePoint, } from "../coords/grid-lines";
|
|
20
|
-
export { unionBounds } from "../geometry/bounds";
|
|
21
|
-
export { delaunayTriangleIndices } from "../geometry/delaunay";
|
|
22
|
-
export { lerpPolyline } from "../geometry/lerp";
|
|
23
|
-
export { clamp01, clampNonNegative, finiteOrZero, finiteValues, hashUnit, maxOf, minOf, mix, polarPoint, TAU, wrapAngle, } from "../geometry/num";
|
|
24
|
-
export type { Resolver } from "../geometry/resolver";
|
|
25
|
-
export { createResolver } from "../geometry/resolver";
|
|
26
|
-
export { calendarAxis } from "../geometry/scale/scales";
|
|
27
|
-
export { crossFade, FADE_STAGGER } from "../geometry/shape-match";
|
|
28
|
-
export { stitchSegments } from "../geometry/stitch";
|
|
29
|
-
export { axisTimeZone, temporalEpochMs } from "../geometry/time";
|
|
30
|
-
export type { PixelBox } from "../geometry/view-matrix";
|
|
31
|
-
export { isYUp, viewMatrix } from "../geometry/view-matrix";
|
|
32
|
-
export * from "../geometry3d";
|
|
33
|
-
export * from "../interact";
|
|
34
|
-
export * from "../render";
|
|
35
|
-
export type { CameraList } from "../scene/cameras";
|
|
36
|
-
export { createCameraList } from "../scene/cameras";
|
|
37
|
-
export { CompositeNode } from "../scene/composite";
|
|
38
|
-
export { BaseContainer } from "../scene/container";
|
|
39
|
-
export { watchFontLoads } from "../scene/fonts";
|
|
40
|
-
export type { SceneGraphOptions, SceneGraphStats, } from "../scene/graph";
|
|
41
|
-
export { SceneGraph, SceneRoot } from "../scene/graph";
|
|
42
|
-
export { GroupNode } from "../scene/group";
|
|
43
|
-
export type { InstancesNodeProps } from "../scene/instance-node";
|
|
44
|
-
export { InstancesNodeImpl, instancesDefinition } from "../scene/instance-node";
|
|
45
|
-
export type { SceneInteractionRegistry } from "../scene/interaction";
|
|
46
|
-
export { createFocusChannel, createInteractionRegistry, } from "../scene/interaction";
|
|
47
|
-
export { InteractionGroupNode, mergeHandlers, } from "../scene/interaction-group";
|
|
48
|
-
export type { InteractionGroupValue } from "../scene/interaction-group-context";
|
|
49
|
-
export { interactionGroupContext } from "../scene/interaction-group-context";
|
|
50
|
-
export { ANY_CONTEXT, BaseNode, memo, ROOT_SPACE, sameMatrix, } from "../scene/node";
|
|
51
|
-
export type { SceneInternals } from "../scene/scene";
|
|
52
|
-
export { DEFAULT_CLASS as DEFAULT_BOX_CLASS, sceneInternals, } from "../scene/scene";
|
|
53
|
-
export { forwardedProps, forwardHandlers, forwardProps, rawProp, } from "../shapes/forward";
|
|
54
|
-
export * from "../spec";
|
|
55
|
-
export { resetFrameLoop } from "../tween/frame-loop";
|
|
56
|
-
//# sourceMappingURL=internal.d.ts.map
|
|
11
|
+
export { cssColor } from "../color/parse.js";
|
|
12
|
+
export { fullOptions } from "../coords/axes.js";
|
|
13
|
+
export type { AxisTickSource, OriginFade, OriginNumberOptions, } from "../coords/axis-composition.js";
|
|
14
|
+
export { axisTicksAt, contains, ORIGIN_ONLY, originBlocks, originFade, originWeight, resolveOrigin, weightedTicks, writesOrigin, yieldOrigin, } from "../coords/axis-composition.js";
|
|
15
|
+
export type { AnchoredLabelOptions, AxisNumberOptions, NumberFormatOptions, } from "../coords/axis-labels.js";
|
|
16
|
+
export { anchoredLabelPlace, anchoredLabelProps, axisFormatter, DEFAULT_NUMBER_FONT_SIZE, DEFAULT_NUMBER_GAP, DEFAULT_TICK_SIZE, measureAxisNumbers, numberStyle, stablePlace, } from "../coords/axis-labels.js";
|
|
17
|
+
export { axisFacesFar } from "../coords/coords.js";
|
|
18
|
+
export type { GridLinesOptions } from "../coords/grid-lines.js";
|
|
19
|
+
export { DEFAULT_GRID_OPACITY, DEFAULT_GRID_STROKE_WIDTH, DEFAULT_GRID_Z_INDEX, gridLineNodes, stablePoint, } from "../coords/grid-lines.js";
|
|
20
|
+
export { unionBounds } from "../geometry/bounds.js";
|
|
21
|
+
export { delaunayTriangleIndices } from "../geometry/delaunay.js";
|
|
22
|
+
export { lerpPolyline } from "../geometry/lerp.js";
|
|
23
|
+
export { clamp01, clampNonNegative, finiteOrZero, finiteValues, hashUnit, maxOf, minOf, mix, polarPoint, TAU, wrapAngle, } from "../geometry/num.js";
|
|
24
|
+
export type { Resolver } from "../geometry/resolver.js";
|
|
25
|
+
export { createResolver } from "../geometry/resolver.js";
|
|
26
|
+
export { calendarAxis } from "../geometry/scale/scales.js";
|
|
27
|
+
export { crossFade, FADE_STAGGER } from "../geometry/shape-match.js";
|
|
28
|
+
export { stitchSegments } from "../geometry/stitch.js";
|
|
29
|
+
export { axisTimeZone, temporalEpochMs } from "../geometry/time.js";
|
|
30
|
+
export type { PixelBox } from "../geometry/view-matrix.js";
|
|
31
|
+
export { isYUp, viewMatrix } from "../geometry/view-matrix.js";
|
|
32
|
+
export * from "../geometry3d/index.js";
|
|
33
|
+
export * from "../interact/index.js";
|
|
34
|
+
export * from "../render/index.js";
|
|
35
|
+
export type { CameraList } from "../scene/cameras.js";
|
|
36
|
+
export { createCameraList } from "../scene/cameras.js";
|
|
37
|
+
export { CompositeNode } from "../scene/composite.js";
|
|
38
|
+
export { BaseContainer } from "../scene/container.js";
|
|
39
|
+
export { watchFontLoads } from "../scene/fonts.js";
|
|
40
|
+
export type { SceneGraphOptions, SceneGraphStats, } from "../scene/graph.js";
|
|
41
|
+
export { SceneGraph, SceneRoot } from "../scene/graph.js";
|
|
42
|
+
export { GroupNode } from "../scene/group.js";
|
|
43
|
+
export type { InstancesNodeProps } from "../scene/instance-node.js";
|
|
44
|
+
export { InstancesNodeImpl, instancesDefinition, } from "../scene/instance-node.js";
|
|
45
|
+
export type { SceneInteractionRegistry } from "../scene/interaction.js";
|
|
46
|
+
export { createFocusChannel, createInteractionRegistry, } from "../scene/interaction.js";
|
|
47
|
+
export { InteractionGroupNode, mergeHandlers, } from "../scene/interaction-group.js";
|
|
48
|
+
export type { InteractionGroupValue } from "../scene/interaction-group-context.js";
|
|
49
|
+
export { interactionGroupContext } from "../scene/interaction-group-context.js";
|
|
50
|
+
export { ANY_CONTEXT, BaseNode, memo, ROOT_SPACE, sameMatrix, } from "../scene/node.js";
|
|
51
|
+
export type { SceneInternals } from "../scene/scene.js";
|
|
52
|
+
export { DEFAULT_CLASS as DEFAULT_BOX_CLASS, sceneInternals, } from "../scene/scene.js";
|
|
53
|
+
export { forwardedProps, forwardHandlers, forwardProps, rawProp, } from "../shapes/forward.js";
|
|
54
|
+
export * from "../spec/index.js";
|
|
55
|
+
export { resetFrameLoop } from "../tween/frame-loop.js";
|
package/dist/entries/internal.js
CHANGED
|
@@ -187,4 +187,4 @@ function Er(e) {
|
|
|
187
187
|
return e.map((e) => e.spec()).filter((e) => e !== null).sort((e, t) => e.zIndex - t.zIndex);
|
|
188
188
|
}
|
|
189
189
|
//#endregion
|
|
190
|
-
export { hn as ANY_CONTEXT, Vn as BaseContainer, Vt as BaseNode, en as CompositeNode, Jn as DEFAULT_BOX_CLASS, A as DEFAULT_FONT_WEIGHT, rr as DEFAULT_GAP, er as DEFAULT_GRID_OPACITY, Zt as DEFAULT_GRID_STROKE_WIDTH, on as DEFAULT_GRID_Z_INDEX, zn as DEFAULT_NUMBER_FONT_SIZE, Te as DEFAULT_NUMBER_GAP, C as DEFAULT_SLOP, At as DEFAULT_TICK_SIZE, pr as DELTA, Gt as DL, ur as DOWN, st as DR, se as FADE_STAGGER, $t as FULL_VIEWPORT, Ut as GroupNode, b as ITEM_KEYS, Be as InstancesNodeImpl, Mn as InteractionGroupNode, k as LEFT, or as NO_SHIFT, ut as ORIGIN, jn as ORIGIN_ONLY, wr as Projection, L as RIGHT, Pn as ROOT_SPACE, Un as SceneGraph, qt as SceneRoot, e as TAU, N as UL, We as UP, Cn as UR, x as alignTo, U as alongDirection, Ce as alongPath, Et as anchoredLabelPlace, Pt as anchoredLabelProps, xn as angleParam, Lt as applyStrokeStyle, Ne as arcTableFor, yn as arrange, Fe as arrangeInGrid, xe as axisFacesFar, $e as axisFormatter, Hn as axisTicksAt, h as axisTimeZone, at as axisX, _r as axisY, sr as bake, dt as bakeCurvePaths, R as bakeLocalTransform, P as bakeMatrix, Ge as bakePaintFrame, wn as bakePolylines, S as bakeShapeSpec, bn as bakeStrokeStyle, Ie as bakeTextFont, Ve as bakeTextSpec, Xe as bakeTextStyle, n as boundsCenter, t as boundsContain, a as boundsFromCenter, s as boundsHeight, ye as boundsOfNodes, Ae as boundsOfSpec, ie as boundsWidth, p as calendarAxis, sn as cameraMatrix, nr as canvasPaint, ze as centerAt, D as chain, f as clamp01, ce as clampNonNegative, Kt as clipBounds, dr as clipBox, ct as clipOf, j as clipRegion, cr as clipRings, bt as closestPointOnPolyline, ve as closestPointOnTable, Er as compileFrame, gt as constraints, gn as contains, Ue as createAccessibilityMirror, qn as createCameraList, Qn as createCanvasRenderer, Bt as createFocusChannel, nt as createHitCache, Nn as createInteractionRegistry, M as createLayerCache, Q as createMat4, fr as createPaintCache, z as createPointerChannel, En as createPointerDriver, Tr as createProjected, ue as createResolver, $ as createScratch, Z as createVec3, te as crossFade, vr as cssColor, Wt as curvesPath2D, Cr as delaunayTriangleIndices, H as derivePolylines, hr as distanceToPolyline, w as distanceToPolylines, Tn as draggable, an as drawImageSpec, In as drawMarks, Ke as dropTarget, lr as fillCurvePaths, ot as fillRings, ne as finiteOrZero, ae as finiteValues, yt as flatColor, Se as flattenCurves, Sn as focusIds, Dt as fontLoads, Ft as fontString, y as forwardHandlers, tn as forwardProps, Yn as forwardedProps, wt as free, Gn as fullOptions, fn as gridLineNodes, mt as hasInteraction, O as hasPath2D, m as hashUnit, _t as hitSpec, he as hitTest, me as inFrame, pt as indexSpecs, Ye as instancesDefinition, $n as interactionGroupContext, St as isFocusable, _e as isGradientSpec, Me as isSimilarity, It as isStopList, ir as isYUp, xt as itemAt, vn as itemBox, Pe as itemCenter, Re as itemCount, qe as itemPosition, et as labelBox, i as lerpPolyline, ht as linearGradient,
|
|
190
|
+
export { hn as ANY_CONTEXT, Vn as BaseContainer, Vt as BaseNode, en as CompositeNode, Jn as DEFAULT_BOX_CLASS, A as DEFAULT_FONT_WEIGHT, rr as DEFAULT_GAP, er as DEFAULT_GRID_OPACITY, Zt as DEFAULT_GRID_STROKE_WIDTH, on as DEFAULT_GRID_Z_INDEX, zn as DEFAULT_NUMBER_FONT_SIZE, Te as DEFAULT_NUMBER_GAP, C as DEFAULT_SLOP, At as DEFAULT_TICK_SIZE, pr as DELTA, Gt as DL, ur as DOWN, st as DR, se as FADE_STAGGER, $t as FULL_VIEWPORT, Ut as GroupNode, b as ITEM_KEYS, Be as InstancesNodeImpl, Mn as InteractionGroupNode, k as LEFT, or as NO_SHIFT, ut as ORIGIN, jn as ORIGIN_ONLY, wr as Projection, L as RIGHT, Pn as ROOT_SPACE, Un as SceneGraph, qt as SceneRoot, e as TAU, N as UL, We as UP, Cn as UR, x as alignTo, U as alongDirection, Ce as alongPath, Et as anchoredLabelPlace, Pt as anchoredLabelProps, xn as angleParam, Lt as applyStrokeStyle, Ne as arcTableFor, yn as arrange, Fe as arrangeInGrid, xe as axisFacesFar, $e as axisFormatter, Hn as axisTicksAt, h as axisTimeZone, at as axisX, _r as axisY, sr as bake, dt as bakeCurvePaths, R as bakeLocalTransform, P as bakeMatrix, Ge as bakePaintFrame, wn as bakePolylines, S as bakeShapeSpec, bn as bakeStrokeStyle, Ie as bakeTextFont, Ve as bakeTextSpec, Xe as bakeTextStyle, n as boundsCenter, t as boundsContain, a as boundsFromCenter, s as boundsHeight, ye as boundsOfNodes, Ae as boundsOfSpec, ie as boundsWidth, p as calendarAxis, sn as cameraMatrix, nr as canvasPaint, ze as centerAt, D as chain, f as clamp01, ce as clampNonNegative, Kt as clipBounds, dr as clipBox, ct as clipOf, j as clipRegion, cr as clipRings, bt as closestPointOnPolyline, ve as closestPointOnTable, Er as compileFrame, gt as constraints, gn as contains, Ue as createAccessibilityMirror, qn as createCameraList, Qn as createCanvasRenderer, Bt as createFocusChannel, nt as createHitCache, Nn as createInteractionRegistry, M as createLayerCache, Q as createMat4, fr as createPaintCache, z as createPointerChannel, En as createPointerDriver, Tr as createProjected, ue as createResolver, $ as createScratch, Z as createVec3, te as crossFade, vr as cssColor, Wt as curvesPath2D, Cr as delaunayTriangleIndices, H as derivePolylines, hr as distanceToPolyline, w as distanceToPolylines, Tn as draggable, an as drawImageSpec, In as drawMarks, Ke as dropTarget, lr as fillCurvePaths, ot as fillRings, ne as finiteOrZero, ae as finiteValues, yt as flatColor, Se as flattenCurves, Sn as focusIds, Dt as fontLoads, Ft as fontString, y as forwardHandlers, tn as forwardProps, Yn as forwardedProps, wt as free, Gn as fullOptions, fn as gridLineNodes, mt as hasInteraction, O as hasPath2D, m as hashUnit, _t as hitSpec, he as hitTest, me as inFrame, pt as indexSpecs, Ye as instancesDefinition, $n as interactionGroupContext, St as isFocusable, _e as isGradientSpec, Me as isSimilarity, It as isStopList, ir as isYUp, xt as itemAt, vn as itemBox, Pe as itemCenter, Re as itemCount, qe as itemPosition, et as labelBox, i as lerpPolyline, ht as linearGradient, re as maxOf, On as mayBeVisible, _ as measureAxisNumbers, v as measureLabel, Wn as memo, _n as mergeHandlers, oe as minOf, rn as mineCamera, d as mix, ft as nestClip, Je as nextTo, nn as numberStyle, ke as onCircle, V as onlyX, be as onlyY, Ht as originBlocks, Fn as originFade, Kn as originWeight, l as padBounds, Xt as paintSpecs, g as paintsFill, Le as pathParam, Ln as pickCamera, kt as pickMark, Tt as pickPixel, kn as pictureInPictureViewports, it as plainShapeSpec, de as pointInClip, De as pointInRings, c as pointOn, He as pointParam, ee as polarPoint, pn as quadViewports, Ct as radialGradient, An as rawProp, je as readDelta, dn as resetFrameLoop, tt as resolveColorRamp, Bn as resolveConstraint, Yt as resolveOrigin, pe as resolvePaint, W as resolveWrite, Nt as revealMeasures, Qe as revealedCurves, ar as ringsPath2D, Jt as sameMatrix, F as samePointer, Ze as scalarParam, mn as sceneInternals, Oe as sheen, rt as shiftBy, Ee as snapTo, Mt as snapToGrid, un as splatMarks, ln as splitViewports, Xn as stablePlace, Rt as stablePoint, B as stepItem, o as stitchSegments, Zn as subscribeCameraGesture, gr as sumShifts, T as surround, r as temporalEpochMs, Rn as textBoxAt, E as textRotation, Ot as toBounds, vt as toCorner, ge as toEdge, lt as tracePath, I as tracePolyline, u as unionBounds, mr as viewMatrix, zt as viewportBox, cn as visibleBox, jt as watchFontLoads, Dn as weightedTicks, we as windingNumber, le as wrapAngle, fe as writeSink, tr as writesOrigin, Qt as yieldOrigin };
|
package/dist/entries/themes.d.ts
CHANGED
|
@@ -21,18 +21,17 @@
|
|
|
21
21
|
* @module @sophistry/core/themes
|
|
22
22
|
* @packageDocumentation
|
|
23
23
|
*/
|
|
24
|
-
export type { CatppuccinFlavor } from "../themes/catppuccin";
|
|
25
|
-
export { catppuccin, catppuccinSeed } from "../themes/catppuccin";
|
|
26
|
-
export type { Colormap, ColormapName, ColormapOptions, ColormapSpec, } from "../themes/colormap";
|
|
27
|
-
export { colormapStops, colormaps, resolveColormap, } from "../themes/colormap";
|
|
28
|
-
export type { PaletteCssOptions } from "../themes/css";
|
|
29
|
-
export { paletteCss, paletteVariables } from "../themes/css";
|
|
30
|
-
export type { ModeOptions, ThemeInitScriptOptions } from "../themes/mode";
|
|
31
|
-
export { colorMode, colorModeReadable, cycleModePreference, installColorMode, modePreference, modePreferenceReadable, resolveModePreference, setModePreference, themeInitScript, } from "../themes/mode";
|
|
32
|
-
export { catppuccinPalette, completePalette, DEFAULT_PALETTE_NAME, DEFAULT_THEME_DEFAULTS, definePalette, palettes, paletteTheme, resolvePalette, } from "../themes/palette";
|
|
33
|
-
export type { ColorRampOptions } from "../themes/ramp";
|
|
34
|
-
export { colorRamp, sampleRamp } from "../themes/ramp";
|
|
35
|
-
export type { ThemeSpec } from "../themes/theme";
|
|
36
|
-
export { resolveTheme } from "../themes/theme";
|
|
37
|
-
export type { ColorMode, ModePreference, Palette, PaletteInput, PaletteName, PaletteSpec, Theme, ThemeDefaults, ThemePalette, ThemePaletteSeed, } from "../themes/types";
|
|
38
|
-
//# sourceMappingURL=themes.d.ts.map
|
|
24
|
+
export type { CatppuccinFlavor } from "../themes/catppuccin.js";
|
|
25
|
+
export { catppuccin, catppuccinSeed } from "../themes/catppuccin.js";
|
|
26
|
+
export type { Colormap, ColormapName, ColormapOptions, ColormapSpec, } from "../themes/colormap.js";
|
|
27
|
+
export { colormapStops, colormaps, resolveColormap, } from "../themes/colormap.js";
|
|
28
|
+
export type { PaletteCssOptions } from "../themes/css.js";
|
|
29
|
+
export { paletteCss, paletteVariables } from "../themes/css.js";
|
|
30
|
+
export type { ModeOptions, ThemeInitScriptOptions } from "../themes/mode.js";
|
|
31
|
+
export { colorMode, colorModeReadable, cycleModePreference, installColorMode, modePreference, modePreferenceReadable, resolveModePreference, setModePreference, themeInitScript, } from "../themes/mode.js";
|
|
32
|
+
export { catppuccinPalette, completePalette, DEFAULT_PALETTE_NAME, DEFAULT_THEME_DEFAULTS, definePalette, palettes, paletteTheme, resolvePalette, } from "../themes/palette.js";
|
|
33
|
+
export type { ColorRampOptions } from "../themes/ramp.js";
|
|
34
|
+
export { colorRamp, sampleRamp } from "../themes/ramp.js";
|
|
35
|
+
export type { ThemeSpec } from "../themes/theme.js";
|
|
36
|
+
export { resolveTheme } from "../themes/theme.js";
|
|
37
|
+
export type { ColorMode, ModePreference, Palette, PaletteInput, PaletteName, PaletteSpec, Theme, ThemeDefaults, ThemePalette, ThemePaletteSeed, } from "../themes/types.js";
|
package/dist/export/frames.d.ts
CHANGED
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
* Nothing here knows about scenes: it drives the frame loop and encodes a
|
|
12
12
|
* canvas, so any canvas a scene paints into (`scene.canvas`) will do.
|
|
13
13
|
*/
|
|
14
|
-
import type { Animation } from "../anim/animation";
|
|
15
|
-
import type { Timeline } from "../anim/timeline";
|
|
16
|
-
import type { Clock } from "../tween/clock";
|
|
14
|
+
import type { Animation } from "../anim/animation.js";
|
|
15
|
+
import type { Timeline } from "../anim/timeline.js";
|
|
16
|
+
import type { Clock } from "../tween/clock.js";
|
|
17
17
|
/**
|
|
18
18
|
* Image formats `toBlob` universally supports; browsers may add more.
|
|
19
19
|
*
|
|
@@ -168,4 +168,3 @@ export interface ExportFramesOptions extends RenderFramesOptions {
|
|
|
168
168
|
* @category Export
|
|
169
169
|
*/
|
|
170
170
|
export declare function exportFrames(options: ExportFramesOptions): Promise<ExportedFrame[]>;
|
|
171
|
-
//# sourceMappingURL=frames.d.ts.map
|
package/dist/export/index.d.ts
CHANGED
package/dist/geometry/arc.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* `arcPolyline`, and anything that needs a bézier funnels through
|
|
8
8
|
* `flattenCubicPolyline`, so there is exactly one subdivider of each kind.
|
|
9
9
|
*/
|
|
10
|
-
import type { CurvePath, Point, Polyline } from "./path/types";
|
|
10
|
+
import type { CurvePath, Point, Polyline } from "./path/types.js";
|
|
11
11
|
/**
|
|
12
12
|
* Segment count for a partial turn — `segmentsForRadius` prorated by how much
|
|
13
13
|
* of the circle the arc actually covers, so a 10° arc doesn't pay for 64
|
|
@@ -297,4 +297,3 @@ export declare function angleArcCurvePath(vertex: Point, from: Point, to: Point,
|
|
|
297
297
|
* @category Shapes
|
|
298
298
|
*/
|
|
299
299
|
export declare function rightAngleMarkPolyline(vertex: Point, direction1: Point, direction2: Point, size: number): Polyline;
|
|
300
|
-
//# sourceMappingURL=arc.d.ts.map
|
package/dist/geometry/band.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* `[i, i + 1]`, and its band is that slot minus `padding`, aligned by `align`. The
|
|
4
4
|
* axis stays numeric, so `coordsToPoint` and annotations work unchanged.
|
|
5
5
|
*/
|
|
6
|
-
import type { Range } from "./scale/scales";
|
|
6
|
+
import type { Range } from "./scale/scales.js";
|
|
7
7
|
/**
|
|
8
8
|
* A category on a band axis: a string, or a number used as a name (a year,
|
|
9
9
|
* an index). Compared by value, so `1` and `"1"` are different categories.
|
|
@@ -134,4 +134,3 @@ export declare function interpolateBandScale<K extends BandKey>(from: BandScale<
|
|
|
134
134
|
* @category Scales & ticks
|
|
135
135
|
*/
|
|
136
136
|
export declare function slotBandScale<K extends BandKey>(band: BandScale<K>, slot: (key: K) => number | undefined, reverse?: boolean): BandScale<K>;
|
|
137
|
-
//# sourceMappingURL=band.d.ts.map
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
*
|
|
7
7
|
* Pure math over plain objects, like the rest of `geometry/`.
|
|
8
8
|
*/
|
|
9
|
-
import type { Bounds, Point, Polyline } from "./path/types";
|
|
10
|
-
import type { Matrix } from "./transform";
|
|
11
|
-
export type { Bounds } from "./path/types";
|
|
9
|
+
import type { Bounds, Point, Polyline } from "./path/types.js";
|
|
10
|
+
import type { Matrix } from "./transform.js";
|
|
11
|
+
export type { Bounds } from "./path/types.js";
|
|
12
12
|
/**
|
|
13
13
|
* Bounding box of every point in a set of polylines.
|
|
14
14
|
*
|
|
@@ -104,4 +104,3 @@ export declare function padBounds(bounds: Bounds, padding: number): Bounds;
|
|
|
104
104
|
* @category Bounds & hit math
|
|
105
105
|
*/
|
|
106
106
|
export declare function boundsFromCenter(center: Point, width: number, height: number): Bounds;
|
|
107
|
-
//# sourceMappingURL=bounds.d.ts.map
|
package/dist/geometry/brace.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* single stroke width cannot do. Each arm is its own ring, so the cusp at the
|
|
7
7
|
* tip (where the centreline doubles back on itself) never has to be offset.
|
|
8
8
|
*/
|
|
9
|
-
import type { Bounds, Point, Polyline } from "./path/types";
|
|
9
|
+
import type { Bounds, Point, Polyline } from "./path/types.js";
|
|
10
10
|
/** @category Shapes */
|
|
11
11
|
export interface BraceOptions {
|
|
12
12
|
/**
|
|
@@ -59,4 +59,3 @@ export declare function braceSpan(bounds: Bounds, direction: Point, gap?: number
|
|
|
59
59
|
from: Point;
|
|
60
60
|
to: Point;
|
|
61
61
|
};
|
|
62
|
-
//# sourceMappingURL=brace.d.ts.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* style curve factories), painted natively. Curves are computed in whatever space
|
|
4
4
|
* the points are given in.
|
|
5
5
|
*/
|
|
6
|
-
import type { CurvePath, Point } from "./path/types";
|
|
6
|
+
import type { CurvePath, Point } from "./path/types.js";
|
|
7
7
|
/**
|
|
8
8
|
* How a line or area's boundary runs between its points:
|
|
9
9
|
*
|
|
@@ -124,4 +124,3 @@ export declare function clipCurvePathToX(path: CurvePath, cutoff: number): Curve
|
|
|
124
124
|
* @category Paths
|
|
125
125
|
*/
|
|
126
126
|
export declare function clipClosedCurvePathToX(path: CurvePath, cutoff: number): CurvePath | undefined;
|
|
127
|
-
//# sourceMappingURL=curves.d.ts.map
|
package/dist/geometry/field.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* fields). Integration stops at a non-finite value, out of bounds, or below
|
|
5
5
|
* `minSpeed`.
|
|
6
6
|
*/
|
|
7
|
-
import type { Bounds, Point, Polyline } from "./path/types";
|
|
7
|
+
import type { Bounds, Point, Polyline } from "./path/types.js";
|
|
8
8
|
/**
|
|
9
9
|
* A vector field: the vector at a point, in the caller's own coordinates.
|
|
10
10
|
*
|
|
@@ -91,4 +91,3 @@ export declare function streamlineBothWays(f: VectorFn, start: Point, options: S
|
|
|
91
91
|
* @category Fields
|
|
92
92
|
*/
|
|
93
93
|
export declare function fieldJitter(index: number, salt?: number): number;
|
|
94
|
-
//# sourceMappingURL=field.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* layout throws or emits `NaN`; `tree` over a cyclic graph lays out a BFS
|
|
12
12
|
* spanning forest.
|
|
13
13
|
*/
|
|
14
|
-
import type { Point } from "./path/types";
|
|
14
|
+
import type { Point } from "./path/types.js";
|
|
15
15
|
/**
|
|
16
16
|
* Whatever the caller identifies a vertex by. Compared with `===`.
|
|
17
17
|
*
|
|
@@ -319,4 +319,3 @@ export declare function edgeKey(source: VertexId, target: VertexId): string;
|
|
|
319
319
|
* @category Graph layouts
|
|
320
320
|
*/
|
|
321
321
|
export declare function pathEdges(path: readonly VertexId[]): [VertexId, VertexId][];
|
|
322
|
-
//# sourceMappingURL=graph-layout.d.ts.map
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* the curve into neighbouring cells. A component smaller than a starting cell,
|
|
10
10
|
* or a double root that never changes sign, is not found.
|
|
11
11
|
*/
|
|
12
|
-
import type { Point } from "./path/types";
|
|
12
|
+
import type { Point } from "./path/types.js";
|
|
13
13
|
/**
|
|
14
14
|
* Resolution controls for {@link implicitCurve}, named after Manim's
|
|
15
15
|
* `ImplicitFunction`.
|
|
@@ -71,4 +71,3 @@ export interface ImplicitCurvePiece {
|
|
|
71
71
|
* @category Fields
|
|
72
72
|
*/
|
|
73
73
|
export declare function implicitCurve(f: (x: number, y: number) => number, x: [number, number], y: [number, number], options?: ImplicitCurveOptions): ImplicitCurvePiece[];
|
|
74
|
-
//# sourceMappingURL=implicit.d.ts.map
|
package/dist/geometry/index.d.ts
CHANGED
|
@@ -1,42 +1,41 @@
|
|
|
1
|
-
export type { AngleArcOptions } from "./arc";
|
|
2
|
-
export { angleArcCurvePath, angleArcPolyline, annularSectorCurvePath, annularSectorPolyline, annulusCurvePaths, annulusPolylines, arcBetweenPoints, arcBetweenPointsCurvePath, arcCurvePath, cubicBezierPolyline, elbowPolyline, ellipseCurvePath, polygramPolyline, quadraticBezierPolyline, rightAngleMarkPolyline, sectorCurvePath, sectorPolyline, segmentsForArc, starInnerRadius, starPolygon, } from "./arc";
|
|
3
|
-
export type { BandKey, BandScale, BandScaleOptions } from "./band";
|
|
4
|
-
export { bandScale, interpolateBandScale, slotBandScale } from "./band";
|
|
5
|
-
export { boundsOf, centerOf, pointOnBounds } from "./bounds";
|
|
6
|
-
export type { BraceOptions } from "./brace";
|
|
7
|
-
export { braceRings, braceSpan, braceTip } from "./brace";
|
|
8
|
-
export type { ClosedCurveKind, CurveKind } from "./curves";
|
|
9
|
-
export { areaCurvePath, clipClosedCurvePathToX, clipCurvePathToX, closedCurvePath, curvePath, reverseCurvePath, } from "./curves";
|
|
10
|
-
export type { StreamlineOptions, VectorFn } from "./field";
|
|
11
|
-
export { fieldJitter, rk4Step, streamline, streamlineBothWays, } from "./field";
|
|
12
|
-
export type { GraphData, GraphDirection, GraphEdge, GraphExtent, GraphLayout, GraphLayoutName, GraphLayoutOptions, GraphLayoutSpec, VertexId, } from "./graph-layout";
|
|
13
|
-
export { circularLayout, edgeKey, explicitLayout, graphLayouts, gridLayout, partiteLayout, pathEdges, resolveGraphLayout, shellLayout, springGrowth, springLayout, springTrajectory, treeLayout, } from "./graph-layout";
|
|
14
|
-
export type { ImplicitCurveOptions, ImplicitCurvePiece } from "./implicit";
|
|
15
|
-
export { implicitCurve } from "./implicit";
|
|
16
|
-
export { lerpPoint } from "./lerp";
|
|
17
|
-
export type { MorphInterpolator, RingsInterpolator } from "./morph";
|
|
18
|
-
export { morphCurvePaths, morphPathData, morphPolylines, morphRings, } from "./morph";
|
|
19
|
-
export { clamp01, clampNonNegative, finiteExtent, finiteOrZero, finiteValues, hashUnit, isFinitePoint, linspace, maxOf, minOf, mix, mixPoint, polarPoint, TAU, wrapAngle, } from "./num";
|
|
20
|
-
export type { ArcTable, CurveArcTable } from "./path/arclength";
|
|
21
|
-
export { measure, measureCurve, normalAtT, pointAtT, resample, revealedPolylines, sliceAtT, sliceBetween, sliceCurveAtT, sliceCurveBetween, tangentAtT, } from "./path/arclength";
|
|
22
|
-
export { arcCubics, cubicArcLength, flattenCubicPolyline, lineSegment, quadraticToCubic, splitCubicAt, } from "./path/cubic";
|
|
23
|
-
export { closePolyline, curvePathToPolyline, flattenPath, parsePathData, pathDataToCurvePath, polylineToCurvePath, toPathData, } from "./path/svg-path";
|
|
24
|
-
export type { Bounds, CurvePath, CurveSegment, Point, Polyline, Subpath, } from "./path/types";
|
|
25
|
-
export type { Resolver } from "./resolver";
|
|
26
|
-
export { createResolver } from "./resolver";
|
|
27
|
-
export type { RangeTransition, WeightedTick } from "./scale/range-transition";
|
|
28
|
-
export { currentRange, interpolateRange, isRangeTransition, spacedTicks, transitionTicks, } from "./scale/range-transition";
|
|
29
|
-
export type { DivergingKind, DivergingScaleOptions, Range, Scale, ScaleName, ScaleSpec, ScaleTicks, TimeScaleOptions, } from "./scale/scales";
|
|
30
|
-
export { divergingScale, linearScale, logScale, powScale, resolveScale, sqrtScale, symlogScale, timeScale, } from "./scale/scales";
|
|
31
|
-
export type { TickFormatContext, TickFormatter, TickFormatterName, TickFormatterSpec, } from "./scale/tick-format";
|
|
32
|
-
export { formatSpecifier, formatTick, resolveTickFormatter, tickFormatters, } from "./scale/tick-format";
|
|
33
|
-
export type { AxisTickOptions, LogTickOptions, TickOptions, } from "./scale/ticks";
|
|
34
|
-
export { axisTicks, logTicks, niceStep, thinTickLabels, tickStep, tickValues, } from "./scale/ticks";
|
|
35
|
-
export { arcPolyline, arrowHead, arrowHeadAt, circlePolyline, ellipsePolyline, linePolyline, plotPolyline, rectPolyline, regularPolygon, segmentsForRadius, } from "./shapes";
|
|
36
|
-
export type { TemporalInstantLike, TemporalPlainDateLike, TemporalPlainDateTimeLike, TemporalValue, TimeValue, TimeZone, } from "./time";
|
|
37
|
-
export { fromWallTime, timeZoneOffset, toEpochMs, toWallTime, } from "./time";
|
|
38
|
-
export type { TipGeometry, TipShape } from "./tips";
|
|
39
|
-
export { tipIsClosed, tipPolylines } from "./tips";
|
|
40
|
-
export type { Matrix } from "./transform";
|
|
41
|
-
export { about, applyToPoint, applyToPolyline, columnsOf, compose, determinant, fromColumns, fromTranslationRotationScale, IDENTITY, invert, lerpMatrix, linearMap, rotate, scale, scaleFactorOf, translate, } from "./transform";
|
|
42
|
-
//# sourceMappingURL=index.d.ts.map
|
|
1
|
+
export type { AngleArcOptions } from "./arc.js";
|
|
2
|
+
export { angleArcCurvePath, angleArcPolyline, annularSectorCurvePath, annularSectorPolyline, annulusCurvePaths, annulusPolylines, arcBetweenPoints, arcBetweenPointsCurvePath, arcCurvePath, cubicBezierPolyline, elbowPolyline, ellipseCurvePath, polygramPolyline, quadraticBezierPolyline, rightAngleMarkPolyline, sectorCurvePath, sectorPolyline, segmentsForArc, starInnerRadius, starPolygon, } from "./arc.js";
|
|
3
|
+
export type { BandKey, BandScale, BandScaleOptions } from "./band.js";
|
|
4
|
+
export { bandScale, interpolateBandScale, slotBandScale } from "./band.js";
|
|
5
|
+
export { boundsOf, centerOf, pointOnBounds } from "./bounds.js";
|
|
6
|
+
export type { BraceOptions } from "./brace.js";
|
|
7
|
+
export { braceRings, braceSpan, braceTip } from "./brace.js";
|
|
8
|
+
export type { ClosedCurveKind, CurveKind } from "./curves.js";
|
|
9
|
+
export { areaCurvePath, clipClosedCurvePathToX, clipCurvePathToX, closedCurvePath, curvePath, reverseCurvePath, } from "./curves.js";
|
|
10
|
+
export type { StreamlineOptions, VectorFn } from "./field.js";
|
|
11
|
+
export { fieldJitter, rk4Step, streamline, streamlineBothWays, } from "./field.js";
|
|
12
|
+
export type { GraphData, GraphDirection, GraphEdge, GraphExtent, GraphLayout, GraphLayoutName, GraphLayoutOptions, GraphLayoutSpec, VertexId, } from "./graph-layout.js";
|
|
13
|
+
export { circularLayout, edgeKey, explicitLayout, graphLayouts, gridLayout, partiteLayout, pathEdges, resolveGraphLayout, shellLayout, springGrowth, springLayout, springTrajectory, treeLayout, } from "./graph-layout.js";
|
|
14
|
+
export type { ImplicitCurveOptions, ImplicitCurvePiece } from "./implicit.js";
|
|
15
|
+
export { implicitCurve } from "./implicit.js";
|
|
16
|
+
export { lerpPoint } from "./lerp.js";
|
|
17
|
+
export type { MorphInterpolator, RingsInterpolator } from "./morph.js";
|
|
18
|
+
export { morphCurvePaths, morphPathData, morphPolylines, morphRings, } from "./morph.js";
|
|
19
|
+
export { clamp01, clampNonNegative, finiteExtent, finiteOrZero, finiteValues, hashUnit, isFinitePoint, linspace, maxOf, minOf, mix, mixPoint, polarPoint, TAU, wrapAngle, } from "./num.js";
|
|
20
|
+
export type { ArcTable, CurveArcTable } from "./path/arclength.js";
|
|
21
|
+
export { measure, measureCurve, normalAtT, pointAtT, resample, revealedPolylines, sliceAtT, sliceBetween, sliceCurveAtT, sliceCurveBetween, tangentAtT, } from "./path/arclength.js";
|
|
22
|
+
export { arcCubics, cubicArcLength, flattenCubicPolyline, lineSegment, quadraticToCubic, splitCubicAt, } from "./path/cubic.js";
|
|
23
|
+
export { closePolyline, curvePathToPolyline, flattenPath, parsePathData, pathDataToCurvePath, polylineToCurvePath, toPathData, } from "./path/svg-path.js";
|
|
24
|
+
export type { Bounds, CurvePath, CurveSegment, Point, Polyline, Subpath, } from "./path/types.js";
|
|
25
|
+
export type { Resolver } from "./resolver.js";
|
|
26
|
+
export { createResolver } from "./resolver.js";
|
|
27
|
+
export type { RangeTransition, WeightedTick, } from "./scale/range-transition.js";
|
|
28
|
+
export { currentRange, interpolateRange, isRangeTransition, spacedTicks, transitionTicks, } from "./scale/range-transition.js";
|
|
29
|
+
export type { DivergingKind, DivergingScaleOptions, Range, Scale, ScaleName, ScaleSpec, ScaleTicks, TimeScaleOptions, } from "./scale/scales.js";
|
|
30
|
+
export { divergingScale, linearScale, logScale, powScale, resolveScale, sqrtScale, symlogScale, timeScale, } from "./scale/scales.js";
|
|
31
|
+
export type { TickFormatContext, TickFormatter, TickFormatterName, TickFormatterSpec, } from "./scale/tick-format.js";
|
|
32
|
+
export { formatSpecifier, formatTick, resolveTickFormatter, tickFormatters, } from "./scale/tick-format.js";
|
|
33
|
+
export type { AxisTickOptions, LogTickOptions, TickOptions, } from "./scale/ticks.js";
|
|
34
|
+
export { axisTicks, logTicks, niceStep, thinTickLabels, tickStep, tickValues, } from "./scale/ticks.js";
|
|
35
|
+
export { arcPolyline, arrowHead, arrowHeadAt, circlePolyline, ellipsePolyline, linePolyline, plotPolyline, rectPolyline, regularPolygon, segmentsForRadius, } from "./shapes.js";
|
|
36
|
+
export type { TemporalInstantLike, TemporalPlainDateLike, TemporalPlainDateTimeLike, TemporalValue, TimeValue, TimeZone, } from "./time.js";
|
|
37
|
+
export { fromWallTime, timeZoneOffset, toEpochMs, toWallTime, } from "./time.js";
|
|
38
|
+
export type { TipGeometry, TipShape } from "./tips.js";
|
|
39
|
+
export { tipIsClosed, tipPolylines } from "./tips.js";
|
|
40
|
+
export type { Matrix } from "./transform.js";
|
|
41
|
+
export { about, applyToPoint, applyToPolyline, columnsOf, compose, determinant, fromColumns, fromTranslationRotationScale, IDENTITY, invert, lerpMatrix, linearMap, rotate, scale, scaleFactorOf, translate, } from "./transform.js";
|
package/dist/geometry/lerp.d.ts
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* other layer can import them; `tween/interpolate.ts` re-exports them.
|
|
5
5
|
* `lerpPoint3` imports only the `Point3` type from `geometry3d/`.
|
|
6
6
|
*/
|
|
7
|
-
import type { Point3 } from "../geometry3d/mat";
|
|
8
|
-
import type { CurvePath, Point, Polyline } from "./path/types";
|
|
7
|
+
import type { Point3 } from "../geometry3d/mat.js";
|
|
8
|
+
import type { CurvePath, Point, Polyline } from "./path/types.js";
|
|
9
9
|
/**
|
|
10
10
|
* Linear interpolation: `t` of the way from `a` to `b`. The one formula
|
|
11
11
|
* everything below reduces to. `t` is not clamped, so values outside 0..1
|
|
@@ -172,4 +172,3 @@ export declare function lerpPolyline(a: Polyline, b: Polyline): (t: number) => P
|
|
|
172
172
|
* @category Interpolation
|
|
173
173
|
*/
|
|
174
174
|
export declare function lerpCurvePath(a: CurvePath, b: CurvePath): (t: number) => CurvePath;
|
|
175
|
-
//# sourceMappingURL=lerp.d.ts.map
|
package/dist/geometry/morph.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* - `morphPathData`: `morphRings` over two SVG path strings.
|
|
10
10
|
* - `morphCurvePaths`: split segments until counts match, then lerp.
|
|
11
11
|
*/
|
|
12
|
-
import type { CurvePath, Polyline } from "./path/types";
|
|
12
|
+
import type { CurvePath, Polyline } from "./path/types.js";
|
|
13
13
|
/**
|
|
14
14
|
* Samples a morph at `t` in 0..1 (clamped), returning the in-between polyline.
|
|
15
15
|
*
|
|
@@ -153,7 +153,7 @@ export declare function morphPathData(from: string, to: string, options?: {
|
|
|
153
153
|
* Straight-line interpolation between two points, re-exported for callers
|
|
154
154
|
* that reach for `lerpPoint` from `"./morph"`. Defined in `./lerp.ts`.
|
|
155
155
|
*/
|
|
156
|
-
export { lerpPoint } from "./lerp";
|
|
156
|
+
export { lerpPoint } from "./lerp.js";
|
|
157
157
|
/**
|
|
158
158
|
* Interpolates two `CurvePath`s control point by control point, so every frame
|
|
159
159
|
* is an exact bézier; the shorter is first split up to the same segment count.
|
|
@@ -167,4 +167,3 @@ export { lerpPoint } from "./lerp";
|
|
|
167
167
|
* @category Morphing & matching
|
|
168
168
|
*/
|
|
169
169
|
export declare function morphCurvePaths(a: CurvePath, b: CurvePath, t: number): CurvePath;
|
|
170
|
-
//# sourceMappingURL=morph.d.ts.map
|
package/dist/geometry/num.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* are separate hashes on purpose: their outputs are pinned by tests and
|
|
9
9
|
* baselines.
|
|
10
10
|
*/
|
|
11
|
-
import type { Point } from "./path/types";
|
|
11
|
+
import type { Point } from "./path/types.js";
|
|
12
12
|
/** One full turn in radians, `2π`. */
|
|
13
13
|
export declare const TAU: number;
|
|
14
14
|
/**
|
|
@@ -174,4 +174,3 @@ export declare function polarPoint(cx: number, cy: number, radius: number, theta
|
|
|
174
174
|
* @category Math & helpers
|
|
175
175
|
*/
|
|
176
176
|
export declare function hashUnit(key: string | number, seed?: number): number;
|
|
177
|
-
//# sourceMappingURL=num.d.ts.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* polylines and curve paths, point/slice lookup by fraction of length,
|
|
4
4
|
* tangents and normals, even resampling, and the signed ring area.
|
|
5
5
|
*/
|
|
6
|
-
import type { CurvePath, Point, Polyline } from "./types";
|
|
6
|
+
import type { CurvePath, Point, Polyline } from "./types.js";
|
|
7
7
|
/**
|
|
8
8
|
* Cumulative arc-length table over a polyline. Built once per drawn shape and
|
|
9
9
|
* then sampled by reveal animations; `lengths[i]` is the distance from the
|
|
@@ -162,4 +162,3 @@ export declare function resample(table: ArcTable, count: number): Polyline;
|
|
|
162
162
|
* @returns The signed area; 0 for fewer than three points.
|
|
163
163
|
*/
|
|
164
164
|
export declare function ringArea(line: Polyline): number;
|
|
165
|
-
//# sourceMappingURL=arclength.d.ts.map
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* conversion to cubics. Pure; `lerpPoint` comes from the sibling `../lerp`
|
|
5
5
|
* (its canonical home, see that file's module doc).
|
|
6
6
|
*/
|
|
7
|
-
import type { CurveSegment, Point, Polyline } from "./types";
|
|
7
|
+
import type { CurveSegment, Point, Polyline } from "./types.js";
|
|
8
8
|
/**
|
|
9
9
|
* A `CurveSegment` that traces the straight line from `from` to `to` exactly
|
|
10
10
|
* (control points at the thirds).
|
|
@@ -110,4 +110,3 @@ export declare function arcCubics(cx: number, cy: number, rx: number, ry: number
|
|
|
110
110
|
* actual cubic emission to `arcCubics`.
|
|
111
111
|
*/
|
|
112
112
|
export declare function arcToCubics(p0: Point, rxIn: number, ryIn: number, rotationDeg: number, largeArc: boolean, sweep: boolean, p1: Point): [Point, Point, Point, Point][];
|
|
113
|
-
//# sourceMappingURL=cubic.d.ts.map
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* screen — the guarantee `revealedPolylines` gives a single shape. The cache
|
|
9
9
|
* lives here, below both, because `interact/` may not import `render/`.
|
|
10
10
|
*/
|
|
11
|
-
import type { ArcTable, CurveArcTable } from "./arclength";
|
|
12
|
-
import type { CurvePath, Polyline } from "./types";
|
|
11
|
+
import type { ArcTable, CurveArcTable } from "./arclength.js";
|
|
12
|
+
import type { CurvePath, Polyline } from "./types.js";
|
|
13
13
|
/** One outline's arc-length tables, in its own units, and their summed length. */
|
|
14
14
|
export interface OutlineReveal<T> {
|
|
15
15
|
tables: T[];
|
|
@@ -46,4 +46,3 @@ export declare function revealedCurves(tables: CurveArcTable[], total: number, p
|
|
|
46
46
|
* @internal
|
|
47
47
|
*/
|
|
48
48
|
export declare function revealedOutline(polylines: readonly Polyline[], progress: number): Polyline[];
|
|
49
|
-
//# sourceMappingURL=outline-reveal.d.ts.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* SVG path data in and out: parsing, flattening to subpaths, conversion to
|
|
3
3
|
* `CurvePath`s, and the polyline/curve-path conversions and serialization.
|
|
4
4
|
*/
|
|
5
|
-
import type { CurvePath, Polyline, Subpath } from "./types";
|
|
5
|
+
import type { CurvePath, Polyline, Subpath } from "./types.js";
|
|
6
6
|
/**
|
|
7
7
|
* One parsed SVG path command with its numeric arguments (see {@link parsePathData}).
|
|
8
8
|
*
|
|
@@ -86,4 +86,3 @@ export declare function polylineToCurvePath(points: Polyline, closed: boolean):
|
|
|
86
86
|
* @category Paths
|
|
87
87
|
*/
|
|
88
88
|
export declare function toPathData(points: Polyline, closed?: boolean): string;
|
|
89
|
-
//# sourceMappingURL=svg-path.d.ts.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* interpolation and current value, and the weighted (fading) ticks drawn
|
|
4
4
|
* while it runs.
|
|
5
5
|
*/
|
|
6
|
-
import { type Range, type ScaleSpec } from "./scales";
|
|
6
|
+
import { type Range, type ScaleSpec } from "./scales.js";
|
|
7
7
|
/**
|
|
8
8
|
* A range on its way from one value to another: what an axis shows at blend
|
|
9
9
|
* `t` (0 = `from`, 1 = `to`). Passing one where a `Range` would go animates
|
|
@@ -112,4 +112,3 @@ export declare function transitionTicks(from: readonly number[], to: readonly nu
|
|
|
112
112
|
* @category Scales & ticks
|
|
113
113
|
*/
|
|
114
114
|
export declare function spacedTicks(ticks: readonly WeightedTick[], place: (value: number) => number, minGap: number): WeightedTick[];
|
|
115
|
-
//# sourceMappingURL=range-transition.d.ts.map
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Categorical axes are `bandScale` (`geometry/band.ts`).
|
|
9
9
|
*/
|
|
10
|
-
import { type TimeZone } from "../time";
|
|
11
|
-
import type { TickFormatter } from "./tick-format";
|
|
10
|
+
import { type TimeZone } from "../time.js";
|
|
11
|
+
import type { TickFormatter } from "./tick-format.js";
|
|
12
12
|
/**
|
|
13
13
|
* A data range, as in Manim's `x_range`. The step is the major tick spacing.
|
|
14
14
|
*
|
|
@@ -277,4 +277,3 @@ export type ScaleName = "linear" | "log" | "sqrt" | "symlog" | "time" | "utc";
|
|
|
277
277
|
* @category Scales & ticks
|
|
278
278
|
*/
|
|
279
279
|
export declare function resolveScale(spec: ScaleSpec | undefined, range: Range, base?: number, timeZone?: TimeZone): Scale;
|
|
280
|
-
//# sourceMappingURL=scales.d.ts.map
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* (SI, scientific, percent, multiples of π), d3-style format specifiers and
|
|
4
4
|
* the formatter resolver.
|
|
5
5
|
*/
|
|
6
|
-
import { type TimeZone } from "../time";
|
|
7
|
-
import { type Range, type ScaleSpec } from "./scales";
|
|
6
|
+
import { type TimeZone } from "../time.js";
|
|
7
|
+
import { type Range, type ScaleSpec } from "./scales.js";
|
|
8
8
|
/**
|
|
9
9
|
* A tick's text. Without `decimalPlaces` the number is written as short as it
|
|
10
10
|
* can be — an axis reads `0, 0.5, 1`, not `0.00, 0.50, 1.00` — after rounding
|
|
@@ -147,4 +147,3 @@ export declare function formatSpecifier(specifier: string, context?: TickFormatC
|
|
|
147
147
|
*/
|
|
148
148
|
export declare function resolveTickFormatter(spec: TickFormatterSpec | undefined, fallback?: TickFormatter, context?: TickFormatContext): TickFormatter;
|
|
149
149
|
export {};
|
|
150
|
-
//# sourceMappingURL=tick-format.d.ts.map
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* fallbacks and `limit`-based thinning this codebase relies on — swapping
|
|
8
8
|
* them would silently change every axis's tick spacing.
|
|
9
9
|
*/
|
|
10
|
-
import type { Range, Scale, ScaleTicks } from "./scales";
|
|
10
|
+
import type { Range, Scale, ScaleTicks } from "./scales.js";
|
|
11
11
|
/**
|
|
12
12
|
* Options for {@link logTicks}.
|
|
13
13
|
*
|
|
@@ -148,4 +148,3 @@ export declare function axisTicks(scale: Scale, range: Range, options?: AxisTick
|
|
|
148
148
|
* @category Scales & ticks
|
|
149
149
|
*/
|
|
150
150
|
export declare function thinTickLabels(centers: readonly number[], extents: readonly number[], gap?: number): number[];
|
|
151
|
-
//# sourceMappingURL=ticks.d.ts.map
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* and uniform scale but not rotation. Pairing is greedy, cheapest first;
|
|
10
10
|
* unrelated shapes with similar descriptors can pair, which `maxCost` refuses.
|
|
11
11
|
*/
|
|
12
|
-
import type { Polyline } from "./path/types";
|
|
12
|
+
import type { Polyline } from "./path/types.js";
|
|
13
13
|
/**
|
|
14
14
|
* How far apart the two fades are, as a fraction of the run.
|
|
15
15
|
*
|
|
@@ -155,4 +155,3 @@ export declare function matchShapesByPointCloud(source: ShapePart[], target: Sha
|
|
|
155
155
|
* @category Morphing & matching
|
|
156
156
|
*/
|
|
157
157
|
export declare function morphShapes(from: ShapePart[], to: ShapePart[], options?: MatchShapesOptions): ShapeTransform;
|
|
158
|
-
//# sourceMappingURL=shape-match.d.ts.map
|