@vitessce/vit-s 4.0.0 → 4.0.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 -3
  2. package/package.json +13 -13
package/dist/index.js CHANGED
@@ -33125,6 +33125,7 @@ const CoordinationType$1 = {
33125
33125
  SPATIAL_CHANNEL_LABELS_VISIBLE: "spatialChannelLabelsVisible",
33126
33126
  SPATIAL_CHANNEL_LABELS_ORIENTATION: "spatialChannelLabelsOrientation",
33127
33127
  SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize",
33128
+ SPATIAL_CHANNELS_SORT_ORDER: "spatialChannelsSortOrder",
33128
33129
  // Multi-sample / comparative
33129
33130
  SAMPLE_TYPE: "sampleType",
33130
33131
  SAMPLE_SELECTION: "sampleSelection",
@@ -33703,6 +33704,7 @@ const AUTO_INDEPENDENT_COORDINATION_TYPES = [
33703
33704
  CoordinationType$1.SPATIAL_CHANNEL_LABELS_VISIBLE,
33704
33705
  CoordinationType$1.SPATIAL_CHANNEL_LABELS_ORIENTATION,
33705
33706
  CoordinationType$1.SPATIAL_CHANNEL_LABEL_SIZE,
33707
+ CoordinationType$1.SPATIAL_CHANNELS_SORT_ORDER,
33706
33708
  CoordinationType$1.PHOTOMETRIC_INTERPRETATION
33707
33709
  ],
33708
33710
  [ViewType$1.HEATMAP]: [
@@ -33884,7 +33886,8 @@ const AUTO_INDEPENDENT_COORDINATION_TYPES = [
33884
33886
  CoordinationType$1.LEGEND_VISIBLE,
33885
33887
  CoordinationType$1.SPATIAL_CHANNEL_LABELS_VISIBLE,
33886
33888
  CoordinationType$1.SPATIAL_CHANNEL_LABELS_ORIENTATION,
33887
- CoordinationType$1.SPATIAL_CHANNEL_LABEL_SIZE
33889
+ CoordinationType$1.SPATIAL_CHANNEL_LABEL_SIZE,
33890
+ CoordinationType$1.SPATIAL_CHANNELS_SORT_ORDER
33888
33891
  ],
33889
33892
  [ViewType$1.GENOMIC_PROFILES]: [
33890
33893
  CoordinationType$1.DATASET,
@@ -34105,7 +34108,7 @@ const AUTO_INDEPENDENT_COORDINATION_TYPES = [
34105
34108
  CoordinationType$1.HIERARCHY_LEVELS
34106
34109
  ]
34107
34110
  });
34108
- const version = "4.0.0";
34111
+ const version = "4.0.2";
34109
34112
  const META_VERSION = {
34110
34113
  version
34111
34114
  };
@@ -34604,7 +34607,18 @@ z.object({
34604
34607
  z.object({
34605
34608
  projectionAnnotationSpacing: z.number(),
34606
34609
  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."),
34607
- 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.")
34610
+ 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."),
34611
+ transform: z.object({
34612
+ matrix: z.array(z.array(z.number())),
34613
+ outputDimensions: z.record(z.tuple([z.number(), z.string()]))
34614
+ }).optional().describe("A coordinate transformation matrix to apply to the annotation layer source to map annotation coordinates to the global coordinate space."),
34615
+ // Note: See comments in neuroglancer-sorger.js
34616
+ // We may remove these in the future, pending clarification
34617
+ // to questions in the tissue-map-tools repo
34618
+ // - https://github.com/hms-dbmi/tissue-map-tools/issues/20
34619
+ // - https://github.com/hms-dbmi/tissue-map-tools/issues/38
34620
+ quantitativeColorProp: z.string().optional(),
34621
+ quantitativeColorMax: z.number().optional()
34608
34622
  }).partial().nullable();
34609
34623
  z.object({
34610
34624
  obsIndex: z.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/vit-s",
3
- "version": "4.0.0",
3
+ "version": "4.0.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.6.1",
34
- "@vitessce/abstract": "4.0.0",
35
- "@vitessce/styles": "4.0.0",
36
- "@vitessce/error": "4.0.0",
37
- "@vitessce/schemas": "4.0.0",
38
- "@vitessce/utils": "4.0.0",
39
- "@vitessce/sets-utils": "4.0.0",
40
- "@vitessce/plugins": "4.0.0",
41
- "@vitessce/zarr-utils": "4.0.0",
42
- "@vitessce/constants-internal": "4.0.0",
43
- "@vitessce/config": "4.0.0",
44
- "@vitessce/globals": "4.0.0"
34
+ "@vitessce/error": "4.0.2",
35
+ "@vitessce/styles": "4.0.2",
36
+ "@vitessce/abstract": "4.0.2",
37
+ "@vitessce/constants-internal": "4.0.2",
38
+ "@vitessce/plugins": "4.0.2",
39
+ "@vitessce/schemas": "4.0.2",
40
+ "@vitessce/zarr-utils": "4.0.2",
41
+ "@vitessce/utils": "4.0.2",
42
+ "@vitessce/sets-utils": "4.0.2",
43
+ "@vitessce/globals": "4.0.2",
44
+ "@vitessce/config": "4.0.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.0.0"
53
+ "@vitessce/types": "4.0.2"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"