@vitessce/heatmap 3.3.5 → 3.3.6

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-dd20d252.js";
2
+ import { B as BaseDecoder } from "./index-18e85616.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -1346,8 +1346,9 @@ function getNextScope(prevScopes) {
1346
1346
  }
1347
1347
  const DEFAULT_DARK_COLOR = [50, 50, 50];
1348
1348
  const DEFAULT_LIGHT_COLOR$3 = [200, 200, 200];
1349
+ const DEFAULT_LIGHT2_COLOR = [235, 235, 235];
1349
1350
  function getDefaultColor(theme) {
1350
- return theme === "dark" ? DEFAULT_DARK_COLOR : DEFAULT_LIGHT_COLOR$3;
1351
+ return theme === "dark" ? DEFAULT_DARK_COLOR : theme === "light" ? DEFAULT_LIGHT_COLOR$3 : DEFAULT_LIGHT2_COLOR;
1351
1352
  }
1352
1353
  const DEFAULT_GL_OPTIONS = { webgl2: true };
1353
1354
  function createDefaultUpdateCellsHover(componentName) {
@@ -132647,16 +132648,16 @@ function addDecoder(cases, importFn) {
132647
132648
  }
132648
132649
  cases.forEach((c) => registry$1.set(c, importFn));
132649
132650
  }
132650
- addDecoder([void 0, 1], () => import("./raw-b95711bc.js").then((m) => m.default));
132651
- addDecoder(5, () => import("./lzw-c47337be.js").then((m) => m.default));
132651
+ addDecoder([void 0, 1], () => import("./raw-281b8e76.js").then((m) => m.default));
132652
+ addDecoder(5, () => import("./lzw-c8a11762.js").then((m) => m.default));
132652
132653
  addDecoder(6, () => {
132653
132654
  throw new Error("old style JPEG compression is not supported.");
132654
132655
  });
132655
- addDecoder(7, () => import("./jpeg-329d0b25.js").then((m) => m.default));
132656
- addDecoder([8, 32946], () => import("./deflate-e18d403c.js").then((m) => m.default));
132657
- addDecoder(32773, () => import("./packbits-4373d6cf.js").then((m) => m.default));
132658
- addDecoder(34887, () => import("./lerc-497104ea.js").then((m) => m.default));
132659
- addDecoder(50001, () => import("./webimage-85278526.js").then((m) => m.default));
132656
+ addDecoder(7, () => import("./jpeg-5104bd7b.js").then((m) => m.default));
132657
+ addDecoder([8, 32946], () => import("./deflate-20721e5b.js").then((m) => m.default));
132658
+ addDecoder(32773, () => import("./packbits-c1ce7870.js").then((m) => m.default));
132659
+ addDecoder(34887, () => import("./lerc-352d4a39.js").then((m) => m.default));
132660
+ addDecoder(50001, () => import("./webimage-8edff4f0.js").then((m) => m.default));
132660
132661
  function decodeRowAcc(row, stride) {
132661
132662
  let length2 = row.length - stride;
132662
132663
  let offset5 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a, H } from "./index-dd20d252.js";
1
+ import { a, H } from "./index-18e85616.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-dd20d252.js";
1
+ import { B as BaseDecoder } from "./index-18e85616.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-dd20d252.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-18e85616.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-dd20d252.js";
1
+ import { B as BaseDecoder } from "./index-18e85616.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-dd20d252.js";
1
+ import { B as BaseDecoder } from "./index-18e85616.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-dd20d252.js";
1
+ import { B as BaseDecoder } from "./index-18e85616.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-dd20d252.js";
1
+ import { B as BaseDecoder } from "./index-18e85616.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/heatmap",
3
- "version": "3.3.5",
3
+ "version": "3.3.6",
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.5",
24
- "@vitessce/gl": "3.3.5",
25
- "@vitessce/legend": "3.3.5",
26
- "@vitessce/tooltip": "3.3.5",
27
- "@vitessce/sets-utils": "3.3.5",
28
- "@vitessce/utils": "3.3.5",
29
- "@vitessce/vit-s": "3.3.5",
30
- "@vitessce/workers": "3.3.5"
23
+ "@vitessce/constants-internal": "3.3.6",
24
+ "@vitessce/sets-utils": "3.3.6",
25
+ "@vitessce/gl": "3.3.6",
26
+ "@vitessce/legend": "3.3.6",
27
+ "@vitessce/tooltip": "3.3.6",
28
+ "@vitessce/utils": "3.3.6",
29
+ "@vitessce/vit-s": "3.3.6",
30
+ "@vitessce/workers": "3.3.6"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@testing-library/jest-dom": "^5.16.4",