@vitessce/scatterplot-embedding 3.4.1 → 3.4.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.
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { B as BaseDecoder } from "./index-06bf9ea5.js";
2
+ import { B as BaseDecoder } from "./index-0e886311.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -121392,16 +121392,16 @@ function addDecoder(cases, importFn) {
121392
121392
  }
121393
121393
  cases.forEach((c2) => registry$1.set(c2, importFn));
121394
121394
  }
121395
- addDecoder([void 0, 1], () => import("./raw-3ddd3d9a.js").then((m2) => m2.default));
121396
- addDecoder(5, () => import("./lzw-d975dba4.js").then((m2) => m2.default));
121395
+ addDecoder([void 0, 1], () => import("./raw-517f7071.js").then((m2) => m2.default));
121396
+ addDecoder(5, () => import("./lzw-a9b3350a.js").then((m2) => m2.default));
121397
121397
  addDecoder(6, () => {
121398
121398
  throw new Error("old style JPEG compression is not supported.");
121399
121399
  });
121400
- addDecoder(7, () => import("./jpeg-b784d0a8.js").then((m2) => m2.default));
121401
- addDecoder([8, 32946], () => import("./deflate-e0c815b5.js").then((m2) => m2.default));
121402
- addDecoder(32773, () => import("./packbits-40c45d11.js").then((m2) => m2.default));
121403
- addDecoder(34887, () => import("./lerc-c0794c80.js").then((m2) => m2.default));
121404
- addDecoder(50001, () => import("./webimage-ba75a588.js").then((m2) => m2.default));
121400
+ addDecoder(7, () => import("./jpeg-e78923e1.js").then((m2) => m2.default));
121401
+ addDecoder([8, 32946], () => import("./deflate-79df35ef.js").then((m2) => m2.default));
121402
+ addDecoder(32773, () => import("./packbits-1e1b593d.js").then((m2) => m2.default));
121403
+ addDecoder(34887, () => import("./lerc-6a2fa149.js").then((m2) => m2.default));
121404
+ addDecoder(50001, () => import("./webimage-fd28665b.js").then((m2) => m2.default));
121405
121405
  function decodeRowAcc(row, stride) {
121406
121406
  let length2 = row.length - stride;
121407
121407
  let offset5 = 0;
@@ -148354,7 +148354,8 @@ function Legend(props) {
148354
148354
  g2.append("text").attr("text-anchor", "start").attr("dominant-baseline", "hanging").attr("x", 0).attr("y", y2).text(levelZeroName).style("font-size", "9px").style("fill", foregroundColor);
148355
148355
  y2 += titleHeight;
148356
148356
  setPaths.forEach((setPath) => {
148357
- const setColor = obsSetColor.find((d) => isEqual$1(d.path, setPath)).color;
148357
+ var _a2;
148358
+ const setColor = ((_a2 = obsSetColor == null ? void 0 : obsSetColor.find((d) => isEqual$1(d.path, setPath))) == null ? void 0 : _a2.color) || getDefaultColor(theme);
148358
148359
  g2.append("rect").attr("x", 0).attr("y", y2).attr("width", rectHeight).attr("height", rectHeight).attr("fill", `rgb(${setColor[0]},${setColor[1]},${setColor[2]})`);
148359
148360
  g2.append("text").attr("text-anchor", "start").attr("dominant-baseline", "hanging").attr("x", rectHeight + rectMarginX).attr("y", y2).text(setPath.at(-1)).style("font-size", "9px").style("fill", foregroundColor);
148360
148361
  y2 += rectHeight + rectMarginY;
@@ -148389,7 +148390,8 @@ function Legend(props) {
148389
148390
  spatialChannelColor,
148390
148391
  obsSetColor,
148391
148392
  obsSetSelection,
148392
- isSetColor
148393
+ isSetColor,
148394
+ theme
148393
148395
  ]);
148394
148396
  return jsxRuntimeExports.jsx("div", { className: clsx(classes.legend, {
148395
148397
  [classes.legendRelative]: positionRelative,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E } from "./index-06bf9ea5.js";
1
+ import { E } from "./index-0e886311.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-06bf9ea5.js";
1
+ import { B as BaseDecoder } from "./index-0e886311.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-06bf9ea5.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-0e886311.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-06bf9ea5.js";
1
+ import { B as BaseDecoder } from "./index-0e886311.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-06bf9ea5.js";
1
+ import { B as BaseDecoder } from "./index-0e886311.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-06bf9ea5.js";
1
+ import { B as BaseDecoder } from "./index-0e886311.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-06bf9ea5.js";
1
+ import { B as BaseDecoder } from "./index-0e886311.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/scatterplot-embedding",
3
- "version": "3.4.1",
3
+ "version": "3.4.3",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -20,12 +20,12 @@
20
20
  "d3-array": "^2.4.0",
21
21
  "lodash-es": "^4.17.21",
22
22
  "react-aria": "^3.28.0",
23
- "@vitessce/legend": "3.4.1",
24
- "@vitessce/scatterplot": "3.4.1",
25
- "@vitessce/sets-utils": "3.4.1",
26
- "@vitessce/utils": "3.4.1",
27
- "@vitessce/vit-s": "3.4.1",
28
- "@vitessce/constants-internal": "3.4.1"
23
+ "@vitessce/legend": "3.4.3",
24
+ "@vitessce/sets-utils": "3.4.3",
25
+ "@vitessce/scatterplot": "3.4.3",
26
+ "@vitessce/utils": "3.4.3",
27
+ "@vitessce/constants-internal": "3.4.3",
28
+ "@vitessce/vit-s": "3.4.3"
29
29
  },
30
30
  "devDependencies": {
31
31
  "react": "^18.0.0",