@vitessce/feature-list 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
@@ -665,7 +665,8 @@ const ViewType = {
665
665
  TREEMAP: "treemap",
666
666
  SAMPLE_SET_PAIR_MANAGER: "sampleSetPairManager",
667
667
  FEATURE_STATS_TABLE: "featureStatsTable",
668
- SINGLE_OBS_SET_SELECTOR: "singleObsSetSelector"
668
+ SINGLE_OBS_SET_SELECTOR: "singleObsSetSelector",
669
+ ANNOTATION_CONTROLLER: "annotationController"
669
670
  };
670
671
  const CoordinationType = {
671
672
  META_COORDINATION_SCOPES: "metaCoordinationScopes",
@@ -812,7 +813,15 @@ const CoordinationType = {
812
813
  FEATURE_POINT_FOLD_CHANGE_THRESHOLD: "featurePointFoldChangeThreshold",
813
814
  FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: "featureLabelFoldChangeThreshold",
814
815
  // Treemap
815
- HIERARCHY_LEVELS: "hierarchyLevels"
816
+ HIERARCHY_LEVELS: "hierarchyLevels",
817
+ // Annotation frames
818
+ ANNOTATION_STORY: "annotationStory",
819
+ ANNOTATION_FRAME_INDEX: "annotationFrameIndex",
820
+ ANNOTATION_SHAPES: "annotationShapes",
821
+ ANNOTATION_OVERLAY_VISIBLE: "annotationOverlayVisible",
822
+ ANNOTATION_TRANSITION_DURATION: "annotationTransitionDuration",
823
+ ANNOTATION_SEMANTIC_ZOOM: "annotationSemanticZoom",
824
+ ANNOTATION_EDITABLE: "annotationEditable"
816
825
  };
817
826
  const ViewHelpMapping = {
818
827
  FEATURE_LIST: "The feature list controller displays an interactive list of features (e.g., genes)."
@@ -907,7 +916,14 @@ const COMPONENT_COORDINATION_TYPES = {
907
916
  CoordinationType.EMBEDDING_CONTOURS_FILLED,
908
917
  CoordinationType.EMBEDDING_CONTOUR_PERCENTILES,
909
918
  CoordinationType.CONTOUR_COLOR_ENCODING,
910
- CoordinationType.CONTOUR_COLOR
919
+ CoordinationType.CONTOUR_COLOR,
920
+ CoordinationType.ANNOTATION_STORY,
921
+ CoordinationType.ANNOTATION_SHAPES,
922
+ CoordinationType.ANNOTATION_FRAME_INDEX,
923
+ CoordinationType.ANNOTATION_OVERLAY_VISIBLE,
924
+ CoordinationType.ANNOTATION_TRANSITION_DURATION,
925
+ CoordinationType.ANNOTATION_EDITABLE,
926
+ CoordinationType.ANNOTATION_SEMANTIC_ZOOM
911
927
  ],
912
928
  [ViewType.DUAL_SCATTERPLOT]: [
913
929
  CoordinationType.DATASET,
@@ -1023,7 +1039,14 @@ const COMPONENT_COORDINATION_TYPES = {
1023
1039
  CoordinationType.ADDITIONAL_OBS_SETS,
1024
1040
  CoordinationType.MOLECULE_HIGHLIGHT,
1025
1041
  CoordinationType.TOOLTIPS_VISIBLE,
1026
- CoordinationType.PHOTOMETRIC_INTERPRETATION
1042
+ CoordinationType.PHOTOMETRIC_INTERPRETATION,
1043
+ CoordinationType.ANNOTATION_STORY,
1044
+ CoordinationType.ANNOTATION_SHAPES,
1045
+ CoordinationType.ANNOTATION_FRAME_INDEX,
1046
+ CoordinationType.ANNOTATION_OVERLAY_VISIBLE,
1047
+ CoordinationType.ANNOTATION_TRANSITION_DURATION,
1048
+ CoordinationType.ANNOTATION_EDITABLE,
1049
+ CoordinationType.ANNOTATION_SEMANTIC_ZOOM
1027
1050
  ],
1028
1051
  [ViewType.SPATIAL_BETA]: [
1029
1052
  CoordinationType.META_COORDINATION_SCOPES,
@@ -1101,7 +1124,27 @@ const COMPONENT_COORDINATION_TYPES = {
1101
1124
  CoordinationType.SPATIAL_CHANNEL_LABELS_ORIENTATION,
1102
1125
  CoordinationType.SPATIAL_CHANNEL_LABEL_SIZE,
1103
1126
  CoordinationType.SPATIAL_CHANNELS_SORT_ORDER,
1104
- CoordinationType.PHOTOMETRIC_INTERPRETATION
1127
+ CoordinationType.PHOTOMETRIC_INTERPRETATION,
1128
+ CoordinationType.ANNOTATION_STORY,
1129
+ CoordinationType.ANNOTATION_SHAPES,
1130
+ CoordinationType.ANNOTATION_FRAME_INDEX,
1131
+ CoordinationType.ANNOTATION_OVERLAY_VISIBLE,
1132
+ CoordinationType.ANNOTATION_TRANSITION_DURATION,
1133
+ CoordinationType.ANNOTATION_EDITABLE,
1134
+ CoordinationType.ANNOTATION_SEMANTIC_ZOOM
1135
+ ],
1136
+ [ViewType.ANNOTATION_CONTROLLER]: [
1137
+ CoordinationType.DATASET,
1138
+ CoordinationType.ANNOTATION_STORY,
1139
+ CoordinationType.ANNOTATION_FRAME_INDEX,
1140
+ CoordinationType.ANNOTATION_OVERLAY_VISIBLE,
1141
+ CoordinationType.ANNOTATION_TRANSITION_DURATION,
1142
+ CoordinationType.ANNOTATION_EDITABLE,
1143
+ CoordinationType.ANNOTATION_SEMANTIC_ZOOM
1144
+ // Note: the annotation controller also needs to read the coordination state
1145
+ // of all other views/coordination types via the full config.
1146
+ // Note: we get/set the CoordinationType.ANNOTATION_SHAPES from the full config,
1147
+ // as this info is view-specific rather than global to the story.
1105
1148
  ],
1106
1149
  [ViewType.HEATMAP]: [
1107
1150
  CoordinationType.DATASET,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/feature-list",
3
- "version": "4.0.8",
3
+ "version": "4.0.9",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -21,10 +21,10 @@
21
21
  "react-virtualized": "^9.22.6",
22
22
  "uuid": "^9.0.0",
23
23
  "react-aria": "^3.47.0",
24
- "@vitessce/constants-internal": "4.0.8",
25
- "@vitessce/styles": "4.0.8",
26
- "@vitessce/utils": "4.0.8",
27
- "@vitessce/vit-s": "4.0.8"
24
+ "@vitessce/styles": "4.0.9",
25
+ "@vitessce/constants-internal": "4.0.9",
26
+ "@vitessce/vit-s": "4.0.9",
27
+ "@vitessce/utils": "4.0.9"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@testing-library/jest-dom": "^6.6.3",