@vitessce/all 3.3.5 → 3.3.6

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-69ad551a.js";
2
+ import { B as BaseDecoder } from "./index-f2e082fb.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -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-69ad551a.js";
3
+ import { c as commonjsGlobal, o as objectAssign, g as getDefaultExportFromCjs, e as earcut, b as getAugmentedNamespace } from "./index-f2e082fb.js";
4
4
  function _mergeNamespaces(n, m) {
5
5
  for (var i = 0; i < m.length; i++) {
6
6
  const e = m[i];
@@ -7081,8 +7081,9 @@ function getNextScope(prevScopes) {
7081
7081
  }
7082
7082
  const DEFAULT_DARK_COLOR = [50, 50, 50];
7083
7083
  const DEFAULT_LIGHT_COLOR$3 = [200, 200, 200];
7084
+ const DEFAULT_LIGHT2_COLOR = [235, 235, 235];
7084
7085
  function getDefaultColor(theme) {
7085
- return theme === "dark" ? DEFAULT_DARK_COLOR : DEFAULT_LIGHT_COLOR$3;
7086
+ return theme === "dark" ? DEFAULT_DARK_COLOR : theme === "light" ? DEFAULT_LIGHT_COLOR$3 : DEFAULT_LIGHT2_COLOR;
7086
7087
  }
7087
7088
  const PALETTE = [
7088
7089
  [68, 119, 170],
@@ -156325,16 +156326,16 @@ async function getDecoder(fileDirectory) {
156325
156326
  const Decoder = await importFn();
156326
156327
  return new Decoder(fileDirectory);
156327
156328
  }
156328
- addDecoder([void 0, 1], () => import("./raw-344c6603.js").then((m2) => m2.default));
156329
- addDecoder(5, () => import("./lzw-bec7c4c2.js").then((m2) => m2.default));
156329
+ addDecoder([void 0, 1], () => import("./raw-3e7d0813.js").then((m2) => m2.default));
156330
+ addDecoder(5, () => import("./lzw-754fdaeb.js").then((m2) => m2.default));
156330
156331
  addDecoder(6, () => {
156331
156332
  throw new Error("old style JPEG compression is not supported.");
156332
156333
  });
156333
- addDecoder(7, () => import("./jpeg-486c496f.js").then((m2) => m2.default));
156334
- addDecoder([8, 32946], () => import("./deflate-9dafbbdd.js").then((m2) => m2.default));
156335
- addDecoder(32773, () => import("./packbits-fb191a07.js").then((m2) => m2.default));
156336
- addDecoder(34887, () => import("./lerc-d44258ea.js").then((m2) => m2.default));
156337
- addDecoder(50001, () => import("./webimage-ca45fc32.js").then((m2) => m2.default));
156334
+ addDecoder(7, () => import("./jpeg-02d5fbb9.js").then((m2) => m2.default));
156335
+ addDecoder([8, 32946], () => import("./deflate-9e23a7db.js").then((m2) => m2.default));
156336
+ addDecoder(32773, () => import("./packbits-d34edbf8.js").then((m2) => m2.default));
156337
+ addDecoder(34887, () => import("./lerc-4ac97b0f.js").then((m2) => m2.default));
156338
+ addDecoder(50001, () => import("./webimage-2385de92.js").then((m2) => m2.default));
156338
156339
  function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
156339
156340
  return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
156340
156341
  }
@@ -204688,7 +204689,7 @@ const HIGLASS_BUNDLE_VERSION = "1.11.13";
204688
204689
  const HIGLASS_CSS_URL = `https://unpkg.com/${HIGLASS_PKG_NAME}@${HIGLASS_BUNDLE_VERSION}/dist/hglib.css`;
204689
204690
  register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
204690
204691
  const LazyHiGlassComponent = React__default.lazy(async () => {
204691
- const { HiGlassComponent } = await import("./hglib-9856f827.js").then((n3) => n3.h);
204692
+ const { HiGlassComponent } = await import("./hglib-9f6a7eaf.js").then((n3) => n3.h);
204692
204693
  return { default: HiGlassComponent };
204693
204694
  });
204694
204695
  const HG_SIZE = 800;
@@ -266312,8 +266313,7 @@ function Vitessce(props2) {
266312
266313
  pluginViewTypes: pluginViewTypesProp,
266313
266314
  pluginFileTypes: pluginFileTypesProp,
266314
266315
  pluginCoordinationTypes: pluginCoordinationTypesProp,
266315
- pluginJointFileTypes: pluginJointFileTypesProp,
266316
- stores
266316
+ pluginJointFileTypes: pluginJointFileTypesProp
266317
266317
  } = props2;
266318
266318
  const configKey = (config3 == null ? void 0 : config3.uid) || config3;
266319
266319
  const configVersion = config3 == null ? void 0 : config3.version;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { f, P, h, d, V, z } from "./index-69ad551a.js";
1
+ import { f, P, h, d, V, z } from "./index-f2e082fb.js";
2
+ import { useCoordination } from "@vitessce/vit-s";
2
3
  import "react";
3
- import "@vitessce/vit-s";
4
4
  import "react-dom";
5
5
  export {
6
6
  f as PluginCoordinationType,
@@ -8,5 +8,6 @@ export {
8
8
  h as PluginJointFileType,
9
9
  d as PluginViewType,
10
10
  V as Vitessce,
11
+ useCoordination,
11
12
  z
12
13
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-69ad551a.js";
1
+ import { B as BaseDecoder } from "./index-f2e082fb.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, L as LercParameters, a as LercAddCompression } from "./index-69ad551a.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-f2e082fb.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-69ad551a.js";
1
+ import { B as BaseDecoder } from "./index-f2e082fb.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-69ad551a.js";
1
+ import { B as BaseDecoder } from "./index-f2e082fb.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-69ad551a.js";
1
+ import { B as BaseDecoder } from "./index-f2e082fb.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-69ad551a.js";
1
+ import { B as BaseDecoder } from "./index-f2e082fb.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1 +1 @@
1
- {"version":3,"file":"Vitessce.d.ts","sourceRoot":"","sources":["../src/Vitessce.tsx"],"names":[],"mappings":"AAgBA,wBAAgB,QAAQ,CAAC,KAAK,EAAE,GAAG,8CA+DlC"}
1
+ {"version":3,"file":"Vitessce.d.ts","sourceRoot":"","sources":["../src/Vitessce.tsx"],"names":[],"mappings":"AAgBA,wBAAgB,QAAQ,CAAC,KAAK,EAAE,GAAG,8CA8DlC"}
@@ -5,7 +5,7 @@ import { VitS, logConfig, } from '@vitessce/vit-s';
5
5
  import { upgradeAndParse, } from '@vitessce/schemas';
6
6
  import { baseViewTypes, baseFileTypes, baseJointFileTypes, baseCoordinationTypes, } from './base-plugins.js';
7
7
  export function Vitessce(props) {
8
- const { config, onConfigUpgrade, pluginViewTypes: pluginViewTypesProp, pluginFileTypes: pluginFileTypesProp, pluginCoordinationTypes: pluginCoordinationTypesProp, pluginJointFileTypes: pluginJointFileTypesProp, stores, } = props;
8
+ const { config, onConfigUpgrade, pluginViewTypes: pluginViewTypesProp, pluginFileTypes: pluginFileTypesProp, pluginCoordinationTypes: pluginCoordinationTypesProp, pluginJointFileTypes: pluginJointFileTypesProp, } = props;
9
9
  // If config.uid exists, then use it for hook dependencies to detect changes
10
10
  // (controlled component case). If not, then use the config object itself
11
11
  // and assume the un-controlled component case.
@@ -1,4 +1,5 @@
1
1
  export { Vitessce } from './Vitessce.js';
2
2
  export { PluginFileType, PluginViewType, PluginCoordinationType, PluginJointFileType, } from '@vitessce/plugins';
3
3
  export { z } from '@vitessce/schemas';
4
+ export { useCoordination } from '@vitessce/vit-s';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EACL,cAAc,EACd,cAAc,EACd,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EACL,cAAc,EACd,cAAc,EACd,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC"}
package/dist-tsc/index.js CHANGED
@@ -1,3 +1,4 @@
1
1
  export { Vitessce } from './Vitessce.js';
2
2
  export { PluginFileType, PluginViewType, PluginCoordinationType, PluginJointFileType, } from '@vitessce/plugins';
3
3
  export { z } from '@vitessce/schemas';
4
+ export { useCoordination } from '@vitessce/vit-s';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/all",
3
- "version": "3.3.5",
3
+ "version": "3.3.6",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -18,27 +18,27 @@
18
18
  "dependencies": {
19
19
  "@material-ui/core": "~4.12.3",
20
20
  "zod": "^3.21.4",
21
- "@vitessce/csv": "3.3.5",
22
- "@vitessce/constants-internal": "3.3.5",
23
- "@vitessce/description": "3.3.5",
24
- "@vitessce/genomic-profiles": "3.3.5",
25
- "@vitessce/heatmap": "3.3.5",
26
- "@vitessce/feature-list": "3.3.5",
27
- "@vitessce/json": "3.3.5",
28
- "@vitessce/obs-sets-manager": "3.3.5",
29
- "@vitessce/layer-controller-beta": "3.3.5",
30
- "@vitessce/layer-controller": "3.3.5",
31
- "@vitessce/plugins": "3.3.5",
32
- "@vitessce/ome-tiff": "3.3.5",
33
- "@vitessce/scatterplot-embedding": "3.3.5",
34
- "@vitessce/scatterplot-gating": "3.3.5",
35
- "@vitessce/schemas": "3.3.5",
36
- "@vitessce/spatial-beta": "3.3.5",
37
- "@vitessce/statistical-plots": "3.3.5",
38
- "@vitessce/spatial": "3.3.5",
39
- "@vitessce/status": "3.3.5",
40
- "@vitessce/vit-s": "3.3.5",
41
- "@vitessce/zarr": "3.3.5"
21
+ "@vitessce/constants-internal": "3.3.6",
22
+ "@vitessce/csv": "3.3.6",
23
+ "@vitessce/description": "3.3.6",
24
+ "@vitessce/genomic-profiles": "3.3.6",
25
+ "@vitessce/heatmap": "3.3.6",
26
+ "@vitessce/json": "3.3.6",
27
+ "@vitessce/layer-controller": "3.3.6",
28
+ "@vitessce/feature-list": "3.3.6",
29
+ "@vitessce/layer-controller-beta": "3.3.6",
30
+ "@vitessce/obs-sets-manager": "3.3.6",
31
+ "@vitessce/ome-tiff": "3.3.6",
32
+ "@vitessce/plugins": "3.3.6",
33
+ "@vitessce/scatterplot-embedding": "3.3.6",
34
+ "@vitessce/scatterplot-gating": "3.3.6",
35
+ "@vitessce/schemas": "3.3.6",
36
+ "@vitessce/spatial": "3.3.6",
37
+ "@vitessce/spatial-beta": "3.3.6",
38
+ "@vitessce/statistical-plots": "3.3.6",
39
+ "@vitessce/zarr": "3.3.6",
40
+ "@vitessce/status": "3.3.6",
41
+ "@vitessce/vit-s": "3.3.6"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/react": "^18.0.28",
package/src/Vitessce.tsx CHANGED
@@ -22,7 +22,6 @@ export function Vitessce(props: any) {
22
22
  pluginFileTypes: pluginFileTypesProp,
23
23
  pluginCoordinationTypes: pluginCoordinationTypesProp,
24
24
  pluginJointFileTypes: pluginJointFileTypesProp,
25
- stores,
26
25
  } = props;
27
26
 
28
27
  // If config.uid exists, then use it for hook dependencies to detect changes
package/src/index.ts CHANGED
@@ -6,3 +6,4 @@ export {
6
6
  PluginJointFileType,
7
7
  } from '@vitessce/plugins';
8
8
  export { z } from '@vitessce/schemas';
9
+ export { useCoordination } from '@vitessce/vit-s';