@vitessce/feature-list 3.0.1 → 3.1.0
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 +114 -96
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -10195,6 +10195,10 @@ const FileType$1 = {
|
|
|
10195
10195
|
ANNDATA_EXPRESSION_MATRIX_ZARR: "anndata-expression-matrix.zarr"
|
|
10196
10196
|
};
|
|
10197
10197
|
const CoordinationType$1 = {
|
|
10198
|
+
// Meta coordination scopes
|
|
10199
|
+
META_COORDINATION_SCOPES: "metaCoordinationScopes",
|
|
10200
|
+
META_COORDINATION_SCOPES_BY: "metaCoordinationScopesBy",
|
|
10201
|
+
// Other coordination scopes
|
|
10198
10202
|
DATASET: "dataset",
|
|
10199
10203
|
// Entity types
|
|
10200
10204
|
OBS_TYPE: "obsType",
|
|
@@ -18289,7 +18293,24 @@ function elementTypeAcceptingRef(props, propName, componentName, location, propF
|
|
|
18289
18293
|
return null;
|
|
18290
18294
|
}
|
|
18291
18295
|
const elementTypeAcceptingRef$1 = chainPropTypes(propTypesExports.elementType, elementTypeAcceptingRef);
|
|
18292
|
-
function
|
|
18296
|
+
function _toPrimitive(input, hint) {
|
|
18297
|
+
if (_typeof$3(input) !== "object" || input === null)
|
|
18298
|
+
return input;
|
|
18299
|
+
var prim = input[Symbol.toPrimitive];
|
|
18300
|
+
if (prim !== void 0) {
|
|
18301
|
+
var res = prim.call(input, hint || "default");
|
|
18302
|
+
if (_typeof$3(res) !== "object")
|
|
18303
|
+
return res;
|
|
18304
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
18305
|
+
}
|
|
18306
|
+
return (hint === "string" ? String : Number)(input);
|
|
18307
|
+
}
|
|
18308
|
+
function _toPropertyKey(arg) {
|
|
18309
|
+
var key = _toPrimitive(arg, "string");
|
|
18310
|
+
return _typeof$3(key) === "symbol" ? key : String(key);
|
|
18311
|
+
}
|
|
18312
|
+
function _defineProperty$1(obj, key, value) {
|
|
18313
|
+
key = _toPropertyKey(key);
|
|
18293
18314
|
if (key in obj) {
|
|
18294
18315
|
Object.defineProperty(obj, key, {
|
|
18295
18316
|
value,
|
|
@@ -18304,7 +18325,7 @@ function _defineProperty(obj, key, value) {
|
|
|
18304
18325
|
}
|
|
18305
18326
|
var specialProperty = "exact-prop: ";
|
|
18306
18327
|
function exactProp(propTypes2) {
|
|
18307
|
-
return _extends$2({}, propTypes2, _defineProperty({}, specialProperty, function(props) {
|
|
18328
|
+
return _extends$2({}, propTypes2, _defineProperty$1({}, specialProperty, function(props) {
|
|
18308
18329
|
var unsupportedProps = Object.keys(props).filter(function(prop) {
|
|
18309
18330
|
return !propTypes2.hasOwnProperty(prop);
|
|
18310
18331
|
});
|
|
@@ -18675,6 +18696,19 @@ function lighten(color, coefficient) {
|
|
|
18675
18696
|
}
|
|
18676
18697
|
return recomposeColor(color);
|
|
18677
18698
|
}
|
|
18699
|
+
function _defineProperty(obj, key, value) {
|
|
18700
|
+
if (key in obj) {
|
|
18701
|
+
Object.defineProperty(obj, key, {
|
|
18702
|
+
value,
|
|
18703
|
+
enumerable: true,
|
|
18704
|
+
configurable: true,
|
|
18705
|
+
writable: true
|
|
18706
|
+
});
|
|
18707
|
+
} else {
|
|
18708
|
+
obj[key] = value;
|
|
18709
|
+
}
|
|
18710
|
+
return obj;
|
|
18711
|
+
}
|
|
18678
18712
|
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
18679
18713
|
if (source == null)
|
|
18680
18714
|
return {};
|
|
@@ -18707,6 +18741,20 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
18707
18741
|
}
|
|
18708
18742
|
return target;
|
|
18709
18743
|
}
|
|
18744
|
+
function _extends$1() {
|
|
18745
|
+
_extends$1 = Object.assign ? Object.assign.bind() : function(target) {
|
|
18746
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
18747
|
+
var source = arguments[i];
|
|
18748
|
+
for (var key in source) {
|
|
18749
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
18750
|
+
target[key] = source[key];
|
|
18751
|
+
}
|
|
18752
|
+
}
|
|
18753
|
+
}
|
|
18754
|
+
return target;
|
|
18755
|
+
};
|
|
18756
|
+
return _extends$1.apply(this, arguments);
|
|
18757
|
+
}
|
|
18710
18758
|
var keys = ["xs", "sm", "md", "lg", "xl"];
|
|
18711
18759
|
function createBreakpoints(breakpoints) {
|
|
18712
18760
|
var _breakpoints$values = breakpoints.values, values2 = _breakpoints$values === void 0 ? {
|
|
@@ -18749,7 +18797,7 @@ function createBreakpoints(breakpoints) {
|
|
|
18749
18797
|
}
|
|
18750
18798
|
return values2[key];
|
|
18751
18799
|
}
|
|
18752
|
-
return _extends$
|
|
18800
|
+
return _extends$1({
|
|
18753
18801
|
keys,
|
|
18754
18802
|
values: values2,
|
|
18755
18803
|
up,
|
|
@@ -18761,14 +18809,14 @@ function createBreakpoints(breakpoints) {
|
|
|
18761
18809
|
}
|
|
18762
18810
|
function createMixins(breakpoints, spacing, mixins) {
|
|
18763
18811
|
var _toolbar;
|
|
18764
|
-
return _extends$
|
|
18812
|
+
return _extends$1({
|
|
18765
18813
|
gutters: function gutters() {
|
|
18766
18814
|
var styles8 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
18767
18815
|
console.warn(["Material-UI: theme.mixins.gutters() is deprecated.", "You can use the source of the mixin directly:", "\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n"));
|
|
18768
|
-
return _extends$
|
|
18816
|
+
return _extends$1({
|
|
18769
18817
|
paddingLeft: spacing(2),
|
|
18770
18818
|
paddingRight: spacing(2)
|
|
18771
|
-
}, styles8, _defineProperty({}, breakpoints.up("sm"), _extends$
|
|
18819
|
+
}, styles8, _defineProperty({}, breakpoints.up("sm"), _extends$1({
|
|
18772
18820
|
paddingLeft: spacing(3),
|
|
18773
18821
|
paddingRight: spacing(3)
|
|
18774
18822
|
}, styles8[breakpoints.up("sm")])));
|
|
@@ -18902,7 +18950,7 @@ function createPalette(palette) {
|
|
|
18902
18950
|
var mainShade = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 500;
|
|
18903
18951
|
var lightShade = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 300;
|
|
18904
18952
|
var darkShade = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 700;
|
|
18905
|
-
color = _extends$
|
|
18953
|
+
color = _extends$1({}, color);
|
|
18906
18954
|
if (!color.main && color[mainShade]) {
|
|
18907
18955
|
color.main = color[mainShade];
|
|
18908
18956
|
}
|
|
@@ -18928,7 +18976,7 @@ function createPalette(palette) {
|
|
|
18928
18976
|
console.error("Material-UI: The palette type `".concat(type, "` is not supported."));
|
|
18929
18977
|
}
|
|
18930
18978
|
}
|
|
18931
|
-
var paletteOutput = deepmerge(_extends$
|
|
18979
|
+
var paletteOutput = deepmerge(_extends$1({
|
|
18932
18980
|
// A collection of common colors.
|
|
18933
18981
|
common: common$1,
|
|
18934
18982
|
// The palette type, can be light or dark.
|
|
@@ -18993,7 +19041,7 @@ function createTypography(palette, typography) {
|
|
|
18993
19041
|
return "".concat(size2 / htmlFontSize * coef, "rem");
|
|
18994
19042
|
};
|
|
18995
19043
|
var buildVariant = function buildVariant2(fontWeight, size2, lineHeight, letterSpacing, casing) {
|
|
18996
|
-
return _extends$
|
|
19044
|
+
return _extends$1({
|
|
18997
19045
|
fontFamily,
|
|
18998
19046
|
fontWeight,
|
|
18999
19047
|
fontSize: pxToRem(size2),
|
|
@@ -19018,7 +19066,7 @@ function createTypography(palette, typography) {
|
|
|
19018
19066
|
caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),
|
|
19019
19067
|
overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)
|
|
19020
19068
|
};
|
|
19021
|
-
return deepmerge(_extends$
|
|
19069
|
+
return deepmerge(_extends$1({
|
|
19022
19070
|
htmlFontSize,
|
|
19023
19071
|
pxToRem,
|
|
19024
19072
|
round: roundWithDeprecationWarning,
|
|
@@ -19083,6 +19131,14 @@ function _nonIterableSpread$1() {
|
|
|
19083
19131
|
function _toConsumableArray$1(arr) {
|
|
19084
19132
|
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread$1();
|
|
19085
19133
|
}
|
|
19134
|
+
function _typeof$2(obj) {
|
|
19135
|
+
"@babel/helpers - typeof";
|
|
19136
|
+
return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
19137
|
+
return typeof obj2;
|
|
19138
|
+
} : function(obj2) {
|
|
19139
|
+
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
19140
|
+
}, _typeof$2(obj);
|
|
19141
|
+
}
|
|
19086
19142
|
function _arrayWithHoles(arr) {
|
|
19087
19143
|
if (Array.isArray(arr))
|
|
19088
19144
|
return arr;
|
|
@@ -19404,50 +19460,12 @@ function warning(condition, message) {
|
|
|
19404
19460
|
}
|
|
19405
19461
|
}
|
|
19406
19462
|
}
|
|
19407
|
-
|
|
19408
|
-
_extends$1 = Object.assign ? Object.assign.bind() : function(target) {
|
|
19409
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
19410
|
-
var source = arguments[i];
|
|
19411
|
-
for (var key in source) {
|
|
19412
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
19413
|
-
target[key] = source[key];
|
|
19414
|
-
}
|
|
19415
|
-
}
|
|
19416
|
-
}
|
|
19417
|
-
return target;
|
|
19418
|
-
};
|
|
19419
|
-
return _extends$1.apply(this, arguments);
|
|
19420
|
-
}
|
|
19421
|
-
var _typeof$2 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
|
|
19463
|
+
var _typeof$1 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
|
|
19422
19464
|
return typeof obj;
|
|
19423
19465
|
} : function(obj) {
|
|
19424
19466
|
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
19425
19467
|
};
|
|
19426
|
-
var isBrowser = (typeof window === "undefined" ? "undefined" : _typeof$
|
|
19427
|
-
function _typeof$1(obj) {
|
|
19428
|
-
"@babel/helpers - typeof";
|
|
19429
|
-
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
19430
|
-
return typeof obj2;
|
|
19431
|
-
} : function(obj2) {
|
|
19432
|
-
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
19433
|
-
}, _typeof$1(obj);
|
|
19434
|
-
}
|
|
19435
|
-
function _toPrimitive(input, hint) {
|
|
19436
|
-
if (_typeof$1(input) !== "object" || input === null)
|
|
19437
|
-
return input;
|
|
19438
|
-
var prim = input[Symbol.toPrimitive];
|
|
19439
|
-
if (prim !== void 0) {
|
|
19440
|
-
var res = prim.call(input, hint || "default");
|
|
19441
|
-
if (_typeof$1(res) !== "object")
|
|
19442
|
-
return res;
|
|
19443
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
19444
|
-
}
|
|
19445
|
-
return (hint === "string" ? String : Number)(input);
|
|
19446
|
-
}
|
|
19447
|
-
function _toPropertyKey(arg) {
|
|
19448
|
-
var key = _toPrimitive(arg, "string");
|
|
19449
|
-
return _typeof$1(key) === "symbol" ? key : String(key);
|
|
19450
|
-
}
|
|
19468
|
+
var isBrowser = (typeof window === "undefined" ? "undefined" : _typeof$1(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$1(document)) === "object" && document.nodeType === 9;
|
|
19451
19469
|
function _defineProperties(target, props) {
|
|
19452
19470
|
for (var i = 0; i < props.length; i++) {
|
|
19453
19471
|
var descriptor = props[i];
|
|
@@ -19725,7 +19743,7 @@ var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
|
19725
19743
|
_proto2.toString = function toString2(options) {
|
|
19726
19744
|
var sheet = this.options.sheet;
|
|
19727
19745
|
var link = sheet ? sheet.options.link : false;
|
|
19728
|
-
var opts2 = link ? _extends$
|
|
19746
|
+
var opts2 = link ? _extends$2({}, options, {
|
|
19729
19747
|
allowEmpty: true
|
|
19730
19748
|
}) : options;
|
|
19731
19749
|
return toCss(this.selectorText, this.style, opts2);
|
|
@@ -19772,7 +19790,7 @@ var ConditionalRule = /* @__PURE__ */ function() {
|
|
|
19772
19790
|
this.at = atMatch ? atMatch[1] : "unknown";
|
|
19773
19791
|
this.query = options.name || "@" + this.at;
|
|
19774
19792
|
this.options = options;
|
|
19775
|
-
this.rules = new RuleList(_extends$
|
|
19793
|
+
this.rules = new RuleList(_extends$2({}, options, {
|
|
19776
19794
|
parent: this
|
|
19777
19795
|
}));
|
|
19778
19796
|
for (var name in styles8) {
|
|
@@ -19844,11 +19862,11 @@ var KeyframesRule = /* @__PURE__ */ function() {
|
|
|
19844
19862
|
this.options = options;
|
|
19845
19863
|
var scoped = options.scoped, sheet = options.sheet, generateId = options.generateId;
|
|
19846
19864
|
this.id = scoped === false ? this.name : escape(generateId(this, sheet));
|
|
19847
|
-
this.rules = new RuleList(_extends$
|
|
19865
|
+
this.rules = new RuleList(_extends$2({}, options, {
|
|
19848
19866
|
parent: this
|
|
19849
19867
|
}));
|
|
19850
19868
|
for (var name in frames) {
|
|
19851
|
-
this.rules.add(name, frames[name], _extends$
|
|
19869
|
+
this.rules.add(name, frames[name], _extends$2({}, options, {
|
|
19852
19870
|
parent: this
|
|
19853
19871
|
}));
|
|
19854
19872
|
}
|
|
@@ -19933,7 +19951,7 @@ var KeyframeRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
|
19933
19951
|
_proto.toString = function toString2(options) {
|
|
19934
19952
|
var sheet = this.options.sheet;
|
|
19935
19953
|
var link = sheet ? sheet.options.link : false;
|
|
19936
|
-
var opts2 = link ? _extends$
|
|
19954
|
+
var opts2 = link ? _extends$2({}, options, {
|
|
19937
19955
|
allowEmpty: true
|
|
19938
19956
|
}) : options;
|
|
19939
19957
|
return toCss(this.key, this.style, opts2);
|
|
@@ -20057,7 +20075,7 @@ var RuleList = /* @__PURE__ */ function() {
|
|
|
20057
20075
|
var _proto = RuleList2.prototype;
|
|
20058
20076
|
_proto.add = function add(name, decl, ruleOptions) {
|
|
20059
20077
|
var _this$options = this.options, parent = _this$options.parent, sheet = _this$options.sheet, jss2 = _this$options.jss, Renderer = _this$options.Renderer, generateId = _this$options.generateId, scoped = _this$options.scoped;
|
|
20060
|
-
var options = _extends$
|
|
20078
|
+
var options = _extends$2({
|
|
20061
20079
|
classes: this.classes,
|
|
20062
20080
|
parent,
|
|
20063
20081
|
sheet,
|
|
@@ -20093,7 +20111,7 @@ var RuleList = /* @__PURE__ */ function() {
|
|
|
20093
20111
|
}
|
|
20094
20112
|
var options = ruleOptions;
|
|
20095
20113
|
if (oldIndex !== -1)
|
|
20096
|
-
options = _extends$
|
|
20114
|
+
options = _extends$2({}, ruleOptions, {
|
|
20097
20115
|
index: oldIndex
|
|
20098
20116
|
});
|
|
20099
20117
|
return this.add(name, decl, options);
|
|
@@ -20206,7 +20224,7 @@ var StyleSheet = /* @__PURE__ */ function() {
|
|
|
20206
20224
|
this.deployed = false;
|
|
20207
20225
|
this.classes = {};
|
|
20208
20226
|
this.keyframes = {};
|
|
20209
|
-
this.options = _extends$
|
|
20227
|
+
this.options = _extends$2({}, options, {
|
|
20210
20228
|
sheet: this,
|
|
20211
20229
|
parent: this,
|
|
20212
20230
|
classes: this.classes,
|
|
@@ -20825,7 +20843,7 @@ var Jss = /* @__PURE__ */ function() {
|
|
|
20825
20843
|
this.options.createGenerateId = options.createGenerateId;
|
|
20826
20844
|
}
|
|
20827
20845
|
if (options.id) {
|
|
20828
|
-
this.options.id = _extends$
|
|
20846
|
+
this.options.id = _extends$2({}, this.options.id, options.id);
|
|
20829
20847
|
}
|
|
20830
20848
|
if (options.createGenerateId || options.id) {
|
|
20831
20849
|
this.generateId = this.options.createGenerateId(this.options.id);
|
|
@@ -20847,7 +20865,7 @@ var Jss = /* @__PURE__ */ function() {
|
|
|
20847
20865
|
if (typeof index2 !== "number") {
|
|
20848
20866
|
index2 = sheets.index === 0 ? 0 : sheets.index + 1;
|
|
20849
20867
|
}
|
|
20850
|
-
var sheet = new StyleSheet(styles8, _extends$
|
|
20868
|
+
var sheet = new StyleSheet(styles8, _extends$2({}, options, {
|
|
20851
20869
|
jss: this,
|
|
20852
20870
|
generateId: options.generateId || this.generateId,
|
|
20853
20871
|
insertionPoint: this.options.insertionPoint,
|
|
@@ -20872,7 +20890,7 @@ var Jss = /* @__PURE__ */ function() {
|
|
|
20872
20890
|
if (typeof name === "object") {
|
|
20873
20891
|
return this.createRule(void 0, name, style);
|
|
20874
20892
|
}
|
|
20875
|
-
var ruleOptions = _extends$
|
|
20893
|
+
var ruleOptions = _extends$2({}, options, {
|
|
20876
20894
|
name,
|
|
20877
20895
|
jss: this,
|
|
20878
20896
|
Renderer: this.options.Renderer
|
|
@@ -20983,7 +21001,7 @@ var GlobalContainerRule = /* @__PURE__ */ function() {
|
|
|
20983
21001
|
this.isProcessed = false;
|
|
20984
21002
|
this.key = key;
|
|
20985
21003
|
this.options = options;
|
|
20986
|
-
this.rules = new RuleList(_extends$
|
|
21004
|
+
this.rules = new RuleList(_extends$1({}, options, {
|
|
20987
21005
|
parent: this
|
|
20988
21006
|
}));
|
|
20989
21007
|
for (var selector in styles8) {
|
|
@@ -21023,7 +21041,7 @@ var GlobalPrefixedRule = /* @__PURE__ */ function() {
|
|
|
21023
21041
|
this.key = key;
|
|
21024
21042
|
this.options = options;
|
|
21025
21043
|
var selector = key.substr(atPrefix.length);
|
|
21026
|
-
this.rule = options.jss.createRule(selector, style, _extends$
|
|
21044
|
+
this.rule = options.jss.createRule(selector, style, _extends$1({}, options, {
|
|
21027
21045
|
parent: this
|
|
21028
21046
|
}));
|
|
21029
21047
|
}
|
|
@@ -21050,7 +21068,7 @@ function handleNestedGlobalContainerRule(rule, sheet) {
|
|
|
21050
21068
|
if (!rules)
|
|
21051
21069
|
return;
|
|
21052
21070
|
for (var name in rules) {
|
|
21053
|
-
sheet.addRule(name, rules[name], _extends$
|
|
21071
|
+
sheet.addRule(name, rules[name], _extends$1({}, options, {
|
|
21054
21072
|
selector: addScope(name, rule.selector)
|
|
21055
21073
|
}));
|
|
21056
21074
|
}
|
|
@@ -21062,7 +21080,7 @@ function handlePrefixedGlobalRule(rule, sheet) {
|
|
|
21062
21080
|
if (prop[0] !== "@" || prop.substr(0, at.length) !== at)
|
|
21063
21081
|
continue;
|
|
21064
21082
|
var selector = addScope(prop.substr(at.length), rule.selector);
|
|
21065
|
-
sheet.addRule(selector, style[prop], _extends$
|
|
21083
|
+
sheet.addRule(selector, style[prop], _extends$1({}, options, {
|
|
21066
21084
|
selector
|
|
21067
21085
|
}));
|
|
21068
21086
|
delete style[prop];
|
|
@@ -21131,12 +21149,12 @@ function jssNested() {
|
|
|
21131
21149
|
}
|
|
21132
21150
|
function getOptions(rule, container, prevOptions) {
|
|
21133
21151
|
if (prevOptions)
|
|
21134
|
-
return _extends$
|
|
21152
|
+
return _extends$2({}, prevOptions, {
|
|
21135
21153
|
index: prevOptions.index + 1
|
|
21136
21154
|
});
|
|
21137
21155
|
var nestingLevel = rule.options.nestingLevel;
|
|
21138
21156
|
nestingLevel = nestingLevel === void 0 ? 1 : nestingLevel + 1;
|
|
21139
|
-
var options = _extends$
|
|
21157
|
+
var options = _extends$2({}, rule.options, {
|
|
21140
21158
|
nestingLevel,
|
|
21141
21159
|
index: container.indexOf(rule) + 1
|
|
21142
21160
|
// We don't need the parent name to be set options for chlid.
|
|
@@ -21164,11 +21182,11 @@ function jssNested() {
|
|
|
21164
21182
|
selector = selector.replace(refRegExp, replaceRef3);
|
|
21165
21183
|
var name = styleRule.key + "-" + prop;
|
|
21166
21184
|
if ("replaceRule" in container) {
|
|
21167
|
-
container.replaceRule(name, style[prop], _extends$
|
|
21185
|
+
container.replaceRule(name, style[prop], _extends$2({}, options, {
|
|
21168
21186
|
selector
|
|
21169
21187
|
}));
|
|
21170
21188
|
} else {
|
|
21171
|
-
container.addRule(name, style[prop], _extends$
|
|
21189
|
+
container.addRule(name, style[prop], _extends$2({}, options, {
|
|
21172
21190
|
selector
|
|
21173
21191
|
}));
|
|
21174
21192
|
}
|
|
@@ -21938,7 +21956,7 @@ function mergeClasses() {
|
|
|
21938
21956
|
if (!newClasses) {
|
|
21939
21957
|
return baseClasses;
|
|
21940
21958
|
}
|
|
21941
|
-
var nextClasses = _extends$
|
|
21959
|
+
var nextClasses = _extends$1({}, baseClasses);
|
|
21942
21960
|
{
|
|
21943
21961
|
if (typeof newClasses === "string") {
|
|
21944
21962
|
console.error(["Material-UI: The value `".concat(newClasses, "` ") + "provided to the classes prop of ".concat(getDisplayName(Component), " is incorrect."), "You might want to use the className prop instead."].join("\n"));
|
|
@@ -22010,7 +22028,7 @@ var injectFirstNode;
|
|
|
22010
22028
|
function StylesProvider(props) {
|
|
22011
22029
|
var children = props.children, _props$injectFirst = props.injectFirst, injectFirst = _props$injectFirst === void 0 ? false : _props$injectFirst, _props$disableGenerat = props.disableGeneration, disableGeneration = _props$disableGenerat === void 0 ? false : _props$disableGenerat, localOptions = _objectWithoutProperties(props, ["children", "injectFirst", "disableGeneration"]);
|
|
22012
22030
|
var outerOptions = React__default.useContext(StylesContext);
|
|
22013
|
-
var context = _extends$
|
|
22031
|
+
var context = _extends$1({}, outerOptions, {
|
|
22014
22032
|
disableGeneration
|
|
22015
22033
|
}, localOptions);
|
|
22016
22034
|
{
|
|
@@ -22115,7 +22133,7 @@ const noopTheme$1 = noopTheme;
|
|
|
22115
22133
|
function getStylesCreator(stylesOrCreator) {
|
|
22116
22134
|
var themingEnabled = typeof stylesOrCreator === "function";
|
|
22117
22135
|
{
|
|
22118
|
-
if (_typeof$
|
|
22136
|
+
if (_typeof$2(stylesOrCreator) !== "object" && !themingEnabled) {
|
|
22119
22137
|
console.error(["Material-UI: The `styles` argument provided is invalid.", "You need to provide a function generating the styles or a styles object."].join("\n"));
|
|
22120
22138
|
}
|
|
22121
22139
|
}
|
|
@@ -22136,7 +22154,7 @@ function getStylesCreator(stylesOrCreator) {
|
|
|
22136
22154
|
return styles8;
|
|
22137
22155
|
}
|
|
22138
22156
|
var overrides = theme.overrides[name];
|
|
22139
|
-
var stylesWithOverrides = _extends$
|
|
22157
|
+
var stylesWithOverrides = _extends$1({}, styles8);
|
|
22140
22158
|
Object.keys(overrides).forEach(function(key) {
|
|
22141
22159
|
{
|
|
22142
22160
|
if (!stylesWithOverrides[key]) {
|
|
@@ -22197,7 +22215,7 @@ function attach(_ref2, props) {
|
|
|
22197
22215
|
};
|
|
22198
22216
|
multiKeyStore$1.set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);
|
|
22199
22217
|
}
|
|
22200
|
-
var options = _extends$
|
|
22218
|
+
var options = _extends$1({}, stylesCreator.options, stylesOptions, {
|
|
22201
22219
|
theme,
|
|
22202
22220
|
flip: typeof stylesOptions.flip === "boolean" ? stylesOptions.flip : theme.direction === "rtl"
|
|
22203
22221
|
});
|
|
@@ -22210,7 +22228,7 @@ function attach(_ref2, props) {
|
|
|
22210
22228
|
}
|
|
22211
22229
|
var styles8 = stylesCreator.create(theme, name);
|
|
22212
22230
|
if (!staticSheet) {
|
|
22213
|
-
staticSheet = stylesOptions.jss.createStyleSheet(styles8, _extends$
|
|
22231
|
+
staticSheet = stylesOptions.jss.createStyleSheet(styles8, _extends$1({
|
|
22214
22232
|
link: false
|
|
22215
22233
|
}, options));
|
|
22216
22234
|
staticSheet.attach();
|
|
@@ -22225,7 +22243,7 @@ function attach(_ref2, props) {
|
|
|
22225
22243
|
sheetManager.dynamicStyles = getDynamicStyles(styles8);
|
|
22226
22244
|
}
|
|
22227
22245
|
if (sheetManager.dynamicStyles) {
|
|
22228
|
-
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$
|
|
22246
|
+
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$1({
|
|
22229
22247
|
link: true
|
|
22230
22248
|
}, options));
|
|
22231
22249
|
dynamicSheet.update(props);
|
|
@@ -22307,7 +22325,7 @@ function makeStyles$1(stylesOrCreator) {
|
|
|
22307
22325
|
var useStyles2 = function useStyles3() {
|
|
22308
22326
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
22309
22327
|
var theme = useTheme() || defaultTheme2;
|
|
22310
|
-
var stylesOptions = _extends$
|
|
22328
|
+
var stylesOptions = _extends$1({}, React__default.useContext(StylesContext), stylesOptions2);
|
|
22311
22329
|
var instance = React__default.useRef();
|
|
22312
22330
|
var shouldUpdate = React__default.useRef();
|
|
22313
22331
|
useSynchronousEffect(function() {
|
|
@@ -22462,7 +22480,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
22462
22480
|
}
|
|
22463
22481
|
}
|
|
22464
22482
|
}
|
|
22465
|
-
var useStyles2 = makeStyles$1(stylesOrCreator, _extends$
|
|
22483
|
+
var useStyles2 = makeStyles$1(stylesOrCreator, _extends$1({
|
|
22466
22484
|
defaultTheme: defaultTheme2,
|
|
22467
22485
|
Component,
|
|
22468
22486
|
name: name || Component.displayName,
|
|
@@ -22471,7 +22489,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
22471
22489
|
var WithStyles = /* @__PURE__ */ React__default.forwardRef(function WithStyles2(props, ref) {
|
|
22472
22490
|
props.classes;
|
|
22473
22491
|
var innerRef = props.innerRef, other = _objectWithoutProperties(props, ["classes", "innerRef"]);
|
|
22474
|
-
var classes = useStyles2(_extends$
|
|
22492
|
+
var classes = useStyles2(_extends$1({}, Component.defaultProps, props));
|
|
22475
22493
|
var theme;
|
|
22476
22494
|
var more = other;
|
|
22477
22495
|
if (typeof name === "string" || withTheme) {
|
|
@@ -22487,7 +22505,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
22487
22505
|
more.theme = theme;
|
|
22488
22506
|
}
|
|
22489
22507
|
}
|
|
22490
|
-
return /* @__PURE__ */ React__default.createElement(Component, _extends$
|
|
22508
|
+
return /* @__PURE__ */ React__default.createElement(Component, _extends$1({
|
|
22491
22509
|
ref: innerRef || ref,
|
|
22492
22510
|
classes
|
|
22493
22511
|
}, more));
|
|
@@ -22525,12 +22543,12 @@ var defaultTheme = createTheme();
|
|
|
22525
22543
|
const defaultTheme$1 = defaultTheme;
|
|
22526
22544
|
function makeStyles(stylesOrCreator) {
|
|
22527
22545
|
var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
22528
|
-
return makeStyles$1(stylesOrCreator, _extends$
|
|
22546
|
+
return makeStyles$1(stylesOrCreator, _extends$1({
|
|
22529
22547
|
defaultTheme: defaultTheme$1
|
|
22530
22548
|
}, options));
|
|
22531
22549
|
}
|
|
22532
22550
|
function withStyles2(stylesOrCreator, options) {
|
|
22533
|
-
return withStylesWithoutDefault(stylesOrCreator, _extends$
|
|
22551
|
+
return withStylesWithoutDefault(stylesOrCreator, _extends$1({
|
|
22534
22552
|
defaultTheme: defaultTheme$1
|
|
22535
22553
|
}, options));
|
|
22536
22554
|
}
|
|
@@ -22591,7 +22609,7 @@ var styles$7 = function styles(theme) {
|
|
|
22591
22609
|
};
|
|
22592
22610
|
var SvgIcon = /* @__PURE__ */ React.forwardRef(function SvgIcon2(props, ref) {
|
|
22593
22611
|
var children = props.children, classes = props.classes, className = props.className, _props$color = props.color, color = _props$color === void 0 ? "inherit" : _props$color, _props$component = props.component, Component = _props$component === void 0 ? "svg" : _props$component, _props$fontSize = props.fontSize, fontSize = _props$fontSize === void 0 ? "medium" : _props$fontSize, htmlColor = props.htmlColor, titleAccess = props.titleAccess, _props$viewBox = props.viewBox, viewBox = _props$viewBox === void 0 ? "0 0 24 24" : _props$viewBox, other = _objectWithoutProperties(props, ["children", "classes", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"]);
|
|
22594
|
-
return /* @__PURE__ */ React.createElement(Component, _extends$
|
|
22612
|
+
return /* @__PURE__ */ React.createElement(Component, _extends$1({
|
|
22595
22613
|
className: clsx(classes.root, className, color !== "inherit" && classes["color".concat(capitalize(color))], fontSize !== "default" && fontSize !== "medium" && classes["fontSize".concat(capitalize(fontSize))]),
|
|
22596
22614
|
focusable: "false",
|
|
22597
22615
|
viewBox,
|
|
@@ -22669,7 +22687,7 @@ const SvgIcon$1 = withStyles2(styles$7, {
|
|
|
22669
22687
|
})(SvgIcon);
|
|
22670
22688
|
function createSvgIcon(path, displayName) {
|
|
22671
22689
|
var Component = function Component2(props, ref) {
|
|
22672
|
-
return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$
|
|
22690
|
+
return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$1({
|
|
22673
22691
|
ref
|
|
22674
22692
|
}, props), path);
|
|
22675
22693
|
};
|
|
@@ -22994,7 +23012,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
|
22994
23012
|
}
|
|
22995
23013
|
if (this.mounted) {
|
|
22996
23014
|
this.setState(function(state) {
|
|
22997
|
-
var children = _extends$
|
|
23015
|
+
var children = _extends$1({}, state.children);
|
|
22998
23016
|
delete children[child2.key];
|
|
22999
23017
|
return {
|
|
23000
23018
|
children
|
|
@@ -23360,7 +23378,7 @@ var TouchRipple = /* @__PURE__ */ React.forwardRef(function TouchRipple2(props,
|
|
|
23360
23378
|
stop
|
|
23361
23379
|
};
|
|
23362
23380
|
}, [pulsate, start, stop]);
|
|
23363
|
-
return /* @__PURE__ */ React.createElement("span", _extends$
|
|
23381
|
+
return /* @__PURE__ */ React.createElement("span", _extends$1({
|
|
23364
23382
|
className: clsx(classes.root, className),
|
|
23365
23383
|
ref: container
|
|
23366
23384
|
}, other), /* @__PURE__ */ React.createElement(TransitionGroup$1, {
|
|
@@ -23579,7 +23597,7 @@ var ButtonBase = /* @__PURE__ */ React.forwardRef(function ButtonBase2(props, re
|
|
|
23579
23597
|
}
|
|
23580
23598
|
}, [enableTouchRipple]);
|
|
23581
23599
|
}
|
|
23582
|
-
return /* @__PURE__ */ React.createElement(ComponentProp, _extends$
|
|
23600
|
+
return /* @__PURE__ */ React.createElement(ComponentProp, _extends$1({
|
|
23583
23601
|
className: clsx(classes.root, className, focusVisible && [classes.focusVisible, focusVisibleClassName], disabled && classes.disabled),
|
|
23584
23602
|
onBlur: handleBlur,
|
|
23585
23603
|
onClick,
|
|
@@ -23597,7 +23615,7 @@ var ButtonBase = /* @__PURE__ */ React.forwardRef(function ButtonBase2(props, re
|
|
|
23597
23615
|
tabIndex: disabled ? -1 : tabIndex
|
|
23598
23616
|
}, buttonProps, other), children, enableTouchRipple ? (
|
|
23599
23617
|
/* TouchRipple is only needed client-side, x2 boost on the server. */
|
|
23600
|
-
/* @__PURE__ */ React.createElement(TouchRipple$1, _extends$
|
|
23618
|
+
/* @__PURE__ */ React.createElement(TouchRipple$1, _extends$1({
|
|
23601
23619
|
ref: rippleRef,
|
|
23602
23620
|
center: centerRipple
|
|
23603
23621
|
}, TouchRippleProps))
|
|
@@ -23829,7 +23847,7 @@ var styles$4 = function styles3(theme) {
|
|
|
23829
23847
|
};
|
|
23830
23848
|
var IconButton = /* @__PURE__ */ React.forwardRef(function IconButton2(props, ref) {
|
|
23831
23849
|
var _props$edge = props.edge, edge = _props$edge === void 0 ? false : _props$edge, children = props.children, classes = props.classes, className = props.className, _props$color = props.color, color = _props$color === void 0 ? "default" : _props$color, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$disableFocusRi = props.disableFocusRipple, disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi, _props$size = props.size, size2 = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties(props, ["edge", "children", "classes", "className", "color", "disabled", "disableFocusRipple", "size"]);
|
|
23832
|
-
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$
|
|
23850
|
+
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$1({
|
|
23833
23851
|
className: clsx(classes.root, className, color !== "default" && classes["color".concat(capitalize(color))], disabled && classes.disabled, size2 === "small" && classes["size".concat(capitalize(size2))], {
|
|
23834
23852
|
"start": classes.edgeStart,
|
|
23835
23853
|
"end": classes.edgeEnd
|
|
@@ -23962,7 +23980,7 @@ var SwitchBase = /* @__PURE__ */ React.forwardRef(function SwitchBase2(props, re
|
|
|
23962
23980
|
}
|
|
23963
23981
|
}
|
|
23964
23982
|
var hasLabelFor = type === "checkbox" || type === "radio";
|
|
23965
|
-
return /* @__PURE__ */ React.createElement(IconButton$1, _extends$
|
|
23983
|
+
return /* @__PURE__ */ React.createElement(IconButton$1, _extends$1({
|
|
23966
23984
|
component: "span",
|
|
23967
23985
|
className: clsx(classes.root, className, checked && classes.checked, disabled && classes.disabled),
|
|
23968
23986
|
disabled,
|
|
@@ -23971,7 +23989,7 @@ var SwitchBase = /* @__PURE__ */ React.forwardRef(function SwitchBase2(props, re
|
|
|
23971
23989
|
onFocus: handleFocus,
|
|
23972
23990
|
onBlur: handleBlur,
|
|
23973
23991
|
ref
|
|
23974
|
-
}, other), /* @__PURE__ */ React.createElement("input", _extends$
|
|
23992
|
+
}, other), /* @__PURE__ */ React.createElement("input", _extends$1({
|
|
23975
23993
|
autoFocus,
|
|
23976
23994
|
checked: checkedProp,
|
|
23977
23995
|
defaultChecked,
|
|
@@ -24140,7 +24158,7 @@ var Checkbox = /* @__PURE__ */ React.forwardRef(function Checkbox2(props, ref) {
|
|
|
24140
24158
|
var _props$checkedIcon = props.checkedIcon, checkedIcon = _props$checkedIcon === void 0 ? defaultCheckedIcon : _props$checkedIcon, classes = props.classes, _props$color = props.color, color = _props$color === void 0 ? "secondary" : _props$color, _props$icon = props.icon, iconProp = _props$icon === void 0 ? defaultIcon : _props$icon, _props$indeterminate = props.indeterminate, indeterminate = _props$indeterminate === void 0 ? false : _props$indeterminate, _props$indeterminateI = props.indeterminateIcon, indeterminateIconProp = _props$indeterminateI === void 0 ? defaultIndeterminateIcon : _props$indeterminateI, inputProps = props.inputProps, _props$size = props.size, size2 = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties(props, ["checkedIcon", "classes", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size"]);
|
|
24141
24159
|
var icon = indeterminate ? indeterminateIconProp : iconProp;
|
|
24142
24160
|
var indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
|
|
24143
|
-
return /* @__PURE__ */ React.createElement(SwitchBase$1, _extends$
|
|
24161
|
+
return /* @__PURE__ */ React.createElement(SwitchBase$1, _extends$1({
|
|
24144
24162
|
type: "checkbox",
|
|
24145
24163
|
classes: {
|
|
24146
24164
|
root: clsx(classes.root, classes["color".concat(capitalize(color))], indeterminate && classes.indeterminate),
|
|
@@ -24148,7 +24166,7 @@ var Checkbox = /* @__PURE__ */ React.forwardRef(function Checkbox2(props, ref) {
|
|
|
24148
24166
|
disabled: classes.disabled
|
|
24149
24167
|
},
|
|
24150
24168
|
color,
|
|
24151
|
-
inputProps: _extends$
|
|
24169
|
+
inputProps: _extends$1({
|
|
24152
24170
|
"data-indeterminate": indeterminate
|
|
24153
24171
|
}, inputProps),
|
|
24154
24172
|
icon: /* @__PURE__ */ React.cloneElement(icon, {
|
|
@@ -24255,7 +24273,7 @@ const Tablelvl2Context$1 = Tablelvl2Context;
|
|
|
24255
24273
|
var styles$1 = function styles5(theme) {
|
|
24256
24274
|
return {
|
|
24257
24275
|
/* Styles applied to the root element. */
|
|
24258
|
-
root: _extends$
|
|
24276
|
+
root: _extends$1({}, theme.typography.body2, {
|
|
24259
24277
|
display: "table-cell",
|
|
24260
24278
|
verticalAlign: "inherit",
|
|
24261
24279
|
// Workaround for a rendering bug with spanned columns in Chrome 62.0.
|
|
@@ -24367,7 +24385,7 @@ var TableCell = /* @__PURE__ */ React.forwardRef(function TableCell2(props, ref)
|
|
|
24367
24385
|
if (sortDirection) {
|
|
24368
24386
|
ariaSort = sortDirection === "asc" ? "ascending" : "descending";
|
|
24369
24387
|
}
|
|
24370
|
-
return /* @__PURE__ */ React.createElement(Component, _extends$
|
|
24388
|
+
return /* @__PURE__ */ React.createElement(Component, _extends$1({
|
|
24371
24389
|
ref,
|
|
24372
24390
|
className: clsx(classes.root, classes[variant], className, align !== "inherit" && classes["align".concat(capitalize(align))], padding !== "normal" && classes["padding".concat(capitalize(padding))], size2 !== "medium" && classes["size".concat(capitalize(size2))], variant === "head" && table && table.stickyHeader && classes.stickyHeader),
|
|
24373
24391
|
"aria-sort": ariaSort,
|
|
@@ -24464,7 +24482,7 @@ var defaultComponent = "tr";
|
|
|
24464
24482
|
var TableRow = /* @__PURE__ */ React.forwardRef(function TableRow2(props, ref) {
|
|
24465
24483
|
var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? defaultComponent : _props$component, _props$hover = props.hover, hover = _props$hover === void 0 ? false : _props$hover, _props$selected = props.selected, selected = _props$selected === void 0 ? false : _props$selected, other = _objectWithoutProperties(props, ["classes", "className", "component", "hover", "selected"]);
|
|
24466
24484
|
var tablelvl2 = React.useContext(Tablelvl2Context$1);
|
|
24467
|
-
return /* @__PURE__ */ React.createElement(Component, _extends$
|
|
24485
|
+
return /* @__PURE__ */ React.createElement(Component, _extends$1({
|
|
24468
24486
|
ref,
|
|
24469
24487
|
className: clsx(classes.root, className, tablelvl2 && {
|
|
24470
24488
|
"head": classes.head,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/feature-list",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"plur": "^5.1.0",
|
|
23
23
|
"react-virtualized": "^9.22.2",
|
|
24
24
|
"uuid": "^9.0.0",
|
|
25
|
-
"@vitessce/constants-internal": "3.0
|
|
26
|
-
"@vitessce/utils": "3.0
|
|
27
|
-
"@vitessce/vit-s": "3.0
|
|
25
|
+
"@vitessce/constants-internal": "3.1.0",
|
|
26
|
+
"@vitessce/utils": "3.1.0",
|
|
27
|
+
"@vitessce/vit-s": "3.1.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@testing-library/jest-dom": "^5.16.4",
|