@vitessce/vit-s 4.1.1 → 4.1.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 +20 -7
  2. package/package.json +13 -13
package/dist/index.js CHANGED
@@ -34552,6 +34552,7 @@ const FileType$1 = {
34552
34552
  // Precomputed (mesh) format
34553
34553
  OBS_SEGMENTATIONS_NG_PRECOMPUTED: "obsSegmentations.ng-precomputed",
34554
34554
  OBS_POINTS_NG_ANNOTATIONS: "obsPoints.ng-annotations",
34555
+ OBS_LOCATIONS_NG_ANNOTATIONS: "obsLocations.ng-annotations",
34555
34556
  // New file types to support old file types:
34556
34557
  // - cells.json
34557
34558
  OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
@@ -34802,6 +34803,7 @@ const STATUS = {
34802
34803
  [FileType$1.OBS_SEGMENTATIONS_GLB]: DataType$1.OBS_SEGMENTATIONS,
34803
34804
  [FileType$1.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType$1.OBS_SEGMENTATIONS,
34804
34805
  [FileType$1.OBS_POINTS_NG_ANNOTATIONS]: DataType$1.OBS_POINTS,
34806
+ [FileType$1.OBS_LOCATIONS_NG_ANNOTATIONS]: DataType$1.OBS_LOCATIONS,
34805
34807
  [FileType$1.IMAGE_SPATIALDATA_ZARR]: DataType$1.IMAGE,
34806
34808
  [FileType$1.LABELS_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
34807
34809
  [FileType$1.SHAPES_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
@@ -35256,7 +35258,8 @@ const AUTO_INDEPENDENT_COORDINATION_TYPES = [
35256
35258
  CoordinationType$1.ANNOTATION_OVERLAY_VISIBLE,
35257
35259
  CoordinationType$1.ANNOTATION_TRANSITION_DURATION,
35258
35260
  CoordinationType$1.ANNOTATION_EDITABLE,
35259
- CoordinationType$1.ANNOTATION_SEMANTIC_ZOOM
35261
+ CoordinationType$1.ANNOTATION_SEMANTIC_ZOOM,
35262
+ CoordinationType$1.SPATIAL_CHANNELS_SORT_ORDER
35260
35263
  ],
35261
35264
  [ViewType$1.SPATIAL_BETA]: [
35262
35265
  CoordinationType$1.META_COORDINATION_SCOPES,
@@ -35474,7 +35477,8 @@ const AUTO_INDEPENDENT_COORDINATION_TYPES = [
35474
35477
  CoordinationType$1.SPATIAL_ROTATION_Z,
35475
35478
  CoordinationType$1.SPATIAL_ROTATION_ORBIT,
35476
35479
  CoordinationType$1.SPATIAL_ORBIT_AXIS,
35477
- CoordinationType$1.PHOTOMETRIC_INTERPRETATION
35480
+ CoordinationType$1.PHOTOMETRIC_INTERPRETATION,
35481
+ CoordinationType$1.SPATIAL_CHANNELS_SORT_ORDER
35478
35482
  ],
35479
35483
  [ViewType$1.LAYER_CONTROLLER_BETA]: [
35480
35484
  CoordinationType$1.META_COORDINATION_SCOPES,
@@ -35768,7 +35772,7 @@ const AUTO_INDEPENDENT_COORDINATION_TYPES = [
35768
35772
  CoordinationType$1.HIERARCHY_LEVELS
35769
35773
  ]
35770
35774
  });
35771
- const version = "4.1.1";
35775
+ const version = "4.1.2";
35772
35776
  const META_VERSION = {
35773
35777
  version
35774
35778
  };
@@ -36272,14 +36276,15 @@ z.object({
36272
36276
  subsources: z.record(z.boolean()).describe("Subsources are the individual data components of a source (e.g. meshes, skeletons, etc.). Each entry explicitly enables or disables a subsource.").optional(),
36273
36277
  enableDefaultSubsources: z.boolean().describe("When true (default), automatically loads all subsources (defined in mesh metadata), when false loads what is explicitly enabled in `subsources`.").optional()
36274
36278
  }).partial().nullable();
36279
+ const ngAnnotationTransformSchema = z.object({
36280
+ matrix: z.array(z.array(z.number())),
36281
+ outputDimensions: z.record(z.tuple([z.number(), z.string()]))
36282
+ }).optional().describe("A coordinate transformation matrix to apply to the annotation layer source to map annotation coordinates to the global coordinate space.");
36275
36283
  z.object({
36276
36284
  projectionAnnotationSpacing: z.number(),
36277
36285
  featureIndexProp: z.string().optional().describe("The name of the Neuroglancer AnnotationProperty containing feature IDs. For example, specify 'gene' to use prop_gene() in the Neuroglancer shader code."),
36278
36286
  pointIndexProp: z.string().optional().describe("The name of the Neuroglancer AnnotationProperty containing point IDs. For example, specify 'point_id' to use prop_point_id() in the Neuroglancer shader code."),
36279
- transform: z.object({
36280
- matrix: z.array(z.array(z.number())),
36281
- outputDimensions: z.record(z.tuple([z.number(), z.string()]))
36282
- }).optional().describe("A coordinate transformation matrix to apply to the annotation layer source to map annotation coordinates to the global coordinate space."),
36287
+ transform: ngAnnotationTransformSchema,
36283
36288
  // Note: See comments in neuroglancer-sorger.js
36284
36289
  // We may remove these in the future, pending clarification
36285
36290
  // to questions in the tissue-map-tools repo
@@ -36288,6 +36293,14 @@ z.object({
36288
36293
  quantitativeColorProp: z.string().optional(),
36289
36294
  quantitativeColorMax: z.number().optional()
36290
36295
  }).partial().nullable();
36296
+ z.object({
36297
+ projectionAnnotationSpacing: z.number(),
36298
+ transform: ngAnnotationTransformSchema,
36299
+ segmentIdProp: z.string().optional().describe("The name of the Neuroglancer AnnotationProperty holding the mesh segment ID (e.g. 'cell_id'). Defaults to 'id' when the annotation info declares it."),
36300
+ // Used when the corresponding segmentation channel uses obsColorEncoding 'geneSelection'.
36301
+ quantitativeColorProp: z.string().optional(),
36302
+ quantitativeColorMax: z.number().optional()
36303
+ }).partial().nullable();
36291
36304
  z.object({
36292
36305
  obsIndex: z.string(),
36293
36306
  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": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -31,17 +31,17 @@
31
31
  "react-error-boundary": "^5.0.0",
32
32
  "@placemarkio/flat-drop-files": "^1.0.2",
33
33
  "zarrita": "0.7.5",
34
- "@vitessce/styles": "4.1.1",
35
- "@vitessce/abstract": "4.1.1",
36
- "@vitessce/error": "4.1.1",
37
- "@vitessce/constants-internal": "4.1.1",
38
- "@vitessce/plugins": "4.1.1",
39
- "@vitessce/utils": "4.1.1",
40
- "@vitessce/sets-utils": "4.1.1",
41
- "@vitessce/schemas": "4.1.1",
42
- "@vitessce/config": "4.1.1",
43
- "@vitessce/zarr-utils": "4.1.1",
44
- "@vitessce/globals": "4.1.1"
34
+ "@vitessce/styles": "4.1.2",
35
+ "@vitessce/abstract": "4.1.2",
36
+ "@vitessce/error": "4.1.2",
37
+ "@vitessce/constants-internal": "4.1.2",
38
+ "@vitessce/plugins": "4.1.2",
39
+ "@vitessce/schemas": "4.1.2",
40
+ "@vitessce/utils": "4.1.2",
41
+ "@vitessce/config": "4.1.2",
42
+ "@vitessce/globals": "4.1.2",
43
+ "@vitessce/sets-utils": "4.1.2",
44
+ "@vitessce/zarr-utils": "4.1.2"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@testing-library/jest-dom": "^6.6.3",
@@ -50,7 +50,7 @@
50
50
  "react-dom": "19.2.6",
51
51
  "vite": "^7.0.0",
52
52
  "vitest": "^3.1.4",
53
- "@vitessce/types": "4.1.1"
53
+ "@vitessce/types": "4.1.2"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"