@uwdata/mosaic-spec 0.18.0 → 0.19.1

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.
@@ -15297,6 +15297,9 @@
15297
15297
  "hyphenateCharacter": {
15298
15298
  "type": "string"
15299
15299
  },
15300
+ "hyphenateLimitChars": {
15301
+ "type": "string"
15302
+ },
15300
15303
  "hyphens": {
15301
15304
  "type": "string"
15302
15305
  },
@@ -15534,9 +15537,15 @@
15534
15537
  "overflowAnchor": {
15535
15538
  "type": "string"
15536
15539
  },
15540
+ "overflowBlock": {
15541
+ "type": "string"
15542
+ },
15537
15543
  "overflowClipMargin": {
15538
15544
  "type": "string"
15539
15545
  },
15546
+ "overflowInline": {
15547
+ "type": "string"
15548
+ },
15540
15549
  "overflowWrap": {
15541
15550
  "type": "string"
15542
15551
  },
@@ -21979,7 +21988,7 @@
21979
21988
  "type": "array"
21980
21989
  }
21981
21990
  ],
21982
- "description": "Intpret a string or param-value as a column reference."
21991
+ "description": "Interpret a string or param-value as a column reference."
21983
21992
  }
21984
21993
  },
21985
21994
  "required": [
@@ -22055,7 +22064,7 @@
22055
22064
  "$ref": "#/definitions/Legend"
22056
22065
  }
22057
22066
  ],
22058
- "description": "A specifcation component such as a plot, input widget, or layout."
22067
+ "description": "A specification component such as a plot, input widget, or layout."
22059
22068
  },
22060
22069
  "Config": {
22061
22070
  "description": "Configuration options.",
@@ -23671,7 +23680,7 @@
23671
23680
  "type": "array"
23672
23681
  }
23673
23682
  ],
23674
- "description": "A filter (WHERE clause) to apply upon load. Only rows that pass the filted are included."
23683
+ "description": "A filter (WHERE clause) to apply upon load. Only rows that pass the filter are included."
23675
23684
  }
23676
23685
  },
23677
23686
  "required": [
@@ -23752,7 +23761,7 @@
23752
23761
  "type": "array"
23753
23762
  }
23754
23763
  ],
23755
- "description": "A filter (WHERE clause) to apply upon load. Only rows that pass the filted are included."
23764
+ "description": "A filter (WHERE clause) to apply upon load. Only rows that pass the filter are included."
23756
23765
  }
23757
23766
  },
23758
23767
  "required": [
@@ -23803,7 +23812,7 @@
23803
23812
  "type": "array"
23804
23813
  }
23805
23814
  ],
23806
- "description": "A filter (WHERE clause) to apply upon load. Only rows that pass the filted are included."
23815
+ "description": "A filter (WHERE clause) to apply upon load. Only rows that pass the filter are included."
23807
23816
  }
23808
23817
  },
23809
23818
  "required": [
@@ -23858,7 +23867,7 @@
23858
23867
  "type": "array"
23859
23868
  }
23860
23869
  ],
23861
- "description": "A filter (WHERE clause) to apply upon load. Only rows that pass the filted are included."
23870
+ "description": "A filter (WHERE clause) to apply upon load. Only rows that pass the filter are included."
23862
23871
  }
23863
23872
  },
23864
23873
  "required": [
@@ -23910,7 +23919,7 @@
23910
23919
  "type": "array"
23911
23920
  }
23912
23921
  ],
23913
- "description": "A filter (WHERE clause) to apply upon load. Only rows that pass the filted are included."
23922
+ "description": "A filter (WHERE clause) to apply upon load. Only rows that pass the filter are included."
23914
23923
  }
23915
23924
  },
23916
23925
  "required": [
@@ -23928,7 +23937,7 @@
23928
23937
  "description": "A data definition that loads a supported spatial data file format.",
23929
23938
  "properties": {
23930
23939
  "file": {
23931
- "description": "The file path for the spatial dataset to load. See the [DuckDB spatial documention][1] for more information on supported file types.\n\n[1]: https://duckdb.org/docs/extensions/spatial.html#st_read--read-spatial-data-from-files",
23940
+ "description": "The file path for the spatial dataset to load. See the [DuckDB spatial documentation][1] for more information on supported file types.\n\n[1]: https://duckdb.org/docs/extensions/spatial.html#st_read--read-spatial-data-from-files",
23932
23941
  "type": "string"
23933
23942
  },
23934
23943
  "layer": {
@@ -23971,7 +23980,7 @@
23971
23980
  "type": "array"
23972
23981
  }
23973
23982
  ],
23974
- "description": "A filter (WHERE clause) to apply upon load. Only rows that pass the filted are included."
23983
+ "description": "A filter (WHERE clause) to apply upon load. Only rows that pass the filter are included."
23975
23984
  }
23976
23985
  },
23977
23986
  "required": [
@@ -24024,7 +24033,7 @@
24024
24033
  "type": "array"
24025
24034
  }
24026
24035
  ],
24027
- "description": "A filter (WHERE clause) to apply upon load. Only rows that pass the filted are included."
24036
+ "description": "A filter (WHERE clause) to apply upon load. Only rows that pass the filter are included."
24028
24037
  }
24029
24038
  },
24030
24039
  "required": [
@@ -27938,7 +27947,7 @@
27938
27947
  "type": "array"
27939
27948
  }
27940
27949
  ],
27941
- "description": "Compute the dense row rank (no gaps) over an ordered window partition. Sorting ties do not result in gaps in the rank numbers ( [1, 1, 2, ...])."
27950
+ "description": "Compute the dense row rank (no gaps) over an ordered window partition. Sorting ties do not result in gaps in the rank numbers ([1, 1, 2, ...])."
27942
27951
  },
27943
27952
  "exclude": {
27944
27953
  "enum": [
@@ -43683,7 +43692,7 @@
43683
43692
  },
43684
43693
  "mark": {
43685
43694
  "const": "errorbarX",
43686
- "description": "A mark that draws error bars for a calculated parametric confidence interval for a dependent variable (*x*), potentially grouped by an independent variable (*y*).\n\nThis mark aggregates raw values to produce a [parametric confidence interval][1] of the mean, assuming a normal distribution. To instead visualize pre-computeted interval values or custom aggregations, use a **ruleY** mark with specified **x1** and **x2** channels.\n\nMultiple error bars can be produced by specifying a **z** or **stroke** channel. Set the **marker** option to `'tick'` to add small perpendicular lines at the start and end of the error interval.\n\n[1]: https://en.wikipedia.org/wiki/Normal_distribution#Confidence_intervals",
43695
+ "description": "A mark that draws error bars for a calculated parametric confidence interval for a dependent variable (*x*), potentially grouped by an independent variable (*y*).\n\nThis mark aggregates raw values to produce a [parametric confidence interval][1] of the mean, assuming a normal distribution. To instead visualize pre-computed interval values or custom aggregations, use a **ruleY** mark with specified **x1** and **x2** channels.\n\nMultiple error bars can be produced by specifying a **z** or **stroke** channel. Set the **marker** option to `'tick'` to add small perpendicular lines at the start and end of the error interval.\n\n[1]: https://en.wikipedia.org/wiki/Normal_distribution#Confidence_intervals",
43687
43696
  "type": "string"
43688
43697
  },
43689
43698
  "marker": {
@@ -44916,7 +44925,7 @@
44916
44925
  },
44917
44926
  "mark": {
44918
44927
  "const": "errorbarY",
44919
- "description": "A mark that draws error bars for a calculated parametric confidence interval for a dependent variable (*y*), potentially grouped by an independent variable (*x*).\n\nThis mark aggregates raw values to produce a [parametric confidence interval][1] of the mean, assuming a normal distribution. To instead visualize pre-computeted interval values or custom aggregations, use a **ruleX** mark with specified **y1** and **y2** channels.\n\nMultiple error bars can be produced by specifying a **z** or **stroke** channel. Set the **marker** option to `'tick'` to add small perpendicular lines at the start and end of the error interval.\n\n[1]: https://en.wikipedia.org/wiki/Normal_distribution#Confidence_intervals",
44928
+ "description": "A mark that draws error bars for a calculated parametric confidence interval for a dependent variable (*y*), potentially grouped by an independent variable (*x*).\n\nThis mark aggregates raw values to produce a [parametric confidence interval][1] of the mean, assuming a normal distribution. To instead visualize pre-computed interval values or custom aggregations, use a **ruleX** mark with specified **y1** and **y2** channels.\n\nMultiple error bars can be produced by specifying a **z** or **stroke** channel. Set the **marker** option to `'tick'` to add small perpendicular lines at the start and end of the error interval.\n\n[1]: https://en.wikipedia.org/wiki/Normal_distribution#Confidence_intervals",
44920
44929
  "type": "string"
44921
44930
  },
44922
44931
  "marker": {
@@ -62569,7 +62578,7 @@
62569
62578
  "type": "boolean"
62570
62579
  },
62571
62580
  "pixelSize": {
62572
- "description": "The size of an interative pixel (default `1`). Larger pixel sizes reduce the brush resolution, which can reduce the size of pre-aggregated materialized views.",
62581
+ "description": "The size of an interactive pixel (default `1`). Larger pixel sizes reduce the brush resolution, which can reduce the size of pre-aggregated materialized views.",
62573
62582
  "type": "number"
62574
62583
  },
62575
62584
  "select": {
@@ -62601,7 +62610,7 @@
62601
62610
  "type": "boolean"
62602
62611
  },
62603
62612
  "pixelSize": {
62604
- "description": "The size of an interative pixel (default `1`). Larger pixel sizes reduce the brush resolution, which can reduce the size of pre-aggregated materialized views.",
62613
+ "description": "The size of an interactive pixel (default `1`). Larger pixel sizes reduce the brush resolution, which can reduce the size of pre-aggregated materialized views.",
62605
62614
  "type": "number"
62606
62615
  },
62607
62616
  "select": {
@@ -62645,7 +62654,7 @@
62645
62654
  "type": "boolean"
62646
62655
  },
62647
62656
  "pixelSize": {
62648
- "description": "The size of an interative pixel (default `1`). Larger pixel sizes reduce the brush resolution, which can reduce the size of pre-aggregated materialized views.",
62657
+ "description": "The size of an interactive pixel (default `1`). Larger pixel sizes reduce the brush resolution, which can reduce the size of pre-aggregated materialized views.",
62649
62658
  "type": "number"
62650
62659
  },
62651
62660
  "select": {
@@ -68721,6 +68730,14 @@
68721
68730
  "description": "A text label for this input.",
68722
68731
  "type": "string"
68723
68732
  },
68733
+ "listMatch": {
68734
+ "description": "Required if the database column is an list, this property determines how to match the selected menu option against the list values.",
68735
+ "enum": [
68736
+ "any",
68737
+ "all"
68738
+ ],
68739
+ "type": "string"
68740
+ },
68724
68741
  "options": {
68725
68742
  "description": "An array of menu options, as literal values or option objects. Option objects have a `value` property and an optional `label` property. If no label is provided, the string-coerced value is used.",
68726
68743
  "items": {
@@ -69810,7 +69827,7 @@
69810
69827
  "type": "array"
69811
69828
  }
69812
69829
  ],
69813
- "description": "Compute the percetange rank over an ordered window partition."
69830
+ "description": "Compute the percentage rank over an ordered window partition."
69814
69831
  },
69815
69832
  "range": {
69816
69833
  "anyOf": [
@@ -86698,7 +86715,7 @@
86698
86715
  "type": "string"
86699
86716
  },
86700
86717
  "sql": {
86701
- "description": "A SQL expression string to derive a new column value. Embedded Param refrences, such as `$param + 1`, are supported. For expressions with aggregate functions, use *agg* instead.",
86718
+ "description": "A SQL expression string to derive a new column value. Embedded Param references, such as `$param + 1`, are supported. For expressions with aggregate functions, use *agg* instead.",
86702
86719
  "type": "string"
86703
86720
  }
86704
86721
  },
@@ -86880,7 +86897,7 @@
86880
86897
  "type": "number"
86881
86898
  },
86882
86899
  "min": {
86883
- "description": "The minumum slider value.",
86900
+ "description": "The minimum slider value.",
86884
86901
  "type": "number"
86885
86902
  },
86886
86903
  "select": {
@@ -87284,6 +87301,14 @@
87284
87301
  "description": "A text label for this input.",
87285
87302
  "type": "string"
87286
87303
  },
87304
+ "listMatch": {
87305
+ "description": "Required if the database column is an list, this property determines how to match the selected menu option against the list values.",
87306
+ "enum": [
87307
+ "any",
87308
+ "all"
87309
+ ],
87310
+ "type": "string"
87311
+ },
87287
87312
  "meta": {
87288
87313
  "$ref": "#/definitions/Meta",
87289
87314
  "description": "Specification metadata."
@@ -87454,7 +87479,7 @@
87454
87479
  "description": "Specification metadata."
87455
87480
  },
87456
87481
  "min": {
87457
- "description": "The minumum slider value.",
87482
+ "description": "The minimum slider value.",
87458
87483
  "type": "number"
87459
87484
  },
87460
87485
  "params": {
@@ -141058,7 +141083,7 @@
141058
141083
  },
141059
141084
  "mark": {
141060
141085
  "const": "errorbarX",
141061
- "description": "A mark that draws error bars for a calculated parametric confidence interval for a dependent variable (*x*), potentially grouped by an independent variable (*y*).\n\nThis mark aggregates raw values to produce a [parametric confidence interval][1] of the mean, assuming a normal distribution. To instead visualize pre-computeted interval values or custom aggregations, use a **ruleY** mark with specified **x1** and **x2** channels.\n\nMultiple error bars can be produced by specifying a **z** or **stroke** channel. Set the **marker** option to `'tick'` to add small perpendicular lines at the start and end of the error interval.\n\n[1]: https://en.wikipedia.org/wiki/Normal_distribution#Confidence_intervals",
141086
+ "description": "A mark that draws error bars for a calculated parametric confidence interval for a dependent variable (*x*), potentially grouped by an independent variable (*y*).\n\nThis mark aggregates raw values to produce a [parametric confidence interval][1] of the mean, assuming a normal distribution. To instead visualize pre-computed interval values or custom aggregations, use a **ruleY** mark with specified **x1** and **x2** channels.\n\nMultiple error bars can be produced by specifying a **z** or **stroke** channel. Set the **marker** option to `'tick'` to add small perpendicular lines at the start and end of the error interval.\n\n[1]: https://en.wikipedia.org/wiki/Normal_distribution#Confidence_intervals",
141062
141087
  "type": "string"
141063
141088
  },
141064
141089
  "marker": {
@@ -142311,7 +142336,7 @@
142311
142336
  },
142312
142337
  "mark": {
142313
142338
  "const": "errorbarY",
142314
- "description": "A mark that draws error bars for a calculated parametric confidence interval for a dependent variable (*y*), potentially grouped by an independent variable (*x*).\n\nThis mark aggregates raw values to produce a [parametric confidence interval][1] of the mean, assuming a normal distribution. To instead visualize pre-computeted interval values or custom aggregations, use a **ruleX** mark with specified **y1** and **y2** channels.\n\nMultiple error bars can be produced by specifying a **z** or **stroke** channel. Set the **marker** option to `'tick'` to add small perpendicular lines at the start and end of the error interval.\n\n[1]: https://en.wikipedia.org/wiki/Normal_distribution#Confidence_intervals",
142339
+ "description": "A mark that draws error bars for a calculated parametric confidence interval for a dependent variable (*y*), potentially grouped by an independent variable (*x*).\n\nThis mark aggregates raw values to produce a [parametric confidence interval][1] of the mean, assuming a normal distribution. To instead visualize pre-computed interval values or custom aggregations, use a **ruleX** mark with specified **y1** and **y2** channels.\n\nMultiple error bars can be produced by specifying a **z** or **stroke** channel. Set the **marker** option to `'tick'` to add small perpendicular lines at the start and end of the error interval.\n\n[1]: https://en.wikipedia.org/wiki/Normal_distribution#Confidence_intervals",
142315
142340
  "type": "string"
142316
142341
  },
142317
142342
  "marker": {
@@ -191902,7 +191927,7 @@
191902
191927
  },
191903
191928
  "select": {
191904
191929
  "const": "toggle",
191905
- "description": "Select individal values.",
191930
+ "description": "Select individual values.",
191906
191931
  "type": "string"
191907
191932
  }
191908
191933
  },
@@ -191927,7 +191952,7 @@
191927
191952
  },
191928
191953
  "select": {
191929
191954
  "const": "toggleColor",
191930
- "description": "Select individal values in the `color` scale domain. Clicking or touching a mark toggles its selection status.",
191955
+ "description": "Select individual values in the `color` scale domain. Clicking or touching a mark toggles its selection status.",
191931
191956
  "type": "string"
191932
191957
  }
191933
191958
  },
@@ -191951,7 +191976,7 @@
191951
191976
  },
191952
191977
  "select": {
191953
191978
  "const": "toggleX",
191954
- "description": "Select individal values in the `x` scale domain. Clicking or touching a mark toggles its selection status.",
191979
+ "description": "Select individual values in the `x` scale domain. Clicking or touching a mark toggles its selection status.",
191955
191980
  "type": "string"
191956
191981
  }
191957
191982
  },
@@ -191975,7 +192000,7 @@
191975
192000
  },
191976
192001
  "select": {
191977
192002
  "const": "toggleY",
191978
- "description": "Select individal values in the `y` scale domain. Clicking or touching a mark toggles its selection status.",
192003
+ "description": "Select individual values in the `y` scale domain. Clicking or touching a mark toggles its selection status.",
191979
192004
  "type": "string"
191980
192005
  }
191981
192006
  },
@@ -6,7 +6,7 @@ export interface DataBaseOptions {
6
6
  select?: string[];
7
7
  /**
8
8
  * A filter (WHERE clause) to apply upon load.
9
- * Only rows that pass the filted are included.
9
+ * Only rows that pass the filter are included.
10
10
  */
11
11
  where?: string | string[];
12
12
  /**
@@ -120,7 +120,7 @@ export interface DataSpatial extends DataBaseOptions {
120
120
  type: 'spatial';
121
121
  /**
122
122
  * The file path for the spatial dataset to load. See the [DuckDB spatial
123
- * documention][1] for more information on supported file types.
123
+ * documentation][1] for more information on supported file types.
124
124
  *
125
125
  * [1]: https://duckdb.org/docs/extensions/spatial.html#st_read--read-spatial-data-from-files
126
126
  */
@@ -3,7 +3,7 @@ export type Expression = SQLExpression | AggregateExpression;
3
3
  export interface SQLExpression {
4
4
  /**
5
5
  * A SQL expression string to derive a new column value.
6
- * Embedded Param refrences, such as `$param + 1`, are supported.
6
+ * Embedded Param references, such as `$param + 1`, are supported.
7
7
  * For expressions with aggregate functions, use *agg* instead.
8
8
  */
9
9
  sql: string;
@@ -26,6 +26,11 @@ export interface Menu {
26
26
  * Used in conjunction with the `from` property.
27
27
  */
28
28
  column?: string;
29
+ /**
30
+ * Required if the database column is an list, this property determines how
31
+ * to match the selected menu option against the list values.
32
+ */
33
+ listMatch?: 'any' | 'all';
29
34
  /**
30
35
  * A selection to filter the database table indicated by the `from` property.
31
36
  */
@@ -132,7 +137,7 @@ export interface Slider {
132
137
  */
133
138
  filterBy?: ParamRef;
134
139
  /**
135
- * The minumum slider value.
140
+ * The minimum slider value.
136
141
  */
137
142
  min?: number;
138
143
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/spec/Input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA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C,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -46,7 +46,7 @@ export interface SpecHead {
46
46
  /** A default set of attributes to apply to all plot components. */
47
47
  plotDefaults?: PlotAttributes;
48
48
  }
49
- /** A specifcation component such as a plot, input widget, or layout. */
49
+ /** A specification component such as a plot, input widget, or layout. */
50
50
  export type Component = HConcat | VConcat | HSpace | VSpace | Menu | Search | Slider | Table | Plot | PlotMark | Legend;
51
51
  /** A declarative Mosaic specification. */
52
52
  export type Spec = SpecHead & Component;
@@ -1 +1 @@
1
- {"version":3,"file":"Spec.d.ts","sourceRoot":"","sources":["../../../src/spec/Spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAY,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,8BAA8B;AAC9B,MAAM,WAAW,IAAK,SAAQ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAC/C,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mDAAmD;IACnD,WAAW,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,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mEAAmE;IACnE,YAAY,CAAC,EAAE,cAAc,CAAC;CAC/B;AAED,yEAAyE;AACzE,MAAM,MAAM,SAAS,GACjB,OAAO,GACP,OAAO,GACP,MAAM,GACN,MAAM,GACN,IAAI,GACJ,MAAM,GACN,MAAM,GACN,KAAK,GACL,IAAI,GACJ,QAAQ,GACR,MAAM,CAAC;AAEX,0CAA0C;AAC1C,MAAM,MAAM,IAAI,GAAG,QAAQ,GAAG,SAAS,CAAC"}
@@ -89,7 +89,7 @@ export interface Bin {
89
89
  /** A column transform. */
90
90
  export interface Column {
91
91
  /**
92
- * Intpret a string or param-value as a column reference.
92
+ * Interpret a string or param-value as a column reference.
93
93
  */
94
94
  column: Arg1;
95
95
  }
@@ -309,14 +309,14 @@ export interface Rank extends WindowOptions {
309
309
  export interface DenseRank extends WindowOptions {
310
310
  /**
311
311
  * Compute the dense row rank (no gaps) over an ordered window partition.
312
- * Sorting ties do not result in gaps in the rank numbers ( [1, 1, 2, ...]).
312
+ * Sorting ties do not result in gaps in the rank numbers ([1, 1, 2, ...]).
313
313
  */
314
314
  dense_rank: Arg0;
315
315
  }
316
316
  /** A percent_rank window transform. */
317
317
  export interface PercentRank extends WindowOptions {
318
318
  /**
319
- * Compute the percetange rank over an ordered window partition.
319
+ * Compute the percentage rank over an ordered window partition.
320
320
  */
321
321
  percent_rank: Arg0;
322
322
  }
@@ -14,7 +14,7 @@ export interface Interval1DOptions {
14
14
  */
15
15
  field?: string;
16
16
  /**
17
- * The size of an interative pixel (default `1`). Larger pixel sizes reduce
17
+ * The size of an interactive pixel (default `1`). Larger pixel sizes reduce
18
18
  * the brush resolution, which can reduce the size of pre-aggregated
19
19
  * materialized views.
20
20
  */
@@ -21,7 +21,7 @@ export interface Interval2DOptions {
21
21
  */
22
22
  yfield?: string;
23
23
  /**
24
- * The size of an interative pixel (default `1`). Larger pixel sizes reduce
24
+ * The size of an interactive pixel (default `1`). Larger pixel sizes reduce
25
25
  * the brush resolution, which can reduce the size of pre-aggregated
26
26
  * materialized views.
27
27
  */
@@ -16,7 +16,7 @@ export interface ToggleOptions {
16
16
  }
17
17
  /** A toggle interactor. */
18
18
  export interface Toggle extends ToggleOptions {
19
- /** Select individal values. */
19
+ /** Select individual values. */
20
20
  select: 'toggle';
21
21
  /**
22
22
  * The encoding channels over which to select values.
@@ -28,7 +28,7 @@ export interface Toggle extends ToggleOptions {
28
28
  /** A toggleX interactor. */
29
29
  export interface ToggleX extends ToggleOptions {
30
30
  /**
31
- * Select individal values in the `x` scale domain.
31
+ * Select individual values in the `x` scale domain.
32
32
  * Clicking or touching a mark toggles its selection status.
33
33
  */
34
34
  select: 'toggleX';
@@ -36,7 +36,7 @@ export interface ToggleX extends ToggleOptions {
36
36
  /** A toggleY interactor. */
37
37
  export interface ToggleY extends ToggleOptions {
38
38
  /**
39
- * Select individal values in the `y` scale domain.
39
+ * Select individual values in the `y` scale domain.
40
40
  * Clicking or touching a mark toggles its selection status.
41
41
  */
42
42
  select: 'toggleY';
@@ -44,7 +44,7 @@ export interface ToggleY extends ToggleOptions {
44
44
  /** A toggleZ interactor. */
45
45
  export interface ToggleZ extends ToggleOptions {
46
46
  /**
47
- * Select individal values in the `z` scale domain.
47
+ * Select individual values in the `z` scale domain.
48
48
  * Clicking or touching a mark toggles its selection status.
49
49
  */
50
50
  select: 'toggleZ';
@@ -52,7 +52,7 @@ export interface ToggleZ extends ToggleOptions {
52
52
  /** A toggleColor interactor. */
53
53
  export interface ToggleColor extends ToggleOptions {
54
54
  /**
55
- * Select individal values in the `color` scale domain.
55
+ * Select individual values in the `color` scale domain.
56
56
  * Clicking or touching a mark toggles its selection status.
57
57
  */
58
58
  select: 'toggleColor';
@@ -1 +1 @@
1
- {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../../src/spec/interactors/Toggle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,sCAA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nB;AAED,4BAA4B;AAC5B,MAAM,WAAW,OAAQ,SAAQ,aAAa;IAC5C;;;OAGG;IACH,MAAM,EAAE,SAAS,CAAC;CACnB;AAED,4BAA4B;AAC5B,MAAM,WAAW,OAAQ,SAAQ,aAAa;IAC5C;;;OAGG;IACH,MAAM,EAAE,SAAS,CAAC;CACnB;AAED,gCAAgC;AAChC,MAAM,WAAW,WAAY,SAAQ,aAAa;IAChD;;;OAGG;IACH,MAAM,EAAE,aAAa,CAAC;CACvB"}
@@ -35,7 +35,7 @@ export interface ErrorBarX extends MarkData, ErrorBarXOptions {
35
35
  *
36
36
  * This mark aggregates raw values to produce a [parametric confidence
37
37
  * interval][1] of the mean, assuming a normal distribution. To instead
38
- * visualize pre-computeted interval values or custom aggregations, use
38
+ * visualize pre-computed interval values or custom aggregations, use
39
39
  * a **ruleY** mark with specified **x1** and **x2** channels.
40
40
  *
41
41
  * Multiple error bars can be produced by specifying a **z** or **stroke**
@@ -68,7 +68,7 @@ export interface ErrorBarY extends MarkData, ErrorBarYOptions {
68
68
  *
69
69
  * This mark aggregates raw values to produce a [parametric confidence
70
70
  * interval][1] of the mean, assuming a normal distribution. To instead
71
- * visualize pre-computeted interval values or custom aggregations, use
71
+ * visualize pre-computed interval values or custom aggregations, use
72
72
  * a **ruleX** mark with specified **y1** and **y2** channels.
73
73
  *
74
74
  * Multiple error bars can be produced by specifying a **z** or **stroke**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uwdata/mosaic-spec",
3
- "version": "0.18.0",
3
+ "version": "0.19.1",
4
4
  "description": "Declarative specification of Mosaic-powered applications.",
5
5
  "keywords": [
6
6
  "mosaic",
@@ -37,10 +37,10 @@
37
37
  "prepublishOnly": "npm run test && npm run lint && npm run build"
38
38
  },
39
39
  "dependencies": {
40
- "@uwdata/mosaic-core": "^0.18.0",
41
- "@uwdata/mosaic-sql": "^0.18.0",
42
- "@uwdata/vgplot": "^0.18.0",
40
+ "@uwdata/mosaic-core": "^0.19.1",
41
+ "@uwdata/mosaic-sql": "^0.19.0",
42
+ "@uwdata/vgplot": "^0.19.1",
43
43
  "ts-json-schema-generator": "^2.4.0"
44
44
  },
45
- "gitHead": "dfb9ded0b0307754e3185ca34cc49a1384fe8455"
45
+ "gitHead": "64ac2aaeefe9ff469edfeed417414a0a7866863f"
46
46
  }
package/src/spec/Data.ts CHANGED
@@ -6,7 +6,7 @@ export interface DataBaseOptions {
6
6
  select?: string[];
7
7
  /**
8
8
  * A filter (WHERE clause) to apply upon load.
9
- * Only rows that pass the filted are included.
9
+ * Only rows that pass the filter are included.
10
10
  */
11
11
  where?: string | string[];
12
12
  /**
@@ -127,7 +127,7 @@ export interface DataSpatial extends DataBaseOptions {
127
127
  type: 'spatial';
128
128
  /**
129
129
  * The file path for the spatial dataset to load. See the [DuckDB spatial
130
- * documention][1] for more information on supported file types.
130
+ * documentation][1] for more information on supported file types.
131
131
  *
132
132
  * [1]: https://duckdb.org/docs/extensions/spatial.html#st_read--read-spatial-data-from-files
133
133
  */
@@ -6,7 +6,7 @@ export type Expression =
6
6
  export interface SQLExpression {
7
7
  /**
8
8
  * A SQL expression string to derive a new column value.
9
- * Embedded Param refrences, such as `$param + 1`, are supported.
9
+ * Embedded Param references, such as `$param + 1`, are supported.
10
10
  * For expressions with aggregate functions, use *agg* instead.
11
11
  */
12
12
  sql: string;
package/src/spec/Input.ts CHANGED
@@ -27,6 +27,11 @@ export interface Menu {
27
27
  * Used in conjunction with the `from` property.
28
28
  */
29
29
  column?: string;
30
+ /**
31
+ * Required if the database column is an list, this property determines how
32
+ * to match the selected menu option against the list values.
33
+ */
34
+ listMatch?: 'any' | 'all';
30
35
  /**
31
36
  * A selection to filter the database table indicated by the `from` property.
32
37
  */
@@ -132,7 +137,7 @@ export interface Slider {
132
137
  */
133
138
  filterBy?: ParamRef;
134
139
  /**
135
- * The minumum slider value.
140
+ * The minimum slider value.
136
141
  */
137
142
  min?: number;
138
143
  /**
package/src/spec/Spec.ts CHANGED
@@ -52,7 +52,7 @@ export interface SpecHead {
52
52
  plotDefaults?: PlotAttributes;
53
53
  }
54
54
 
55
- /** A specifcation component such as a plot, input widget, or layout. */
55
+ /** A specification component such as a plot, input widget, or layout. */
56
56
  export type Component =
57
57
  | HConcat
58
58
  | VConcat
@@ -112,7 +112,7 @@ export interface Bin {
112
112
  /** A column transform. */
113
113
  export interface Column {
114
114
  /**
115
- * Intpret a string or param-value as a column reference.
115
+ * Interpret a string or param-value as a column reference.
116
116
  */
117
117
  column: Arg1;
118
118
  }
@@ -362,7 +362,7 @@ export interface Rank extends WindowOptions {
362
362
  export interface DenseRank extends WindowOptions {
363
363
  /**
364
364
  * Compute the dense row rank (no gaps) over an ordered window partition.
365
- * Sorting ties do not result in gaps in the rank numbers ( [1, 1, 2, ...]).
365
+ * Sorting ties do not result in gaps in the rank numbers ([1, 1, 2, ...]).
366
366
  */
367
367
  dense_rank: Arg0;
368
368
  }
@@ -370,7 +370,7 @@ export interface DenseRank extends WindowOptions {
370
370
  /** A percent_rank window transform. */
371
371
  export interface PercentRank extends WindowOptions {
372
372
  /**
373
- * Compute the percetange rank over an ordered window partition.
373
+ * Compute the percentage rank over an ordered window partition.
374
374
  */
375
375
  percent_rank: Arg0;
376
376
  }
@@ -15,7 +15,7 @@ export interface Interval1DOptions {
15
15
  */
16
16
  field?: string;
17
17
  /**
18
- * The size of an interative pixel (default `1`). Larger pixel sizes reduce
18
+ * The size of an interactive pixel (default `1`). Larger pixel sizes reduce
19
19
  * the brush resolution, which can reduce the size of pre-aggregated
20
20
  * materialized views.
21
21
  */
@@ -22,7 +22,7 @@ export interface Interval2DOptions {
22
22
  */
23
23
  yfield?: string;
24
24
  /**
25
- * The size of an interative pixel (default `1`). Larger pixel sizes reduce
25
+ * The size of an interactive pixel (default `1`). Larger pixel sizes reduce
26
26
  * the brush resolution, which can reduce the size of pre-aggregated
27
27
  * materialized views.
28
28
  */
@@ -18,7 +18,7 @@ export interface ToggleOptions {
18
18
 
19
19
  /** A toggle interactor. */
20
20
  export interface Toggle extends ToggleOptions {
21
- /** Select individal values. */
21
+ /** Select individual values. */
22
22
  select: 'toggle';
23
23
  /**
24
24
  * The encoding channels over which to select values.
@@ -31,7 +31,7 @@ export interface Toggle extends ToggleOptions {
31
31
  /** A toggleX interactor. */
32
32
  export interface ToggleX extends ToggleOptions {
33
33
  /**
34
- * Select individal values in the `x` scale domain.
34
+ * Select individual values in the `x` scale domain.
35
35
  * Clicking or touching a mark toggles its selection status.
36
36
  */
37
37
  select: 'toggleX';
@@ -40,7 +40,7 @@ export interface ToggleX extends ToggleOptions {
40
40
  /** A toggleY interactor. */
41
41
  export interface ToggleY extends ToggleOptions {
42
42
  /**
43
- * Select individal values in the `y` scale domain.
43
+ * Select individual values in the `y` scale domain.
44
44
  * Clicking or touching a mark toggles its selection status.
45
45
  */
46
46
  select: 'toggleY';
@@ -49,7 +49,7 @@ export interface ToggleY extends ToggleOptions {
49
49
  /** A toggleZ interactor. */
50
50
  export interface ToggleZ extends ToggleOptions {
51
51
  /**
52
- * Select individal values in the `z` scale domain.
52
+ * Select individual values in the `z` scale domain.
53
53
  * Clicking or touching a mark toggles its selection status.
54
54
  */
55
55
  select: 'toggleZ';
@@ -58,7 +58,7 @@ export interface ToggleZ extends ToggleOptions {
58
58
  /** A toggleColor interactor. */
59
59
  export interface ToggleColor extends ToggleOptions {
60
60
  /**
61
- * Select individal values in the `color` scale domain.
61
+ * Select individual values in the `color` scale domain.
62
62
  * Clicking or touching a mark toggles its selection status.
63
63
  */
64
64
  select: 'toggleColor';
@@ -42,7 +42,7 @@ export interface ErrorBarX extends MarkData, ErrorBarXOptions {
42
42
  *
43
43
  * This mark aggregates raw values to produce a [parametric confidence
44
44
  * interval][1] of the mean, assuming a normal distribution. To instead
45
- * visualize pre-computeted interval values or custom aggregations, use
45
+ * visualize pre-computed interval values or custom aggregations, use
46
46
  * a **ruleY** mark with specified **x1** and **x2** channels.
47
47
  *
48
48
  * Multiple error bars can be produced by specifying a **z** or **stroke**
@@ -78,7 +78,7 @@ export interface ErrorBarY extends MarkData, ErrorBarYOptions {
78
78
  *
79
79
  * This mark aggregates raw values to produce a [parametric confidence
80
80
  * interval][1] of the mean, assuming a normal distribution. To instead
81
- * visualize pre-computeted interval values or custom aggregations, use
81
+ * visualize pre-computed interval values or custom aggregations, use
82
82
  * a **ruleX** mark with specified **y1** and **y2** channels.
83
83
  *
84
84
  * Multiple error bars can be produced by specifying a **z** or **stroke**