@vitessce/biomarker-select 4.0.7 → 4.0.9

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 +54 -5
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -34,7 +34,9 @@ const ViewType = {
34
34
  DUAL_SCATTERPLOT: "dualScatterplot",
35
35
  TREEMAP: "treemap",
36
36
  SAMPLE_SET_PAIR_MANAGER: "sampleSetPairManager",
37
- FEATURE_STATS_TABLE: "featureStatsTable"
37
+ FEATURE_STATS_TABLE: "featureStatsTable",
38
+ SINGLE_OBS_SET_SELECTOR: "singleObsSetSelector",
39
+ ANNOTATION_CONTROLLER: "annotationController"
38
40
  };
39
41
  const DataType = {
40
42
  OBS_SETS: "obsSets",
@@ -191,7 +193,15 @@ const CoordinationType = {
191
193
  FEATURE_POINT_FOLD_CHANGE_THRESHOLD: "featurePointFoldChangeThreshold",
192
194
  FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: "featureLabelFoldChangeThreshold",
193
195
  // Treemap
194
- HIERARCHY_LEVELS: "hierarchyLevels"
196
+ HIERARCHY_LEVELS: "hierarchyLevels",
197
+ // Annotation frames
198
+ ANNOTATION_STORY: "annotationStory",
199
+ ANNOTATION_FRAME_INDEX: "annotationFrameIndex",
200
+ ANNOTATION_SHAPES: "annotationShapes",
201
+ ANNOTATION_OVERLAY_VISIBLE: "annotationOverlayVisible",
202
+ ANNOTATION_TRANSITION_DURATION: "annotationTransitionDuration",
203
+ ANNOTATION_SEMANTIC_ZOOM: "annotationSemanticZoom",
204
+ ANNOTATION_EDITABLE: "annotationEditable"
195
205
  };
196
206
  const ViewHelpMapping = {
197
207
  SAMPLE_SET_PAIR_MANAGER: "Select pairs of sample groups."
@@ -286,7 +296,14 @@ const COMPONENT_COORDINATION_TYPES = {
286
296
  CoordinationType.EMBEDDING_CONTOURS_FILLED,
287
297
  CoordinationType.EMBEDDING_CONTOUR_PERCENTILES,
288
298
  CoordinationType.CONTOUR_COLOR_ENCODING,
289
- CoordinationType.CONTOUR_COLOR
299
+ CoordinationType.CONTOUR_COLOR,
300
+ CoordinationType.ANNOTATION_STORY,
301
+ CoordinationType.ANNOTATION_SHAPES,
302
+ CoordinationType.ANNOTATION_FRAME_INDEX,
303
+ CoordinationType.ANNOTATION_OVERLAY_VISIBLE,
304
+ CoordinationType.ANNOTATION_TRANSITION_DURATION,
305
+ CoordinationType.ANNOTATION_EDITABLE,
306
+ CoordinationType.ANNOTATION_SEMANTIC_ZOOM
290
307
  ],
291
308
  [ViewType.DUAL_SCATTERPLOT]: [
292
309
  CoordinationType.DATASET,
@@ -402,7 +419,14 @@ const COMPONENT_COORDINATION_TYPES = {
402
419
  CoordinationType.ADDITIONAL_OBS_SETS,
403
420
  CoordinationType.MOLECULE_HIGHLIGHT,
404
421
  CoordinationType.TOOLTIPS_VISIBLE,
405
- CoordinationType.PHOTOMETRIC_INTERPRETATION
422
+ CoordinationType.PHOTOMETRIC_INTERPRETATION,
423
+ CoordinationType.ANNOTATION_STORY,
424
+ CoordinationType.ANNOTATION_SHAPES,
425
+ CoordinationType.ANNOTATION_FRAME_INDEX,
426
+ CoordinationType.ANNOTATION_OVERLAY_VISIBLE,
427
+ CoordinationType.ANNOTATION_TRANSITION_DURATION,
428
+ CoordinationType.ANNOTATION_EDITABLE,
429
+ CoordinationType.ANNOTATION_SEMANTIC_ZOOM
406
430
  ],
407
431
  [ViewType.SPATIAL_BETA]: [
408
432
  CoordinationType.META_COORDINATION_SCOPES,
@@ -480,7 +504,27 @@ const COMPONENT_COORDINATION_TYPES = {
480
504
  CoordinationType.SPATIAL_CHANNEL_LABELS_ORIENTATION,
481
505
  CoordinationType.SPATIAL_CHANNEL_LABEL_SIZE,
482
506
  CoordinationType.SPATIAL_CHANNELS_SORT_ORDER,
483
- CoordinationType.PHOTOMETRIC_INTERPRETATION
507
+ CoordinationType.PHOTOMETRIC_INTERPRETATION,
508
+ CoordinationType.ANNOTATION_STORY,
509
+ CoordinationType.ANNOTATION_SHAPES,
510
+ CoordinationType.ANNOTATION_FRAME_INDEX,
511
+ CoordinationType.ANNOTATION_OVERLAY_VISIBLE,
512
+ CoordinationType.ANNOTATION_TRANSITION_DURATION,
513
+ CoordinationType.ANNOTATION_EDITABLE,
514
+ CoordinationType.ANNOTATION_SEMANTIC_ZOOM
515
+ ],
516
+ [ViewType.ANNOTATION_CONTROLLER]: [
517
+ CoordinationType.DATASET,
518
+ CoordinationType.ANNOTATION_STORY,
519
+ CoordinationType.ANNOTATION_FRAME_INDEX,
520
+ CoordinationType.ANNOTATION_OVERLAY_VISIBLE,
521
+ CoordinationType.ANNOTATION_TRANSITION_DURATION,
522
+ CoordinationType.ANNOTATION_EDITABLE,
523
+ CoordinationType.ANNOTATION_SEMANTIC_ZOOM
524
+ // Note: the annotation controller also needs to read the coordination state
525
+ // of all other views/coordination types via the full config.
526
+ // Note: we get/set the CoordinationType.ANNOTATION_SHAPES from the full config,
527
+ // as this info is view-specific rather than global to the story.
484
528
  ],
485
529
  [ViewType.HEATMAP]: [
486
530
  CoordinationType.DATASET,
@@ -790,6 +834,11 @@ const COMPONENT_COORDINATION_TYPES = {
790
834
  CoordinationType.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
791
835
  CoordinationType.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD
792
836
  ],
837
+ [ViewType.SINGLE_OBS_SET_SELECTOR]: [
838
+ CoordinationType.OBS_TYPE,
839
+ CoordinationType.OBS_SET_COLOR,
840
+ CoordinationType.OBS_SET_SELECTION
841
+ ],
793
842
  [ViewType.OBS_SET_COMPOSITION_BAR_PLOT]: [
794
843
  CoordinationType.DATASET,
795
844
  CoordinationType.OBS_TYPE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/biomarker-select",
3
- "version": "4.0.7",
3
+ "version": "4.0.9",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -22,10 +22,10 @@
22
22
  "d3-dsv": "^1.1.1",
23
23
  "clsx": "^1.1.1",
24
24
  "lodash-es": "^4.17.21",
25
- "@vitessce/styles": "4.0.7",
26
- "@vitessce/constants-internal": "4.0.7",
27
- "@vitessce/vit-s": "4.0.7",
28
- "@vitessce/types": "4.0.7"
25
+ "@vitessce/styles": "4.0.9",
26
+ "@vitessce/constants-internal": "4.0.9",
27
+ "@vitessce/vit-s": "4.0.9",
28
+ "@vitessce/types": "4.0.9"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@testing-library/jest-dom": "^6.6.3",