@vitessce/vega 3.3.12 → 3.4.1
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 +72 -62
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1927,16 +1927,16 @@ function _extends$2() {
|
|
|
1927
1927
|
};
|
|
1928
1928
|
return _extends$2.apply(this, arguments);
|
|
1929
1929
|
}
|
|
1930
|
-
function _typeof$
|
|
1930
|
+
function _typeof$1(obj) {
|
|
1931
1931
|
"@babel/helpers - typeof";
|
|
1932
|
-
return _typeof$
|
|
1932
|
+
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
1933
1933
|
return typeof obj2;
|
|
1934
1934
|
} : function(obj2) {
|
|
1935
1935
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
1936
|
-
}, _typeof$
|
|
1936
|
+
}, _typeof$1(obj);
|
|
1937
1937
|
}
|
|
1938
1938
|
function isPlainObject(item) {
|
|
1939
|
-
return item && _typeof$
|
|
1939
|
+
return item && _typeof$1(item) === "object" && item.constructor === Object;
|
|
1940
1940
|
}
|
|
1941
1941
|
function deepmerge(target2, source2) {
|
|
1942
1942
|
var options = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
@@ -2690,12 +2690,12 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
2690
2690
|
var propTypesExports = propTypes.exports;
|
|
2691
2691
|
const _pt = /* @__PURE__ */ getDefaultExportFromCjs(propTypesExports);
|
|
2692
2692
|
function _toPrimitive(input, hint) {
|
|
2693
|
-
if (_typeof$
|
|
2693
|
+
if (_typeof$1(input) !== "object" || input === null)
|
|
2694
2694
|
return input;
|
|
2695
2695
|
var prim = input[Symbol.toPrimitive];
|
|
2696
2696
|
if (prim !== void 0) {
|
|
2697
2697
|
var res = prim.call(input, hint || "default");
|
|
2698
|
-
if (_typeof$
|
|
2698
|
+
if (_typeof$1(res) !== "object")
|
|
2699
2699
|
return res;
|
|
2700
2700
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2701
2701
|
}
|
|
@@ -2703,7 +2703,7 @@ function _toPrimitive(input, hint) {
|
|
|
2703
2703
|
}
|
|
2704
2704
|
function _toPropertyKey(arg) {
|
|
2705
2705
|
var key = _toPrimitive(arg, "string");
|
|
2706
|
-
return _typeof$
|
|
2706
|
+
return _typeof$1(key) === "symbol" ? key : String(key);
|
|
2707
2707
|
}
|
|
2708
2708
|
function _defineProperty$4(obj, key, value2) {
|
|
2709
2709
|
key = _toPropertyKey(key);
|
|
@@ -2952,7 +2952,7 @@ function getDisplayName(Component) {
|
|
|
2952
2952
|
if (typeof Component === "function") {
|
|
2953
2953
|
return getFunctionComponentName(Component, "Component");
|
|
2954
2954
|
}
|
|
2955
|
-
if (_typeof$
|
|
2955
|
+
if (_typeof$1(Component) === "object") {
|
|
2956
2956
|
switch (Component.$$typeof) {
|
|
2957
2957
|
case reactIsExports.ForwardRef:
|
|
2958
2958
|
return getWrappedName(Component, Component.render, "ForwardRef");
|
|
@@ -3108,7 +3108,7 @@ function _objectWithoutPropertiesLoose$1(source2, excluded) {
|
|
|
3108
3108
|
}
|
|
3109
3109
|
return target2;
|
|
3110
3110
|
}
|
|
3111
|
-
function _objectWithoutProperties(source2, excluded) {
|
|
3111
|
+
function _objectWithoutProperties$1(source2, excluded) {
|
|
3112
3112
|
if (source2 == null)
|
|
3113
3113
|
return {};
|
|
3114
3114
|
var target2 = _objectWithoutPropertiesLoose$1(source2, excluded);
|
|
@@ -3148,7 +3148,7 @@ function createBreakpoints(breakpoints) {
|
|
|
3148
3148
|
md: 960,
|
|
3149
3149
|
lg: 1280,
|
|
3150
3150
|
xl: 1920
|
|
3151
|
-
} : _breakpoints$values, _breakpoints$unit = breakpoints.unit, unit2 = _breakpoints$unit === void 0 ? "px" : _breakpoints$unit, _breakpoints$step = breakpoints.step, step = _breakpoints$step === void 0 ? 5 : _breakpoints$step, other = _objectWithoutProperties(breakpoints, ["values", "unit", "step"]);
|
|
3151
|
+
} : _breakpoints$values, _breakpoints$unit = breakpoints.unit, unit2 = _breakpoints$unit === void 0 ? "px" : _breakpoints$unit, _breakpoints$step = breakpoints.step, step = _breakpoints$step === void 0 ? 5 : _breakpoints$step, other = _objectWithoutProperties$1(breakpoints, ["values", "unit", "step"]);
|
|
3152
3152
|
function up(key) {
|
|
3153
3153
|
var value2 = typeof values2[key] === "number" ? values2[key] : key;
|
|
3154
3154
|
return "@media (min-width:".concat(value2).concat(unit2, ")");
|
|
@@ -3320,7 +3320,7 @@ function createPalette(palette) {
|
|
|
3320
3320
|
light: green$1[300],
|
|
3321
3321
|
main: green$1[500],
|
|
3322
3322
|
dark: green$1[700]
|
|
3323
|
-
} : _palette$success, _palette$type = palette.type, type2 = _palette$type === void 0 ? "light" : _palette$type, _palette$contrastThre = palette.contrastThreshold, contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre, _palette$tonalOffset = palette.tonalOffset, tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset, other = _objectWithoutProperties(palette, ["primary", "secondary", "error", "warning", "info", "success", "type", "contrastThreshold", "tonalOffset"]);
|
|
3323
|
+
} : _palette$success, _palette$type = palette.type, type2 = _palette$type === void 0 ? "light" : _palette$type, _palette$contrastThre = palette.contrastThreshold, contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre, _palette$tonalOffset = palette.tonalOffset, tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset, other = _objectWithoutProperties$1(palette, ["primary", "secondary", "error", "warning", "info", "success", "type", "contrastThreshold", "tonalOffset"]);
|
|
3324
3324
|
function getContrastText(background2) {
|
|
3325
3325
|
var contrastText = getContrastRatio(background2, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;
|
|
3326
3326
|
{
|
|
@@ -3412,7 +3412,7 @@ var caseAllCaps = {
|
|
|
3412
3412
|
};
|
|
3413
3413
|
var defaultFontFamily = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
3414
3414
|
function createTypography(palette, typography) {
|
|
3415
|
-
var _ref = typeof typography === "function" ? typography(palette) : typography, _ref$fontFamily = _ref.fontFamily, fontFamily2 = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily, _ref$fontSize = _ref.fontSize, fontSize2 = _ref$fontSize === void 0 ? 14 : _ref$fontSize, _ref$fontWeightLight = _ref.fontWeightLight, fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight, _ref$fontWeightRegula = _ref.fontWeightRegular, fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula, _ref$fontWeightMedium = _ref.fontWeightMedium, fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium, _ref$fontWeightBold = _ref.fontWeightBold, fontWeightBold = _ref$fontWeightBold === void 0 ? 700 : _ref$fontWeightBold, _ref$htmlFontSize = _ref.htmlFontSize, htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize, allVariants = _ref.allVariants, pxToRem2 = _ref.pxToRem, other = _objectWithoutProperties(_ref, ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]);
|
|
3415
|
+
var _ref = typeof typography === "function" ? typography(palette) : typography, _ref$fontFamily = _ref.fontFamily, fontFamily2 = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily, _ref$fontSize = _ref.fontSize, fontSize2 = _ref$fontSize === void 0 ? 14 : _ref$fontSize, _ref$fontWeightLight = _ref.fontWeightLight, fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight, _ref$fontWeightRegula = _ref.fontWeightRegular, fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula, _ref$fontWeightMedium = _ref.fontWeightMedium, fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium, _ref$fontWeightBold = _ref.fontWeightBold, fontWeightBold = _ref$fontWeightBold === void 0 ? 700 : _ref$fontWeightBold, _ref$htmlFontSize = _ref.htmlFontSize, htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize, allVariants = _ref.allVariants, pxToRem2 = _ref.pxToRem, other = _objectWithoutProperties$1(_ref, ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]);
|
|
3416
3416
|
{
|
|
3417
3417
|
if (typeof fontSize2 !== "number") {
|
|
3418
3418
|
console.error("Material-UI: `fontSize` is required to be a number.");
|
|
@@ -3481,13 +3481,39 @@ var shape$2 = {
|
|
|
3481
3481
|
const shape$3 = shape$2;
|
|
3482
3482
|
var responsivePropType = _pt.oneOfType([_pt.number, _pt.string, _pt.object, _pt.array]);
|
|
3483
3483
|
const responsivePropType$1 = responsivePropType;
|
|
3484
|
-
function
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3484
|
+
function _arrayLikeToArray$2(arr, len) {
|
|
3485
|
+
if (len == null || len > arr.length)
|
|
3486
|
+
len = arr.length;
|
|
3487
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
3488
|
+
arr2[i] = arr[i];
|
|
3489
|
+
return arr2;
|
|
3490
|
+
}
|
|
3491
|
+
function _arrayWithoutHoles(arr) {
|
|
3492
|
+
if (Array.isArray(arr))
|
|
3493
|
+
return _arrayLikeToArray$2(arr);
|
|
3494
|
+
}
|
|
3495
|
+
function _iterableToArray(iter) {
|
|
3496
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
3497
|
+
return Array.from(iter);
|
|
3498
|
+
}
|
|
3499
|
+
function _unsupportedIterableToArray$2(o, minLen) {
|
|
3500
|
+
if (!o)
|
|
3501
|
+
return;
|
|
3502
|
+
if (typeof o === "string")
|
|
3503
|
+
return _arrayLikeToArray$2(o, minLen);
|
|
3504
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
3505
|
+
if (n === "Object" && o.constructor)
|
|
3506
|
+
n = o.constructor.name;
|
|
3507
|
+
if (n === "Map" || n === "Set")
|
|
3508
|
+
return Array.from(o);
|
|
3509
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
3510
|
+
return _arrayLikeToArray$2(o, minLen);
|
|
3511
|
+
}
|
|
3512
|
+
function _nonIterableSpread() {
|
|
3513
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3514
|
+
}
|
|
3515
|
+
function _toConsumableArray(arr) {
|
|
3516
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray$2(arr) || _nonIterableSpread();
|
|
3491
3517
|
}
|
|
3492
3518
|
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"];
|
|
3493
3519
|
function createUnarySpacing(theme) {
|
|
@@ -3605,7 +3631,7 @@ const transitions = {
|
|
|
3605
3631
|
create: function create() {
|
|
3606
3632
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["all"];
|
|
3607
3633
|
var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3608
|
-
var _options$duration = options.duration, durationOption = _options$duration === void 0 ? duration.standard : _options$duration, _options$easing = options.easing, easingOption = _options$easing === void 0 ? easing.easeInOut : _options$easing, _options$delay = options.delay, delay = _options$delay === void 0 ? 0 : _options$delay, other = _objectWithoutProperties(options, ["duration", "easing", "delay"]);
|
|
3634
|
+
var _options$duration = options.duration, durationOption = _options$duration === void 0 ? duration.standard : _options$duration, _options$easing = options.easing, easingOption = _options$easing === void 0 ? easing.easeInOut : _options$easing, _options$delay = options.delay, delay = _options$delay === void 0 ? 0 : _options$delay, other = _objectWithoutProperties$1(options, ["duration", "easing", "delay"]);
|
|
3609
3635
|
{
|
|
3610
3636
|
var isString2 = function isString3(value2) {
|
|
3611
3637
|
return typeof value2 === "string";
|
|
@@ -3653,7 +3679,7 @@ var zIndex = {
|
|
|
3653
3679
|
const zIndex$1 = zIndex;
|
|
3654
3680
|
function createTheme() {
|
|
3655
3681
|
var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3656
|
-
var _options$breakpoints = options.breakpoints, breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints, _options$mixins = options.mixins, mixinsInput = _options$mixins === void 0 ? {} : _options$mixins, _options$palette = options.palette, paletteInput = _options$palette === void 0 ? {} : _options$palette, spacingInput = options.spacing, _options$typography = options.typography, typographyInput = _options$typography === void 0 ? {} : _options$typography, other = _objectWithoutProperties(options, ["breakpoints", "mixins", "palette", "spacing", "typography"]);
|
|
3682
|
+
var _options$breakpoints = options.breakpoints, breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints, _options$mixins = options.mixins, mixinsInput = _options$mixins === void 0 ? {} : _options$mixins, _options$palette = options.palette, paletteInput = _options$palette === void 0 ? {} : _options$palette, spacingInput = options.spacing, _options$typography = options.typography, typographyInput = _options$typography === void 0 ? {} : _options$typography, other = _objectWithoutProperties$1(options, ["breakpoints", "mixins", "palette", "spacing", "typography"]);
|
|
3657
3683
|
var palette = createPalette(paletteInput);
|
|
3658
3684
|
var breakpoints = createBreakpoints(breakpointsInput);
|
|
3659
3685
|
var spacing = createSpacing(spacingInput);
|
|
@@ -5768,40 +5794,6 @@ function defaultUnit(options) {
|
|
|
5768
5794
|
onChangeValue: onChangeValue2
|
|
5769
5795
|
};
|
|
5770
5796
|
}
|
|
5771
|
-
function _arrayLikeToArray$2(arr, len) {
|
|
5772
|
-
if (len == null || len > arr.length)
|
|
5773
|
-
len = arr.length;
|
|
5774
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
5775
|
-
arr2[i] = arr[i];
|
|
5776
|
-
return arr2;
|
|
5777
|
-
}
|
|
5778
|
-
function _arrayWithoutHoles(arr) {
|
|
5779
|
-
if (Array.isArray(arr))
|
|
5780
|
-
return _arrayLikeToArray$2(arr);
|
|
5781
|
-
}
|
|
5782
|
-
function _iterableToArray(iter) {
|
|
5783
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
5784
|
-
return Array.from(iter);
|
|
5785
|
-
}
|
|
5786
|
-
function _unsupportedIterableToArray$2(o, minLen) {
|
|
5787
|
-
if (!o)
|
|
5788
|
-
return;
|
|
5789
|
-
if (typeof o === "string")
|
|
5790
|
-
return _arrayLikeToArray$2(o, minLen);
|
|
5791
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
5792
|
-
if (n === "Object" && o.constructor)
|
|
5793
|
-
n = o.constructor.name;
|
|
5794
|
-
if (n === "Map" || n === "Set")
|
|
5795
|
-
return Array.from(o);
|
|
5796
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
5797
|
-
return _arrayLikeToArray$2(o, minLen);
|
|
5798
|
-
}
|
|
5799
|
-
function _nonIterableSpread() {
|
|
5800
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
5801
|
-
}
|
|
5802
|
-
function _toConsumableArray(arr) {
|
|
5803
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray$2(arr) || _nonIterableSpread();
|
|
5804
|
-
}
|
|
5805
5797
|
var js = "";
|
|
5806
5798
|
var css = "";
|
|
5807
5799
|
var vendor = "";
|
|
@@ -6248,13 +6240,31 @@ function jssPreset() {
|
|
|
6248
6240
|
]
|
|
6249
6241
|
};
|
|
6250
6242
|
}
|
|
6243
|
+
function _objectWithoutProperties(source2, excluded) {
|
|
6244
|
+
if (source2 == null)
|
|
6245
|
+
return {};
|
|
6246
|
+
var target2 = _objectWithoutPropertiesLoose(source2, excluded);
|
|
6247
|
+
var key, i;
|
|
6248
|
+
if (Object.getOwnPropertySymbols) {
|
|
6249
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source2);
|
|
6250
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
6251
|
+
key = sourceSymbolKeys[i];
|
|
6252
|
+
if (excluded.indexOf(key) >= 0)
|
|
6253
|
+
continue;
|
|
6254
|
+
if (!Object.prototype.propertyIsEnumerable.call(source2, key))
|
|
6255
|
+
continue;
|
|
6256
|
+
target2[key] = source2[key];
|
|
6257
|
+
}
|
|
6258
|
+
}
|
|
6259
|
+
return target2;
|
|
6260
|
+
}
|
|
6251
6261
|
function mergeClasses() {
|
|
6252
6262
|
var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6253
6263
|
var baseClasses = options.baseClasses, newClasses = options.newClasses, Component = options.Component;
|
|
6254
6264
|
if (!newClasses) {
|
|
6255
6265
|
return baseClasses;
|
|
6256
6266
|
}
|
|
6257
|
-
var nextClasses = _extends$
|
|
6267
|
+
var nextClasses = _extends$2({}, baseClasses);
|
|
6258
6268
|
{
|
|
6259
6269
|
if (typeof newClasses === "string") {
|
|
6260
6270
|
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"));
|
|
@@ -6326,7 +6336,7 @@ var injectFirstNode;
|
|
|
6326
6336
|
function StylesProvider(props) {
|
|
6327
6337
|
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"]);
|
|
6328
6338
|
var outerOptions = React.useContext(StylesContext);
|
|
6329
|
-
var context2 = _extends$
|
|
6339
|
+
var context2 = _extends$2({}, outerOptions, {
|
|
6330
6340
|
disableGeneration
|
|
6331
6341
|
}, localOptions);
|
|
6332
6342
|
{
|
|
@@ -6452,7 +6462,7 @@ function getStylesCreator(stylesOrCreator) {
|
|
|
6452
6462
|
return styles2;
|
|
6453
6463
|
}
|
|
6454
6464
|
var overrides = theme.overrides[name2];
|
|
6455
|
-
var stylesWithOverrides = _extends$
|
|
6465
|
+
var stylesWithOverrides = _extends$2({}, styles2);
|
|
6456
6466
|
Object.keys(overrides).forEach(function(key) {
|
|
6457
6467
|
{
|
|
6458
6468
|
if (!stylesWithOverrides[key]) {
|
|
@@ -6513,7 +6523,7 @@ function attach(_ref2, props) {
|
|
|
6513
6523
|
};
|
|
6514
6524
|
multiKeyStore$1.set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);
|
|
6515
6525
|
}
|
|
6516
|
-
var options = _extends$
|
|
6526
|
+
var options = _extends$2({}, stylesCreator.options, stylesOptions, {
|
|
6517
6527
|
theme,
|
|
6518
6528
|
flip: typeof stylesOptions.flip === "boolean" ? stylesOptions.flip : theme.direction === "rtl"
|
|
6519
6529
|
});
|
|
@@ -6526,7 +6536,7 @@ function attach(_ref2, props) {
|
|
|
6526
6536
|
}
|
|
6527
6537
|
var styles2 = stylesCreator.create(theme, name2);
|
|
6528
6538
|
if (!staticSheet) {
|
|
6529
|
-
staticSheet = stylesOptions.jss.createStyleSheet(styles2, _extends$
|
|
6539
|
+
staticSheet = stylesOptions.jss.createStyleSheet(styles2, _extends$2({
|
|
6530
6540
|
link: false
|
|
6531
6541
|
}, options));
|
|
6532
6542
|
staticSheet.attach();
|
|
@@ -6541,7 +6551,7 @@ function attach(_ref2, props) {
|
|
|
6541
6551
|
sheetManager.dynamicStyles = getDynamicStyles(styles2);
|
|
6542
6552
|
}
|
|
6543
6553
|
if (sheetManager.dynamicStyles) {
|
|
6544
|
-
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$
|
|
6554
|
+
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$2({
|
|
6545
6555
|
link: true
|
|
6546
6556
|
}, options));
|
|
6547
6557
|
dynamicSheet.update(props);
|
|
@@ -6623,7 +6633,7 @@ function makeStyles$1(stylesOrCreator) {
|
|
|
6623
6633
|
var useStyles2 = function useStyles3() {
|
|
6624
6634
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6625
6635
|
var theme = useTheme() || defaultTheme2;
|
|
6626
|
-
var stylesOptions = _extends$
|
|
6636
|
+
var stylesOptions = _extends$2({}, React.useContext(StylesContext), stylesOptions2);
|
|
6627
6637
|
var instance = React.useRef();
|
|
6628
6638
|
var shouldUpdate = React.useRef();
|
|
6629
6639
|
useSynchronousEffect(function() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/vega",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.1",
|
|
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.
|
|
25
|
+
"@vitessce/tooltip": "3.4.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"react": "^18.0.0",
|