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

Migrate [level 2] packages to Emotion #3891

Merged
merged 52 commits into from
Oct 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
7a7bb5a
Version bumps and import changes
RichardPK Oct 15, 2020
79a0f53
Snaps added
RichardPK Oct 15, 2020
533c37c
Social Embeds
ryanmccombe Oct 15, 2020
057ad5a
Merge branch 'latest' into migrate-section-label
RichardPK Oct 15, 2020
94d46d9
Psammead-paragraph migration to emotion
ryanmccombe Oct 15, 2020
7e69340
Update packages/components/psammead-section-label/CHANGELOG.md
RichardPK Oct 15, 2020
2bb2c9a
Version bumps
RichardPK Oct 15, 2020
4bdb222
Merge branch 'latest' into migrate-section-label
RichardPK Oct 15, 2020
1dedd4e
Merge branch 'latest' of github.com:bbc/psammead into migrate-section…
RichardPK Oct 15, 2020
a331d50
psammead-headings
ryanmccombe Oct 15, 2020
0ae912d
Useful Links
ryanmccombe Oct 15, 2020
7419bdc
Migrate psammead-timestamp to Emotion
simonsinclair Oct 15, 2020
840bc56
Migrate attrs
RichardPK Oct 15, 2020
dfa5a33
Script-link
ryanmccombe Oct 15, 2020
5a81199
Merge remote-tracking branch 'origin/latest' into migrate-bulleted-list
RichardPK Oct 15, 2020
147f863
Image placeholder
ryanmccombe Oct 15, 2020
4ffd784
Insert PR number
ryanmccombe Oct 15, 2020
003e9a4
Update packages/components/psammead-headings/CHANGELOG.md
ryanmccombe Oct 15, 2020
f3259b7
Heading index migrated
RichardPK Oct 15, 2020
204f852
Remove unused import
ryanmccombe Oct 15, 2020
105e7f1
Migrate psammead-sitewide-links to Emotion
simonsinclair Oct 15, 2020
4a85e35
Updated snapshots
RichardPK Oct 15, 2020
b5567e6
Merge branch 'emotion-level-2' of github.com:bbc/psammead into emotio…
ryanmccombe Oct 15, 2020
68e9bfd
Update useful links snapshot
ryanmccombe Oct 15, 2020
8271266
Migrate psammead-brand to Emotion
simonsinclair Oct 15, 2020
c1385ad
Migrate copyright
RichardPK Oct 15, 2020
861bdb7
Migrate psammead-byline to Emotion
simonsinclair Oct 15, 2020
83370a3
Merge branch 'latest' into emotion-level-2
ryanmccombe Oct 15, 2020
1a92b78
Remove use of css
RichardPK Oct 15, 2020
3fc1916
Merge branch 'migrate-section-label' of github.com:bbc/psammead into …
RichardPK Oct 15, 2020
e27dd7b
Migrate psammead-grid to Emotion
simonsinclair Oct 15, 2020
cefa45a
Remove use of css import from emotion core
RichardPK Oct 15, 2020
07366fe
Migrate psammead-story-promo to Emotion
simonsinclair Oct 15, 2020
d186715
Update packages/components/psammead-brand/CHANGELOG.md
simonsinclair Oct 16, 2020
3ff72a0
Update packages/components/psammead-byline/CHANGELOG.md
simonsinclair Oct 16, 2020
f2dc206
Update packages/components/psammead-grid/CHANGELOG.md
simonsinclair Oct 16, 2020
e96ea5e
Update packages/components/psammead-sitewide-links/CHANGELOG.md
simonsinclair Oct 16, 2020
3a1b656
Update packages/components/psammead-story-promo/CHANGELOG.md
simonsinclair Oct 16, 2020
34af7b2
Update packages/components/psammead-timestamp/CHANGELOG.md
simonsinclair Oct 16, 2020
67ca90a
Update packages/components/psammead-social-embed/CHANGELOG.md
ryanmccombe Oct 16, 2020
9ba50bc
Remove unnecessary peer dependency
ryanmccombe Oct 16, 2020
09f5065
Resolve malformed Story Promo styles
simonsinclair Oct 16, 2020
acaf16b
Merge branch 'lvl2-migrate-psammead-simon' of https://github.com/bbc/…
simonsinclair Oct 16, 2020
a1fd13f
Merge pull request #3890 from bbc/emotion-level-2
ryanmccombe Oct 16, 2020
3f054ac
Merge pull request #3892 from bbc/migrate-copyright-and-consent-banner
RichardPK Oct 16, 2020
d902df7
Merge pull request #3888 from bbc/migrate-bulleted-list
RichardPK Oct 16, 2020
9d88a2e
Update packages/components/psammead-section-label/CHANGELOG.md
RichardPK Oct 16, 2020
212f3ee
Remove section label
RichardPK Oct 16, 2020
8543315
Merge branch 'migrate-section-label' of github.com:bbc/psammead into …
RichardPK Oct 16, 2020
b2101a3
Merge pull request #3886 from bbc/migrate-section-label
RichardPK Oct 16, 2020
47a5ae6
Update Story Promo snapshots
simonsinclair Oct 16, 2020
5d9f61f
Merge branch 'latest' into lvl2-migrate-psammead-simon
RichardPK Oct 16, 2020
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 |
| ------- | ----------- |
| 7.0.0 | [PR#3891](https://github.com/bbc/psammead/pull/3891) Migrate to Emotion. |
| 6.0.4 | [PR#3883](https://github.com/bbc/psammead/pull/3883) Talos - Bump Dependencies - @bbc/psammead-visually-hidden-text, @bbc/psammead-styles |
| 6.0.3 | [PR#3862](https://github.com/bbc/psammead/pull/3862) Talos - Bump Dependencies - @bbc/psammead-script-link |
| 6.0.2 | [PR#3855](https://github.com/bbc/psammead/pull/3855) Talos - Bump Dependencies - @bbc/gel-foundations |
Expand Down
2 changes: 1 addition & 1 deletion 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": "6.0.4",
"version": "7.0.0",
"main": "dist/index.js",
"module": "esm/index.js",
"sideEffects": false,
Expand Down Expand Up @@ -28,7 +28,7 @@
},
"peerDependencies": {
"react": "^16.9.0",
"styled-components": "^4.3.2"
"@emotion/styled": "^10.0.27"
},
"keywords": [
"bbc",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/psammead-brand/src/SkipLink/index.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import styled, { css } from 'styled-components';
import styled from '@emotion/styled';
import { oneOf } from 'prop-types';
import { C_WHITE } from '@bbc/psammead-styles/colours';
import {
Expand Down Expand Up @@ -34,7 +34,7 @@ const SkipLink = styled.a`
height: auto;
width: auto;
top: 0;
${({ dir }) => css`
${({ dir }) => `
${dir === 'ltr' ? 'left' : 'right'}: 0;
`}

Expand Down
Loading