@comicrelief/component-library 8.24.0 → 8.24.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.
@@ -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"
@@ -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.1",
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`
@@ -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