From 0431c6018ba17e92f56f022c3c35ab12778c528c Mon Sep 17 00:00:00 2001 From: Jonathan Roebuck Date: Wed, 10 Jul 2019 08:42:59 +0100 Subject: [PATCH 1/6] update to latest psammead modules update psammead-image-placeholder to 1.0.2 update psammead-copyright to 1.0.3 update psammead-media-indicator to 1.1.1 update psammead-story-promo-list to 1.0.3 update psammead-consent-banner to 1.0.2 update psammead-caption to 1.1.11 update psammead-paragraph to 1.0.9 update psammead-storybook-helpers to 3.1.1 update psammead-brand to 4.1.8 update psammead-sitewide-links to 1.0.4 update psammead-navigation to 1.0.2 update psammead-assets to 1.0.3 update psammead-figure to 1.0.3 update psammead-section-label to 1.0.3 update psammead-headings to 2.0.3 update psammead-story-promo to 1.0.0-alpha.5 update psammead-inline-link to 1.1.4 update psammead-styles to 1.1.1 update psammead-visually-hidden-text to 1.0.2 --- package-lock.json | 148 +++++++++++++++++++++++----------------------- package.json | 38 ++++++------ 2 files changed, 94 insertions(+), 92 deletions(-) diff --git a/package-lock.json b/package-lock.json index d3c60cf1af1..e888d624ef5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -924,14 +924,14 @@ "integrity": "sha512-Ak0/+lPuCq8aPbOlzxj6/ayr5SmwNZo49dcnK3NHNugH5TEKmt+gjQhsZG6PSxpCEPk5OXhviPiNUEVr4wVObA==" }, "@bbc/psammead-assets": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@bbc/psammead-assets/-/psammead-assets-1.0.2.tgz", - "integrity": "sha512-Ps2eogFG4Thr1qn8+pCUSouQZzyplRpm7rYmXxhcCCGoIz5I5ddwHaKo0QW9wZk5mXE1d/0k6xXBV6kYarfUrg==" + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@bbc/psammead-assets/-/psammead-assets-1.0.3.tgz", + "integrity": "sha512-neHTBF9jyKqdy3xMa8HBEtZqEermSrfgy+7Zo6gsm449txMQfryDs5nlIsotFLuXXkvV6+PC39pUmcroPYZUYQ==" }, "@bbc/psammead-brand": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@bbc/psammead-brand/-/psammead-brand-4.1.4.tgz", - "integrity": "sha512-Bml8Dbhpvbkvl/nIKGbQ4ccWXIt3/rTkU1x1lMOMW6wAdVMHrB8iGktVlXTgm1RWHajvIAkDZPk4yCbin6c29Q==", + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/@bbc/psammead-brand/-/psammead-brand-4.1.8.tgz", + "integrity": "sha512-rYpF+OAUUhG6L5ROFlhUWQ+HijjuVUTS902tLk42Z/brUUArAYadiNvwWg62eDkqEf8nEmCIrOtONIib/7WJtQ==", "requires": { "@bbc/gel-foundations": "^3.0.0", "@bbc/psammead-styles": "^0.3.2", @@ -951,25 +951,25 @@ } }, "@bbc/psammead-caption": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/@bbc/psammead-caption/-/psammead-caption-1.1.7.tgz", - "integrity": "sha512-hkbOx07QtEcHi9hREIgEXEbNnVCROIEFhPxPSP7EzcnaBjnWvhjqYGH7vD79lJQuOg3eJSlEZm6K2Z6S0qatLg==", + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/@bbc/psammead-caption/-/psammead-caption-1.1.11.tgz", + "integrity": "sha512-XN8ucQnqzpIMk3BSYBfeXHnm16FU5tvS4I1m7ZbJUb2lZ8wQF91d/vSHZE1QPGmOenct6v+5CTIwr6A1KtDodw==", "requires": { "@bbc/gel-foundations": "^3.0.0", - "@bbc/psammead-styles": "^0.3.2" + "@bbc/psammead-styles": "^1.0.1" }, "dependencies": { "@bbc/psammead-styles": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@bbc/psammead-styles/-/psammead-styles-0.3.5.tgz", - "integrity": "sha512-55p7WnK8L8eUIgK8R6J1aKfQKXlpUrh2udoTekUqdwAamGLcGxyulf8nyNPQ78G880KDXv+HLyruzQ3/Q9G1+Q==" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@bbc/psammead-styles/-/psammead-styles-1.1.2.tgz", + "integrity": "sha512-bEHPHnQwpIQHMOVNATDVEFweOAEtlwU8g7cwwTi2QspNntmq9mTPlXGTqZT1EaFczTwgS8cnQaP/zoXN4F4z6A==" } } }, "@bbc/psammead-consent-banner": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@bbc/psammead-consent-banner/-/psammead-consent-banner-1.0.0.tgz", - "integrity": "sha512-jWwAbgCdGaddNlSzgSJLB5RTjXMWc8cAGRq2CmexYY5zM1f3WrGE2WjM/CWbH4xdZkY0+lsobeTwVomZhDFp/g==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@bbc/psammead-consent-banner/-/psammead-consent-banner-1.0.2.tgz", + "integrity": "sha512-VrlphEUPySHIVsZOCb3PwxfWMhR4JvZNujSwpPzXUtsSZGaSJ8NZLG/739t+hK342z4UFS39xxBR7lmaBSUndA==", "requires": { "@bbc/gel-foundations": "^3.0.0", "@bbc/psammead-styles": "^0.3.2" @@ -983,9 +983,9 @@ } }, "@bbc/psammead-copyright": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@bbc/psammead-copyright/-/psammead-copyright-1.0.2.tgz", - "integrity": "sha512-kreNAYlrm8OD4NQUJKldNTK42OPRCnwigyfejc9LEQDumESlXmaxNcCLTWGlshI8ZJhnun/FigjsC5kkP+6ETg==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@bbc/psammead-copyright/-/psammead-copyright-1.0.3.tgz", + "integrity": "sha512-/vdPaHAHs/Dk/nTbck+je2llDAIFCVam+OsPC0quamoq0H/HRJnB2pdMTLEVsdTSBxUZqzxVCWb8WkA5d70RQg==", "requires": { "@bbc/gel-foundations": "^3.0.0", "@bbc/psammead-styles": "^0.3.2" @@ -999,17 +999,17 @@ } }, "@bbc/psammead-figure": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@bbc/psammead-figure/-/psammead-figure-1.0.2.tgz", - "integrity": "sha512-CYj8L8G2vPECGcj5Tb0T3ud8lFiRHd3EqkBob8uKFUbmJRBNTRWr6aSXj4QVWHbsy3vyk+dVu0GJP2zYGioRxA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@bbc/psammead-figure/-/psammead-figure-1.0.3.tgz", + "integrity": "sha512-8/dlO2dnlpA5N8QH8DhRsrNc5lGbJdOsfcrqYWAf2cxWqbCkOC8ArJHUjDXj3D+fECPHcckwt8N/AWr9CtmzIQ==", "requires": { "@bbc/gel-foundations": "^3.0.0" } }, "@bbc/psammead-headings": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@bbc/psammead-headings/-/psammead-headings-2.0.2.tgz", - "integrity": "sha512-qNFnUkiyMJzCnuP0Wqjz932Fp4/dezzfPN2goO8vDSWO8sQDARKVjmzBWCYLUddTOGJPPaD+f8hLbIiQDzMDiQ==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@bbc/psammead-headings/-/psammead-headings-2.0.3.tgz", + "integrity": "sha512-IJITzRvjJNHbH1zNpAQKhCobpwtTyqY1SdxlpXjpkloyzUk6hrEpy770PcnaIOdvQvCLCMJrByj2y+IeMFFJaA==", "requires": { "@bbc/gel-foundations": "^3.0.0", "@bbc/psammead-styles": "^0.3.2" @@ -1028,9 +1028,9 @@ "integrity": "sha512-Wy5vAIsT1LFfDqLrhhXnSrfr1vLFFd/ZgpD49fSIhfkBcQ614tjvuT8o/16UzHhr2iN9osUXDs54x6glxqNJoQ==" }, "@bbc/psammead-image-placeholder": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@bbc/psammead-image-placeholder/-/psammead-image-placeholder-1.0.1.tgz", - "integrity": "sha512-TOFb/RuH1APgY/QGv/5tVbTs+rA31Yu+pQKs42EEz17f/L0kScLWFk7KFXe/juSN2c6EnTZpAREoOHu6IxDuHA==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@bbc/psammead-image-placeholder/-/psammead-image-placeholder-1.0.2.tgz", + "integrity": "sha512-XruHXwlP3qvsr/6izGXlq+jAStmtimtuPQv1eUEMImoJtE4Op9dgDsvOpUMMIgMNg1E5tlZ2+iGmxhuF2+tLsA==", "requires": { "@bbc/psammead-assets": "^0.1.2", "@bbc/psammead-styles": "^0.1.3" @@ -1049,11 +1049,18 @@ } }, "@bbc/psammead-inline-link": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@bbc/psammead-inline-link/-/psammead-inline-link-1.1.0.tgz", - "integrity": "sha512-8db8YKrc5sa21XG48bOz3iDo85I5ER/fGhcNsc56w3UAAyB3eUTI+sUWl27OuEoE++tGRWTssM+BJ5+MkbpvjA==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@bbc/psammead-inline-link/-/psammead-inline-link-1.1.4.tgz", + "integrity": "sha512-mhh96NsImou+tWV4vbAG6J3MY5ttiOJqeWp44bdco+MFvp3H3pDzYonN/kBzn5+X45TzA8lfkoVObVioI86XZQ==", "requires": { - "@bbc/psammead-styles": "^1.0.0" + "@bbc/psammead-styles": "^1.0.1" + }, + "dependencies": { + "@bbc/psammead-styles": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@bbc/psammead-styles/-/psammead-styles-1.1.2.tgz", + "integrity": "sha512-bEHPHnQwpIQHMOVNATDVEFweOAEtlwU8g7cwwTi2QspNntmq9mTPlXGTqZT1EaFczTwgS8cnQaP/zoXN4F4z6A==" + } } }, "@bbc/psammead-locales": { @@ -1062,31 +1069,26 @@ "integrity": "sha512-a6NJf4L2mi6t6ZGChXwEeL8Ac7ZsItt1AYidRACNRsxOvVLSnev2gX0quxjUgdrsUiMt6ec1kcBrjM0IezRldg==" }, "@bbc/psammead-media-indicator": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@bbc/psammead-media-indicator/-/psammead-media-indicator-1.0.3.tgz", - "integrity": "sha512-f+6fQiCOCtjY4zfvpMayQ948bSU02e0uKVocIoNwmrv8Dlyjs7g4iZvOUlwIn/QNrX2i/wSxXqufjlgP1f+ABw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@bbc/psammead-media-indicator/-/psammead-media-indicator-1.1.1.tgz", + "integrity": "sha512-mLhmGVY7E5sJ5o9qBsyjSCUtGxFrjQqQF++ZpOW8jbx0uk4vaQggXRCqbtJpPBpA3+Y7Hf+5SVEVdbe9vWU6Pw==", "requires": { - "@bbc/gel-foundations": "^3.0.0", - "@bbc/psammead-styles": "^0.3.3", - "@bbc/psammead-visually-hidden-text": "^0.1.12" + "@bbc/gel-foundations": "^3.0.1", + "@bbc/psammead-styles": "^1.0.1", + "@bbc/psammead-visually-hidden-text": "^1.0.1" }, "dependencies": { "@bbc/psammead-styles": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@bbc/psammead-styles/-/psammead-styles-0.3.5.tgz", - "integrity": "sha512-55p7WnK8L8eUIgK8R6J1aKfQKXlpUrh2udoTekUqdwAamGLcGxyulf8nyNPQ78G880KDXv+HLyruzQ3/Q9G1+Q==" - }, - "@bbc/psammead-visually-hidden-text": { - "version": "0.1.14", - "resolved": "https://registry.npmjs.org/@bbc/psammead-visually-hidden-text/-/psammead-visually-hidden-text-0.1.14.tgz", - "integrity": "sha512-0pRKV8BxUa+jGp3BhOa4EbMx//tOIkLF8AJKZOyMQWl0ecRzeNNUOokO3Zf7Oh+ZF3ZYGBp4lG7DN+XUH/9pIA==" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@bbc/psammead-styles/-/psammead-styles-1.1.2.tgz", + "integrity": "sha512-bEHPHnQwpIQHMOVNATDVEFweOAEtlwU8g7cwwTi2QspNntmq9mTPlXGTqZT1EaFczTwgS8cnQaP/zoXN4F4z6A==" } } }, "@bbc/psammead-navigation": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@bbc/psammead-navigation/-/psammead-navigation-1.0.1.tgz", - "integrity": "sha512-orLGCAZSOCJLHpQGO/wiZzqGLWAIjL4pQ78huGWkqIrBQddwYtS3IVYqfsbwSoutt5hk853YUP5uApI7Y5V4rA==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@bbc/psammead-navigation/-/psammead-navigation-1.0.2.tgz", + "integrity": "sha512-lHUCXyPEGLuj5Pe5JYzswBmTbUBQi7UkSg421Rrg6l9UbzAr2LBCBwabVHdpzOB3IVdInyDcPiPWqJ8Snac67w==", "requires": { "@bbc/gel-foundations": "^1.2.0", "@bbc/psammead-styles": "^0.3.3", @@ -1111,9 +1113,9 @@ } }, "@bbc/psammead-paragraph": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@bbc/psammead-paragraph/-/psammead-paragraph-1.0.5.tgz", - "integrity": "sha512-QVck/3f/OSqK6yYG3kssgIDuW50+Y2gY/rU+HhqFfgoIHV8t3o0N8w5fumz08bYe2x4FKomuFxwmbTtXdPfPwQ==", + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@bbc/psammead-paragraph/-/psammead-paragraph-1.0.9.tgz", + "integrity": "sha512-ABSfEUDl0GJei3g5mo19+2MH+YSRujB6qNEkhOez0ZGp+tJPxFTkr2Tph2x+jjQ8GutrU2yyYgakJhu/lIPGsg==", "requires": { "@bbc/gel-foundations": "^3.0.0", "@bbc/psammead-styles": "^0.3.2" @@ -1127,9 +1129,9 @@ } }, "@bbc/psammead-section-label": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@bbc/psammead-section-label/-/psammead-section-label-1.0.2.tgz", - "integrity": "sha512-/tOrdw+Vdgm2zAPGHy6/JYrGD8UHgHUbfzc4Z425wXWWdU04FbvgR84eYjOx7sBtn/EDKXwM5VnErgVcHkxMdQ==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@bbc/psammead-section-label/-/psammead-section-label-1.0.3.tgz", + "integrity": "sha512-6dj1XBJgR193zwxIJPFrcL8FC/H4BhZ0WC5vulGmYrYtnu2HF3I+Fn5p1S608OkzncUDrNurn/+D9Eyc6i1jaQ==", "requires": { "@bbc/gel-foundations": "^3.0.0", "@bbc/psammead-styles": "^0.3.4" @@ -1143,9 +1145,9 @@ } }, "@bbc/psammead-sitewide-links": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@bbc/psammead-sitewide-links/-/psammead-sitewide-links-1.0.2.tgz", - "integrity": "sha512-EiFeqk3kBYQCvk++BgpuVp5DQU2+X3PTsclB4P8xDCjoyZc3JYe1bFB3mo0P7lN+OUmGLppzTS7fgYcyN4MAUQ==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@bbc/psammead-sitewide-links/-/psammead-sitewide-links-1.0.4.tgz", + "integrity": "sha512-UhTtunBtPUJFrKgFj4QyqOWdGuQOo4hr+fW83190CkDEm/YbpWiEWGhpedL+NPqV628gmzRQd3VTZUXV3QO3Zw==", "requires": { "@bbc/gel-foundations": "^3.0.0", "@bbc/psammead-styles": "^0.3.2" @@ -1159,18 +1161,18 @@ } }, "@bbc/psammead-story-promo": { - "version": "1.0.0-alpha.4", - "resolved": "https://registry.npmjs.org/@bbc/psammead-story-promo/-/psammead-story-promo-1.0.0-alpha.4.tgz", - "integrity": "sha512-9l0LAWJtveDgC9fYWPSS587Azc4JZCTAtvHN1A1ZtK69OC2qvO2cxaThsrK6VnME1tImirl/n324X3Ud+HGHjw==", + "version": "1.0.0-alpha.5", + "resolved": "https://registry.npmjs.org/@bbc/psammead-story-promo/-/psammead-story-promo-1.0.0-alpha.5.tgz", + "integrity": "sha512-M625Ijf+KyoFh+xOLUfVXd1+oVeI3v9rTOIOFh2LeB11bk8W8yn40ti70pLzfWtFoTKq4oVF2j/7GhfM2W5CsQ==", "requires": { "@bbc/gel-foundations": "^3.0.0", "@bbc/psammead-styles": "^1.0.0" } }, "@bbc/psammead-story-promo-list": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@bbc/psammead-story-promo-list/-/psammead-story-promo-list-1.0.2.tgz", - "integrity": "sha512-9wt9emu6BIi9d+NrppW/ZuOgp17sh+5oxmlWaFV0PIjvjP7KosSbIWpYEKaWs265nR+oSq9wMWnQd8jqJg0h8g==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@bbc/psammead-story-promo-list/-/psammead-story-promo-list-1.0.3.tgz", + "integrity": "sha512-pbIsK4yxZXJGZNBkac8+txEjfDETwkNZT+5sI1zK8MTXegeAelbt+n+msnGGHqlE5d+NSOXw7BGCfg7LHs8Kmg==", "requires": { "@bbc/gel-foundations": "^3.0.1", "@bbc/psammead-story-promo": "^1.0.0-alpha.4", @@ -1178,9 +1180,9 @@ } }, "@bbc/psammead-storybook-helpers": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@bbc/psammead-storybook-helpers/-/psammead-storybook-helpers-3.1.0.tgz", - "integrity": "sha512-mah7Mh+Gh6apbCEF+WVxCeMtxrDzck06oPYsVqUb/gaKGziJ7U0Sf8vh0VkorcZy0i1DfDWr75NKDBIf45QiMQ==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@bbc/psammead-storybook-helpers/-/psammead-storybook-helpers-3.1.1.tgz", + "integrity": "sha512-ANyPu26GvtJI2nQ1eOwHU/VnFCE07eDMWclW3EK1WTb19SXjpIcYPWZiGuLIBQoW9ZT9Ix+ye+3GruCrvBPOmQ==", "dev": true, "requires": { "@bbc/gel-foundations": "^3.0.0", @@ -1188,9 +1190,9 @@ } }, "@bbc/psammead-styles": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@bbc/psammead-styles/-/psammead-styles-1.0.0.tgz", - "integrity": "sha512-4xPQJ0IXpG9FIXvwkzkygKE9GrzHh5/DiwSCCClJlIQVSjqFMSlyz2gEsz+/l+hLCvxa729AED88Ye6Iommhsw==" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@bbc/psammead-styles/-/psammead-styles-1.1.1.tgz", + "integrity": "sha512-6oV9wvLeyp1NkhsTYssp2avT4cHZFihlpyglFGE5xnUG/jrwngTxhaSNPgMF6ZMxk7NNCXAri0LxQpLW27BOfQ==" }, "@bbc/psammead-timestamp": { "version": "0.3.4", @@ -1211,9 +1213,9 @@ } }, "@bbc/psammead-visually-hidden-text": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@bbc/psammead-visually-hidden-text/-/psammead-visually-hidden-text-1.0.1.tgz", - "integrity": "sha512-e281xGygQEHoO5trmddHwNouA7EhpQ+p3Iq3srVPV0ItHxEOzcKc8cmiL0xdgZPsOxauCVcyb1isaS5eF3rNBg==" + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@bbc/psammead-visually-hidden-text/-/psammead-visually-hidden-text-1.0.2.tgz", + "integrity": "sha512-/g7THVqiu534taCDA1Vdlp+BW1+RkLgmYtGHKd35q19nbNa8shX83z6/gJGOYwjNcCoE3qKAKg/a3b/1sMFP0w==" }, "@cnakazawa/watch": { "version": "1.0.3", diff --git a/package.json b/package.json index 9db1930eab2..82bc8c45367 100644 --- a/package.json +++ b/package.json @@ -88,27 +88,27 @@ "@babel/preset-react": "^7.0.0", "@babel/runtime": "^7.3.4", "@bbc/gel-foundations": "3.0.1", - "@bbc/psammead-assets": "^1.0.2", - "@bbc/psammead-brand": "^4.1.2", - "@bbc/psammead-caption": "^1.1.7", - "@bbc/psammead-consent-banner": "^1.0.0", - "@bbc/psammead-copyright": "^1.0.2", - "@bbc/psammead-figure": "^1.0.2", - "@bbc/psammead-headings": "^2.0.2", + "@bbc/psammead-assets": "^1.0.3", + "@bbc/psammead-brand": "^4.1.8", + "@bbc/psammead-caption": "^1.1.11", + "@bbc/psammead-consent-banner": "^1.0.2", + "@bbc/psammead-copyright": "^1.0.3", + "@bbc/psammead-figure": "^1.0.3", + "@bbc/psammead-headings": "^2.0.3", "@bbc/psammead-image": "^1.0.3", - "@bbc/psammead-image-placeholder": "^1.0.1", - "@bbc/psammead-inline-link": "^1.1.0", + "@bbc/psammead-image-placeholder": "^1.0.2", + "@bbc/psammead-inline-link": "^1.1.4", "@bbc/psammead-locales": "^1.0.0", - "@bbc/psammead-media-indicator": "^1.0.3", - "@bbc/psammead-navigation": "^1.0.1", - "@bbc/psammead-paragraph": "^1.0.5", - "@bbc/psammead-section-label": "^1.0.2", - "@bbc/psammead-sitewide-links": "^1.0.2", - "@bbc/psammead-story-promo": "^1.0.0-alpha.4", - "@bbc/psammead-story-promo-list": "^1.0.2", - "@bbc/psammead-styles": "^1.0.0", + "@bbc/psammead-media-indicator": "^1.1.1", + "@bbc/psammead-navigation": "^1.0.2", + "@bbc/psammead-paragraph": "^1.0.9", + "@bbc/psammead-section-label": "^1.0.3", + "@bbc/psammead-sitewide-links": "^1.0.4", + "@bbc/psammead-story-promo": "^1.0.0-alpha.5", + "@bbc/psammead-story-promo-list": "^1.0.3", + "@bbc/psammead-styles": "^1.1.1", "@bbc/psammead-timestamp-container": "^1.2.2", - "@bbc/psammead-visually-hidden-text": "^1.0.1", + "@bbc/psammead-visually-hidden-text": "^1.0.2", "assets-webpack-plugin": "^3.9.8", "babel-loader": "^8.0.5", "babel-plugin-dynamic-import-node": "^2.3.0", @@ -154,7 +154,7 @@ "devDependencies": { "@babel/plugin-transform-modules-commonjs": "^7.2.0", "@bbc/apache2-license-checker": "^1.1.4", - "@bbc/psammead-storybook-helpers": "^3.1.0", + "@bbc/psammead-storybook-helpers": "^3.1.1", "@storybook/addon-knobs": "^5.1.9", "@storybook/react": "^5.1.9", "@storybook/theming": "^5.1.9", From bd39415e40face26b43b333e5b067b5e46fbc1e8 Mon Sep 17 00:00:00 2001 From: Jonathan Roebuck Date: Wed, 10 Jul 2019 08:46:04 +0100 Subject: [PATCH 2/6] update snapshots --- .../__snapshots__/index.test.jsx.snap | 12 ++--- .../__snapshots__/index.test.jsx.snap | 24 ++++----- .../Brand/__snapshots__/index.test.jsx.snap | 4 +- .../Caption/__snapshots__/index.test.jsx.snap | 6 +-- .../__snapshots__/index.test.jsx.snap | 30 +++++------ .../Header/__snapshots__/index.test.jsx.snap | 4 +- .../__snapshots__/index.test.jsx.snap | 30 +++++------ .../withPageWrapper.test.jsx.snap | 8 ++- .../__snapshots__/index.test.jsx.snap | 6 +-- .../MediaIndicator.test.jsx.snap | 3 ++ .../__snapshots__/index.test.jsx.snap | 54 +++++++++++++++++++ 11 files changed, 123 insertions(+), 58 deletions(-) diff --git a/src/app/components/ErrorPage/__snapshots__/index.test.jsx.snap b/src/app/components/ErrorPage/__snapshots__/index.test.jsx.snap index 1aae989fea3..589d3f284c4 100644 --- a/src/app/components/ErrorPage/__snapshots__/index.test.jsx.snap +++ b/src/app/components/ErrorPage/__snapshots__/index.test.jsx.snap @@ -2,15 +2,15 @@ exports[`ErrorMain should correctly render for an error page for News 1`] = ` .c5 { - color: #B80000; + color: #222222; border-bottom: 1px solid #B80000; -webkit-text-decoration: none; text-decoration: none; } .c5:visited { - color: #757575; - border-bottom: 1px solid #757575; + color: #6E6E73; + border-bottom: 1px solid #6E6E73; } .c5:focus, @@ -245,15 +245,15 @@ exports[`ErrorMain should correctly render for an error page for News 1`] = ` exports[`ErrorMain should correctly render for an error page for Persian 1`] = ` .c5 { - color: #B80000; + color: #222222; border-bottom: 1px solid #B80000; -webkit-text-decoration: none; text-decoration: none; } .c5:visited { - color: #757575; - border-bottom: 1px solid #757575; + color: #6E6E73; + border-bottom: 1px solid #6E6E73; } .c5:focus, diff --git a/src/app/containers/ArticleFigure/__snapshots__/index.test.jsx.snap b/src/app/containers/ArticleFigure/__snapshots__/index.test.jsx.snap index 7dcf3978f65..58d60c844d6 100644 --- a/src/app/containers/ArticleFigure/__snapshots__/index.test.jsx.snap +++ b/src/app/containers/ArticleFigure/__snapshots__/index.test.jsx.snap @@ -279,7 +279,7 @@ exports[`ArticleFigure should render an AMP image with caption and copyright 1`] } .c6 { - color: #757575; + color: #6E6E73; font-family: ReithSans,Helvetica,Arial,sans-serif; font-style: italic; padding: 0.5rem 0.5rem 0; @@ -461,7 +461,7 @@ exports[`ArticleFigure should render an AMP image with caption text 1`] = ` } .c5 { - color: #757575; + color: #6E6E73; font-family: ReithSans,Helvetica,Arial,sans-serif; font-style: italic; padding: 0.5rem 0.5rem 0; @@ -633,7 +633,7 @@ exports[`ArticleFigure should render an AMP image with caption text with inline } .c5 { - color: #757575; + color: #6E6E73; font-family: ReithSans,Helvetica,Arial,sans-serif; font-style: italic; padding: 0.5rem 0.5rem 0; @@ -654,15 +654,15 @@ exports[`ArticleFigure should render an AMP image with caption text with inline } .c7 { - color: #B80000; + color: #222222; border-bottom: 1px solid #B80000; -webkit-text-decoration: none; text-decoration: none; } .c7:visited { - color: #757575; - border-bottom: 1px solid #757575; + color: #6E6E73; + border-bottom: 1px solid #6E6E73; } .c7:focus, @@ -1389,7 +1389,7 @@ exports[`ArticleFigure should render an image with caption and copyright 1`] = ` } .c7 { - color: #757575; + color: #6E6E73; font-family: ReithSans,Helvetica,Arial,sans-serif; font-style: italic; padding: 0.5rem 0.5rem 0; @@ -1577,7 +1577,7 @@ exports[`ArticleFigure should render an image with caption text 1`] = ` } .c6 { - color: #757575; + color: #6E6E73; font-family: ReithSans,Helvetica,Arial,sans-serif; font-style: italic; padding: 0.5rem 0.5rem 0; @@ -1755,7 +1755,7 @@ exports[`ArticleFigure should render an image with caption text with inline link } .c6 { - color: #757575; + color: #6E6E73; font-family: ReithSans,Helvetica,Arial,sans-serif; font-style: italic; padding: 0.5rem 0.5rem 0; @@ -1776,15 +1776,15 @@ exports[`ArticleFigure should render an image with caption text with inline link } .c8 { - color: #B80000; + color: #222222; border-bottom: 1px solid #B80000; -webkit-text-decoration: none; text-decoration: none; } .c8:visited { - color: #757575; - border-bottom: 1px solid #757575; + color: #6E6E73; + border-bottom: 1px solid #6E6E73; } .c8:focus, diff --git a/src/app/containers/Brand/__snapshots__/index.test.jsx.snap b/src/app/containers/Brand/__snapshots__/index.test.jsx.snap index 52448895352..7851d6c201f 100644 --- a/src/app/containers/Brand/__snapshots__/index.test.jsx.snap +++ b/src/app/containers/Brand/__snapshots__/index.test.jsx.snap @@ -33,9 +33,11 @@ exports[`BrandContainer should render correctly 1`] = ` .c4 { box-sizing: content-box; - fill: #FFFFFF; + color: #FFFFFF; + fill: currentColor; padding-top: 1rem; padding-bottom: 0.75rem; + height: 1.5rem; width: 100%; max-width: 10.496849999999998rem; min-width: 6.9979rem; diff --git a/src/app/containers/Caption/__snapshots__/index.test.jsx.snap b/src/app/containers/Caption/__snapshots__/index.test.jsx.snap index a619826c4f6..c881fa2a011 100644 --- a/src/app/containers/Caption/__snapshots__/index.test.jsx.snap +++ b/src/app/containers/Caption/__snapshots__/index.test.jsx.snap @@ -15,7 +15,7 @@ exports[`should render caption text with example Farsi offscreen text 1`] = ` .c0 { font-size: 1.0625rem; line-height: 1.5rem; - color: #757575; + color: #6E6E73; font-family: ReithSans,Helvetica,Arial,sans-serif; font-style: italic; padding: 0.5rem 0.5rem 0; @@ -90,7 +90,7 @@ exports[`should render caption text with example News offscreen text 1`] = ` .c0 { font-size: 0.9375rem; line-height: 1.125rem; - color: #757575; + color: #6E6E73; font-family: ReithSans,Helvetica,Arial,sans-serif; font-style: italic; padding: 0.5rem 0.5rem 0; @@ -165,7 +165,7 @@ exports[`should render caption with mutiple paragraphs 1`] = ` .c0 { font-size: 0.9375rem; line-height: 1.125rem; - color: #757575; + color: #6E6E73; font-family: ReithSans,Helvetica,Arial,sans-serif; font-style: italic; padding: 0.5rem 0.5rem 0; diff --git a/src/app/containers/ErrorMain/__snapshots__/index.test.jsx.snap b/src/app/containers/ErrorMain/__snapshots__/index.test.jsx.snap index 913e8ac7087..39663d67466 100644 --- a/src/app/containers/ErrorMain/__snapshots__/index.test.jsx.snap +++ b/src/app/containers/ErrorMain/__snapshots__/index.test.jsx.snap @@ -2,15 +2,15 @@ exports[`ErrorMain should correctly render for 404 1`] = ` .c5 { - color: #B80000; + color: #222222; border-bottom: 1px solid #B80000; -webkit-text-decoration: none; text-decoration: none; } .c5:visited { - color: #757575; - border-bottom: 1px solid #757575; + color: #6E6E73; + border-bottom: 1px solid #6E6E73; } .c5:focus, @@ -250,15 +250,15 @@ exports[`ErrorMain should correctly render for 404 1`] = ` exports[`ErrorMain should correctly render for 404 for persian 1`] = ` .c5 { - color: #B80000; + color: #222222; border-bottom: 1px solid #B80000; -webkit-text-decoration: none; text-decoration: none; } .c5:visited { - color: #757575; - border-bottom: 1px solid #757575; + color: #6E6E73; + border-bottom: 1px solid #6E6E73; } .c5:focus, @@ -498,15 +498,15 @@ exports[`ErrorMain should correctly render for 404 for persian 1`] = ` exports[`ErrorMain should correctly render for 500 1`] = ` .c5 { - color: #B80000; + color: #222222; border-bottom: 1px solid #B80000; -webkit-text-decoration: none; text-decoration: none; } .c5:visited { - color: #757575; - border-bottom: 1px solid #757575; + color: #6E6E73; + border-bottom: 1px solid #6E6E73; } .c5:focus, @@ -741,15 +741,15 @@ exports[`ErrorMain should correctly render for 500 1`] = ` exports[`ErrorMain should correctly render for 500 for persian 1`] = ` .c5 { - color: #B80000; + color: #222222; border-bottom: 1px solid #B80000; -webkit-text-decoration: none; text-decoration: none; } .c5:visited { - color: #757575; - border-bottom: 1px solid #757575; + color: #6E6E73; + border-bottom: 1px solid #6E6E73; } .c5:focus, @@ -984,15 +984,15 @@ exports[`ErrorMain should correctly render for 500 for persian 1`] = ` exports[`ErrorMain should correctly render for other status code 1`] = ` .c5 { - color: #B80000; + color: #222222; border-bottom: 1px solid #B80000; -webkit-text-decoration: none; text-decoration: none; } .c5:visited { - color: #757575; - border-bottom: 1px solid #757575; + color: #6E6E73; + border-bottom: 1px solid #6E6E73; } .c5:focus, diff --git a/src/app/containers/Header/__snapshots__/index.test.jsx.snap b/src/app/containers/Header/__snapshots__/index.test.jsx.snap index 8f55168e5e7..43f87277f7d 100644 --- a/src/app/containers/Header/__snapshots__/index.test.jsx.snap +++ b/src/app/containers/Header/__snapshots__/index.test.jsx.snap @@ -34,9 +34,11 @@ exports[`Header should render correctly 1`] = ` .c4 { box-sizing: content-box; - fill: #FFFFFF; + color: #FFFFFF; + fill: currentColor; padding-top: 1rem; padding-bottom: 0.75rem; + height: 1.5rem; width: 100%; max-width: 10.496849999999998rem; min-width: 6.9979rem; diff --git a/src/app/containers/InlineLink/__snapshots__/index.test.jsx.snap b/src/app/containers/InlineLink/__snapshots__/index.test.jsx.snap index 735f7be5a17..7aa58051af2 100644 --- a/src/app/containers/InlineLink/__snapshots__/index.test.jsx.snap +++ b/src/app/containers/InlineLink/__snapshots__/index.test.jsx.snap @@ -2,15 +2,15 @@ exports[`InlineLinkContainer external link accessibility should be explicitly marked "external" for screen reader users & localised 1`] = ` .c0 { - color: #B80000; + color: #222222; border-bottom: 1px solid #B80000; -webkit-text-decoration: none; text-decoration: none; } .c0:visited { - color: #757575; - border-bottom: 1px solid #757575; + color: #6E6E73; + border-bottom: 1px solid #6E6E73; } .c0:focus, @@ -34,15 +34,15 @@ exports[`InlineLinkContainer external link accessibility should be explicitly ma exports[`InlineLinkContainer external link accessibility should be explicitly marked "external" for screen reader users 1`] = ` .c0 { - color: #B80000; + color: #222222; border-bottom: 1px solid #B80000; -webkit-text-decoration: none; text-decoration: none; } .c0:visited { - color: #757575; - border-bottom: 1px solid #757575; + color: #6E6E73; + border-bottom: 1px solid #6E6E73; } .c0:focus, @@ -66,15 +66,15 @@ exports[`InlineLinkContainer external link accessibility should be explicitly ma exports[`InlineLinkContainer internal link not matching SPA route should render correctly 1`] = ` .c0 { - color: #B80000; + color: #222222; border-bottom: 1px solid #B80000; -webkit-text-decoration: none; text-decoration: none; } .c0:visited { - color: #757575; - border-bottom: 1px solid #757575; + color: #6E6E73; + border-bottom: 1px solid #6E6E73; } .c0:focus, @@ -100,15 +100,15 @@ exports[`InlineLinkContainer internal link not matching SPA route should render exports[`InlineLinkContainer link matching routes for SPA should render correctly 1`] = ` .c0 { - color: #B80000; + color: #222222; border-bottom: 1px solid #B80000; -webkit-text-decoration: none; text-decoration: none; } .c0:visited { - color: #757575; - border-bottom: 1px solid #757575; + color: #6E6E73; + border-bottom: 1px solid #6E6E73; } .c0:focus, @@ -132,15 +132,15 @@ exports[`InlineLinkContainer link matching routes for SPA should render correctl exports[`InlineLinkContainer link matching routes for SPA should render correctly for TEST environment 1`] = ` .c0 { - color: #B80000; + color: #222222; border-bottom: 1px solid #B80000; -webkit-text-decoration: none; text-decoration: none; } .c0:visited { - color: #757575; - border-bottom: 1px solid #757575; + color: #6E6E73; + border-bottom: 1px solid #6E6E73; } .c0:focus, diff --git a/src/app/containers/PageHandlers/__snapshots__/withPageWrapper.test.jsx.snap b/src/app/containers/PageHandlers/__snapshots__/withPageWrapper.test.jsx.snap index 0a85e3ed376..b9b4292f029 100644 --- a/src/app/containers/PageHandlers/__snapshots__/withPageWrapper.test.jsx.snap +++ b/src/app/containers/PageHandlers/__snapshots__/withPageWrapper.test.jsx.snap @@ -35,9 +35,11 @@ Array [ .c4 { box-sizing: content-box; - fill: #FFFFFF; + color: #FFFFFF; + fill: currentColor; padding-top: 1rem; padding-bottom: 0.75rem; + height: 1.5rem; width: 100%; max-width: 10.496849999999998rem; min-width: 6.9979rem; @@ -150,9 +152,11 @@ Array [ .c5 { box-sizing: content-box; - fill: #FFFFFF; + color: #FFFFFF; + fill: currentColor; padding-top: 1rem; padding-bottom: 0.75rem; + height: 1.5rem; width: 100%; max-width: 10.496849999999998rem; min-width: 6.9979rem; diff --git a/src/app/containers/Paragraph/__snapshots__/index.test.jsx.snap b/src/app/containers/Paragraph/__snapshots__/index.test.jsx.snap index 610e236782e..57d54aa9ec8 100644 --- a/src/app/containers/Paragraph/__snapshots__/index.test.jsx.snap +++ b/src/app/containers/Paragraph/__snapshots__/index.test.jsx.snap @@ -11,15 +11,15 @@ exports[`ParagraphContainer should render correctly 1`] = ` } .c2 { - color: #B80000; + color: #222222; border-bottom: 1px solid #B80000; -webkit-text-decoration: none; text-decoration: none; } .c2:visited { - color: #757575; - border-bottom: 1px solid #757575; + color: #6E6E73; + border-bottom: 1px solid #6E6E73; } .c2:focus, diff --git a/src/app/containers/StoryPromo/__snapshots__/MediaIndicator.test.jsx.snap b/src/app/containers/StoryPromo/__snapshots__/MediaIndicator.test.jsx.snap index b474de29a1f..183fda80a91 100644 --- a/src/app/containers/StoryPromo/__snapshots__/MediaIndicator.test.jsx.snap +++ b/src/app/containers/StoryPromo/__snapshots__/MediaIndicator.test.jsx.snap @@ -5,6 +5,7 @@ exports[`Story Promo Media Indicator should not render if item media object has datetime="PT1H33M20S" duration="1:33:20" offscreenText={null} + topStory={false} type={null} /> `; @@ -14,6 +15,7 @@ exports[`Story Promo Media Indicator should render correctly 1`] = ` datetime="PT1H33M20S" duration="1:33:20" offscreenText={null} + topStory={false} type="video" /> `; @@ -23,6 +25,7 @@ exports[`Story Promo Media Indicator should render correctly even without durati datetime={null} duration={null} offscreenText={null} + topStory={false} type="video" /> `; diff --git a/src/app/containers/StoryPromo/__snapshots__/index.test.jsx.snap b/src/app/containers/StoryPromo/__snapshots__/index.test.jsx.snap index 8d079b4fb10..7a4ede6f242 100644 --- a/src/app/containers/StoryPromo/__snapshots__/index.test.jsx.snap +++ b/src/app/containers/StoryPromo/__snapshots__/index.test.jsx.snap @@ -109,6 +109,8 @@ exports[`StoryPromo Container should render audio correctly for amp 1`] = ` vertical-align: middle; margin: 0 0.25rem; fill: #222222; + width: 0.8125rem; + height: 0.75rem; } .c5 { @@ -259,6 +261,13 @@ exports[`StoryPromo Container should render audio correctly for amp 1`] = ` } } +@media (max-width:24.9375rem) { + .c5 { + height: 1.25rem; + padding: 0.25rem 0.25rem 0; + } +} +
@@ -477,6 +486,8 @@ exports[`StoryPromo Container should render audio correctly for canonical 1`] = vertical-align: middle; margin: 0 0.25rem; fill: #222222; + width: 0.8125rem; + height: 0.75rem; } .c6 { @@ -627,6 +638,13 @@ exports[`StoryPromo Container should render audio correctly for canonical 1`] = } } +@media (max-width:24.9375rem) { + .c6 { + height: 1.25rem; + padding: 0.25rem 0.25rem 0; + } +} +
@@ -848,6 +866,8 @@ exports[`StoryPromo Container should render audio with no duration correctly for vertical-align: middle; margin: 0 0.25rem; fill: #222222; + width: 0.8125rem; + height: 0.75rem; } .c5 { @@ -993,6 +1013,13 @@ exports[`StoryPromo Container should render audio with no duration correctly for } } +@media (max-width:24.9375rem) { + .c5 { + height: 1.25rem; + padding: 0.25rem 0.25rem 0; + } +} +
@@ -1200,6 +1227,8 @@ exports[`StoryPromo Container should render audio with no duration correctly for vertical-align: middle; margin: 0 0.25rem; fill: #222222; + width: 0.8125rem; + height: 0.75rem; } .c6 { @@ -1345,6 +1374,13 @@ exports[`StoryPromo Container should render audio with no duration correctly for } } +@media (max-width:24.9375rem) { + .c6 { + height: 1.25rem; + padding: 0.25rem 0.25rem 0; + } +} +
@@ -2110,6 +2146,8 @@ exports[`StoryPromo Container should render video correctly for amp 1`] = ` vertical-align: middle; margin: 0 0.25rem; fill: #222222; + width: 0.75rem; + height: 0.75rem; } .c5 { @@ -2260,6 +2298,13 @@ exports[`StoryPromo Container should render video correctly for amp 1`] = ` } } +@media (max-width:24.9375rem) { + .c5 { + height: 1.25rem; + padding: 0.25rem 0.25rem 0; + } +} +
@@ -2475,6 +2520,8 @@ exports[`StoryPromo Container should render video correctly for canonical 1`] = vertical-align: middle; margin: 0 0.25rem; fill: #222222; + width: 0.75rem; + height: 0.75rem; } .c6 { @@ -2625,6 +2672,13 @@ exports[`StoryPromo Container should render video correctly for canonical 1`] = } } +@media (max-width:24.9375rem) { + .c6 { + height: 1.25rem; + padding: 0.25rem 0.25rem 0; + } +} +
From 06ca1a3393858fecdea8ce8e818260055b6c9abf Mon Sep 17 00:00:00 2001 From: Jonathan Roebuck Date: Wed, 10 Jul 2019 09:30:30 +0100 Subject: [PATCH 3/6] update to latest psammead modules update psammead-assets 1.0.4 update psammead-figure 1.0.4 update psammead-headings 2.0.4 update psammead-inline-link 1.1.6 update psammead-navigation 1.0.3 update psammead-section-label 1.0.4 update psammead-story-promo 0.1.4 update psammead-styles 1.1.2 update psammead-visually-hidden-text 1.0.3 --- package-lock.json | 102 +++++++++++++++++++++++----------------------- package.json | 18 ++++---- 2 files changed, 61 insertions(+), 59 deletions(-) diff --git a/package-lock.json b/package-lock.json index e888d624ef5..0a77e5b7f1a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -924,9 +924,9 @@ "integrity": "sha512-Ak0/+lPuCq8aPbOlzxj6/ayr5SmwNZo49dcnK3NHNugH5TEKmt+gjQhsZG6PSxpCEPk5OXhviPiNUEVr4wVObA==" }, "@bbc/psammead-assets": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@bbc/psammead-assets/-/psammead-assets-1.0.3.tgz", - "integrity": "sha512-neHTBF9jyKqdy3xMa8HBEtZqEermSrfgy+7Zo6gsm449txMQfryDs5nlIsotFLuXXkvV6+PC39pUmcroPYZUYQ==" + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@bbc/psammead-assets/-/psammead-assets-1.0.4.tgz", + "integrity": "sha512-+sPJXEHf4WwlStmx3wFWUUq3IMxSn9ebv4ySy/acAQcmpVB1ygDrhbEdVsOL/V/+NFHpsbbjrI+B44odTqIYTQ==" }, "@bbc/psammead-brand": { "version": "4.1.8", @@ -957,13 +957,6 @@ "requires": { "@bbc/gel-foundations": "^3.0.0", "@bbc/psammead-styles": "^1.0.1" - }, - "dependencies": { - "@bbc/psammead-styles": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@bbc/psammead-styles/-/psammead-styles-1.1.2.tgz", - "integrity": "sha512-bEHPHnQwpIQHMOVNATDVEFweOAEtlwU8g7cwwTi2QspNntmq9mTPlXGTqZT1EaFczTwgS8cnQaP/zoXN4F4z6A==" - } } }, "@bbc/psammead-consent-banner": { @@ -999,17 +992,17 @@ } }, "@bbc/psammead-figure": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@bbc/psammead-figure/-/psammead-figure-1.0.3.tgz", - "integrity": "sha512-8/dlO2dnlpA5N8QH8DhRsrNc5lGbJdOsfcrqYWAf2cxWqbCkOC8ArJHUjDXj3D+fECPHcckwt8N/AWr9CtmzIQ==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@bbc/psammead-figure/-/psammead-figure-1.0.4.tgz", + "integrity": "sha512-rq5R+nptLxS5+WrP/SbstuVu4FzGHqf+KiISIi6PGKzcov2yWsSDQ+lvh3JLDKMQmX2WtSo73owPl9sZZz0eDQ==", "requires": { "@bbc/gel-foundations": "^3.0.0" } }, "@bbc/psammead-headings": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@bbc/psammead-headings/-/psammead-headings-2.0.3.tgz", - "integrity": "sha512-IJITzRvjJNHbH1zNpAQKhCobpwtTyqY1SdxlpXjpkloyzUk6hrEpy770PcnaIOdvQvCLCMJrByj2y+IeMFFJaA==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@bbc/psammead-headings/-/psammead-headings-2.0.4.tgz", + "integrity": "sha512-gd8nmlbIs1jZe31D7BJqPde2yT9/BWQFA98Iyl8JbSyDrDjbOpqEwgmHetTMiAybOGr2c2L2aPM0dcYur68HKw==", "requires": { "@bbc/gel-foundations": "^3.0.0", "@bbc/psammead-styles": "^0.3.2" @@ -1049,18 +1042,11 @@ } }, "@bbc/psammead-inline-link": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/@bbc/psammead-inline-link/-/psammead-inline-link-1.1.4.tgz", - "integrity": "sha512-mhh96NsImou+tWV4vbAG6J3MY5ttiOJqeWp44bdco+MFvp3H3pDzYonN/kBzn5+X45TzA8lfkoVObVioI86XZQ==", + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/@bbc/psammead-inline-link/-/psammead-inline-link-1.1.6.tgz", + "integrity": "sha512-yJ6bA2gvveTORRAgU/fJssPN4f3ReYokyrlV34ZGWNP9uSEcNqh+iXIKrjp7X6nOLfbCPe4kebLi9T8Zlp+CSA==", "requires": { "@bbc/psammead-styles": "^1.0.1" - }, - "dependencies": { - "@bbc/psammead-styles": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@bbc/psammead-styles/-/psammead-styles-1.1.2.tgz", - "integrity": "sha512-bEHPHnQwpIQHMOVNATDVEFweOAEtlwU8g7cwwTi2QspNntmq9mTPlXGTqZT1EaFczTwgS8cnQaP/zoXN4F4z6A==" - } } }, "@bbc/psammead-locales": { @@ -1076,19 +1062,12 @@ "@bbc/gel-foundations": "^3.0.1", "@bbc/psammead-styles": "^1.0.1", "@bbc/psammead-visually-hidden-text": "^1.0.1" - }, - "dependencies": { - "@bbc/psammead-styles": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@bbc/psammead-styles/-/psammead-styles-1.1.2.tgz", - "integrity": "sha512-bEHPHnQwpIQHMOVNATDVEFweOAEtlwU8g7cwwTi2QspNntmq9mTPlXGTqZT1EaFczTwgS8cnQaP/zoXN4F4z6A==" - } } }, "@bbc/psammead-navigation": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@bbc/psammead-navigation/-/psammead-navigation-1.0.2.tgz", - "integrity": "sha512-lHUCXyPEGLuj5Pe5JYzswBmTbUBQi7UkSg421Rrg6l9UbzAr2LBCBwabVHdpzOB3IVdInyDcPiPWqJ8Snac67w==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@bbc/psammead-navigation/-/psammead-navigation-1.0.3.tgz", + "integrity": "sha512-KVVb2yXmRkJfuxnHfPSX2nxQx9aUbgjZ8yDr3gNz4eTkbrbT6dRn+xVjR6UjBAE90leAjvwAkMlvRRTmq1gBEQ==", "requires": { "@bbc/gel-foundations": "^1.2.0", "@bbc/psammead-styles": "^0.3.3", @@ -1129,9 +1108,9 @@ } }, "@bbc/psammead-section-label": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@bbc/psammead-section-label/-/psammead-section-label-1.0.3.tgz", - "integrity": "sha512-6dj1XBJgR193zwxIJPFrcL8FC/H4BhZ0WC5vulGmYrYtnu2HF3I+Fn5p1S608OkzncUDrNurn/+D9Eyc6i1jaQ==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@bbc/psammead-section-label/-/psammead-section-label-1.0.4.tgz", + "integrity": "sha512-KcRqz8HZdJI53F3Pfo/uTHNqF75I5TpMrYKj8p7G4BONoCT4g50qlt1OMCgsizOjjpGBJ3JA+Erpm0YamvOFJw==", "requires": { "@bbc/gel-foundations": "^3.0.0", "@bbc/psammead-styles": "^0.3.4" @@ -1161,12 +1140,24 @@ } }, "@bbc/psammead-story-promo": { - "version": "1.0.0-alpha.5", - "resolved": "https://registry.npmjs.org/@bbc/psammead-story-promo/-/psammead-story-promo-1.0.0-alpha.5.tgz", - "integrity": "sha512-M625Ijf+KyoFh+xOLUfVXd1+oVeI3v9rTOIOFh2LeB11bk8W8yn40ti70pLzfWtFoTKq4oVF2j/7GhfM2W5CsQ==", + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/@bbc/psammead-story-promo/-/psammead-story-promo-0.1.4.tgz", + "integrity": "sha512-YqiVawgdUeicYYr5mpUAnCXWljSYj7sCTJ6zdTxJHb18AfWYEcGoQKaqa7efPfKdZs6MKPth6ycFR80fGUsuZA==", "requires": { - "@bbc/gel-foundations": "^3.0.0", - "@bbc/psammead-styles": "^1.0.0" + "@bbc/gel-foundations": "^1.2.0", + "@bbc/psammead-styles": "^0.3.3" + }, + "dependencies": { + "@bbc/gel-foundations": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@bbc/gel-foundations/-/gel-foundations-1.2.0.tgz", + "integrity": "sha512-OpEJf42FSgyZRN0e9pJFm9eYmzbhfB7W7EWlrjh46fWlozyVwKA4uaTPUoGHLbXJkMOhPdpfM3gOAxbuM0FnrQ==" + }, + "@bbc/psammead-styles": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@bbc/psammead-styles/-/psammead-styles-0.3.5.tgz", + "integrity": "sha512-55p7WnK8L8eUIgK8R6J1aKfQKXlpUrh2udoTekUqdwAamGLcGxyulf8nyNPQ78G880KDXv+HLyruzQ3/Q9G1+Q==" + } } }, "@bbc/psammead-story-promo-list": { @@ -1177,6 +1168,17 @@ "@bbc/gel-foundations": "^3.0.1", "@bbc/psammead-story-promo": "^1.0.0-alpha.4", "@bbc/psammead-styles": "^1.0.0" + }, + "dependencies": { + "@bbc/psammead-story-promo": { + "version": "1.0.0-alpha.6", + "resolved": "https://registry.npmjs.org/@bbc/psammead-story-promo/-/psammead-story-promo-1.0.0-alpha.6.tgz", + "integrity": "sha512-WPMFfbeeJy5p+9dXsXnoLAbxzPOww/QQ9GlYc2QNZ4LeF9stl/Ey1/OZKlqYIB4glnnjZytAsFDEXrJsmtNBmg==", + "requires": { + "@bbc/gel-foundations": "^3.0.0", + "@bbc/psammead-styles": "^1.0.0" + } + } } }, "@bbc/psammead-storybook-helpers": { @@ -1190,9 +1192,9 @@ } }, "@bbc/psammead-styles": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@bbc/psammead-styles/-/psammead-styles-1.1.1.tgz", - "integrity": "sha512-6oV9wvLeyp1NkhsTYssp2avT4cHZFihlpyglFGE5xnUG/jrwngTxhaSNPgMF6ZMxk7NNCXAri0LxQpLW27BOfQ==" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@bbc/psammead-styles/-/psammead-styles-1.1.2.tgz", + "integrity": "sha512-bEHPHnQwpIQHMOVNATDVEFweOAEtlwU8g7cwwTi2QspNntmq9mTPlXGTqZT1EaFczTwgS8cnQaP/zoXN4F4z6A==" }, "@bbc/psammead-timestamp": { "version": "0.3.4", @@ -1213,9 +1215,9 @@ } }, "@bbc/psammead-visually-hidden-text": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@bbc/psammead-visually-hidden-text/-/psammead-visually-hidden-text-1.0.2.tgz", - "integrity": "sha512-/g7THVqiu534taCDA1Vdlp+BW1+RkLgmYtGHKd35q19nbNa8shX83z6/gJGOYwjNcCoE3qKAKg/a3b/1sMFP0w==" + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@bbc/psammead-visually-hidden-text/-/psammead-visually-hidden-text-1.0.3.tgz", + "integrity": "sha512-xxZ39fKxavW0cHtK5WLUKX4yBqC0CZ4yJMxI5zF+U2ssgt6kqhbOmNnkweuTLtblOTQL5w0Y4xAsMGUBNjLsAQ==" }, "@cnakazawa/watch": { "version": "1.0.3", diff --git a/package.json b/package.json index 82bc8c45367..6a6f211c075 100644 --- a/package.json +++ b/package.json @@ -88,27 +88,27 @@ "@babel/preset-react": "^7.0.0", "@babel/runtime": "^7.3.4", "@bbc/gel-foundations": "3.0.1", - "@bbc/psammead-assets": "^1.0.3", + "@bbc/psammead-assets": "^1.0.4", "@bbc/psammead-brand": "^4.1.8", "@bbc/psammead-caption": "^1.1.11", "@bbc/psammead-consent-banner": "^1.0.2", "@bbc/psammead-copyright": "^1.0.3", - "@bbc/psammead-figure": "^1.0.3", - "@bbc/psammead-headings": "^2.0.3", + "@bbc/psammead-figure": "^1.0.4", + "@bbc/psammead-headings": "^2.0.4", "@bbc/psammead-image": "^1.0.3", "@bbc/psammead-image-placeholder": "^1.0.2", - "@bbc/psammead-inline-link": "^1.1.4", + "@bbc/psammead-inline-link": "^1.1.6", "@bbc/psammead-locales": "^1.0.0", "@bbc/psammead-media-indicator": "^1.1.1", - "@bbc/psammead-navigation": "^1.0.2", + "@bbc/psammead-navigation": "^1.0.3", "@bbc/psammead-paragraph": "^1.0.9", - "@bbc/psammead-section-label": "^1.0.3", + "@bbc/psammead-section-label": "^1.0.4", "@bbc/psammead-sitewide-links": "^1.0.4", - "@bbc/psammead-story-promo": "^1.0.0-alpha.5", + "@bbc/psammead-story-promo": "^0.1.4", "@bbc/psammead-story-promo-list": "^1.0.3", - "@bbc/psammead-styles": "^1.1.1", + "@bbc/psammead-styles": "^1.1.2", "@bbc/psammead-timestamp-container": "^1.2.2", - "@bbc/psammead-visually-hidden-text": "^1.0.2", + "@bbc/psammead-visually-hidden-text": "^1.0.3", "assets-webpack-plugin": "^3.9.8", "babel-loader": "^8.0.5", "babel-plugin-dynamic-import-node": "^2.3.0", From 1a87b8ac69343e9043d2fd6a76ba764a81e6e864 Mon Sep 17 00:00:00 2001 From: Jonathan Roebuck Date: Wed, 10 Jul 2019 09:36:41 +0100 Subject: [PATCH 4/6] use alpha version of psammead-story-promo psammead-story-promo - 1.0.0-alpha.6 --- package-lock.json | 69 +++++++++++++---------------------------------- package.json | 2 +- 2 files changed, 19 insertions(+), 52 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0a77e5b7f1a..ed79a6b4139 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1140,24 +1140,12 @@ } }, "@bbc/psammead-story-promo": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/@bbc/psammead-story-promo/-/psammead-story-promo-0.1.4.tgz", - "integrity": "sha512-YqiVawgdUeicYYr5mpUAnCXWljSYj7sCTJ6zdTxJHb18AfWYEcGoQKaqa7efPfKdZs6MKPth6ycFR80fGUsuZA==", + "version": "1.0.0-alpha.6", + "resolved": "https://registry.npmjs.org/@bbc/psammead-story-promo/-/psammead-story-promo-1.0.0-alpha.6.tgz", + "integrity": "sha512-WPMFfbeeJy5p+9dXsXnoLAbxzPOww/QQ9GlYc2QNZ4LeF9stl/Ey1/OZKlqYIB4glnnjZytAsFDEXrJsmtNBmg==", "requires": { - "@bbc/gel-foundations": "^1.2.0", - "@bbc/psammead-styles": "^0.3.3" - }, - "dependencies": { - "@bbc/gel-foundations": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@bbc/gel-foundations/-/gel-foundations-1.2.0.tgz", - "integrity": "sha512-OpEJf42FSgyZRN0e9pJFm9eYmzbhfB7W7EWlrjh46fWlozyVwKA4uaTPUoGHLbXJkMOhPdpfM3gOAxbuM0FnrQ==" - }, - "@bbc/psammead-styles": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@bbc/psammead-styles/-/psammead-styles-0.3.5.tgz", - "integrity": "sha512-55p7WnK8L8eUIgK8R6J1aKfQKXlpUrh2udoTekUqdwAamGLcGxyulf8nyNPQ78G880KDXv+HLyruzQ3/Q9G1+Q==" - } + "@bbc/gel-foundations": "^3.0.0", + "@bbc/psammead-styles": "^1.0.0" } }, "@bbc/psammead-story-promo-list": { @@ -6494,8 +6482,7 @@ "detect-libc": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", - "optional": true + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" }, "detect-newline": { "version": "2.1.0", @@ -8626,8 +8613,7 @@ }, "ansi-regex": { "version": "2.1.1", - "bundled": true, - "optional": true + "bundled": true }, "aproba": { "version": "1.2.0", @@ -8645,13 +8631,11 @@ }, "balanced-match": { "version": "1.0.0", - "bundled": true, - "optional": true + "bundled": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, - "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -8664,18 +8648,15 @@ }, "code-point-at": { "version": "1.1.0", - "bundled": true, - "optional": true + "bundled": true }, "concat-map": { "version": "0.0.1", - "bundled": true, - "optional": true + "bundled": true }, "console-control-strings": { "version": "1.1.0", - "bundled": true, - "optional": true + "bundled": true }, "core-util-is": { "version": "1.0.2", @@ -8778,8 +8759,7 @@ }, "inherits": { "version": "2.0.3", - "bundled": true, - "optional": true + "bundled": true }, "ini": { "version": "1.3.5", @@ -8789,7 +8769,6 @@ "is-fullwidth-code-point": { "version": "1.0.0", "bundled": true, - "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -8802,20 +8781,17 @@ "minimatch": { "version": "3.0.4", "bundled": true, - "optional": true, "requires": { "brace-expansion": "^1.1.7" } }, "minimist": { "version": "0.0.8", - "bundled": true, - "optional": true + "bundled": true }, "minipass": { "version": "2.3.5", "bundled": true, - "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -8832,7 +8808,6 @@ "mkdirp": { "version": "0.5.1", "bundled": true, - "optional": true, "requires": { "minimist": "0.0.8" } @@ -8910,8 +8885,7 @@ }, "number-is-nan": { "version": "1.0.1", - "bundled": true, - "optional": true + "bundled": true }, "object-assign": { "version": "4.1.1", @@ -8921,7 +8895,6 @@ "once": { "version": "1.4.0", "bundled": true, - "optional": true, "requires": { "wrappy": "1" } @@ -8997,8 +8970,7 @@ }, "safe-buffer": { "version": "5.1.2", - "bundled": true, - "optional": true + "bundled": true }, "safer-buffer": { "version": "2.1.2", @@ -9028,7 +9000,6 @@ "string-width": { "version": "1.0.2", "bundled": true, - "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -9046,7 +9017,6 @@ "strip-ansi": { "version": "3.0.1", "bundled": true, - "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -9085,13 +9055,11 @@ }, "wrappy": { "version": "1.0.2", - "bundled": true, - "optional": true + "bundled": true }, "yallist": { "version": "3.0.3", - "bundled": true, - "optional": true + "bundled": true } } }, @@ -21497,8 +21465,7 @@ "which-pm-runs": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz", - "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=", - "optional": true + "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=" }, "wide-align": { "version": "1.1.3", diff --git a/package.json b/package.json index 6a6f211c075..b0eddaf7c62 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "@bbc/psammead-paragraph": "^1.0.9", "@bbc/psammead-section-label": "^1.0.4", "@bbc/psammead-sitewide-links": "^1.0.4", - "@bbc/psammead-story-promo": "^0.1.4", + "@bbc/psammead-story-promo": "^1.0.0-alpha.6", "@bbc/psammead-story-promo-list": "^1.0.3", "@bbc/psammead-styles": "^1.1.2", "@bbc/psammead-timestamp-container": "^1.2.2", From 7d542c593268434f77a463523d17dae861c7e548 Mon Sep 17 00:00:00 2001 From: Jonathan Roebuck Date: Wed, 10 Jul 2019 10:48:22 +0100 Subject: [PATCH 5/6] update package-lock --- package-lock.json | 47 ++++++++++++++++++++++++++++++++++------------- 1 file changed, 34 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index ed79a6b4139..de6ad973534 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6482,7 +6482,8 @@ "detect-libc": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", + "optional": true }, "detect-newline": { "version": "2.1.0", @@ -8613,7 +8614,8 @@ }, "ansi-regex": { "version": "2.1.1", - "bundled": true + "bundled": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -8631,11 +8633,13 @@ }, "balanced-match": { "version": "1.0.0", - "bundled": true + "bundled": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -8648,15 +8652,18 @@ }, "code-point-at": { "version": "1.1.0", - "bundled": true + "bundled": true, + "optional": true }, "concat-map": { "version": "0.0.1", - "bundled": true + "bundled": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", - "bundled": true + "bundled": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -8759,7 +8766,8 @@ }, "inherits": { "version": "2.0.3", - "bundled": true + "bundled": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -8769,6 +8777,7 @@ "is-fullwidth-code-point": { "version": "1.0.0", "bundled": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -8781,17 +8790,20 @@ "minimatch": { "version": "3.0.4", "bundled": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } }, "minimist": { "version": "0.0.8", - "bundled": true + "bundled": true, + "optional": true }, "minipass": { "version": "2.3.5", "bundled": true, + "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -8808,6 +8820,7 @@ "mkdirp": { "version": "0.5.1", "bundled": true, + "optional": true, "requires": { "minimist": "0.0.8" } @@ -8885,7 +8898,8 @@ }, "number-is-nan": { "version": "1.0.1", - "bundled": true + "bundled": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -8895,6 +8909,7 @@ "once": { "version": "1.4.0", "bundled": true, + "optional": true, "requires": { "wrappy": "1" } @@ -8970,7 +8985,8 @@ }, "safe-buffer": { "version": "5.1.2", - "bundled": true + "bundled": true, + "optional": true }, "safer-buffer": { "version": "2.1.2", @@ -9000,6 +9016,7 @@ "string-width": { "version": "1.0.2", "bundled": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -9017,6 +9034,7 @@ "strip-ansi": { "version": "3.0.1", "bundled": true, + "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -9055,11 +9073,13 @@ }, "wrappy": { "version": "1.0.2", - "bundled": true + "bundled": true, + "optional": true }, "yallist": { "version": "3.0.3", - "bundled": true + "bundled": true, + "optional": true } } }, @@ -21465,7 +21485,8 @@ "which-pm-runs": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz", - "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=" + "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=", + "optional": true }, "wide-align": { "version": "1.1.3", From 7f4acdfab48741bcc081d2f7f68709c3aa6bcb75 Mon Sep 17 00:00:00 2001 From: Jonathan Roebuck Date: Wed, 10 Jul 2019 10:48:48 +0100 Subject: [PATCH 6/6] update snapshots --- .../__snapshots__/index.test.jsx.snap | 12 ++------ .../__snapshots__/index.test.jsx.snap | 12 ++------ .../__snapshots__/index.test.jsx.snap | 30 ++++--------------- .../__snapshots__/index.test.jsx.snap | 30 ++++--------------- .../__snapshots__/index.test.jsx.snap | 6 +--- 5 files changed, 15 insertions(+), 75 deletions(-) diff --git a/src/app/components/ErrorPage/__snapshots__/index.test.jsx.snap b/src/app/components/ErrorPage/__snapshots__/index.test.jsx.snap index 589d3f284c4..a26950ebc18 100644 --- a/src/app/components/ErrorPage/__snapshots__/index.test.jsx.snap +++ b/src/app/components/ErrorPage/__snapshots__/index.test.jsx.snap @@ -15,12 +15,8 @@ exports[`ErrorMain should correctly render for an error page for News 1`] = ` .c5:focus, .c5:hover { - background-color: #B80000; + color: #B80000; border-bottom: 2px solid #B80000; - color: #FFFFFF; - margin: 0 -2px; - padding: 0 2px; - white-space: pre-wrap; } .c4 { @@ -258,12 +254,8 @@ exports[`ErrorMain should correctly render for an error page for Persian 1`] = ` .c5:focus, .c5:hover { - background-color: #B80000; + color: #B80000; border-bottom: 2px solid #B80000; - color: #FFFFFF; - margin: 0 -2px; - padding: 0 2px; - white-space: pre-wrap; } .c4 { diff --git a/src/app/containers/ArticleFigure/__snapshots__/index.test.jsx.snap b/src/app/containers/ArticleFigure/__snapshots__/index.test.jsx.snap index 58d60c844d6..f4866e6d2fa 100644 --- a/src/app/containers/ArticleFigure/__snapshots__/index.test.jsx.snap +++ b/src/app/containers/ArticleFigure/__snapshots__/index.test.jsx.snap @@ -667,12 +667,8 @@ exports[`ArticleFigure should render an AMP image with caption text with inline .c7:focus, .c7:hover { - background-color: #B80000; + color: #B80000; border-bottom: 2px solid #B80000; - color: #FFFFFF; - margin: 0 -2px; - padding: 0 2px; - white-space: pre-wrap; } .c3 { @@ -1789,12 +1785,8 @@ exports[`ArticleFigure should render an image with caption text with inline link .c8:focus, .c8:hover { - background-color: #B80000; + color: #B80000; border-bottom: 2px solid #B80000; - color: #FFFFFF; - margin: 0 -2px; - padding: 0 2px; - white-space: pre-wrap; } .c3 { diff --git a/src/app/containers/ErrorMain/__snapshots__/index.test.jsx.snap b/src/app/containers/ErrorMain/__snapshots__/index.test.jsx.snap index 39663d67466..d5b8cbb6d0b 100644 --- a/src/app/containers/ErrorMain/__snapshots__/index.test.jsx.snap +++ b/src/app/containers/ErrorMain/__snapshots__/index.test.jsx.snap @@ -15,12 +15,8 @@ exports[`ErrorMain should correctly render for 404 1`] = ` .c5:focus, .c5:hover { - background-color: #B80000; + color: #B80000; border-bottom: 2px solid #B80000; - color: #FFFFFF; - margin: 0 -2px; - padding: 0 2px; - white-space: pre-wrap; } .c4 { @@ -263,12 +259,8 @@ exports[`ErrorMain should correctly render for 404 for persian 1`] = ` .c5:focus, .c5:hover { - background-color: #B80000; + color: #B80000; border-bottom: 2px solid #B80000; - color: #FFFFFF; - margin: 0 -2px; - padding: 0 2px; - white-space: pre-wrap; } .c4 { @@ -511,12 +503,8 @@ exports[`ErrorMain should correctly render for 500 1`] = ` .c5:focus, .c5:hover { - background-color: #B80000; + color: #B80000; border-bottom: 2px solid #B80000; - color: #FFFFFF; - margin: 0 -2px; - padding: 0 2px; - white-space: pre-wrap; } .c4 { @@ -754,12 +742,8 @@ exports[`ErrorMain should correctly render for 500 for persian 1`] = ` .c5:focus, .c5:hover { - background-color: #B80000; + color: #B80000; border-bottom: 2px solid #B80000; - color: #FFFFFF; - margin: 0 -2px; - padding: 0 2px; - white-space: pre-wrap; } .c4 { @@ -997,12 +981,8 @@ exports[`ErrorMain should correctly render for other status code 1`] = ` .c5:focus, .c5:hover { - background-color: #B80000; + color: #B80000; border-bottom: 2px solid #B80000; - color: #FFFFFF; - margin: 0 -2px; - padding: 0 2px; - white-space: pre-wrap; } .c4 { diff --git a/src/app/containers/InlineLink/__snapshots__/index.test.jsx.snap b/src/app/containers/InlineLink/__snapshots__/index.test.jsx.snap index 7aa58051af2..421648a8784 100644 --- a/src/app/containers/InlineLink/__snapshots__/index.test.jsx.snap +++ b/src/app/containers/InlineLink/__snapshots__/index.test.jsx.snap @@ -15,12 +15,8 @@ exports[`InlineLinkContainer external link accessibility should be explicitly ma .c0:focus, .c0:hover { - background-color: #B80000; + color: #B80000; border-bottom: 2px solid #B80000; - color: #FFFFFF; - margin: 0 -2px; - padding: 0 2px; - white-space: pre-wrap; }