@vitessce/vit-s 3.9.3 → 3.9.5
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/index.js +32 -64
- package/package.json +13 -13
package/dist/index.js
CHANGED
|
@@ -810,14 +810,14 @@ var createCache = function createCache2(options) {
|
|
|
810
810
|
cache.sheet.hydrate(nodesToHydrate);
|
|
811
811
|
return cache;
|
|
812
812
|
};
|
|
813
|
-
function _extends$
|
|
814
|
-
return _extends$
|
|
813
|
+
function _extends$2() {
|
|
814
|
+
return _extends$2 = Object.assign ? Object.assign.bind() : function(n2) {
|
|
815
815
|
for (var e2 = 1; e2 < arguments.length; e2++) {
|
|
816
816
|
var t2 = arguments[e2];
|
|
817
817
|
for (var r2 in t2) ({}).hasOwnProperty.call(t2, r2) && (n2[r2] = t2[r2]);
|
|
818
818
|
}
|
|
819
819
|
return n2;
|
|
820
|
-
}, _extends$
|
|
820
|
+
}, _extends$2.apply(null, arguments);
|
|
821
821
|
}
|
|
822
822
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
823
823
|
function getDefaultExportFromCjs(x) {
|
|
@@ -2389,7 +2389,7 @@ var createStyled$1 = function createStyled(tag, options) {
|
|
|
2389
2389
|
}
|
|
2390
2390
|
});
|
|
2391
2391
|
Styled.withComponent = function(nextTag, nextOptions) {
|
|
2392
|
-
var newStyled2 = createStyled(nextTag, _extends$
|
|
2392
|
+
var newStyled2 = createStyled(nextTag, _extends$2({}, options, nextOptions, {
|
|
2393
2393
|
shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
|
|
2394
2394
|
}));
|
|
2395
2395
|
return newStyled2.apply(void 0, styles2);
|
|
@@ -9026,14 +9026,14 @@ function chainPropTypes(propType1, propType2) {
|
|
|
9026
9026
|
return propType1(...args) || propType2(...args);
|
|
9027
9027
|
};
|
|
9028
9028
|
}
|
|
9029
|
-
function _extends$
|
|
9030
|
-
return _extends$
|
|
9029
|
+
function _extends$1() {
|
|
9030
|
+
return _extends$1 = Object.assign ? Object.assign.bind() : function(n2) {
|
|
9031
9031
|
for (var e2 = 1; e2 < arguments.length; e2++) {
|
|
9032
9032
|
var t2 = arguments[e2];
|
|
9033
9033
|
for (var r2 in t2) ({}).hasOwnProperty.call(t2, r2) && (n2[r2] = t2[r2]);
|
|
9034
9034
|
}
|
|
9035
9035
|
return n2;
|
|
9036
|
-
}, _extends$
|
|
9036
|
+
}, _extends$1.apply(null, arguments);
|
|
9037
9037
|
}
|
|
9038
9038
|
function _objectWithoutPropertiesLoose(r2, e2) {
|
|
9039
9039
|
if (null == r2) return {};
|
|
@@ -9044,13 +9044,13 @@ function _objectWithoutPropertiesLoose(r2, e2) {
|
|
|
9044
9044
|
}
|
|
9045
9045
|
return t2;
|
|
9046
9046
|
}
|
|
9047
|
-
function _setPrototypeOf
|
|
9048
|
-
return _setPrototypeOf
|
|
9047
|
+
function _setPrototypeOf(t2, e2) {
|
|
9048
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t3, e3) {
|
|
9049
9049
|
return t3.__proto__ = e3, t3;
|
|
9050
|
-
}, _setPrototypeOf
|
|
9050
|
+
}, _setPrototypeOf(t2, e2);
|
|
9051
9051
|
}
|
|
9052
|
-
function _inheritsLoose
|
|
9053
|
-
t2.prototype = Object.create(o2.prototype), t2.prototype.constructor = t2, _setPrototypeOf
|
|
9052
|
+
function _inheritsLoose(t2, o2) {
|
|
9053
|
+
t2.prototype = Object.create(o2.prototype), t2.prototype.constructor = t2, _setPrototypeOf(t2, o2);
|
|
9054
9054
|
}
|
|
9055
9055
|
const config$1 = {
|
|
9056
9056
|
disabled: false
|
|
@@ -9082,7 +9082,7 @@ var ENTERING = "entering";
|
|
|
9082
9082
|
var ENTERED = "entered";
|
|
9083
9083
|
var EXITING = "exiting";
|
|
9084
9084
|
var Transition = /* @__PURE__ */ function(_React$Component) {
|
|
9085
|
-
_inheritsLoose
|
|
9085
|
+
_inheritsLoose(Transition2, _React$Component);
|
|
9086
9086
|
function Transition2(props, context) {
|
|
9087
9087
|
var _this;
|
|
9088
9088
|
_this = _React$Component.call(this, props, context) || this;
|
|
@@ -9498,7 +9498,7 @@ Transition.EXITED = EXITED;
|
|
|
9498
9498
|
Transition.ENTERING = ENTERING;
|
|
9499
9499
|
Transition.ENTERED = ENTERED;
|
|
9500
9500
|
Transition.EXITING = EXITING;
|
|
9501
|
-
function _assertThisInitialized
|
|
9501
|
+
function _assertThisInitialized(e2) {
|
|
9502
9502
|
if (void 0 === e2) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
9503
9503
|
return e2;
|
|
9504
9504
|
}
|
|
@@ -9606,11 +9606,11 @@ var defaultProps = {
|
|
|
9606
9606
|
}
|
|
9607
9607
|
};
|
|
9608
9608
|
var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
9609
|
-
_inheritsLoose
|
|
9609
|
+
_inheritsLoose(TransitionGroup2, _React$Component);
|
|
9610
9610
|
function TransitionGroup2(props, context) {
|
|
9611
9611
|
var _this;
|
|
9612
9612
|
_this = _React$Component.call(this, props, context) || this;
|
|
9613
|
-
var handleExited = _this.handleExited.bind(_assertThisInitialized
|
|
9613
|
+
var handleExited = _this.handleExited.bind(_assertThisInitialized(_this));
|
|
9614
9614
|
_this.state = {
|
|
9615
9615
|
contextValue: {
|
|
9616
9616
|
isMounting: true
|
|
@@ -9647,7 +9647,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
|
9647
9647
|
}
|
|
9648
9648
|
if (this.mounted) {
|
|
9649
9649
|
this.setState(function(state) {
|
|
9650
|
-
var children = _extends$
|
|
9650
|
+
var children = _extends$1({}, state.children);
|
|
9651
9651
|
delete children[child.key];
|
|
9652
9652
|
return {
|
|
9653
9653
|
children
|
|
@@ -18099,7 +18099,7 @@ var defineProperty$1 = function(obj, key, value) {
|
|
|
18099
18099
|
}
|
|
18100
18100
|
return obj;
|
|
18101
18101
|
};
|
|
18102
|
-
var _extends
|
|
18102
|
+
var _extends = Object.assign || function(target) {
|
|
18103
18103
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
18104
18104
|
var source = arguments[i2];
|
|
18105
18105
|
for (var key in source) {
|
|
@@ -18111,7 +18111,7 @@ var _extends$1 = Object.assign || function(target) {
|
|
|
18111
18111
|
return target;
|
|
18112
18112
|
};
|
|
18113
18113
|
function getClientRect(offsets) {
|
|
18114
|
-
return _extends
|
|
18114
|
+
return _extends({}, offsets, {
|
|
18115
18115
|
right: offsets.left + offsets.width,
|
|
18116
18116
|
bottom: offsets.top + offsets.height
|
|
18117
18117
|
});
|
|
@@ -18295,7 +18295,7 @@ function computeAutoPlacement(placement, refRect, popper2, reference2, boundarie
|
|
|
18295
18295
|
}
|
|
18296
18296
|
};
|
|
18297
18297
|
var sortedAreas = Object.keys(rects).map(function(key) {
|
|
18298
|
-
return _extends
|
|
18298
|
+
return _extends({
|
|
18299
18299
|
key
|
|
18300
18300
|
}, rects[key], {
|
|
18301
18301
|
area: getArea(rects[key])
|
|
@@ -18603,9 +18603,9 @@ function computeStyle(data, options) {
|
|
|
18603
18603
|
var attributes = {
|
|
18604
18604
|
"x-placement": data.placement
|
|
18605
18605
|
};
|
|
18606
|
-
data.attributes = _extends
|
|
18607
|
-
data.styles = _extends
|
|
18608
|
-
data.arrowStyles = _extends
|
|
18606
|
+
data.attributes = _extends({}, attributes, data.attributes);
|
|
18607
|
+
data.styles = _extends({}, styles2, data.styles);
|
|
18608
|
+
data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);
|
|
18609
18609
|
return data;
|
|
18610
18610
|
}
|
|
18611
18611
|
function isModifierRequired(modifiers2, requestingName, requestedName) {
|
|
@@ -18740,7 +18740,7 @@ function flip(data, options) {
|
|
|
18740
18740
|
variation = getOppositeVariation(variation);
|
|
18741
18741
|
}
|
|
18742
18742
|
data.placement = placement + (variation ? "-" + variation : "");
|
|
18743
|
-
data.offsets.popper = _extends
|
|
18743
|
+
data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));
|
|
18744
18744
|
data = runModifiers(data.instance.modifiers, data, "flip");
|
|
18745
18745
|
}
|
|
18746
18746
|
});
|
|
@@ -18899,7 +18899,7 @@ function preventOverflow(data, options) {
|
|
|
18899
18899
|
};
|
|
18900
18900
|
order2.forEach(function(placement) {
|
|
18901
18901
|
var side = ["left", "top"].indexOf(placement) !== -1 ? "primary" : "secondary";
|
|
18902
|
-
popper2 = _extends
|
|
18902
|
+
popper2 = _extends({}, popper2, check[side](placement));
|
|
18903
18903
|
});
|
|
18904
18904
|
data.offsets.popper = popper2;
|
|
18905
18905
|
return data;
|
|
@@ -18917,7 +18917,7 @@ function shift(data) {
|
|
|
18917
18917
|
start: defineProperty$1({}, side, reference2[side]),
|
|
18918
18918
|
end: defineProperty$1({}, side, reference2[side] + reference2[measurement] - popper2[measurement])
|
|
18919
18919
|
};
|
|
18920
|
-
data.offsets.popper = _extends
|
|
18920
|
+
data.offsets.popper = _extends({}, popper2, shiftOffsets[shiftvariation]);
|
|
18921
18921
|
}
|
|
18922
18922
|
return data;
|
|
18923
18923
|
}
|
|
@@ -19320,7 +19320,7 @@ var Popper = function() {
|
|
|
19320
19320
|
return requestAnimationFrame(_this.update);
|
|
19321
19321
|
};
|
|
19322
19322
|
this.update = debounce$1(this.update.bind(this));
|
|
19323
|
-
this.options = _extends
|
|
19323
|
+
this.options = _extends({}, Popper3.Defaults, options);
|
|
19324
19324
|
this.state = {
|
|
19325
19325
|
isDestroyed: false,
|
|
19326
19326
|
isCreated: false,
|
|
@@ -19329,11 +19329,11 @@ var Popper = function() {
|
|
|
19329
19329
|
this.reference = reference2 && reference2.jquery ? reference2[0] : reference2;
|
|
19330
19330
|
this.popper = popper2 && popper2.jquery ? popper2[0] : popper2;
|
|
19331
19331
|
this.options.modifiers = {};
|
|
19332
|
-
Object.keys(_extends
|
|
19333
|
-
_this.options.modifiers[name] = _extends
|
|
19332
|
+
Object.keys(_extends({}, Popper3.Defaults.modifiers, options.modifiers)).forEach(function(name) {
|
|
19333
|
+
_this.options.modifiers[name] = _extends({}, Popper3.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {});
|
|
19334
19334
|
});
|
|
19335
19335
|
this.modifiers = Object.keys(this.options.modifiers).map(function(name) {
|
|
19336
|
-
return _extends
|
|
19336
|
+
return _extends({
|
|
19337
19337
|
name
|
|
19338
19338
|
}, _this.options.modifiers[name]);
|
|
19339
19339
|
}).sort(function(a2, b) {
|
|
@@ -19577,38 +19577,6 @@ function ScopedGlobalStyles(props) {
|
|
|
19577
19577
|
}, [parentClassName, styles2]);
|
|
19578
19578
|
return component;
|
|
19579
19579
|
}
|
|
19580
|
-
function _extends() {
|
|
19581
|
-
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
19582
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
19583
|
-
var source = arguments[i2];
|
|
19584
|
-
for (var key in source) {
|
|
19585
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
19586
|
-
target[key] = source[key];
|
|
19587
|
-
}
|
|
19588
|
-
}
|
|
19589
|
-
}
|
|
19590
|
-
return target;
|
|
19591
|
-
};
|
|
19592
|
-
return _extends.apply(this, arguments);
|
|
19593
|
-
}
|
|
19594
|
-
function _assertThisInitialized(self2) {
|
|
19595
|
-
if (self2 === void 0) {
|
|
19596
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
19597
|
-
}
|
|
19598
|
-
return self2;
|
|
19599
|
-
}
|
|
19600
|
-
function _setPrototypeOf(o2, p) {
|
|
19601
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p2) {
|
|
19602
|
-
o3.__proto__ = p2;
|
|
19603
|
-
return o3;
|
|
19604
|
-
};
|
|
19605
|
-
return _setPrototypeOf(o2, p);
|
|
19606
|
-
}
|
|
19607
|
-
function _inheritsLoose(subClass, superClass) {
|
|
19608
|
-
subClass.prototype = Object.create(superClass.prototype);
|
|
19609
|
-
subClass.prototype.constructor = subClass;
|
|
19610
|
-
_setPrototypeOf(subClass, superClass);
|
|
19611
|
-
}
|
|
19612
19580
|
var safeIsNaN = Number.isNaN || function ponyfill(value) {
|
|
19613
19581
|
return typeof value === "number" && value !== value;
|
|
19614
19582
|
};
|
|
@@ -19976,7 +19944,7 @@ function createListComponent(_ref) {
|
|
|
19976
19944
|
className,
|
|
19977
19945
|
onScroll,
|
|
19978
19946
|
ref: this._outerRefSetter,
|
|
19979
|
-
style: _extends({
|
|
19947
|
+
style: _extends$1({
|
|
19980
19948
|
position: "relative",
|
|
19981
19949
|
height: height2,
|
|
19982
19950
|
width: width2,
|
|
@@ -35118,7 +35086,7 @@ const AUTO_INDEPENDENT_COORDINATION_TYPES = [
|
|
|
35118
35086
|
CoordinationType$1.HIERARCHY_LEVELS
|
|
35119
35087
|
]
|
|
35120
35088
|
});
|
|
35121
|
-
const version = "3.9.
|
|
35089
|
+
const version = "3.9.5";
|
|
35122
35090
|
const META_VERSION = {
|
|
35123
35091
|
version
|
|
35124
35092
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/vit-s",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.5",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -31,17 +31,17 @@
|
|
|
31
31
|
"react-error-boundary": "^5.0.0",
|
|
32
32
|
"@placemarkio/flat-drop-files": "^1.0.2",
|
|
33
33
|
"zarrita": "0.6.1",
|
|
34
|
-
"@vitessce/styles": "3.9.
|
|
35
|
-
"@vitessce/
|
|
36
|
-
"@vitessce/
|
|
37
|
-
"@vitessce/
|
|
38
|
-
"@vitessce/constants-internal": "3.9.
|
|
39
|
-
"@vitessce/schemas": "3.9.
|
|
40
|
-
"@vitessce/utils": "3.9.
|
|
41
|
-
"@vitessce/
|
|
42
|
-
"@vitessce/
|
|
43
|
-
"@vitessce/
|
|
44
|
-
"@vitessce/
|
|
34
|
+
"@vitessce/styles": "3.9.5",
|
|
35
|
+
"@vitessce/error": "3.9.5",
|
|
36
|
+
"@vitessce/abstract": "3.9.5",
|
|
37
|
+
"@vitessce/plugins": "3.9.5",
|
|
38
|
+
"@vitessce/constants-internal": "3.9.5",
|
|
39
|
+
"@vitessce/schemas": "3.9.5",
|
|
40
|
+
"@vitessce/sets-utils": "3.9.5",
|
|
41
|
+
"@vitessce/utils": "3.9.5",
|
|
42
|
+
"@vitessce/zarr-utils": "3.9.5",
|
|
43
|
+
"@vitessce/config": "3.9.5",
|
|
44
|
+
"@vitessce/globals": "3.9.5"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@testing-library/jest-dom": "^6.6.3",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"react-dom": "18.3.1",
|
|
51
51
|
"vite": "^7.0.0",
|
|
52
52
|
"vitest": "^3.1.4",
|
|
53
|
-
"@vitessce/types": "3.9.
|
|
53
|
+
"@vitessce/types": "3.9.5"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|