@vitessce/feature-list 3.9.3 → 3.9.4
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 +40 -72
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -2264,14 +2264,14 @@ var createCache = function createCache2(options) {
|
|
|
2264
2264
|
cache.sheet.hydrate(nodesToHydrate);
|
|
2265
2265
|
return cache;
|
|
2266
2266
|
};
|
|
2267
|
-
function _extends$
|
|
2268
|
-
return _extends$
|
|
2267
|
+
function _extends$2() {
|
|
2268
|
+
return _extends$2 = Object.assign ? Object.assign.bind() : function(n) {
|
|
2269
2269
|
for (var e = 1; e < arguments.length; e++) {
|
|
2270
2270
|
var t = arguments[e];
|
|
2271
2271
|
for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n[r2] = t[r2]);
|
|
2272
2272
|
}
|
|
2273
2273
|
return n;
|
|
2274
|
-
}, _extends$
|
|
2274
|
+
}, _extends$2.apply(null, arguments);
|
|
2275
2275
|
}
|
|
2276
2276
|
var reactIs$1 = { exports: {} };
|
|
2277
2277
|
var reactIs_development$1 = {};
|
|
@@ -3764,7 +3764,7 @@ var createStyled$1 = function createStyled(tag, options) {
|
|
|
3764
3764
|
}
|
|
3765
3765
|
});
|
|
3766
3766
|
Styled.withComponent = function(nextTag, nextOptions) {
|
|
3767
|
-
var newStyled2 = createStyled(nextTag, _extends$
|
|
3767
|
+
var newStyled2 = createStyled(nextTag, _extends$2({}, options, nextOptions, {
|
|
3768
3768
|
shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
|
|
3769
3769
|
}));
|
|
3770
3770
|
return newStyled2.apply(void 0, styles);
|
|
@@ -9423,14 +9423,14 @@ function chainPropTypes(propType1, propType2) {
|
|
|
9423
9423
|
return propType1(...args) || propType2(...args);
|
|
9424
9424
|
};
|
|
9425
9425
|
}
|
|
9426
|
-
function _extends$
|
|
9427
|
-
return _extends$
|
|
9426
|
+
function _extends$1() {
|
|
9427
|
+
return _extends$1 = Object.assign ? Object.assign.bind() : function(n) {
|
|
9428
9428
|
for (var e = 1; e < arguments.length; e++) {
|
|
9429
9429
|
var t = arguments[e];
|
|
9430
9430
|
for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n[r2] = t[r2]);
|
|
9431
9431
|
}
|
|
9432
9432
|
return n;
|
|
9433
|
-
}, _extends$
|
|
9433
|
+
}, _extends$1.apply(null, arguments);
|
|
9434
9434
|
}
|
|
9435
9435
|
function _objectWithoutPropertiesLoose$1(r2, e) {
|
|
9436
9436
|
if (null == r2) return {};
|
|
@@ -9441,16 +9441,16 @@ function _objectWithoutPropertiesLoose$1(r2, e) {
|
|
|
9441
9441
|
}
|
|
9442
9442
|
return t;
|
|
9443
9443
|
}
|
|
9444
|
-
function _setPrototypeOf$
|
|
9445
|
-
return _setPrototypeOf$
|
|
9444
|
+
function _setPrototypeOf$1(t, e) {
|
|
9445
|
+
return _setPrototypeOf$1 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
|
|
9446
9446
|
return t2.__proto__ = e2, t2;
|
|
9447
|
-
}, _setPrototypeOf$
|
|
9447
|
+
}, _setPrototypeOf$1(t, e);
|
|
9448
9448
|
}
|
|
9449
|
-
function _inheritsLoose
|
|
9450
|
-
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf$
|
|
9449
|
+
function _inheritsLoose(t, o) {
|
|
9450
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf$1(t, o);
|
|
9451
9451
|
}
|
|
9452
9452
|
const TransitionGroupContext = React__default.createContext(null);
|
|
9453
|
-
function _assertThisInitialized$
|
|
9453
|
+
function _assertThisInitialized$1(e) {
|
|
9454
9454
|
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
9455
9455
|
return e;
|
|
9456
9456
|
}
|
|
@@ -9558,11 +9558,11 @@ var defaultProps = {
|
|
|
9558
9558
|
}
|
|
9559
9559
|
};
|
|
9560
9560
|
var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
9561
|
-
_inheritsLoose
|
|
9561
|
+
_inheritsLoose(TransitionGroup2, _React$Component);
|
|
9562
9562
|
function TransitionGroup2(props, context) {
|
|
9563
9563
|
var _this;
|
|
9564
9564
|
_this = _React$Component.call(this, props, context) || this;
|
|
9565
|
-
var handleExited = _this.handleExited.bind(_assertThisInitialized$
|
|
9565
|
+
var handleExited = _this.handleExited.bind(_assertThisInitialized$1(_this));
|
|
9566
9566
|
_this.state = {
|
|
9567
9567
|
contextValue: {
|
|
9568
9568
|
isMounting: true
|
|
@@ -9599,7 +9599,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
|
9599
9599
|
}
|
|
9600
9600
|
if (this.mounted) {
|
|
9601
9601
|
this.setState(function(state) {
|
|
9602
|
-
var children2 = _extends$
|
|
9602
|
+
var children2 = _extends$1({}, state.children);
|
|
9603
9603
|
delete children2[child.key];
|
|
9604
9604
|
return {
|
|
9605
9605
|
children: children2
|
|
@@ -12353,7 +12353,7 @@ var defineProperty$1 = function(obj, key, value) {
|
|
|
12353
12353
|
}
|
|
12354
12354
|
return obj;
|
|
12355
12355
|
};
|
|
12356
|
-
var _extends
|
|
12356
|
+
var _extends = Object.assign || function(target) {
|
|
12357
12357
|
for (var i = 1; i < arguments.length; i++) {
|
|
12358
12358
|
var source = arguments[i];
|
|
12359
12359
|
for (var key in source) {
|
|
@@ -12365,7 +12365,7 @@ var _extends$1 = Object.assign || function(target) {
|
|
|
12365
12365
|
return target;
|
|
12366
12366
|
};
|
|
12367
12367
|
function getClientRect(offsets) {
|
|
12368
|
-
return _extends
|
|
12368
|
+
return _extends({}, offsets, {
|
|
12369
12369
|
right: offsets.left + offsets.width,
|
|
12370
12370
|
bottom: offsets.top + offsets.height
|
|
12371
12371
|
});
|
|
@@ -12549,7 +12549,7 @@ function computeAutoPlacement(placement, refRect, popper, reference, boundariesE
|
|
|
12549
12549
|
}
|
|
12550
12550
|
};
|
|
12551
12551
|
var sortedAreas = Object.keys(rects).map(function(key) {
|
|
12552
|
-
return _extends
|
|
12552
|
+
return _extends({
|
|
12553
12553
|
key
|
|
12554
12554
|
}, rects[key], {
|
|
12555
12555
|
area: getArea(rects[key])
|
|
@@ -12857,9 +12857,9 @@ function computeStyle(data, options) {
|
|
|
12857
12857
|
var attributes = {
|
|
12858
12858
|
"x-placement": data.placement
|
|
12859
12859
|
};
|
|
12860
|
-
data.attributes = _extends
|
|
12861
|
-
data.styles = _extends
|
|
12862
|
-
data.arrowStyles = _extends
|
|
12860
|
+
data.attributes = _extends({}, attributes, data.attributes);
|
|
12861
|
+
data.styles = _extends({}, styles, data.styles);
|
|
12862
|
+
data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);
|
|
12863
12863
|
return data;
|
|
12864
12864
|
}
|
|
12865
12865
|
function isModifierRequired(modifiers2, requestingName, requestedName) {
|
|
@@ -12994,7 +12994,7 @@ function flip(data, options) {
|
|
|
12994
12994
|
variation = getOppositeVariation(variation);
|
|
12995
12995
|
}
|
|
12996
12996
|
data.placement = placement + (variation ? "-" + variation : "");
|
|
12997
|
-
data.offsets.popper = _extends
|
|
12997
|
+
data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));
|
|
12998
12998
|
data = runModifiers(data.instance.modifiers, data, "flip");
|
|
12999
12999
|
}
|
|
13000
13000
|
});
|
|
@@ -13153,7 +13153,7 @@ function preventOverflow(data, options) {
|
|
|
13153
13153
|
};
|
|
13154
13154
|
order.forEach(function(placement) {
|
|
13155
13155
|
var side = ["left", "top"].indexOf(placement) !== -1 ? "primary" : "secondary";
|
|
13156
|
-
popper = _extends
|
|
13156
|
+
popper = _extends({}, popper, check[side](placement));
|
|
13157
13157
|
});
|
|
13158
13158
|
data.offsets.popper = popper;
|
|
13159
13159
|
return data;
|
|
@@ -13171,7 +13171,7 @@ function shift(data) {
|
|
|
13171
13171
|
start: defineProperty$1({}, side, reference[side]),
|
|
13172
13172
|
end: defineProperty$1({}, side, reference[side] + reference[measurement] - popper[measurement])
|
|
13173
13173
|
};
|
|
13174
|
-
data.offsets.popper = _extends
|
|
13174
|
+
data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]);
|
|
13175
13175
|
}
|
|
13176
13176
|
return data;
|
|
13177
13177
|
}
|
|
@@ -13574,7 +13574,7 @@ var Popper = function() {
|
|
|
13574
13574
|
return requestAnimationFrame(_this.update);
|
|
13575
13575
|
};
|
|
13576
13576
|
this.update = debounce(this.update.bind(this));
|
|
13577
|
-
this.options = _extends
|
|
13577
|
+
this.options = _extends({}, Popper2.Defaults, options);
|
|
13578
13578
|
this.state = {
|
|
13579
13579
|
isDestroyed: false,
|
|
13580
13580
|
isCreated: false,
|
|
@@ -13583,11 +13583,11 @@ var Popper = function() {
|
|
|
13583
13583
|
this.reference = reference && reference.jquery ? reference[0] : reference;
|
|
13584
13584
|
this.popper = popper && popper.jquery ? popper[0] : popper;
|
|
13585
13585
|
this.options.modifiers = {};
|
|
13586
|
-
Object.keys(_extends
|
|
13587
|
-
_this.options.modifiers[name] = _extends
|
|
13586
|
+
Object.keys(_extends({}, Popper2.Defaults.modifiers, options.modifiers)).forEach(function(name) {
|
|
13587
|
+
_this.options.modifiers[name] = _extends({}, Popper2.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {});
|
|
13588
13588
|
});
|
|
13589
13589
|
this.modifiers = Object.keys(this.options.modifiers).map(function(name) {
|
|
13590
|
-
return _extends
|
|
13590
|
+
return _extends({
|
|
13591
13591
|
name
|
|
13592
13592
|
}, _this.options.modifiers[name]);
|
|
13593
13593
|
}).sort(function(a, b) {
|
|
@@ -13817,38 +13817,6 @@ React.forwardRef((props, ref) => {
|
|
|
13817
13817
|
...style2
|
|
13818
13818
|
}, children: typeof children2 === "function" ? children2(childProps) : children2 }) });
|
|
13819
13819
|
});
|
|
13820
|
-
function _extends() {
|
|
13821
|
-
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
13822
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
13823
|
-
var source = arguments[i];
|
|
13824
|
-
for (var key in source) {
|
|
13825
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
13826
|
-
target[key] = source[key];
|
|
13827
|
-
}
|
|
13828
|
-
}
|
|
13829
|
-
}
|
|
13830
|
-
return target;
|
|
13831
|
-
};
|
|
13832
|
-
return _extends.apply(this, arguments);
|
|
13833
|
-
}
|
|
13834
|
-
function _assertThisInitialized$1(self2) {
|
|
13835
|
-
if (self2 === void 0) {
|
|
13836
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13837
|
-
}
|
|
13838
|
-
return self2;
|
|
13839
|
-
}
|
|
13840
|
-
function _setPrototypeOf$1(o, p) {
|
|
13841
|
-
_setPrototypeOf$1 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o2, p2) {
|
|
13842
|
-
o2.__proto__ = p2;
|
|
13843
|
-
return o2;
|
|
13844
|
-
};
|
|
13845
|
-
return _setPrototypeOf$1(o, p);
|
|
13846
|
-
}
|
|
13847
|
-
function _inheritsLoose(subClass, superClass) {
|
|
13848
|
-
subClass.prototype = Object.create(superClass.prototype);
|
|
13849
|
-
subClass.prototype.constructor = subClass;
|
|
13850
|
-
_setPrototypeOf$1(subClass, superClass);
|
|
13851
|
-
}
|
|
13852
13820
|
var safeIsNaN = Number.isNaN || function ponyfill(value) {
|
|
13853
13821
|
return typeof value === "number" && value !== value;
|
|
13854
13822
|
};
|
|
@@ -14216,7 +14184,7 @@ function createListComponent(_ref) {
|
|
|
14216
14184
|
className,
|
|
14217
14185
|
onScroll: onScroll6,
|
|
14218
14186
|
ref: this._outerRefSetter,
|
|
14219
|
-
style: _extends({
|
|
14187
|
+
style: _extends$1({
|
|
14220
14188
|
position: "relative",
|
|
14221
14189
|
height: height2,
|
|
14222
14190
|
width: width2,
|
|
@@ -15948,8 +15916,8 @@ var Collection = /* @__PURE__ */ function(_React$PureComponent) {
|
|
|
15948
15916
|
}, {
|
|
15949
15917
|
key: "render",
|
|
15950
15918
|
value: function render() {
|
|
15951
|
-
var props = _extends$
|
|
15952
|
-
return /* @__PURE__ */ React.createElement(CollectionView, _extends$
|
|
15919
|
+
var props = _extends$2({}, (_objectDestructuringEmpty(this.props), this.props));
|
|
15920
|
+
return /* @__PURE__ */ React.createElement(CollectionView, _extends$2({
|
|
15953
15921
|
cellLayoutManager: this,
|
|
15954
15922
|
isScrollingChange: this._isScrollingChange,
|
|
15955
15923
|
ref: this._setCollectionViewRef
|
|
@@ -17242,7 +17210,7 @@ var Grid = /* @__PURE__ */ function(_React$PureComponent) {
|
|
|
17242
17210
|
gridStyle.overflowY = totalRowsHeight + horizontalScrollBarSize <= height2 ? "hidden" : "auto";
|
|
17243
17211
|
var childrenToDisplay = this._childrenToDisplay;
|
|
17244
17212
|
var showNoContentRenderer = childrenToDisplay.length === 0 && height2 > 0 && width2 > 0;
|
|
17245
|
-
return /* @__PURE__ */ React.createElement("div", _extends$
|
|
17213
|
+
return /* @__PURE__ */ React.createElement("div", _extends$2({
|
|
17246
17214
|
ref: this._setScrollingContainerRef
|
|
17247
17215
|
}, containerProps, {
|
|
17248
17216
|
"aria-label": this.props["aria-label"],
|
|
@@ -18160,7 +18128,7 @@ var List = /* @__PURE__ */ function(_React$PureComponent) {
|
|
|
18160
18128
|
value: function render() {
|
|
18161
18129
|
var _this$props = this.props, className = _this$props.className, noRowsRenderer3 = _this$props.noRowsRenderer, scrollToIndex = _this$props.scrollToIndex, width2 = _this$props.width;
|
|
18162
18130
|
var classNames = clsx("ReactVirtualized__List", className);
|
|
18163
|
-
return /* @__PURE__ */ React.createElement(Grid, _extends$
|
|
18131
|
+
return /* @__PURE__ */ React.createElement(Grid, _extends$2({}, this.props, {
|
|
18164
18132
|
autoContainerWidth: true,
|
|
18165
18133
|
cellRenderer: this._cellRenderer,
|
|
18166
18134
|
className: classNames,
|
|
@@ -19655,7 +19623,7 @@ var MultiGrid = /* @__PURE__ */ function(_React$PureComponent) {
|
|
|
19655
19623
|
return null;
|
|
19656
19624
|
}
|
|
19657
19625
|
var additionalRowCount = showVerticalScrollbar ? 1 : 0, height2 = this._getBottomGridHeight(props), width2 = this._getLeftGridWidth(props), scrollbarSize2 = this.state.showVerticalScrollbar ? this.state.scrollbarSize : 0, gridWidth = hideBottomLeftGridScrollbar ? width2 + scrollbarSize2 : width2;
|
|
19658
|
-
var bottomLeftGrid = /* @__PURE__ */ React.createElement(Grid, _extends$
|
|
19626
|
+
var bottomLeftGrid = /* @__PURE__ */ React.createElement(Grid, _extends$2({}, props, {
|
|
19659
19627
|
cellRenderer: this._cellRendererBottomLeftGrid,
|
|
19660
19628
|
className: this.props.classNameBottomLeftGrid,
|
|
19661
19629
|
columnCount: fixedColumnCount,
|
|
@@ -19685,7 +19653,7 @@ var MultiGrid = /* @__PURE__ */ function(_React$PureComponent) {
|
|
|
19685
19653
|
key: "_renderBottomRightGrid",
|
|
19686
19654
|
value: function _renderBottomRightGrid(props) {
|
|
19687
19655
|
var columnCount = props.columnCount, fixedColumnCount = props.fixedColumnCount, fixedRowCount = props.fixedRowCount, rowCount = props.rowCount, scrollToColumn = props.scrollToColumn, scrollToRow = props.scrollToRow;
|
|
19688
|
-
return /* @__PURE__ */ React.createElement(Grid, _extends$
|
|
19656
|
+
return /* @__PURE__ */ React.createElement(Grid, _extends$2({}, props, {
|
|
19689
19657
|
cellRenderer: this._cellRendererBottomRightGrid,
|
|
19690
19658
|
className: this.props.classNameBottomRightGrid,
|
|
19691
19659
|
columnCount: Math.max(0, columnCount - fixedColumnCount),
|
|
@@ -19710,7 +19678,7 @@ var MultiGrid = /* @__PURE__ */ function(_React$PureComponent) {
|
|
|
19710
19678
|
if (!fixedColumnCount || !fixedRowCount) {
|
|
19711
19679
|
return null;
|
|
19712
19680
|
}
|
|
19713
|
-
return /* @__PURE__ */ React.createElement(Grid, _extends$
|
|
19681
|
+
return /* @__PURE__ */ React.createElement(Grid, _extends$2({}, props, {
|
|
19714
19682
|
className: this.props.classNameTopLeftGrid,
|
|
19715
19683
|
columnCount: fixedColumnCount,
|
|
19716
19684
|
height: this._getTopGridHeight(props),
|
|
@@ -19737,7 +19705,7 @@ var MultiGrid = /* @__PURE__ */ function(_React$PureComponent) {
|
|
|
19737
19705
|
left: 0
|
|
19738
19706
|
});
|
|
19739
19707
|
}
|
|
19740
|
-
var topRightGrid = /* @__PURE__ */ React.createElement(Grid, _extends$
|
|
19708
|
+
var topRightGrid = /* @__PURE__ */ React.createElement(Grid, _extends$2({}, props, {
|
|
19741
19709
|
cellRenderer: this._cellRendererTopRightGrid,
|
|
19742
19710
|
className: this.props.classNameTopRightGrid,
|
|
19743
19711
|
columnCount: Math.max(0, columnCount - fixedColumnCount) + additionalColumnCount,
|
|
@@ -20012,7 +19980,7 @@ function defaultRowRenderer(_ref) {
|
|
|
20012
19980
|
};
|
|
20013
19981
|
}
|
|
20014
19982
|
}
|
|
20015
|
-
return /* @__PURE__ */ React.createElement("div", _extends$
|
|
19983
|
+
return /* @__PURE__ */ React.createElement("div", _extends$2({}, a11yProps, {
|
|
20016
19984
|
className,
|
|
20017
19985
|
key,
|
|
20018
19986
|
role: "row",
|
|
@@ -20295,7 +20263,7 @@ var Table = /* @__PURE__ */ function(_React$PureComponent) {
|
|
|
20295
20263
|
paddingRight: scrollbarWidth,
|
|
20296
20264
|
width: width2
|
|
20297
20265
|
}, rowStyleObject)
|
|
20298
|
-
}), /* @__PURE__ */ React.createElement(Grid, _extends$
|
|
20266
|
+
}), /* @__PURE__ */ React.createElement(Grid, _extends$2({}, this.props, {
|
|
20299
20267
|
elementRef: this._setGridElementRef,
|
|
20300
20268
|
"aria-readonly": null,
|
|
20301
20269
|
autoContainerWidth: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/feature-list",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.4",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"react-virtualized": "^9.22.6",
|
|
22
22
|
"uuid": "^9.0.0",
|
|
23
23
|
"react-aria": "^3.28.0",
|
|
24
|
-
"@vitessce/
|
|
25
|
-
"@vitessce/
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/
|
|
24
|
+
"@vitessce/styles": "3.9.4",
|
|
25
|
+
"@vitessce/constants-internal": "3.9.4",
|
|
26
|
+
"@vitessce/utils": "3.9.4",
|
|
27
|
+
"@vitessce/vit-s": "3.9.4"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@testing-library/jest-dom": "^6.6.3",
|