@vitessce/scatterplot 3.6.7 → 3.6.8

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-D1BSYmZN.js";
2
+ import { B as BaseDecoder } from "./index-C5d2vHI6.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -105938,22 +105938,22 @@ function addDecoder(cases, importFn) {
105938
105938
  }
105939
105939
  cases.forEach((c2) => registry$1.set(c2, importFn));
105940
105940
  }
105941
- addDecoder([void 0, 1], () => import("./raw-Drw_mkHR.js").then((m2) => m2.default));
105942
- addDecoder(5, () => import("./lzw-CuXJEDK3.js").then((m2) => m2.default));
105941
+ addDecoder([void 0, 1], () => import("./raw-BYQ7zdFj.js").then((m2) => m2.default));
105942
+ addDecoder(5, () => import("./lzw--a5tW8xi.js").then((m2) => m2.default));
105943
105943
  addDecoder(6, () => {
105944
105944
  throw new Error("old style JPEG compression is not supported.");
105945
105945
  });
105946
- addDecoder(7, () => import("./jpeg-CZquJ-Qg.js").then((m2) => m2.default));
105947
- addDecoder([8, 32946], () => import("./deflate-DUbeV8GE.js").then((m2) => m2.default));
105948
- addDecoder(32773, () => import("./packbits-DZx6fqxs.js").then((m2) => m2.default));
105946
+ addDecoder(7, () => import("./jpeg-BVNUA9H4.js").then((m2) => m2.default));
105947
+ addDecoder([8, 32946], () => import("./deflate-vRJwIzkA.js").then((m2) => m2.default));
105948
+ addDecoder(32773, () => import("./packbits-D7QUWZBA.js").then((m2) => m2.default));
105949
105949
  addDecoder(
105950
105950
  34887,
105951
- () => import("./lerc-X_aTzLXP.js").then(async (m2) => {
105951
+ () => import("./lerc-B-RxLrWf.js").then(async (m2) => {
105952
105952
  await m2.zstd.init();
105953
105953
  return m2;
105954
105954
  }).then((m2) => m2.default)
105955
105955
  );
105956
- addDecoder(50001, () => import("./webimage-C4chFUgT.js").then((m2) => m2.default));
105956
+ addDecoder(50001, () => import("./webimage-DPIZwuc5.js").then((m2) => m2.default));
105957
105957
  function decodeRowAcc(row, stride) {
105958
105958
  let length2 = row.length - stride;
105959
105959
  let offset2 = 0;
@@ -133103,6 +133103,23 @@ ButtonBase.propTypes = {
133103
133103
  */
133104
133104
  type: PropTypes.oneOfType([PropTypes.oneOf(["button", "reset", "submit"]), PropTypes.string])
133105
133105
  };
133106
+ function hasCorrectMainProperty(obj) {
133107
+ return typeof obj.main === "string";
133108
+ }
133109
+ function checkSimplePaletteColorValues(obj, additionalPropertiesToCheck = []) {
133110
+ if (!hasCorrectMainProperty(obj)) {
133111
+ return false;
133112
+ }
133113
+ for (const value of additionalPropertiesToCheck) {
133114
+ if (!obj.hasOwnProperty(value) || typeof obj[value] !== "string") {
133115
+ return false;
133116
+ }
133117
+ }
133118
+ return true;
133119
+ }
133120
+ function createSimplePaletteValueFilter(additionalPropertiesToCheck = []) {
133121
+ return ([, value]) => value && checkSimplePaletteColorValues(value, additionalPropertiesToCheck);
133122
+ }
133106
133123
  function HTMLElementType(props, propName, componentName, location, propFullName) {
133107
133124
  const propValue = props[propName];
133108
133125
  const safePropName = propFullName || propName;
@@ -133210,23 +133227,6 @@ Portal.propTypes = {
133210
133227
  {
133211
133228
  Portal["propTypes"] = exactProp(Portal.propTypes);
133212
133229
  }
133213
- function hasCorrectMainProperty(obj) {
133214
- return typeof obj.main === "string";
133215
- }
133216
- function checkSimplePaletteColorValues(obj, additionalPropertiesToCheck = []) {
133217
- if (!hasCorrectMainProperty(obj)) {
133218
- return false;
133219
- }
133220
- for (const value of additionalPropertiesToCheck) {
133221
- if (!obj.hasOwnProperty(value) || typeof obj[value] !== "string") {
133222
- return false;
133223
- }
133224
- }
133225
- return true;
133226
- }
133227
- function createSimplePaletteValueFilter(additionalPropertiesToCheck = []) {
133228
- return ([, value]) => value && checkSimplePaletteColorValues(value, additionalPropertiesToCheck);
133229
- }
133230
133230
  function isHostComponent(element) {
133231
133231
  return typeof element === "string";
133232
133232
  }
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A, E, S, a, b, f, e, d, c } from "./index-D1BSYmZN.js";
1
+ import { A, E, S, a, b, f, e, d, c } from "./index-C5d2vHI6.js";
2
2
  export {
3
3
  A as AbstractSpatialOrScatterplot,
4
4
  E as EmptyMessage,
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-D1BSYmZN.js";
1
+ import { B as BaseDecoder } from "./index-C5d2vHI6.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-D1BSYmZN.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-C5d2vHI6.js";
3
3
  const LercParameters = {
4
4
  AddCompression: 1
5
5
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-D1BSYmZN.js";
1
+ import { B as BaseDecoder } from "./index-C5d2vHI6.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-D1BSYmZN.js";
1
+ import { B as BaseDecoder } from "./index-C5d2vHI6.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-D1BSYmZN.js";
1
+ import { B as BaseDecoder } from "./index-C5d2vHI6.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-D1BSYmZN.js";
1
+ import { B as BaseDecoder } from "./index-C5d2vHI6.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",
3
- "version": "3.6.7",
3
+ "version": "3.6.8",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -21,13 +21,13 @@
21
21
  "d3-quadtree": "^1.0.7",
22
22
  "lodash-es": "^4.17.21",
23
23
  "react-aria": "^3.28.0",
24
- "@vitessce/styles": "3.6.7",
25
- "@vitessce/constants-internal": "3.6.7",
26
- "@vitessce/gl": "3.6.7",
27
- "@vitessce/icons": "3.6.7",
28
- "@vitessce/tooltip": "3.6.7",
29
- "@vitessce/utils": "3.6.7",
30
- "@vitessce/vit-s": "3.6.7"
24
+ "@vitessce/styles": "3.6.8",
25
+ "@vitessce/constants-internal": "3.6.8",
26
+ "@vitessce/gl": "3.6.8",
27
+ "@vitessce/icons": "3.6.8",
28
+ "@vitessce/tooltip": "3.6.8",
29
+ "@vitessce/utils": "3.6.8",
30
+ "@vitessce/vit-s": "3.6.8"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@testing-library/jest-dom": "^6.6.3",