forked from newsuk/times-components
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat(tdp-1717): remove react native from video (newsuk#2913)
* Create some new styled components and remove some Text and View components * Remove rest of react native from video package * Fix linting * Fix styleguide version discrepancy * Update styleguide version in context package * Update styleguid version in utils and responsive packages Co-authored-by: Callum Christie <callumchristie@hotmail.com>
- Loading branch information
1 parent
bc73c83
commit 30553bc
Showing
21 changed files
with
143 additions
and
397 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 0 additions & 58 deletions
58
packages/video/__tests__/web/__snapshots__/video-error-with-style.web.test.js.snap
This file was deleted.
Oops, something went wrong.
18 changes: 12 additions & 6 deletions
18
packages/video/__tests__/web/__snapshots__/video-error.web.test.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`1. video with error 1`] = ` | ||
<div> | ||
<styles__VideoErrorContainer> | ||
<div> | ||
Video unable to play | ||
<styles__VideoErrorHeading> | ||
<span> | ||
Video unable to play | ||
</span> | ||
</styles__VideoErrorHeading> | ||
<styles__VideoErrorBody> | ||
<span> | ||
Please check your network connection and try refreshing the page. If that doesn't work, please try again later | ||
</span> | ||
</styles__VideoErrorBody> | ||
</div> | ||
<div> | ||
Please check your network connection and try refreshing the page. If that doesn't work, please try again later | ||
</div> | ||
</div> | ||
</styles__VideoErrorContainer> | ||
`; |
34 changes: 0 additions & 34 deletions
34
packages/video/__tests__/web/__snapshots__/video-with-style.web.test.js.snap
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
packages/video/__tests__/web/video-error-with-style.web.test.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.