@genome-spy/core 0.30.3 → 0.31.2

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/schema.json CHANGED
@@ -70,6 +70,42 @@
70
70
  "description": "The format specifier pattern for axis labels. Must be a legal [d3-format](https://github.com/d3/d3-format#locale_format) specifier.",
71
71
  "type": "string"
72
72
  },
73
+ "grid": {
74
+ "description": "A boolean flag indicating if grid lines should be included as part of the axis.\n\n__Default value:__ `false`",
75
+ "type": "boolean"
76
+ },
77
+ "gridCap": {
78
+ "description": "The stroke cap for the grid line's ending style. One of `\"butt\"`, `\"round\"` or `\"square\"`.\n\n__Default value:__ `\"butt\"`",
79
+ "enum": [
80
+ "butt",
81
+ "round",
82
+ "square"
83
+ ],
84
+ "type": "string"
85
+ },
86
+ "gridColor": {
87
+ "description": "Color of grid lines.\n\n__Default value:__ `lightgray`",
88
+ "type": "string"
89
+ },
90
+ "gridDash": {
91
+ "description": "An array of alternating [stroke, space] lengths for dashed grid mark lines.",
92
+ "items": {
93
+ "type": "number"
94
+ },
95
+ "type": "array"
96
+ },
97
+ "gridDashOffset": {
98
+ "description": "The pixel offset at which to start drawing with the grid mark dash array.",
99
+ "type": "number"
100
+ },
101
+ "gridOpacity": {
102
+ "description": "The opacity of the grid lines.\n\n__Default value:__ `1`",
103
+ "type": "number"
104
+ },
105
+ "gridWidth": {
106
+ "description": "Width of the grid lines.\n\n__Default value:__ `1`",
107
+ "type": "number"
108
+ },
73
109
  "labelAlign": {
74
110
  "$ref": "#/definitions/Align",
75
111
  "description": "Horizontal text alignment of axis tick labels, overriding the default setting for the current axis orientation."
@@ -221,6 +257,24 @@
221
257
  },
222
258
  "type": "object"
223
259
  },
260
+ "AxisGenomeData": {
261
+ "additionalProperties": false,
262
+ "properties": {
263
+ "channel": {
264
+ "$ref": "#/definitions/PrimaryPositionalChannel",
265
+ "description": "Which channel's scale domain to use"
266
+ },
267
+ "type": {
268
+ "const": "axisGenome",
269
+ "type": "string"
270
+ }
271
+ },
272
+ "required": [
273
+ "type",
274
+ "channel"
275
+ ],
276
+ "type": "object"
277
+ },
224
278
  "AxisOrient": {
225
279
  "enum": [
226
280
  "top",
@@ -230,6 +284,28 @@
230
284
  ],
231
285
  "type": "string"
232
286
  },
287
+ "AxisTicksData": {
288
+ "additionalProperties": false,
289
+ "properties": {
290
+ "axis": {
291
+ "$ref": "#/definitions/Axis",
292
+ "description": "Optional axis properties"
293
+ },
294
+ "channel": {
295
+ "$ref": "#/definitions/PrimaryPositionalChannel",
296
+ "description": "Which channel's scale domain to listen to"
297
+ },
298
+ "type": {
299
+ "const": "axisTicks",
300
+ "type": "string"
301
+ }
302
+ },
303
+ "required": [
304
+ "type",
305
+ "channel"
306
+ ],
307
+ "type": "object"
308
+ },
233
309
  "Baseline": {
234
310
  "enum": [
235
311
  "top",
@@ -810,24 +886,25 @@
810
886
  "DynamicData": {
811
887
  "additionalProperties": false,
812
888
  "properties": {
813
- "dynamicSource": {
814
- "description": "For internal use.",
815
- "type": "boolean"
816
- },
817
- "format": {
818
- "$ref": "#/definitions/DataFormat",
819
- "description": "An object that specifies the format for parsing the data."
820
- },
821
- "name": {
822
- "description": "Provide a placeholder name and bind data at runtime.",
823
- "type": "string"
889
+ "dynamic": {
890
+ "$ref": "#/definitions/DynamicDataParams"
824
891
  }
825
892
  },
826
893
  "required": [
827
- "dynamicSource"
894
+ "dynamic"
828
895
  ],
829
896
  "type": "object"
830
897
  },
898
+ "DynamicDataParams": {
899
+ "anyOf": [
900
+ {
901
+ "$ref": "#/definitions/AxisTicksData"
902
+ },
903
+ {
904
+ "$ref": "#/definitions/AxisGenomeData"
905
+ }
906
+ ]
907
+ },
831
908
  "DynamicOpacity": {
832
909
  "additionalProperties": false,
833
910
  "description": "DynamicOpacity specifies a zoom-dependent behavior for view opacity. The opacity is interpolated between the specified stops.",
@@ -2873,11 +2950,12 @@
2873
2950
  "type": "object"
2874
2951
  },
2875
2952
  "ResolutionBehavior": {
2876
- "description": "`\"independent\"` and `\"shared\"` behave similarly to Vega-Lite. `\"excluded\"` behaves like `\"shared\"`, but is not pulled towards the root.",
2953
+ "description": "`\"independent\"` and `\"shared\"` behave similarly to Vega-Lite. `\"excluded\"` behaves like `\"shared\"`, but is not pulled towards the root. `\"forced\"` behaves like `\"shared\"`, but is forced towards the root even if the parent has `\"independent\"` behavior.",
2877
2954
  "enum": [
2878
2955
  "independent",
2879
2956
  "shared",
2880
- "excluded"
2957
+ "excluded",
2958
+ "forced"
2881
2959
  ],
2882
2960
  "type": "string"
2883
2961
  },
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "contributors": [],
9
9
  "license": "MIT",
10
- "version": "0.30.3",
10
+ "version": "0.31.2",
11
11
  "main": "dist/index.js",
12
12
  "module": "dist/index.es.js",
13
13
  "exports": {
@@ -56,5 +56,5 @@
56
56
  "vega-scale": "^7.1.1",
57
57
  "vega-util": "^1.16.0"
58
58
  },
59
- "gitHead": "b4900c82877041afa1781f601e29cef4f51d5a52"
59
+ "gitHead": "c29482b83972de8f18b0283b3a93f8dbcbb6af9d"
60
60
  }