@vitessce/feature-list 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
@@ -664,7 +664,9 @@ const ViewType = {
664
664
  DUAL_SCATTERPLOT: "dualScatterplot",
665
665
  TREEMAP: "treemap",
666
666
  SAMPLE_SET_PAIR_MANAGER: "sampleSetPairManager",
667
- FEATURE_STATS_TABLE: "featureStatsTable"
667
+ FEATURE_STATS_TABLE: "featureStatsTable",
668
+ SINGLE_OBS_SET_SELECTOR: "singleObsSetSelector",
669
+ ANNOTATION_CONTROLLER: "annotationController"
668
670
  };
669
671
  const CoordinationType = {
670
672
  META_COORDINATION_SCOPES: "metaCoordinationScopes",
@@ -811,7 +813,15 @@ const CoordinationType = {
811
813
  FEATURE_POINT_FOLD_CHANGE_THRESHOLD: "featurePointFoldChangeThreshold",
812
814
  FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: "featureLabelFoldChangeThreshold",
813
815
  // Treemap
814
- 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"
815
825
  };
816
826
  const ViewHelpMapping = {
817
827
  FEATURE_LIST: "The feature list controller displays an interactive list of features (e.g., genes)."
@@ -906,7 +916,14 @@ const COMPONENT_COORDINATION_TYPES = {
906
916
  CoordinationType.EMBEDDING_CONTOURS_FILLED,
907
917
  CoordinationType.EMBEDDING_CONTOUR_PERCENTILES,
908
918
  CoordinationType.CONTOUR_COLOR_ENCODING,
909
- 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
910
927
  ],
911
928
  [ViewType.DUAL_SCATTERPLOT]: [
912
929
  CoordinationType.DATASET,
@@ -1022,7 +1039,14 @@ const COMPONENT_COORDINATION_TYPES = {
1022
1039
  CoordinationType.ADDITIONAL_OBS_SETS,
1023
1040
  CoordinationType.MOLECULE_HIGHLIGHT,
1024
1041
  CoordinationType.TOOLTIPS_VISIBLE,
1025
- 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
1026
1050
  ],
1027
1051
  [ViewType.SPATIAL_BETA]: [
1028
1052
  CoordinationType.META_COORDINATION_SCOPES,
@@ -1100,7 +1124,27 @@ const COMPONENT_COORDINATION_TYPES = {
1100
1124
  CoordinationType.SPATIAL_CHANNEL_LABELS_ORIENTATION,
1101
1125
  CoordinationType.SPATIAL_CHANNEL_LABEL_SIZE,
1102
1126
  CoordinationType.SPATIAL_CHANNELS_SORT_ORDER,
1103
- 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.
1104
1148
  ],
1105
1149
  [ViewType.HEATMAP]: [
1106
1150
  CoordinationType.DATASET,
@@ -1410,6 +1454,11 @@ const COMPONENT_COORDINATION_TYPES = {
1410
1454
  CoordinationType.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
1411
1455
  CoordinationType.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD
1412
1456
  ],
1457
+ [ViewType.SINGLE_OBS_SET_SELECTOR]: [
1458
+ CoordinationType.OBS_TYPE,
1459
+ CoordinationType.OBS_SET_COLOR,
1460
+ CoordinationType.OBS_SET_SELECTION
1461
+ ],
1413
1462
  [ViewType.OBS_SET_COMPOSITION_BAR_PLOT]: [
1414
1463
  CoordinationType.DATASET,
1415
1464
  CoordinationType.OBS_TYPE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/feature-list",
3
- "version": "4.0.7",
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.7",
25
- "@vitessce/styles": "4.0.7",
26
- "@vitessce/vit-s": "4.0.7",
27
- "@vitessce/utils": "4.0.7"
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",