@vitessce/biomarker-select 4.0.8 → 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 +48 -5
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -35,7 +35,8 @@ const ViewType = {
35
35
  TREEMAP: "treemap",
36
36
  SAMPLE_SET_PAIR_MANAGER: "sampleSetPairManager",
37
37
  FEATURE_STATS_TABLE: "featureStatsTable",
38
- SINGLE_OBS_SET_SELECTOR: "singleObsSetSelector"
38
+ SINGLE_OBS_SET_SELECTOR: "singleObsSetSelector",
39
+ ANNOTATION_CONTROLLER: "annotationController"
39
40
  };
40
41
  const DataType = {
41
42
  OBS_SETS: "obsSets",
@@ -192,7 +193,15 @@ const CoordinationType = {
192
193
  FEATURE_POINT_FOLD_CHANGE_THRESHOLD: "featurePointFoldChangeThreshold",
193
194
  FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: "featureLabelFoldChangeThreshold",
194
195
  // Treemap
195
- 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"
196
205
  };
197
206
  const ViewHelpMapping = {
198
207
  SAMPLE_SET_PAIR_MANAGER: "Select pairs of sample groups."
@@ -287,7 +296,14 @@ const COMPONENT_COORDINATION_TYPES = {
287
296
  CoordinationType.EMBEDDING_CONTOURS_FILLED,
288
297
  CoordinationType.EMBEDDING_CONTOUR_PERCENTILES,
289
298
  CoordinationType.CONTOUR_COLOR_ENCODING,
290
- 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
291
307
  ],
292
308
  [ViewType.DUAL_SCATTERPLOT]: [
293
309
  CoordinationType.DATASET,
@@ -403,7 +419,14 @@ const COMPONENT_COORDINATION_TYPES = {
403
419
  CoordinationType.ADDITIONAL_OBS_SETS,
404
420
  CoordinationType.MOLECULE_HIGHLIGHT,
405
421
  CoordinationType.TOOLTIPS_VISIBLE,
406
- 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
407
430
  ],
408
431
  [ViewType.SPATIAL_BETA]: [
409
432
  CoordinationType.META_COORDINATION_SCOPES,
@@ -481,7 +504,27 @@ const COMPONENT_COORDINATION_TYPES = {
481
504
  CoordinationType.SPATIAL_CHANNEL_LABELS_ORIENTATION,
482
505
  CoordinationType.SPATIAL_CHANNEL_LABEL_SIZE,
483
506
  CoordinationType.SPATIAL_CHANNELS_SORT_ORDER,
484
- 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.
485
528
  ],
486
529
  [ViewType.HEATMAP]: [
487
530
  CoordinationType.DATASET,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/biomarker-select",
3
- "version": "4.0.8",
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/types": "4.0.8",
26
- "@vitessce/vit-s": "4.0.8",
27
- "@vitessce/constants-internal": "4.0.8",
28
- "@vitessce/styles": "4.0.8"
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",