@comicrelief/component-library 8.33.0 → 8.33.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.
@@ -11,7 +11,7 @@ var _Text = _interopRequireDefault(require("../Text/Text"));
11
11
  const ErrorIcon = _styledComponents.default.span.withConfig({
12
12
  displayName: "ErrorText__ErrorIcon",
13
13
  componentId: "sc-19bj17r-0"
14
- })(["display:inline-block;width:100%;z-index:1;font-weight:bold;padding:0.6rem 0 1rem;"]);
14
+ })(["display:inline-block;width:100%;z-index:1;font-weight:bold;margin-top:0.6rem;"]);
15
15
  const ErrorText = _ref => {
16
16
  let {
17
17
  children,
@@ -15,7 +15,7 @@ exports[`renders correctly 1`] = `
15
15
  width: 100%;
16
16
  z-index: 1;
17
17
  font-weight: bold;
18
- padding: 0.6rem 0 1rem;
18
+ margin-top: 0.6rem;
19
19
  }
20
20
 
21
21
  <span
@@ -9,7 +9,6 @@ exports.InnerWrapper = exports.Header2025Wrapper = exports.Header2025MetaIcons =
9
9
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
10
10
  var _zIndex = _interopRequireDefault(require("../../../theme/shared/zIndex"));
11
11
  var _containers = _interopRequireDefault(require("../../../theme/shared/containers"));
12
- require("./annoying.css");
13
12
  const Header2025Wrapper = exports.Header2025Wrapper = _styledComponents.default.header.attrs(() => ({
14
13
  role: 'banner'
15
14
  })).withConfig({
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.33.0",
4
+ "version": "8.33.1",
5
5
  "main": "dist/index.js",
6
6
  "license": "ISC",
7
7
  "jest": {
@@ -8,7 +8,7 @@ const ErrorIcon = styled.span`
8
8
  width: 100%;
9
9
  z-index: 1;
10
10
  font-weight: bold;
11
- padding: 0.6rem 0 1rem;
11
+ margin-top: 0.6rem;
12
12
  `;
13
13
 
14
14
  const ErrorText = ({ children, ...rest }) => (
@@ -15,7 +15,7 @@ exports[`renders correctly 1`] = `
15
15
  width: 100%;
16
16
  z-index: 1;
17
17
  font-weight: bold;
18
- padding: 0.6rem 0 1rem;
18
+ margin-top: 0.6rem;
19
19
  }
20
20
 
21
21
  <span
@@ -3,8 +3,6 @@ import styled, { css } from 'styled-components';
3
3
  import zIndex from '../../../theme/shared/zIndex';
4
4
  import containers from '../../../theme/shared/containers';
5
5
 
6
- import './annoying.css';
7
-
8
6
  const Header2025Wrapper = styled.header.attrs(() => ({
9
7
  role: 'banner'
10
8
  }))`
@@ -1,14 +0,0 @@
1
- /* Overiding the crummy Styleguidest styles */
2
- .rsg--preview-35 {
3
- padding: 0 !important;
4
- border: none !important;
5
- }
6
-
7
- .rsg--content-3 {
8
- padding: 0 !important;
9
- }
10
-
11
- .rsg--header-11,
12
- .rsg--tabs-12 {
13
- display: none !important;
14
- }
@@ -1,14 +0,0 @@
1
- /* Overiding the crummy Styleguidest styles */
2
- .rsg--preview-35 {
3
- padding: 0 !important;
4
- border: none !important;
5
- }
6
-
7
- .rsg--content-3 {
8
- padding: 0 !important;
9
- }
10
-
11
- .rsg--header-11,
12
- .rsg--tabs-12 {
13
- display: none !important;
14
- }
@@ -1,14 +0,0 @@
1
- /* Overiding the crummy Styleguidest styles */
2
- .rsg--preview-35 {
3
- padding: 0 !important;
4
- border: none !important;
5
- }
6
-
7
- .rsg--content-3 {
8
- padding: 0 !important;
9
- }
10
-
11
- .rsg--header-11,
12
- .rsg--tabs-12 {
13
- display: none !important;
14
- }
@@ -1,14 +0,0 @@
1
- /* Overiding the crummy Styleguidest styles */
2
- .rsg--preview-35 {
3
- padding: 0 !important;
4
- border: none !important;
5
- }
6
-
7
- .rsg--content-3 {
8
- padding: 0 !important;
9
- }
10
-
11
- .rsg--header-11,
12
- .rsg--tabs-12 {
13
- display: none !important;
14
- }