@vitessce/scatterplot 3.3.4 → 3.3.5

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.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A, E, S, a, b, f, e, d, c } from "./index-86f813a6.js";
1
+ import { A, E, S, a, b, f, e, d, c } from "./index-89b39350.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-86f813a6.js";
1
+ import { B as BaseDecoder } from "./index-89b39350.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-86f813a6.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-89b39350.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-86f813a6.js";
1
+ import { B as BaseDecoder } from "./index-89b39350.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-86f813a6.js";
1
+ import { B as BaseDecoder } from "./index-89b39350.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-86f813a6.js";
1
+ import { B as BaseDecoder } from "./index-89b39350.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-86f813a6.js";
1
+ import { B as BaseDecoder } from "./index-89b39350.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -159,7 +159,7 @@ class Scatterplot extends AbstractSpatialOrScatterplot {
159
159
  }));
160
160
  const collisionForce = this.cellSetsForceSimulation
161
161
  .size(d => ([
162
- cellSetLabelSize * 1 / (2 ** zoom) * 4 * d.label.length,
162
+ cellSetLabelSize * 1 / (2 ** zoom) * 4 * d?.label?.length,
163
163
  cellSetLabelSize * 1 / (2 ** zoom) * 1.5,
164
164
  ]));
165
165
  forceSimulation()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/scatterplot",
3
- "version": "3.3.4",
3
+ "version": "3.3.5",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -23,12 +23,12 @@
23
23
  "d3-quadtree": "^1.0.7",
24
24
  "lodash-es": "^4.17.21",
25
25
  "react-aria": "^3.28.0",
26
- "@vitessce/constants-internal": "3.3.4",
27
- "@vitessce/gl": "3.3.4",
28
- "@vitessce/icons": "3.3.4",
29
- "@vitessce/tooltip": "3.3.4",
30
- "@vitessce/utils": "3.3.4",
31
- "@vitessce/vit-s": "3.3.4"
26
+ "@vitessce/constants-internal": "3.3.5",
27
+ "@vitessce/gl": "3.3.5",
28
+ "@vitessce/icons": "3.3.5",
29
+ "@vitessce/tooltip": "3.3.5",
30
+ "@vitessce/utils": "3.3.5",
31
+ "@vitessce/vit-s": "3.3.5"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@testing-library/jest-dom": "^5.16.4",
@@ -195,7 +195,7 @@ class Scatterplot extends AbstractSpatialOrScatterplot {
195
195
 
196
196
  const collisionForce = this.cellSetsForceSimulation
197
197
  .size(d => ([
198
- cellSetLabelSize * 1 / (2 ** zoom) * 4 * d.label.length,
198
+ cellSetLabelSize * 1 / (2 ** zoom) * 4 * d?.label?.length,
199
199
  cellSetLabelSize * 1 / (2 ** zoom) * 1.5,
200
200
  ]));
201
201