expressive-charts 0.7.0 → 0.9.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/index.d.cts CHANGED
@@ -531,11 +531,14 @@ interface LineChartOptions<D> extends ChartOptions<D> {
531
531
  */
532
532
  readonly x: Accessor<D, number | Date>;
533
533
  /**
534
- * A time axis's zone: "UTC" (the default) or "local", the viewer's clock. Ticks fall on day, month
535
- * and year boundaries in it, and the names, the tooltip and the table say times in it. A date-only
536
- * value such as new Date("2026-01-05") is UTC midnight, so in UTC it's 5 January on every machine.
534
+ * A time axis's zone: "UTC" (the default), "local", the viewer's clock, or a zone's name as Intl
535
+ * knows it, such as "Europe/London". Ticks fall on its midnights, months, years, hours and minutes,
536
+ * through summer time, and the names, the tooltip and the table say times in it with no zone's name,
537
+ * but for a time that comes twice where the clocks go back, which adds its short name ("1:30 AM
538
+ * GMT+1", "01:30 BST" in en-GB). A date-only value such as new Date("2026-01-05") is UTC midnight,
539
+ * so in UTC it's 5 January on every machine. A name Intl doesn't know throws a TypeError.
537
540
  */
538
- readonly timeZone?: "UTC" | "local";
541
+ readonly timeZone?: "UTC" | "local" | (string & {});
539
542
  /**
540
543
  * Words an x for people instead of the default: in each x's name, the tooltip's title, the table's
541
544
  * row headers and the announcements, and as `markLabel`'s `category`. Given the x as the data has it,
@@ -551,6 +554,12 @@ interface LineChartOptions<D> extends ChartOptions<D> {
551
554
  * series is missing there. NaN and the infinities throw.
552
555
  */
553
556
  readonly series: readonly KeyOfType<D, number | null | undefined>[];
557
+ /**
558
+ * The word for a missing value: in the table's cell, and after the series' label in the x's name,
559
+ * the tooltip and `markLabel`'s default text ("goals missing"). Default "missing". Anything but a
560
+ * string with a word in it throws a TypeError, and update({ missing }) words them again.
561
+ */
562
+ readonly missing?: string;
554
563
  /**
555
564
  * The label at each line's end, in the right margin: by default its value in `format` with its
556
565
  * series' label ("52 goals"), counting between values while a change or a reveal plays. `false`
@@ -671,6 +680,39 @@ interface Chart<D, O> {
671
680
  }
672
681
  type BarChart<D> = Chart<D, BarChartOptions<D>>;
673
682
  type DonutChart<D> = Chart<D, DonutChartOptions<D>>;
683
+ /** What a link takes: a chart (barChart, donutChart, lineChart), a chartSwitch or an attachment (expressive, fromVegaView), with rows D. */
684
+ interface LinkSource<D> {
685
+ on(type: "hover", listener: (event: MarkEvents<D>["hover"]) => void): () => void;
686
+ marks(): readonly MarkGeometry[];
687
+ }
688
+ /** The rows of the sources in S: each chart's, switch's and attachment's, as a union. */
689
+ type RowsOf<S> = S extends LinkSource<infer D> ? D : never;
690
+ interface LinkOptions<D> {
691
+ /**
692
+ * A mark's linking value, given the mark and its data as a hover event has them. Default: its last
693
+ * sample's `at` if it has one (a line point's x), else its key (a bar's or a slice's category).
694
+ * Values are compared as strings, a Date by its ISO string, as keys are. Undefined or null links
695
+ * nothing, and so does a throw (reported). A line chart's x with every value missing has no point,
696
+ * so it's given a stand-in for one, keyed by the x, with the row and a sample at the x, whose value
697
+ * is NaN.
698
+ */
699
+ readonly by?: (event: Pick<MarkEvent<D>, "mark" | "data">) => unknown;
700
+ /** Whether linked marks play their chart's hover effect. Default true; false keeps them to emphasis and dimming. */
701
+ readonly effects?: boolean;
702
+ }
703
+ interface Link {
704
+ /** Ends the link: linked hovers end, and each source can be linked again. The sources' own hovers go on. */
705
+ destroy(): void;
706
+ }
707
+ /**
708
+ * Links hover across `sources`: when one is hovered by the pointer, touch or the keyboard, every other
709
+ * hovers its targets with that linking value (a line chart its x, a bar chart its bar), as `source:
710
+ * "linked"`, and leaves them when it leaves. The newest hover anywhere in the link is the one shown.
711
+ * A chart switch takes part through its view on show. Throws a TypeError, linking nothing, on a source
712
+ * that isn't a chart, a chart switch or an attachment, or one that's in a link already, a switch's
713
+ * views' charts going with it. A destroyed source drops out.
714
+ */
715
+ export declare function link<S extends LinkSource<unknown>>(sources: readonly S[], options?: LinkOptions<RowsOf<S>>): Link;
674
716
  /**
675
717
  * A CSS selector, an element, a list of elements (a NodeList, an array), or anything shaped like a D3
676
718
  * selection, whose `data()` types the callbacks. `each` is only there for the types: a D3
@@ -835,102 +877,15 @@ interface Attachment<D> {
835
877
  /** Clears every effect and removes everything the adapter added, leaving the host's DOM as it was. */
836
878
  destroy(): void;
837
879
  }
838
- /**
839
- * What fromVegaView() uses of a Vega View: its renderer, its scenegraph and the element it renders
840
- * into. The scenegraph is read as `{ root }` (what Vega returns) or as the root mark itself (what
841
- * vega-typings declare), so a View fits whichever the types say.
842
- */
843
- interface VegaViewLike {
844
- renderer(): string;
845
- scenegraph(): object;
846
- container(): Element | null;
847
- }
848
- /** A mark in Vega's scenegraph: its type, its name, and its items. */
849
- interface VegaMark {
850
- readonly marktype?: string;
851
- readonly name?: string;
852
- readonly items?: readonly VegaItem[];
853
- }
854
- /** An item of a Vega mark, as its encoders left it. A group's items hold the marks inside it. */
855
- interface VegaItem {
856
- readonly mark?: VegaMark;
857
- readonly datum?: unknown;
858
- readonly items?: readonly VegaMark[];
859
- readonly x?: number;
860
- readonly y?: number;
861
- readonly width?: number;
862
- readonly height?: number;
863
- readonly startAngle?: number;
864
- readonly endAngle?: number;
865
- readonly innerRadius?: number;
866
- readonly outerRadius?: number;
867
- readonly size?: number;
868
- readonly strokeWidth?: number;
869
- readonly cornerRadius?: number;
870
- /** False for a line's point Vega leaves out, which breaks the line there. */
871
- readonly defined?: boolean;
872
- /** How a line is drawn between its points: "linear" (or unset) is read from the items, any other curve from the path Vega draws. */
873
- readonly interpolate?: string;
874
- }
875
- /** A value for data effects: alone, or with where it is along x (`at`), which threshold matches series by. */
876
- type VegaSample = number | {
877
- readonly value: number;
878
- readonly at?: string | number | Date;
879
- };
880
- interface VegaOptions<D> extends Omit<ExpressiveOptions<D>, "datum" | "geometry" | "watch"> {
881
- /** The Vega mark to read, by name. Default "marks", the name Vega-Lite gives a chart's data mark. */
882
- readonly mark?: string;
883
- /**
884
- * For data effects: the value an item's row shows, and optionally where it is along x. A line gets a
885
- * sample at each of its points, a bar from 0 at its baseline to its value (a stack's segments each over
886
- * their own range), a slice from 0 to its value, and a point its value. `samples` replaces this.
887
- * Unless `value` is given, it's also what each element shows (a line: every point's), so a re-render
888
- * that only moves marks, such as a resize, isn't an update.
889
- */
890
- readonly sample?: (row: D) => VegaSample;
891
- }
892
- /** fromVegaView()'s attachment: refresh() reads the View again (it refreshes itself after each render too). */
893
- interface VegaAttachment<D> extends Omit<Attachment<D>, "refresh"> {
894
- refresh(): void;
895
- }
896
- /** What a link takes: a chart (barChart, donutChart, lineChart), a chartSwitch or an attachment (expressive, fromVegaView), with rows D. */
897
- interface LinkSource<D> {
898
- on(type: "hover", listener: (event: MarkEvents<D>["hover"]) => void): () => void;
899
- marks(): readonly MarkGeometry[];
900
- }
901
- /** The rows of the sources in S: each chart's, switch's and attachment's, as a union. */
902
- type RowsOf<S> = S extends LinkSource<infer D> ? D : never;
903
- interface LinkOptions<D> {
904
- /**
905
- * A mark's linking value, given the mark and its data as a hover event has them. Default: its last
906
- * sample's `at` if it has one (a line point's x), else its key (a bar's or a slice's category).
907
- * Values are compared as strings, a Date by its ISO string, as keys are. Undefined or null links
908
- * nothing, and so does a throw (reported).
909
- */
910
- readonly by?: (event: Pick<MarkEvent<D>, "mark" | "data">) => unknown;
911
- /** Whether linked marks play their chart's hover effect. Default true; false keeps them to emphasis and dimming. */
912
- readonly effects?: boolean;
913
- }
914
- interface Link {
915
- /** Ends the link: linked hovers end, and each source can be linked again. The sources' own hovers go on. */
916
- destroy(): void;
917
- }
918
- /**
919
- * Links hover across `sources`: when one is hovered by the pointer, touch or the keyboard, every other
920
- * hovers its targets with that linking value (a line chart its x, a bar chart its bar), as `source:
921
- * "linked"`, and leaves them when it leaves. The newest hover anywhere in the link is the one shown.
922
- * A chart switch takes part through its view on show. Throws a TypeError, linking nothing, on a source
923
- * that isn't a chart, a chart switch or an attachment, or one that's in a link already, a switch's
924
- * views' charts going with it. A destroyed source drops out.
925
- */
926
- export declare function link<S extends LinkSource<unknown>>(sources: readonly S[], options?: LinkOptions<RowsOf<S>>): Link;
927
880
  /**
928
881
  * What a chart switch uses of each view's chart. A reference chart's handle has all of it: its
929
882
  * `<svg>` (which takes `ec-morphing` while its marks morph in the switch's overlay), its marks and
930
883
  * labels as drawn, focus by key, leave() to end its hover, and destroy(); how it paints each mark
931
884
  * (paintOf), a line chart's what its focus stops stand for (standsFor), and its tab stop moved
932
885
  * without focus (moveTabStop). A reference chart also has on(), which the switch's on() hears, and a
933
- * hover a link can drive; a view without them isn't heard and isn't linked.
886
+ * hover a link can drive; a view without them isn't heard and isn't linked. hostView() makes a view
887
+ * of an attachment, which hides its own marks (morphing), finds a mark's key from its elements
888
+ * (keyOf), paints each in the host's colour, and gives its marks in their common ancestor's space.
934
889
  */
935
890
  interface ChartSwitchView {
936
891
  readonly element: SVGSVGElement;
@@ -957,11 +912,31 @@ interface ChartSwitchView {
957
912
  * Without it, a view keeps its own tab stop.
958
913
  */
959
914
  moveTabStop?(key: string): boolean;
915
+ /**
916
+ * The key of the mark `element` belongs to, which the switch asks first when it remembers where
917
+ * focus was, before the element's closest `[data-key]`: a host chart's marks have none.
918
+ */
919
+ keyOf?(element: Element): string | undefined;
920
+ /**
921
+ * Hides (true) or shows again (false) the marks and labels the switch draws in its overlay, while
922
+ * a switch plays: called as `element` takes `ec-morphing`, and as it loses it or the switch is
923
+ * destroyed mid-way. A host chart's marks don't have the class that hides a chart's. Without it,
924
+ * the class hides them.
925
+ */
926
+ morphing?(on: boolean): void;
927
+ /**
928
+ * The element whose user space marks() and labels() are in, when it isn't `element`: an attachment's
929
+ * marks' common ancestor. Its labels' text is sized in it too, so their copies scale into the overlay
930
+ * with the marks, as a chart's, sized by the stylesheet, don't.
931
+ */
932
+ readonly space?: Element;
960
933
  }
961
934
  /** How a view's chart paints one of its marks: what a switch draws it in. */
962
935
  interface ChartSwitchPaint {
963
936
  /** The name its colour comes from in the switch's assignment (`colors.slot(color)`): a line's or a point's series, a bar's key or first series, a slice's key. */
964
937
  readonly color: string;
938
+ /** The colour itself, any CSS colour, drawn in place of `color`'s slot: a host chart's own. */
939
+ readonly cssColor?: string;
965
940
  /** Whether the chart draws it at rest. A line chart's points aren't, but for a value alone between gaps; a mark that isn't starts or ends a switch as a dot of no size at its centre, with no end dot or ring. */
966
941
  readonly drawn: boolean;
967
942
  /** The radius of the dot the chart draws at the end of the mark's walk, in its `<svg>`'s units: a line chart's line has one of 4.5. Unset: no dot. */
@@ -1028,6 +1003,104 @@ interface ChartSwitch<T extends ChartSwitchViews> {
1028
1003
  /** Ends any switch, destroys every view's chart and removes everything the switch added. */
1029
1004
  destroy(): void;
1030
1005
  }
1006
+ /** A host's `<text>` that names a mark or gives its value, which a chart switch moves and swaps as a chart's labels. */
1007
+ interface HostLabel {
1008
+ readonly element: SVGTextElement;
1009
+ /** The mark's key. */
1010
+ readonly key: string;
1011
+ /** "category": the mark's name (a slice's outside label, a column's name). "value": its value. */
1012
+ readonly role: "category" | "value";
1013
+ }
1014
+ interface HostViewOptions {
1015
+ /**
1016
+ * The host's labels, each a `<text>` in its `<svg>` with its mark's key and its role, read as each
1017
+ * switch starts. Each moves to the label with its key and role in the next view, as a chart's labels
1018
+ * do, and swaps its text half way; one with no partner fades. A label whose key is no mark's is left
1019
+ * out, and so is everything if it throws (reported). The host's other text fades with its view.
1020
+ * Default: none.
1021
+ */
1022
+ readonly labels?: () => Iterable<HostLabel>;
1023
+ }
1024
+ /** An attachment as a chart switch's view: the attachment's own methods, with the view's. */
1025
+ interface HostView<D> extends Attachment<D>, ChartSwitchView {
1026
+ /** The host's root `<svg>`. Its `aria-label` is what a switch's `announce` says. */
1027
+ readonly element: SVGSVGElement;
1028
+ /** The marks' nearest common ancestor, whose space marks() and labels() are in. */
1029
+ readonly space: Element;
1030
+ /** The labels `labels` gives, as a switch draws them: at their anchor, in the host text's computed font and fill. */
1031
+ labels(): readonly ChartLabel[];
1032
+ /** The host's colour for the mark, its fill or its stroke on a line, as its first part draws it. */
1033
+ paintOf(key: string): ChartSwitchPaint | undefined;
1034
+ keyOf(element: Element): string | undefined;
1035
+ moveTabStop(key: string): boolean;
1036
+ morphing(on: boolean): void;
1037
+ }
1038
+ /**
1039
+ * Makes an attachment that expressive() or fromVegaView() returned a view for chartSwitch: a view's
1040
+ * function attaches to the chart it draws in its container and returns hostView(attachment). The
1041
+ * host's marks hide while a switch plays and morph in its colours, the labels it's given move and
1042
+ * swap, its other parts fade, and with `keyboard: true` focus follows its key. Throws a TypeError on
1043
+ * anything else, or on an attachment with no marks yet, which has no `<svg>`.
1044
+ */
1045
+ export declare function hostView<D>(attachment: Attachment<D>, options?: HostViewOptions): HostView<D>;
1046
+ /**
1047
+ * What fromVegaView() uses of a Vega View: its renderer, its scenegraph and the element it renders
1048
+ * into. The scenegraph is read as `{ root }` (what Vega returns) or as the root mark itself (what
1049
+ * vega-typings declare), so a View fits whichever the types say.
1050
+ */
1051
+ interface VegaViewLike {
1052
+ renderer(): string;
1053
+ scenegraph(): object;
1054
+ container(): Element | null;
1055
+ }
1056
+ /** A mark in Vega's scenegraph: its type, its name, and its items. */
1057
+ interface VegaMark {
1058
+ readonly marktype?: string;
1059
+ readonly name?: string;
1060
+ readonly items?: readonly VegaItem[];
1061
+ }
1062
+ /** An item of a Vega mark, as its encoders left it. A group's items hold the marks inside it. */
1063
+ interface VegaItem {
1064
+ readonly mark?: VegaMark;
1065
+ readonly datum?: unknown;
1066
+ readonly items?: readonly VegaMark[];
1067
+ readonly x?: number;
1068
+ readonly y?: number;
1069
+ readonly width?: number;
1070
+ readonly height?: number;
1071
+ readonly startAngle?: number;
1072
+ readonly endAngle?: number;
1073
+ readonly innerRadius?: number;
1074
+ readonly outerRadius?: number;
1075
+ readonly size?: number;
1076
+ readonly strokeWidth?: number;
1077
+ readonly cornerRadius?: number;
1078
+ /** False for a line's point Vega leaves out, which breaks the line there. */
1079
+ readonly defined?: boolean;
1080
+ /** How a line is drawn between its points: "linear" (or unset) is read from the items, any other curve from the path Vega draws. */
1081
+ readonly interpolate?: string;
1082
+ }
1083
+ /** A value for data effects: alone, or with where it is along x (`at`), which threshold matches series by. */
1084
+ type VegaSample = number | {
1085
+ readonly value: number;
1086
+ readonly at?: string | number | Date;
1087
+ };
1088
+ interface VegaOptions<D> extends Omit<ExpressiveOptions<D>, "datum" | "geometry" | "watch"> {
1089
+ /** The Vega mark to read, by name. Default "marks", the name Vega-Lite gives a chart's data mark. */
1090
+ readonly mark?: string;
1091
+ /**
1092
+ * For data effects: the value an item's row shows, and optionally where it is along x. A line gets a
1093
+ * sample at each of its points, a bar from 0 at its baseline to its value (a stack's segments each over
1094
+ * their own range), a slice from 0 to its value, and a point its value. `samples` replaces this.
1095
+ * Unless `value` is given, it's also what each element shows (a line: every point's), so a re-render
1096
+ * that only moves marks, such as a resize, isn't an update.
1097
+ */
1098
+ readonly sample?: (row: D) => VegaSample;
1099
+ }
1100
+ /** fromVegaView()'s attachment: refresh() reads the View again (it refreshes itself after each render too). */
1101
+ interface VegaAttachment<D> extends Omit<Attachment<D>, "refresh"> {
1102
+ refresh(): void;
1103
+ }
1031
1104
  /** How the stylesheet reaches the page. */
1032
1105
  interface StyleOptions {
1033
1106
  /** Set on the injected `<style>`, for a Content-Security-Policy that allows styles by nonce. */
@@ -1468,7 +1541,7 @@ export declare function registerIcons(icons: readonly Icon[]): void;
1468
1541
  * has the same rules. For a CSP that allows no inline styles at all.
1469
1542
  */
1470
1543
  export declare function configure(options: StyleOptions): void;
1471
- export declare const VERSION = "0.7.0";
1544
+ export declare const VERSION = "0.9.0";
1472
1545
  /**
1473
1546
  * A bar chart in `target` (an element or a selector). The axis whose values aren't numbers is the
1474
1547
  * category; `stack` stacks numeric fields; `on` attaches effects by slot.
@@ -1513,5 +1586,5 @@ export declare function fromVegaView<D = Record<string, unknown>>(view: VegaView
1513
1586
  * page-wide `motion`. `persist: "key"` saves the choice in localStorage.
1514
1587
  */
1515
1588
  export declare function motionSwitch(target: string | Element, motion?: Motion, options?: MotionSwitchOptions): MotionSwitch;
1516
- export { type Accessor, type AnimateOptions, type Animated, type AnimatedOptions, type AnyMarkEffect, type ArcSpec, type Attachment, type BarChart, type BarChartOptions, type BarSegmentSpec, type BarSpec, type Baseline, type Chart, type ChartChange, type ChartLabel, type ChartOptions, type ChartSwitch, type ChartSwitchOptions, type ChartSwitchPaint, type ChartSwitchView, type ChartSwitchViewFactory, type ChartSwitchViewName, type ChartSwitchViews, type Clock, type Color, type ColorAssignment, type Combined, type DataEffect, type DataEffectSpec, type DeltaOptions, type DonutChart, type DonutChartOptions, type DrawInOptions, type Easing, type EffectContext, type EffectOption, type EffectSlot, type EffectSlots, type ExpressiveOptions, type FlashOptions, type FrameSource, type Gait, type GaitName, type GaitPose, type GaitState, type GeometryEffect, type GeometryEffectSpec, type HostMark, type Icon, type IconHandle, type IconShape, type IconSource, type IconSpec, type Interpolator, type KeyOfType, type LabelOptions, type Layer, type LegendEntry, type LegendOptions, type LineChart, type LineChartOptions, type LineSpec, type Link, type LinkOptions, type LinkSource, type ManualClock, type MarkData, type MarkEffect, type MarkEvent, type MarkEvents, type MarkGeometry, type MarkHandle, type MarkSource, type MarkStyle, type MarkSummary, type Matrix, type MorphAlign, type MorphOptions, type Motion, type MotionEnv, type MotionMode, type MotionOptions, type MotionSwitch, type MotionSwitchOptions, type MotionView, type NumericKey, type Outline, type Paint, type PathHandle, type PlayButton, type PlayButtonOptions, type Playback, type PlaybackEvent, type PlaybackOptions, type Point, type PointSpec, type PresetName, type PulseOptions, type Rect, type ReducedMotionSource, type Sample, type SamplePoint, type ScalingOverrides, type ScalingRule, type ScalingTable, type SeekOptions, type ShapeSpec, type SliceSummary, type StaggerOptions, type StepOptions, type StyleOptions, type SvgIconSpec, type TableColumn, type TableOptions, type TextHandle, type TextSpace, type TextStyle, type ThresholdOptions, type Timing, type TraceOptions, type TransitionContext, type TransitionEffect, type TravelOptions, type Tween, type TweenOptions, type TweenResult, type VegaAttachment, type VegaItem, type VegaMark, type VegaOptions, type VegaSample, type VegaViewLike, type WiggleOptions, createClock, createMotion, defaultClock, defaultScaling, easeInOutCubic, easeOutCubic, linear, manualClock, mediaReducedMotion, motion, scaleDuration, tween };
1589
+ export { type Accessor, type AnimateOptions, type Animated, type AnimatedOptions, type AnyMarkEffect, type ArcSpec, type Attachment, type BarChart, type BarChartOptions, type BarSegmentSpec, type BarSpec, type Baseline, type Chart, type ChartChange, type ChartLabel, type ChartOptions, type ChartSwitch, type ChartSwitchOptions, type ChartSwitchPaint, type ChartSwitchView, type ChartSwitchViewFactory, type ChartSwitchViewName, type ChartSwitchViews, type Clock, type Color, type ColorAssignment, type Combined, type DataEffect, type DataEffectSpec, type DeltaOptions, type DonutChart, type DonutChartOptions, type DrawInOptions, type Easing, type EffectContext, type EffectOption, type EffectSlot, type EffectSlots, type ExpressiveOptions, type FlashOptions, type FrameSource, type Gait, type GaitName, type GaitPose, type GaitState, type GeometryEffect, type GeometryEffectSpec, type HostLabel, type HostMark, type HostView, type HostViewOptions, type Icon, type IconHandle, type IconShape, type IconSource, type IconSpec, type Interpolator, type KeyOfType, type LabelOptions, type Layer, type LegendEntry, type LegendOptions, type LineChart, type LineChartOptions, type LineSpec, type Link, type LinkOptions, type LinkSource, type ManualClock, type MarkData, type MarkEffect, type MarkEvent, type MarkEvents, type MarkGeometry, type MarkHandle, type MarkSource, type MarkStyle, type MarkSummary, type Matrix, type MorphAlign, type MorphOptions, type Motion, type MotionEnv, type MotionMode, type MotionOptions, type MotionSwitch, type MotionSwitchOptions, type MotionView, type NumericKey, type Outline, type Paint, type PathHandle, type PlayButton, type PlayButtonOptions, type Playback, type PlaybackEvent, type PlaybackOptions, type Point, type PointSpec, type PresetName, type PulseOptions, type Rect, type ReducedMotionSource, type Sample, type SamplePoint, type ScalingOverrides, type ScalingRule, type ScalingTable, type SeekOptions, type ShapeSpec, type SliceSummary, type StaggerOptions, type StepOptions, type StyleOptions, type SvgIconSpec, type TableColumn, type TableOptions, type TextHandle, type TextSpace, type TextStyle, type ThresholdOptions, type Timing, type TraceOptions, type TransitionContext, type TransitionEffect, type TravelOptions, type Tween, type TweenOptions, type TweenResult, type VegaAttachment, type VegaItem, type VegaMark, type VegaOptions, type VegaSample, type VegaViewLike, type WiggleOptions, createClock, createMotion, defaultClock, defaultScaling, easeInOutCubic, easeOutCubic, linear, manualClock, mediaReducedMotion, motion, scaleDuration, tween };
1517
1590
  //# sourceMappingURL=index.d.cts.map