@vitessce/description 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.
Files changed (2) hide show
  1. package/dist/index.js +96 -78
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -904,6 +904,10 @@ const ViewType = {
904
904
  FEATURE_VALUE_HISTOGRAM: "featureValueHistogram"
905
905
  };
906
906
  const CoordinationType = {
907
+ // Meta coordination scopes
908
+ META_COORDINATION_SCOPES: "metaCoordinationScopes",
909
+ META_COORDINATION_SCOPES_BY: "metaCoordinationScopesBy",
910
+ // Other coordination scopes
907
911
  DATASET: "dataset",
908
912
  // Entity types
909
913
  OBS_TYPE: "obsType",
@@ -2107,7 +2111,24 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
2107
2111
  }
2108
2112
  var propTypesExports = propTypes.exports;
2109
2113
  const PropTypes = /* @__PURE__ */ getDefaultExportFromCjs(propTypesExports);
2110
- function _defineProperty(obj, key, value) {
2114
+ function _toPrimitive(input, hint) {
2115
+ if (_typeof$2(input) !== "object" || input === null)
2116
+ return input;
2117
+ var prim = input[Symbol.toPrimitive];
2118
+ if (prim !== void 0) {
2119
+ var res = prim.call(input, hint || "default");
2120
+ if (_typeof$2(res) !== "object")
2121
+ return res;
2122
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2123
+ }
2124
+ return (hint === "string" ? String : Number)(input);
2125
+ }
2126
+ function _toPropertyKey(arg) {
2127
+ var key = _toPrimitive(arg, "string");
2128
+ return _typeof$2(key) === "symbol" ? key : String(key);
2129
+ }
2130
+ function _defineProperty$1(obj, key, value) {
2131
+ key = _toPropertyKey(key);
2111
2132
  if (key in obj) {
2112
2133
  Object.defineProperty(obj, key, {
2113
2134
  value,
@@ -2122,7 +2143,7 @@ function _defineProperty(obj, key, value) {
2122
2143
  }
2123
2144
  var specialProperty = "exact-prop: ​";
2124
2145
  function exactProp(propTypes2) {
2125
- return _extends$1({}, propTypes2, _defineProperty({}, specialProperty, function(props) {
2146
+ return _extends$1({}, propTypes2, _defineProperty$1({}, specialProperty, function(props) {
2126
2147
  var unsupportedProps = Object.keys(props).filter(function(prop) {
2127
2148
  return !propTypes2.hasOwnProperty(prop);
2128
2149
  });
@@ -2482,6 +2503,19 @@ function lighten(color, coefficient) {
2482
2503
  }
2483
2504
  return recomposeColor(color);
2484
2505
  }
2506
+ function _defineProperty(obj, key, value) {
2507
+ if (key in obj) {
2508
+ Object.defineProperty(obj, key, {
2509
+ value,
2510
+ enumerable: true,
2511
+ configurable: true,
2512
+ writable: true
2513
+ });
2514
+ } else {
2515
+ obj[key] = value;
2516
+ }
2517
+ return obj;
2518
+ }
2485
2519
  function _objectWithoutPropertiesLoose$1(source, excluded) {
2486
2520
  if (source == null)
2487
2521
  return {};
@@ -2514,6 +2548,20 @@ function _objectWithoutProperties(source, excluded) {
2514
2548
  }
2515
2549
  return target;
2516
2550
  }
2551
+ function _extends() {
2552
+ _extends = Object.assign ? Object.assign.bind() : function(target) {
2553
+ for (var i = 1; i < arguments.length; i++) {
2554
+ var source = arguments[i];
2555
+ for (var key in source) {
2556
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
2557
+ target[key] = source[key];
2558
+ }
2559
+ }
2560
+ }
2561
+ return target;
2562
+ };
2563
+ return _extends.apply(this, arguments);
2564
+ }
2517
2565
  var keys = ["xs", "sm", "md", "lg", "xl"];
2518
2566
  function createBreakpoints(breakpoints) {
2519
2567
  var _breakpoints$values = breakpoints.values, values = _breakpoints$values === void 0 ? {
@@ -2556,7 +2604,7 @@ function createBreakpoints(breakpoints) {
2556
2604
  }
2557
2605
  return values[key];
2558
2606
  }
2559
- return _extends$1({
2607
+ return _extends({
2560
2608
  keys,
2561
2609
  values,
2562
2610
  up,
@@ -2568,14 +2616,14 @@ function createBreakpoints(breakpoints) {
2568
2616
  }
2569
2617
  function createMixins(breakpoints, spacing, mixins) {
2570
2618
  var _toolbar;
2571
- return _extends$1({
2619
+ return _extends({
2572
2620
  gutters: function gutters() {
2573
2621
  var styles = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2574
2622
  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"));
2575
- return _extends$1({
2623
+ return _extends({
2576
2624
  paddingLeft: spacing(2),
2577
2625
  paddingRight: spacing(2)
2578
- }, styles, _defineProperty({}, breakpoints.up("sm"), _extends$1({
2626
+ }, styles, _defineProperty({}, breakpoints.up("sm"), _extends({
2579
2627
  paddingLeft: spacing(3),
2580
2628
  paddingRight: spacing(3)
2581
2629
  }, styles[breakpoints.up("sm")])));
@@ -2709,7 +2757,7 @@ function createPalette(palette) {
2709
2757
  var mainShade = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 500;
2710
2758
  var lightShade = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 300;
2711
2759
  var darkShade = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 700;
2712
- color = _extends$1({}, color);
2760
+ color = _extends({}, color);
2713
2761
  if (!color.main && color[mainShade]) {
2714
2762
  color.main = color[mainShade];
2715
2763
  }
@@ -2735,7 +2783,7 @@ function createPalette(palette) {
2735
2783
  console.error("Material-UI: The palette type `".concat(type, "` is not supported."));
2736
2784
  }
2737
2785
  }
2738
- var paletteOutput = deepmerge(_extends$1({
2786
+ var paletteOutput = deepmerge(_extends({
2739
2787
  // A collection of common colors.
2740
2788
  common: common$1,
2741
2789
  // The palette type, can be light or dark.
@@ -2800,7 +2848,7 @@ function createTypography(palette, typography) {
2800
2848
  return "".concat(size / htmlFontSize * coef, "rem");
2801
2849
  };
2802
2850
  var buildVariant = function buildVariant2(fontWeight, size, lineHeight, letterSpacing, casing) {
2803
- return _extends$1({
2851
+ return _extends({
2804
2852
  fontFamily,
2805
2853
  fontWeight,
2806
2854
  fontSize: pxToRem(size),
@@ -2825,7 +2873,7 @@ function createTypography(palette, typography) {
2825
2873
  caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),
2826
2874
  overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)
2827
2875
  };
2828
- return deepmerge(_extends$1({
2876
+ return deepmerge(_extends({
2829
2877
  htmlFontSize,
2830
2878
  pxToRem,
2831
2879
  round: roundWithDeprecationWarning,
@@ -2855,6 +2903,14 @@ var shape = {
2855
2903
  const shape$1 = shape;
2856
2904
  var responsivePropType = PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]);
2857
2905
  const responsivePropType$1 = responsivePropType;
2906
+ function _typeof$1(obj) {
2907
+ "@babel/helpers - typeof";
2908
+ return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
2909
+ return typeof obj2;
2910
+ } : function(obj2) {
2911
+ return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
2912
+ }, _typeof$1(obj);
2913
+ }
2858
2914
  var spacingKeys = ["m", "mt", "mr", "mb", "ml", "mx", "my", "p", "pt", "pr", "pb", "pl", "px", "py", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY"];
2859
2915
  function createUnarySpacing(theme) {
2860
2916
  var themeSpacing = theme.spacing || 8;
@@ -3124,50 +3180,12 @@ function warning(condition, message) {
3124
3180
  }
3125
3181
  }
3126
3182
  }
3127
- function _extends() {
3128
- _extends = Object.assign ? Object.assign.bind() : function(target) {
3129
- for (var i = 1; i < arguments.length; i++) {
3130
- var source = arguments[i];
3131
- for (var key in source) {
3132
- if (Object.prototype.hasOwnProperty.call(source, key)) {
3133
- target[key] = source[key];
3134
- }
3135
- }
3136
- }
3137
- return target;
3138
- };
3139
- return _extends.apply(this, arguments);
3140
- }
3141
- var _typeof$1 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
3183
+ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
3142
3184
  return typeof obj;
3143
3185
  } : function(obj) {
3144
3186
  return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
3145
3187
  };
3146
- var isBrowser = (typeof window === "undefined" ? "undefined" : _typeof$1(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$1(document)) === "object" && document.nodeType === 9;
3147
- function _typeof(obj) {
3148
- "@babel/helpers - typeof";
3149
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
3150
- return typeof obj2;
3151
- } : function(obj2) {
3152
- return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
3153
- }, _typeof(obj);
3154
- }
3155
- function _toPrimitive(input, hint) {
3156
- if (_typeof(input) !== "object" || input === null)
3157
- return input;
3158
- var prim = input[Symbol.toPrimitive];
3159
- if (prim !== void 0) {
3160
- var res = prim.call(input, hint || "default");
3161
- if (_typeof(res) !== "object")
3162
- return res;
3163
- throw new TypeError("@@toPrimitive must return a primitive value.");
3164
- }
3165
- return (hint === "string" ? String : Number)(input);
3166
- }
3167
- function _toPropertyKey(arg) {
3168
- var key = _toPrimitive(arg, "string");
3169
- return _typeof(key) === "symbol" ? key : String(key);
3170
- }
3188
+ var isBrowser = (typeof window === "undefined" ? "undefined" : _typeof(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof(document)) === "object" && document.nodeType === 9;
3171
3189
  function _defineProperties(target, props) {
3172
3190
  for (var i = 0; i < props.length; i++) {
3173
3191
  var descriptor = props[i];
@@ -3445,7 +3463,7 @@ var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
3445
3463
  _proto2.toString = function toString(options) {
3446
3464
  var sheet = this.options.sheet;
3447
3465
  var link = sheet ? sheet.options.link : false;
3448
- var opts = link ? _extends({}, options, {
3466
+ var opts = link ? _extends$1({}, options, {
3449
3467
  allowEmpty: true
3450
3468
  }) : options;
3451
3469
  return toCss(this.selectorText, this.style, opts);
@@ -3492,7 +3510,7 @@ var ConditionalRule = /* @__PURE__ */ function() {
3492
3510
  this.at = atMatch ? atMatch[1] : "unknown";
3493
3511
  this.query = options.name || "@" + this.at;
3494
3512
  this.options = options;
3495
- this.rules = new RuleList(_extends({}, options, {
3513
+ this.rules = new RuleList(_extends$1({}, options, {
3496
3514
  parent: this
3497
3515
  }));
3498
3516
  for (var name in styles) {
@@ -3564,11 +3582,11 @@ var KeyframesRule = /* @__PURE__ */ function() {
3564
3582
  this.options = options;
3565
3583
  var scoped = options.scoped, sheet = options.sheet, generateId = options.generateId;
3566
3584
  this.id = scoped === false ? this.name : escape(generateId(this, sheet));
3567
- this.rules = new RuleList(_extends({}, options, {
3585
+ this.rules = new RuleList(_extends$1({}, options, {
3568
3586
  parent: this
3569
3587
  }));
3570
3588
  for (var name in frames) {
3571
- this.rules.add(name, frames[name], _extends({}, options, {
3589
+ this.rules.add(name, frames[name], _extends$1({}, options, {
3572
3590
  parent: this
3573
3591
  }));
3574
3592
  }
@@ -3653,7 +3671,7 @@ var KeyframeRule = /* @__PURE__ */ function(_BaseStyleRule) {
3653
3671
  _proto.toString = function toString(options) {
3654
3672
  var sheet = this.options.sheet;
3655
3673
  var link = sheet ? sheet.options.link : false;
3656
- var opts = link ? _extends({}, options, {
3674
+ var opts = link ? _extends$1({}, options, {
3657
3675
  allowEmpty: true
3658
3676
  }) : options;
3659
3677
  return toCss(this.key, this.style, opts);
@@ -3777,7 +3795,7 @@ var RuleList = /* @__PURE__ */ function() {
3777
3795
  var _proto = RuleList2.prototype;
3778
3796
  _proto.add = function add(name, decl, ruleOptions) {
3779
3797
  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;
3780
- var options = _extends({
3798
+ var options = _extends$1({
3781
3799
  classes: this.classes,
3782
3800
  parent,
3783
3801
  sheet,
@@ -3813,7 +3831,7 @@ var RuleList = /* @__PURE__ */ function() {
3813
3831
  }
3814
3832
  var options = ruleOptions;
3815
3833
  if (oldIndex !== -1)
3816
- options = _extends({}, ruleOptions, {
3834
+ options = _extends$1({}, ruleOptions, {
3817
3835
  index: oldIndex
3818
3836
  });
3819
3837
  return this.add(name, decl, options);
@@ -3926,7 +3944,7 @@ var StyleSheet = /* @__PURE__ */ function() {
3926
3944
  this.deployed = false;
3927
3945
  this.classes = {};
3928
3946
  this.keyframes = {};
3929
- this.options = _extends({}, options, {
3947
+ this.options = _extends$1({}, options, {
3930
3948
  sheet: this,
3931
3949
  parent: this,
3932
3950
  classes: this.classes,
@@ -4545,7 +4563,7 @@ var Jss = /* @__PURE__ */ function() {
4545
4563
  this.options.createGenerateId = options.createGenerateId;
4546
4564
  }
4547
4565
  if (options.id) {
4548
- this.options.id = _extends({}, this.options.id, options.id);
4566
+ this.options.id = _extends$1({}, this.options.id, options.id);
4549
4567
  }
4550
4568
  if (options.createGenerateId || options.id) {
4551
4569
  this.generateId = this.options.createGenerateId(this.options.id);
@@ -4567,7 +4585,7 @@ var Jss = /* @__PURE__ */ function() {
4567
4585
  if (typeof index !== "number") {
4568
4586
  index = sheets.index === 0 ? 0 : sheets.index + 1;
4569
4587
  }
4570
- var sheet = new StyleSheet(styles, _extends({}, options, {
4588
+ var sheet = new StyleSheet(styles, _extends$1({}, options, {
4571
4589
  jss: this,
4572
4590
  generateId: options.generateId || this.generateId,
4573
4591
  insertionPoint: this.options.insertionPoint,
@@ -4592,7 +4610,7 @@ var Jss = /* @__PURE__ */ function() {
4592
4610
  if (typeof name === "object") {
4593
4611
  return this.createRule(void 0, name, style);
4594
4612
  }
4595
- var ruleOptions = _extends({}, options, {
4613
+ var ruleOptions = _extends$1({}, options, {
4596
4614
  name,
4597
4615
  jss: this,
4598
4616
  Renderer: this.options.Renderer
@@ -4703,7 +4721,7 @@ var GlobalContainerRule = /* @__PURE__ */ function() {
4703
4721
  this.isProcessed = false;
4704
4722
  this.key = key;
4705
4723
  this.options = options;
4706
- this.rules = new RuleList(_extends$1({}, options, {
4724
+ this.rules = new RuleList(_extends({}, options, {
4707
4725
  parent: this
4708
4726
  }));
4709
4727
  for (var selector in styles) {
@@ -4743,7 +4761,7 @@ var GlobalPrefixedRule = /* @__PURE__ */ function() {
4743
4761
  this.key = key;
4744
4762
  this.options = options;
4745
4763
  var selector = key.substr(atPrefix.length);
4746
- this.rule = options.jss.createRule(selector, style, _extends$1({}, options, {
4764
+ this.rule = options.jss.createRule(selector, style, _extends({}, options, {
4747
4765
  parent: this
4748
4766
  }));
4749
4767
  }
@@ -4770,7 +4788,7 @@ function handleNestedGlobalContainerRule(rule, sheet) {
4770
4788
  if (!rules)
4771
4789
  return;
4772
4790
  for (var name in rules) {
4773
- sheet.addRule(name, rules[name], _extends$1({}, options, {
4791
+ sheet.addRule(name, rules[name], _extends({}, options, {
4774
4792
  selector: addScope(name, rule.selector)
4775
4793
  }));
4776
4794
  }
@@ -4782,7 +4800,7 @@ function handlePrefixedGlobalRule(rule, sheet) {
4782
4800
  if (prop[0] !== "@" || prop.substr(0, at.length) !== at)
4783
4801
  continue;
4784
4802
  var selector = addScope(prop.substr(at.length), rule.selector);
4785
- sheet.addRule(selector, style[prop], _extends$1({}, options, {
4803
+ sheet.addRule(selector, style[prop], _extends({}, options, {
4786
4804
  selector
4787
4805
  }));
4788
4806
  delete style[prop];
@@ -4851,12 +4869,12 @@ function jssNested() {
4851
4869
  }
4852
4870
  function getOptions(rule, container, prevOptions) {
4853
4871
  if (prevOptions)
4854
- return _extends({}, prevOptions, {
4872
+ return _extends$1({}, prevOptions, {
4855
4873
  index: prevOptions.index + 1
4856
4874
  });
4857
4875
  var nestingLevel = rule.options.nestingLevel;
4858
4876
  nestingLevel = nestingLevel === void 0 ? 1 : nestingLevel + 1;
4859
- var options = _extends({}, rule.options, {
4877
+ var options = _extends$1({}, rule.options, {
4860
4878
  nestingLevel,
4861
4879
  index: container.indexOf(rule) + 1
4862
4880
  // We don't need the parent name to be set options for chlid.
@@ -4884,11 +4902,11 @@ function jssNested() {
4884
4902
  selector = selector.replace(refRegExp, replaceRef3);
4885
4903
  var name = styleRule.key + "-" + prop;
4886
4904
  if ("replaceRule" in container) {
4887
- container.replaceRule(name, style[prop], _extends({}, options, {
4905
+ container.replaceRule(name, style[prop], _extends$1({}, options, {
4888
4906
  selector
4889
4907
  }));
4890
4908
  } else {
4891
- container.addRule(name, style[prop], _extends({}, options, {
4909
+ container.addRule(name, style[prop], _extends$1({}, options, {
4892
4910
  selector
4893
4911
  }));
4894
4912
  }
@@ -5658,7 +5676,7 @@ function mergeClasses() {
5658
5676
  if (!newClasses) {
5659
5677
  return baseClasses;
5660
5678
  }
5661
- var nextClasses = _extends$1({}, baseClasses);
5679
+ var nextClasses = _extends({}, baseClasses);
5662
5680
  {
5663
5681
  if (typeof newClasses === "string") {
5664
5682
  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"));
@@ -5730,7 +5748,7 @@ var injectFirstNode;
5730
5748
  function StylesProvider(props) {
5731
5749
  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"]);
5732
5750
  var outerOptions = React.useContext(StylesContext);
5733
- var context = _extends$1({}, outerOptions, {
5751
+ var context = _extends({}, outerOptions, {
5734
5752
  disableGeneration
5735
5753
  }, localOptions);
5736
5754
  {
@@ -5835,7 +5853,7 @@ const noopTheme$1 = noopTheme;
5835
5853
  function getStylesCreator(stylesOrCreator) {
5836
5854
  var themingEnabled = typeof stylesOrCreator === "function";
5837
5855
  {
5838
- if (_typeof$2(stylesOrCreator) !== "object" && !themingEnabled) {
5856
+ if (_typeof$1(stylesOrCreator) !== "object" && !themingEnabled) {
5839
5857
  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"));
5840
5858
  }
5841
5859
  }
@@ -5856,7 +5874,7 @@ function getStylesCreator(stylesOrCreator) {
5856
5874
  return styles;
5857
5875
  }
5858
5876
  var overrides = theme.overrides[name];
5859
- var stylesWithOverrides = _extends$1({}, styles);
5877
+ var stylesWithOverrides = _extends({}, styles);
5860
5878
  Object.keys(overrides).forEach(function(key) {
5861
5879
  {
5862
5880
  if (!stylesWithOverrides[key]) {
@@ -5917,7 +5935,7 @@ function attach(_ref2, props) {
5917
5935
  };
5918
5936
  multiKeyStore$1.set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);
5919
5937
  }
5920
- var options = _extends$1({}, stylesCreator.options, stylesOptions, {
5938
+ var options = _extends({}, stylesCreator.options, stylesOptions, {
5921
5939
  theme,
5922
5940
  flip: typeof stylesOptions.flip === "boolean" ? stylesOptions.flip : theme.direction === "rtl"
5923
5941
  });
@@ -5930,7 +5948,7 @@ function attach(_ref2, props) {
5930
5948
  }
5931
5949
  var styles = stylesCreator.create(theme, name);
5932
5950
  if (!staticSheet) {
5933
- staticSheet = stylesOptions.jss.createStyleSheet(styles, _extends$1({
5951
+ staticSheet = stylesOptions.jss.createStyleSheet(styles, _extends({
5934
5952
  link: false
5935
5953
  }, options));
5936
5954
  staticSheet.attach();
@@ -5945,7 +5963,7 @@ function attach(_ref2, props) {
5945
5963
  sheetManager.dynamicStyles = getDynamicStyles(styles);
5946
5964
  }
5947
5965
  if (sheetManager.dynamicStyles) {
5948
- var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$1({
5966
+ var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends({
5949
5967
  link: true
5950
5968
  }, options));
5951
5969
  dynamicSheet.update(props);
@@ -6027,7 +6045,7 @@ function makeStyles$1(stylesOrCreator) {
6027
6045
  var useStyles2 = function useStyles3() {
6028
6046
  var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6029
6047
  var theme = useTheme() || defaultTheme2;
6030
- var stylesOptions = _extends$1({}, React.useContext(StylesContext), stylesOptions2);
6048
+ var stylesOptions = _extends({}, React.useContext(StylesContext), stylesOptions2);
6031
6049
  var instance = React.useRef();
6032
6050
  var shouldUpdate = React.useRef();
6033
6051
  useSynchronousEffect(function() {
@@ -6063,7 +6081,7 @@ var defaultTheme = createTheme();
6063
6081
  const defaultTheme$1 = defaultTheme;
6064
6082
  function makeStyles(stylesOrCreator) {
6065
6083
  var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6066
- return makeStyles$1(stylesOrCreator, _extends$1({
6084
+ return makeStyles$1(stylesOrCreator, _extends({
6067
6085
  defaultTheme: defaultTheme$1
6068
6086
  }, options));
6069
6087
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/description",
3
- "version": "3.0.1",
3
+ "version": "3.1.0",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -17,8 +17,8 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "@material-ui/core": "~4.12.3",
20
- "@vitessce/constants-internal": "3.0.1",
21
- "@vitessce/vit-s": "3.0.1"
20
+ "@vitessce/constants-internal": "3.1.0",
21
+ "@vitessce/vit-s": "3.1.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@testing-library/jest-dom": "^5.16.4",