@vitessce/dev 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.
- package/dist/{deflate-8218a543.js → deflate-0e6942ee.js} +1 -1
- package/dist/{hglib-72788bd6.js → hglib-f850a2ea.js} +1 -1
- package/dist/{index-83a4804b.js → index-5317d106.js} +17 -15
- package/dist/index.js +2 -1
- package/dist/{jpeg-f123c798.js → jpeg-d904d490.js} +1 -1
- package/dist/{lerc-67ebd803.js → lerc-92ba15d8.js} +1 -1
- package/dist/{lzw-e233027b.js → lzw-8f645795.js} +1 -1
- package/dist/{packbits-f39e1d65.js → packbits-d51ee8e1.js} +1 -1
- package/dist/{raw-1a6dda8f.js → raw-a36c9f65.js} +1 -1
- package/dist/{webimage-0404b132.js → webimage-bc0ca93d.js} +1 -1
- package/package.json +5 -5
|
@@ -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-
|
|
3
|
+
import { c as commonjsGlobal, o as objectAssign, g as getDefaultExportFromCjs, e as earcut, b as getAugmentedNamespace } from "./index-5317d106.js";
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
5
5
|
for (var i = 0; i < m.length; i++) {
|
|
6
6
|
const e = m[i];
|
|
@@ -705,10 +705,10 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
705
705
|
]
|
|
706
706
|
};
|
|
707
707
|
const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
|
|
708
|
-
const version$6 = "3.3.
|
|
709
|
-
const date$5 = "2024-02-
|
|
708
|
+
const version$6 = "3.3.6";
|
|
709
|
+
const date$5 = "2024-02-25";
|
|
710
710
|
const branch = "changeset-release/main";
|
|
711
|
-
const hash$1 = "
|
|
711
|
+
const hash$1 = "fcb2a92d";
|
|
712
712
|
const META_VERSION = {
|
|
713
713
|
note,
|
|
714
714
|
version: version$6,
|
|
@@ -1347,8 +1347,9 @@ function getInitialCoordinationScopeName(datasetUid, dataType, i2 = null) {
|
|
|
1347
1347
|
}
|
|
1348
1348
|
const DEFAULT_DARK_COLOR = [50, 50, 50];
|
|
1349
1349
|
const DEFAULT_LIGHT_COLOR$3 = [200, 200, 200];
|
|
1350
|
+
const DEFAULT_LIGHT2_COLOR = [235, 235, 235];
|
|
1350
1351
|
function getDefaultColor(theme) {
|
|
1351
|
-
return theme === "dark" ? DEFAULT_DARK_COLOR : DEFAULT_LIGHT_COLOR$3;
|
|
1352
|
+
return theme === "dark" ? DEFAULT_DARK_COLOR : theme === "light" ? DEFAULT_LIGHT_COLOR$3 : DEFAULT_LIGHT2_COLOR;
|
|
1352
1353
|
}
|
|
1353
1354
|
const PALETTE = [
|
|
1354
1355
|
[68, 119, 170],
|
|
@@ -43940,7 +43941,7 @@ function createGenerateClassName(customPrefix) {
|
|
|
43940
43941
|
};
|
|
43941
43942
|
}
|
|
43942
43943
|
function VitS(props2) {
|
|
43943
|
-
const { config: config3, stores, rowHeight, height: height2, theme, onWarn, onConfigChange, onLoaderChange, validateConfig = true, validateOnConfigChange = false, isBounded = false, uid: uid2 = null, viewTypes: viewTypesProp, fileTypes: fileTypesProp, jointFileTypes: jointFileTypesProp, coordinationTypes: coordinationTypesProp, warning: warning2 } = props2;
|
|
43944
|
+
const { config: config3, stores, rowHeight, height: height2, theme, onWarn, onConfigChange, onLoaderChange, validateConfig = true, validateOnConfigChange = false, isBounded = false, uid: uid2 = null, remountOnUidChange = true, viewTypes: viewTypesProp, fileTypes: fileTypesProp, jointFileTypes: jointFileTypesProp, coordinationTypes: coordinationTypesProp, warning: warning2 } = props2;
|
|
43944
43945
|
const viewTypes = useMemo(() => viewTypesProp || [], [viewTypesProp]);
|
|
43945
43946
|
const fileTypes = useMemo(() => fileTypesProp || [], [fileTypesProp]);
|
|
43946
43947
|
const jointFileTypes = useMemo(() => jointFileTypesProp || [], [jointFileTypesProp]);
|
|
@@ -44017,7 +44018,7 @@ function VitS(props2) {
|
|
|
44017
44018
|
}
|
|
44018
44019
|
return createViewConfigStore(null, null);
|
|
44019
44020
|
}, [success, configKey]);
|
|
44020
|
-
return success ? jsxRuntimeExports.jsx(StylesProvider, { generateClassName: generateClassName2, children: jsxRuntimeExports.jsx(ThemeProvider, { theme: muiTheme[theme], children: jsxRuntimeExports.jsx(QueryClientProvider, { client: queryClient, children: jsxRuntimeExports.jsx(ViewConfigProvider, { createStore: createViewConfigStoreClosure, children: jsxRuntimeExports.jsxs(AuxiliaryProvider, { createStore: createAuxiliaryStore, children: [jsxRuntimeExports.jsx(VitessceGrid, { success, configKey, viewTypes, fileTypes, coordinationTypes, config: configOrWarning, rowHeight, height: height2, theme, isBounded, stores }), jsxRuntimeExports.jsx(CallbackPublisher, { onWarn, onConfigChange, onLoaderChange, validateOnConfigChange, pluginSpecificConfigSchema })] }) }
|
|
44021
|
+
return success ? jsxRuntimeExports.jsx(StylesProvider, { generateClassName: generateClassName2, children: jsxRuntimeExports.jsx(ThemeProvider, { theme: muiTheme[theme], children: jsxRuntimeExports.jsx(QueryClientProvider, { client: queryClient, children: jsxRuntimeExports.jsx(ViewConfigProvider, { createStore: createViewConfigStoreClosure, ...remountOnUidChange ? { key: configKey } : {}, children: jsxRuntimeExports.jsxs(AuxiliaryProvider, { createStore: createAuxiliaryStore, children: [jsxRuntimeExports.jsx(VitessceGrid, { success, configKey, viewTypes, fileTypes, coordinationTypes, config: configOrWarning, rowHeight, height: height2, theme, isBounded, stores }), jsxRuntimeExports.jsx(CallbackPublisher, { onWarn, onConfigChange, onLoaderChange, validateOnConfigChange, pluginSpecificConfigSchema })] }) }) }) }) }) : jsxRuntimeExports.jsx(StylesProvider, { generateClassName: generateClassName2, children: jsxRuntimeExports.jsx(ThemeProvider, { theme: muiTheme[theme], children: jsxRuntimeExports.jsx(Warning, { ...configOrWarning }) }) });
|
|
44021
44022
|
}
|
|
44022
44023
|
const AddIcon = createSvgIcon(/* @__PURE__ */ React$6.createElement("path", {
|
|
44023
44024
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
@@ -170536,16 +170537,16 @@ async function getDecoder(fileDirectory) {
|
|
|
170536
170537
|
const Decoder = await importFn();
|
|
170537
170538
|
return new Decoder(fileDirectory);
|
|
170538
170539
|
}
|
|
170539
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
170540
|
-
addDecoder(5, () => import("./lzw-
|
|
170540
|
+
addDecoder([void 0, 1], () => import("./raw-a36c9f65.js").then((m2) => m2.default));
|
|
170541
|
+
addDecoder(5, () => import("./lzw-8f645795.js").then((m2) => m2.default));
|
|
170541
170542
|
addDecoder(6, () => {
|
|
170542
170543
|
throw new Error("old style JPEG compression is not supported.");
|
|
170543
170544
|
});
|
|
170544
|
-
addDecoder(7, () => import("./jpeg-
|
|
170545
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
170546
|
-
addDecoder(32773, () => import("./packbits-
|
|
170547
|
-
addDecoder(34887, () => import("./lerc-
|
|
170548
|
-
addDecoder(50001, () => import("./webimage-
|
|
170545
|
+
addDecoder(7, () => import("./jpeg-d904d490.js").then((m2) => m2.default));
|
|
170546
|
+
addDecoder([8, 32946], () => import("./deflate-0e6942ee.js").then((m2) => m2.default));
|
|
170547
|
+
addDecoder(32773, () => import("./packbits-d51ee8e1.js").then((m2) => m2.default));
|
|
170548
|
+
addDecoder(34887, () => import("./lerc-92ba15d8.js").then((m2) => m2.default));
|
|
170549
|
+
addDecoder(50001, () => import("./webimage-bc0ca93d.js").then((m2) => m2.default));
|
|
170549
170550
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
|
170550
170551
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
|
170551
170552
|
}
|
|
@@ -217562,7 +217563,7 @@ const HIGLASS_BUNDLE_VERSION = "1.11.13";
|
|
|
217562
217563
|
const HIGLASS_CSS_URL = `https://unpkg.com/${HIGLASS_PKG_NAME}@${HIGLASS_BUNDLE_VERSION}/dist/hglib.css`;
|
|
217563
217564
|
register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
|
|
217564
217565
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
|
217565
|
-
const { HiGlassComponent } = await import("./hglib-
|
|
217566
|
+
const { HiGlassComponent } = await import("./hglib-f850a2ea.js").then((n3) => n3.h);
|
|
217566
217567
|
return { default: HiGlassComponent };
|
|
217567
217568
|
});
|
|
217568
217569
|
const HG_SIZE = 800;
|
|
@@ -279079,7 +279080,7 @@ const baseCoordinationTypes = [
|
|
|
279079
279080
|
new PluginCoordinationType(CoordinationType$2.SPATIAL_CHANNEL_LABEL_SIZE, 14, z.number())
|
|
279080
279081
|
];
|
|
279081
279082
|
function Vitessce(props2) {
|
|
279082
|
-
const { config: config3, onConfigUpgrade, pluginViewTypes: pluginViewTypesProp, pluginFileTypes: pluginFileTypesProp, pluginCoordinationTypes: pluginCoordinationTypesProp, pluginJointFileTypes: pluginJointFileTypesProp
|
|
279083
|
+
const { config: config3, onConfigUpgrade, pluginViewTypes: pluginViewTypesProp, pluginFileTypes: pluginFileTypesProp, pluginCoordinationTypes: pluginCoordinationTypesProp, pluginJointFileTypes: pluginJointFileTypesProp } = props2;
|
|
279083
279084
|
const configKey = config3?.uid || config3;
|
|
279084
279085
|
const configVersion = config3?.version;
|
|
279085
279086
|
const [configOrWarning, success] = useMemo(() => {
|
|
@@ -281598,5 +281599,6 @@ export {
|
|
|
281598
281599
|
PluginCoordinationType as u,
|
|
281599
281600
|
vconcat as v,
|
|
281600
281601
|
PluginJointFileType as w,
|
|
281602
|
+
useCoordination as x,
|
|
281601
281603
|
z
|
|
281602
281604
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k, C, D, F, H, p, h, u, P, w, t, V, s, i, f, d, m, l, n, r, q, j, v, z } from "./index-
|
|
1
|
+
import { k, C, D, F, H, p, h, u, P, w, t, V, s, i, f, d, m, l, n, r, q, j, x, v, z } from "./index-5317d106.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
export {
|
|
@@ -24,6 +24,7 @@ export {
|
|
|
24
24
|
r as getInitialCoordinationScopeName,
|
|
25
25
|
q as getInitialCoordinationScopePrefix,
|
|
26
26
|
j as hconcat,
|
|
27
|
+
x as useCoordination,
|
|
27
28
|
v as vconcat,
|
|
28
29
|
z
|
|
29
30
|
};
|
|
@@ -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-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-5317d106.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
var LercDecode = { exports: {} };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/dev",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.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.3.
|
|
20
|
-
"@vitessce/
|
|
21
|
-
"@vitessce/
|
|
22
|
-
"@vitessce/constants": "3.3.
|
|
19
|
+
"@vitessce/all": "3.3.6",
|
|
20
|
+
"@vitessce/config": "3.3.6",
|
|
21
|
+
"@vitessce/export-utils": "3.3.6",
|
|
22
|
+
"@vitessce/constants": "3.3.6"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@vitejs/plugin-react": "^4.0.0",
|