pollination-react-io 1.80.4 → 1.80.6

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/build/index.js CHANGED
@@ -53501,7 +53501,7 @@ var SendGeometry = function (_a) {
53501
53501
  width: 'auto',
53502
53502
  backgroundColor: 'white',
53503
53503
  color: '#393e46',
53504
- fontSize: '14px',
53504
+ fontSize: '12px',
53505
53505
  padding: '10px',
53506
53506
  cursor: 'pointer'
53507
53507
  }, triggerStyle: {
@@ -53635,7 +53635,7 @@ var SendModel = function (_a) {
53635
53635
  width: 'auto',
53636
53636
  backgroundColor: 'white',
53637
53637
  color: '#393e46',
53638
- fontSize: '14px',
53638
+ fontSize: '12px',
53639
53639
  padding: '10px',
53640
53640
  cursor: 'pointer'
53641
53641
  }, triggerStyle: {
@@ -53718,7 +53718,7 @@ var overlayOptions = [
53718
53718
  var SendResults = function (_a) {
53719
53719
  var _b;
53720
53720
  var results = _a.results, defaultAction = _a.defaultAction, defaultKey = _a.defaultKey, optionsConfig = _a.optionsConfig, geometryOptions = _a.geometryOptions;
53721
- var _c = React.useState(results), currResults = _c[0], setCurrResults = _c[1];
53721
+ var _c = React.useState(), currResults = _c[0], setCurrResults = _c[1];
53722
53722
  var _d = React.useState(defaultKey !== null && defaultKey !== void 0 ? defaultKey : performance.now().toString()), key = _d[0], setKey = _d[1];
53723
53723
  var _e = React.useState(), currOption = _e[0], setCurrOption = _e[1];
53724
53724
  React.useEffect(function () { return setCurrResults(results); }, [results]);
@@ -53729,7 +53729,7 @@ var SendResults = function (_a) {
53729
53729
  var _a;
53730
53730
  if (!currResults)
53731
53731
  return [];
53732
- var res = results;
53732
+ var res = currResults;
53733
53733
  var analysisGeometry = (_a = res === null || res === void 0 ? void 0 : res.geometry) === null || _a === void 0 ? void 0 : _a.filter(function (g) { return g.type === 'AnalysisGeometry'; });
53734
53734
  if (!analysisGeometry || (analysisGeometry === null || analysisGeometry === void 0 ? void 0 : analysisGeometry.length) === 0)
53735
53735
  return [];
@@ -53803,7 +53803,7 @@ var SendResults = function (_a) {
53803
53803
  width: 'auto',
53804
53804
  backgroundColor: 'white',
53805
53805
  color: '#393e46',
53806
- fontSize: '14px',
53806
+ fontSize: '12px',
53807
53807
  padding: '10px',
53808
53808
  cursor: 'pointer'
53809
53809
  }, triggerStyle: {
@@ -53834,7 +53834,7 @@ var SendResults = function (_a) {
53834
53834
  width: 'auto',
53835
53835
  backgroundColor: 'white',
53836
53836
  color: '#393e46',
53837
- fontSize: '14px',
53837
+ fontSize: '12px',
53838
53838
  padding: '10px',
53839
53839
  cursor: 'pointer'
53840
53840
  }, icon: React__default["default"].createElement(Database$1, { size: 10, color: '#393e46' }), triggerStyle: {