@vitessce/description 3.3.1 → 3.3.3

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.
package/dist/index.js CHANGED
@@ -1320,7 +1320,9 @@ const COMPONENT_COORDINATION_TYPES = {
1320
1320
  CoordinationType.SPATIAL_SEGMENTATION_FILLED,
1321
1321
  CoordinationType.SPATIAL_SEGMENTATION_STROKE_WIDTH,
1322
1322
  CoordinationType.IMAGE_CHANNEL,
1323
+ CoordinationType.IMAGE_LAYER,
1323
1324
  CoordinationType.SEGMENTATION_CHANNEL,
1325
+ CoordinationType.SEGMENTATION_LAYER,
1324
1326
  CoordinationType.SPATIAL_CHANNEL_VISIBLE,
1325
1327
  CoordinationType.SPATIAL_CHANNEL_OPACITY,
1326
1328
  CoordinationType.SPATIAL_CHANNEL_WINDOW,
@@ -1338,6 +1340,9 @@ const COMPONENT_COORDINATION_TYPES = {
1338
1340
  CoordinationType.SPATIAL_SPOT_STROKE_WIDTH,
1339
1341
  CoordinationType.SPATIAL_LAYER_COLOR,
1340
1342
  CoordinationType.OBS_COLOR_ENCODING,
1343
+ CoordinationType.FEATURE_VALUE_COLORMAP,
1344
+ CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
1345
+ CoordinationType.FEATURE_SELECTION,
1341
1346
  CoordinationType.TOOLTIPS_VISIBLE,
1342
1347
  CoordinationType.TOOLTIP_CROSSHAIRS_VISIBLE,
1343
1348
  CoordinationType.LEGEND_VISIBLE,
@@ -6306,7 +6311,8 @@ function DescriptionSubscriber(props) {
6306
6311
  description: descriptionOverride,
6307
6312
  removeGridComponent,
6308
6313
  theme,
6309
- title = "Description"
6314
+ title = "Description",
6315
+ closeButtonVisible
6310
6316
  } = props;
6311
6317
  const loaders = useLoaders();
6312
6318
  const [{
@@ -6344,6 +6350,7 @@ function DescriptionSubscriber(props) {
6344
6350
  TitleInfo,
6345
6351
  {
6346
6352
  title,
6353
+ closeButtonVisible,
6347
6354
  removeGridComponent,
6348
6355
  isScroll: true,
6349
6356
  theme,
@@ -1 +1 @@
1
- {"version":3,"file":"DescriptionSubscriber.d.ts","sourceRoot":"","sources":["../src/DescriptionSubscriber.js"],"names":[],"mappings":"AAUA;;;;;;;;;;GAUG;AACH;IAPyB,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAEU,mBAAmB;IAErB,KAAK,EAAnB,MAAM;gBA4DhB"}
1
+ {"version":3,"file":"DescriptionSubscriber.d.ts","sourceRoot":"","sources":["../src/DescriptionSubscriber.js"],"names":[],"mappings":"AAUA;;;;;;;;;;GAUG;AACH;IAPyB,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAEU,mBAAmB;IAErB,KAAK,EAAnB,MAAM;gBA8DhB"}
@@ -15,7 +15,7 @@ import Description from './Description.js';
15
15
  * @param {string} props.title The component title.
16
16
  */
17
17
  export function DescriptionSubscriber(props) {
18
- const { coordinationScopes, description: descriptionOverride, removeGridComponent, theme, title = 'Description', } = props;
18
+ const { coordinationScopes, description: descriptionOverride, removeGridComponent, theme, title = 'Description', closeButtonVisible, } = props;
19
19
  const loaders = useLoaders();
20
20
  // Get "props" from the coordination space.
21
21
  const [{ dataset, spatialImageLayer: rasterLayers, }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType.DESCRIPTION], coordinationScopes);
@@ -40,5 +40,5 @@ export function DescriptionSubscriber(props) {
40
40
  }
41
41
  return result;
42
42
  }, [rasterLayers, imageLayerMeta, imageLayerLoaders]);
43
- return (_jsx(TitleInfo, { title: title, removeGridComponent: removeGridComponent, isScroll: true, theme: theme, isReady: isReady, children: _jsx(Description, { description: descriptionOverride || description, metadata: metadata }) }));
43
+ return (_jsx(TitleInfo, { title: title, closeButtonVisible: closeButtonVisible, removeGridComponent: removeGridComponent, isScroll: true, theme: theme, isReady: isReady, children: _jsx(Description, { description: descriptionOverride || description, metadata: metadata }) }));
44
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/description",
3
- "version": "3.3.1",
3
+ "version": "3.3.3",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -17,8 +17,8 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "@material-ui/core": "~4.12.3",
20
- "@vitessce/constants-internal": "3.3.1",
21
- "@vitessce/vit-s": "3.3.1"
20
+ "@vitessce/constants-internal": "3.3.3",
21
+ "@vitessce/vit-s": "3.3.3"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@testing-library/jest-dom": "^5.16.4",
@@ -26,6 +26,7 @@ export function DescriptionSubscriber(props) {
26
26
  removeGridComponent,
27
27
  theme,
28
28
  title = 'Description',
29
+ closeButtonVisible,
29
30
  } = props;
30
31
 
31
32
  const loaders = useLoaders();
@@ -66,6 +67,7 @@ export function DescriptionSubscriber(props) {
66
67
  return (
67
68
  <TitleInfo
68
69
  title={title}
70
+ closeButtonVisible={closeButtonVisible}
69
71
  removeGridComponent={removeGridComponent}
70
72
  isScroll
71
73
  theme={theme}