Skip to content

Commit

Permalink
Merge pull request #9735 from bbc/renovate/psammead-minor-patch
Browse files Browse the repository at this point in the history
Update all BBC non-major dependencies
  • Loading branch information
DarioR01 authored Dec 14, 2021
2 parents b4c7ead + 168ad09 commit 56db6ae
Show file tree
Hide file tree
Showing 12 changed files with 631 additions and 116 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"@bbc/psammead-assets": "3.1.10",
"@bbc/psammead-brand": "7.3.15",
"@bbc/psammead-bulleted-list": "3.1.9",
"@bbc/psammead-bulletin": "5.0.52",
"@bbc/psammead-bulletin": "5.0.53",
"@bbc/psammead-byline": "3.0.29",
"@bbc/psammead-calendars": "2.0.27",
"@bbc/psammead-caption": "4.1.23",
Expand All @@ -99,7 +99,7 @@
"@bbc/psammead-live-label": "2.0.32",
"@bbc/psammead-locales": "5.0.7",
"@bbc/psammead-media-indicator": "6.1.13",
"@bbc/psammead-navigation": "9.2.15",
"@bbc/psammead-navigation": "9.2.16",
"@bbc/psammead-paragraph": "4.0.27",
"@bbc/psammead-play-button": "3.0.32",
"@bbc/psammead-rich-text-transforms": "2.0.6",
Expand Down
77 changes: 66 additions & 11 deletions src/app/Layouts/__snapshots__/defaultPageWrapper.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1245,120 +1245,175 @@ exports[`defaultPageWrapper should render default page wrapper with children 1`]
role="listitem"
>
<a
aria-labelledby="dropdownNavigation-home"
class="emotion-97 emotion-98"
href="/news"
>
Home
<span
id="dropdownNavigation-home"
>
Home
</span>
</a>
</li>
<li
class="emotion-95 emotion-96"
role="listitem"
>
<a
aria-labelledby="dropdownNavigation-uk"
class="emotion-97 emotion-98"
href="/news/uk"
>
UK
<span
id="dropdownNavigation-uk"
>
UK
</span>
</a>
</li>
<li
class="emotion-95 emotion-96"
role="listitem"
>
<a
aria-labelledby="dropdownNavigation-world"
class="emotion-97 emotion-98"
href="/news/world"
>
World
<span
id="dropdownNavigation-world"
>
World
</span>
</a>
</li>
<li
class="emotion-95 emotion-96"
role="listitem"
>
<a
aria-labelledby="dropdownNavigation-business"
class="emotion-97 emotion-98"
href="/news/business"
>
Business
<span
id="dropdownNavigation-business"
>
Business
</span>
</a>
</li>
<li
class="emotion-95 emotion-96"
role="listitem"
>
<a
aria-labelledby="dropdownNavigation-politics"
class="emotion-97 emotion-98"
href="/news/politics"
>
Politics
<span
id="dropdownNavigation-politics"
>
Politics
</span>
</a>
</li>
<li
class="emotion-95 emotion-96"
role="listitem"
>
<a
aria-labelledby="dropdownNavigation-tech"
class="emotion-97 emotion-98"
href="/news/technology"
>
Tech
<span
id="dropdownNavigation-tech"
>
Tech
</span>
</a>
</li>
<li
class="emotion-95 emotion-96"
role="listitem"
>
<a
aria-labelledby="dropdownNavigation-science"
class="emotion-97 emotion-98"
href="/news/science_and_environment"
>
Science
<span
id="dropdownNavigation-science"
>
Science
</span>
</a>
</li>
<li
class="emotion-95 emotion-96"
role="listitem"
>
<a
aria-labelledby="dropdownNavigation-health"
class="emotion-97 emotion-98"
href="/news/health"
>
Health
<span
id="dropdownNavigation-health"
>
Health
</span>
</a>
</li>
<li
class="emotion-95 emotion-96"
role="listitem"
>
<a
aria-labelledby="dropdownNavigation-family-&-education"
class="emotion-97 emotion-98"
href="/news/education"
>
Family & Education
<span
id="dropdownNavigation-family-&-education"
>
Family & Education
</span>
</a>
</li>
<li
class="emotion-95 emotion-96"
role="listitem"
>
<a
aria-labelledby="dropdownNavigation-entertainment-&-arts"
class="emotion-97 emotion-98"
href="/news/entertainment_and_arts"
>
Entertainment & Arts
<span
id="dropdownNavigation-entertainment-&-arts"
>
Entertainment & Arts
</span>
</a>
</li>
<li
class="emotion-95 emotion-96"
role="listitem"
>
<a
aria-labelledby="dropdownNavigation-stories"
class="emotion-97 emotion-98"
href="/news/stories"
>
Stories
<span
id="dropdownNavigation-stories"
>
Stories
</span>
</a>
</li>
</ul>
Expand Down
10 changes: 10 additions & 0 deletions src/app/containers/Bulletin/__snapshots__/index.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -318,10 +318,12 @@ exports[`Bulletin Container snapshots should render a Live Radio bulletin correc
dir="ltr"
>
<a
aria-labelledby="bulletin-TestRadioBulletinpromo"
class="emotion-10 emotion-11"
href="https://www.bbc.co.uk/news"
>
<span
id="bulletin-TestRadioBulletinpromo"
role="text"
>
<span
Expand Down Expand Up @@ -700,10 +702,12 @@ exports[`Bulletin Container snapshots should render a Live TV bulletin correctly
dir="ltr"
>
<a
aria-labelledby="bulletin-TestTVBulletinpromo"
class="emotion-10 emotion-11"
href="https://www.bbc.co.uk/news"
>
<span
id="bulletin-TestTVBulletinpromo"
role="text"
>
<span
Expand Down Expand Up @@ -1067,10 +1071,12 @@ exports[`Bulletin Container snapshots should render a Radio bulletin correctly 1
dir="ltr"
>
<a
aria-labelledby="bulletin-TestRadioBulletinpromo"
class="emotion-10 emotion-11"
href="https://www.bbc.co.uk/news"
>
<span
id="bulletin-TestRadioBulletinpromo"
role="text"
>
<span
Expand Down Expand Up @@ -1434,10 +1440,12 @@ exports[`Bulletin Container snapshots should render a TV bulletin correctly 1`]
dir="ltr"
>
<a
aria-labelledby="bulletin-TestTVBulletinpromo"
class="emotion-10 emotion-11"
href="https://www.bbc.co.uk/news"
>
<span
id="bulletin-TestTVBulletinpromo"
role="text"
>
<span
Expand Down Expand Up @@ -1798,10 +1806,12 @@ exports[`Bulletin Container snapshots should render a TV bulletin with lang attr
dir="ltr"
>
<a
aria-labelledby="bulletin-TestTVBulletinpromo"
class="emotion-10 emotion-11"
href="https://www.bbc.co.uk/news"
>
<span
id="bulletin-TestTVBulletinpromo"
role="text"
>
<span
Expand Down
2 changes: 1 addition & 1 deletion src/app/containers/Bulletin/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ const BulletinContainer = ({ item, lazyLoadImage }) => {
// This offscreen text should come from a fully translated string.
// https://github.com/bbc/simorgh/issues/5626
const offScreenText = isLive ? `${ctaText} Live` : ctaText;

return (
<Bulletin
script={script}
Expand All @@ -102,6 +101,7 @@ const BulletinContainer = ({ item, lazyLoadImage }) => {
liveText={liveText}
offScreenText={offScreenText}
lang={ctaTextIsEnglish ? 'en-GB' : null}
ariaId={headline}
/>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -762,10 +762,12 @@ exports[`FrontPageStoryRows Container - snapshots LeadingRow - rtl 1`] = `
dir="rtl"
>
<a
aria-labelledby="bulletin-radio2016"
class="emotion-13 emotion-14"
href="http://www.bbc.com/urdu/indepth/rio_olympics_2016_urdu"
>
<span
id="bulletin-radio2016"
role="text"
>
<span
Expand Down Expand Up @@ -2363,10 +2365,12 @@ exports[`FrontPageStoryRows Container - snapshots RegularRow with images - rtl 1
dir="rtl"
>
<a
aria-labelledby="bulletin-radio2016"
class="emotion-13 emotion-14"
href="http://www.bbc.com/urdu/indepth/rio_olympics_2016_urdu"
>
<span
id="bulletin-radio2016"
role="text"
>
<span
Expand Down Expand Up @@ -4000,10 +4004,12 @@ exports[`FrontPageStoryRows Container - snapshots RegularRow without images - rt
dir="rtl"
>
<a
aria-labelledby="bulletin-radio2016"
class="emotion-13 emotion-14"
href="http://www.bbc.com/urdu/indepth/rio_olympics_2016_urdu"
>
<span
id="bulletin-radio2016"
role="text"
>
<span
Expand Down Expand Up @@ -5143,10 +5149,12 @@ exports[`FrontPageStoryRows Container - snapshots TopRow - rtl 1`] = `
dir="rtl"
>
<a
aria-labelledby="bulletin-radio2016"
class="emotion-13 emotion-14"
href="http://www.bbc.com/urdu/indepth/rio_olympics_2016_urdu"
>
<span
id="bulletin-radio2016"
role="text"
>
<span
Expand Down
Loading

0 comments on commit 56db6ae

Please sign in to comment.