@vitessce/vega 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 +92 -78
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -2689,7 +2689,24 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
2689
2689
  }
2690
2690
  var propTypesExports = propTypes.exports;
2691
2691
  const _pt = /* @__PURE__ */ getDefaultExportFromCjs(propTypesExports);
2692
- function _defineProperty$3(obj, key, value2) {
2692
+ function _toPrimitive(input, hint) {
2693
+ if (_typeof$2(input) !== "object" || input === null)
2694
+ return input;
2695
+ var prim = input[Symbol.toPrimitive];
2696
+ if (prim !== void 0) {
2697
+ var res = prim.call(input, hint || "default");
2698
+ if (_typeof$2(res) !== "object")
2699
+ return res;
2700
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2701
+ }
2702
+ return (hint === "string" ? String : Number)(input);
2703
+ }
2704
+ function _toPropertyKey(arg) {
2705
+ var key = _toPrimitive(arg, "string");
2706
+ return _typeof$2(key) === "symbol" ? key : String(key);
2707
+ }
2708
+ function _defineProperty$4(obj, key, value2) {
2709
+ key = _toPropertyKey(key);
2693
2710
  if (key in obj) {
2694
2711
  Object.defineProperty(obj, key, {
2695
2712
  value: value2,
@@ -2704,7 +2721,7 @@ function _defineProperty$3(obj, key, value2) {
2704
2721
  }
2705
2722
  var specialProperty = "exact-prop: ​";
2706
2723
  function exactProp(propTypes2) {
2707
- return _extends$2({}, propTypes2, _defineProperty$3({}, specialProperty, function(props) {
2724
+ return _extends$2({}, propTypes2, _defineProperty$4({}, specialProperty, function(props) {
2708
2725
  var unsupportedProps = Object.keys(props).filter(function(prop) {
2709
2726
  return !propTypes2.hasOwnProperty(prop);
2710
2727
  });
@@ -3064,6 +3081,19 @@ function lighten(color2, coefficient) {
3064
3081
  }
3065
3082
  return recomposeColor(color2);
3066
3083
  }
3084
+ function _defineProperty$3(obj, key, value2) {
3085
+ if (key in obj) {
3086
+ Object.defineProperty(obj, key, {
3087
+ value: value2,
3088
+ enumerable: true,
3089
+ configurable: true,
3090
+ writable: true
3091
+ });
3092
+ } else {
3093
+ obj[key] = value2;
3094
+ }
3095
+ return obj;
3096
+ }
3067
3097
  function _objectWithoutPropertiesLoose$1(source2, excluded) {
3068
3098
  if (source2 == null)
3069
3099
  return {};
@@ -3096,6 +3126,20 @@ function _objectWithoutProperties(source2, excluded) {
3096
3126
  }
3097
3127
  return target2;
3098
3128
  }
3129
+ function _extends$1() {
3130
+ _extends$1 = Object.assign ? Object.assign.bind() : function(target2) {
3131
+ for (var i = 1; i < arguments.length; i++) {
3132
+ var source2 = arguments[i];
3133
+ for (var key in source2) {
3134
+ if (Object.prototype.hasOwnProperty.call(source2, key)) {
3135
+ target2[key] = source2[key];
3136
+ }
3137
+ }
3138
+ }
3139
+ return target2;
3140
+ };
3141
+ return _extends$1.apply(this, arguments);
3142
+ }
3099
3143
  var keys$4 = ["xs", "sm", "md", "lg", "xl"];
3100
3144
  function createBreakpoints(breakpoints) {
3101
3145
  var _breakpoints$values = breakpoints.values, values2 = _breakpoints$values === void 0 ? {
@@ -3138,7 +3182,7 @@ function createBreakpoints(breakpoints) {
3138
3182
  }
3139
3183
  return values2[key];
3140
3184
  }
3141
- return _extends$2({
3185
+ return _extends$1({
3142
3186
  keys: keys$4,
3143
3187
  values: values2,
3144
3188
  up,
@@ -3150,14 +3194,14 @@ function createBreakpoints(breakpoints) {
3150
3194
  }
3151
3195
  function createMixins(breakpoints, spacing, mixins) {
3152
3196
  var _toolbar;
3153
- return _extends$2({
3197
+ return _extends$1({
3154
3198
  gutters: function gutters() {
3155
3199
  var styles2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3156
3200
  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"));
3157
- return _extends$2({
3201
+ return _extends$1({
3158
3202
  paddingLeft: spacing(2),
3159
3203
  paddingRight: spacing(2)
3160
- }, styles2, _defineProperty$3({}, breakpoints.up("sm"), _extends$2({
3204
+ }, styles2, _defineProperty$3({}, breakpoints.up("sm"), _extends$1({
3161
3205
  paddingLeft: spacing(3),
3162
3206
  paddingRight: spacing(3)
3163
3207
  }, styles2[breakpoints.up("sm")])));
@@ -3291,7 +3335,7 @@ function createPalette(palette) {
3291
3335
  var mainShade = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 500;
3292
3336
  var lightShade = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 300;
3293
3337
  var darkShade = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 700;
3294
- color2 = _extends$2({}, color2);
3338
+ color2 = _extends$1({}, color2);
3295
3339
  if (!color2.main && color2[mainShade]) {
3296
3340
  color2.main = color2[mainShade];
3297
3341
  }
@@ -3317,7 +3361,7 @@ function createPalette(palette) {
3317
3361
  console.error("Material-UI: The palette type `".concat(type2, "` is not supported."));
3318
3362
  }
3319
3363
  }
3320
- var paletteOutput = deepmerge(_extends$2({
3364
+ var paletteOutput = deepmerge(_extends$1({
3321
3365
  // A collection of common colors.
3322
3366
  common: common$1,
3323
3367
  // The palette type, can be light or dark.
@@ -3382,7 +3426,7 @@ function createTypography(palette, typography) {
3382
3426
  return "".concat(size / htmlFontSize * coef, "rem");
3383
3427
  };
3384
3428
  var buildVariant = function buildVariant2(fontWeight, size, lineHeight2, letterSpacing, casing) {
3385
- return _extends$2({
3429
+ return _extends$1({
3386
3430
  fontFamily: fontFamily2,
3387
3431
  fontWeight,
3388
3432
  fontSize: pxToRem(size),
@@ -3407,7 +3451,7 @@ function createTypography(palette, typography) {
3407
3451
  caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),
3408
3452
  overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)
3409
3453
  };
3410
- return deepmerge(_extends$2({
3454
+ return deepmerge(_extends$1({
3411
3455
  htmlFontSize,
3412
3456
  pxToRem,
3413
3457
  round: roundWithDeprecationWarning,
@@ -3437,6 +3481,14 @@ var shape$2 = {
3437
3481
  const shape$3 = shape$2;
3438
3482
  var responsivePropType = _pt.oneOfType([_pt.number, _pt.string, _pt.object, _pt.array]);
3439
3483
  const responsivePropType$1 = responsivePropType;
3484
+ function _typeof$1(obj) {
3485
+ "@babel/helpers - typeof";
3486
+ return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
3487
+ return typeof obj2;
3488
+ } : function(obj2) {
3489
+ return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
3490
+ }, _typeof$1(obj);
3491
+ }
3440
3492
  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"];
3441
3493
  function createUnarySpacing(theme) {
3442
3494
  var themeSpacing = theme.spacing || 8;
@@ -3706,50 +3758,12 @@ function warning(condition, message) {
3706
3758
  }
3707
3759
  }
3708
3760
  }
3709
- function _extends$1() {
3710
- _extends$1 = Object.assign ? Object.assign.bind() : function(target2) {
3711
- for (var i = 1; i < arguments.length; i++) {
3712
- var source2 = arguments[i];
3713
- for (var key in source2) {
3714
- if (Object.prototype.hasOwnProperty.call(source2, key)) {
3715
- target2[key] = source2[key];
3716
- }
3717
- }
3718
- }
3719
- return target2;
3720
- };
3721
- return _extends$1.apply(this, arguments);
3722
- }
3723
- var _typeof$1 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
3761
+ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
3724
3762
  return typeof obj;
3725
3763
  } : function(obj) {
3726
3764
  return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
3727
3765
  };
3728
- var isBrowser = (typeof window === "undefined" ? "undefined" : _typeof$1(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$1(document)) === "object" && document.nodeType === 9;
3729
- function _typeof(obj) {
3730
- "@babel/helpers - typeof";
3731
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
3732
- return typeof obj2;
3733
- } : function(obj2) {
3734
- return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
3735
- }, _typeof(obj);
3736
- }
3737
- function _toPrimitive(input, hint) {
3738
- if (_typeof(input) !== "object" || input === null)
3739
- return input;
3740
- var prim = input[Symbol.toPrimitive];
3741
- if (prim !== void 0) {
3742
- var res = prim.call(input, hint || "default");
3743
- if (_typeof(res) !== "object")
3744
- return res;
3745
- throw new TypeError("@@toPrimitive must return a primitive value.");
3746
- }
3747
- return (hint === "string" ? String : Number)(input);
3748
- }
3749
- function _toPropertyKey(arg) {
3750
- var key = _toPrimitive(arg, "string");
3751
- return _typeof(key) === "symbol" ? key : String(key);
3752
- }
3766
+ var isBrowser = (typeof window === "undefined" ? "undefined" : _typeof(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof(document)) === "object" && document.nodeType === 9;
3753
3767
  function _defineProperties(target2, props) {
3754
3768
  for (var i = 0; i < props.length; i++) {
3755
3769
  var descriptor = props[i];
@@ -4027,7 +4041,7 @@ var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
4027
4041
  _proto2.toString = function toString2(options) {
4028
4042
  var sheet = this.options.sheet;
4029
4043
  var link2 = sheet ? sheet.options.link : false;
4030
- var opts2 = link2 ? _extends$1({}, options, {
4044
+ var opts2 = link2 ? _extends$2({}, options, {
4031
4045
  allowEmpty: true
4032
4046
  }) : options;
4033
4047
  return toCss(this.selectorText, this.style, opts2);
@@ -4074,7 +4088,7 @@ var ConditionalRule = /* @__PURE__ */ function() {
4074
4088
  this.at = atMatch ? atMatch[1] : "unknown";
4075
4089
  this.query = options.name || "@" + this.at;
4076
4090
  this.options = options;
4077
- this.rules = new RuleList(_extends$1({}, options, {
4091
+ this.rules = new RuleList(_extends$2({}, options, {
4078
4092
  parent: this
4079
4093
  }));
4080
4094
  for (var name2 in styles2) {
@@ -4146,11 +4160,11 @@ var KeyframesRule = /* @__PURE__ */ function() {
4146
4160
  this.options = options;
4147
4161
  var scoped = options.scoped, sheet = options.sheet, generateId = options.generateId;
4148
4162
  this.id = scoped === false ? this.name : escape$1(generateId(this, sheet));
4149
- this.rules = new RuleList(_extends$1({}, options, {
4163
+ this.rules = new RuleList(_extends$2({}, options, {
4150
4164
  parent: this
4151
4165
  }));
4152
4166
  for (var name2 in frames) {
4153
- this.rules.add(name2, frames[name2], _extends$1({}, options, {
4167
+ this.rules.add(name2, frames[name2], _extends$2({}, options, {
4154
4168
  parent: this
4155
4169
  }));
4156
4170
  }
@@ -4235,7 +4249,7 @@ var KeyframeRule = /* @__PURE__ */ function(_BaseStyleRule) {
4235
4249
  _proto.toString = function toString2(options) {
4236
4250
  var sheet = this.options.sheet;
4237
4251
  var link2 = sheet ? sheet.options.link : false;
4238
- var opts2 = link2 ? _extends$1({}, options, {
4252
+ var opts2 = link2 ? _extends$2({}, options, {
4239
4253
  allowEmpty: true
4240
4254
  }) : options;
4241
4255
  return toCss(this.key, this.style, opts2);
@@ -4359,7 +4373,7 @@ var RuleList = /* @__PURE__ */ function() {
4359
4373
  var _proto = RuleList2.prototype;
4360
4374
  _proto.add = function add2(name2, decl, ruleOptions) {
4361
4375
  var _this$options = this.options, parent = _this$options.parent, sheet = _this$options.sheet, jss2 = _this$options.jss, Renderer2 = _this$options.Renderer, generateId = _this$options.generateId, scoped = _this$options.scoped;
4362
- var options = _extends$1({
4376
+ var options = _extends$2({
4363
4377
  classes: this.classes,
4364
4378
  parent,
4365
4379
  sheet,
@@ -4395,7 +4409,7 @@ var RuleList = /* @__PURE__ */ function() {
4395
4409
  }
4396
4410
  var options = ruleOptions;
4397
4411
  if (oldIndex !== -1)
4398
- options = _extends$1({}, ruleOptions, {
4412
+ options = _extends$2({}, ruleOptions, {
4399
4413
  index: oldIndex
4400
4414
  });
4401
4415
  return this.add(name2, decl, options);
@@ -4508,7 +4522,7 @@ var StyleSheet = /* @__PURE__ */ function() {
4508
4522
  this.deployed = false;
4509
4523
  this.classes = {};
4510
4524
  this.keyframes = {};
4511
- this.options = _extends$1({}, options, {
4525
+ this.options = _extends$2({}, options, {
4512
4526
  sheet: this,
4513
4527
  parent: this,
4514
4528
  classes: this.classes,
@@ -5127,7 +5141,7 @@ var Jss = /* @__PURE__ */ function() {
5127
5141
  this.options.createGenerateId = options.createGenerateId;
5128
5142
  }
5129
5143
  if (options.id) {
5130
- this.options.id = _extends$1({}, this.options.id, options.id);
5144
+ this.options.id = _extends$2({}, this.options.id, options.id);
5131
5145
  }
5132
5146
  if (options.createGenerateId || options.id) {
5133
5147
  this.generateId = this.options.createGenerateId(this.options.id);
@@ -5149,7 +5163,7 @@ var Jss = /* @__PURE__ */ function() {
5149
5163
  if (typeof index2 !== "number") {
5150
5164
  index2 = sheets.index === 0 ? 0 : sheets.index + 1;
5151
5165
  }
5152
- var sheet = new StyleSheet(styles2, _extends$1({}, options, {
5166
+ var sheet = new StyleSheet(styles2, _extends$2({}, options, {
5153
5167
  jss: this,
5154
5168
  generateId: options.generateId || this.generateId,
5155
5169
  insertionPoint: this.options.insertionPoint,
@@ -5174,7 +5188,7 @@ var Jss = /* @__PURE__ */ function() {
5174
5188
  if (typeof name2 === "object") {
5175
5189
  return this.createRule(void 0, name2, style2);
5176
5190
  }
5177
- var ruleOptions = _extends$1({}, options, {
5191
+ var ruleOptions = _extends$2({}, options, {
5178
5192
  name: name2,
5179
5193
  jss: this,
5180
5194
  Renderer: this.options.Renderer
@@ -5285,7 +5299,7 @@ var GlobalContainerRule = /* @__PURE__ */ function() {
5285
5299
  this.isProcessed = false;
5286
5300
  this.key = key;
5287
5301
  this.options = options;
5288
- this.rules = new RuleList(_extends$2({}, options, {
5302
+ this.rules = new RuleList(_extends$1({}, options, {
5289
5303
  parent: this
5290
5304
  }));
5291
5305
  for (var selector in styles2) {
@@ -5325,7 +5339,7 @@ var GlobalPrefixedRule = /* @__PURE__ */ function() {
5325
5339
  this.key = key;
5326
5340
  this.options = options;
5327
5341
  var selector = key.substr(atPrefix.length);
5328
- this.rule = options.jss.createRule(selector, style2, _extends$2({}, options, {
5342
+ this.rule = options.jss.createRule(selector, style2, _extends$1({}, options, {
5329
5343
  parent: this
5330
5344
  }));
5331
5345
  }
@@ -5352,7 +5366,7 @@ function handleNestedGlobalContainerRule(rule2, sheet) {
5352
5366
  if (!rules)
5353
5367
  return;
5354
5368
  for (var name2 in rules) {
5355
- sheet.addRule(name2, rules[name2], _extends$2({}, options, {
5369
+ sheet.addRule(name2, rules[name2], _extends$1({}, options, {
5356
5370
  selector: addScope(name2, rule2.selector)
5357
5371
  }));
5358
5372
  }
@@ -5364,7 +5378,7 @@ function handlePrefixedGlobalRule(rule2, sheet) {
5364
5378
  if (prop[0] !== "@" || prop.substr(0, at.length) !== at)
5365
5379
  continue;
5366
5380
  var selector = addScope(prop.substr(at.length), rule2.selector);
5367
- sheet.addRule(selector, style2[prop], _extends$2({}, options, {
5381
+ sheet.addRule(selector, style2[prop], _extends$1({}, options, {
5368
5382
  selector
5369
5383
  }));
5370
5384
  delete style2[prop];
@@ -5433,12 +5447,12 @@ function jssNested() {
5433
5447
  }
5434
5448
  function getOptions(rule2, container, prevOptions) {
5435
5449
  if (prevOptions)
5436
- return _extends$1({}, prevOptions, {
5450
+ return _extends$2({}, prevOptions, {
5437
5451
  index: prevOptions.index + 1
5438
5452
  });
5439
5453
  var nestingLevel = rule2.options.nestingLevel;
5440
5454
  nestingLevel = nestingLevel === void 0 ? 1 : nestingLevel + 1;
5441
- var options = _extends$1({}, rule2.options, {
5455
+ var options = _extends$2({}, rule2.options, {
5442
5456
  nestingLevel,
5443
5457
  index: container.indexOf(rule2) + 1
5444
5458
  // We don't need the parent name to be set options for chlid.
@@ -5466,11 +5480,11 @@ function jssNested() {
5466
5480
  selector = selector.replace(refRegExp, replaceRef3);
5467
5481
  var name2 = styleRule.key + "-" + prop;
5468
5482
  if ("replaceRule" in container) {
5469
- container.replaceRule(name2, style2[prop], _extends$1({}, options, {
5483
+ container.replaceRule(name2, style2[prop], _extends$2({}, options, {
5470
5484
  selector
5471
5485
  }));
5472
5486
  } else {
5473
- container.addRule(name2, style2[prop], _extends$1({}, options, {
5487
+ container.addRule(name2, style2[prop], _extends$2({}, options, {
5474
5488
  selector
5475
5489
  }));
5476
5490
  }
@@ -6240,7 +6254,7 @@ function mergeClasses() {
6240
6254
  if (!newClasses) {
6241
6255
  return baseClasses;
6242
6256
  }
6243
- var nextClasses = _extends$2({}, baseClasses);
6257
+ var nextClasses = _extends$1({}, baseClasses);
6244
6258
  {
6245
6259
  if (typeof newClasses === "string") {
6246
6260
  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"));
@@ -6312,7 +6326,7 @@ var injectFirstNode;
6312
6326
  function StylesProvider(props) {
6313
6327
  var children2 = 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"]);
6314
6328
  var outerOptions = React.useContext(StylesContext);
6315
- var context2 = _extends$2({}, outerOptions, {
6329
+ var context2 = _extends$1({}, outerOptions, {
6316
6330
  disableGeneration
6317
6331
  }, localOptions);
6318
6332
  {
@@ -6417,7 +6431,7 @@ const noopTheme$1 = noopTheme;
6417
6431
  function getStylesCreator(stylesOrCreator) {
6418
6432
  var themingEnabled = typeof stylesOrCreator === "function";
6419
6433
  {
6420
- if (_typeof$2(stylesOrCreator) !== "object" && !themingEnabled) {
6434
+ if (_typeof$1(stylesOrCreator) !== "object" && !themingEnabled) {
6421
6435
  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"));
6422
6436
  }
6423
6437
  }
@@ -6438,7 +6452,7 @@ function getStylesCreator(stylesOrCreator) {
6438
6452
  return styles2;
6439
6453
  }
6440
6454
  var overrides = theme.overrides[name2];
6441
- var stylesWithOverrides = _extends$2({}, styles2);
6455
+ var stylesWithOverrides = _extends$1({}, styles2);
6442
6456
  Object.keys(overrides).forEach(function(key) {
6443
6457
  {
6444
6458
  if (!stylesWithOverrides[key]) {
@@ -6499,7 +6513,7 @@ function attach(_ref2, props) {
6499
6513
  };
6500
6514
  multiKeyStore$1.set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);
6501
6515
  }
6502
- var options = _extends$2({}, stylesCreator.options, stylesOptions, {
6516
+ var options = _extends$1({}, stylesCreator.options, stylesOptions, {
6503
6517
  theme,
6504
6518
  flip: typeof stylesOptions.flip === "boolean" ? stylesOptions.flip : theme.direction === "rtl"
6505
6519
  });
@@ -6512,7 +6526,7 @@ function attach(_ref2, props) {
6512
6526
  }
6513
6527
  var styles2 = stylesCreator.create(theme, name2);
6514
6528
  if (!staticSheet) {
6515
- staticSheet = stylesOptions.jss.createStyleSheet(styles2, _extends$2({
6529
+ staticSheet = stylesOptions.jss.createStyleSheet(styles2, _extends$1({
6516
6530
  link: false
6517
6531
  }, options));
6518
6532
  staticSheet.attach();
@@ -6527,7 +6541,7 @@ function attach(_ref2, props) {
6527
6541
  sheetManager.dynamicStyles = getDynamicStyles(styles2);
6528
6542
  }
6529
6543
  if (sheetManager.dynamicStyles) {
6530
- var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$2({
6544
+ var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$1({
6531
6545
  link: true
6532
6546
  }, options));
6533
6547
  dynamicSheet.update(props);
@@ -6609,7 +6623,7 @@ function makeStyles$1(stylesOrCreator) {
6609
6623
  var useStyles2 = function useStyles3() {
6610
6624
  var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6611
6625
  var theme = useTheme() || defaultTheme2;
6612
- var stylesOptions = _extends$2({}, React.useContext(StylesContext), stylesOptions2);
6626
+ var stylesOptions = _extends$1({}, React.useContext(StylesContext), stylesOptions2);
6613
6627
  var instance = React.useRef();
6614
6628
  var shouldUpdate = React.useRef();
6615
6629
  useSynchronousEffect(function() {
@@ -6645,7 +6659,7 @@ var defaultTheme = createTheme();
6645
6659
  const defaultTheme$1 = defaultTheme;
6646
6660
  function makeStyles(stylesOrCreator) {
6647
6661
  var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6648
- return makeStyles$1(stylesOrCreator, _extends$2({
6662
+ return makeStyles$1(stylesOrCreator, _extends$1({
6649
6663
  defaultTheme: defaultTheme$1
6650
6664
  }, options));
6651
6665
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/vega",
3
- "version": "3.0.1",
3
+ "version": "3.1.0",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -22,7 +22,7 @@
22
22
  "vega": "^5.21.0",
23
23
  "vega-lite": "^5.1.1",
24
24
  "vega-tooltip": "^0.27.0",
25
- "@vitessce/tooltip": "3.0.1"
25
+ "@vitessce/tooltip": "3.1.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "react": "^18.0.0",