@vitessce/scatterplot-embedding 4.0.0 → 4.0.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-SxljTded.js";
2
- import { B as BaseDecoder } from "./index-CJTTUgHC.js";
2
+ import { B as BaseDecoder } from "./index-1U5QYVfZ.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -9933,6 +9933,7 @@ const CoordinationType$1 = {
9933
9933
  SPATIAL_CHANNEL_LABELS_VISIBLE: "spatialChannelLabelsVisible",
9934
9934
  SPATIAL_CHANNEL_LABELS_ORIENTATION: "spatialChannelLabelsOrientation",
9935
9935
  SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize",
9936
+ SPATIAL_CHANNELS_SORT_ORDER: "spatialChannelsSortOrder",
9936
9937
  // Multi-sample / comparative
9937
9938
  SAMPLE_TYPE: "sampleType",
9938
9939
  SAMPLE_SELECTION: "sampleSelection",
@@ -10509,6 +10510,7 @@ const COMPONENT_COORDINATION_TYPES = {
10509
10510
  CoordinationType$1.SPATIAL_CHANNEL_LABELS_VISIBLE,
10510
10511
  CoordinationType$1.SPATIAL_CHANNEL_LABELS_ORIENTATION,
10511
10512
  CoordinationType$1.SPATIAL_CHANNEL_LABEL_SIZE,
10513
+ CoordinationType$1.SPATIAL_CHANNELS_SORT_ORDER,
10512
10514
  CoordinationType$1.PHOTOMETRIC_INTERPRETATION
10513
10515
  ],
10514
10516
  [ViewType$1.HEATMAP]: [
@@ -10690,7 +10692,8 @@ const COMPONENT_COORDINATION_TYPES = {
10690
10692
  CoordinationType$1.LEGEND_VISIBLE,
10691
10693
  CoordinationType$1.SPATIAL_CHANNEL_LABELS_VISIBLE,
10692
10694
  CoordinationType$1.SPATIAL_CHANNEL_LABELS_ORIENTATION,
10693
- CoordinationType$1.SPATIAL_CHANNEL_LABEL_SIZE
10695
+ CoordinationType$1.SPATIAL_CHANNEL_LABEL_SIZE,
10696
+ CoordinationType$1.SPATIAL_CHANNELS_SORT_ORDER
10694
10697
  ],
10695
10698
  [ViewType$1.GENOMIC_PROFILES]: [
10696
10699
  CoordinationType$1.DATASET,
@@ -122552,22 +122555,22 @@ function addDecoder(cases, importFn) {
122552
122555
  }
122553
122556
  cases.forEach((c2) => registry$1.set(c2, importFn));
122554
122557
  }
122555
- addDecoder([void 0, 1], () => import("./raw-CnEsnr_U.js").then((m2) => m2.default));
122556
- addDecoder(5, () => import("./lzw-DzHCzpWW.js").then((m2) => m2.default));
122558
+ addDecoder([void 0, 1], () => import("./raw-k7sJnLzY.js").then((m2) => m2.default));
122559
+ addDecoder(5, () => import("./lzw-DdHHE8tj.js").then((m2) => m2.default));
122557
122560
  addDecoder(6, () => {
122558
122561
  throw new Error("old style JPEG compression is not supported.");
122559
122562
  });
122560
- addDecoder(7, () => import("./jpeg-D8TMgzJ-.js").then((m2) => m2.default));
122561
- addDecoder([8, 32946], () => import("./deflate-DDd0M1_3.js").then((m2) => m2.default));
122562
- addDecoder(32773, () => import("./packbits-IenIuEyy.js").then((m2) => m2.default));
122563
+ addDecoder(7, () => import("./jpeg-CKDhLYeN.js").then((m2) => m2.default));
122564
+ addDecoder([8, 32946], () => import("./deflate-DtDHOFP-.js").then((m2) => m2.default));
122565
+ addDecoder(32773, () => import("./packbits-D5NUUbMf.js").then((m2) => m2.default));
122563
122566
  addDecoder(
122564
122567
  34887,
122565
- () => import("./lerc-DIqN_Nd5.js").then(async (m2) => {
122568
+ () => import("./lerc-Be8l3IYy.js").then(async (m2) => {
122566
122569
  await m2.zstd.init();
122567
122570
  return m2;
122568
122571
  }).then((m2) => m2.default)
122569
122572
  );
122570
- addDecoder(50001, () => import("./webimage-bn5lsJYe.js").then((m2) => m2.default));
122573
+ addDecoder(50001, () => import("./webimage-wQWt4e2Y.js").then((m2) => m2.default));
122571
122574
  function decodeRowAcc(row, stride) {
122572
122575
  let length2 = row.length - stride;
122573
122576
  let offset2 = 0;
@@ -150181,7 +150184,7 @@ function ToolMenu(props) {
150181
150184
  return jsxs("div", { className: classes.tool, children: [visibleTools.pan && jsx$1(IconTool, { alt: pointerIconAltText, onClick: () => setActiveTool(null), isActive: activeTool === null, children: jsx$1(SvgNearMe, {}) }), visibleTools.selectLasso ? jsx$1(IconTool, { alt: lassoIconAltText, onClick: () => setActiveTool(distEs6Exports$2.SELECTION_TYPE.POLYGON), isActive: activeTool === distEs6Exports$2.SELECTION_TYPE.POLYGON, children: jsx$1(SvgSelectionLasso, {}) }) : null, visibleTools.recenter ? jsx$1(IconButton, { alt: "click to recenter", onClick: () => onRecenterButtonCLick(), "aria-label": "Recenter scatterplot view", children: jsx$1(CenterFocusStrong, {}) }) : null] });
150182
150185
  }
150183
150186
  const getCursorWithTool = () => "crosshair";
150184
- const getCursor = (interactionState) => interactionState.isDragging ? "grabbing" : "default";
150187
+ const getCursor = (interactionState) => interactionState.isDragging ? "grabbing" : "grab";
150185
150188
  function getOnHoverCallback(obsIndex, setObsHighlight, setComponentHover) {
150186
150189
  return (info) => {
150187
150190
  if (setComponentHover) {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D, E } from "./index-CJTTUgHC.js";
1
+ import { D, E } from "./index-1U5QYVfZ.js";
2
2
  export {
3
3
  D as DualEmbeddingScatterplotSubscriber,
4
4
  E as EmbeddingScatterplotSubscriber
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-CJTTUgHC.js";
1
+ import { B as BaseDecoder } from "./index-1U5QYVfZ.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-CJTTUgHC.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-1U5QYVfZ.js";
3
3
  const LercParameters = {
4
4
  AddCompression: 1
5
5
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-CJTTUgHC.js";
1
+ import { B as BaseDecoder } from "./index-1U5QYVfZ.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-CJTTUgHC.js";
1
+ import { B as BaseDecoder } from "./index-1U5QYVfZ.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-CJTTUgHC.js";
1
+ import { B as BaseDecoder } from "./index-1U5QYVfZ.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-CJTTUgHC.js";
1
+ import { B as BaseDecoder } from "./index-1U5QYVfZ.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/scatterplot-embedding",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -20,13 +20,13 @@
20
20
  "lodash-es": "^4.17.21",
21
21
  "react-aria": "^3.47.0",
22
22
  "@turf/circle": "^7.2.0",
23
- "@vitessce/constants-internal": "4.0.0",
24
- "@vitessce/styles": "4.0.0",
25
- "@vitessce/legend": "4.0.0",
26
- "@vitessce/scatterplot": "4.0.0",
27
- "@vitessce/sets-utils": "4.0.0",
28
- "@vitessce/utils": "4.0.0",
29
- "@vitessce/vit-s": "4.0.0"
23
+ "@vitessce/styles": "4.0.1",
24
+ "@vitessce/legend": "4.0.1",
25
+ "@vitessce/scatterplot": "4.0.1",
26
+ "@vitessce/sets-utils": "4.0.1",
27
+ "@vitessce/utils": "4.0.1",
28
+ "@vitessce/constants-internal": "4.0.1",
29
+ "@vitessce/vit-s": "4.0.1"
30
30
  },
31
31
  "devDependencies": {
32
32
  "react": "19.2.6",