@comicrelief/component-library 7.18.1 → 7.18.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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- Comic Relief React Component Library
1
+ Comic Relief React Component Library
2
2
  --------------
3
3
 
4
4
  [![GitHub Actions](https://github.com/comicrelief/component-library/actions/workflows/main.yml/badge.svg)](https://github.com/comicrelief/component-library/actions)
@@ -17,12 +17,12 @@ $ yarn add @comicrelief/component-library
17
17
 
18
18
  #### Wrap your app with the ThemeProvider and crTheme
19
19
  ```
20
- import { ThemeProvider, crTheme } from '@comic-relief/component-library';
20
+ import { ThemeProvider, crTheme } from '@comicrelief/component-library';
21
21
  ```
22
22
 
23
23
  #### Import components
24
24
  ```
25
- import { HeroBanner } from '@comic-relief/component-library';
25
+ import { HeroBanner } from '@comicrelief/component-library';
26
26
  ```
27
27
 
28
28
  ### Develop
@@ -51,7 +51,7 @@ exports.Nav = Nav;
51
51
  var SubNavMenu = _styledComponents.default.ul.withConfig({
52
52
  displayName: "Navstyle__SubNavMenu",
53
53
  componentId: "sc-1ss3uk2-2"
54
- })(["display:", ";padding:0;position:relative;list-style:none outside;left:0;top:0;flex-direction:column;justify-content:center;align-items:center;max-height:400px;background-color:", ";@media ", "{display:none;display:", ";top:90px;position:absolute;padding:0 0 20px;width:250px;height:auto;}"], function (_ref5) {
54
+ })(["display:", ";padding:0;position:relative;list-style:none outside;left:0;top:0;flex-direction:column;justify-content:center;align-items:center;background-color:", ";@media ", "{display:none;display:", ";top:90px;position:absolute;padding:0 0 20px;width:250px;height:auto;}"], function (_ref5) {
55
55
  var isSubMenuOpen = _ref5.isSubMenuOpen;
56
56
  return isSubMenuOpen ? 'flex' : 'none';
57
57
  }, function (_ref6) {
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": "7.18.1",
4
+ "version": "7.18.3",
5
5
  "main": "dist/index.js",
6
6
  "license": "ISC",
7
7
  "jest": {
@@ -65,7 +65,6 @@ const SubNavMenu = styled.ul`
65
65
  flex-direction: column;
66
66
  justify-content: center;
67
67
  align-items: center;
68
- max-height: 400px;
69
68
  background-color: ${({ theme }) => theme.color('deep_violet_dark')};
70
69
 
71
70
  @media ${({ theme }) => theme.breakpoint('nav')} {