@thecb/components 3.3.2 → 3.3.3

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/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ nodejs 10.13.0
package/dist/index.cjs.js CHANGED
@@ -34147,8 +34147,10 @@ var Module = function Module(_ref) {
34147
34147
  var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$r, "default"));
34148
34148
 
34149
34149
  var backgroundColor$6 = "#3b414d";
34150
+ var shadowColor = "#292A33";
34150
34151
  var fallbackValues$s = {
34151
- backgroundColor: backgroundColor$6
34152
+ backgroundColor: backgroundColor$6,
34153
+ shadowColor: shadowColor
34152
34154
  };
34153
34155
 
34154
34156
  var NavMenuDesktop = function NavMenuDesktop(_ref) {
@@ -34177,7 +34179,7 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
34177
34179
  extraStyles: "position: relative; ".concat(menuCarat),
34178
34180
  background: themeValues.backgroundColor,
34179
34181
  borderRadius: "5px",
34180
- boxShadow: "0px 3px 8px 0px ".concat(themeValues.backgroundColor, ", 0px 2px 14px 0px ").concat(themeValues.backgroundColor, ";"),
34182
+ boxShadow: "0px 3px 8px 0px ".concat(themeValues.shadowColor, ", 0px 2px 14px 0px ").concat(themeValues.shadowColor, ";"),
34181
34183
  onMouseEnter: onMouseEnter,
34182
34184
  onMouseLeave: onMouseLeave,
34183
34185
  onFocus: onFocus,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "3.3.2",
3
+ "version": "3.3.3",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -1,5 +1,7 @@
1
1
  const backgroundColor = "#3b414d";
2
+ const shadowColor = "#292A33";
2
3
 
3
4
  export const fallbackValues = {
4
- backgroundColor
5
+ backgroundColor,
6
+ shadowColor
5
7
  };
@@ -24,7 +24,7 @@ const NavMenuDesktop = ({
24
24
  extraStyles={`position: relative; ${menuCarat}`}
25
25
  background={themeValues.backgroundColor}
26
26
  borderRadius="5px"
27
- boxShadow={`0px 3px 8px 0px ${themeValues.backgroundColor}, 0px 2px 14px 0px ${themeValues.backgroundColor};`}
27
+ boxShadow={`0px 3px 8px 0px ${themeValues.shadowColor}, 0px 2px 14px 0px ${themeValues.shadowColor};`}
28
28
  onMouseEnter={onMouseEnter}
29
29
  onMouseLeave={onMouseLeave}
30
30
  onFocus={onFocus}