@kineticdata/bundle-tech-bar 5.0.16 → 5.1.0

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/lib/index.js CHANGED
@@ -84,17 +84,15 @@ var _default = /*#__PURE__*/function (_Component) {
84
84
  return _default;
85
85
  }(Component);
86
86
 
87
- _default.shouldSuppressSidebar = function (_ref3) {
87
+ _default.shouldHideHeader = function (_ref3) {
88
88
  var appLocation = _ref3.appLocation,
89
89
  location = _ref3.location;
90
90
  return matchPath(location.pathname, {
91
- path: appLocation
92
- }) && !matchPath(location.pathname, {
93
- path: "".concat(appLocation, "/settings")
91
+ path: "".concat(appLocation, "/display")
94
92
  });
95
93
  };
96
94
 
97
- _default.shouldHideHeader = function (_ref4) {
95
+ _default.shouldHideSidebar = function (_ref4) {
98
96
  var appLocation = _ref4.appLocation,
99
97
  location = _ref4.location;
100
98
  return matchPath(location.pathname, {
@@ -104,4 +102,5 @@ _default.shouldHideHeader = function (_ref4) {
104
102
 
105
103
  _default.hasPublicRoutes = false;
106
104
  _default.bodyClassName = 'package--tech-bar';
105
+ _default.settingsRoute = '/settings';
107
106
  export { _default as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kineticdata/bundle-tech-bar",
3
- "version": "5.0.16",
3
+ "version": "5.1.0",
4
4
  "main": "./lib/index.js",
5
5
  "main:src": "./src/index.js",
6
6
  "files": [
@@ -17,13 +17,12 @@
17
17
  "prepublishOnly": "yarn build"
18
18
  },
19
19
  "dependencies": {
20
- "@kineticdata/bundle-common": "^5.0.16",
21
- "@kineticdata/react": "^5.0.16",
20
+ "@kineticdata/bundle-common": "5.1.0",
21
+ "@kineticdata/react": "5.1.0",
22
22
  "@reach/router": "git://github.com/kineticdata/router.git",
23
23
  "bootstrap": "^4.3.1",
24
24
  "classnames": "^2.2.5",
25
25
  "downloadjs": "^1.4.7",
26
- "font-awesome": "^4.7.0",
27
26
  "immutable": "4.0.0-rc.9",
28
27
  "isarray": "^2.0.2",
29
28
  "md5": "^2.0.0",
@@ -61,5 +60,5 @@
61
60
  "eslintConfig": {
62
61
  "extends": "react-app"
63
62
  },
64
- "gitHead": "08db7a5b4ddbf7aa39e035e8e9e771bab35f6ab2"
63
+ "gitHead": "5040d157c5e19e593fc9f9ca36407058a8d927c5"
65
64
  }