From 5e5cf7762a40bb3022bff93231b171481c34d74e Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 27 Feb 2023 11:57:03 +0000 Subject: [PATCH 1/5] Update breadcrumbs style --- packages/components/breadcrumb/README.md | 2 +- .../components/breadcrumb/_breadcrumb.scss | 11 +++++++---- packages/components/breadcrumb/template.njk | 2 +- ...nd_Breadcrumb_0_document_0_iPhone_5_SE.png | Bin 4157 -> 3119 bytes ...end_Breadcrumb_0_document_1_iPhone_6-8.png | Bin 4656 -> 3606 bytes ...-frontend_Breadcrumb_0_document_2_iPad.png | Bin 7764 -> 7812 bytes ...eadcrumb_0_document_3_Surface_iPad_Pro.png | Bin 8221 -> 8283 bytes 7 files changed, 9 insertions(+), 6 deletions(-) diff --git a/packages/components/breadcrumb/README.md b/packages/components/breadcrumb/README.md index 813bb6e5c..87e4c939d 100644 --- a/packages/components/breadcrumb/README.md +++ b/packages/components/breadcrumb/README.md @@ -25,7 +25,7 @@ Find out more about the breadcrumb component and when to use it in the [NHS digi

- Back to Level three + Back to L Level three

diff --git a/packages/components/breadcrumb/_breadcrumb.scss b/packages/components/breadcrumb/_breadcrumb.scss index a66b69a7c..f9fbe754f 100644 --- a/packages/components/breadcrumb/_breadcrumb.scss +++ b/packages/components/breadcrumb/_breadcrumb.scss @@ -15,11 +15,10 @@ */ .nhsuk-breadcrumb { - @include print-hide(); + @include print-hide(); /* [1] */ - background-color: $color_nhsuk-white; - padding-bottom: 12px; /* [1] */ - padding-top: 12px; /* [1] */ + padding-bottom: nhsuk-spacing(3); + padding-top: 20px; /* [2] */ .nhsuk-icon__chevron-right { fill: $color_nhsuk-grey-3; @@ -40,6 +39,10 @@ position: relative; width: 24px; } + + + .nhsuk-width-container .nhsuk-main-wrapper { + padding-top: 0; + } } .nhsuk-breadcrumb__list { diff --git a/packages/components/breadcrumb/template.njk b/packages/components/breadcrumb/template.njk index 991f59d24..f90cb3b2c 100644 --- a/packages/components/breadcrumb/template.njk +++ b/packages/components/breadcrumb/template.njk @@ -9,6 +9,6 @@ {% endfor %}
  • {{ params.text}}
  • -

    Back to {{ params.text }}

    +

    Back to {{ params.text }}

    diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Breadcrumb_0_document_0_iPhone_5_SE.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Breadcrumb_0_document_0_iPhone_5_SE.png index 4302c0ef094c0e9edd183e415678d6fc662ced2b..84a550f27ea936a9d0fc1f9fb853d819a564746f 100644 GIT binary patch literal 3119 zcmeH~?N`zV6vt6(J{`4m<=Hap9Jkq-mX<9v6Dn=y@ubss)DqBgqD##OQbPoCuH(|F ztEK`X)OMU_)9?Wk9Vi^loQXfGHGabsOb_4_qWVna3Q>8O&ANq3SByEC1wgM(^Do zJ?oY4`82{~{mbe!clY7LbMBvw9_h(!yq$h1yWA<^7;hzV;$^%wykAsT7ZL+AIWl=W zI8J0irxXf^2n>fR)CNmI!cs|rcEHA=WUA8}F`cyg^ucIEnZM1Bt{uDna(~z4wp z(N>W^8>lTrTu=dBSif5f^ zXs}ezKnhh8&Dq9(rNkQ&C@6@as({mhV5L!}pXZH>#mg-z zOoesKtg0b-vx7iZFerotL^wHCAuO6LOliuJ6ZMuM(7Q30Z1~-@;etjw`+6G~T(8kK z(VI*4`=?)2D#T)~MMs9%wP8WUl=T@CUqKqnCg&M2ut^gX1hFo(Nb2p`w5eEOU{Fwi zrm+u_H$igvHE}>X(LAXejaIj#jK9(8GJRyjIF>EA0jE(*)KrPYx;~h_`Q%e*v4M#a znvn*H51$>Hx_Q7l8xDANlJ8d8zC zg$h|@d8!53O<S(H!hE#{C3f z!K3Cil{6mJo?VY*aRWhIKEUMnUZcR31l4eZeq3lB@vv_bW^N8*3v;FUI5L`LiH(x)YW`lT6ApN2toPttmjxPorq=u^FMuvZJ|*jv^@s z7m_kS1@C3KfdQC~B3Sc}uNSh)c?1@@u4r;G#m}{~sdC>AOHJ@Ct-L$zA>iXZ6xsr zhNc`*J!+F|P2{J3AwAs2be3GEDSFp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riA)-e5ZNguj+Lc54HY z(0z;X1!Zr(Wa23_Tv6fXC5CH~=%Fms{spd+c5w^z6=)>3kW-U82Px|o>t0yR>=v=9 zmUJ4v$dHVd2(5W4rO-}wAuIP+61j(FNK|&<3Dn7?7&?;)546!Upt^QNUu8^5=-E9b zVC$j~Ke)_5($ZJ@aBC-CVUbNYjD*N3gt*9i_2uKL7^nE$BwqR@7Xhm=>rR3o6voLJ zElpWvy9FGvxvB`H2p|ltA%hEx%A&cKvWJ9l77yl-!j$}pOV**EpWvT-X4t;<(bS-^ ziy}YM#n{3~zy@c|rK!2aUx_%*N+RlyhQS~!(JrSVAJEK9rl*i%7EWK@YqW_>pdPk#lvGQNWj$7l-ADSiz$9>2v)pqr`){!4dV-rQG zIM*qS#B|OK&jvbog_R!JOai|2NPY>w#$#J>)91UWhmpofObUnEkdP>@bL+1{hve9+ zapp`BhZs!^nU7Z+rKoQUyoHf!igHefn=S=S`7iZ-`fA0pph)%G!_STGmD$(~!x<+= zH=@cC(rC%mJgM~K3{@J|I&_pRUm-!H>iO{S@C>S_VWRRUL5XzsfNk^p2!l2y&w9Z1 z^qVEQW%1M}a+Pm$bHw?R#UV3@CY0m#wm)_fzi%@@%#!k!Jj4ZI=qmXWcI5Xr`7=gl zb>$yfz10Ye)=f>ox%1?JVpMVet_eX_u_9b2X EFAVt?4gdfE diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Breadcrumb_0_document_2_iPad.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Breadcrumb_0_document_2_iPad.png index f4337125366efe625a3f0b9a087ba1c57b507f1d..307223df69da30e9f348ee0bea2cf9b0ceb1d85c 100644 GIT binary patch literal 7812 zcmeH}|5sA?AIEPWYqpxXPM_9Hjh(fvwPxQ*(TVG;vldi}q=eY4{EAe7Um&2`%5}DM zpIMrUn6tz#BKZYP6iEA|St1&OGX+x<6B1NJlrQqRozMU9`QdZ;<$2%tb>8=!*L~gR z`}w#xj-f(5R;*tE0Dwo>4+l;F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(uJ;-@z8p@Ge5PJI-ERgGebHh+;f%r{Ny(RVzBLbma?r zouwiqr;odwaJ=y;jASw&pyg$rb1y8+jrV3L&c66-m7=|6DI6ls(wT=SbF_!WdFOJ~FbFDXjK6Cl=>^gMZN_nk$4cjJAv#U$nXj zCKctgeEKR?4D`^X`hcg3lR6H;3Amilg=r1$?^Q0{iiB!MdCnM})?j+-R!#mYu|iaK zFjh$wh*bp0l7atwGAWSy3El;E%0n9UE>+dx5o9rdrXWrEiFWgov041I)avuINpC(0 z0+`Qu?0le7XTBUGcwUK;+yPRt68(%W-8pDTm?4EC z2eI+C0-Eh_nvrg=JQc-TayZ7A-Xb{mxwU|H9T>Ideq^LiUd#<%MG8-qHjTQQNgREp&jrxmnN^<~fOz|0Z}cC`q-s&}Cj;Lt_Yj{Yrj zZYo73H82R?`Gv1=+lgVjr+hDe-Uz@jYzPe3$L|D{vfvqnD_}4_F6PMG$wj^Go92c= zFR^kIL!^!;)3imu0^t}GRsjGAbzs5Q>POR{nPfPBqTPYNoa5a?hZq0TM+pq;bhEqI z-ipc2uDtR9dGb$dtKPr)K0Zcr3K2MYekm!Oeanw!{4mVxO*^|S%V;IkruyTgbr#xV zJK6m+3>CfSy;&DPI=tlbTDbSK@ZOELPrhH9u;VTJEq4A&luev)ovn4$IfVA^aPiq$ gd(SoBy2B6dv~Q>E1Q-`1Y${)U5q_5Xc|zI$0e;Y*VE_OC From 47d12206788a0ad84d70dc666d97b25b8b8ed343 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 2 Mar 2023 14:20:05 +0000 Subject: [PATCH 2/5] Linting fixes --- packages/components/breadcrumb/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/components/breadcrumb/README.md b/packages/components/breadcrumb/README.md index 87e4c939d..0b0fc4c20 100644 --- a/packages/components/breadcrumb/README.md +++ b/packages/components/breadcrumb/README.md @@ -25,7 +25,10 @@ Find out more about the breadcrumb component and when to use it in the [NHS digi

    - Back to L Level three + + Back to   + Level three +

    From d5310222d33df9a57165fc7efd7ade359c81e32f Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 6 Mar 2023 20:14:18 +0000 Subject: [PATCH 3/5] Update _breadcrumb.scss Update the number references in the comments and remove unused comments. --- packages/components/breadcrumb/_breadcrumb.scss | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/components/breadcrumb/_breadcrumb.scss b/packages/components/breadcrumb/_breadcrumb.scss index f9fbe754f..182e8a18f 100644 --- a/packages/components/breadcrumb/_breadcrumb.scss +++ b/packages/components/breadcrumb/_breadcrumb.scss @@ -3,15 +3,13 @@ ========================================================================== */ /** - * 1. Bespoke spacing numbers used as there is no 12px + * 1. Hide the breadcrumb on print stylesheets. + * 2. Bespoke spacing numbers used as there is no 20px * spacing mapped in settings/spacing. - * 2. Hide the breadcrumb on print stylesheets. * 3. Don't show the full breadcrumb below tablet size. * 4. Typography sizing mixin, see core/tools/_typography * 5. and core/settings/_typography for size maps. * 5. .. but show a back to index page link. - * 6. Remove spacing between back icon and label. - * 7. Custom padding for the chevron separator icon. */ .nhsuk-breadcrumb { From feb413fbb68c0694e3a3f0f431a6e1c7a0fa861f Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 12 Mar 2023 18:40:10 +0000 Subject: [PATCH 4/5] update changelog --- CHANGELOG.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72d75c0be..2d1676f79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,31 @@ - Added Character Count component, ported from govuk-frontend ([PR 811](https://github.com/nhsuk/nhsuk-frontend/pull/811)) - Added Tabs component, ported from govuk-frontend ([PR 828](https://github.com/nhsuk/nhsuk-frontend/pull/828)) +:boom: **Breaking changes** + +- Breadcrumb update + +We iterated the breadcrumb, removing the white banner and bringing the breadcrumb link closer to the page heading, which it relates to, giving the heading context of where it sits within the site. Instead of having this: + +``` +

    + + Back to Level three + +

    +``` + +You will only now need this: + +``` +

    + + Back to   + Level three + +

    +``` + :recycle: **Changes** - Rework clickable cards using CSS invisible overlay rather than JS event handler to avoid problems with using Ctrl-click, middle click, right click to open new tabs ([PR 762](https://github.com/nhsuk/nhsuk-frontend/pull/762)). From 798120eb4ded50c8157161cf3f514387a1596631 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 16 Mar 2023 13:14:20 +0000 Subject: [PATCH 5/5] fixed formatting to maintaince consistency --- packages/components/breadcrumb/template.njk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/components/breadcrumb/template.njk b/packages/components/breadcrumb/template.njk index f90cb3b2c..f4cc3e064 100644 --- a/packages/components/breadcrumb/template.njk +++ b/packages/components/breadcrumb/template.njk @@ -9,6 +9,11 @@ {% endfor %}
  • {{ params.text}}
  • -

    Back to {{ params.text }}

    +

    + + Back to   + {{ params.text }} + +