@comicrelief/component-library 7.34.0 → 7.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.
@@ -23,7 +23,7 @@ const ChevronKeyframes = (0, _styledComponents.keyframes)(["0%{margin-top:0rem;}
23
23
  const Button = _styledComponents.default.button.withConfig({
24
24
  displayName: "Accordion__Button",
25
25
  componentId: "sc-19u0s0h-1"
26
- })(["display:flex;justify-content:space-between;align-items:center;width:100%;background:none;border:none;transition:bottom 0.1s linear;cursor:pointer;&:focus,&:hover{color:inherit;outline:none;> div{animation-name:", ";animation-duration:0.4s;}}padding:", ";@media ", "{padding:", " ", ";}"], props => props.ChevronKeyframes, (0, _spacing.default)('l'), _ref2 => {
26
+ })(["display:flex;justify-content:space-between;align-items:center;width:100%;background:none;border:none;transition:bottom 0.1s linear;cursor:pointer;text-align:left;&:focus,&:hover{color:inherit;outline:none;> div{animation-name:", ";animation-duration:0.4s;}}padding:", ";@media ", "{padding:", " ", ";}"], props => props.ChevronKeyframes, (0, _spacing.default)('l'), _ref2 => {
27
27
  let {
28
28
  theme
29
29
  } = _ref2;
@@ -47,6 +47,7 @@ exports[`renders correctly 1`] = `
47
47
  -webkit-transition: bottom 0.1s linear;
48
48
  transition: bottom 0.1s linear;
49
49
  cursor: pointer;
50
+ text-align: left;
50
51
  padding: 2rem;
51
52
  }
52
53
 
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.34.0",
4
+ "version": "7.34.1",
5
5
  "main": "dist/index.js",
6
6
  "license": "ISC",
7
7
  "jest": {
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "scripts": {
56
56
  "test:unit": "yarn run jest",
57
- "test:unit-update": "yarn jest -u",
57
+ "test:unit:update": "yarn jest -u",
58
58
  "styleguide": "cross-env FAST_REFRESH=false styleguidist server",
59
59
  "styleguide:build": "styleguidist build",
60
60
  "postinstall": "yarn run build",
@@ -26,6 +26,7 @@ const Button = styled.button`
26
26
  border: none;
27
27
  transition: bottom 0.1s linear;
28
28
  cursor: pointer;
29
+ text-align: left;
29
30
 
30
31
  &:focus,
31
32
  &:hover {
@@ -47,6 +47,7 @@ exports[`renders correctly 1`] = `
47
47
  -webkit-transition: bottom 0.1s linear;
48
48
  transition: bottom 0.1s linear;
49
49
  cursor: pointer;
50
+ text-align: left;
50
51
  padding: 2rem;
51
52
  }
52
53