@learningpool/ui 1.8.0 → 1.8.1

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.
@@ -5,8 +5,8 @@ var DEFAULT_COLOR_ADJUST_AMOUNT = 0.1;
5
5
  * @returns string
6
6
  */
7
7
  export var getNavigationBackground = function (theme) {
8
- var _a;
9
- return (_a = theme.palette.navigation.background) !== null && _a !== void 0 ? _a : theme.palette.background.paper;
8
+ var _a, _b;
9
+ return (_b = (_a = theme.palette.navigation) === null || _a === void 0 ? void 0 : _a.background) !== null && _b !== void 0 ? _b : theme.palette.background.paper;
10
10
  };
11
11
  /**
12
12
  * Returns the contrast color for the navigation
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "components",
10
10
  "ui"
11
11
  ],
12
- "version": "1.8.0",
12
+ "version": "1.8.1",
13
13
  "private": false,
14
14
  "main": "index.js",
15
15
  "module": "index.js",