@comicrelief/component-library 8.75.0 → 8.76.0
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 +0 -1
- package/dist/index.es.js +0 -1
- package/package.json +3 -2
- package/src/components/Atoms/InfoMessage/__snapshots__/InfoMessage.test.js.snap +0 -1
- package/src/components/Atoms/Link/Link.style.js +0 -1
- package/src/components/Atoms/Link/Link.test.js +0 -3
- package/src/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +0 -2
- package/src/components/Molecules/CTA/CTAMultiCard/__snapshots__/CTAMultiCard.test.js.snap +0 -4
- package/src/components/Molecules/CTA/CTASingleCard/__snapshots__/CTASingleCard.test.js.snap +0 -2
- package/src/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +0 -1
- package/src/components/Molecules/PartnerLink/PartnerLink.test.js +0 -1
- package/src/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +0 -4
- package/src/components/Organisms/CookieBanner/CookieBanner.test.js +0 -1
- package/src/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +0 -1
- package/src/components/Organisms/FooterNew/__snapshots__/FooterNew.test.js.snap +0 -2
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.
|
|
4
|
+
"version": "8.76.0",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
7
7
|
"files": [
|
|
@@ -44,7 +44,8 @@
|
|
|
44
44
|
"test:e2e:mac:organisms": "playwright test playwright/components/organisms --project=chromium; yarn playwright show-report --port 9324",
|
|
45
45
|
"test:e2e:mac:organisms:emailSignUpForm": "playwright test playwright/components/organisms/emailSignUpForm.spec.js --project=chromium; yarn playwright show-report --port 9324",
|
|
46
46
|
"lint": "eslint src",
|
|
47
|
-
"lint-fix": "yarn lint --fix"
|
|
47
|
+
"lint-fix": "yarn lint --fix",
|
|
48
|
+
"yalc:push": "yarn build && yalc push"
|
|
48
49
|
},
|
|
49
50
|
"peerDependencies": {
|
|
50
51
|
"react": ">=18",
|
|
@@ -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 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,
|
|
@@ -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,
|