Govuk Components Versions Save

Lightweight Ruby on Rails components for developing with the GOV.UK Design System.

v5.3.2

3 weeks ago
  • 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

v5.3.1

1 month ago
  • 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

v5.3.0

1 month ago
  • 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

v5.2.2

2 months ago
  • 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 ❤️

v5.2.1

2 months ago
  • 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

v5.2.0

2 months ago
  • Support govuk-frontend 5.2.0
  • Fix some links in the guide as the Design System guidance on typography has been restrucutred 89f0d3cd5

v5.1.0

2 months ago
  • New crown graphic in the header 👑 #503
  • Remove aria-labelledby from accordion sections #503
  • Add (link opens in new tab) suffix to links where new_tab: true. This text can be overridden by using the default_link_new_tab_text configuration option, or disabled by setting it to nil. This could be breaking if you've already added text to new_tab: true links manually, check your links to ensure there's no repetition #497
  • Add custom brand support to the task list component, thanks @misaka #496
  • Various improvements to style and examples in the guide, thanks @paulrobertlloyd and @frankieroberto #504, #506

v5.1.0b1

2 months ago

See PRs for details of what's changed.

v5.0.2

4 months ago
  • Massive update to the guide, huge thanks to @paulrobertlloyd for taking it on #486, #490
  • Add cannot_start_yet argument to task list status component, which marks rows as not being startable and greys the action out #488
  • Bump ViewComponent to 3.9.0 which adds some extra safety around dealing with raw HTML, thanks @benilovj for raising and dealing with this

v5.0.1

4 months ago
  • append the card title to summary card actions, thanks @frankieroberto for spotting and reporting this #481
  • fix source map loading in the guide #485
  • add warning messages when action: or controller: args are passed to new link helpers
  • fix a bug where the #govuk_breadcrumb_link_to helper was adding govuk-breadcrumbs--link instead of govuk-breadcrumbs__link. Only really noticeable when using breadcrumbs with inverted colours. Thanks @paulrobertlloyd for reporting.