@vitessce/heatmap 3.3.1 → 3.3.2

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.
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { B as BaseDecoder } from "./index-6515eb5d.js";
2
+ import { B as BaseDecoder } from "./index-b879347c.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -132610,16 +132610,16 @@ function addDecoder(cases, importFn) {
132610
132610
  }
132611
132611
  cases.forEach((c) => registry$1.set(c, importFn));
132612
132612
  }
132613
- addDecoder([void 0, 1], () => import("./raw-70e6b59a.js").then((m) => m.default));
132614
- addDecoder(5, () => import("./lzw-a69646f9.js").then((m) => m.default));
132613
+ addDecoder([void 0, 1], () => import("./raw-486d710b.js").then((m) => m.default));
132614
+ addDecoder(5, () => import("./lzw-4bad7337.js").then((m) => m.default));
132615
132615
  addDecoder(6, () => {
132616
132616
  throw new Error("old style JPEG compression is not supported.");
132617
132617
  });
132618
- addDecoder(7, () => import("./jpeg-aa77b6ec.js").then((m) => m.default));
132619
- addDecoder([8, 32946], () => import("./deflate-9263f588.js").then((m) => m.default));
132620
- addDecoder(32773, () => import("./packbits-fe4063d1.js").then((m) => m.default));
132621
- addDecoder(34887, () => import("./lerc-1fcb6280.js").then((m) => m.default));
132622
- addDecoder(50001, () => import("./webimage-093820b7.js").then((m) => m.default));
132618
+ addDecoder(7, () => import("./jpeg-f4efd5d2.js").then((m) => m.default));
132619
+ addDecoder([8, 32946], () => import("./deflate-75a89dc6.js").then((m) => m.default));
132620
+ addDecoder(32773, () => import("./packbits-2b4a014a.js").then((m) => m.default));
132621
+ addDecoder(34887, () => import("./lerc-24acd19a.js").then((m) => m.default));
132622
+ addDecoder(50001, () => import("./webimage-5effa8da.js").then((m) => m.default));
132623
132623
  function decodeRowAcc(row, stride) {
132624
132624
  let length2 = row.length - stride;
132625
132625
  let offset5 = 0;
@@ -145237,6 +145237,8 @@ function HeatmapSubscriber(props2) {
145237
145237
  const {
145238
145238
  uuid,
145239
145239
  coordinationScopes,
145240
+ closeButtonVisible,
145241
+ downloadButtonVisible,
145240
145242
  removeGridComponent,
145241
145243
  theme,
145242
145244
  transpose: transpose2,
@@ -145397,6 +145399,8 @@ function HeatmapSubscriber(props2) {
145397
145399
  with ${commaNumber(selectedCount)} ${pluralize(observationsLabel, selectedCount)} selected`,
145398
145400
  urls,
145399
145401
  theme,
145402
+ closeButtonVisible,
145403
+ downloadButtonVisible,
145400
145404
  removeGridComponent,
145401
145405
  isReady: isReady && !isRendering,
145402
145406
  options: /* @__PURE__ */ jsxRuntimeExports.jsx(
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a, H } from "./index-6515eb5d.js";
1
+ import { a, H } from "./index-b879347c.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-6515eb5d.js";
1
+ import { B as BaseDecoder } from "./index-b879347c.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-6515eb5d.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-b879347c.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-6515eb5d.js";
1
+ import { B as BaseDecoder } from "./index-b879347c.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-6515eb5d.js";
1
+ import { B as BaseDecoder } from "./index-b879347c.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-6515eb5d.js";
1
+ import { B as BaseDecoder } from "./index-b879347c.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-6515eb5d.js";
1
+ import { B as BaseDecoder } from "./index-b879347c.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1 +1 @@
1
- {"version":3,"file":"HeatmapSubscriber.d.ts","sourceRoot":"","sources":["../src/HeatmapSubscriber.js"],"names":[],"mappings":"AA2BA;;;;;;;;;;GAUG;AACH;IATyB,IAAI,EAAlB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAEU,mBAAmB;IAErB,KAAK,EAAnB,MAAM;IACS,SAAS,EAAxB,OAAO;gBAsPjB"}
1
+ {"version":3,"file":"HeatmapSubscriber.d.ts","sourceRoot":"","sources":["../src/HeatmapSubscriber.js"],"names":[],"mappings":"AA2BA;;;;;;;;;;GAUG;AACH;IATyB,IAAI,EAAlB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAEU,mBAAmB;IAErB,KAAK,EAAnB,MAAM;IACS,SAAS,EAAxB,OAAO;gBA0PjB"}
@@ -20,7 +20,7 @@ import HeatmapOptions from './HeatmapOptions.js';
20
20
  * render as cell-by-gene or gene-by-cell.
21
21
  */
22
22
  export function HeatmapSubscriber(props) {
23
- const { uuid, coordinationScopes, removeGridComponent, theme, transpose, observationsLabelOverride, variablesLabelOverride, title = 'Heatmap', } = props;
23
+ const { uuid, coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, transpose, observationsLabelOverride, variablesLabelOverride, title = 'Heatmap', } = props;
24
24
  const loaders = useLoaders();
25
25
  const setComponentHover = useSetComponentHover();
26
26
  const setComponentViewInfo = useSetComponentViewInfo(uuid);
@@ -100,7 +100,7 @@ export function HeatmapSubscriber(props) {
100
100
  ]), [observationsLabel]);
101
101
  const selectedCount = cellColors.size;
102
102
  return (_jsxs(TitleInfo, { title: title, info: `${commaNumber(cellsCount)} ${plur(observationsLabel, cellsCount)} × ${commaNumber(genesCount)} ${plur(variablesLabel, genesCount)},
103
- with ${commaNumber(selectedCount)} ${plur(observationsLabel, selectedCount)} selected`, urls: urls, theme: theme, removeGridComponent: removeGridComponent, isReady: isReady && !isRendering, options: (_jsx(HeatmapOptions, { geneExpressionColormap: geneExpressionColormap, setGeneExpressionColormap: setGeneExpressionColormap, geneExpressionColormapRange: geneExpressionColormapRange, setGeneExpressionColormapRange: setGeneExpressionColormapRange, tooltipsVisible: tooltipsVisible, setTooltipsVisible: setTooltipsVisible })), children: [_jsx(Heatmap, { ref: deckRef, transpose: transpose, viewState: { zoom: zoomX, target: [targetX, targetY] }, setViewState: ({ zoom, target }) => {
103
+ with ${commaNumber(selectedCount)} ${plur(observationsLabel, selectedCount)} selected`, urls: urls, theme: theme, closeButtonVisible: closeButtonVisible, downloadButtonVisible: downloadButtonVisible, removeGridComponent: removeGridComponent, isReady: isReady && !isRendering, options: (_jsx(HeatmapOptions, { geneExpressionColormap: geneExpressionColormap, setGeneExpressionColormap: setGeneExpressionColormap, geneExpressionColormapRange: geneExpressionColormapRange, setGeneExpressionColormapRange: setGeneExpressionColormapRange, tooltipsVisible: tooltipsVisible, setTooltipsVisible: setTooltipsVisible })), children: [_jsx(Heatmap, { ref: deckRef, transpose: transpose, viewState: { zoom: zoomX, target: [targetX, targetY] }, setViewState: ({ zoom, target }) => {
104
104
  setZoomX(zoom);
105
105
  setZoomY(zoom);
106
106
  setTargetX(target[0]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/heatmap",
3
- "version": "3.3.1",
3
+ "version": "3.3.2",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -20,14 +20,14 @@
20
20
  "lodash-es": "^4.17.21",
21
21
  "uuid": "^9.0.0",
22
22
  "react-aria": "^3.28.0",
23
- "@vitessce/constants-internal": "3.3.1",
24
- "@vitessce/legend": "3.3.1",
25
- "@vitessce/sets-utils": "3.3.1",
26
- "@vitessce/gl": "3.3.1",
27
- "@vitessce/tooltip": "3.3.1",
28
- "@vitessce/utils": "3.3.1",
29
- "@vitessce/workers": "3.3.1",
30
- "@vitessce/vit-s": "3.3.1"
23
+ "@vitessce/gl": "3.3.2",
24
+ "@vitessce/sets-utils": "3.3.2",
25
+ "@vitessce/legend": "3.3.2",
26
+ "@vitessce/tooltip": "3.3.2",
27
+ "@vitessce/vit-s": "3.3.2",
28
+ "@vitessce/utils": "3.3.2",
29
+ "@vitessce/workers": "3.3.2",
30
+ "@vitessce/constants-internal": "3.3.2"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@testing-library/jest-dom": "^5.16.4",
@@ -40,6 +40,8 @@ export function HeatmapSubscriber(props) {
40
40
  const {
41
41
  uuid,
42
42
  coordinationScopes,
43
+ closeButtonVisible,
44
+ downloadButtonVisible,
43
45
  removeGridComponent,
44
46
  theme,
45
47
  transpose,
@@ -201,6 +203,8 @@ export function HeatmapSubscriber(props) {
201
203
  with ${commaNumber(selectedCount)} ${plur(observationsLabel, selectedCount)} selected`}
202
204
  urls={urls}
203
205
  theme={theme}
206
+ closeButtonVisible={closeButtonVisible}
207
+ downloadButtonVisible={downloadButtonVisible}
204
208
  removeGridComponent={removeGridComponent}
205
209
  isReady={isReady && !isRendering}
206
210
  options={(