@opendata-ai/openchart-core 9.0.0-rc.2 → 9.0.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
@@ -755,7 +755,15 @@ interface MarkAria {
755
755
  * Line mark: a series of connected points.
756
756
  * Used by line charts and area chart boundaries.
757
757
  */
758
- interface LineMark {
758
+ /** Provenance for data shapes. Decorative marks omit this metadata. */
759
+ interface MarkMetadata {
760
+ markType?: MarkType;
761
+ /** Sanitized field suffixes; series retain only fields constant across their rows. */
762
+ identity?: Record<string, string>;
763
+ /** Authored encoding.description, distinct from generated aria labels and aria.description. */
764
+ authoredDescription?: string;
765
+ }
766
+ interface LineMark extends MarkMetadata {
759
767
  type: 'line';
760
768
  /** Stable identity key for data-update transitions. */
761
769
  key?: string;
@@ -804,7 +812,7 @@ interface LineMark {
804
812
  * Area mark: a filled region bounded by a top line and a baseline.
805
813
  * Used by area charts.
806
814
  */
807
- interface AreaMark {
815
+ interface AreaMark extends MarkMetadata {
808
816
  type: 'area';
809
817
  /** Stable identity key for data-update transitions. */
810
818
  key?: string;
@@ -865,7 +873,7 @@ interface AreaMark {
865
873
  * Rect mark: a rectangle.
866
874
  * Used by bar charts, column charts, and heatmap cells.
867
875
  */
868
- interface RectMark {
876
+ interface RectMark extends MarkMetadata {
869
877
  type: 'rect';
870
878
  /** Stable identity key for data-update transitions. */
871
879
  key?: string;
@@ -939,7 +947,7 @@ interface RectMark {
939
947
  * Arc mark: a pie/donut slice.
940
948
  * Used by pie and donut charts.
941
949
  */
942
- interface ArcMark {
950
+ interface ArcMark extends MarkMetadata {
943
951
  type: 'arc';
944
952
  /** SVG path string for the arc. */
945
953
  path: string;
@@ -980,7 +988,7 @@ interface ArcMark {
980
988
  * Point mark: a circle or dot.
981
989
  * Used by scatter/bubble charts and dot plots.
982
990
  */
983
- interface PointMark {
991
+ interface PointMark extends MarkMetadata {
984
992
  type: 'point';
985
993
  /** Stable identity key for data-update transitions. */
986
994
  key?: string;
@@ -1018,7 +1026,7 @@ interface PointMark {
1018
1026
  * Text mark: data-positioned text label.
1019
1027
  * Used by text charts for showing values directly at data coordinates.
1020
1028
  */
1021
- interface TextMarkLayout {
1029
+ interface TextMarkLayout extends MarkMetadata {
1022
1030
  type: 'textMark';
1023
1031
  /** Stable identity key for data-update transitions. */
1024
1032
  key?: string;
@@ -1064,7 +1072,7 @@ interface TextMarkLayout {
1064
1072
  * Rule mark: a line segment between two points.
1065
1073
  * Used for reference lines rendered as data marks.
1066
1074
  */
1067
- interface RuleMarkLayout {
1075
+ interface RuleMarkLayout extends MarkMetadata {
1068
1076
  type: 'rule';
1069
1077
  /** Stable identity key for data-update transitions. */
1070
1078
  key?: string;
@@ -1104,7 +1112,7 @@ interface RuleMarkLayout {
1104
1112
  * Tick mark: a short line segment at a data coordinate.
1105
1113
  * Used for strip plots and rug plots.
1106
1114
  */
1107
- interface TickMarkLayout {
1115
+ interface TickMarkLayout extends MarkMetadata {
1108
1116
  type: 'tick';
1109
1117
  /** Stable identity key for data-update transitions. */
1110
1118
  key?: string;
@@ -2563,8 +2571,10 @@ interface GeoMapLayout {
2563
2571
  focus: GeoMapFocusLayout | null;
2564
2572
  }
2565
2573
  /** A resolved bar list row with computed positions and visual properties. */
2566
- interface BarListRowMark {
2574
+ interface BarListRowMark extends MarkMetadata {
2567
2575
  type: 'barlist-row';
2576
+ /** Full authored label, including text omitted by display truncation. */
2577
+ fullLabel?: string;
2568
2578
  /** Row index (0-based). */
2569
2579
  index: number;
2570
2580
  /** Row top y position. */
@@ -2618,6 +2628,27 @@ interface BarListLayout {
2618
2628
  chrome: ResolvedChrome;
2619
2629
  /** Resolved row marks with positions, colors, and labels. */
2620
2630
  rows: BarListRowMark[];
2631
+ /** Measured group headers and separators. */
2632
+ groups?: Array<{
2633
+ key: string;
2634
+ label: ResolvedLabel;
2635
+ separator?: {
2636
+ x1: number;
2637
+ y: number;
2638
+ x2: number;
2639
+ };
2640
+ }>;
2641
+ /** Value-axis reference rules, in SVG coordinates. */
2642
+ referenceLines?: Array<{
2643
+ x: number;
2644
+ y1: number;
2645
+ y2: number;
2646
+ stroke: string;
2647
+ strokeWidth: number;
2648
+ strokeDasharray?: string;
2649
+ label?: ResolvedLabel;
2650
+ }>;
2651
+ warnings?: CompileWarning[];
2621
2652
  /** Tooltip content descriptors keyed by row index. */
2622
2653
  tooltipDescriptors: Map<string, TooltipContent>;
2623
2654
  /** Accessibility metadata. */
@@ -3084,7 +3115,7 @@ interface ColumnConfig {
3084
3115
  * - 'density': kernel density estimate drawn as a filled curve; sugar for an
3085
3116
  * area over a density transform
3086
3117
  */
3087
- type MarkType = 'bar' | 'line' | 'area' | 'point' | 'circle' | 'arc' | 'text' | 'rule' | 'tick' | 'rect' | 'lollipop' | 'beeswarm' | 'range' | 'waffle' | 'calendar' | 'parliament' | 'histogram' | 'density';
3118
+ type MarkType = 'bar' | 'line' | 'area' | 'point' | 'circle' | 'arc' | 'text' | 'rule' | 'tick' | 'rect' | 'lollipop' | 'beeswarm' | 'range' | 'errorbar' | 'waffle' | 'calendar' | 'parliament' | 'histogram' | 'density';
3088
3119
  /** A single color stop in a gradient definition. */
3089
3120
  interface GradientStop {
3090
3121
  /** Position along the gradient, 0 to 1. */
@@ -3177,6 +3208,8 @@ interface TrendlineConfig {
3177
3208
  interface MarkOptions {
3178
3209
  /** The mark type. */
3179
3210
  type: MarkType;
3211
+ /** Draw decorative end caps on an explicit interval; default false. */
3212
+ ticks?: boolean;
3180
3213
  /**
3181
3214
  * Show point markers on line/area marks.
3182
3215
  * - true: filled circles at each data point
@@ -3437,6 +3470,8 @@ type MarkDef = (SharedMarkOptions & {
3437
3470
  }) | (SharedMarkOptions & {
3438
3471
  type: 'beeswarm';
3439
3472
  }) | (SharedMarkOptions & {
3473
+ type: 'errorbar';
3474
+ } & Pick<MarkOptions, 'ticks'>) | (SharedMarkOptions & {
3440
3475
  type: 'range';
3441
3476
  } & Pick<MarkOptions, 'style' | 'colorByDirection'>) | (SharedMarkOptions & {
3442
3477
  type: 'waffle';
@@ -3609,6 +3644,8 @@ interface EncodingChannel<TData extends DataRow = DataRow> {
3609
3644
  * - ordinal: ordered categories (scale: ordinal)
3610
3645
  */
3611
3646
  type: FieldType;
3647
+ /** Temporal bar position interval; numbers are milliseconds. Bar marks only. */
3648
+ interval?: 'day' | 'week' | 'month' | 'quarter' | 'year' | number;
3612
3649
  /** Optional aggregate to apply before encoding. */
3613
3650
  aggregate?: AggregateOp;
3614
3651
  /**
@@ -3741,7 +3778,13 @@ interface FacetChannel<TData extends DataRow = DataRow> {
3741
3778
  * @template TData - Propagated from ChartSpec<TData>. Constrains `field` in
3742
3779
  * every channel to `keyof TData & string` when a typed data row is provided.
3743
3780
  */
3781
+ /** Authored mark text, kept verbatim for strings and formatted for numeric fields. */
3782
+ type DescriptionEncoding<TData extends DataRow = DataRow> = (Pick<EncodingChannel<TData>, 'field'> & Partial<Pick<EncodingChannel<TData>, 'type' | 'format'>>) | {
3783
+ value: string;
3784
+ };
3744
3785
  interface Encoding<TData extends DataRow = DataRow> {
3786
+ /** Accessible mark description; static output exposes it as a native title. */
3787
+ description?: DescriptionEncoding<TData>;
3745
3788
  /**
3746
3789
  * Horizontal position channel. Required for: bar, line, area, point, tick, rect, lollipop.
3747
3790
  * Maps a field to the x-axis. Use `type: 'temporal'` for dates, `'nominal'` for categories,
@@ -4250,13 +4293,13 @@ interface ThemeConfig {
4250
4293
  * or an object for full control over categorical, sequential, diverging, etc.
4251
4294
  */
4252
4295
  colors?: string[] | {
4253
- /** Categorical stroke palette for nominal data (array of CSS color strings). */
4254
- categorical?: string[];
4296
+ /** Categorical stroke palette: CSS colors or explicit light/dark pairs. */
4297
+ categorical?: TokenValue[];
4255
4298
  /**
4256
4299
  * Categorical palette for area-filling marks (bar, area, arc, waffle,
4257
4300
  * calendar, rect). Defaults to `categorical` when only that is set.
4258
4301
  */
4259
- categoricalFill?: string[];
4302
+ categoricalFill?: TokenValue[];
4260
4303
  /** Hairline color for axis lines and separators. Accepts a TokenValue for light/dark pairs. */
4261
4304
  hairline?: TokenValue;
4262
4305
  /** Sequential palettes keyed by name. Each is an array of color stops. */
@@ -4409,6 +4452,8 @@ interface ThemeConfig {
4409
4452
  type LabelDensity = 'all' | 'auto' | 'endpoints' | 'none';
4410
4453
  /** Label display configuration for chart data labels. */
4411
4454
  interface LabelConfig {
4455
+ /** Compose category/series names and formatted values; default value only. */
4456
+ content?: EndpointLabelContent;
4412
4457
  /** Placement for bar/column values. Column is only supported for simple horizontal bars. */
4413
4458
  placement?: 'adaptive' | 'inside' | 'outside' | 'column';
4414
4459
  /** How many labels to show. Defaults to 'auto'. */
@@ -4814,6 +4859,11 @@ interface BeeswarmEncoding<TData extends DataRow = DataRow> extends Encoding<TDa
4814
4859
  * - Vertical: `x` nominal/ordinal category, `y` quantitative start,
4815
4860
  * `y2` quantitative end.
4816
4861
  */
4862
+ /** Explicit interval bounds; runtime validation requires exactly one of x2/y2. */
4863
+ interface ErrorbarEncoding<TData extends DataRow = DataRow> extends Encoding<TData> {
4864
+ x: EncodingChannel<TData>;
4865
+ y: EncodingChannel<TData>;
4866
+ }
4817
4867
  interface RangeEncoding<TData extends DataRow = DataRow> extends Encoding<TData> {
4818
4868
  x: EncodingChannel<TData>;
4819
4869
  y: EncodingChannel<TData>;
@@ -4908,6 +4958,8 @@ interface A11yConfig {
4908
4958
  * are present.
4909
4959
  */
4910
4960
  description?: string;
4961
+ /** Render the hidden screen-reader data table. Defaults to true; navigation stays enabled. */
4962
+ table?: boolean;
4911
4963
  /**
4912
4964
  * Hide the chart from assistive technology entirely (`aria-hidden`).
4913
4965
  * Use only when the chart is decorative or the surrounding content
@@ -4922,7 +4974,14 @@ interface A11yConfig {
4922
4974
  *
4923
4975
  * @internal
4924
4976
  */
4977
+ /** Fixed horizontal figure gutters in CSS pixels. */
4978
+ interface FrameConfig {
4979
+ left?: number;
4980
+ right?: number;
4981
+ }
4925
4982
  interface BaseChartSpec<TData extends DataRow = DataRow> {
4983
+ /** Fixed horizontal plot gutters. */
4984
+ frame?: FrameConfig;
4926
4985
  /** Optional authored measure, unit, provenance, and supplied interval metadata. */
4927
4986
  fields?: Record<string, FieldMetadata>;
4928
4987
  /**
@@ -5131,6 +5190,11 @@ interface BaseChartSpec<TData extends DataRow = DataRow> {
5131
5190
  * };
5132
5191
  */
5133
5192
  type ChartSpec<TData extends DataRow = DataRow> = (BaseChartSpec<TData> & {
5193
+ mark: 'errorbar' | Extract<MarkDef, {
5194
+ type: 'errorbar';
5195
+ }>;
5196
+ encoding: ErrorbarEncoding<TData>;
5197
+ }) | (BaseChartSpec<TData> & {
5134
5198
  mark: 'arc' | Extract<MarkDef, {
5135
5199
  type: 'arc';
5136
5200
  }>;
@@ -5495,6 +5559,12 @@ interface ResolveConfig {
5495
5559
  * `DataRow`) — children can be independently typed.
5496
5560
  */
5497
5561
  interface LayerSpec<TData extends DataRow = DataRow> {
5562
+ /** Display defaults shared by every leaf. */
5563
+ display?: Display;
5564
+ /** Figure accessibility; hidden cells omit the image role. */
5565
+ a11y?: A11yConfig;
5566
+ /** Fixed horizontal plot gutters shared by the figure. */
5567
+ frame?: FrameConfig;
5498
5568
  /** Array of child layers (ChartSpec or nested LayerSpec). */
5499
5569
  layer: (ChartSpec<TData> | LayerSpec<TData>)[];
5500
5570
  /** Shared data inherited by children without their own data. */
@@ -5870,6 +5940,19 @@ interface BarListSpec {
5870
5940
  data: DataRow[];
5871
5941
  /** Encoding channels mapping data fields to visual properties. */
5872
5942
  encoding: BarListEncoding;
5943
+ /** Ordering within each first-seen group. Default descending; null preserves input order. */
5944
+ sort?: 'descending' | 'ascending' | null;
5945
+ /** Auto height fits every admitted row and its group headers. */
5946
+ height?: number | 'auto';
5947
+ /** Vertical value reference lines. */
5948
+ annotations?: Array<Omit<RefLineAnnotation, 'x' | 'y'> & {
5949
+ x: number;
5950
+ y?: never;
5951
+ }>;
5952
+ /** Value label formatting. */
5953
+ labels?: Pick<LabelConfig, 'format' | 'prefix' | 'suffix'>;
5954
+ /** Accessible figure name and visibility. */
5955
+ a11y?: A11yConfig;
5873
5956
  /** Bar height in pixels. Defaults to 6. */
5874
5957
  barHeight?: number;
5875
5958
  /** Corner radius: number in px or "pill" for fully rounded ends. Defaults to "pill". */
@@ -5887,6 +5970,10 @@ interface BarListSpec {
5887
5970
  }
5888
5971
  /** Encoding channels for a barlist visualization. */
5889
5972
  interface BarListEncoding {
5973
+ /** Authored row description. */
5974
+ description?: DescriptionEncoding;
5975
+ /** Nominal group labels, retained in first-seen order. */
5976
+ group?: EncodingChannel;
5890
5977
  /** Label field (required, nominal). The category name for each row. */
5891
5978
  label: EncodingChannel;
5892
5979
  /** Value field (required, quantitative). The numeric value that drives bar width. */
@@ -6316,6 +6403,15 @@ interface MarkEvent {
6316
6403
  /** The raw browser MouseEvent. */
6317
6404
  event: MouseEvent;
6318
6405
  }
6406
+ /** A data mark reached through keyboard navigation. */
6407
+ interface MarkFocusEvent {
6408
+ datum: DataRow;
6409
+ series?: string;
6410
+ key: string;
6411
+ description?: string;
6412
+ element: SVGElement;
6413
+ event: FocusEvent | KeyboardEvent;
6414
+ }
6319
6415
  /**
6320
6416
  * Event handler callbacks for chart interactions.
6321
6417
  *
@@ -6327,6 +6423,8 @@ interface ChartEventHandlers {
6327
6423
  onMarkClick?: (event: MarkEvent) => void;
6328
6424
  /** Called when the mouse enters a data mark. */
6329
6425
  onMarkHover?: (event: MarkEvent) => void;
6426
+ /** Called when keyboard focus reaches a different data mark. */
6427
+ onMarkFocus?: (event: MarkFocusEvent) => void;
6330
6428
  /** Called when the mouse leaves a data mark. */
6331
6429
  onMarkLeave?: () => void;
6332
6430
  /** Called when a legend entry is toggled (clicked to show/hide a series). */
@@ -6411,6 +6509,7 @@ interface EncodingRule {
6411
6509
  tooltip?: ChannelRule;
6412
6510
  theta?: ChannelRule;
6413
6511
  detail: ChannelRule;
6512
+ description?: ChannelRule;
6414
6513
  }
6415
6514
  /**
6416
6515
  * Encoding rules per mark type.
@@ -6639,7 +6738,8 @@ declare function findAccessibleColor(baseColor: string, bg: string, targetRatio?
6639
6738
  * Color palettes for @opendata-ai.
6640
6739
  *
6641
6740
  * Categorical palette leads with cyan and uses an OKLCH-balanced multi-hue
6642
- * ramp tuned to L≈0.70, C≈0.13–0.15. Hex values are precomputed sRGB
6741
+ * ramp with light-mode contrast of at least 3:1 on white and near-white.
6742
+ * Hex values are precomputed sRGB
6643
6743
  * (rather than raw `oklch()` strings) because raw OKLCH strings parse
6644
6744
  * unreliably through d3-color and the dark-mode adapter's hsl-based
6645
6745
  * binary search. Source OKLCH values are documented inline so the ramp
@@ -6674,13 +6774,14 @@ declare const ACHROMATIC_RAMP: {
6674
6774
  * Quiet ordered editorial categorical palette: six hues, cyan in slot 1.
6675
6775
  *
6676
6776
  * Construction rules (the contract; the hexes below are output, not input):
6677
- * - Hue order cyan 208 -> ochre 70 -> blue 262 -> rose 350 -> green 155 ->
6777
+ * - Hue order cyan 216 -> ochre 70 -> blue 262 -> rose 350 -> green 155 ->
6678
6778
  * violet 300, so every adjacent pair including the wrap is >= 80° apart.
6679
6779
  * - Lightness varies rather than matching: colour-vision deficiency
6680
6780
  * collapses hue and only lightness survives, so a matched-lightness ramp
6681
6781
  * fails the repo's own Brettel simulator on ochre/rose and blue/violet.
6682
- * - Strokes carry more chroma than fills; a fill is the same hue one step
6683
- * lighter and quieter, so a bar or slice never shouts as loud as a line.
6782
+ * - Fills use equal or lower chroma and equal or higher lightness than
6783
+ * strokes (within sRGB rounding), while clearing 3:1 on near-white.
6784
+ * Cyan uses reduced chroma to remain in gamut at its darker lightness.
6684
6785
  * - Dark variants raise L and trim chroma instead of reusing the light hexes.
6685
6786
  *
6686
6787
  * Hex values are precomputed sRGB via the Ottosson OKLab -> linear sRGB ->
@@ -6692,15 +6793,16 @@ declare const ACHROMATIC_RAMP: {
6692
6793
  * minDistance 30 for deuteranopia and protanopia — see
6693
6794
  * `colors/__tests__/palette-a11y.test.ts`, which is the guard on any change.
6694
6795
  */
6695
- declare const CATEGORICAL_PALETTE: readonly ["#06b6d4", "#e29e47", "#4170cb", "#b2417f", "#3ca368", "#a584dc"];
6796
+ declare const CATEGORICAL_PALETTE: readonly ["#0a879e", "#bf7e1f", "#4170cb", "#b2417f", "#3ca368", "#9c7bd2"];
6696
6797
  /**
6697
- * Fill counterparts of {@link CATEGORICAL_PALETTE}: same hues, ~0.03 lighter
6698
- * and ~0.03 lower chroma. Used for area-filling marks (bar, area, arc,
6798
+ * Fill counterparts of {@link CATEGORICAL_PALETTE}: the same hue families,
6799
+ * with equal or lower chroma and equal or higher lightness (within rounding).
6800
+ * Used for area-filling marks (bar, area, arc,
6699
6801
  * waffle, calendar, rect) so large blocks of colour read quieter than the
6700
6802
  * strokes of a line chart drawn beside them.
6701
6803
  */
6702
- declare const CATEGORICAL_FILL_PALETTE: readonly ["#51bccc", "#dda96b", "#587fc8", "#bf6291", "#62ab7d", "#ae96da"];
6703
- /** Dark-mode stroke palette: L raised ~0.10, chroma trimmed. */
6804
+ declare const CATEGORICAL_FILL_PALETTE: readonly ["#1390a0", "#b58245", "#587fc8", "#bf6291", "#57a072", "#9981c3"];
6805
+ /** Dark-mode stroke palette: raised lightness, with chroma tuned per hue. */
6704
6806
  declare const CATEGORICAL_PALETTE_DARK: readonly ["#22d3ee", "#f9be78", "#6591e1", "#d771a4", "#6ebf8c", "#bca1ed"];
6705
6807
  /** Dark-mode fill palette: the dark strokes one step quieter. */
6706
6808
  declare const CATEGORICAL_FILL_PALETTE_DARK: readonly ["#72cedc", "#f3c898", "#7698d6", "#d281a8", "#82ba95", "#c2afe7"];
@@ -7611,4 +7713,4 @@ declare const CSS_TOKEN_ROOT_SELECTORS: readonly string[];
7611
7713
  declare const CSS_TOKENS: readonly CssTokenDef[];
7612
7714
  declare function cssTokenDefault(name: string, mode: 'light' | 'dark'): string;
7613
7715
 
7614
- export { type A11yConfig, type A11yMetadata, ACHROMATIC_RAMP, AXIS_TITLE_GAP, AXIS_TITLE_OFFSET_COMPACT, AXIS_TITLE_OFFSET_DEFAULT, AXIS_TITLE_TRAILING_PAD, type AggregateOp, type AggregateTransform, type AnimationConfig, type AnimationEase, type AnimationPhaseConfig, type AnimationPreset, type AnimationSpec, type AnimationStagger, type Annotation, type AnnotationAnchor, type AnnotationFootnote, type AnnotationOffset, type AnnotationPosition, type ArcEncoding, type ArcMark, type AreaEncoding, type AreaMark, type AxisConfig, type AxisLabelDensity, type AxisLayout, type AxisTick, BRAND_FONT_SIZE, BRAND_MIN_WIDTH, BRAND_RESERVE_WIDTH, BREAKPOINT_COMPACT_MAX, BREAKPOINT_MEDIUM_MAX, type BarColumnConfig, type BarEncoding, type BarListEncoding, type BarListLayout, type BarListRowMark, type BarListSpec, type BarListSpecWithoutData, type BarTableCell, type BaseLegendLayout, type BeeswarmEncoding, type BinParams, type BinTransform, type Breakpoint, CATEGORICAL_EXTENDED_PALETTE, CATEGORICAL_FILL_PALETTE, CATEGORICAL_FILL_PALETTE_DARK, CATEGORICAL_PALETTE, CATEGORICAL_PALETTE_DARK, COMPACT_MAX_X_TICKS, COMPACT_WIDTH, CSS_TOKENS, CSS_TOKEN_ROOT_SELECTORS, type CalculateExpression, type CalculateTransform, type CalendarEncoding, type CategoricalLegendLayout, type CategoricalPalette, type CategoryColorsConfig, type CategoryTableCell, type CellStyle, type ChannelRule, type ChartBuilderOptions, type ChartEventHandlers, type ChartLayout, type ChartSpec, type ChartSpecOverride, type ChartSpecWithoutData, type Chrome, type ChromeDefaults, type ChromeEconomy, type ChromeKey, type ChromeMode, type ChromeText, type ChromeTextStyle, type ChromeThemeOverride, type CircleEncoding, type ColorBlindnessType, type ColumnConfig, type CompileOptions, type CompileTableOptions, type CompileWarning, type CompositionRecommendation, type Condition, type ConditionalValueDef, type ConnectorConfig, type ConnectorType, type ContinuousLegendBin, type ContinuousLegendLayout, type ContinuousLegendTick, type CssTokenDef, DEFAULT_THEME, DIVERGING_PALETTES, type DarkMode, type DataRow, type DatasetBinding, type DateGranularity, type DeltaColumnConfig, type DeltaTableCell, type DensityEncoding, type DensityTransform, type DesignDiagnostic, type DesignQuestion, type Display, type DivergingPalette, EXTENDED_OFFSET_STRATEGIES, type EditOp, type EditTransaction, type EditTransactionResult, type ElementRef, type Encoding, type EncodingChannel, type EncodingRule, type EndpointLabelContent, type EndpointLabelEntry, type EndpointLabelsConfig, type EndpointLabelsLayout, FLUID_SPRING, FOOTNOTE_LINE_HEIGHT, type FacetChannel, type FacetLayout, type FacetPanelLayout, type FieldFormatContext, type FieldMetadata, type FieldPredicate, type FieldRef, type FieldType, type FillPatternType, type FilterPredicate, type FilterTransform, type FlagTableCell, type FoldTransform, GRAPH_ENCODING_RULES, type GeoAnchor, type GeoCallout, type GeoCalloutNoteSlot, type GeoColorKeyDescriptor, type GeoColorKeyLayout, type GeoDetailLayer, type GeoDetailLayerLayout, type GeoEntityRef, type GeoInset, type GeoLabelAffine, type GeoLabelCandidate, type GeoLabelComponent, type GeoLabelGeometry, type GeoLabelInventoryEntry, type GeoLabelOverlay, type GeoLabelVisibility, type GeoLabelsBundle, type GeoLabelsInput, type GeoMapBorders, type GeoMapEncoding, type GeoMapFeatureMark, type GeoMapFocus, type GeoMapFocusLayout, type GeoMapGeo, type GeoMapLayout, type GeoMapPointMark, type GeoMapPointsLayer, type GeoMapProjection, type GeoMapSpec, type GeoMapSpecWithoutData, type GeoMapZoomConfig, type GeoPlacedLabel, type GeoProjectionContext, type GeoReaderObservation, type GeoReaderSelection, type GeoTextBlock, type GeoViewLayout, type GradientColorStop, type GradientDef, type GradientLegendLayout, type GradientStop, type GraphAnimationConfig, type GraphAnimationSpec, type GraphChannelRule, type GraphEdge, type GraphEdgeLayout, type GraphEncoding, type GraphEncodingChannel, type GraphInteractionConfig, type GraphLayout, type GraphLayoutConfig, type GraphNode, type GraphNodeLayout, type GraphSpec, type GraphSpecWithoutData, type Gridline, HEIGHT_CRAMPED_MAX, HEIGHT_MINIMAL_MAX, HEIGHT_NO_GRID_MAX, HEIGHT_SHORT_MAX, HPAD_COMPACT_FRACTION, HPAD_COMPACT_MIN, type HeatmapColumnConfig, type HeatmapTableCell, type HeightClass, type HistogramEncoding, type ImageColumnConfig, type ImageTableCell, type JoinAggregateTransform, LABEL_GAP_COMPACT, LABEL_GAP_DEFAULT, type LabelCandidate, type LabelConfig, type LabelDensity, type LabelMode, type LabelPriority, type LabelSpec, type LayerSpec, type LayoutStrategy, type LegendChannel, type LegendConfig, type LegendEntry, type LegendEntryPosition, type LegendLayout, type LegendPosition, type LineEncoding, type LineMark, type LinearGradient, type LogicalAnd, type LogicalNot, type LogicalOr, type LollipopEncoding, MARK_DISPLAY_NAMES, MARK_ENCODING_RULES, MARK_TYPES, MAX_LEFT_LABEL_FRACTION_COMPACT, MAX_LEFT_LABEL_FRACTION_DEFAULT, MAX_LEFT_LABEL_FRACTION_MEDIUM, MAX_LEFT_LABEL_FRACTION_MEDIUM_MAX, MAX_SPRING_DURATION, MAX_SR_TABLE_ROWS, MOTION_REST_THRESHOLD, type Margins, type Mark, type MarkAria, type MarkDef, type MarkEvent, type MarkType, type MeasureTextFn, type Metric, type MotionPhase, type MotionSample, NARROW_VIEWPORT_MAX, type NeutralRamp, type NodeOverride, type NumberFormatter, OFFSET_STRATEGIES, type ObservationIdentity, type OffsetStrategy, type PaginationState, type ParliamentEncoding, type Point, type PointEncoding, type PointMark, type RadialGradient, type RangeAnnotation, type RangeEncoding, type ReaderBindingScope, type ReaderChangeMeta, type ReaderComparisonOperand, type ReaderComparisonResult, type ReaderComparisonScope, type ReaderDomainValue, type ReaderObservation, type ReaderPanelScope, type ReaderSelection, type ReaderSeries, type ReaderSlice, type ReaderSliceIndexOptions, type ReaderSliceMember, type ReaderSliceSelection, type Rect, type RectEncoding, type RectMark, type RefLineAnnotation, type RelativeTimeRef, type ResolveConfig, type ResolveMode, type ResolvedAnimation, type ResolvedAnimationPhase, type ResolvedAnnotation, type ResolvedChrome, type ResolvedChromeElement, type ResolvedChromeRule, type ResolvedColumn, type ResolvedFillPattern, type ResolvedLabel, type ResolvedMetricBar, type ResolvedMetricCell, type ResolvedSeriesSearch, type ResolvedTheme, type ResolvedThemeColors, type ResolvedYouDrawIt, type ResponsiveConfig, type RuleMarkLayout, SEQUENTIAL_PALETTES, SUPPORTED_SCHEME_NAMES, type SankeyEncoding, type SankeyLayout, type SankeyLinkColor, type SankeyLinkMark, type SankeyNodeAlign, type SankeyNodeMark, type SankeySpec, type SankeySpecWithoutData, type ScaleConfig, type ScaleInvert, type ScaleType, type SequentialPalette, type SeriesSearchConfig, type SeriesStrategy, type SeriesStyle, type SizeLegendCircle, type SizeLegendLayout, type SortByField, type SortState, type SparklineColumnConfig, type SparklineData, type SparklineTableCell, type SpecPatch, type SpringConfig, type StoredVizSpec, TICK_LABEL_OFFSET, TICK_LINE_HEIGHT_FACTOR, TOP_PAD_EXTRA_NARROW, type TableBuilderOptions, type TableCell, type TableCellBase, type TableDensity, type TableLayout, type TableRow, type TableSpec, type TableSpecWithoutData, type TableTotalRow, type TextAnnotation, type TextEncoding, type TextMarkLayout, type TextStyle, type TextTableCell, type ThemeChromeDefaults, type ThemeColors, type ThemeConfig, type ThemeFontSizes, type ThemeFontWeights, type ThemeFonts, type ThemeRule, type ThemeSpacing, type TickEncoding, type TickMarkLayout, type TileMapBuilderOptions, type TileMapEncoding, type TileMapLayout, type TileMapPalette, type TileMapSpec, type TileMapSpecWithoutData, type TileMapTileMark, type TimeUnit, type TimeUnitTransform, type TokenValue, type TooltipContent, type TooltipField, type Transform, type UpdatePhaseConfig, type ValueDef, type VizSpec, type WaffleEncoding, type WindowFieldDef, type WindowOp, type WindowSortField, type WindowTransform, type XAxisExtentInput, X_AXIS_BAND_HEIGHT, X_AXIS_ROTATED_EXTENT_CAP, X_AXIS_TITLE_BAND, X_AXIS_TITLE_BAND_ROTATED, type YouDrawItConfig, type YouDrawItSample, type YouDrawItYInvert, abbreviateNumber, adaptColorForDarkMode, adaptForLightLineStroke, adaptTheme, annotationSource, applyEditTransaction, areaChart, axisTitleOffset, barChart, broadsheet, buildCompactStepFormatter, buildD3Formatter, buildTemporalFormatter, checkPaletteDistinguishability, clarity, columnChart, computeChrome, computeFieldFormatContext, computeLabelBounds, computeNoteBandHeight, computeXAxisExtentFromLabels, contrastRatio, cssTokenDefault, dataTable, deepMergeSpec, defaultNumberFormatter, deriveNeutralRamp, detectCollision, donutChart, dotChart, elementRef, encodePointerToken, essay, estimateTextWidth, findAccessibleColor, formatCurrency, formatDate, formatNumber, formatOrdinal, formatPercent, generateAltText, generateAriaLabels, generateDataTable, getAxisTitleOffset, getBreakpoint, getHeightClass, getLayoutStrategy, getRepresentativeColor, heuristicMeasure, inferFieldType, isAxislessMark, isBarListSpec, isChartSpec, isConditionalDef, isEncodingChannel, isGeoMapSpec, isGradientDef, isGraphSpec, isLayerSpec, isOpaqueColor, isRangeAnnotation, isRefLineAnnotation, isSankeySpec, isTableSpec, isTextAnnotation, isTileMapSpec, isValueDef, isYearContext, jsonPointer, legacyEditorial, lineChart, maxRotatedLabelWidth, meetsAA, mergeThemeConfig, motionCSS, overlapArea, pickLabelColor, pieChart, resolveChromeEconomy, resolveCollisions, resolveMarkDef, resolveMarkType, resolveMeasurer, resolveNumberFormatter, resolveSchemeName, resolveTheme, sampleMotion, scatterChart, simulateColorBlindness, springDuration, terminal, textAscent, tileMap, truncateRotatedLabel, truncateToWidth, wire, wrapText };
7716
+ export { type A11yConfig, type A11yMetadata, ACHROMATIC_RAMP, AXIS_TITLE_GAP, AXIS_TITLE_OFFSET_COMPACT, AXIS_TITLE_OFFSET_DEFAULT, AXIS_TITLE_TRAILING_PAD, type AggregateOp, type AggregateTransform, type AnimationConfig, type AnimationEase, type AnimationPhaseConfig, type AnimationPreset, type AnimationSpec, type AnimationStagger, type Annotation, type AnnotationAnchor, type AnnotationFootnote, type AnnotationOffset, type AnnotationPosition, type ArcEncoding, type ArcMark, type AreaEncoding, type AreaMark, type AxisConfig, type AxisLabelDensity, type AxisLayout, type AxisTick, BRAND_FONT_SIZE, BRAND_MIN_WIDTH, BRAND_RESERVE_WIDTH, BREAKPOINT_COMPACT_MAX, BREAKPOINT_MEDIUM_MAX, type BarColumnConfig, type BarEncoding, type BarListEncoding, type BarListLayout, type BarListRowMark, type BarListSpec, type BarListSpecWithoutData, type BarTableCell, type BaseLegendLayout, type BeeswarmEncoding, type BinParams, type BinTransform, type Breakpoint, CATEGORICAL_EXTENDED_PALETTE, CATEGORICAL_FILL_PALETTE, CATEGORICAL_FILL_PALETTE_DARK, CATEGORICAL_PALETTE, CATEGORICAL_PALETTE_DARK, COMPACT_MAX_X_TICKS, COMPACT_WIDTH, CSS_TOKENS, CSS_TOKEN_ROOT_SELECTORS, type CalculateExpression, type CalculateTransform, type CalendarEncoding, type CategoricalLegendLayout, type CategoricalPalette, type CategoryColorsConfig, type CategoryTableCell, type CellStyle, type ChannelRule, type ChartBuilderOptions, type ChartEventHandlers, type ChartLayout, type ChartSpec, type ChartSpecOverride, type ChartSpecWithoutData, type Chrome, type ChromeDefaults, type ChromeEconomy, type ChromeKey, type ChromeMode, type ChromeText, type ChromeTextStyle, type ChromeThemeOverride, type CircleEncoding, type ColorBlindnessType, type ColumnConfig, type CompileOptions, type CompileTableOptions, type CompileWarning, type CompositionRecommendation, type Condition, type ConditionalValueDef, type ConnectorConfig, type ConnectorType, type ContinuousLegendBin, type ContinuousLegendLayout, type ContinuousLegendTick, type CssTokenDef, DEFAULT_THEME, DIVERGING_PALETTES, type DarkMode, type DataRow, type DatasetBinding, type DateGranularity, type DeltaColumnConfig, type DeltaTableCell, type DensityEncoding, type DensityTransform, type DescriptionEncoding, type DesignDiagnostic, type DesignQuestion, type Display, type DivergingPalette, EXTENDED_OFFSET_STRATEGIES, type EditOp, type EditTransaction, type EditTransactionResult, type ElementRef, type Encoding, type EncodingChannel, type EncodingRule, type EndpointLabelContent, type EndpointLabelEntry, type EndpointLabelsConfig, type EndpointLabelsLayout, type ErrorbarEncoding, FLUID_SPRING, FOOTNOTE_LINE_HEIGHT, type FacetChannel, type FacetLayout, type FacetPanelLayout, type FieldFormatContext, type FieldMetadata, type FieldPredicate, type FieldRef, type FieldType, type FillPatternType, type FilterPredicate, type FilterTransform, type FlagTableCell, type FoldTransform, type FrameConfig, GRAPH_ENCODING_RULES, type GeoAnchor, type GeoCallout, type GeoCalloutNoteSlot, type GeoColorKeyDescriptor, type GeoColorKeyLayout, type GeoDetailLayer, type GeoDetailLayerLayout, type GeoEntityRef, type GeoInset, type GeoLabelAffine, type GeoLabelCandidate, type GeoLabelComponent, type GeoLabelGeometry, type GeoLabelInventoryEntry, type GeoLabelOverlay, type GeoLabelVisibility, type GeoLabelsBundle, type GeoLabelsInput, type GeoMapBorders, type GeoMapEncoding, type GeoMapFeatureMark, type GeoMapFocus, type GeoMapFocusLayout, type GeoMapGeo, type GeoMapLayout, type GeoMapPointMark, type GeoMapPointsLayer, type GeoMapProjection, type GeoMapSpec, type GeoMapSpecWithoutData, type GeoMapZoomConfig, type GeoPlacedLabel, type GeoProjectionContext, type GeoReaderObservation, type GeoReaderSelection, type GeoTextBlock, type GeoViewLayout, type GradientColorStop, type GradientDef, type GradientLegendLayout, type GradientStop, type GraphAnimationConfig, type GraphAnimationSpec, type GraphChannelRule, type GraphEdge, type GraphEdgeLayout, type GraphEncoding, type GraphEncodingChannel, type GraphInteractionConfig, type GraphLayout, type GraphLayoutConfig, type GraphNode, type GraphNodeLayout, type GraphSpec, type GraphSpecWithoutData, type Gridline, HEIGHT_CRAMPED_MAX, HEIGHT_MINIMAL_MAX, HEIGHT_NO_GRID_MAX, HEIGHT_SHORT_MAX, HPAD_COMPACT_FRACTION, HPAD_COMPACT_MIN, type HeatmapColumnConfig, type HeatmapTableCell, type HeightClass, type HistogramEncoding, type ImageColumnConfig, type ImageTableCell, type JoinAggregateTransform, LABEL_GAP_COMPACT, LABEL_GAP_DEFAULT, type LabelCandidate, type LabelConfig, type LabelDensity, type LabelMode, type LabelPriority, type LabelSpec, type LayerSpec, type LayoutStrategy, type LegendChannel, type LegendConfig, type LegendEntry, type LegendEntryPosition, type LegendLayout, type LegendPosition, type LineEncoding, type LineMark, type LinearGradient, type LogicalAnd, type LogicalNot, type LogicalOr, type LollipopEncoding, MARK_DISPLAY_NAMES, MARK_ENCODING_RULES, MARK_TYPES, MAX_LEFT_LABEL_FRACTION_COMPACT, MAX_LEFT_LABEL_FRACTION_DEFAULT, MAX_LEFT_LABEL_FRACTION_MEDIUM, MAX_LEFT_LABEL_FRACTION_MEDIUM_MAX, MAX_SPRING_DURATION, MAX_SR_TABLE_ROWS, MOTION_REST_THRESHOLD, type Margins, type Mark, type MarkAria, type MarkDef, type MarkEvent, type MarkFocusEvent, type MarkMetadata, type MarkType, type MeasureTextFn, type Metric, type MotionPhase, type MotionSample, NARROW_VIEWPORT_MAX, type NeutralRamp, type NodeOverride, type NumberFormatter, OFFSET_STRATEGIES, type ObservationIdentity, type OffsetStrategy, type PaginationState, type ParliamentEncoding, type Point, type PointEncoding, type PointMark, type RadialGradient, type RangeAnnotation, type RangeEncoding, type ReaderBindingScope, type ReaderChangeMeta, type ReaderComparisonOperand, type ReaderComparisonResult, type ReaderComparisonScope, type ReaderDomainValue, type ReaderObservation, type ReaderPanelScope, type ReaderSelection, type ReaderSeries, type ReaderSlice, type ReaderSliceIndexOptions, type ReaderSliceMember, type ReaderSliceSelection, type Rect, type RectEncoding, type RectMark, type RefLineAnnotation, type RelativeTimeRef, type ResolveConfig, type ResolveMode, type ResolvedAnimation, type ResolvedAnimationPhase, type ResolvedAnnotation, type ResolvedChrome, type ResolvedChromeElement, type ResolvedChromeRule, type ResolvedColumn, type ResolvedFillPattern, type ResolvedLabel, type ResolvedMetricBar, type ResolvedMetricCell, type ResolvedSeriesSearch, type ResolvedTheme, type ResolvedThemeColors, type ResolvedYouDrawIt, type ResponsiveConfig, type RuleMarkLayout, SEQUENTIAL_PALETTES, SUPPORTED_SCHEME_NAMES, type SankeyEncoding, type SankeyLayout, type SankeyLinkColor, type SankeyLinkMark, type SankeyNodeAlign, type SankeyNodeMark, type SankeySpec, type SankeySpecWithoutData, type ScaleConfig, type ScaleInvert, type ScaleType, type SequentialPalette, type SeriesSearchConfig, type SeriesStrategy, type SeriesStyle, type SizeLegendCircle, type SizeLegendLayout, type SortByField, type SortState, type SparklineColumnConfig, type SparklineData, type SparklineTableCell, type SpecPatch, type SpringConfig, type StoredVizSpec, TICK_LABEL_OFFSET, TICK_LINE_HEIGHT_FACTOR, TOP_PAD_EXTRA_NARROW, type TableBuilderOptions, type TableCell, type TableCellBase, type TableDensity, type TableLayout, type TableRow, type TableSpec, type TableSpecWithoutData, type TableTotalRow, type TextAnnotation, type TextEncoding, type TextMarkLayout, type TextStyle, type TextTableCell, type ThemeChromeDefaults, type ThemeColors, type ThemeConfig, type ThemeFontSizes, type ThemeFontWeights, type ThemeFonts, type ThemeRule, type ThemeSpacing, type TickEncoding, type TickMarkLayout, type TileMapBuilderOptions, type TileMapEncoding, type TileMapLayout, type TileMapPalette, type TileMapSpec, type TileMapSpecWithoutData, type TileMapTileMark, type TimeUnit, type TimeUnitTransform, type TokenValue, type TooltipContent, type TooltipField, type Transform, type UpdatePhaseConfig, type ValueDef, type VizSpec, type WaffleEncoding, type WindowFieldDef, type WindowOp, type WindowSortField, type WindowTransform, type XAxisExtentInput, X_AXIS_BAND_HEIGHT, X_AXIS_ROTATED_EXTENT_CAP, X_AXIS_TITLE_BAND, X_AXIS_TITLE_BAND_ROTATED, type YouDrawItConfig, type YouDrawItSample, type YouDrawItYInvert, abbreviateNumber, adaptColorForDarkMode, adaptForLightLineStroke, adaptTheme, annotationSource, applyEditTransaction, areaChart, axisTitleOffset, barChart, broadsheet, buildCompactStepFormatter, buildD3Formatter, buildTemporalFormatter, checkPaletteDistinguishability, clarity, columnChart, computeChrome, computeFieldFormatContext, computeLabelBounds, computeNoteBandHeight, computeXAxisExtentFromLabels, contrastRatio, cssTokenDefault, dataTable, deepMergeSpec, defaultNumberFormatter, deriveNeutralRamp, detectCollision, donutChart, dotChart, elementRef, encodePointerToken, essay, estimateTextWidth, findAccessibleColor, formatCurrency, formatDate, formatNumber, formatOrdinal, formatPercent, generateAltText, generateAriaLabels, generateDataTable, getAxisTitleOffset, getBreakpoint, getHeightClass, getLayoutStrategy, getRepresentativeColor, heuristicMeasure, inferFieldType, isAxislessMark, isBarListSpec, isChartSpec, isConditionalDef, isEncodingChannel, isGeoMapSpec, isGradientDef, isGraphSpec, isLayerSpec, isOpaqueColor, isRangeAnnotation, isRefLineAnnotation, isSankeySpec, isTableSpec, isTextAnnotation, isTileMapSpec, isValueDef, isYearContext, jsonPointer, legacyEditorial, lineChart, maxRotatedLabelWidth, meetsAA, mergeThemeConfig, motionCSS, overlapArea, pickLabelColor, pieChart, resolveChromeEconomy, resolveCollisions, resolveMarkDef, resolveMarkType, resolveMeasurer, resolveNumberFormatter, resolveSchemeName, resolveTheme, sampleMotion, scatterChart, simulateColorBlindness, springDuration, terminal, textAscent, tileMap, truncateRotatedLabel, truncateToWidth, wire, wrapText };