@bento-core/table 1.0.1-ccdihub.110 → 1.0.1-ccdihub.112

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.
@@ -637,6 +637,7 @@ const CPIModal = _ref => {
637
637
  }))), /*#__PURE__*/_react.default.createElement(_core.Button, {
638
638
  style: viewInExploreButton,
639
639
  onClick: () => {
640
+ onClose();
640
641
  window.location.href = "/explore?p_id=".concat(participantId, "&dbgap_accession=").concat(studyId);
641
642
  },
642
643
  disableRipple: true
@@ -655,7 +656,7 @@ const CPIModal = _ref => {
655
656
  left: 0,
656
657
  right: 0,
657
658
  bottom: 0,
658
- zIndex: 1
659
+ zIndex: 9998
659
660
  },
660
661
  onClick: () => setDropdownOpen(false)
661
662
  }), /*#__PURE__*/_react.default.createElement("div", {
@@ -678,8 +679,8 @@ const CPIModal = _ref => {
678
679
  }, /*#__PURE__*/_react.default.createElement(_core.Button, {
679
680
  style: goToCartButton,
680
681
  onClick: () => {
682
+ onClose();
681
683
  window.location.href = '/fileCentricCart';
682
- setDropdownOpen(false);
683
684
  },
684
685
  disableRipple: true
685
686
  }, "GO TO CART"))))))), /*#__PURE__*/_react.default.createElement("div", {
@@ -28,7 +28,9 @@ const SnackbarView = props => {
28
28
  horizontal: 'right'
29
29
  },
30
30
  style: {
31
- bottom: '-45%'
31
+ bottom: '-45%',
32
+ zIndex: '-10000',
33
+ pointerEvents: 'none'
32
34
  },
33
35
  message: /*#__PURE__*/_react.default.createElement("div", {
34
36
  className: "snackBarMessage"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bento-core/table",
3
- "version": "1.0.1-ccdihub.110",
3
+ "version": "1.0.1-ccdihub.112",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "build": "npm run lint && cross-env-shell rm -rf dist && NODE_ENV=production BABEL_ENV=es babel src --out-dir dist --copy-files",
@@ -681,6 +681,7 @@ const CPIModal = ({
681
681
  <Button
682
682
  style={viewInExploreButton}
683
683
  onClick={() => {
684
+ onClose();
684
685
  window.location.href = `/explore?p_id=${participantId}&dbgap_accession=${studyId}`;
685
686
  }}
686
687
  disableRipple
@@ -708,7 +709,7 @@ const CPIModal = ({
708
709
  left: 0,
709
710
  right: 0,
710
711
  bottom: 0,
711
- zIndex: 1,
712
+ zIndex: 9998,
712
713
  }}
713
714
  onClick={() => setDropdownOpen(false)}
714
715
  />
@@ -733,8 +734,8 @@ const CPIModal = ({
733
734
  <Button
734
735
  style={goToCartButton}
735
736
  onClick={() => {
737
+ onClose();
736
738
  window.location.href = '/fileCentricCart';
737
- setDropdownOpen(false);
738
739
  }}
739
740
  disableRipple
740
741
  >
@@ -22,7 +22,7 @@ const SnackbarView = (props) => {
22
22
  open={open}
23
23
  autoHideDuration={3000}
24
24
  anchorOrigin={{ vertical: 'bottom', horizontal: 'right' }}
25
- style={{ bottom: '-45%' }}
25
+ style={{ bottom: '-45%', zIndex: '-10000', pointerEvents: 'none' }}
26
26
  message={(
27
27
  <div className="snackBarMessage">
28
28
  <span className="snackBarMessageIcon">