@comicrelief/component-library 8.47.2 → 8.47.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.
@@ -145,13 +145,11 @@ import variants from './_variants';
145
145
  </HeroBanner>
146
146
 
147
147
  <HeroBanner
148
- pageBackgroundColour="grey"
149
- textBannerCopyBackgroundColour="deep_violet"
150
148
  variant={variants.TEXT_BANNER}
151
149
  copyColour="white"
152
150
  >
153
151
  <Text tag="h1">
154
- Responsive Text Banner, default padding
152
+ Responsive Text Banner, default padding and colours
155
153
  </Text>
156
154
  <Text tag="p">
157
155
  Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua
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.47.2",
4
+ "version": "8.47.3",
5
5
  "main": "dist/index.js",
6
6
  "license": "ISC",
7
7
  "jest": {
@@ -145,13 +145,11 @@ import variants from './_variants';
145
145
  </HeroBanner>
146
146
 
147
147
  <HeroBanner
148
- pageBackgroundColour="grey"
149
- textBannerCopyBackgroundColour="deep_violet"
150
148
  variant={variants.TEXT_BANNER}
151
149
  copyColour="white"
152
150
  >
153
151
  <Text tag="h1">
154
- Responsive Text Banner, default padding
152
+ Responsive Text Banner, default padding and colours
155
153
  </Text>
156
154
  <Text tag="p">
157
155
  Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua
@@ -142,7 +142,6 @@ const Copy = styled.div`
142
142
  : theme.color('white')
143
143
  )};
144
144
 
145
-
146
145
  ${({ variant, theme }) => (variant !== variants.TEXT_BANNER && `
147
146
  @media ${theme.breakpoints2026('L')} {
148
147
  padding: 2rem 2rem 1.75rem;