@vitessce/feature-list 3.6.0 → 3.6.2

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 +70 -32
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -811,7 +811,30 @@ const ViewHelpMapping = {
811
811
  };
812
812
  const COMPONENT_COORDINATION_TYPES = {
813
813
  [ViewType.NEUROGLANCER]: [
814
- CoordinationType.DATASET
814
+ CoordinationType.DATASET,
815
+ CoordinationType.SPATIAL_TARGET_X,
816
+ CoordinationType.SPATIAL_TARGET_Y,
817
+ CoordinationType.SPATIAL_TARGET_Z,
818
+ CoordinationType.SPATIAL_ROTATION_X,
819
+ CoordinationType.SPATIAL_ROTATION_Y,
820
+ CoordinationType.SPATIAL_ROTATION_Z,
821
+ CoordinationType.SPATIAL_AXIS_FIXED,
822
+ CoordinationType.SPATIAL_ORBIT_AXIS,
823
+ CoordinationType.SPATIAL_ZOOM,
824
+ CoordinationType.OBS_FILTER,
825
+ CoordinationType.OBS_HIGHLIGHT,
826
+ CoordinationType.OBS_SET_SELECTION,
827
+ CoordinationType.OBS_SET_FILTER,
828
+ CoordinationType.OBS_SET_HIGHLIGHT,
829
+ CoordinationType.OBS_SET_COLOR,
830
+ CoordinationType.OBS_TYPE,
831
+ CoordinationType.ADDITIONAL_OBS_SETS,
832
+ CoordinationType.OBS_SET_COLOR,
833
+ CoordinationType.OBS_COLOR_ENCODING,
834
+ CoordinationType.OBS_SET_SELECTION,
835
+ CoordinationType.EMBEDDING_TYPE,
836
+ CoordinationType.OBS_COLOR_ENCODING,
837
+ CoordinationType.TOOLTIPS_VISIBLE
815
838
  ],
816
839
  [ViewType.SCATTERPLOT]: [
817
840
  CoordinationType.DATASET,
@@ -6456,6 +6479,7 @@ function requireReactJsxRuntime_development() {
6456
6479
  }
6457
6480
  }
6458
6481
  }
6482
+ var didWarnAboutKeySpread = {};
6459
6483
  function jsxWithValidation(type, props, key, isStaticChildren, source, self2) {
6460
6484
  {
6461
6485
  var validType = isValidElementType(type);
@@ -6506,6 +6530,20 @@ function requireReactJsxRuntime_development() {
6506
6530
  }
6507
6531
  }
6508
6532
  }
6533
+ {
6534
+ if (hasOwnProperty2.call(props, "key")) {
6535
+ var componentName = getComponentNameFromType(type);
6536
+ var keys2 = Object.keys(props).filter(function(k) {
6537
+ return k !== "key";
6538
+ });
6539
+ var beforeExample = keys2.length > 0 ? "{key: someKey, " + keys2.join(": ..., ") + ": ...}" : "{key: someKey}";
6540
+ if (!didWarnAboutKeySpread[componentName + beforeExample]) {
6541
+ var afterExample = keys2.length > 0 ? "{" + keys2.join(": ..., ") + ": ...}" : "{}";
6542
+ error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);
6543
+ didWarnAboutKeySpread[componentName + beforeExample] = true;
6544
+ }
6545
+ }
6546
+ }
6509
6547
  if (type === REACT_FRAGMENT_TYPE) {
6510
6548
  validateFragmentProps(element);
6511
6549
  } else {
@@ -12923,37 +12961,6 @@ TableRow.propTypes = {
12923
12961
  */
12924
12962
  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
12925
12963
  };
12926
- function _objectWithoutPropertiesLoose(r2, e) {
12927
- if (null == r2) return {};
12928
- var t = {};
12929
- for (var n in r2) if ({}.hasOwnProperty.call(r2, n)) {
12930
- if (-1 !== e.indexOf(n)) continue;
12931
- t[n] = r2[n];
12932
- }
12933
- return t;
12934
- }
12935
- function _typeof(o) {
12936
- "@babel/helpers - typeof";
12937
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
12938
- return typeof o2;
12939
- } : function(o2) {
12940
- return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
12941
- }, _typeof(o);
12942
- }
12943
- function toPrimitive(t, r2) {
12944
- if ("object" != _typeof(t) || !t) return t;
12945
- var e = t[Symbol.toPrimitive];
12946
- if (void 0 !== e) {
12947
- var i = e.call(t, r2);
12948
- if ("object" != _typeof(i)) return i;
12949
- throw new TypeError("@@toPrimitive must return a primitive value.");
12950
- }
12951
- return ("string" === r2 ? String : Number)(t);
12952
- }
12953
- function toPropertyKey(t) {
12954
- var i = toPrimitive(t, "string");
12955
- return "symbol" == _typeof(i) ? i : i + "";
12956
- }
12957
12964
  /**!
12958
12965
  * @fileOverview Kickass library to create and place poppers near their reference elements.
12959
12966
  * @version 1.16.1
@@ -14663,6 +14670,28 @@ React.forwardRef((props, ref) => {
14663
14670
  function _classCallCheck(a, n) {
14664
14671
  if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
14665
14672
  }
14673
+ function _typeof(o) {
14674
+ "@babel/helpers - typeof";
14675
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
14676
+ return typeof o2;
14677
+ } : function(o2) {
14678
+ return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
14679
+ }, _typeof(o);
14680
+ }
14681
+ function toPrimitive(t, r2) {
14682
+ if ("object" != _typeof(t) || !t) return t;
14683
+ var e = t[Symbol.toPrimitive];
14684
+ if (void 0 !== e) {
14685
+ var i = e.call(t, r2);
14686
+ if ("object" != _typeof(i)) return i;
14687
+ throw new TypeError("@@toPrimitive must return a primitive value.");
14688
+ }
14689
+ return ("string" === r2 ? String : Number)(t);
14690
+ }
14691
+ function toPropertyKey(t) {
14692
+ var i = toPrimitive(t, "string");
14693
+ return "symbol" == _typeof(i) ? i : i + "";
14694
+ }
14666
14695
  function _defineProperties(e, r2) {
14667
14696
  for (var t = 0; t < r2.length; t++) {
14668
14697
  var o = r2[t];
@@ -16340,6 +16369,15 @@ function calculateSizeAndPositionDataAndUpdateScrollOffset(_ref) {
16340
16369
  }
16341
16370
  }
16342
16371
  }
16372
+ function _objectWithoutPropertiesLoose(r2, e) {
16373
+ if (null == r2) return {};
16374
+ var t = {};
16375
+ for (var n in r2) if ({}.hasOwnProperty.call(r2, n)) {
16376
+ if (-1 !== e.indexOf(n)) continue;
16377
+ t[n] = r2[n];
16378
+ }
16379
+ return t;
16380
+ }
16343
16381
  function _objectWithoutProperties(e, t) {
16344
16382
  if (null == e) return {};
16345
16383
  var o, r2, i = _objectWithoutPropertiesLoose(e, t);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/feature-list",
3
- "version": "3.6.0",
3
+ "version": "3.6.2",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -21,10 +21,10 @@
21
21
  "react-virtualized": "^9.22.6",
22
22
  "uuid": "^9.0.0",
23
23
  "react-aria": "^3.28.0",
24
- "@vitessce/styles": "3.6.0",
25
- "@vitessce/constants-internal": "3.6.0",
26
- "@vitessce/utils": "3.6.0",
27
- "@vitessce/vit-s": "3.6.0"
24
+ "@vitessce/styles": "3.6.2",
25
+ "@vitessce/constants-internal": "3.6.2",
26
+ "@vitessce/utils": "3.6.2",
27
+ "@vitessce/vit-s": "3.6.2"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@testing-library/jest-dom": "^6.6.3",