@vitessce/vega 3.8.0 → 3.8.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.
Files changed (2) hide show
  1. package/dist/index.js +17 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -50603,7 +50603,7 @@ const ViewType$1 = {
50603
50603
  SCATTERPLOT: "scatterplot",
50604
50604
  SPATIAL: "spatial",
50605
50605
  SPATIAL_BETA: "spatialBeta",
50606
- SPATIAL_ACCELERATED: "spatialAccelerated",
50606
+ // SPATIAL_ACCELERATED: 'spatialAccelerated',
50607
50607
  HEATMAP: "heatmap",
50608
50608
  LAYER_CONTROLLER: "layerController",
50609
50609
  LAYER_CONTROLLER_BETA: "layerControllerBeta",
@@ -50761,6 +50761,9 @@ const FileType$1 = {
50761
50761
  OBS_SEGMENTATIONS_OME_TIFF: "obsSegmentations.ome-tiff",
50762
50762
  // GLB
50763
50763
  OBS_SEGMENTATIONS_GLB: "obsSegmentations.glb",
50764
+ // Neuroglancer
50765
+ // Precomputed (mesh) format
50766
+ OBS_SEGMENTATIONS_NG_PRECOMPUTED: "obsSegmentations.ng-precomputed",
50764
50767
  // New file types to support old file types:
50765
50768
  // - cells.json
50766
50769
  OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
@@ -50985,6 +50988,7 @@ const CoordinationType$1 = {
50985
50988
  [FileType$1.OBS_LABELS_MUDATA_ZARR]: DataType$1.OBS_LABELS,
50986
50989
  [FileType$1.FEATURE_LABELS_MUDATA_ZARR]: DataType$1.FEATURE_LABELS,
50987
50990
  [FileType$1.OBS_SEGMENTATIONS_GLB]: DataType$1.OBS_SEGMENTATIONS,
50991
+ [FileType$1.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType$1.OBS_SEGMENTATIONS,
50988
50992
  [FileType$1.IMAGE_SPATIALDATA_ZARR]: DataType$1.IMAGE,
50989
50993
  [FileType$1.LABELS_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
50990
50994
  [FileType$1.SHAPES_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
@@ -52248,6 +52252,18 @@ z.object({
52248
52252
  sceneScaleZ: z.number(),
52249
52253
  materialSide: z.enum(["front", "back"])
52250
52254
  }).partial().nullable();
52255
+ z.object({
52256
+ // TODO: Should this explicitly specify sharded vs. unsharded?
52257
+ // Or can/should that be inferred from the data?
52258
+ dimensionX: z.number(),
52259
+ dimensionY: z.number(),
52260
+ dimensionZ: z.number(),
52261
+ dimensionUnit: z.enum(["nm", "um", "µm", "mm", "cm", "m"]),
52262
+ // TODO: should the following be passed via coordination types instead?
52263
+ projectionScale: z.number(),
52264
+ position: z.array(z.number()).length(3),
52265
+ projectionOrientation: z.array(z.number()).length(4)
52266
+ }).partial().nullable();
52251
52267
  z.object({
52252
52268
  obsIndex: z.string(),
52253
52269
  obsEmbedding: z.array(z.string()).length(2)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/vega",
3
- "version": "3.8.0",
3
+ "version": "3.8.2",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -21,9 +21,9 @@
21
21
  "vega": "^5.21.0",
22
22
  "vega-lite": "^5.1.1",
23
23
  "vega-tooltip": "^0.27.0",
24
- "@vitessce/styles": "3.8.0",
25
- "@vitessce/tooltip": "3.8.0",
26
- "@vitessce/legend": "3.8.0"
24
+ "@vitessce/styles": "3.8.2",
25
+ "@vitessce/tooltip": "3.8.2",
26
+ "@vitessce/legend": "3.8.2"
27
27
  },
28
28
  "devDependencies": {
29
29
  "react": "18.3.1",