@vitessce/statistical-plots 3.9.1 → 3.9.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-SxljTded.js";
2
- import { B as BaseDecoder } from "./index-DQNZPvU7.js";
2
+ import { B as BaseDecoder } from "./index-ButG05zl.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -75383,21 +75383,20 @@ Popper.Utils = (typeof window !== "undefined" ? window : global).PopperUtils;
75383
75383
  Popper.placements = placements;
75384
75384
  Popper.Defaults = Defaults;
75385
75385
  function createChainedFunction(...funcs) {
75386
- return funcs.reduce((acc, func) => {
75387
- if (func == null) {
75388
- return acc;
75389
- }
75390
- {
75391
- if (typeof func !== "function") {
75392
- console.error("Material-UI: Invalid Argument Type, must only provide functions, undefined, or null.");
75386
+ return funcs.reduce(
75387
+ (acc, func) => {
75388
+ if (func == null) {
75389
+ return acc;
75393
75390
  }
75391
+ return function chainedFunction(...args) {
75392
+ acc.apply(this, args);
75393
+ func.apply(this, args);
75394
+ };
75395
+ },
75396
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
75397
+ () => {
75394
75398
  }
75395
- return function chainedFunction(...args) {
75396
- acc.apply(this, args);
75397
- func.apply(this, args);
75398
- };
75399
- }, () => {
75400
- });
75399
+ );
75401
75400
  }
75402
75401
  function setRef(ref2, value2) {
75403
75402
  if (typeof ref2 === "function") {
@@ -75436,7 +75435,7 @@ function flipPlacement(placement, theme) {
75436
75435
  }
75437
75436
  }
75438
75437
  function getAnchorEl(anchorEl) {
75439
- return typeof anchorEl === "function" ? anchorEl() : anchorEl;
75438
+ return typeof anchorEl === "function" ? anchorEl(document.body) : anchorEl;
75440
75439
  }
75441
75440
  const useEnhancedEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
75442
75441
  const defaultPopperOptions = {};
@@ -75466,25 +75465,18 @@ React.forwardRef((props, ref2) => {
75466
75465
  }
75467
75466
  if (popperRef.current) {
75468
75467
  popperRef.current.destroy();
75469
- handlePopperRefRef.current(null);
75468
+ if (handlePopperRefRef.current) {
75469
+ setRef(handlePopperRefRef.current, null);
75470
+ }
75470
75471
  }
75471
75472
  const handlePopperUpdate = (data2) => {
75472
75473
  setPlacement(data2.placement);
75473
75474
  };
75474
- const resolvedAnchorEl = getAnchorEl(anchorEl);
75475
- {
75476
- if (resolvedAnchorEl && resolvedAnchorEl.nodeType === 1) {
75477
- const box = resolvedAnchorEl.getBoundingClientRect();
75478
- if (box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {
75479
- console.warn([
75480
- "Material-UI: The `anchorEl` prop provided to the component is invalid.",
75481
- "The anchor element should be part of the document layout.",
75482
- "Make sure the element is present in the document or that it's not display none."
75483
- ].join("\n"));
75484
- }
75485
- }
75475
+ const anchorElement = getAnchorEl(anchorEl);
75476
+ if (!anchorElement) {
75477
+ return;
75486
75478
  }
75487
- const popper2 = new Popper(getAnchorEl(anchorEl), tooltipRef.current, {
75479
+ const popper2 = new Popper(anchorElement, tooltipRef.current, {
75488
75480
  placement: rtlPlacement,
75489
75481
  ...popperOptions,
75490
75482
  modifiers: {
@@ -75502,7 +75494,9 @@ React.forwardRef((props, ref2) => {
75502
75494
  onCreate: createChainedFunction(handlePopperUpdate, popperOptions.onCreate),
75503
75495
  onUpdate: createChainedFunction(handlePopperUpdate, popperOptions.onUpdate)
75504
75496
  });
75505
- handlePopperRefRef.current(popper2);
75497
+ if (handlePopperRefRef.current) {
75498
+ setRef(handlePopperRefRef.current, popper2);
75499
+ }
75506
75500
  }, [anchorEl, disablePortal, modifiers2, open, rtlPlacement, popperOptions]);
75507
75501
  const handleRef = React.useCallback((node2) => {
75508
75502
  setRef(ownRef, node2);
@@ -75516,7 +75510,9 @@ React.forwardRef((props, ref2) => {
75516
75510
  return;
75517
75511
  }
75518
75512
  popperRef.current.destroy();
75519
- handlePopperRefRef.current(null);
75513
+ if (handlePopperRefRef.current) {
75514
+ setRef(handlePopperRefRef.current, null);
75515
+ }
75520
75516
  };
75521
75517
  const handleExited = () => {
75522
75518
  setExited(true);
@@ -75547,7 +75543,7 @@ React.forwardRef((props, ref2) => {
75547
75543
  // Fix Popper.js display issue
75548
75544
  top: 0,
75549
75545
  left: 0,
75550
- display: !open && keepMounted && !transition2 ? "none" : null,
75546
+ display: !open && keepMounted && !transition2 ? "none" : void 0,
75551
75547
  ...style2
75552
75548
  }, children: typeof children2 === "function" ? children2(childProps) : children2 }) });
75553
75549
  });
@@ -179157,22 +179153,22 @@ function addDecoder(cases2, importFn) {
179157
179153
  }
179158
179154
  cases2.forEach((c2) => registry$1.set(c2, importFn));
179159
179155
  }
179160
- addDecoder([void 0, 1], () => import("./raw-D9gtw8Jf.js").then((m2) => m2.default));
179161
- addDecoder(5, () => import("./lzw-BtWmo4l4.js").then((m2) => m2.default));
179156
+ addDecoder([void 0, 1], () => import("./raw-Cf7lJAa6.js").then((m2) => m2.default));
179157
+ addDecoder(5, () => import("./lzw-D3137bqn.js").then((m2) => m2.default));
179162
179158
  addDecoder(6, () => {
179163
179159
  throw new Error("old style JPEG compression is not supported.");
179164
179160
  });
179165
- addDecoder(7, () => import("./jpeg-6eOh2nfm.js").then((m2) => m2.default));
179166
- addDecoder([8, 32946], () => import("./deflate-SjqVcI9s.js").then((m2) => m2.default));
179167
- addDecoder(32773, () => import("./packbits-tosASsXM.js").then((m2) => m2.default));
179161
+ addDecoder(7, () => import("./jpeg-C6yr9rB2.js").then((m2) => m2.default));
179162
+ addDecoder([8, 32946], () => import("./deflate-B-ETt-yB.js").then((m2) => m2.default));
179163
+ addDecoder(32773, () => import("./packbits-CE3ikUHn.js").then((m2) => m2.default));
179168
179164
  addDecoder(
179169
179165
  34887,
179170
- () => import("./lerc-DqyheC4U.js").then(async (m2) => {
179166
+ () => import("./lerc-CZimPdvH.js").then(async (m2) => {
179171
179167
  await m2.zstd.init();
179172
179168
  return m2;
179173
179169
  }).then((m2) => m2.default)
179174
179170
  );
179175
- addDecoder(50001, () => import("./webimage-DiBGmjKS.js").then((m2) => m2.default));
179171
+ addDecoder(50001, () => import("./webimage-WgWEq7iv.js").then((m2) => m2.default));
179176
179172
  function decodeRowAcc(row, stride) {
179177
179173
  let length2 = row.length - stride;
179178
179174
  let offset2 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b, f, C, e, a, i, D, h, E, F, c, d, T, V } from "./index-DQNZPvU7.js";
1
+ import { b, f, C, e, a, i, D, h, E, F, c, d, T, V } from "./index-ButG05zl.js";
2
2
  export {
3
3
  b as CellSetCompositionBarPlotSubscriber,
4
4
  f as CellSetExpressionPlot,
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-DQNZPvU7.js";
1
+ import { B as BaseDecoder } from "./index-ButG05zl.js";
2
2
  const dctZigZag = new Int32Array([
3
3
  0,
4
4
  1,
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-DQNZPvU7.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-ButG05zl.js";
3
3
  const LercParameters = {
4
4
  AddCompression: 1
5
5
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-DQNZPvU7.js";
1
+ import { B as BaseDecoder } from "./index-ButG05zl.js";
2
2
  const MIN_BITS = 9;
3
3
  const CLEAR_CODE = 256;
4
4
  const EOI_CODE = 257;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-DQNZPvU7.js";
1
+ import { B as BaseDecoder } from "./index-ButG05zl.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-DQNZPvU7.js";
1
+ import { B as BaseDecoder } from "./index-ButG05zl.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-DQNZPvU7.js";
1
+ import { B as BaseDecoder } from "./index-ButG05zl.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/statistical-plots",
3
- "version": "3.9.1",
3
+ "version": "3.9.2",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -28,13 +28,13 @@
28
28
  "react-aria": "^3.28.0",
29
29
  "internmap": "^2.0.3",
30
30
  "uuid": "^9.0.0",
31
- "@vitessce/styles": "3.9.1",
32
- "@vitessce/constants-internal": "3.9.1",
33
- "@vitessce/sets-utils": "3.9.1",
34
- "@vitessce/vega": "3.9.1",
35
- "@vitessce/utils": "3.9.1",
36
- "@vitessce/gl": "3.9.1",
37
- "@vitessce/vit-s": "3.9.1"
31
+ "@vitessce/styles": "3.9.2",
32
+ "@vitessce/sets-utils": "3.9.2",
33
+ "@vitessce/utils": "3.9.2",
34
+ "@vitessce/vega": "3.9.2",
35
+ "@vitessce/constants-internal": "3.9.2",
36
+ "@vitessce/vit-s": "3.9.2",
37
+ "@vitessce/gl": "3.9.2"
38
38
  },
39
39
  "devDependencies": {
40
40
  "react": "18.3.1",