@vitessce/dev 3.2.0 → 3.2.1

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-440cb4b9.js";
2
+ import { B as BaseDecoder } from "./index-c78951cf.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  class DeflateDecoder extends BaseDecoder {
@@ -1,6 +1,6 @@
1
1
  import React__default from "react";
2
2
  import ReactDOM__default from "react-dom";
3
- import { c as commonjsGlobal, o as objectAssign, g as getDefaultExportFromCjs, e as earcut, b as getAugmentedNamespace } from "./index-440cb4b9.js";
3
+ import { c as commonjsGlobal, o as objectAssign, g as getDefaultExportFromCjs, e as earcut, b as getAugmentedNamespace } from "./index-c78951cf.js";
4
4
  function _mergeNamespaces(n, m) {
5
5
  for (var i = 0; i < m.length; i++) {
6
6
  const e = m[i];
@@ -5,7 +5,7 @@ var __publicField = (obj, key2, value2) => {
5
5
  return value2;
6
6
  };
7
7
  import * as React$6 from "react";
8
- import React__default, { Children, isValidElement, cloneElement as cloneElement$1, useReducer, useRef, useDebugValue, useEffect, useLayoutEffect as useLayoutEffect$1, createContext as createContext$1, createElement, useContext, useMemo, useCallback, useState, useId, forwardRef, useImperativeHandle, PureComponent, Component as Component$1, Suspense } from "react";
8
+ import React__default, { Children, isValidElement, cloneElement as cloneElement$1, useReducer, useRef, useDebugValue, useEffect, useLayoutEffect as useLayoutEffect$1, createContext as createContext$1, createElement, useContext, useMemo, useCallback, useState, forwardRef, useImperativeHandle, PureComponent, Component as Component$1, Suspense } from "react";
9
9
  import * as ReactDOM from "react-dom";
10
10
  import ReactDOM__default from "react-dom";
11
11
  function _mergeNamespaces(n3, m2) {
@@ -660,10 +660,10 @@ const COMPONENT_COORDINATION_TYPES = {
660
660
  ]
661
661
  };
662
662
  const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
663
- const version$6 = "3.2.0";
664
- const date$3 = "2023-09-12";
663
+ const version$6 = "3.2.1";
664
+ const date$3 = "2023-09-13";
665
665
  const branch = "changeset-release/main";
666
- const hash$1 = "13836ae8";
666
+ const hash$1 = "a118dd03";
667
667
  const META_VERSION = {
668
668
  note,
669
669
  version: version$6,
@@ -53773,6 +53773,132 @@ class LoaderResult {
53773
53773
  this.coordinationValues = coordinationValues;
53774
53774
  }
53775
53775
  }
53776
+ const $b5e257d569688ac6$var$defaultContext = {
53777
+ prefix: String(Math.round(Math.random() * 1e10)),
53778
+ current: 0
53779
+ };
53780
+ const $b5e257d569688ac6$var$SSRContext = /* @__PURE__ */ React__default.createContext($b5e257d569688ac6$var$defaultContext);
53781
+ const $b5e257d569688ac6$var$IsSSRContext = /* @__PURE__ */ React__default.createContext(false);
53782
+ let $b5e257d569688ac6$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
53783
+ let $b5e257d569688ac6$var$componentIds = /* @__PURE__ */ new WeakMap();
53784
+ function $b5e257d569688ac6$var$useCounter(isDisabled = false) {
53785
+ let ctx2 = useContext($b5e257d569688ac6$var$SSRContext);
53786
+ let ref2 = useRef(null);
53787
+ if (ref2.current === null && !isDisabled) {
53788
+ var _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner;
53789
+ let currentOwner = (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = React__default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED === void 0 ? void 0 : (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner = _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner === void 0 ? void 0 : _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner.current;
53790
+ if (currentOwner) {
53791
+ let prevComponentValue = $b5e257d569688ac6$var$componentIds.get(currentOwner);
53792
+ if (prevComponentValue == null)
53793
+ $b5e257d569688ac6$var$componentIds.set(currentOwner, {
53794
+ id: ctx2.current,
53795
+ state: currentOwner.memoizedState
53796
+ });
53797
+ else if (currentOwner.memoizedState !== prevComponentValue.state) {
53798
+ ctx2.current = prevComponentValue.id;
53799
+ $b5e257d569688ac6$var$componentIds.delete(currentOwner);
53800
+ }
53801
+ }
53802
+ ref2.current = ++ctx2.current;
53803
+ }
53804
+ return ref2.current;
53805
+ }
53806
+ function $b5e257d569688ac6$var$useLegacySSRSafeId(defaultId2) {
53807
+ let ctx2 = useContext($b5e257d569688ac6$var$SSRContext);
53808
+ if (ctx2 === $b5e257d569688ac6$var$defaultContext && !$b5e257d569688ac6$var$canUseDOM)
53809
+ console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
53810
+ let counter2 = $b5e257d569688ac6$var$useCounter(!!defaultId2);
53811
+ let prefix2 = ctx2 === $b5e257d569688ac6$var$defaultContext && false ? "react-aria" : `react-aria${ctx2.prefix}`;
53812
+ return defaultId2 || `${prefix2}-${counter2}`;
53813
+ }
53814
+ function $b5e257d569688ac6$var$useModernSSRSafeId(defaultId2) {
53815
+ let id2 = React__default.useId();
53816
+ let [didSSR] = useState($b5e257d569688ac6$export$535bd6ca7f90a273());
53817
+ let prefix2 = didSSR || false ? "react-aria" : `react-aria${$b5e257d569688ac6$var$defaultContext.prefix}`;
53818
+ return defaultId2 || `${prefix2}-${id2}`;
53819
+ }
53820
+ const $b5e257d569688ac6$export$619500959fc48b26 = typeof React__default["useId"] === "function" ? $b5e257d569688ac6$var$useModernSSRSafeId : $b5e257d569688ac6$var$useLegacySSRSafeId;
53821
+ function $b5e257d569688ac6$var$getSnapshot() {
53822
+ return false;
53823
+ }
53824
+ function $b5e257d569688ac6$var$getServerSnapshot() {
53825
+ return true;
53826
+ }
53827
+ function $b5e257d569688ac6$var$subscribe(onStoreChange) {
53828
+ return () => {
53829
+ };
53830
+ }
53831
+ function $b5e257d569688ac6$export$535bd6ca7f90a273() {
53832
+ if (typeof React__default["useSyncExternalStore"] === "function")
53833
+ return React__default["useSyncExternalStore"]($b5e257d569688ac6$var$subscribe, $b5e257d569688ac6$var$getSnapshot, $b5e257d569688ac6$var$getServerSnapshot);
53834
+ return useContext($b5e257d569688ac6$var$IsSSRContext);
53835
+ }
53836
+ const $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== "undefined" ? React__default.useLayoutEffect : () => {
53837
+ };
53838
+ let $bdb11010cef70236$var$idsUpdaterMap = /* @__PURE__ */ new Map();
53839
+ function $bdb11010cef70236$export$f680877a34711e37(defaultId2) {
53840
+ let [value2, setValue] = useState(defaultId2);
53841
+ let nextId = useRef(null);
53842
+ let res = $b5e257d569688ac6$export$619500959fc48b26(value2);
53843
+ let updateValue = useCallback((val) => {
53844
+ nextId.current = val;
53845
+ }, []);
53846
+ $bdb11010cef70236$var$idsUpdaterMap.set(res, updateValue);
53847
+ $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
53848
+ let r3 = res;
53849
+ return () => {
53850
+ $bdb11010cef70236$var$idsUpdaterMap.delete(r3);
53851
+ };
53852
+ }, [
53853
+ res
53854
+ ]);
53855
+ useEffect(() => {
53856
+ let newId = nextId.current;
53857
+ if (newId) {
53858
+ nextId.current = null;
53859
+ setValue(newId);
53860
+ }
53861
+ });
53862
+ return res;
53863
+ }
53864
+ let $bbed8b41f857bcc0$var$transitionsByElement = /* @__PURE__ */ new Map();
53865
+ let $bbed8b41f857bcc0$var$transitionCallbacks = /* @__PURE__ */ new Set();
53866
+ function $bbed8b41f857bcc0$var$setupGlobalEvents() {
53867
+ if (typeof window === "undefined")
53868
+ return;
53869
+ let onTransitionStart = (e3) => {
53870
+ let transitions2 = $bbed8b41f857bcc0$var$transitionsByElement.get(e3.target);
53871
+ if (!transitions2) {
53872
+ transitions2 = /* @__PURE__ */ new Set();
53873
+ $bbed8b41f857bcc0$var$transitionsByElement.set(e3.target, transitions2);
53874
+ e3.target.addEventListener("transitioncancel", onTransitionEnd);
53875
+ }
53876
+ transitions2.add(e3.propertyName);
53877
+ };
53878
+ let onTransitionEnd = (e3) => {
53879
+ let properties2 = $bbed8b41f857bcc0$var$transitionsByElement.get(e3.target);
53880
+ if (!properties2)
53881
+ return;
53882
+ properties2.delete(e3.propertyName);
53883
+ if (properties2.size === 0) {
53884
+ e3.target.removeEventListener("transitioncancel", onTransitionEnd);
53885
+ $bbed8b41f857bcc0$var$transitionsByElement.delete(e3.target);
53886
+ }
53887
+ if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) {
53888
+ for (let cb of $bbed8b41f857bcc0$var$transitionCallbacks)
53889
+ cb();
53890
+ $bbed8b41f857bcc0$var$transitionCallbacks.clear();
53891
+ }
53892
+ };
53893
+ document.body.addEventListener("transitionrun", onTransitionStart);
53894
+ document.body.addEventListener("transitionend", onTransitionEnd);
53895
+ }
53896
+ if (typeof document !== "undefined") {
53897
+ if (document.readyState !== "loading")
53898
+ $bbed8b41f857bcc0$var$setupGlobalEvents();
53899
+ else
53900
+ document.addEventListener("DOMContentLoaded", $bbed8b41f857bcc0$var$setupGlobalEvents);
53901
+ }
53776
53902
  const useStyles$q = makeStyles((theme) => ({
53777
53903
  box: {
53778
53904
  boxSizing: "border-box"
@@ -53831,7 +53957,7 @@ function OptionSelect(props2) {
53831
53957
  function CellColorEncodingOption(props2) {
53832
53958
  const { observationsLabel, cellColorEncoding, setCellColorEncoding } = props2;
53833
53959
  const classes = useStyles$q();
53834
- const cellColorEncodingId = useId();
53960
+ const cellColorEncodingId = $bdb11010cef70236$export$f680877a34711e37();
53835
53961
  const observationsLabelNice = capitalize$2(observationsLabel);
53836
53962
  function handleColorEncodingChange(event2) {
53837
53963
  setCellColorEncoding(event2.target.value);
@@ -170004,16 +170130,16 @@ async function getDecoder(fileDirectory) {
170004
170130
  const Decoder = await importFn();
170005
170131
  return new Decoder(fileDirectory);
170006
170132
  }
170007
- addDecoder([void 0, 1], () => import("./raw-5df1bfd7.js").then((m2) => m2.default));
170008
- addDecoder(5, () => import("./lzw-29b3eaf8.js").then((m2) => m2.default));
170133
+ addDecoder([void 0, 1], () => import("./raw-a84af721.js").then((m2) => m2.default));
170134
+ addDecoder(5, () => import("./lzw-03ef609f.js").then((m2) => m2.default));
170009
170135
  addDecoder(6, () => {
170010
170136
  throw new Error("old style JPEG compression is not supported.");
170011
170137
  });
170012
- addDecoder(7, () => import("./jpeg-5e6a518a.js").then((m2) => m2.default));
170013
- addDecoder([8, 32946], () => import("./deflate-076fe90c.js").then((m2) => m2.default));
170014
- addDecoder(32773, () => import("./packbits-d0f1ab17.js").then((m2) => m2.default));
170015
- addDecoder(34887, () => import("./lerc-b2109cf1.js").then((m2) => m2.default));
170016
- addDecoder(50001, () => import("./webimage-3b6f4928.js").then((m2) => m2.default));
170138
+ addDecoder(7, () => import("./jpeg-dd6b6686.js").then((m2) => m2.default));
170139
+ addDecoder([8, 32946], () => import("./deflate-3fe67395.js").then((m2) => m2.default));
170140
+ addDecoder(32773, () => import("./packbits-94a127f9.js").then((m2) => m2.default));
170141
+ addDecoder(34887, () => import("./lerc-d34165f6.js").then((m2) => m2.default));
170142
+ addDecoder(50001, () => import("./webimage-7c361b23.js").then((m2) => m2.default));
170017
170143
  function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
170018
170144
  return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
170019
170145
  }
@@ -187718,7 +187844,7 @@ const ScatterplotWrapper = forwardRef((props2, deckRef) => jsxRuntimeExports.jsx
187718
187844
  ScatterplotWrapper.displayName = "ScatterplotWrapper";
187719
187845
  function ScatterplotOptions(props2) {
187720
187846
  const { children: children3, observationsLabel, cellRadius, setCellRadius, cellRadiusMode, setCellRadiusMode, cellOpacity, setCellOpacity, cellOpacityMode, setCellOpacityMode, cellSetLabelsVisible, setCellSetLabelsVisible, tooltipsVisible, setTooltipsVisible, cellSetLabelSize, setCellSetLabelSize, cellSetPolygonsVisible, setCellSetPolygonsVisible, cellColorEncoding, setCellColorEncoding, geneExpressionColormap, setGeneExpressionColormap, geneExpressionColormapRange, setGeneExpressionColormapRange } = props2;
187721
- const scatterplotOptionsId = useId();
187847
+ const scatterplotOptionsId = $bdb11010cef70236$export$f680877a34711e37();
187722
187848
  const observationsLabelNice = capitalize$2(observationsLabel);
187723
187849
  const classes = useStyles$q();
187724
187850
  function handleCellRadiusModeChange(event2) {
@@ -190243,7 +190369,7 @@ function EmbeddingScatterplotSubscriber(props2) {
190243
190369
  }
190244
190370
  function GatingScatterplotOptions(props2) {
190245
190371
  const { featureType, gatingFeatureSelectionX, setGatingFeatureSelectionX, gatingFeatureSelectionY, setGatingFeatureSelectionY, gatingFeatureValueTransform, setGatingFeatureValueTransform, gatingFeatureValueTransformCoefficient, setGatingFeatureValueTransformCoefficient, geneSelectOptions, transformOptions } = props2;
190246
- const gatingScatterplotOptionsId = useId();
190372
+ const gatingScatterplotOptionsId = $bdb11010cef70236$export$f680877a34711e37();
190247
190373
  const classes = useStyles$q();
190248
190374
  const handleGeneSelectChange = (event2) => {
190249
190375
  const { options } = event2.target;
@@ -206734,7 +206860,7 @@ const useToggleStyles = makeStyles(() => ({
206734
206860
  }
206735
206861
  }));
206736
206862
  const ToggleFixedAxisButton = ({ setSpatialAxisFixed, spatialAxisFixed, use3d }) => {
206737
- const toggleAxisId = useId();
206863
+ const toggleAxisId = $bdb11010cef70236$export$f680877a34711e37();
206738
206864
  const classes = useToggleStyles();
206739
206865
  return jsxRuntimeExports.jsxs(TableRow$1, { children: [jsxRuntimeExports.jsx(TableCell$1, { className: classes.cameraLabel, variant: "head", scope: "row", children: jsxRuntimeExports.jsx("label", { htmlFor: `spatial-camera-axis-${toggleAxisId}`, children: "Fix Camera Axis" }) }), jsxRuntimeExports.jsx(TableCell$1, { className: classes.toggleBox, variant: "body", children: jsxRuntimeExports.jsx(Checkbox$1, { onClick: () => setSpatialAxisFixed(!spatialAxisFixed), disabled: !use3d, checked: Boolean(spatialAxisFixed), inputProps: {
206740
206866
  "aria-label": "Fix or not fix spatial camera axis",
@@ -206743,7 +206869,7 @@ const ToggleFixedAxisButton = ({ setSpatialAxisFixed, spatialAxisFixed, use3d })
206743
206869
  };
206744
206870
  function SpatialOptions(props2) {
206745
206871
  const { observationsLabel, cellColorEncoding, setCellColorEncoding, setSpatialAxisFixed, spatialAxisFixed, use3d, tooltipsVisible, setTooltipsVisible, geneExpressionColormap, setGeneExpressionColormap, geneExpressionColormapRange, setGeneExpressionColormapRange, canShowExpressionOptions, canShowColorEncodingOption, canShow3DOptions } = props2;
206746
- const spatialOptionsId = useId();
206872
+ const spatialOptionsId = $bdb11010cef70236$export$f680877a34711e37();
206747
206873
  function handleGeneExpressionColormapChange(event2) {
206748
206874
  setGeneExpressionColormap(event2.target.value);
206749
206875
  }
@@ -209730,7 +209856,7 @@ function HeatmapTooltipSubscriber(props2) {
209730
209856
  function HeatmapOptions(props2) {
209731
209857
  const { geneExpressionColormap, setGeneExpressionColormap, geneExpressionColormapRange, setGeneExpressionColormapRange, tooltipsVisible, setTooltipsVisible } = props2;
209732
209858
  const classes = useStyles$q();
209733
- const heatmapOptionsId = useId();
209859
+ const heatmapOptionsId = $bdb11010cef70236$export$f680877a34711e37();
209734
209860
  function handleGeneExpressionColormapChange(event2) {
209735
209861
  setGeneExpressionColormap(event2.target.value);
209736
209862
  }
@@ -214221,7 +214347,7 @@ function FeatureList(props2) {
214221
214347
  }
214222
214348
  function FeatureListOptions(props2) {
214223
214349
  const { children: children3, featureListSort, setFeatureListSort, featureListSortKey, setFeatureListSortKey, showFeatureTable, setShowFeatureTable, hasFeatureLabels, primaryColumnName } = props2;
214224
- const featureListId = useId();
214350
+ const featureListId = $bdb11010cef70236$export$f680877a34711e37();
214225
214351
  function handleFeatureListSortChange(event2) {
214226
214352
  setFeatureListSort(event2.target.value);
214227
214353
  }
@@ -214671,11 +214797,11 @@ function LayerOptions({ colormap, opacity: opacity2, handleColormapChange, handl
214671
214797
  const hasViewableResolutions = Boolean(Array.from({
214672
214798
  length: loader2.data.length
214673
214799
  }).filter((_, res) => canLoadResolution(loader2.data, res)).length);
214674
- const globalSelectionSliderId = useId();
214675
- const colormapSelectId = useId();
214676
- const domainSelectorId = useId();
214677
- const opacitySliderId = useId();
214678
- const zeroTransparentId = useId();
214800
+ const globalSelectionSliderId = $bdb11010cef70236$export$f680877a34711e37();
214801
+ const colormapSelectId = $bdb11010cef70236$export$f680877a34711e37();
214802
+ const domainSelectorId = $bdb11010cef70236$export$f680877a34711e37();
214803
+ const opacitySliderId = $bdb11010cef70236$export$f680877a34711e37();
214804
+ const zeroTransparentId = $bdb11010cef70236$export$f680877a34711e37();
214679
214805
  return jsxRuntimeExports.jsxs(Grid$3, { container: true, direction: "column", style: { width: "100%" }, children: [hasZStack && !disable3d && hasViewableResolutions && jsxRuntimeExports.jsx(VolumeDropdown, { loader: loader2, handleSliderChange, handleDomainChange, channels: channels2, handleMultiPropertyChange, resolution, disable3d, setRasterLayerCallback, setAreAllChannelsLoading, setViewState, spatialHeight, spatialWidth, use3d, modelMatrix: modelMatrix2 }), hasDimensionsAndChannels && !use3d && globalControlLabels.map((field2) => shape2[labels2.indexOf(field2)] > 1 && jsxRuntimeExports.jsx(LayerOption, { name: field2, inputId: `${field2}-${globalSelectionSliderId}`, children: jsxRuntimeExports.jsx(GlobalSelectionSlider, { field: field2, inputId: `${field2}-${globalSelectionSliderId}`, value: globalLabelValues[field2], handleChange: handleGlobalChannelsSelectionChange, possibleValues: range$b(shape2[labels2.indexOf(field2)]) }) }, field2)), !disableChannelsIfRgbDetected ? jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [shouldShowColormap && jsxRuntimeExports.jsx(Grid$3, { item: true, children: jsxRuntimeExports.jsx(LayerOption, { name: "Colormap", inputId: colormapSelectId, children: jsxRuntimeExports.jsx(ColormapSelect, { value: colormap || "", inputId: colormapSelectId, handleChange: handleColormapChange }) }) }), shouldShowDomain && jsxRuntimeExports.jsx(Grid$3, { item: true, children: jsxRuntimeExports.jsx(LayerOption, { name: "Domain", inputId: domainSelectorId, children: jsxRuntimeExports.jsx(SliderDomainSelector, { value: domainType || DEFAULT_RASTER_DOMAIN_TYPE, inputId: domainSelectorId, handleChange: (value2) => {
214680
214806
  handleDomainChange(value2);
214681
214807
  } }) }) })] }) : null, !use3d && jsxRuntimeExports.jsx(Grid$3, { item: true, children: jsxRuntimeExports.jsx(LayerOption, { name: "Opacity", inputId: opacitySliderId, children: jsxRuntimeExports.jsx(OpacitySlider, { value: opacity2, handleChange: handleOpacityChange, inputId: opacitySliderId }) }) }), shouldShowTransparentColor && !use3d && jsxRuntimeExports.jsx(Grid$3, { item: true, children: jsxRuntimeExports.jsx(LayerOption, { name: "Zero Transparent", inputId: zeroTransparentId, children: jsxRuntimeExports.jsx(TransparentColorCheckbox, { value: transparentColor, handleChange: handleTransparentColorChange, inputId: zeroTransparentId }) }) })] });
@@ -214778,7 +214904,7 @@ function LayerController$1(props2) {
214778
214904
  channelRef.current = channels2;
214779
214905
  return void 0;
214780
214906
  }, [channels2]);
214781
- const layerControlsId = useId();
214907
+ const layerControlsId = $bdb11010cef70236$export$f680877a34711e37();
214782
214908
  const firstSelection = ((_a2 = channels2[0]) == null ? void 0 : _a2.selection) || {};
214783
214909
  const { data: data2, channels: channelOptions } = loader2;
214784
214910
  const [tab, setTab] = useState(0);
@@ -215418,13 +215544,13 @@ function SpotLayerEllipsisMenu(props2) {
215418
215544
  useStyles$c();
215419
215545
  const selectClasses = useSelectStyles();
215420
215546
  const menuClasses = useEllipsisMenuStyles();
215421
- const filledId = useId();
215422
- const strokeWidthId = useId();
215423
- const quantitativeColormapId = useId();
215424
- const colormapRangeId = useId();
215425
- const tooltipsVisibleId = useId();
215426
- const crosshairsVisibleId = useId();
215427
- const legendVisibleId = useId();
215547
+ const filledId = $bdb11010cef70236$export$f680877a34711e37();
215548
+ const strokeWidthId = $bdb11010cef70236$export$f680877a34711e37();
215549
+ const quantitativeColormapId = $bdb11010cef70236$export$f680877a34711e37();
215550
+ const colormapRangeId = $bdb11010cef70236$export$f680877a34711e37();
215551
+ const tooltipsVisibleId = $bdb11010cef70236$export$f680877a34711e37();
215552
+ const crosshairsVisibleId = $bdb11010cef70236$export$f680877a34711e37();
215553
+ const legendVisibleId = $bdb11010cef70236$export$f680877a34711e37();
215428
215554
  return jsxRuntimeExports.jsxs(PopperMenu, { open, setOpen, buttonIcon: jsxRuntimeExports.jsx(MoreVertIcon, {}), buttonClassName: menuClasses.imageLayerMenuButton, containerClassName: menuClasses.imageLayerPopperContainer, withPaper: true, "aria-label": "Open spot layer options menu", children: [jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: filledId, children: "Filled: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", checked: filled, onChange: (e3, v) => setFilled(v), inputProps: { id: filledId, "aria-label": "Toggle between filled and stroked spots" } })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: strokeWidthId, children: "Stroke Width:" }), jsxRuntimeExports.jsx(Slider$1, { disabled: filled, value: strokeWidth, min: 0.01, max: 5, step: 0.01, onChange: (e3, v) => setStrokeWidth(v), className: menuClasses.menuItemSlider, orientation: "horizontal", id: strokeWidthId, "aria-label": "Stroke width slider" })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: quantitativeColormapId, children: "Color Encoding: " }), jsxRuntimeExports.jsxs(Select$1, { native: true, onChange: (e3) => setObsColorEncoding(e3.target.value), value: obsColorEncoding, inputProps: { id: quantitativeColormapId, "aria-label": "Color encoding selector" }, classes: { root: selectClasses.selectRoot }, children: [jsxRuntimeExports.jsx("option", { value: "spatialLayerColor", children: "Static Color" }), jsxRuntimeExports.jsx("option", { value: "geneSelection", children: "Feature Value" }), jsxRuntimeExports.jsx("option", { value: "cellSetSelection", children: "Set Selection" })] })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: colormapRangeId, children: "Colormap Range: " }), jsxRuntimeExports.jsx(Slider$1, { disabled: obsColorEncoding !== "geneSelection", value: featureValueColormapRange, min: 0, max: 1, step: 0.01, onChange: (e3, v) => setFeatureValueColormapRange(v), className: menuClasses.menuItemSlider, orientation: "horizontal", id: colormapRangeId, getAriaLabel: (index2) => index2 === 0 ? "Low value colormap range slider" : "High value colormap range slider" })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: tooltipsVisibleId, children: "Tooltips Visible: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", checked: tooltipsVisible, onChange: (e3, v) => setTooltipsVisible(v), inputProps: { id: tooltipsVisibleId, "aria-label": "Toggle tooltip visibility" } })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: crosshairsVisibleId, children: "Tooltip Crosshairs Visible: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", checked: tooltipCrosshairsVisible, onChange: (e3, v) => setTooltipCrosshairsVisible(v), inputProps: { id: crosshairsVisibleId, "aria-label": "Toggle tooltip crosshair visibility" } })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: legendVisibleId, children: "Legend Visible: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", checked: legendVisible, onChange: (e3, v) => setLegendVisible(v), inputProps: { id: legendVisibleId, "aria-label": "Toggle legend visibility" } })] })] });
215429
215555
  }
215430
215556
  function SpotLayerController(props2) {
@@ -215461,11 +215587,11 @@ function PointLayerEllipsisMenu(props2) {
215461
215587
  const [open, setOpen] = useState(false);
215462
215588
  const selectClasses = useSelectStyles();
215463
215589
  const menuClasses = useEllipsisMenuStyles();
215464
- const quantitativeColormapId = useId();
215465
- const colormapRangeId = useId();
215466
- const tooltipsVisibleId = useId();
215467
- const crosshairsVisibleId = useId();
215468
- const legendVisibleId = useId();
215590
+ const quantitativeColormapId = $bdb11010cef70236$export$f680877a34711e37();
215591
+ const colormapRangeId = $bdb11010cef70236$export$f680877a34711e37();
215592
+ const tooltipsVisibleId = $bdb11010cef70236$export$f680877a34711e37();
215593
+ const crosshairsVisibleId = $bdb11010cef70236$export$f680877a34711e37();
215594
+ const legendVisibleId = $bdb11010cef70236$export$f680877a34711e37();
215469
215595
  return jsxRuntimeExports.jsxs(PopperMenu, { open, setOpen, buttonIcon: jsxRuntimeExports.jsx(MoreVertIcon, {}), buttonClassName: menuClasses.imageLayerMenuButton, containerClassName: menuClasses.imageLayerPopperContainer, withPaper: true, "aria-label": "Open point layer options menu", children: [jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: quantitativeColormapId, children: "Color Encoding: " }), jsxRuntimeExports.jsxs(Select$1, { native: true, onChange: (e3) => setObsColorEncoding(e3.target.value), value: obsColorEncoding, inputProps: { id: quantitativeColormapId, "aria-label": "Color encoding selector" }, classes: { root: selectClasses.selectRoot }, children: [jsxRuntimeExports.jsx("option", { value: "spatialLayerColor", children: "Static Color" }), jsxRuntimeExports.jsx("option", { value: "obsLabels", children: "Label Value" })] })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: colormapRangeId, children: "Colormap Range: " }), jsxRuntimeExports.jsx(Slider$1, { disabled: obsColorEncoding !== "geneSelection", value: featureValueColormapRange, min: 0, max: 1, step: 0.01, onChange: (e3, v) => setFeatureValueColormapRange(v), className: menuClasses.menuItemSlider, orientation: "horizontal", id: colormapRangeId, getAriaLabel: (index2) => index2 === 0 ? "Low value colormap range slider" : "High value colormap range slider" })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: tooltipsVisibleId, children: "Tooltips Visible: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", checked: tooltipsVisible, onChange: (e3, v) => setTooltipsVisible(v), inputProps: { id: tooltipsVisibleId, "aria-label": "Toggle tooltip visibility" } })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: crosshairsVisibleId, children: "Tooltip Crosshairs Visible: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", checked: tooltipCrosshairsVisible, onChange: (e3, v) => setTooltipCrosshairsVisible(v), inputProps: { id: crosshairsVisibleId, "aria-label": "Toggle tooltip crosshair visibility" } })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: legendVisibleId, children: "Legend Visible: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", checked: legendVisible, onChange: (e3, v) => setLegendVisible(v), inputProps: { id: legendVisibleId, "aria-label": "Toggle legend visibility" } })] })] });
215470
215596
  }
215471
215597
  function PointLayerController(props2) {
@@ -215503,13 +215629,13 @@ function SegmentationChannelEllipsisMenu(props2) {
215503
215629
  useStyles$a();
215504
215630
  const selectClasses = useSelectStyles();
215505
215631
  const menuClasses = useEllipsisMenuStyles();
215506
- const filledId = useId();
215507
- const strokeWidthId = useId();
215508
- const quantitativeColormapId = useId();
215509
- const colormapRangeId = useId();
215510
- const tooltipsVisibleId = useId();
215511
- const crosshairsVisibleId = useId();
215512
- const legendVisibleId = useId();
215632
+ const filledId = $bdb11010cef70236$export$f680877a34711e37();
215633
+ const strokeWidthId = $bdb11010cef70236$export$f680877a34711e37();
215634
+ const quantitativeColormapId = $bdb11010cef70236$export$f680877a34711e37();
215635
+ const colormapRangeId = $bdb11010cef70236$export$f680877a34711e37();
215636
+ const tooltipsVisibleId = $bdb11010cef70236$export$f680877a34711e37();
215637
+ const crosshairsVisibleId = $bdb11010cef70236$export$f680877a34711e37();
215638
+ const legendVisibleId = $bdb11010cef70236$export$f680877a34711e37();
215513
215639
  return jsxRuntimeExports.jsxs(PopperMenu, { open, setOpen, buttonIcon: jsxRuntimeExports.jsx(MoreVertIcon, {}), buttonClassName: menuClasses.imageLayerMenuButton, containerClassName: menuClasses.imageLayerPopperContainer, withPaper: true, "aria-label": "Open segmentation channel options menu", children: [jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: filledId, children: "Filled: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", checked: filled, onChange: (e3, v) => setFilled(v), inputProps: { id: filledId, "aria-label": "Toggle between filled and stroked segmentations" } })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: strokeWidthId, children: "Stroke Width:" }), jsxRuntimeExports.jsx(Slider$1, { disabled: filled, value: strokeWidth, min: 0.01, max: 5, step: 0.01, onChange: (e3, v) => setStrokeWidth(v), className: menuClasses.menuItemSlider, orientation: "horizontal", id: strokeWidthId, "aria-label": "Stroke width slider" })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: quantitativeColormapId, children: "Color Encoding: " }), jsxRuntimeExports.jsxs(Select$1, { native: true, onChange: (e3) => setObsColorEncoding(e3.target.value), value: obsColorEncoding, inputProps: { id: quantitativeColormapId, "aria-label": "Color encoding selector" }, classes: { root: selectClasses.selectRoot }, children: [jsxRuntimeExports.jsx("option", { value: "spatialChannelColor", children: "Static Color" }), jsxRuntimeExports.jsx("option", { value: "geneSelection", children: "Feature Value" }), jsxRuntimeExports.jsx("option", { value: "cellSetSelection", children: "Set Selection" })] })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: colormapRangeId, children: "Colormap Range: " }), jsxRuntimeExports.jsx(Slider$1, { disabled: obsColorEncoding !== "geneSelection", value: featureValueColormapRange, min: 0, max: 1, step: 0.01, onChange: (e3, v) => setFeatureValueColormapRange(v), className: menuClasses.menuItemSlider, orientation: "horizontal", id: colormapRangeId, getAriaLabel: (index2) => index2 === 0 ? "Low value colormap range slider" : "High value colormap range slider" })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: tooltipsVisibleId, children: "Tooltips Visible: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", checked: tooltipsVisible, onChange: (e3, v) => setTooltipsVisible(v), inputProps: { id: tooltipsVisibleId, "aria-label": "Toggle tooltip visibility" } })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: crosshairsVisibleId, children: "Tooltip Crosshairs Visible: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", checked: tooltipCrosshairsVisible, onChange: (e3, v) => setTooltipCrosshairsVisible(v), inputProps: { id: crosshairsVisibleId, "aria-label": "Toggle tooltip crosshair visibility" } })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: legendVisibleId, children: "Legend Visible: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", checked: legendVisible, onChange: (e3, v) => setLegendVisible(v), inputProps: { id: legendVisibleId, "aria-label": "Toggle legend visibility" } })] })] });
215514
215640
  }
215515
215641
  function SegmentationChannelController(props2) {
@@ -215592,7 +215718,7 @@ function ChannelOptions(props2) {
215592
215718
  function handleDomainTypeChange(event2) {
215593
215719
  setShowValueExtent(event2.target.value === "Value Min/Max");
215594
215720
  }
215595
- const domainTypeId = useId();
215721
+ const domainTypeId = $bdb11010cef70236$export$f680877a34711e37();
215596
215722
  return jsxRuntimeExports.jsxs(PopperMenu, { open, setOpen, buttonIcon: jsxRuntimeExports.jsx(MoreVertIcon, { fontSize: "small" }), buttonClassName: classes.channelMenuButton, containerClassName: menuClasses.imageLayerPopperContainer, placement: "bottom-end", withPaper: true, "aria-label": "Open channel options menu", children: [jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: domainTypeId, children: "Slider Extent: " }), jsxRuntimeExports.jsxs(Select$1, { native: true, onChange: handleDomainTypeChange, value: showValueExtent ? "Value Min/Max" : "Dtype Min/Max", inputProps: { id: domainTypeId, "aria-label": "Slider extent selector" }, classes: { root: selectClasses.selectRoot }, children: [jsxRuntimeExports.jsx("option", { value: "Value Min/Max", children: "Value Min/Max" }), jsxRuntimeExports.jsx("option", { value: "Dtype Min/Max", children: "Dtype Min/Max" })] })] }), jsxRuntimeExports.jsx(MenuItem$1, { dense: true, disableGutters: true, component: "button", onClick: onResetWindowUsingIQR, className: classes.menuItemButton, "aria-label": "Click to use IQR for channel", children: "Reset window using IQR" }), jsxRuntimeExports.jsx(MenuItem$1, { dense: true, disableGutters: true, component: "button", onClick: handleRemove, className: classes.menuItemButton, "aria-label": "Click to remove channel", children: "Remove channel" })] });
215597
215723
  }
215598
215724
  const useStyles$8 = makeStyles(() => ({
@@ -215776,15 +215902,15 @@ function ImageLayerEllipsisMenu(props2) {
215776
215902
  function handleChannelLabelsOrientationChange(event2) {
215777
215903
  setChannelLabelsOrientation(event2.target.value);
215778
215904
  }
215779
- const colormapId = useId();
215780
- const interpretationId = useId();
215781
- const transparentId = useId();
215782
- const volumetricId = useId();
215783
- const resolutionId = useId();
215784
- const tooltipsVisibleId = useId();
215785
- const channelLabelsVisibleId = useId();
215786
- const channelLabelsOrientationId = useId();
215787
- const channelLabelSizeId = useId();
215905
+ const colormapId = $bdb11010cef70236$export$f680877a34711e37();
215906
+ const interpretationId = $bdb11010cef70236$export$f680877a34711e37();
215907
+ const transparentId = $bdb11010cef70236$export$f680877a34711e37();
215908
+ const volumetricId = $bdb11010cef70236$export$f680877a34711e37();
215909
+ const resolutionId = $bdb11010cef70236$export$f680877a34711e37();
215910
+ const tooltipsVisibleId = $bdb11010cef70236$export$f680877a34711e37();
215911
+ const channelLabelsVisibleId = $bdb11010cef70236$export$f680877a34711e37();
215912
+ const channelLabelsOrientationId = $bdb11010cef70236$export$f680877a34711e37();
215913
+ const channelLabelSizeId = $bdb11010cef70236$export$f680877a34711e37();
215788
215914
  return jsxRuntimeExports.jsxs(PopperMenu, { open, setOpen, buttonIcon: jsxRuntimeExports.jsx(MoreVertIcon, {}), buttonClassName: menuClasses.imageLayerMenuButton, containerClassName: menuClasses.imageLayerPopperContainer, withPaper: true, "aria-label": "Open image layer options menu", children: [jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: colormapId, children: "Colormap: " }), jsxRuntimeExports.jsxs(Select$1, { native: true, disabled: photometricInterpretation === "RGB", onChange: handleColormapChange, value: colormap === null ? "" : colormap, inputProps: { id: colormapId, "aria-label": "Colormap selector" }, classes: { root: selectClasses.selectRoot }, children: [jsxRuntimeExports.jsx("option", { "aria-label": "None", value: "", children: "None" }), COLORMAP_OPTIONS.map((name2) => jsxRuntimeExports.jsx("option", { value: name2, children: name2 }, name2))] })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: interpretationId, children: "Photometric Interpretation: " }), jsxRuntimeExports.jsxs(Select$1, { native: true, onChange: handleInterpretationChange, value: photometricInterpretation, inputProps: { id: interpretationId, "aria-label": "Photometric interpretation selector" }, classes: { root: selectClasses.selectRoot }, children: [jsxRuntimeExports.jsx("option", { "aria-label": "RGB", value: "RGB", children: "RGB" }), channelScopes.length > 0 ? jsxRuntimeExports.jsx("option", { "aria-label": "BlackIsZero", value: "BlackIsZero", children: "BlackIsZero" }) : null] })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: transparentId, children: "Zero Transparent: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", checked: spatialLayerTransparentColor !== null, onChange: (e3, v) => setSpatialLayerTransparentColor(v ? [0, 0, 0] : null), inputProps: { id: transparentId, "aria-label": "Render zero-value pixels as transparent" } })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: volumetricId, children: "Volumetric Rendering: " }), jsxRuntimeExports.jsxs(Select$1, { native: true, onChange: handleVolumetricChange, value: volumetricRenderingAlgorithm, inputProps: { id: volumetricId, "aria-label": "Volumetric rendering algorithm selector" }, classes: { root: selectClasses.selectRoot }, disabled: !is3dMode, children: [jsxRuntimeExports.jsx("option", { "aria-label": "Additive", value: "additive", children: "Additive" }), jsxRuntimeExports.jsx("option", { "aria-label": "Maximum Intensity Projection", value: "maximumIntensityProjection", children: "Maximum Intensity Projection" })] })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: resolutionId, children: "Volume Resolution: " }), jsxRuntimeExports.jsxs(Select$1, { native: true, disabled: !is3dMode || !isMultiResolution, onChange: handleResolutionChange, value: spatialTargetResolution === null ? "auto" : spatialTargetResolution, inputProps: { id: resolutionId, "aria-label": "Volumetric resolution selector" }, classes: { root: selectClasses.selectRoot }, children: [jsxRuntimeExports.jsx("option", { value: "auto", children: "Auto" }), Array.isArray(multiResolutionStats) ? multiResolutionStats.map((stats, resolution) => stats.canLoad ? jsxRuntimeExports.jsx("option", { value: resolution, children: `3D: ${resolution}x Downsampled, ~${formatBytes(stats.totalBytes)} per channel, (${stats.height}, ${stats.width}, ${stats.depthDownsampled})` }, `(${stats.height}, ${stats.width}, ${stats.depthDownsampled})`) : null) : null] })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: tooltipsVisibleId, children: "Tooltips Visible: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", checked: tooltipsVisible, onChange: (e3, v) => setTooltipsVisible(v), inputProps: { id: tooltipsVisibleId, "aria-label": "Render pixel value tooltips" } })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: channelLabelsVisibleId, children: "Channel Labels Visible: " }), jsxRuntimeExports.jsx(Checkbox$1, { disabled: photometricInterpretation === "RGB", color: "primary", checked: channelLabelsVisible, onChange: (e3, v) => setChannelLabelsVisible(v), inputProps: { id: channelLabelsVisibleId, "aria-label": "Render channel labels" } })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: channelLabelsOrientationId, children: "Channel Labels Orientation: " }), jsxRuntimeExports.jsxs(Select$1, { native: true, disabled: photometricInterpretation === "RGB", onChange: handleChannelLabelsOrientationChange, value: channelLabelsOrientation, inputProps: { id: channelLabelsOrientationId, "aria-label": "Channel labels orientation selector" }, classes: { root: selectClasses.selectRoot }, children: [jsxRuntimeExports.jsx("option", { "aria-label": "Vertical", value: "vertical", children: "Vertical" }), jsxRuntimeExports.jsx("option", { "aria-label": "Horizontal", value: "horizontal", children: "Horizontal" })] })] }), jsxRuntimeExports.jsxs(MenuItem$1, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: channelLabelSizeId, children: "Channel Labels Size: " }), jsxRuntimeExports.jsx(Slider$1, { disabled: photometricInterpretation === "RGB", value: channelLabelSize, min: 8, max: 36, step: 1, onChange: (e3, v) => setChannelLabelSize(v), className: menuClasses.menuItemSlider, orientation: "horizontal", id: channelLabelSizeId, "aria-label": "Channel labels text size slider" })] })] });
215789
215915
  }
215790
215916
  function ImageLayerController(props2) {
@@ -216522,7 +216648,7 @@ const HIGLASS_BUNDLE_VERSION = "1.11.13";
216522
216648
  const HIGLASS_CSS_URL = `https://unpkg.com/${HIGLASS_PKG_NAME}@${HIGLASS_BUNDLE_VERSION}/dist/hglib.css`;
216523
216649
  register({ dataFetcher: ZarrMultivecDataFetcher, config: ZarrMultivecDataFetcher.config }, { pluginType: "dataFetcher" });
216524
216650
  const LazyHiGlassComponent = React__default.lazy(async () => {
216525
- const { HiGlassComponent } = await import("./hglib-066524aa.js").then((n3) => n3.h);
216651
+ const { HiGlassComponent } = await import("./hglib-f72945ce.js").then((n3) => n3.h);
216526
216652
  return { default: HiGlassComponent };
216527
216653
  });
216528
216654
  const HG_SIZE = 800;
@@ -216810,7 +216936,7 @@ function GenomicProfilesSubscriber(props2) {
216810
216936
  }
216811
216937
  function CellSetExpressionPlotOptions(props2) {
216812
216938
  const { featureValueTransform, setFeatureValueTransform, featureValueTransformCoefficient, setFeatureValueTransformCoefficient, transformOptions } = props2;
216813
- const cellSetExpressionPlotOptionsId = useId();
216939
+ const cellSetExpressionPlotOptionsId = $bdb11010cef70236$export$f680877a34711e37();
216814
216940
  const classes = useStyles$q();
216815
216941
  const handleTransformChange = (event2) => {
216816
216942
  setFeatureValueTransform(event2.target.value === "" ? null : event2.target.value);
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { k, C, D, F, H, n, h, r, P, s, q, V, p, i, f, d, l, m, j, v, z } from "./index-440cb4b9.js";
1
+ import { k, C, D, F, H, n, h, r, P, s, q, V, p, i, f, d, l, m, j, v, z } from "./index-c78951cf.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-440cb4b9.js";
1
+ import { B as BaseDecoder } from "./index-c78951cf.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const dctZigZag = new Int32Array([
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-440cb4b9.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-c78951cf.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  var LercDecode = { exports: {} };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-440cb4b9.js";
1
+ import { B as BaseDecoder } from "./index-c78951cf.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const MIN_BITS = 9;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-440cb4b9.js";
1
+ import { B as BaseDecoder } from "./index-c78951cf.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class PackbitsDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-440cb4b9.js";
1
+ import { B as BaseDecoder } from "./index-c78951cf.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class RawDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-440cb4b9.js";
1
+ import { B as BaseDecoder } from "./index-c78951cf.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class WebImageDecoder extends BaseDecoder {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/dev",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
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.2.0",
20
- "@vitessce/config": "3.2.0",
21
- "@vitessce/constants": "3.2.0",
22
- "@vitessce/export-utils": "3.2.0"
19
+ "@vitessce/all": "3.2.1",
20
+ "@vitessce/config": "3.2.1",
21
+ "@vitessce/constants": "3.2.1",
22
+ "@vitessce/export-utils": "3.2.1"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@vitejs/plugin-react": "^4.0.0",