@comicrelief/component-library 8.34.0 → 8.34.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.
@@ -12,7 +12,7 @@ var _spacing = _interopRequireDefault(require("../../../../theme/shared/spacing"
12
12
  const NavLinkClass = (0, _styledComponents.default)(_Link.default).withConfig({
13
13
  displayName: "Navstyle__NavLinkClass",
14
14
  componentId: "sc-uzf5hs-0"
15
- })(["border:0;height:46px;width:100%;background-color:", ";&:hover,&:focus{border-bottom:none;}"], _ref => {
15
+ })(["border:0;height:46px;width:100%;background-color:", ";text-decoration:none;&:hover,&:focus{border-bottom:none;}"], _ref => {
16
16
  let {
17
17
  theme
18
18
  } = _ref;
@@ -115,7 +115,7 @@ const NavMenu = exports.NavMenu = _styledComponents.default.ul.withConfig({
115
115
  const NavLink = exports.NavLink = (0, _styledComponents.default)(NavLinkClass).withConfig({
116
116
  displayName: "Navstyle__NavLink",
117
117
  componentId: "sc-uzf5hs-6"
118
- })([""]);
118
+ })(["text-decoration:none;"]);
119
119
 
120
120
  /**
121
121
  * Menu list items
@@ -131,6 +131,8 @@ exports[`renders correctly 1`] = `
131
131
  height: 46px;
132
132
  width: 100%;
133
133
  background-color: #2C0230;
134
+ -webkit-text-decoration: none;
135
+ text-decoration: none;
134
136
  }
135
137
 
136
138
  .c18:hover,
@@ -12,7 +12,7 @@ var _zIndex = _interopRequireDefault(require("../../../../theme/shared/zIndex"))
12
12
  const NavLinkClass = (0, _styledComponents.default)(_Link.default).withConfig({
13
13
  displayName: "Navstyle__NavLinkClass",
14
14
  componentId: "sc-1ss3uk2-0"
15
- })(["display:inline-block;border:0;padding:17px 20px;line-height:1.3rem;height:46px;font-weight:700;width:100%;color:", ";:hover{border:0;color:", ";font-weight:inherit;}"], _ref => {
15
+ })(["display:inline-block;border:0;padding:17px 20px;line-height:1.3rem;height:46px;font-weight:700;width:100%;color:", ";text-decoration:none;:hover{border:0;color:", ";font-weight:inherit;}"], _ref => {
16
16
  let {
17
17
  theme
18
18
  } = _ref;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@comicrelief/component-library",
3
3
  "author": "Comic Relief Engineering Team",
4
- "version": "8.34.0",
4
+ "version": "8.34.1",
5
5
  "main": "dist/index.js",
6
6
  "license": "ISC",
7
7
  "jest": {
@@ -8,7 +8,7 @@ const NavLinkClass = styled(Link)`
8
8
  height: 46px;
9
9
  width: 100%;
10
10
  background-color: ${({ theme }) => theme.color('deep_violet_dark')};
11
-
11
+ text-decoration: none;
12
12
  &:hover,
13
13
  &:focus {
14
14
  border-bottom: none;
@@ -133,7 +133,9 @@ const NavMenu = styled.ul`
133
133
  /**
134
134
  * Menu item link
135
135
  */
136
- const NavLink = styled(NavLinkClass)``;
136
+ const NavLink = styled(NavLinkClass)`
137
+ text-decoration: none;
138
+ `;
137
139
 
138
140
  /**
139
141
  * Menu list items
@@ -131,6 +131,8 @@ exports[`renders correctly 1`] = `
131
131
  height: 46px;
132
132
  width: 100%;
133
133
  background-color: #2C0230;
134
+ -webkit-text-decoration: none;
135
+ text-decoration: none;
134
136
  }
135
137
 
136
138
  .c18:hover,
@@ -13,6 +13,7 @@ const NavLinkClass = styled(Link)`
13
13
  font-weight: 700;
14
14
  width: 100%;
15
15
  color: ${({ theme }) => theme.color('deep_violet_dark')};
16
+ text-decoration: none;
16
17
  :hover {
17
18
  border: 0;
18
19
  color: ${({ theme }) => theme.color('deep_violet_dark')};