@vitessce/dev 3.4.4 → 3.4.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 { aQ as BaseDecoder } from "./index-ae04a6b7.js";
2
+ import { aQ as BaseDecoder } from "./index-4c3ebd0a.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  class DeflateDecoder extends BaseDecoder {
@@ -1,6 +1,6 @@
1
1
  import React__default from "react";
2
2
  import ReactDOM__default from "react-dom";
3
- import { aT as commonjsGlobal, aU as objectAssign, g as getDefaultExportFromCjs, aV as earcut, aW as getAugmentedNamespace } from "./index-ae04a6b7.js";
3
+ import { aT as commonjsGlobal, aU as objectAssign, g as getDefaultExportFromCjs, aV as earcut, aW as getAugmentedNamespace } from "./index-4c3ebd0a.js";
4
4
  function _mergeNamespaces(n, m) {
5
5
  for (var i = 0; i < m.length; i++) {
6
6
  const e = m[i];
@@ -793,10 +793,10 @@ const COMPONENT_COORDINATION_TYPES = {
793
793
  ]
794
794
  };
795
795
  const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
796
- const version$6 = "3.4.4";
797
- const date$5 = "2024-05-09";
796
+ const version$6 = "3.4.6";
797
+ const date$5 = "2024-05-24";
798
798
  const branch = "changeset-release/main";
799
- const hash$1 = "b99cfc0a";
799
+ const hash$1 = "fa783284";
800
800
  const META_VERSION = {
801
801
  note,
802
802
  version: version$6,
@@ -170708,16 +170708,16 @@ async function getDecoder(fileDirectory) {
170708
170708
  const Decoder = await importFn();
170709
170709
  return new Decoder(fileDirectory);
170710
170710
  }
170711
- addDecoder([void 0, 1], () => import("./raw-4b45defd.js").then((m2) => m2.default));
170712
- addDecoder(5, () => import("./lzw-e84acba2.js").then((m2) => m2.default));
170711
+ addDecoder([void 0, 1], () => import("./raw-1bec4459.js").then((m2) => m2.default));
170712
+ addDecoder(5, () => import("./lzw-9d98c760.js").then((m2) => m2.default));
170713
170713
  addDecoder(6, () => {
170714
170714
  throw new Error("old style JPEG compression is not supported.");
170715
170715
  });
170716
- addDecoder(7, () => import("./jpeg-a6e98e01.js").then((m2) => m2.default));
170717
- addDecoder([8, 32946], () => import("./deflate-28c74bec.js").then((m2) => m2.default));
170718
- addDecoder(32773, () => import("./packbits-1f90dbca.js").then((m2) => m2.default));
170719
- addDecoder(34887, () => import("./lerc-123ad60f.js").then((m2) => m2.default));
170720
- addDecoder(50001, () => import("./webimage-f3459646.js").then((m2) => m2.default));
170716
+ addDecoder(7, () => import("./jpeg-3199e82a.js").then((m2) => m2.default));
170717
+ addDecoder([8, 32946], () => import("./deflate-8ae0e1ee.js").then((m2) => m2.default));
170718
+ addDecoder(32773, () => import("./packbits-e848410a.js").then((m2) => m2.default));
170719
+ addDecoder(34887, () => import("./lerc-dcea16a1.js").then((m2) => m2.default));
170720
+ addDecoder(50001, () => import("./webimage-426d5144.js").then((m2) => m2.default));
170721
170721
  function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
170722
170722
  return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
170723
170723
  }
@@ -213573,7 +213573,7 @@ class ErrorBoundary extends React__default.Component {
213573
213573
  }
213574
213574
  }
213575
213575
  const LazySpatialThree = React__default.lazy(async () => {
213576
- const { SpatialWrapper: SpatialWrapper2 } = await import("./index-7c27a9bb.js");
213576
+ const { SpatialWrapper: SpatialWrapper2 } = await import("./index-6347a505.js");
213577
213577
  return { default: SpatialWrapper2 };
213578
213578
  });
213579
213579
  const SpatialThreeAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary, { children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialThree, { ...props }) }) }) }));
@@ -221564,7 +221564,7 @@ const HIGLASS_BUNDLE_VERSION = "1.11.13";
221564
221564
  const HIGLASS_CSS_URL = `https://unpkg.com/${HIGLASS_PKG_NAME}@${HIGLASS_BUNDLE_VERSION}/dist/hglib.css`;
221565
221565
  register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
221566
221566
  const LazyHiGlassComponent = React__default.lazy(async () => {
221567
- const { HiGlassComponent } = await import("./hglib-516734cf.js").then((n3) => n3.h);
221567
+ const { HiGlassComponent } = await import("./hglib-a5808c1c.js").then((n3) => n3.h);
221568
221568
  return { default: HiGlassComponent };
221569
221569
  });
221570
221570
  const HG_SIZE = 800;
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, V as Vector2, b as Vector3, c as create, L as Layers, T as Texture, d as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, e as PCFShadowMap, f as VSMShadowMap, h as BufferGeometry, M as Material, i as Color, j as Clock, _ as _extends, k as THREE, G as Group, l as Matrix4, m as TrianglesDrawMode, n as TriangleFanDrawMode, o as TriangleStripDrawMode, p as REVISION, q as Loader, r as LoaderUtils, F as FileLoader, s as SpotLight, t as PointLight, D as DirectionalLight, u as MeshBasicMaterial, v as MeshPhysicalMaterial, I as InstancedMesh, w as Object3D, x as TextureLoader, y as ImageBitmapLoader, z as BufferAttribute, E as InterleavedBuffer, H as LinearFilter, J as LinearMipmapLinearFilter, K as RepeatWrapping, Q as PointsMaterial, X as LineBasicMaterial, Y as MeshStandardMaterial, Z as DoubleSide, $ as PropertyBinding, a0 as SkinnedMesh, a1 as Mesh, a2 as LineSegments, a3 as Line$1, a4 as LineLoop, a5 as Points, a6 as MathUtils, a7 as Skeleton, a8 as InterpolateLinear, a9 as AnimationClip, aa as Bone, ab as Quaternion, ac as NearestFilter, ad as NearestMipmapNearestFilter, ae as LinearMipmapNearestFilter, af as NearestMipmapLinearFilter, ag as ClampToEdgeWrapping, ah as MirroredRepeatWrapping, ai as InterpolateDiscrete, aj as FrontSide, ak as InterleavedBufferAttribute, al as VectorKeyframeTrack, am as QuaternionKeyframeTrack, an as NumberKeyframeTrack, ao as Box3, ap as Sphere, aq as Interpolant, ar as SphereGeometry, as as Ray$1, at as Plane, au as EventDispatcher, av as MOUSE, aw as TOUCH, ax as Spherical, ay as InstancedBufferGeometry, az as Float32BufferAttribute, aA as InstancedInterleavedBuffer, aB as WireframeGeometry, aC as ShaderMaterial, aD as UniformsUtils, aE as UniformsLib, aF as Vector4, aG as Line3, aH as Triangle, aI as BackSide, aJ as jsxRuntimeExports, aK as Matrix3, aL as CoordinationType, aM as Data3DTexture, aN as RedFormat, aO as FloatType, aP as getImageSize } from "./index-ae04a6b7.js";
1
+ import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, V as Vector2, b as Vector3, c as create, L as Layers, T as Texture, d as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, e as PCFShadowMap, f as VSMShadowMap, h as BufferGeometry, M as Material, i as Color, j as Clock, _ as _extends, k as THREE, G as Group, l as Matrix4, m as TrianglesDrawMode, n as TriangleFanDrawMode, o as TriangleStripDrawMode, p as REVISION, q as Loader, r as LoaderUtils, F as FileLoader, s as SpotLight, t as PointLight, D as DirectionalLight, u as MeshBasicMaterial, v as MeshPhysicalMaterial, I as InstancedMesh, w as Object3D, x as TextureLoader, y as ImageBitmapLoader, z as BufferAttribute, E as InterleavedBuffer, H as LinearFilter, J as LinearMipmapLinearFilter, K as RepeatWrapping, Q as PointsMaterial, X as LineBasicMaterial, Y as MeshStandardMaterial, Z as DoubleSide, $ as PropertyBinding, a0 as SkinnedMesh, a1 as Mesh, a2 as LineSegments, a3 as Line$1, a4 as LineLoop, a5 as Points, a6 as MathUtils, a7 as Skeleton, a8 as InterpolateLinear, a9 as AnimationClip, aa as Bone, ab as Quaternion, ac as NearestFilter, ad as NearestMipmapNearestFilter, ae as LinearMipmapNearestFilter, af as NearestMipmapLinearFilter, ag as ClampToEdgeWrapping, ah as MirroredRepeatWrapping, ai as InterpolateDiscrete, aj as FrontSide, ak as InterleavedBufferAttribute, al as VectorKeyframeTrack, am as QuaternionKeyframeTrack, an as NumberKeyframeTrack, ao as Box3, ap as Sphere, aq as Interpolant, ar as SphereGeometry, as as Ray$1, at as Plane, au as EventDispatcher, av as MOUSE, aw as TOUCH, ax as Spherical, ay as InstancedBufferGeometry, az as Float32BufferAttribute, aA as InstancedInterleavedBuffer, aB as WireframeGeometry, aC as ShaderMaterial, aD as UniformsUtils, aE as UniformsLib, aF as Vector4, aG as Line3, aH as Triangle, aI as BackSide, aJ as jsxRuntimeExports, aK as Matrix3, aL as CoordinationType, aM as Data3DTexture, aN as RedFormat, aO as FloatType, aP as getImageSize } from "./index-4c3ebd0a.js";
2
2
  import * as React from "react";
3
3
  import React__default, { useState, useRef, useEffect, useMemo, forwardRef } from "react";
4
4
  import "react-dom";
@@ -23693,7 +23693,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
23693
23693
  const {
23694
23694
  Text: TextMeshImpl,
23695
23695
  preloadFont
23696
- } = suspend(async () => import("./troika-three-text.esm-604e1504.js"), []);
23696
+ } = suspend(async () => import("./troika-three-text.esm-d5beb24e.js"), []);
23697
23697
  const invalidate2 = useThree(({
23698
23698
  invalidate: invalidate3
23699
23699
  }) => invalidate3);
@@ -28653,22 +28653,19 @@ function SpatialThree(props) {
28653
28653
  }
28654
28654
  const SpatialWrapper = forwardRef((props, canvasRef) => jsxRuntimeExports.jsxs("div", { style: { width: "100%", height: "100%" }, children: [jsxRuntimeExports.jsx(XRButton, { mode: "AR", sessionInit: { optionalFeatures: ["hand-tracking"] }, style: {
28655
28655
  border: "none",
28656
- background: "rgba(0, 0, 0, 0.0)"
28657
- }, children: (status) => {
28658
- if (status === "unsupported") {
28659
- return null;
28660
- }
28661
- return jsxRuntimeExports.jsx("div", { style: {
28662
- border: "1px solid white",
28663
- padding: "12px 24px",
28664
- borderRadius: "4px",
28665
- background: "rgba(0, 0, 0, 0.1)",
28666
- color: "white",
28667
- font: "normal 0.8125rem sans-serif",
28668
- outline: "none",
28669
- cursor: "pointer"
28670
- }, children: status === "entered" ? "Exit AR" : "Enter AR" });
28671
- } }), jsxRuntimeExports.jsx(Canvas2, { style: { position: "absolute", top: 0, left: 0 }, camera: {
28656
+ background: "rgba(0, 0, 0, 0.0)",
28657
+ zIndex: 1,
28658
+ position: "absolute"
28659
+ }, children: (status) => status !== "unsupported" ? jsxRuntimeExports.jsx("div", { style: {
28660
+ border: "1px solid white",
28661
+ padding: "12px 24px",
28662
+ borderRadius: "4px",
28663
+ background: "rgba(0, 0, 0, 0.1)",
28664
+ color: "white",
28665
+ font: "normal 0.8125rem sans-serif",
28666
+ outline: "none",
28667
+ cursor: "pointer"
28668
+ }, children: status === "entered" ? "Exit AR" : "Enter AR" }) : null }), jsxRuntimeExports.jsx(Canvas2, { style: { position: "absolute", top: 0, left: 0 }, camera: {
28672
28669
  fov: 50,
28673
28670
  up: [0, 1, 0],
28674
28671
  position: [0, 0, 800],
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { bb, b6, b4, b5, bf, bg, b7, bm, bk, bn, bl, b3, bj, b8, b2, b1, bd, bc, be, bi, bh, ba, bp, b9, bo } from "./index-ae04a6b7.js";
1
+ import { bb, b6, b4, b5, bf, bg, b7, bm, bk, bn, bl, b3, bj, b8, b2, b1, bd, bc, be, bi, bh, ba, bp, b9, bo } from "./index-4c3ebd0a.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-ae04a6b7.js";
1
+ import { aQ as BaseDecoder } from "./index-4c3ebd0a.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const dctZigZag = new Int32Array([
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { g as getDefaultExportFromCjs, aQ as BaseDecoder, aR as LercParameters, aS as LercAddCompression } from "./index-ae04a6b7.js";
2
+ import { g as getDefaultExportFromCjs, aQ as BaseDecoder, aR as LercParameters, aS as LercAddCompression } from "./index-4c3ebd0a.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  var LercDecode = { exports: {} };
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-ae04a6b7.js";
1
+ import { aQ as BaseDecoder } from "./index-4c3ebd0a.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const MIN_BITS = 9;
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-ae04a6b7.js";
1
+ import { aQ as BaseDecoder } from "./index-4c3ebd0a.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class PackbitsDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-ae04a6b7.js";
1
+ import { aQ as BaseDecoder } from "./index-4c3ebd0a.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class RawDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { aD as UniformsUtils, aX as MeshDepthMaterial, aY as RGBADepthPacking, aZ as MeshDistanceMaterial, a_ as ShaderChunk, T as Texture, H as LinearFilter, ay as InstancedBufferGeometry, ap as Sphere, ao as Box3, aI as BackSide, Z as DoubleSide, a$ as InstancedBufferAttribute, V as Vector2, aF as Vector4, i as Color, aK as Matrix3, a1 as Mesh, aj as FrontSide, b0 as PlaneGeometry, h as BufferGeometry, az as Float32BufferAttribute, u as MeshBasicMaterial, l as Matrix4, b as Vector3 } from "./index-ae04a6b7.js";
1
+ import { aD as UniformsUtils, aX as MeshDepthMaterial, aY as RGBADepthPacking, aZ as MeshDistanceMaterial, a_ as ShaderChunk, T as Texture, H as LinearFilter, ay as InstancedBufferGeometry, ap as Sphere, ao as Box3, aI as BackSide, Z as DoubleSide, a$ as InstancedBufferAttribute, V as Vector2, aF as Vector4, i as Color, aK as Matrix3, a1 as Mesh, aj as FrontSide, b0 as PlaneGeometry, h as BufferGeometry, az as Float32BufferAttribute, u as MeshBasicMaterial, l as Matrix4, b as Vector3 } from "./index-4c3ebd0a.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  function workerBootstrap() {
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-ae04a6b7.js";
1
+ import { aQ as BaseDecoder } from "./index-4c3ebd0a.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class WebImageDecoder extends BaseDecoder {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/dev",
3
- "version": "3.4.4",
3
+ "version": "3.4.6",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -16,10 +16,10 @@
16
16
  "dist-tsc"
17
17
  ],
18
18
  "dependencies": {
19
- "@vitessce/all": "3.4.4",
20
- "@vitessce/config": "3.4.4",
21
- "@vitessce/export-utils": "3.4.4",
22
- "@vitessce/constants": "3.4.4"
19
+ "@vitessce/all": "3.4.6",
20
+ "@vitessce/config": "3.4.6",
21
+ "@vitessce/constants": "3.4.6",
22
+ "@vitessce/export-utils": "3.4.6"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@vitejs/plugin-react": "^4.0.0",