@copart/ops-tool-kit 1.12.0-alpha.11 → 1.12.0-alpha.13

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.0-alpha.11";
35
+ const version$7 = "1.12.0-alpha.13";
36
36
  const main$1 = "dist/ops-tool-kit.js";
37
37
  const style = "dist/ops-tool-kit.css";
38
38
  const files = [
@@ -5374,22 +5374,23 @@ var getConfig = /*#__PURE__*/function () {
5374
5374
  response = _context.sent;
5375
5375
  config = response.data.data; // Fill in values needed for access checks.
5376
5376
  config.tiles = hydrateTiles(config.tiles);
5377
+ config.tileOverrides = hydrateTiles(config.tileOverrides);
5377
5378
  return _context.abrupt("return", config);
5378
- case 11:
5379
- _context.prev = 11;
5379
+ case 12:
5380
+ _context.prev = 12;
5380
5381
  _context.t0 = _context["catch"](0);
5381
5382
  if (!JSON.stringify(_context.t0.response.data).includes('503')) {
5382
- _context.next = 17;
5383
+ _context.next = 18;
5383
5384
  break;
5384
5385
  }
5385
5386
  return _context.abrupt("return", Promise.reject(new Error('Fetch Error, Please make sure you are on the Copart network')));
5386
- case 17:
5387
- Promise.reject(_context.t0);
5388
5387
  case 18:
5388
+ Promise.reject(_context.t0);
5389
+ case 19:
5389
5390
  case "end":
5390
5391
  return _context.stop();
5391
5392
  }
5392
- }, _callee, null, [[0, 11]]);
5393
+ }, _callee, null, [[0, 12]]);
5393
5394
  }));
5394
5395
  return function getConfig(_x) {
5395
5396
  return _ref.apply(this, arguments);
@@ -45855,7 +45856,9 @@ var NavigationMenu = function NavigationMenu(_ref3) {
45855
45856
  className: _getClassName("NavMenu", _styleModuleImportMap$1, {
45856
45857
  "handleMissingStyleName": "warn"
45857
45858
  })
45858
- }, navItems.map(function (item) {
45859
+ }, navItems.filter(function (item) {
45860
+ return typeof item.hidden === 'function' ? !item.hidden() : !item.hidden;
45861
+ }).map(function (item) {
45859
45862
  var NavComponent = configDepth === 3 && !item.isLandingPage ? NavigationMenuLevel1 : NavigationMenuLevel2;
45860
45863
  return /*#__PURE__*/React__default["default"].createElement(NavComponent, {
45861
45864
  key: item.name,