expressive-charts 0.8.0 → 0.10.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.ts CHANGED
@@ -680,6 +680,39 @@ interface Chart<D, O> {
680
680
  }
681
681
  type BarChart<D> = Chart<D, BarChartOptions<D>>;
682
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;
683
716
  /**
684
717
  * A CSS selector, an element, a list of elements (a NodeList, an array), or anything shaped like a D3
685
718
  * selection, whose `data()` types the callbacks. `each` is only there for the types: a D3
@@ -844,104 +877,15 @@ interface Attachment<D> {
844
877
  /** Clears every effect and removes everything the adapter added, leaving the host's DOM as it was. */
845
878
  destroy(): void;
846
879
  }
847
- /**
848
- * What fromVegaView() uses of a Vega View: its renderer, its scenegraph and the element it renders
849
- * into. The scenegraph is read as `{ root }` (what Vega returns) or as the root mark itself (what
850
- * vega-typings declare), so a View fits whichever the types say.
851
- */
852
- interface VegaViewLike {
853
- renderer(): string;
854
- scenegraph(): object;
855
- container(): Element | null;
856
- }
857
- /** A mark in Vega's scenegraph: its type, its name, and its items. */
858
- interface VegaMark {
859
- readonly marktype?: string;
860
- readonly name?: string;
861
- readonly items?: readonly VegaItem[];
862
- }
863
- /** An item of a Vega mark, as its encoders left it. A group's items hold the marks inside it. */
864
- interface VegaItem {
865
- readonly mark?: VegaMark;
866
- readonly datum?: unknown;
867
- readonly items?: readonly VegaMark[];
868
- readonly x?: number;
869
- readonly y?: number;
870
- readonly width?: number;
871
- readonly height?: number;
872
- readonly startAngle?: number;
873
- readonly endAngle?: number;
874
- readonly innerRadius?: number;
875
- readonly outerRadius?: number;
876
- readonly size?: number;
877
- readonly strokeWidth?: number;
878
- readonly cornerRadius?: number;
879
- /** False for a line's point Vega leaves out, which breaks the line there. */
880
- readonly defined?: boolean;
881
- /** How a line is drawn between its points: "linear" (or unset) is read from the items, any other curve from the path Vega draws. */
882
- readonly interpolate?: string;
883
- }
884
- /** A value for data effects: alone, or with where it is along x (`at`), which threshold matches series by. */
885
- type VegaSample = number | {
886
- readonly value: number;
887
- readonly at?: string | number | Date;
888
- };
889
- interface VegaOptions<D> extends Omit<ExpressiveOptions<D>, "datum" | "geometry" | "watch"> {
890
- /** The Vega mark to read, by name. Default "marks", the name Vega-Lite gives a chart's data mark. */
891
- readonly mark?: string;
892
- /**
893
- * For data effects: the value an item's row shows, and optionally where it is along x. A line gets a
894
- * sample at each of its points, a bar from 0 at its baseline to its value (a stack's segments each over
895
- * their own range), a slice from 0 to its value, and a point its value. `samples` replaces this.
896
- * Unless `value` is given, it's also what each element shows (a line: every point's), so a re-render
897
- * that only moves marks, such as a resize, isn't an update.
898
- */
899
- readonly sample?: (row: D) => VegaSample;
900
- }
901
- /** fromVegaView()'s attachment: refresh() reads the View again (it refreshes itself after each render too). */
902
- interface VegaAttachment<D> extends Omit<Attachment<D>, "refresh"> {
903
- refresh(): void;
904
- }
905
- /** What a link takes: a chart (barChart, donutChart, lineChart), a chartSwitch or an attachment (expressive, fromVegaView), with rows D. */
906
- interface LinkSource<D> {
907
- on(type: "hover", listener: (event: MarkEvents<D>["hover"]) => void): () => void;
908
- marks(): readonly MarkGeometry[];
909
- }
910
- /** The rows of the sources in S: each chart's, switch's and attachment's, as a union. */
911
- type RowsOf<S> = S extends LinkSource<infer D> ? D : never;
912
- interface LinkOptions<D> {
913
- /**
914
- * A mark's linking value, given the mark and its data as a hover event has them. Default: its last
915
- * sample's `at` if it has one (a line point's x), else its key (a bar's or a slice's category).
916
- * Values are compared as strings, a Date by its ISO string, as keys are. Undefined or null links
917
- * nothing, and so does a throw (reported). A line chart's x with every value missing has no point,
918
- * so it's given a stand-in for one, keyed by the x, with the row and a sample at the x, whose value
919
- * is NaN.
920
- */
921
- readonly by?: (event: Pick<MarkEvent<D>, "mark" | "data">) => unknown;
922
- /** Whether linked marks play their chart's hover effect. Default true; false keeps them to emphasis and dimming. */
923
- readonly effects?: boolean;
924
- }
925
- interface Link {
926
- /** Ends the link: linked hovers end, and each source can be linked again. The sources' own hovers go on. */
927
- destroy(): void;
928
- }
929
- /**
930
- * Links hover across `sources`: when one is hovered by the pointer, touch or the keyboard, every other
931
- * hovers its targets with that linking value (a line chart its x, a bar chart its bar), as `source:
932
- * "linked"`, and leaves them when it leaves. The newest hover anywhere in the link is the one shown.
933
- * A chart switch takes part through its view on show. Throws a TypeError, linking nothing, on a source
934
- * that isn't a chart, a chart switch or an attachment, or one that's in a link already, a switch's
935
- * views' charts going with it. A destroyed source drops out.
936
- */
937
- export declare function link<S extends LinkSource<unknown>>(sources: readonly S[], options?: LinkOptions<RowsOf<S>>): Link;
938
880
  /**
939
881
  * What a chart switch uses of each view's chart. A reference chart's handle has all of it: its
940
882
  * `<svg>` (which takes `ec-morphing` while its marks morph in the switch's overlay), its marks and
941
883
  * labels as drawn, focus by key, leave() to end its hover, and destroy(); how it paints each mark
942
884
  * (paintOf), a line chart's what its focus stops stand for (standsFor), and its tab stop moved
943
885
  * without focus (moveTabStop). A reference chart also has on(), which the switch's on() hears, and a
944
- * 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.
945
889
  */
946
890
  interface ChartSwitchView {
947
891
  readonly element: SVGSVGElement;
@@ -968,11 +912,31 @@ interface ChartSwitchView {
968
912
  * Without it, a view keeps its own tab stop.
969
913
  */
970
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;
971
933
  }
972
934
  /** How a view's chart paints one of its marks: what a switch draws it in. */
973
935
  interface ChartSwitchPaint {
974
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. */
975
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;
976
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. */
977
941
  readonly drawn: boolean;
978
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. */
@@ -1009,8 +973,18 @@ interface ChartSwitchOptions<T extends ChartSwitchViews> {
1009
973
  /** A polite live region that says the new view's label (its chart's `label`) after each switch. Default false. */
1010
974
  readonly announce?: boolean;
1011
975
  }
976
+ /** How show() switches. */
977
+ interface ChartSwitchShowOptions<T extends ChartSwitchViews> {
978
+ /**
979
+ * A view to stage the jump through. In Presentation (`motion.staged`), the switch plays from the
980
+ * view on show to `via`, then from `via` to the view, each a full switch, and lands once: focus
981
+ * follows its key into the view, and the view alone is announced. In Analysis and Off, and when
982
+ * `via` is the view on show or the view itself, it switches straight there. Rejects for an unknown view.
983
+ */
984
+ readonly via?: ChartSwitchViewName<T>;
985
+ }
1012
986
  interface ChartSwitch<T extends ChartSwitchViews> {
1013
- /** The view shown, or the one a switch is heading for. */
987
+ /** The view shown, or the one a switch is heading for: a staged jump's view from its start. */
1014
988
  readonly current: ChartSwitchViewName<T>;
1015
989
  /**
1016
990
  * Switches to `view`: each mark morphs into the mark with its key, by the motion mode. Resolves
@@ -1018,8 +992,15 @@ interface ChartSwitch<T extends ChartSwitchViews> {
1018
992
  * a switch is leaving reverses it from where the shapes are; one to a third view lands the switch
1019
993
  * first. With motion off, the switch has landed when show() returns. Rejects for an unknown view.
1020
994
  * One a `leave` listener calls as the old view's hover ends runs once the switch has begun.
1021
- */
1022
- show(view: ChartSwitchViewName<T>): Promise<void>;
995
+ *
996
+ * With `via`, in Presentation, the jump is staged through that view, and `current` is `view` from
997
+ * the start. A show() for `view` plays on. One in the first leg drops the leg still to come and acts
998
+ * on the one playing, as on any switch: back to the view it began in, it reverses; to `via`, it plays
999
+ * on and stops there; to another view, it lands on `via` and switches on from there, by that show()'s
1000
+ * own `via`. The second leg is a switch from `via` to `view`, as any other. Motion turning off, or a
1001
+ * resize, lands the jump on `view` at once.
1002
+ */
1003
+ show(view: ChartSwitchViewName<T>, options?: ChartSwitchShowOptions<T>): Promise<void>;
1023
1004
  /** The chart a view's function returned: for update(), on() and the rest. */
1024
1005
  chart<K extends ChartSwitchViewName<T>>(view: K): ReturnType<T[K]>;
1025
1006
  /**
@@ -1039,6 +1020,104 @@ interface ChartSwitch<T extends ChartSwitchViews> {
1039
1020
  /** Ends any switch, destroys every view's chart and removes everything the switch added. */
1040
1021
  destroy(): void;
1041
1022
  }
1023
+ /** A host's `<text>` that names a mark or gives its value, which a chart switch moves and swaps as a chart's labels. */
1024
+ interface HostLabel {
1025
+ readonly element: SVGTextElement;
1026
+ /** The mark's key. */
1027
+ readonly key: string;
1028
+ /** "category": the mark's name (a slice's outside label, a column's name). "value": its value. */
1029
+ readonly role: "category" | "value";
1030
+ }
1031
+ interface HostViewOptions {
1032
+ /**
1033
+ * The host's labels, each a `<text>` in its `<svg>` with its mark's key and its role, read as each
1034
+ * switch starts. Each moves to the label with its key and role in the next view, as a chart's labels
1035
+ * do, and swaps its text half way; one with no partner fades. A label whose key is no mark's is left
1036
+ * out, and so is everything if it throws (reported). The host's other text fades with its view.
1037
+ * Default: none.
1038
+ */
1039
+ readonly labels?: () => Iterable<HostLabel>;
1040
+ }
1041
+ /** An attachment as a chart switch's view: the attachment's own methods, with the view's. */
1042
+ interface HostView<D> extends Attachment<D>, ChartSwitchView {
1043
+ /** The host's root `<svg>`. Its `aria-label` is what a switch's `announce` says. */
1044
+ readonly element: SVGSVGElement;
1045
+ /** The marks' nearest common ancestor, whose space marks() and labels() are in. */
1046
+ readonly space: Element;
1047
+ /** The labels `labels` gives, as a switch draws them: at their anchor, in the host text's computed font and fill. */
1048
+ labels(): readonly ChartLabel[];
1049
+ /** The host's colour for the mark, its fill or its stroke on a line, as its first part draws it. */
1050
+ paintOf(key: string): ChartSwitchPaint | undefined;
1051
+ keyOf(element: Element): string | undefined;
1052
+ moveTabStop(key: string): boolean;
1053
+ morphing(on: boolean): void;
1054
+ }
1055
+ /**
1056
+ * Makes an attachment that expressive() or fromVegaView() returned a view for chartSwitch: a view's
1057
+ * function attaches to the chart it draws in its container and returns hostView(attachment). The
1058
+ * host's marks hide while a switch plays and morph in its colours, the labels it's given move and
1059
+ * swap, its other parts fade, and with `keyboard: true` focus follows its key. Throws a TypeError on
1060
+ * anything else, or on an attachment with no marks yet, which has no `<svg>`.
1061
+ */
1062
+ export declare function hostView<D>(attachment: Attachment<D>, options?: HostViewOptions): HostView<D>;
1063
+ /**
1064
+ * What fromVegaView() uses of a Vega View: its renderer, its scenegraph and the element it renders
1065
+ * into. The scenegraph is read as `{ root }` (what Vega returns) or as the root mark itself (what
1066
+ * vega-typings declare), so a View fits whichever the types say.
1067
+ */
1068
+ interface VegaViewLike {
1069
+ renderer(): string;
1070
+ scenegraph(): object;
1071
+ container(): Element | null;
1072
+ }
1073
+ /** A mark in Vega's scenegraph: its type, its name, and its items. */
1074
+ interface VegaMark {
1075
+ readonly marktype?: string;
1076
+ readonly name?: string;
1077
+ readonly items?: readonly VegaItem[];
1078
+ }
1079
+ /** An item of a Vega mark, as its encoders left it. A group's items hold the marks inside it. */
1080
+ interface VegaItem {
1081
+ readonly mark?: VegaMark;
1082
+ readonly datum?: unknown;
1083
+ readonly items?: readonly VegaMark[];
1084
+ readonly x?: number;
1085
+ readonly y?: number;
1086
+ readonly width?: number;
1087
+ readonly height?: number;
1088
+ readonly startAngle?: number;
1089
+ readonly endAngle?: number;
1090
+ readonly innerRadius?: number;
1091
+ readonly outerRadius?: number;
1092
+ readonly size?: number;
1093
+ readonly strokeWidth?: number;
1094
+ readonly cornerRadius?: number;
1095
+ /** False for a line's point Vega leaves out, which breaks the line there. */
1096
+ readonly defined?: boolean;
1097
+ /** How a line is drawn between its points: "linear" (or unset) is read from the items, any other curve from the path Vega draws. */
1098
+ readonly interpolate?: string;
1099
+ }
1100
+ /** A value for data effects: alone, or with where it is along x (`at`), which threshold matches series by. */
1101
+ type VegaSample = number | {
1102
+ readonly value: number;
1103
+ readonly at?: string | number | Date;
1104
+ };
1105
+ interface VegaOptions<D> extends Omit<ExpressiveOptions<D>, "datum" | "geometry" | "watch"> {
1106
+ /** The Vega mark to read, by name. Default "marks", the name Vega-Lite gives a chart's data mark. */
1107
+ readonly mark?: string;
1108
+ /**
1109
+ * For data effects: the value an item's row shows, and optionally where it is along x. A line gets a
1110
+ * sample at each of its points, a bar from 0 at its baseline to its value (a stack's segments each over
1111
+ * their own range), a slice from 0 to its value, and a point its value. `samples` replaces this.
1112
+ * Unless `value` is given, it's also what each element shows (a line: every point's), so a re-render
1113
+ * that only moves marks, such as a resize, isn't an update.
1114
+ */
1115
+ readonly sample?: (row: D) => VegaSample;
1116
+ }
1117
+ /** fromVegaView()'s attachment: refresh() reads the View again (it refreshes itself after each render too). */
1118
+ interface VegaAttachment<D> extends Omit<Attachment<D>, "refresh"> {
1119
+ refresh(): void;
1120
+ }
1042
1121
  /** How the stylesheet reaches the page. */
1043
1122
  interface StyleOptions {
1044
1123
  /** Set on the injected `<style>`, for a Content-Security-Policy that allows styles by nonce. */
@@ -1349,6 +1428,14 @@ interface MorphOptions {
1349
1428
  * where that place is outside it or near its edge. Where it would leave the shape on the way, it
1350
1429
  * closes sooner, as soon as a sixteenth of the way. Each is written the other way round from the
1351
1430
  * outside, so it stays a hole under either fill rule.
1431
+ * - **Two bands across the same x's** (closed outlines whose longest loop, with no arc, splits at its
1432
+ * leftmost and rightmost points into an upper run and a lower run, each going one way across x in
1433
+ * two straight pieces or more, as d3.area() draws an area; the two bands' leftmost x's within
1434
+ * 0.01 px, and their rightmost) pair by x: upper run with upper and lower with lower, each as two
1435
+ * lines across x pair, by share of its span, with stops at `points` shares and at each vertex of
1436
+ * either run. So two areas over the same weeks keep each week's x on every frame, corners pair with
1437
+ * corners, and the edges at each end join the runs as they move. `align` doesn't turn them. Holes
1438
+ * morph as above. A rectangle's top and base are a piece each, so bars aren't bands.
1352
1439
  * - **Two lines that each run one way across x** (every vertex's x more than the one before, or
1353
1440
  * every one less, the same way for both) pair by x: the point a share of the way across one
1354
1441
  * line's x span moves to the point that share across the other's. They're sampled at `points`
@@ -1479,7 +1566,7 @@ export declare function registerIcons(icons: readonly Icon[]): void;
1479
1566
  * has the same rules. For a CSP that allows no inline styles at all.
1480
1567
  */
1481
1568
  export declare function configure(options: StyleOptions): void;
1482
- export declare const VERSION = "0.8.0";
1569
+ export declare const VERSION = "0.10.0";
1483
1570
  /**
1484
1571
  * A bar chart in `target` (an element or a selector). The axis whose values aren't numbers is the
1485
1572
  * category; `stack` stacks numeric fields; `on` attaches effects by slot.
@@ -1500,8 +1587,9 @@ export declare function lineChart<D>(target: string | Element, options: LineChar
1500
1587
  /**
1501
1588
  * Views of the same data in `target` (an element or a selector), one shown at a time: `show(view)`
1502
1589
  * turns each mark into the mark with its key in the other view with `transition`, morph() by default,
1503
- * while the labels move and swap their text. Each view's function draws its chart in the container
1504
- * it's given; pass it the `colors` it's given too, so a key keeps its colour from view to view.
1590
+ * while the labels move and swap their text, and `show(view, { via })` stages a jump through a third
1591
+ * view in Presentation. Each view's function draws its chart in the container it's given; pass it the
1592
+ * `colors` it's given too, so a key keeps its colour from view to view.
1505
1593
  */
1506
1594
  export declare function chartSwitch<T extends ChartSwitchViews>(target: string | Element, options: ChartSwitchOptions<T>): ChartSwitch<T>;
1507
1595
  /**
@@ -1524,5 +1612,4 @@ export declare function fromVegaView<D = Record<string, unknown>>(view: VegaView
1524
1612
  * page-wide `motion`. `persist: "key"` saves the choice in localStorage.
1525
1613
  */
1526
1614
  export declare function motionSwitch(target: string | Element, motion?: Motion, options?: MotionSwitchOptions): MotionSwitch;
1527
- 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 };
1528
- //# sourceMappingURL=index.d.ts.map
1615
+ 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 ChartSwitchShowOptions, 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 };