Skip to content

Releases: x-govuk/govuk-components

Version 5.6.1

08 Sep 18:09
0a492c5
Compare
Choose a tag to compare
  • Fix a typo in govuk-width-container in the new service navigation component, and add some extra tests to ensure it's right 0a492c5

Version 5.6.0

06 Sep 09:42
c15e41f
Compare
Choose a tag to compare
  • Add new service navigation component #556
  • Add support for component-specific branding which allows for the mixing and matching of design systems so this library can be integrated with the NHS design system more easily #552
  • Add an extra argument to govuk_header called full_width_border. When true it will set the govuk-header--full-width-border class which is suggested in the service navigation guidance
  • Support govuk-frontend 5.6.0

Version 5.5.0

13 Aug 17:17
9300206
Compare
Choose a tag to compare

Version 5.4.1

18 Jul 20:07
0f70d49
Compare
Choose a tag to compare
  • Allow default fallback summary list value text to be set. It defaults to "" so the library's behaviour won't change but it can be overridden to something more informative if necessary #540
  • Support govuk-frontend version 5.4.1
  • Bump the supported Ruby and Rails versions

Version 5.4.0

17 May 15:50
f612f0e
Compare
Choose a tag to compare
  • Support govuk-frontend 5.4.0 #538

Release version 5.3.2

23 Apr 19:59
f4ce296
Compare
Choose a tag to compare
  • Support govuk-frontend 5.3.1
  • Allow tab ids to be manually overridden. Thanks @misaka for this. #532
  • Add custom tag support to notification banner headings. This change also fixes the default HTML tag to <p> as suggested in the design system documentation rather than <div>. Thanks @DavidBiddle for contributing this fix. #533

Version 5.3.1

08 Apr 08:42
6860eb7
Compare
Choose a tag to compare
  • Fix a bug where equivalent data attributes declared in both styles "data-attribute" => "value" and data: { attribute: "value" } would result in duplicate attributes rendered in the HTML. #530. Massive thanks to @DavidBiddle for identifying and fixing this!
  • Fix the guide entry for the list helper where an unordered list was shown instead of an ordered one. Thanks @colinbruce #528

Version 5.3.0

28 Mar 17:11
5c0ec80
Compare
Choose a tag to compare
  • Upgrade to govuk-frontend 5.3.0 - this involved removing the now-redundant role attribute from the header, footer and nav components #523
  • Upgrade tabs component to have a default title when nothing is specified, thanks @frankieroberto #521
  • Add two extra slots to the footer so content can be injected before/after the meta items #519
  • Various minor dependency updates #522, #524, #525

Version 5.2.2

12 Mar 18:13
e666086
Compare
Choose a tag to compare
  • add the List helper to ease the creation of GOV.UK style lists. #509, #520 Thanks @frankieroberto!
  • fix a bug where data-module: "govuk-button" was missing from #govuk_button #513
    Also add custom branding and double click prevention #514 - thanks @misaka ❤️

Release 5.2.1

23 Feb 16:27
790731d
Compare
Choose a tag to compare
  • fix a bug in the footer that added an <hr> without the govuk-footer__section-break class resulting in a thicker-than-intended horizontal rule. This will only have been visible if you're adding navigation items to the footer. #510
  • fix a bug in the footer where the meta content is displayed below the licence info instead of above it. It will only have been visible if you're using the meta_text argument or meta_html slot. This change also introduces a govuk_footer_link_to helper which makes adding links to the footer much easier #511