@vitessce/vit-s 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 +18 -2
  2. package/package.json +12 -12
package/dist/index.js CHANGED
@@ -30994,7 +30994,7 @@ const ViewType$1 = {
30994
30994
  SCATTERPLOT: "scatterplot",
30995
30995
  SPATIAL: "spatial",
30996
30996
  SPATIAL_BETA: "spatialBeta",
30997
- SPATIAL_ACCELERATED: "spatialAccelerated",
30997
+ // SPATIAL_ACCELERATED: 'spatialAccelerated',
30998
30998
  HEATMAP: "heatmap",
30999
30999
  LAYER_CONTROLLER: "layerController",
31000
31000
  LAYER_CONTROLLER_BETA: "layerControllerBeta",
@@ -31155,6 +31155,9 @@ const FileType$1 = {
31155
31155
  OBS_SEGMENTATIONS_OME_TIFF: "obsSegmentations.ome-tiff",
31156
31156
  // GLB
31157
31157
  OBS_SEGMENTATIONS_GLB: "obsSegmentations.glb",
31158
+ // Neuroglancer
31159
+ // Precomputed (mesh) format
31160
+ OBS_SEGMENTATIONS_NG_PRECOMPUTED: "obsSegmentations.ng-precomputed",
31158
31161
  // New file types to support old file types:
31159
31162
  // - cells.json
31160
31163
  OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
@@ -31384,6 +31387,7 @@ const STATUS = {
31384
31387
  [FileType$1.OBS_LABELS_MUDATA_ZARR]: DataType$1.OBS_LABELS,
31385
31388
  [FileType$1.FEATURE_LABELS_MUDATA_ZARR]: DataType$1.FEATURE_LABELS,
31386
31389
  [FileType$1.OBS_SEGMENTATIONS_GLB]: DataType$1.OBS_SEGMENTATIONS,
31390
+ [FileType$1.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType$1.OBS_SEGMENTATIONS,
31387
31391
  [FileType$1.IMAGE_SPATIALDATA_ZARR]: DataType$1.IMAGE,
31388
31392
  [FileType$1.LABELS_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
31389
31393
  [FileType$1.SHAPES_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
@@ -32246,7 +32250,7 @@ const AUTO_INDEPENDENT_COORDINATION_TYPES = [
32246
32250
  CoordinationType$1.HIERARCHY_LEVELS
32247
32251
  ]
32248
32252
  });
32249
- const version = "3.8.0";
32253
+ const version = "3.8.2";
32250
32254
  const META_VERSION = {
32251
32255
  version
32252
32256
  };
@@ -32722,6 +32726,18 @@ z.object({
32722
32726
  sceneScaleZ: z.number(),
32723
32727
  materialSide: z.enum(["front", "back"])
32724
32728
  }).partial().nullable();
32729
+ z.object({
32730
+ // TODO: Should this explicitly specify sharded vs. unsharded?
32731
+ // Or can/should that be inferred from the data?
32732
+ dimensionX: z.number(),
32733
+ dimensionY: z.number(),
32734
+ dimensionZ: z.number(),
32735
+ dimensionUnit: z.enum(["nm", "um", "µm", "mm", "cm", "m"]),
32736
+ // TODO: should the following be passed via coordination types instead?
32737
+ projectionScale: z.number(),
32738
+ position: z.array(z.number()).length(3),
32739
+ projectionOrientation: z.array(z.number()).length(4)
32740
+ }).partial().nullable();
32725
32741
  z.object({
32726
32742
  obsIndex: z.string(),
32727
32743
  obsEmbedding: z.array(z.string()).length(2)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/vit-s",
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": {
@@ -28,16 +28,16 @@
28
28
  "zustand": "^5.0.4",
29
29
  "react-aria": "^3.28.0",
30
30
  "react-error-boundary": "^5.0.0",
31
- "@vitessce/styles": "3.8.0",
32
- "@vitessce/abstract": "3.8.0",
33
- "@vitessce/error": "3.8.0",
34
- "@vitessce/constants-internal": "3.8.0",
35
- "@vitessce/plugins": "3.8.0",
36
- "@vitessce/schemas": "3.8.0",
37
- "@vitessce/utils": "3.8.0",
38
- "@vitessce/sets-utils": "3.8.0",
39
- "@vitessce/config": "3.8.0",
40
- "@vitessce/globals": "3.8.0"
31
+ "@vitessce/styles": "3.8.2",
32
+ "@vitessce/abstract": "3.8.2",
33
+ "@vitessce/error": "3.8.2",
34
+ "@vitessce/constants-internal": "3.8.2",
35
+ "@vitessce/plugins": "3.8.2",
36
+ "@vitessce/schemas": "3.8.2",
37
+ "@vitessce/utils": "3.8.2",
38
+ "@vitessce/sets-utils": "3.8.2",
39
+ "@vitessce/config": "3.8.2",
40
+ "@vitessce/globals": "3.8.2"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@testing-library/jest-dom": "^6.6.3",
@@ -46,7 +46,7 @@
46
46
  "react-dom": "18.3.1",
47
47
  "vite": "^7.0.0",
48
48
  "vitest": "^3.1.4",
49
- "@vitessce/types": "3.8.0"
49
+ "@vitessce/types": "3.8.2"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"