@copart/ops-tool-kit 1.12.1-alpha.16 → 1.12.1-alpha.17

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.
@@ -32,7 +32,7 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
32
32
  var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
33
33
 
34
34
  const name$r = "@copart/ops-tool-kit";
35
- const version$7 = "1.12.1-alpha.16";
35
+ const version$7 = "1.12.1-alpha.17";
36
36
  const main$1 = "dist/ops-tool-kit.js";
37
37
  const style = "dist/ops-tool-kit.css";
38
38
  const files = [
@@ -32695,22 +32695,16 @@ var AppBar$1 = function AppBar(props) {
32695
32695
  (mobileNotificationsTopContainerRef === null || mobileNotificationsTopContainerRef === void 0 ? void 0 : mobileNotificationsTopContainerRef.current) && setSideBarTopValue((mobileNotificationsTopContainerRef === null || mobileNotificationsTopContainerRef === void 0 ? void 0 : (_mobileNotificationsT = mobileNotificationsTopContainerRef.current) === null || _mobileNotificationsT === void 0 ? void 0 : _mobileNotificationsT.offsetHeight) + 48);
32696
32696
  }, [notificationHeightFlag]);
32697
32697
  React.useEffect(function () {
32698
- // const handleResize = () => {
32699
- // if (ideaNoteVisible) {
32700
- // document.body.style.overflow = 'hidden'
32701
- // } else {
32702
- // document.body.style.overflow = ''
32703
- // }
32704
- // }
32705
- // window.addEventListener('resize', handleResize)
32706
-
32707
- if (ideaNoteVisible) {
32708
- document.body.style.overflow = 'hidden';
32709
- } else {
32710
- document.body.style.overflow = '';
32711
- }
32698
+ var handleResize = function handleResize() {
32699
+ if (ideaNoteVisible) {
32700
+ document.body.style.overflow = 'hidden';
32701
+ } else {
32702
+ document.body.style.overflow = '';
32703
+ }
32704
+ };
32705
+ window.addEventListener('resize', handleResize);
32712
32706
  return function () {
32713
- // window.removeEventListener('resize', handleResize)
32707
+ window.removeEventListener('resize', handleResize);
32714
32708
  document.body.style.overflow = '';
32715
32709
  };
32716
32710
  }, [ideaNoteVisible]);
@@ -47044,18 +47038,20 @@ var NavigationMenuLevel2 = function NavigationMenuLevel2(_ref5) {
47044
47038
  enter: {
47045
47039
  animation: 'slideDown',
47046
47040
  duration: 200,
47047
- display: 'flex'
47048
- },
47049
- leave: {
47050
- animation: 'slideUp',
47051
- duration: 200
47041
+ display: 'flex',
47042
+ complete: function complete(elements) {
47043
+ elements.forEach(function (el) {
47044
+ el.style.removeProperty("height");
47045
+ });
47046
+ }
47052
47047
  },
47053
47048
  style: {
47054
47049
  marginLeft: '10px',
47055
47050
  marginTop: '3px',
47056
47051
  padding: '0 2px',
47057
47052
  backgroundColor: '#232932',
47058
- borderLeft: '1px solid #8A8886'
47053
+ borderLeft: '1px solid #8A8886',
47054
+ overflow: 'hidden'
47059
47055
  }
47060
47056
  }, hasSubMenuItems && isMenuExpanded ? navItem.subMenuItems.filter(function (item) {
47061
47057
  return typeof item.hidden === 'function' ? !item.hidden() : !item.hidden;