@comicrelief/component-library 8.24.0 → 8.24.2

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.
@@ -34,7 +34,7 @@ const TopCopyWrapper = exports.TopCopyWrapper = _styledComponents.default.div.wi
34
34
  const BottomCopyWrapper = exports.BottomCopyWrapper = _styledComponents.default.div.withConfig({
35
35
  displayName: "MarketingPreferencesDSstyle__BottomCopyWrapper",
36
36
  componentId: "sc-68n85q-2"
37
- })(["margin:", " 0;"], (0, _spacing.default)('md'));
37
+ })(["margin:", " 0;text-align:center;"], (0, _spacing.default)('md'));
38
38
  const CheckboxWrapper = exports.CheckboxWrapper = _styledComponents.default.div.withConfig({
39
39
  displayName: "MarketingPreferencesDSstyle__CheckboxWrapper",
40
40
  componentId: "sc-68n85q-3"
@@ -82,7 +82,7 @@ const CheckInput = exports.CheckInput = _styledComponents.default.input.withConf
82
82
  let {
83
83
  theme
84
84
  } = _ref6;
85
- return theme.color('grey_for_forms');
85
+ return theme.color('grey');
86
86
  }, _ref7 => {
87
87
  let {
88
88
  theme
@@ -92,7 +92,7 @@ const CheckInput = exports.CheckInput = _styledComponents.default.input.withConf
92
92
  let {
93
93
  theme
94
94
  } = _ref8;
95
- return theme.color('black');
95
+ return theme.color('grey');
96
96
  }, _CR_Tick_black.default, _ref9 => {
97
97
  let {
98
98
  theme
@@ -26,6 +26,7 @@ const defaultCopyTop = exports.defaultCopyTop = /*#__PURE__*/_react.default.crea
26
26
  }, "Please tick the relevant boxes below if you would like to hear from us."));
27
27
  const defaultCopyBottom = exports.defaultCopyBottom = /*#__PURE__*/_react.default.createElement(_Text.default, {
28
28
  tag: "p",
29
+ size: "xs",
29
30
  color: "grey_dark"
30
31
  }, "Update your preferences at any time by visiting our", ' ', /*#__PURE__*/_react.default.createElement(_Link.default, {
31
32
  type: "standard",
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.24.0",
4
+ "version": "8.24.2",
5
5
  "main": "dist/index.js",
6
6
  "license": "ISC",
7
7
  "jest": {
@@ -23,7 +23,7 @@ const OuterWrapper = styled.div`
23
23
  height: 0;
24
24
  overflow: hidden;
25
25
  z-index: -1;
26
- content:
26
+ content:
27
27
  url(${EmailIconWhite})
28
28
  url(${PhoneIconWhite})
29
29
  url(${PostIconWhite})
@@ -43,6 +43,7 @@ const TopCopyWrapper = styled.div`
43
43
 
44
44
  const BottomCopyWrapper = styled.div`
45
45
  margin: ${spacing('md')} 0;
46
+ text-align: center;
46
47
  `;
47
48
 
48
49
  const CheckboxWrapper = styled.div`
@@ -176,12 +177,12 @@ const CheckInput = styled.input`
176
177
  left: 0;
177
178
  top:0;
178
179
  margin: 0;
179
- border: 1px solid ${({ theme }) => theme.color('grey_for_forms')};
180
+ border: 1px solid ${({ theme }) => theme.color('grey')};
180
181
  + span {
181
182
  width: 30px;
182
183
  height: 30px;
183
184
  background-color: ${({ theme }) => theme.color('white')};
184
- border: 1px solid ${({ theme }) => theme.color('black')};
185
+ border: 1px solid ${({ theme }) => theme.color('grey')};
185
186
  float: left;
186
187
  border-radius: 8px;
187
188
  }
@@ -18,7 +18,7 @@ const defaultCopyTop = (
18
18
  );
19
19
 
20
20
  const defaultCopyBottom = (
21
- <Text tag="p" color="grey_dark">
21
+ <Text tag="p" size="xs" color="grey_dark">
22
22
  Update your preferences at any time by visiting our
23
23
  {' '}
24
24
  <Link