Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Update psammead snapshots #783

Merged
merged 20 commits into from
Jul 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/components/psammead-brand/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- prettier-ignore -->
| Version | Description |
| ------- | ----------- |
| 4.1.8 | [PR#783](https://github.com/bbc/psammead/pull/783) Update to latest psammead-test-helpers. Update snapshots. |
| 4.1.7 | [PR#787](https://github.com/bbc/psammead/pull/787) Fix brand colour in Firefox high contrast mode |
| 4.1.6 | [PR#789](https://github.com/bbc/psammead/pull/789) Use rem for the `BrandSvg` height |
| 4.1.5 | [PR#769](https://github.com/bbc/psammead/pull/769) Fix stories not appearing in storybook when using `install:packages:link` |
Expand Down
49 changes: 14 additions & 35 deletions packages/components/psammead-brand/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/components/psammead-brand/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead-brand",
"version": "4.1.7",
"version": "4.1.8",
"main": "dist/index.js",
"description": "Provides the BBC News logo (as SVG), nested a hardcoded link to https://www.bbc.co.uk/news",
"repository": {
Expand All @@ -24,7 +24,7 @@
"devDependencies": {
"@bbc/psammead-assets": "^1.0.2",
"@bbc/psammead-storybook-helpers": "^3.0.0",
"@bbc/psammead-test-helpers": "^0.3.3",
"@bbc/psammead-test-helpers": "^1.0.1",
"react": "^16.8.6",
"styled-components": "^4.3.2"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,16 @@ exports[`Brand should render correctly with link not provided 1`] = `
}

<div
className="c0"
class="c0"
>
<div
className="c1"
class="c1"
>
<svg
aria-hidden="true"
className="c2"
class="c2"
focusable="false"
height={24}
height="24"
viewBox="0 0 167.95 24"
xmlns="http://www.w3.org/2000/svg"
>
Expand All @@ -86,7 +86,7 @@ exports[`Brand should render correctly with link not provided 1`] = `
</g>
</svg>
<span
className="c3"
class="c3"
role="text"
>
<span
Expand Down Expand Up @@ -172,20 +172,20 @@ exports[`Brand should render correctly with link provided 1`] = `
}

<div
className="c0"
class="c0"
>
<div
className="c1"
class="c1"
>
<a
className="c2 c3"
class="c2 c3"
href="https://www.bbc.co.uk/news"
>
<svg
aria-hidden="true"
className="c4"
class="c4"
focusable="false"
height={24}
height="24"
viewBox="0 0 167.95 24"
xmlns="http://www.w3.org/2000/svg"
>
Expand All @@ -198,7 +198,7 @@ exports[`Brand should render correctly with link provided 1`] = `
</g>
</svg>
<span
className="c5"
class="c5"
role="text"
>
<span
Expand Down Expand Up @@ -278,16 +278,16 @@ exports[`Brand should render correctly with no service Localised Name 1`] = `
}

<div
className="c0"
class="c0"
>
<div
className="c1"
class="c1"
>
<svg
aria-hidden="true"
className="c2"
class="c2"
focusable="false"
height={24}
height="24"
viewBox="0 0 167.95 24"
xmlns="http://www.w3.org/2000/svg"
>
Expand All @@ -300,7 +300,7 @@ exports[`Brand should render correctly with no service Localised Name 1`] = `
</g>
</svg>
<span
className="c3"
class="c3"
>
BBC News
</span>
Expand Down Expand Up @@ -374,16 +374,16 @@ exports[`Brand should render correctly with transparent borders 1`] = `
}

<div
className="c0"
class="c0"
>
<div
className="c1"
class="c1"
>
<svg
aria-hidden="true"
className="c2"
class="c2"
focusable="false"
height={24}
height="24"
viewBox="0 0 167.95 24"
xmlns="http://www.w3.org/2000/svg"
>
Expand All @@ -396,7 +396,7 @@ exports[`Brand should render correctly with transparent borders 1`] = `
</g>
</svg>
<span
className="c3"
class="c3"
>
BBC News
</span>
Expand Down
1 change: 1 addition & 0 deletions packages/components/psammead-caption/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- prettier-ignore -->
| Version | Description |
|---------|-------------|
| 1.1.11 | [PR#783](https://github.com/bbc/psammead/pull/783) Update to latest psammead-test-helpers. Update snapshots. |
| 1.1.10 | [PR#769](https://github.com/bbc/psammead/pull/769) Fix stories not appearing in storybook when using `install:packages:link` |
| 1.1.9 | [PR#745](https://github.com/bbc/psammead/pull/745) Use `@bbc/[email protected]` and update 'with inline link' story |
| 1.1.8 | [PR#763](https://github.com/bbc/psammead/pull/763) Change text colour to `C_CLOUD_DARK` for `C_METAL` |
Expand Down
53 changes: 11 additions & 42 deletions packages/components/psammead-caption/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/components/psammead-caption/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead-caption",
"version": "1.1.10",
"version": "1.1.11",
"main": "dist/index.js",
"description": "React styled components for a Caption",
"repository": {
Expand All @@ -24,7 +24,7 @@
"@bbc/psammead-inline-link": "^1.1.1",
"@bbc/psammead-paragraph": "^1.0.3",
"@bbc/psammead-storybook-helpers": "^3.0.0",
"@bbc/psammead-test-helpers": "^0.3.3",
"@bbc/psammead-test-helpers": "^1.0.1",
"@bbc/psammead-visually-hidden-text": "^0.1.10",
"react": "^16.8.6",
"styled-components": "^4.3.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ exports[`Caption should render with some offscreen text 1`] = `
}

<figcaption
className="c0"
class="c0"
>
This is some Caption text
<span
className="c1"
class="c1"
>
Some offscreen text
</span>
Expand Down Expand Up @@ -135,11 +135,11 @@ exports[`Caption should render with some offscreen text and arabic script typogr
}

<figcaption
className="c0"
class="c0"
>
هذا هو بعض النص التسمية التوضيحي
<span
className="c1"
class="c1"
>
Some offscreen text
</span>
Expand Down
1 change: 1 addition & 0 deletions packages/components/psammead-consent-banner/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
<!-- prettier-ignore -->
| Version | Description |
|---------|-------------|
| 1.0.2 | [PR#783](https://github.com/bbc/psammead/pull/783) Update to latest psammead-test-helpers. Update snapshots. |
| 1.0.1 | [PR#713](https://github.com/bbc/psammead/pull/713) Update `styled-components` to 4.3.2 |
| 1.0.0 | [PR#667](https://github.com/bbc/psammead/pull/667) Create initial package, pulled in from [Simorgh](https://github.com/BBC-News/simorgh). |
Loading