vitessce 4.0.9 → 4.0.10

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/README.md CHANGED
@@ -1,2 +1,288 @@
1
- This package is the main `vitessce` package on NPM.
2
- It exports the `<Vitessce/>` from `@vitessce/all` for backwards compatibility.
1
+ <a href="http://vitessce.io">
2
+ <img src="./img/logo-transparent.png" alt="Vitessce logo" title="Vitessce" />
3
+ </a>
4
+
5
+ Visual Integration Tool for Exploration of Spatial Single-Cell Experiments
6
+
7
+ - [Documentation and demos](http://vitessce.io/)
8
+ - [Online configuration editor](http://vitessce.io/#?edit=true)
9
+ - [Older releases and demos](https://github.com/vitessce/vitessce/releases)
10
+ - [Older releases on NPM](https://www.npmjs.com/package/vitessce?activeTab=versions)
11
+
12
+ <table><tr>
13
+ <td>
14
+ <img src="https://user-images.githubusercontent.com/1216518/93336741-2b60c880-f7f6-11ea-8b82-7e1e0ea45e43.png" width="500" alt="Screenshot of Vitessce with Linnarsson data" />
15
+ </td>
16
+ <td>
17
+ <img src="https://user-images.githubusercontent.com/1216518/93337080-a4f8b680-f7f6-11ea-9e53-2c73cc661b94.png" width="500" alt="Same data, zoomed in to cellular scale" />
18
+ </td>
19
+ </tr></table>
20
+
21
+ ## Why Vitessce
22
+
23
+ ### Interactive
24
+
25
+ Vitessce consists of reusable interactive views including a scatterplot, spatial+imaging plot, genome browser tracks, statistical plots, and control views, built on web technologies such as WebGL.
26
+
27
+ ### Integrative
28
+
29
+ Vitessce enables visual analysis of multi-modal assay types which probe biological systems through techniques such as microscopy, genomics, and transcriptomics.
30
+
31
+ ### Serverless
32
+
33
+ Visualize large datasets stored in static cloud object stores such as AWS S3. No need to manage or pay for expensive compute infrastructure for visualization purposes.
34
+
35
+ ## Usage
36
+
37
+ Vitessce can be used in React projects by installing the package from NPM:
38
+
39
+ ```sh
40
+ npm install vitessce
41
+ ```
42
+
43
+ For more details, please visit the [documentation](http://vitessce.io/docs/js-overview/).
44
+
45
+ ## How to Contribute
46
+
47
+ We welcome contributions! Please check out our [Contributing Guide](CONTRIBUTING.md) for detailed instructions.
48
+
49
+
50
+ ## Development
51
+
52
+ First install [PNPM](https://pnpm.io/installation) v9.5. We develop and test against NodeJS `v18.6.0` and NPM `8.13.2`.
53
+
54
+ > **Note**
55
+ > NodeJS may require the [`max_old_space_size`](https://stackoverflow.com/a/59572966) value to be increased.
56
+ ```sh
57
+ . ./scripts/set-node-options.sh
58
+ ```
59
+
60
+ Checkout the project, `cd`, and then:
61
+
62
+ ```sh
63
+ pnpm install
64
+ pnpm run build
65
+ pnpm run start-demo
66
+ ```
67
+
68
+ The development server will refresh the browser as you edit the code.
69
+
70
+ To get started creating a new view:
71
+
72
+ ```sh
73
+ pnpm run create-view line-plot
74
+ ```
75
+
76
+ Further details for internal developers can be found within [dev-docs](./dev-docs/).
77
+
78
+ ### Changesets
79
+
80
+ We use [changesets](https://github.com/changesets/changesets) to manage the changelog.
81
+ Therefore, when making code changes, do not edit `CHANGELOG.md` directly.
82
+ Instead, run `pnpm changeset`, follow the prompts, and commit the resulting markdown files along with the code changes.
83
+
84
+ ### Branches
85
+
86
+ Please use one of the following naming conventions for new branches:
87
+ - `{github-username}/{feature-name}`
88
+ - `{github-username}/fix-{issue-num}`
89
+
90
+ ### Pull requests
91
+
92
+ We use squash merging for pull requests.
93
+
94
+ ### Monorepo organization
95
+
96
+ See `pnpm-workspace.yaml` for more information.
97
+ We are using PNPM [catalogs](https://pnpm.io/catalogs) which are available from v9.5.0 of PNPM.
98
+
99
+ ### Testing
100
+
101
+ For the end-to-end tests, they depend on
102
+ ```sh
103
+ cd sites/demo && pnpm run build-demo
104
+ ```
105
+
106
+ - To run all the tests, both unit and e2e: `./scripts/test.sh`
107
+ - To run just the unit tests: `pnpm run test`
108
+
109
+ ### Linting
110
+
111
+ ```sh
112
+ pnpm run lint
113
+ ```
114
+
115
+ To allow the linter to perform automated fixes during linting: `pnpm run lint-fix`
116
+
117
+ ### Troubleshooting
118
+
119
+ The following commands can be helpful in case the local environment gets into a broken state:
120
+
121
+ - `pnpm install`
122
+ - `pnpm run clean`: removes build/bundle directories and all `tsconfig.tsbuildinfo` files (used by TypeScript's Project References).
123
+ - `pnpm run build`: need to re-build subpackages after this type of cleanup.
124
+ - `pnpm run clean-deps`: removes all `node_modules` directories, including those nested inside subpackages.
125
+ - `pnpm install`: need to re-install dependencies after this type of cleanup.
126
+
127
+ ## Deployment
128
+
129
+ Before running any of the deployment scripts, confirm that you have installed the AWS CLI and are in the appropriate AWS account:
130
+ ```
131
+ $ aws iam list-account-aliases --query 'AccountAliases[0]'
132
+ "hdv-vitessce"
133
+ ```
134
+
135
+ ### Staging
136
+
137
+ To build the current branch and push the "minimal" demo and docs sites to S3, run this script:
138
+ ```sh
139
+ ./scripts/push-demos.sh
140
+ ```
141
+
142
+ This will build the demo and docs, push both to S3, and finally open the docs deployment in your browser.
143
+
144
+ #### Publish staged development site
145
+
146
+ After doing a [manual test](./dev-docs/manual-testing.md) of the deployment of the dev site,
147
+ if it looks good, copy it to dev.vitessce.io:
148
+
149
+ ```sh
150
+ ./scripts/copy-dev.sh https://{url returned by scripts/deploy-release.sh or scripts/push-demos.sh}
151
+ ```
152
+
153
+ Note: if you need to obtain this URL later:
154
+
155
+ ```
156
+ Copy dev to https://legacy.vitessce.io/demos/$DATE/$HASH/index.html
157
+ ```
158
+
159
+ #### Publish staged docs to vitessce.io
160
+
161
+ After doing a manual test of the deployment of the docs,
162
+ if it looks good, copy it to vitessce.io:
163
+
164
+ ```sh
165
+ ./scripts/copy-docs.sh https://{url returned by scripts/deploy-release.sh or scripts/push-demos.sh}
166
+ ```
167
+
168
+ Note: if you need to obtain this URL later:
169
+
170
+ ```
171
+ Copy docs to https://data-1.vitessce.io/docs-root/$DATE/$HASH/index.html
172
+ ```
173
+
174
+ ## Release
175
+
176
+ Releasing refers to publishing all sub-packages to NPM and creating a corresponding GitHub release.
177
+
178
+ Note: releasing does not currently result in automatic deployment of the documentation or development sites (see the [Deployment](#deployment) section above).
179
+
180
+ Also note: If the release includes a new NPM package (e.g., `@vitessce/new-view`), trusted publishing must first be configured via NPM (see [discussion](https://github.com/orgs/community/discussions/181927)).
181
+
182
+ ### From GitHub Actions
183
+
184
+ When there are changesets on the `main` branch, the [`changesets/action`](https://github.com/changesets/action) bot will run `./scripts/changeset-version.sh --action` and make a pull request titled "Create release".
185
+
186
+ - This pull request remains open until ready to make a release. The bot will update the pull request as new changesets are added to `main`.
187
+
188
+ Once this "Create release" pull request is merged, the next time `release.yml` is executed on GitHub Actions, the following will occur:
189
+ - [`changesets/action`](https://github.com/changesets/action) will run `./scripts/changeset-publish.sh --action`, which:
190
+ - publishes to NPM using [OIDC trusted publishing](https://docs.npmjs.com/trusted-publishers)
191
+ - creates a new git tag for the release
192
+ - [`softprops/action-gh-release`](https://github.com/softprops/action-gh-release) will generate a GitHub release based on the git tag, using the latest changelog entries for the release notes.
193
+
194
+ ### From local machine
195
+
196
+ ```sh
197
+ pnpm run build
198
+ pnpm run bundle
199
+ pnpm run build-json-schema
200
+
201
+ ./scripts/changeset-version.sh
202
+ ./scripts/changeset-publish.sh # runs pnpm publish internally
203
+ ```
204
+
205
+ ## Version bumps
206
+
207
+ In this project we try to follow semantic versioning.
208
+ The following are examples of things that would require a major, minor, or patch type of bump.
209
+
210
+ ### Patch version bumps
211
+
212
+ Bug fixes, minor feature improvements, additional view types, additional coordination types, and additional file type implementations are possible in a patch version bump.
213
+
214
+ When a coordination type is added, it must be reflected by a new view config JSON schema with an incremented `version` property, and a new view config upgrade function to enable previous view config versions to remain compatible.
215
+ The default schema version parameter of the `VitessceConfig` constructor may also change to reflect the new schema version.
216
+
217
+ ### Minor version bumps
218
+
219
+ An exported helper function or React component for plugin views had a change in props or function signature.
220
+ Major feature improvements or additions.
221
+
222
+ ### Major version bumps
223
+
224
+ The exported constant values changed, such as view types and coordination types, such that previous code using these values may no longer run successfully.
225
+ React props of the main `<Vitessce />` component changed.
226
+ Major behavior changes or interface updates.
227
+ Changes to the directory structure or filenames in the `dist/` directory that could result in broken import statements.
228
+
229
+
230
+ ## Related repositories
231
+
232
+ - [Viv](https://github.com/hms-dbmi/viv): A library for multiscale visualization of high-resolution multiplexed tissue data on the web.
233
+ - [HiGlass](https://github.com/higlass/higlass): A library for multiscale visualization of genomic data on the web.
234
+ - [vitessce-python](https://github.com/vitessce/vitessce-python): Python API and Jupyter widget.
235
+ - [vitessce-r](https://github.com/vitessce/vitessce-r): R API and R htmlwidget.
236
+ - [vitessce-data](https://github.com/hms-dbmi/vitessce-data): Scripts to generate sample data
237
+
238
+ ## Old presentations
239
+
240
+ - [May 2022: Mark Keller's lab meeting update](https://docs.google.com/presentation/d/1qfd0rc6bF9nFIvOMp2YacpbJ7F8_UYhSYjLn26AlH7k/edit?usp=sharing)
241
+ - [February 2022: Mark Keller's lab meeting update](https://docs.google.com/presentation/d/1J4lcWxD1GRGLBm0RLkGmEGcuQvXX9yBVBsQo2rXPTVM/edit?usp=sharing)
242
+ - [October 2021: Mark Keller's lab meeting update](https://docs.google.com/presentation/d/1bibMLiR5aW_MgXn6ydhXWJsEN3tG5gJSw9xuYa49x5U/edit?usp=sharing)
243
+ - [September 2021: HuBMAP Consortium Sci-Tech Webinar (Mark)](https://docs.google.com/presentation/d/1iPXSGEGT9HNNSrXT5uu0x_9Jq6L3cnhrpaz1Pge5O50/edit?usp=sharing)
244
+ - [June 2021: Mark Keller's lab meeting update](https://docs.google.com/presentation/d/1P--F_MLeWK2n3JrY21mGn9FBgI2u60nQGN_XZtniSnc/edit?usp=sharing)
245
+ - [April 2021: Spatial Biology Europe (Mark)](https://docs.google.com/presentation/d/1s33dKMCdE3LtC43IWBw48ZDmmtYJarDPtUOhH9T3D6Q/edit?usp=sharing)
246
+ - [January 2021: Ilan Gold's lab meeting update](https://docs.google.com/presentation/d/10kmjLxQh5ji-4TVMq06KRpXek3uje_fQpTXBqjFj0p4/edit?usp=sharing)
247
+ - [December 2020: Mark Keller's lab meeting update](https://docs.google.com/presentation/d/1rG0s5eH_NrFSk3_7lpmc9dsaUPFvnakYD59ff9D-G1M/edit?usp=sharing)
248
+ - [November 2020: Ilan Gold's lab meeting update](https://docs.google.com/presentation/d/1egAwCR8UwdRCWiGYVRelebwNDH9boBX1nJIX5auvf1w/edit?usp=sharing)
249
+ - [October 2020: Mark Keller's lab meeting update](https://docs.google.com/presentation/d/1M8dGbIGA_cfa3uZnGLnk3iMzMNVbxzza33OKBqwwlNQ/edit?usp=sharing)
250
+ - [July 2020: Ilan Gold's lab meeting update](https://docs.google.com/presentation/d/1QzKYP6sXPefBMNfY4PW4H0AMoWVbw9HeNoweLmJg17Y/edit?usp=sharing)
251
+ - [June 2020: NLM Informatics Training Conference (Trevor)](https://docs.google.com/presentation/d/1eYslI4y1LbnEGwj4XHXxqYcRKpYgqc9Y2mZTd5iCzMc/edit?usp=sharing)
252
+ - [May 2020: Trevor Manz's overview of multimodal imaging in Vitessce](https://docs.google.com/presentation/d/1NPYZPduymN7wzgN-NYRQwd15D-nUZYILJTgBR2oNb04/edit?usp=sharing)
253
+ - [January 2020: Ilan Gold's overview of IF Imagery](https://docs.google.com/presentation/d/1BSz2JefN2WSF_RwVpOrIhYD2V8D7ZLc5b21VTy2Xmlo/edit#slide=id.p)
254
+ - [January 2020: Trevor Manz's wrap-up on Arrow, Zarr, and IMS](https://docs.google.com/presentation/d/1H2hff-bW4SZ3KFD5_q0iN-Dv1yew7pVe0MbdMsA2gko/edit)
255
+ - [September 2019: HuBMAP Poster](https://drive.google.com/open?id=1pRiTN99-wZ6QuEMWzorcD4fA2Fi-7eW4)
256
+ - [August 2019: SIBMI Presentations](https://docs.google.com/presentation/d/1IRWDofdvKS3qbLY-s0a1EUijha3m-JopMYgmETOIHq0/edit?usp=sharing)
257
+ - [July 2019: Intern progress reports and HuBMAP collaboration](https://docs.google.com/presentation/d/10zanc_cHh-OcFvBeuJdKBpLnazjVh64pbbdD4kJQ7GY/edit?usp=sharing)
258
+ - [May 2019: Harvard IT Summit](https://docs.google.com/presentation/d/1eYDMedzhQtcClB2cIBo17hlaSSAu_-vzkG4LY_mGGQ8/edit#slide=id.p)
259
+ - [May 2019: Misc. tools](https://docs.google.com/presentation/d/1TaC68-r6bosnwi05BZ5bNh9tzeXsxyqmBo1gFZDxhGM/edit#slide=id.p)
260
+ - [April 2019: Software engineering](https://docs.google.com/presentation/d/1uW3J83LYaa67M9ZKe15AQw_h06QiFJBzpBickbRFcCY/edit#slide=id.p)
261
+
262
+ ## Citation
263
+
264
+ To cite Vitessce in your work, please use:
265
+
266
+ ```bibtex
267
+ @article{keller2024vitessce,
268
+ title = {{Vitessce: integrative visualization of multimodal and spatially resolved single-cell data}},
269
+ author = {Keller, Mark S. and Gold, Ilan and McCallum, Chuck and Manz, Trevor and Kharchenko, Peter V. and Gehlenborg, Nils},
270
+ journal = {Nature Methods},
271
+ year = {2024},
272
+ month = sep,
273
+ doi = {10.1038/s41592-024-02436-x}
274
+ }
275
+ ```
276
+
277
+ If you use the image rendering functionality, please additionally cite Viv:
278
+
279
+ ```bibtex
280
+ @article{manz2022viv,
281
+ title = {{Viv: multiscale visualization of high-resolution multiplexed bioimaging data on the web}},
282
+ author = {Manz, Trevor and Gold, Ilan and Patterson, Nathan Heath and McCallum, Chuck and Keller, Mark S. and Herr, II, Bruce W. and Börner, Kay and Spraggins, Jeffrey M. and Gehlenborg, Nils},
283
+ journal = {Nature Methods},
284
+ year = {2022},
285
+ month = may,
286
+ doi = {10.1038/s41592-022-01482-7}
287
+ }
288
+ ```
package/README.temp.md ADDED
@@ -0,0 +1,2 @@
1
+ This package is the main `vitessce` package on NPM.
2
+ It exports the `<Vitessce/>` from `@vitessce/all` for backwards compatibility.
@@ -3,7 +3,7 @@ import { useRef as r, useEffect as Se, useState as B } from "react";
3
3
  import { useThree as xe, useFrame as be } from "@react-three/fiber";
4
4
  import { Bvh as Fe } from "@react-three/drei";
5
5
  import { Matrix4 as ye, Vector3 as P, Box3 as N, FrontSide as se } from "three";
6
- import { g as Le, i as we, M as W, s as ce } from "./index-B4p3hNso.js";
6
+ import { g as Le, i as we, M as W, s as ce } from "./index-3lkw9DDS.js";
7
7
  function Be(a, d) {
8
8
  return a.get(d);
9
9
  }
@@ -3,7 +3,7 @@ var g_ = (i, e, t) => e in i ? p_(i, e, { enumerable: !0, configurable: !0, writ
3
3
  var Fn = (i, e, t) => g_(i, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { jsx as m_, jsxs as v_ } from "react/jsx-runtime";
5
5
  import Hb from "react";
6
- import { b as Qe, r as y_, h as Vt, j as ut, k as Hv, m as qv, n as Gk, o as jv, p as Nr, q as Jv, s as aa, t as Ro, v as Ao, w as Wk, x as oa, y as qu, z as Or, A as ju, D as Ju, E as xs, F as S_, G as b_, H as w_, I as Ku, J as C_, K as x_, M as Hk, N as Yu, O as E_, P as k_, Q as T_, R as L_, S as D_, T as Kv, U as qk, V as I_, W as Yv, X as P_, Y as R_, Z as A_, _ as __, $ as M_, a0 as N_, a1 as O_, a2 as V_, a3 as B_, a4 as qb, a5 as F_ } from "./index-nVPavuEc.js";
6
+ import { b as Qe, r as y_, h as Vt, j as ut, k as Hv, m as qv, n as Gk, o as jv, p as Nr, q as Jv, s as aa, t as Ro, v as Ao, w as Wk, x as oa, y as qu, z as Or, A as ju, D as Ju, E as xs, F as S_, G as b_, H as w_, I as Ku, J as C_, K as x_, M as Hk, N as Yu, O as E_, P as k_, Q as T_, R as L_, S as D_, T as Kv, U as qk, V as I_, W as Yv, X as P_, Y as R_, Z as A_, _ as __, $ as M_, a0 as N_, a1 as O_, a2 as V_, a3 as B_, a4 as qb, a5 as F_ } from "./index-v5bTUxhb.js";
7
7
  var U_ = y_();
8
8
  const H = /* @__PURE__ */ Qe(U_);
9
9
  var jb = {}, Nf, Jb;
@@ -1,6 +1,6 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import { useState as s, useEffect as o } from "react";
3
- import { g as r } from "./xrStore-CIR_gw_C.js";
3
+ import { g as r } from "./xrStore-B2AB8Aer.js";
4
4
  function b() {
5
5
  const [i, u] = s(!1), [n, a] = s(!1);
6
6
  return o(() => {
@@ -1,7 +1,7 @@
1
1
  import { jsxs as c, Fragment as d, jsx as i } from "react/jsx-runtime";
2
2
  import { useRef as m } from "react";
3
3
  import { useThree as g, useFrame as h } from "@react-three/fiber";
4
- import { g as x } from "./index-B4p3hNso.js";
4
+ import { g as x } from "./index-3lkw9DDS.js";
5
5
  function l(n, r) {
6
6
  return n.get(r);
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { g as e } from "./index-B4p3hNso.js";
3
- import { g as m } from "./xrStore-CIR_gw_C.js";
2
+ import { g as e } from "./index-3lkw9DDS.js";
3
+ import { g as m } from "./xrStore-B2AB8Aer.js";
4
4
  function f({ children: r }) {
5
5
  const { XR: o } = e();
6
6
  return t(o, { store: m(), children: r });
@@ -1,5 +1,5 @@
1
1
  import { i as r } from "./pako.esm-D68R8YXe.js";
2
- import { B as a } from "./index-nVPavuEc.js";
2
+ import { B as a } from "./index-v5bTUxhb.js";
3
3
  class s extends a {
4
4
  decodeBlock(e) {
5
5
  return r(new Uint8Array(e)).buffer;
@@ -1,6 +1,6 @@
1
1
  import * as KY from "react";
2
2
  import I, { createContext as op, isValidElement as ZY, PureComponent as ap, Component as sp, useMemo as Zt, useState as Ur, useRef as Mt, useEffect as ar, useCallback as zt, memo as QY, useContext as nl, useReducer as JY, useLayoutEffect as eK } from "react";
3
- import { b as PB, e as e4, f as qO } from "./index-nVPavuEc.js";
3
+ import { b as PB, e as e4, f as qO } from "./index-v5bTUxhb.js";
4
4
  import ga, { unstable_batchedUpdates as Yp, createPortal as tK } from "react-dom";
5
5
  import { jsx as Ic, jsxs as rK } from "react/jsx-runtime";
6
6
  function nK(t) {
@@ -6,7 +6,7 @@ import ae, { useRef as Q, useState as X, useEffect as q, Suspense as ee, forward
6
6
  import { Canvas as Ce } from "@react-three/fiber";
7
7
  import { Center as ze, Text as ve, Line as Te, Bvh as we, OrbitControls as Me } from "@react-three/drei";
8
8
  import { Matrix3 as Le, Matrix4 as ie, Vector3 as P, Vector2 as G, UniformsUtils as Pe, Data3DTexture as Ae, RedFormat as De, FloatType as Ie, LinearFilter as ge, FrontSide as _e, Scene as Fe, Group as Ee, MeshPhysicalMaterial as Re, MeshBasicMaterial as Ve, MeshStandardMaterial as Oe, BackSide as ke } from "three";
9
- import { C as j, g as Ue } from "./index-nVPavuEc.js";
9
+ import { C as j, g as Ue } from "./index-v5bTUxhb.js";
10
10
  function Ne({ currentLine: t, scale: e }) {
11
11
  const a = Q(null);
12
12
  return H("group", { children: [_(ze, { bottom: !0, right: !0, position: [t.midPoint.x, t.midPoint.y, t.midPoint.z], rotation: [0, 0, 0], children: _(ve, { color: "gray", scale: 0.05, ref: a, children: `${(t.startPoint.distanceTo(t.endPoint) * e).toFixed(2)} µm` }) }), _(Te, {
@@ -762,7 +762,7 @@ function re(t) {
762
762
  g(c.object.name);
763
763
  }, onPointerOut: () => g(null) }) })] }) : null, i.uniforms && i.shader && i.meshScale && i.geometrySize ? _("group", { children: H("mesh", { scale: i.meshScale, ref: l, children: [_("boxGeometry", { args: i.geometrySize }), _("shaderMaterial", { customProgramCacheKey: () => "1", side: _e, uniforms: i.uniforms, needsUpdate: !0, transparent: !0, vertexShader: i.shader.vertexShader, fragmentShader: i.shader.fragmentShader })] }) }) : null] }), _("group", { name: "lines", children: m.map((c) => _(Ne, { currentLine: c, scale: 1 }, tt(c))) })] });
764
764
  }
765
- const at = ae.lazy(() => import("./GeometryAndMeshXR-CMXdqWEr.js").catch(() => ({ default: re }))), lt = ae.lazy(() => import("./XRSceneComponents-Z-8TZhSE.js").catch(() => ({ default: () => null })));
765
+ const at = ae.lazy(() => import("./GeometryAndMeshXR-CgANjW_G.js").catch(() => ({ default: re }))), lt = ae.lazy(() => import("./XRSceneComponents-KXo2yfiY.js").catch(() => ({ default: () => null })));
766
766
  function oe(t) {
767
767
  const e = Q(null), a = Q(null), [o, i] = X(!1), [l, n] = X(!1), [g, p] = X(null), [m, c] = X([1, 1, 1]), [s, w] = X({
768
768
  uniforms: null,
@@ -976,12 +976,12 @@ function pt() {
976
976
  }
977
977
  const it = ae.lazy(
978
978
  // eslint-disable-next-line implicit-arrow-linebreak, function-paren-newline
979
- () => import("./XRWrapper-CpVkvSrQ.js").catch(() => ({
979
+ () => import("./XRWrapper-CSIWDbMa.js").catch(() => ({
980
980
  default: ({ children: t }) => t
981
981
  }))
982
982
  ), ot = ae.lazy(
983
983
  // eslint-disable-next-line implicit-arrow-linebreak, function-paren-newline
984
- () => import("./XREnterButton-3J5i9O7L.js").catch(() => ({
984
+ () => import("./XREnterButton-BEAaljRL.js").catch(() => ({
985
985
  default: () => null
986
986
  }))
987
987
  ), rt = Se((t, e) => {
@@ -4,7 +4,7 @@ import { useThree as ve, useFrame as Me, Canvas as Pe } from "@react-three/fiber
4
4
  import { OrbitControls as me } from "@react-three/drei";
5
5
  import * as M from "three";
6
6
  import { Data3DTexture as ge, RedFormat as Ae, UnsignedByteType as Be, LinearFilter as pe, RedIntegerFormat as Ne, UnsignedIntType as Ue, NearestFilter as xe, Vector3 as R, Vector2 as _, Vector4 as j, UniformsUtils as Le } from "three";
7
- import { l as n, i as Oe, a as ue, L as he, C as P, u as K } from "./index-nVPavuEc.js";
7
+ import { l as n, i as Oe, a as ue, L as he, C as P, u as K } from "./index-v5bTUxhb.js";
8
8
  const w = 32, B = 64, Z = 64, fe = 4, ce = B * Z * fe, be = B * w, _e = Z * w, Ce = fe * w, V = {
9
9
  NOT_STARTED: "not_started",
10
10
  IN_PROGRESS: "in_progress",
@@ -1368,7 +1368,7 @@ const uGt = {
1368
1368
  $.SAMPLE_HIGHLIGHT,
1369
1369
  $.HIERARCHY_LEVELS
1370
1370
  ]
1371
- }, hGt = "4.0.9", FGt = {
1371
+ }, hGt = "4.0.10", FGt = {
1372
1372
  version: hGt
1373
1373
  }, nM = ["z", "t"], wnt = "Min/Max", QGt = {
1374
1374
  opacity: 1,
@@ -158267,19 +158267,19 @@ async function Wsi(t) {
158267
158267
  const n = await e();
158268
158268
  return new n(t);
158269
158269
  }
158270
- Tp([void 0, 1], () => import("./raw-Dn9Jfz_c.js").then((t) => t.default));
158271
- Tp(5, () => import("./lzw-CSkkto_n.js").then((t) => t.default));
158270
+ Tp([void 0, 1], () => import("./raw-BSuvhQ6C.js").then((t) => t.default));
158271
+ Tp(5, () => import("./lzw-CZSEXTlU.js").then((t) => t.default));
158272
158272
  Tp(6, () => {
158273
158273
  throw new Error("old style JPEG compression is not supported.");
158274
158274
  });
158275
- Tp(7, () => import("./jpeg-B25bGldQ.js").then((t) => t.default));
158276
- Tp([8, 32946], () => import("./deflate-BERQ8r3_.js").then((t) => t.default));
158277
- Tp(32773, () => import("./packbits-W2RKXyNe.js").then((t) => t.default));
158275
+ Tp(7, () => import("./jpeg-DIVPDPmh.js").then((t) => t.default));
158276
+ Tp([8, 32946], () => import("./deflate-Do6tYSiy.js").then((t) => t.default));
158277
+ Tp(32773, () => import("./packbits-toly05LX.js").then((t) => t.default));
158278
158278
  Tp(
158279
158279
  34887,
158280
- () => import("./lerc-D6vqyux4.js").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
158280
+ () => import("./lerc-Cw5eu9QC.js").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
158281
158281
  );
158282
- Tp(50001, () => import("./webimage-DzRZCsFd.js").then((t) => t.default));
158282
+ Tp(50001, () => import("./webimage-eFwDvgof.js").then((t) => t.default));
158283
158283
  function S$(t, e, n, i = 1) {
158284
158284
  return new (Object.getPrototypeOf(t)).constructor(e * n * i);
158285
158285
  }
@@ -188248,10 +188248,10 @@ class Wpt extends ln.Component {
188248
188248
  }
188249
188249
  }
188250
188250
  const Pmi = ln.lazy(async () => {
188251
- const { SpatialWrapper: t } = await import("./index-B4p3hNso.js").then((e) => e.a);
188251
+ const { SpatialWrapper: t } = await import("./index-3lkw9DDS.js").then((e) => e.a);
188252
188252
  return { default: t };
188253
188253
  }), jmi = ln.forwardRef((t, e) => O("div", { ref: e, style: { width: "100%", height: "100%" }, children: O(Wpt, { fallback: O("div", { children: "3D spatial view is not available in this environment." }), children: O(G5, { fallback: O("div", { children: "Loading..." }), children: O(Pmi, { ...t }) }) }) })), qmi = ln.lazy(async () => {
188254
- const { SpatialWrapper: t } = await import("./index-jPVerBzD.js");
188254
+ const { SpatialWrapper: t } = await import("./index-KrVXlbYO.js");
188255
188255
  return { default: t };
188256
188256
  }), $mi = ln.forwardRef((t, e) => O("div", { ref: e, style: { width: "100%", height: "100%" }, children: O(Wpt, { fallback: O("div", { children: "3D spatial view is not available in this environment." }), children: O(G5, { fallback: O("div", { children: "Loading..." }), children: O(qmi, { ...t }) }) }) })), eSi = Li()(() => ({
188257
188257
  spatialBetaCameraLabel: {
@@ -197382,7 +197382,7 @@ function VRt(t) {
197382
197382
  }
197383
197383
  wVi({ dataFetcher: qBe, config: qBe.config }, { pluginType: "dataFetcher" });
197384
197384
  const Zyi = ln.lazy(async () => {
197385
- const { HiGlassComponent: t } = await import("./higlass-DYPr5XbQ.js");
197385
+ const { HiGlassComponent: t } = await import("./higlass-xrVM7irY.js");
197386
197386
  return { default: t };
197387
197387
  }), xO = 800;
197388
197388
  function Nyi(t, e) {
@@ -200265,7 +200265,7 @@ function Xyi(t) {
200265
200265
  const { classes: e } = t;
200266
200266
  return De(nr, { children: [O(gUe, { styles: xyi }), O(Ev, { styles: Yyi, parentClassName: e.neuroglancerWrapper })] });
200267
200267
  }
200268
- const Hyi = ln.lazy(() => import("./ReactNeuroglancer-5OuAaqkJ.js"));
200268
+ const Hyi = ln.lazy(() => import("./ReactNeuroglancer-CTh6IVT4.js"));
200269
200269
  function Lyi() {
200270
200270
  const t = new Dyi();
200271
200271
  return t.AsyncComputationWorker = kyi, t;
package/dist/index.min.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ag as e, ab as s, a9 as t, aa as r, ak as l, al as d, ac as p, ax as C, av as c, at as g, aw as u, au as y, a8 as T, as as S, ad as m, aA as A, a7 as P, aD as f, aC as F, a6 as I, ar as N, ai as E, ao as V, ah as w, aj as _, an as x, am as M, az as h, af as G, aB as H, ap as L, aq as O, aH as U, aK as b, aE as v, aL as z, aM as B, aF as D, aI as J, aJ as Y, aG as j, ae as k, ay as q } from "./index-nVPavuEc.js";
1
+ import { ag as e, ab as s, a9 as t, aa as r, ak as l, al as d, ac as p, ax as C, av as c, at as g, aw as u, au as y, a8 as T, as as S, ad as m, aA as A, a7 as P, aD as f, aC as F, a6 as I, ar as N, ai as E, ao as V, ah as w, aj as _, an as x, am as M, az as h, af as G, aB as H, ap as L, aq as O, aH as U, aK as b, aE as v, aL as z, aM as B, aF as D, aI as J, aJ as Y, aG as j, ae as k, ay as q } from "./index-v5bTUxhb.js";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { B as re } from "./index-nVPavuEc.js";
1
+ import { B as re } from "./index-v5bTUxhb.js";
2
2
  const O = new Int32Array([
3
3
  0,
4
4
  1,
@@ -1,5 +1,5 @@
1
1
  import { i as sA } from "./pako.esm-D68R8YXe.js";
2
- import { b as DA, B as nA, c as fA, d as gA } from "./index-nVPavuEc.js";
2
+ import { b as DA, B as nA, c as fA, d as gA } from "./index-v5bTUxhb.js";
3
3
  var BA = { exports: {} }, iA;
4
4
  function tA() {
5
5
  return iA || (iA = 1, function(j) {
@@ -1,4 +1,4 @@
1
- import { B as b } from "./index-nVPavuEc.js";
1
+ import { B as b } from "./index-v5bTUxhb.js";
2
2
  const B = 9, E = 256, p = 257, k = 12;
3
3
  function x(c, o, r) {
4
4
  const i = o % 8, n = Math.floor(o / 8), h = 8 - i, g = o + r - (n + 1) * 8;
@@ -1,4 +1,4 @@
1
- import { B as c } from "./index-nVPavuEc.js";
1
+ import { B as c } from "./index-v5bTUxhb.js";
2
2
  class l extends c {
3
3
  decodeBlock(s) {
4
4
  const n = new DataView(s), r = [];
@@ -1,4 +1,4 @@
1
- import { B as o } from "./index-nVPavuEc.js";
1
+ import { B as o } from "./index-v5bTUxhb.js";
2
2
  class d extends o {
3
3
  decodeBlock(e) {
4
4
  return e;
@@ -1,4 +1,4 @@
1
- import { B as r } from "./index-nVPavuEc.js";
1
+ import { B as r } from "./index-v5bTUxhb.js";
2
2
  class s extends r {
3
3
  constructor() {
4
4
  if (super(), typeof createImageBitmap > "u")
@@ -1,4 +1,4 @@
1
- import { g as t } from "./index-B4p3hNso.js";
1
+ import { g as t } from "./index-3lkw9DDS.js";
2
2
  let e = null;
3
3
  function o() {
4
4
  return e || (e = t().createXRStore({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vitessce",
3
- "version": "4.0.9",
3
+ "version": "4.0.10",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -16,12 +16,12 @@
16
16
  "dist-tsc"
17
17
  ],
18
18
  "dependencies": {
19
- "@vitessce/all": "4.0.9",
20
- "@vitessce/abstract": "4.0.9",
21
- "@vitessce/export-utils": "4.0.9",
22
- "@vitessce/constants": "4.0.9",
23
- "@vitessce/error": "4.0.9",
24
- "@vitessce/config": "4.0.9"
19
+ "@vitessce/error": "4.0.10",
20
+ "@vitessce/abstract": "4.0.10",
21
+ "@vitessce/all": "4.0.10",
22
+ "@vitessce/export-utils": "4.0.10",
23
+ "@vitessce/config": "4.0.10",
24
+ "@vitessce/constants": "4.0.10"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@vitejs/plugin-react": "^4.5.0",