@vitessce/description 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 +89 -63
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -903,7 +903,8 @@ const ViewType = {
|
|
|
903
903
|
OBS_SETS: "obsSets",
|
|
904
904
|
OBS_SET_SIZES: "obsSetSizes",
|
|
905
905
|
OBS_SET_FEATURE_VALUE_DISTRIBUTION: "obsSetFeatureValueDistribution",
|
|
906
|
-
FEATURE_VALUE_HISTOGRAM: "featureValueHistogram"
|
|
906
|
+
FEATURE_VALUE_HISTOGRAM: "featureValueHistogram",
|
|
907
|
+
FEATURE_BAR_PLOT: "featureBarPlot"
|
|
907
908
|
};
|
|
908
909
|
const CoordinationType = {
|
|
909
910
|
META_COORDINATION_SCOPES: "metaCoordinationScopes",
|
|
@@ -1390,6 +1391,21 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
1390
1391
|
CoordinationType.FEATURE_FILTER,
|
|
1391
1392
|
CoordinationType.FEATURE_HIGHLIGHT,
|
|
1392
1393
|
CoordinationType.FEATURE_SELECTION
|
|
1394
|
+
],
|
|
1395
|
+
[ViewType.FEATURE_BAR_PLOT]: [
|
|
1396
|
+
CoordinationType.DATASET,
|
|
1397
|
+
CoordinationType.OBS_TYPE,
|
|
1398
|
+
CoordinationType.FEATURE_TYPE,
|
|
1399
|
+
CoordinationType.FEATURE_VALUE_TYPE,
|
|
1400
|
+
CoordinationType.FEATURE_SELECTION,
|
|
1401
|
+
CoordinationType.FEATURE_VALUE_TRANSFORM,
|
|
1402
|
+
CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
|
|
1403
|
+
CoordinationType.OBS_SET_SELECTION,
|
|
1404
|
+
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
1405
|
+
CoordinationType.OBS_HIGHLIGHT,
|
|
1406
|
+
CoordinationType.OBS_SET_COLOR,
|
|
1407
|
+
CoordinationType.OBS_COLOR_ENCODING,
|
|
1408
|
+
CoordinationType.ADDITIONAL_OBS_SETS
|
|
1393
1409
|
]
|
|
1394
1410
|
};
|
|
1395
1411
|
var common = {
|
|
@@ -1530,16 +1546,16 @@ function _extends$1() {
|
|
|
1530
1546
|
};
|
|
1531
1547
|
return _extends$1.apply(this, arguments);
|
|
1532
1548
|
}
|
|
1533
|
-
function _typeof$
|
|
1549
|
+
function _typeof$1(obj) {
|
|
1534
1550
|
"@babel/helpers - typeof";
|
|
1535
|
-
return _typeof$
|
|
1551
|
+
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
1536
1552
|
return typeof obj2;
|
|
1537
1553
|
} : function(obj2) {
|
|
1538
1554
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
1539
|
-
}, _typeof$
|
|
1555
|
+
}, _typeof$1(obj);
|
|
1540
1556
|
}
|
|
1541
1557
|
function isPlainObject(item) {
|
|
1542
|
-
return item && _typeof$
|
|
1558
|
+
return item && _typeof$1(item) === "object" && item.constructor === Object;
|
|
1543
1559
|
}
|
|
1544
1560
|
function deepmerge(target, source) {
|
|
1545
1561
|
var options = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
@@ -2293,12 +2309,12 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
2293
2309
|
var propTypesExports = propTypes.exports;
|
|
2294
2310
|
const PropTypes = /* @__PURE__ */ getDefaultExportFromCjs(propTypesExports);
|
|
2295
2311
|
function _toPrimitive(input, hint) {
|
|
2296
|
-
if (_typeof$
|
|
2312
|
+
if (_typeof$1(input) !== "object" || input === null)
|
|
2297
2313
|
return input;
|
|
2298
2314
|
var prim = input[Symbol.toPrimitive];
|
|
2299
2315
|
if (prim !== void 0) {
|
|
2300
2316
|
var res = prim.call(input, hint || "default");
|
|
2301
|
-
if (_typeof$
|
|
2317
|
+
if (_typeof$1(res) !== "object")
|
|
2302
2318
|
return res;
|
|
2303
2319
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2304
2320
|
}
|
|
@@ -2306,7 +2322,7 @@ function _toPrimitive(input, hint) {
|
|
|
2306
2322
|
}
|
|
2307
2323
|
function _toPropertyKey(arg) {
|
|
2308
2324
|
var key = _toPrimitive(arg, "string");
|
|
2309
|
-
return _typeof$
|
|
2325
|
+
return _typeof$1(key) === "symbol" ? key : String(key);
|
|
2310
2326
|
}
|
|
2311
2327
|
function _defineProperty$1(obj, key, value) {
|
|
2312
2328
|
key = _toPropertyKey(key);
|
|
@@ -2555,7 +2571,7 @@ function getDisplayName(Component) {
|
|
|
2555
2571
|
if (typeof Component === "function") {
|
|
2556
2572
|
return getFunctionComponentName(Component, "Component");
|
|
2557
2573
|
}
|
|
2558
|
-
if (_typeof$
|
|
2574
|
+
if (_typeof$1(Component) === "object") {
|
|
2559
2575
|
switch (Component.$$typeof) {
|
|
2560
2576
|
case reactIsExports.ForwardRef:
|
|
2561
2577
|
return getWrappedName(Component, Component.render, "ForwardRef");
|
|
@@ -2711,7 +2727,7 @@ function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
|
2711
2727
|
}
|
|
2712
2728
|
return target;
|
|
2713
2729
|
}
|
|
2714
|
-
function _objectWithoutProperties(source, excluded) {
|
|
2730
|
+
function _objectWithoutProperties$1(source, excluded) {
|
|
2715
2731
|
if (source == null)
|
|
2716
2732
|
return {};
|
|
2717
2733
|
var target = _objectWithoutPropertiesLoose$1(source, excluded);
|
|
@@ -2751,7 +2767,7 @@ function createBreakpoints(breakpoints) {
|
|
|
2751
2767
|
md: 960,
|
|
2752
2768
|
lg: 1280,
|
|
2753
2769
|
xl: 1920
|
|
2754
|
-
} : _breakpoints$values, _breakpoints$unit = breakpoints.unit, unit = _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"]);
|
|
2770
|
+
} : _breakpoints$values, _breakpoints$unit = breakpoints.unit, unit = _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"]);
|
|
2755
2771
|
function up(key) {
|
|
2756
2772
|
var value = typeof values[key] === "number" ? values[key] : key;
|
|
2757
2773
|
return "@media (min-width:".concat(value).concat(unit, ")");
|
|
@@ -2923,7 +2939,7 @@ function createPalette(palette) {
|
|
|
2923
2939
|
light: green$1[300],
|
|
2924
2940
|
main: green$1[500],
|
|
2925
2941
|
dark: green$1[700]
|
|
2926
|
-
} : _palette$success, _palette$type = palette.type, type = _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"]);
|
|
2942
|
+
} : _palette$success, _palette$type = palette.type, type = _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"]);
|
|
2927
2943
|
function getContrastText(background) {
|
|
2928
2944
|
var contrastText = getContrastRatio(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;
|
|
2929
2945
|
{
|
|
@@ -3015,7 +3031,7 @@ var caseAllCaps = {
|
|
|
3015
3031
|
};
|
|
3016
3032
|
var defaultFontFamily = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
3017
3033
|
function createTypography(palette, typography) {
|
|
3018
|
-
var _ref = typeof typography === "function" ? typography(palette) : typography, _ref$fontFamily = _ref.fontFamily, fontFamily = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily, _ref$fontSize = _ref.fontSize, fontSize = _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"]);
|
|
3034
|
+
var _ref = typeof typography === "function" ? typography(palette) : typography, _ref$fontFamily = _ref.fontFamily, fontFamily = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily, _ref$fontSize = _ref.fontSize, fontSize = _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"]);
|
|
3019
3035
|
{
|
|
3020
3036
|
if (typeof fontSize !== "number") {
|
|
3021
3037
|
console.error("Material-UI: `fontSize` is required to be a number.");
|
|
@@ -3084,13 +3100,39 @@ var shape = {
|
|
|
3084
3100
|
const shape$1 = shape;
|
|
3085
3101
|
var responsivePropType = PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]);
|
|
3086
3102
|
const responsivePropType$1 = responsivePropType;
|
|
3087
|
-
function
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3103
|
+
function _arrayLikeToArray(arr, len) {
|
|
3104
|
+
if (len == null || len > arr.length)
|
|
3105
|
+
len = arr.length;
|
|
3106
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
3107
|
+
arr2[i] = arr[i];
|
|
3108
|
+
return arr2;
|
|
3109
|
+
}
|
|
3110
|
+
function _arrayWithoutHoles(arr) {
|
|
3111
|
+
if (Array.isArray(arr))
|
|
3112
|
+
return _arrayLikeToArray(arr);
|
|
3113
|
+
}
|
|
3114
|
+
function _iterableToArray(iter) {
|
|
3115
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
3116
|
+
return Array.from(iter);
|
|
3117
|
+
}
|
|
3118
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
3119
|
+
if (!o)
|
|
3120
|
+
return;
|
|
3121
|
+
if (typeof o === "string")
|
|
3122
|
+
return _arrayLikeToArray(o, minLen);
|
|
3123
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
3124
|
+
if (n === "Object" && o.constructor)
|
|
3125
|
+
n = o.constructor.name;
|
|
3126
|
+
if (n === "Map" || n === "Set")
|
|
3127
|
+
return Array.from(o);
|
|
3128
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
3129
|
+
return _arrayLikeToArray(o, minLen);
|
|
3130
|
+
}
|
|
3131
|
+
function _nonIterableSpread() {
|
|
3132
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3133
|
+
}
|
|
3134
|
+
function _toConsumableArray(arr) {
|
|
3135
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
3094
3136
|
}
|
|
3095
3137
|
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"];
|
|
3096
3138
|
function createUnarySpacing(theme) {
|
|
@@ -3208,7 +3250,7 @@ const transitions = {
|
|
|
3208
3250
|
create: function create() {
|
|
3209
3251
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["all"];
|
|
3210
3252
|
var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3211
|
-
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"]);
|
|
3253
|
+
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"]);
|
|
3212
3254
|
{
|
|
3213
3255
|
var isString = function isString2(value) {
|
|
3214
3256
|
return typeof value === "string";
|
|
@@ -3256,7 +3298,7 @@ var zIndex = {
|
|
|
3256
3298
|
const zIndex$1 = zIndex;
|
|
3257
3299
|
function createTheme() {
|
|
3258
3300
|
var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3259
|
-
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"]);
|
|
3301
|
+
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"]);
|
|
3260
3302
|
var palette = createPalette(paletteInput);
|
|
3261
3303
|
var breakpoints = createBreakpoints(breakpointsInput);
|
|
3262
3304
|
var spacing = createSpacing(spacingInput);
|
|
@@ -5371,40 +5413,6 @@ function defaultUnit(options) {
|
|
|
5371
5413
|
onChangeValue: onChangeValue2
|
|
5372
5414
|
};
|
|
5373
5415
|
}
|
|
5374
|
-
function _arrayLikeToArray(arr, len) {
|
|
5375
|
-
if (len == null || len > arr.length)
|
|
5376
|
-
len = arr.length;
|
|
5377
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
5378
|
-
arr2[i] = arr[i];
|
|
5379
|
-
return arr2;
|
|
5380
|
-
}
|
|
5381
|
-
function _arrayWithoutHoles(arr) {
|
|
5382
|
-
if (Array.isArray(arr))
|
|
5383
|
-
return _arrayLikeToArray(arr);
|
|
5384
|
-
}
|
|
5385
|
-
function _iterableToArray(iter) {
|
|
5386
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
5387
|
-
return Array.from(iter);
|
|
5388
|
-
}
|
|
5389
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
5390
|
-
if (!o)
|
|
5391
|
-
return;
|
|
5392
|
-
if (typeof o === "string")
|
|
5393
|
-
return _arrayLikeToArray(o, minLen);
|
|
5394
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
5395
|
-
if (n === "Object" && o.constructor)
|
|
5396
|
-
n = o.constructor.name;
|
|
5397
|
-
if (n === "Map" || n === "Set")
|
|
5398
|
-
return Array.from(o);
|
|
5399
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
5400
|
-
return _arrayLikeToArray(o, minLen);
|
|
5401
|
-
}
|
|
5402
|
-
function _nonIterableSpread() {
|
|
5403
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
5404
|
-
}
|
|
5405
|
-
function _toConsumableArray(arr) {
|
|
5406
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
5407
|
-
}
|
|
5408
5416
|
var js = "";
|
|
5409
5417
|
var css = "";
|
|
5410
5418
|
var vendor = "";
|
|
@@ -5851,13 +5859,31 @@ function jssPreset() {
|
|
|
5851
5859
|
]
|
|
5852
5860
|
};
|
|
5853
5861
|
}
|
|
5862
|
+
function _objectWithoutProperties(source, excluded) {
|
|
5863
|
+
if (source == null)
|
|
5864
|
+
return {};
|
|
5865
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
5866
|
+
var key, i;
|
|
5867
|
+
if (Object.getOwnPropertySymbols) {
|
|
5868
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
5869
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
5870
|
+
key = sourceSymbolKeys[i];
|
|
5871
|
+
if (excluded.indexOf(key) >= 0)
|
|
5872
|
+
continue;
|
|
5873
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
|
5874
|
+
continue;
|
|
5875
|
+
target[key] = source[key];
|
|
5876
|
+
}
|
|
5877
|
+
}
|
|
5878
|
+
return target;
|
|
5879
|
+
}
|
|
5854
5880
|
function mergeClasses() {
|
|
5855
5881
|
var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
5856
5882
|
var baseClasses = options.baseClasses, newClasses = options.newClasses, Component = options.Component;
|
|
5857
5883
|
if (!newClasses) {
|
|
5858
5884
|
return baseClasses;
|
|
5859
5885
|
}
|
|
5860
|
-
var nextClasses = _extends({}, baseClasses);
|
|
5886
|
+
var nextClasses = _extends$1({}, baseClasses);
|
|
5861
5887
|
{
|
|
5862
5888
|
if (typeof newClasses === "string") {
|
|
5863
5889
|
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"));
|
|
@@ -5929,7 +5955,7 @@ var injectFirstNode;
|
|
|
5929
5955
|
function StylesProvider(props) {
|
|
5930
5956
|
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"]);
|
|
5931
5957
|
var outerOptions = React.useContext(StylesContext);
|
|
5932
|
-
var context = _extends({}, outerOptions, {
|
|
5958
|
+
var context = _extends$1({}, outerOptions, {
|
|
5933
5959
|
disableGeneration
|
|
5934
5960
|
}, localOptions);
|
|
5935
5961
|
{
|
|
@@ -6055,7 +6081,7 @@ function getStylesCreator(stylesOrCreator) {
|
|
|
6055
6081
|
return styles;
|
|
6056
6082
|
}
|
|
6057
6083
|
var overrides = theme.overrides[name];
|
|
6058
|
-
var stylesWithOverrides = _extends({}, styles);
|
|
6084
|
+
var stylesWithOverrides = _extends$1({}, styles);
|
|
6059
6085
|
Object.keys(overrides).forEach(function(key) {
|
|
6060
6086
|
{
|
|
6061
6087
|
if (!stylesWithOverrides[key]) {
|
|
@@ -6116,7 +6142,7 @@ function attach(_ref2, props) {
|
|
|
6116
6142
|
};
|
|
6117
6143
|
multiKeyStore$1.set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);
|
|
6118
6144
|
}
|
|
6119
|
-
var options = _extends({}, stylesCreator.options, stylesOptions, {
|
|
6145
|
+
var options = _extends$1({}, stylesCreator.options, stylesOptions, {
|
|
6120
6146
|
theme,
|
|
6121
6147
|
flip: typeof stylesOptions.flip === "boolean" ? stylesOptions.flip : theme.direction === "rtl"
|
|
6122
6148
|
});
|
|
@@ -6129,7 +6155,7 @@ function attach(_ref2, props) {
|
|
|
6129
6155
|
}
|
|
6130
6156
|
var styles = stylesCreator.create(theme, name);
|
|
6131
6157
|
if (!staticSheet) {
|
|
6132
|
-
staticSheet = stylesOptions.jss.createStyleSheet(styles, _extends({
|
|
6158
|
+
staticSheet = stylesOptions.jss.createStyleSheet(styles, _extends$1({
|
|
6133
6159
|
link: false
|
|
6134
6160
|
}, options));
|
|
6135
6161
|
staticSheet.attach();
|
|
@@ -6144,7 +6170,7 @@ function attach(_ref2, props) {
|
|
|
6144
6170
|
sheetManager.dynamicStyles = getDynamicStyles(styles);
|
|
6145
6171
|
}
|
|
6146
6172
|
if (sheetManager.dynamicStyles) {
|
|
6147
|
-
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends({
|
|
6173
|
+
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$1({
|
|
6148
6174
|
link: true
|
|
6149
6175
|
}, options));
|
|
6150
6176
|
dynamicSheet.update(props);
|
|
@@ -6226,7 +6252,7 @@ function makeStyles$1(stylesOrCreator) {
|
|
|
6226
6252
|
var useStyles2 = function useStyles3() {
|
|
6227
6253
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6228
6254
|
var theme = useTheme() || defaultTheme2;
|
|
6229
|
-
var stylesOptions = _extends({}, React.useContext(StylesContext), stylesOptions2);
|
|
6255
|
+
var stylesOptions = _extends$1({}, React.useContext(StylesContext), stylesOptions2);
|
|
6230
6256
|
var instance = React.useRef();
|
|
6231
6257
|
var shouldUpdate = React.useRef();
|
|
6232
6258
|
useSynchronousEffect(function() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/description",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.1",
|
|
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/
|
|
21
|
-
"@vitessce/
|
|
20
|
+
"@vitessce/vit-s": "3.4.1",
|
|
21
|
+
"@vitessce/constants-internal": "3.4.1"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@testing-library/jest-dom": "^5.16.4",
|