vitessce 3.4.0 → 3.4.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 r } from "./pako.esm-a0be47a3.js";
2
- import { aQ as o } from "./index-65bd6df3.js";
2
+ import { aQ as o } from "./index-5e80abd3.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  class d extends o {
@@ -1,6 +1,6 @@
1
1
  import gh from "react";
2
2
  import yh from "react-dom";
3
- import { aT as Ca, g as Rl, aU as Ll, aV as Th } from "./index-65bd6df3.js";
3
+ import { aT as Ca, g as Rl, aU as Ll, aV as Th } from "./index-5e80abd3.js";
4
4
  function bh(T, g) {
5
5
  for (var a = 0; a < g.length; a++) {
6
6
  const h = g[a];
@@ -763,7 +763,7 @@ const Wn = {
763
763
  ie.OBS_COLOR_ENCODING,
764
764
  ie.ADDITIONAL_OBS_SETS
765
765
  ]
766
- }, SSt = "This file is autogenerated by .changeset/post-changelog.mjs.", xSt = "3.4.0", wSt = "2024-05-06", QSt = "changeset-release/main", TSt = "e540a905", RSt = {
766
+ }, SSt = "This file is autogenerated by .changeset/post-changelog.mjs.", xSt = "3.4.2", wSt = "2024-05-08", QSt = "changeset-release/main", TSt = "4e32867e", RSt = {
767
767
  note: SSt,
768
768
  version: xSt,
769
769
  date: wSt,
@@ -42487,7 +42487,7 @@ function Uyn(t) {
42487
42487
  zn(() => {
42488
42488
  f && f.length > 0 && E([]);
42489
42489
  }, [a, l]);
42490
- const [{ obsIndex: S, obsSets: w }, D, T] = uS(a, l, !0, { setObsSetSelection: I, setObsSetColor: C }, { obsSetSelection: u, obsSetColor: h }, { obsType: c }), M = au([D]), L = Ed([T]);
42490
+ const [{ obsIndex: S, obsSets: w }, D, T] = uS(a, l, !1, { setObsSetSelection: I, setObsSetColor: C }, { obsSetSelection: u, obsSetColor: h }, { obsType: c }), M = au([D]), L = Ed([T]);
42491
42491
  zn(() => {
42492
42492
  if (g) {
42493
42493
  let le, Z;
@@ -119039,16 +119039,16 @@ async function UZn(t) {
119039
119039
  const n = await e();
119040
119040
  return new n(t);
119041
119041
  }
119042
- BE([void 0, 1], () => import("./raw-1d88f7da.js").then((t) => t.default));
119043
- BE(5, () => import("./lzw-b3563b8c.js").then((t) => t.default));
119042
+ BE([void 0, 1], () => import("./raw-de8b4c81.js").then((t) => t.default));
119043
+ BE(5, () => import("./lzw-515abedd.js").then((t) => t.default));
119044
119044
  BE(6, () => {
119045
119045
  throw new Error("old style JPEG compression is not supported.");
119046
119046
  });
119047
- BE(7, () => import("./jpeg-b3156791.js").then((t) => t.default));
119048
- BE([8, 32946], () => import("./deflate-281545bb.js").then((t) => t.default));
119049
- BE(32773, () => import("./packbits-550a2eb0.js").then((t) => t.default));
119050
- BE(34887, () => import("./lerc-52b186f5.js").then((t) => t.default));
119051
- BE(50001, () => import("./webimage-f4ee62f2.js").then((t) => t.default));
119047
+ BE(7, () => import("./jpeg-63778ea4.js").then((t) => t.default));
119048
+ BE([8, 32946], () => import("./deflate-9c1eb7c3.js").then((t) => t.default));
119049
+ BE(32773, () => import("./packbits-6949b669.js").then((t) => t.default));
119050
+ BE(34887, () => import("./lerc-38a77217.js").then((t) => t.default));
119051
+ BE(50001, () => import("./webimage-86ae6f5b.js").then((t) => t.default));
119052
119052
  function SW(t, e, n, r = 1) {
119053
119053
  return new (Object.getPrototypeOf(t)).constructor(e * n * r);
119054
119054
  }
@@ -149538,7 +149538,7 @@ class qmr extends Pt.Component {
149538
149538
  }
149539
149539
  }
149540
149540
  const jmr = Pt.lazy(async () => {
149541
- const { SpatialWrapper: t } = await import("./index-c08f8b9b.js");
149541
+ const { SpatialWrapper: t } = await import("./index-c7212656.js");
149542
149542
  return { default: t };
149543
149543
  }), Ymr = Pt.forwardRef((t, e) => oe.jsx("div", { ref: e, style: { width: "100%", height: "100%" }, children: oe.jsx(qmr, { children: oe.jsx(Ipe, { fallback: oe.jsx("div", { children: "Loading..." }), children: oe.jsx(jmr, { ...t }) }) }) })), j5e = {
149544
149544
  zoom: 0,
@@ -154914,7 +154914,7 @@ const Gve = ei((t) => ({
154914
154914
  })), Wyr = "higlass-no-github-deps", Kyr = "1.11.13", Xyr = `https://unpkg.com/${Wyr}@${Kyr}/dist/hglib.css`;
154915
154915
  Yyr({ dataFetcher: z8e, config: z8e.config }, { pluginType: "dataFetcher" });
154916
154916
  const Zyr = Pt.lazy(async () => {
154917
- const { HiGlassComponent: t } = await import("./hglib-2d715568.js").then((e) => e.h);
154917
+ const { HiGlassComponent: t } = await import("./hglib-fa2dee0e.js").then((e) => e.h);
154918
154918
  return { default: t };
154919
154919
  }), W5 = 800;
154920
154920
  function Uve(t) {
@@ -195703,9 +195703,9 @@ function r7r(t) {
195703
195703
  function i7r(t) {
195704
195704
  const { yMin: e, yMax: n, yUnits: r, jitter: i, colors: o, data: s, theme: a, width: A, height: l, marginTop: c = 5, marginRight: u = 5, marginLeft: f = 80, marginBottom: h, obsType: g, cellHighlight: p, cellSetSelection: I, additionalCellSets: y, cellSetColor: C, featureType: E, featureValueType: B, featureName: _, onBarSelect: S, onBarHighlight: w } = t, D = Qt(() => {
195705
195705
  const L = /* @__PURE__ */ new Map();
195706
- I.forEach((k) => {
195706
+ return I?.forEach((k) => {
195707
195707
  const U = k[1];
195708
- y.tree[0].children.forEach((F) => {
195708
+ y?.tree?.[0]?.children?.forEach((F) => {
195709
195709
  F.name === U && F.set.forEach(([W]) => {
195710
195710
  const J = { name: "", id: "", color: [] };
195711
195711
  J.name = U, J.id = W, C.forEach(($) => {
@@ -195713,7 +195713,7 @@ function i7r(t) {
195713
195713
  }), L.set(J.id, J);
195714
195714
  });
195715
195715
  });
195716
- });
195716
+ }), L;
195717
195717
  }, [I, y, C]), T = li(), M = Qt(() => s.reduce((L, k) => (L = L === void 0 || k[UI].length > L ? k[UI].length : L, L), 0), [s]);
195718
195718
  return zn(() => {
195719
195719
  const L = T.current, k = r ? ` (${r})` : "", U = `${Ui(_)}${k}`, F = `${Ui(g)}`, W = h || 30 + Math.sqrt(M / 2) * 30, J = a === "dark" ? "lightgray" : "black";
@@ -1,4 +1,4 @@
1
- import { g as bf, R as Ff, O as Wr, P as Xr, S as fa, a as bl, N as Bp, A as jp, V as ye, b as V, c as xo, L as Fl, T as da, d as Up, U as Hp, W as Vp, C as Gp, B as Wp, e as Xp, f as Kp, h as Da, M as po, i as _n, j as Yp, _ as Gn, k as Qp, G as lr, l as $e, m as qp, n as pa, o as Bf, p as jf, q as Zp, r as ar, F as Uf, s as Jp, t as $p, D as eh, u as sr, v as Tn, I as th, w as ka, x as nh, y as rh, z as bi, E as ih, H as go, J as Hf, K as ha, Q as sh, X as oh, Y as ba, Z as Vf, $ as lh, a0 as ah, a1 as Wn, a2 as uh, a3 as ch, a4 as fh, a5 as dh, a6 as Gf, a7 as ph, a8 as Wf, a9 as hh, aa as mh, ab as vo, ac as gh, ad as vh, ae as yh, af as xh, ag as wh, ah as Sh, ai as _h, aj as qr, ak as or, al as Eh, am as zc, an as Th, ao as Ye, ap as Jr, aq as Ah, ar as Ph, as as Xf, at as Fa, au as Ch, av as Mr, aw as Lr, ax as Oc, ay as Mh, az as Dc, aA as ma, aB as Lh, aC as Rh, aD as ga, aE as kc, aF as Ui, aG as dn, aH as Di, aI as Kf, aJ as ne, aK as Nh, aL as Ft, aM as Ih, aN as zh, aO as Oh, aP as Dh } from "./index-65bd6df3.js";
1
+ import { g as bf, R as Ff, O as Wr, P as Xr, S as fa, a as bl, N as Bp, A as jp, V as ye, b as V, c as xo, L as Fl, T as da, d as Up, U as Hp, W as Vp, C as Gp, B as Wp, e as Xp, f as Kp, h as Da, M as po, i as _n, j as Yp, _ as Gn, k as Qp, G as lr, l as $e, m as qp, n as pa, o as Bf, p as jf, q as Zp, r as ar, F as Uf, s as Jp, t as $p, D as eh, u as sr, v as Tn, I as th, w as ka, x as nh, y as rh, z as bi, E as ih, H as go, J as Hf, K as ha, Q as sh, X as oh, Y as ba, Z as Vf, $ as lh, a0 as ah, a1 as Wn, a2 as uh, a3 as ch, a4 as fh, a5 as dh, a6 as Gf, a7 as ph, a8 as Wf, a9 as hh, aa as mh, ab as vo, ac as gh, ad as vh, ae as yh, af as xh, ag as wh, ah as Sh, ai as _h, aj as qr, ak as or, al as Eh, am as zc, an as Th, ao as Ye, ap as Jr, aq as Ah, ar as Ph, as as Xf, at as Fa, au as Ch, av as Mr, aw as Lr, ax as Oc, ay as Mh, az as Dc, aA as ma, aB as Lh, aC as Rh, aD as ga, aE as kc, aF as Ui, aG as dn, aH as Di, aI as Kf, aJ as ne, aK as Nh, aL as Ft, aM as Ih, aN as zh, aO as Oh, aP as Dh } from "./index-5e80abd3.js";
2
2
  import * as B from "react";
3
3
  import kh, { useState as ht, useRef as pn, useEffect as Sn, useMemo as bh, forwardRef as Fh } from "react";
4
4
  import "react-dom";
@@ -9865,7 +9865,7 @@ const Jg = /* @__PURE__ */ B.forwardRef(function({
9865
9865
  const {
9866
9866
  Text: p,
9867
9867
  preloadFont: m
9868
- } = bc(async () => import("./troika-three-text.esm-a1c39d8e.js"), []), v = rt(({
9868
+ } = bc(async () => import("./troika-three-text.esm-06869364.js"), []), v = rt(({
9869
9869
  invalidate: T
9870
9870
  }) => T), [x] = B.useState(() => new p()), [_, A] = B.useMemo(() => {
9871
9871
  const T = [];
@@ -11762,7 +11762,7 @@ function ca(o) {
11762
11762
  function av(o) {
11763
11763
  const { segmentationGroup: n, segmentationSettings: r, segmentationSceneScale: i, renderingSettings: l, materialRef: u, highlightGlom: a, setObsHighlight: d } = o, f = pn(), g = pn(), p = pn(), { isPresenting: m } = Ue();
11764
11764
  Sn(() => {
11765
- m && f?.current ? u !== null && (u.current.material.uniforms.u_physical_Pixel.value = 0.2) : m || u !== null && (u.current.material.uniforms.u_physical_Pixel.value = 2);
11765
+ m && f?.current ? u !== null && (u.current.material.uniforms.u_physical_Pixel.value = 0.2) : m || u !== null && (u.current.material.uniforms.u_physical_Pixel.value = 2.5);
11766
11766
  }, [m]);
11767
11767
  const { scene: v } = rt(), { controllers: x } = Ue(), [_, A] = ht(!1), [T, w] = ht(!1), [S, E] = ht(!1), [P, M] = ht({
11768
11768
  startPoint: new V(),
package/dist/index.min.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ba as n, b5 as s, b3 as b, b4 as t, be as p, bf as r, b6 as T, bl as d, bj as c, bm as l, bk as C, b2 as g, bi as y, b7 as P, b1 as f, b0 as I, bc as m, bb as _, bd as u, bh as F, bg as S, b9 as N, bo as O, b8 as V, bn as E } from "./index-65bd6df3.js";
1
+ import { ba as n, b5 as s, b3 as b, b4 as t, be as p, bf as r, b6 as T, bl as d, bj as c, bm as l, bk as C, b2 as g, bi as y, b7 as P, b1 as f, b0 as I, bc as m, bb as _, bd as u, bh as F, bg as S, b9 as N, bo as O, b8 as V, bn as E } from "./index-5e80abd3.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { aQ as re } from "./index-65bd6df3.js";
1
+ import { aQ as re } from "./index-5e80abd3.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const O = new Int32Array([
@@ -1,5 +1,5 @@
1
1
  import { i as te } from "./pako.esm-a0be47a3.js";
2
- import { g as se, aQ as le, aR as oe, aS as re } from "./index-65bd6df3.js";
2
+ import { g as se, aQ as le, aR as oe, aS as re } from "./index-5e80abd3.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  var ie = { exports: {} };
@@ -1,4 +1,4 @@
1
- import { aQ as b } from "./index-65bd6df3.js";
1
+ import { aQ as b } from "./index-5e80abd3.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const m = 9, E = 256, D = 257, k = 12;
@@ -1,4 +1,4 @@
1
- import { aQ as i } from "./index-65bd6df3.js";
1
+ import { aQ as i } from "./index-5e80abd3.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class p extends i {
@@ -1,4 +1,4 @@
1
- import { aQ as o } from "./index-65bd6df3.js";
1
+ import { aQ as o } from "./index-5e80abd3.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class s extends o {
@@ -1,4 +1,4 @@
1
- import { aD as wn, aW as Tn, aX as Fn, aY as Cn, aZ as An, T as Dn, H as Wr, ay as En, ap as Mn, ao as Rn, aI as Gn, Z as on, a_ as On, V as Bt, aF as zr, i as vr, aK as Ln, a1 as pr, aj as Bn, a$ as gr, h as Pn, az as In, u as Nn, l as Wn, b as mr } from "./index-65bd6df3.js";
1
+ import { aD as wn, aW as Tn, aX as Fn, aY as Cn, aZ as An, T as Dn, H as Wr, ay as En, ap as Mn, ao as Rn, aI as Gn, Z as on, a_ as On, V as Bt, aF as zr, i as vr, aK as Ln, a1 as pr, aj as Bn, a$ as gr, h as Pn, az as In, u as Nn, l as Wn, b as mr } from "./index-5e80abd3.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  function zn() {
@@ -1,4 +1,4 @@
1
- import { aQ as r } from "./index-65bd6df3.js";
1
+ import { aQ as r } from "./index-5e80abd3.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class m extends r {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vitessce",
3
- "version": "3.4.0",
3
+ "version": "3.4.2",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -16,10 +16,10 @@
16
16
  "dist-tsc"
17
17
  ],
18
18
  "dependencies": {
19
- "@vitessce/all": "3.4.0",
20
- "@vitessce/config": "3.4.0",
21
- "@vitessce/export-utils": "3.4.0",
22
- "@vitessce/constants": "3.4.0"
19
+ "@vitessce/all": "3.4.2",
20
+ "@vitessce/config": "3.4.2",
21
+ "@vitessce/constants": "3.4.2",
22
+ "@vitessce/export-utils": "3.4.2"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@vitejs/plugin-react": "^4.0.0",