@comicrelief/component-library 8.75.0 → 8.75.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.
package/dist/index.cjs.js CHANGED
@@ -738,7 +738,6 @@ function print() { __p += __j.call(arguments, '') }
738
738
  position: relative;
739
739
  display: inline;
740
740
  ${({type:e,theme:t})=>e?t.linkStyles(e):t.linkStyles("standard")};
741
- ${({$color:e,theme:t})=>e&&v.css`color: ${t.color(e)};`}
742
741
  `,gT=v.span`
743
742
  display: inline-flex;
744
743
  margin-left: ${L("md")};
package/dist/index.es.js CHANGED
@@ -6926,7 +6926,6 @@ const IO = Yn(b8), PO = () => oe`
6926
6926
  position: relative;
6927
6927
  display: inline;
6928
6928
  ${({ type: e, theme: t }) => e ? t.linkStyles(e) : t.linkStyles("standard")};
6929
- ${({ $color: e, theme: t }) => e && oe`color: ${t.color(e)};`}
6930
6929
  `, NO = C.span`
6931
6930
  display: inline-flex;
6932
6931
  margin-left: ${L("md")};
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.75.0",
4
+ "version": "8.75.1",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
7
7
  "files": [
@@ -58,7 +58,6 @@ exports[`renders coral_light variant with message containing a link 1`] = `
58
58
  display: inline;
59
59
  color: #000000;
60
60
  font-weight: normal;
61
- color: #E52630;
62
61
  }
63
62
 
64
63
  .c4:hover,
@@ -48,7 +48,6 @@ const linkStyle = () => css`
48
48
  ${({ type, theme }) => (type
49
49
  ? theme.linkStyles(type)
50
50
  : theme.linkStyles('standard'))};
51
- ${({ $color, theme }) => $color && css`color: ${theme.color($color)};`}
52
51
  `;
53
52
 
54
53
  export const IconWrapper = styled.span`
@@ -17,7 +17,6 @@ it('renders a standard styled link correctly', () => {
17
17
  display: inline;
18
18
  color: #000000;
19
19
  font-weight: normal;
20
- color: #E52630;
21
20
  }
22
21
 
23
22
  .c0:hover,
@@ -70,7 +69,6 @@ it('renders a button with an icon', () => {
70
69
  display: inline;
71
70
  color: #000000;
72
71
  font-weight: normal;
73
- color: #E52630;
74
72
  }
75
73
 
76
74
  .c0:hover,
@@ -140,7 +138,6 @@ it('renders a standard styled link correctly with target blank and assistive tex
140
138
  display: inline;
141
139
  color: #000000;
142
140
  font-weight: normal;
143
- color: #E52630;
144
141
  }
145
142
 
146
143
  .c0:hover,
@@ -72,7 +72,6 @@ it('renders article teaser correctly', () => {
72
72
  display: inline;
73
73
  color: #000000;
74
74
  font-weight: normal;
75
- color: #E52630;
76
75
  }
77
76
 
78
77
  .c1:hover,
@@ -522,7 +521,6 @@ it('renders press realese correctly', () => {
522
521
  display: inline;
523
522
  color: #000000;
524
523
  font-weight: normal;
525
- color: #E52630;
526
524
  }
527
525
 
528
526
  .c1:hover,
@@ -20,7 +20,6 @@ exports[`handles data structure correctly 1`] = `
20
20
  display: inline;
21
21
  color: #000000;
22
22
  font-weight: normal;
23
- color: #E52630;
24
23
  }
25
24
 
26
25
  .c5:hover,
@@ -700,7 +699,6 @@ exports[`renders 2 columns layout correctly 1`] = `
700
699
  display: inline;
701
700
  color: #000000;
702
701
  font-weight: normal;
703
- color: #E52630;
704
702
  }
705
703
 
706
704
  .c5:hover,
@@ -1406,7 +1404,6 @@ exports[`renders carousel mode correctly 1`] = `
1406
1404
  display: inline;
1407
1405
  color: #000000;
1408
1406
  font-weight: normal;
1409
- color: #E52630;
1410
1407
  }
1411
1408
 
1412
1409
  .c5:hover,
@@ -2092,7 +2089,6 @@ exports[`renders correctly with data prop 1`] = `
2092
2089
  display: inline;
2093
2090
  color: #000000;
2094
2091
  font-weight: normal;
2095
- color: #E52630;
2096
2092
  }
2097
2093
 
2098
2094
  .c5:hover,
@@ -20,7 +20,6 @@ exports[`renders correctly with data prop 1`] = `
20
20
  display: inline;
21
21
  color: #000000;
22
22
  font-weight: normal;
23
- color: #E52630;
24
23
  }
25
24
 
26
25
  .c3:hover,
@@ -494,7 +493,6 @@ exports[`renders correctly without image 1`] = `
494
493
  display: inline;
495
494
  color: #000000;
496
495
  font-weight: normal;
497
- color: #E52630;
498
496
  }
499
497
 
500
498
  .c3:hover,
@@ -44,7 +44,6 @@ exports[`renders correctly 1`] = `
44
44
  display: inline;
45
45
  color: #000000;
46
46
  font-weight: normal;
47
- color: #E52630;
48
47
  }
49
48
 
50
49
  .c4:hover,
@@ -42,7 +42,6 @@ it('renders correctly', () => {
42
42
  display: inline;
43
43
  color: #000000;
44
44
  font-weight: normal;
45
- color: #E52630;
46
45
  }
47
46
 
48
47
  .c0:hover,
@@ -44,7 +44,6 @@ exports[`renders correctly in minimalist form 1`] = `
44
44
  display: inline;
45
45
  color: #000000;
46
46
  font-weight: normal;
47
- color: #E52630;
48
47
  }
49
48
 
50
49
  .c1:hover,
@@ -257,7 +256,6 @@ exports[`renders correctly with copy 1`] = `
257
256
  display: inline;
258
257
  color: #000000;
259
258
  font-weight: normal;
260
- color: #E52630;
261
259
  }
262
260
 
263
261
  .c1:hover,
@@ -470,7 +468,6 @@ exports[`renders correctly with date 1`] = `
470
468
  display: inline;
471
469
  color: #000000;
472
470
  font-weight: normal;
473
- color: #E52630;
474
471
  }
475
472
 
476
473
  .c1:hover,
@@ -664,7 +661,6 @@ exports[`renders correctly with date and type 1`] = `
664
661
  display: inline;
665
662
  color: #000000;
666
663
  font-weight: normal;
667
- color: #E52630;
668
664
  }
669
665
 
670
666
  .c1:hover,
@@ -42,7 +42,6 @@ it('renders correctly', () => {
42
42
  display: inline;
43
43
  color: #FFFFFF;
44
44
  font-weight: normal;
45
- color: #E52630;
46
45
  }
47
46
 
48
47
  .c3:hover,
@@ -103,7 +103,6 @@ exports[`renders correctly 1`] = `
103
103
  display: inline;
104
104
  color: #000000;
105
105
  font-weight: normal;
106
- color: #E52630;
107
106
  }
108
107
 
109
108
  .c8:hover,
@@ -175,7 +175,6 @@ exports[`does not render copyright text when not supplied 1`] = `
175
175
  display: inline;
176
176
  color: #000000;
177
177
  font-weight: normal;
178
- color: #E52630;
179
178
  }
180
179
 
181
180
  .c3:hover,
@@ -1500,7 +1499,6 @@ exports[`renders correctly 1`] = `
1500
1499
  display: inline;
1501
1500
  color: #000000;
1502
1501
  font-weight: normal;
1503
- color: #E52630;
1504
1502
  }
1505
1503
 
1506
1504
  .c3:hover,