Lightweight Ruby on Rails components for developing with the GOV.UK Design System.
<p>
as suggested in the design system documentation rather than <div>
. Thanks @DavidBiddle for contributing this fix. #533"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!data-module: "govuk-button"
was missing from #govuk_button
#513
Also add custom branding and double click prevention #514 - thanks @misaka ❤️<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. #510meta_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 #511aria-labelledby
from accordion sections #503(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 #497See PRs for details of what's changed.
cannot_start_yet
argument to task list status component, which marks rows as not being startable and greys the action out #488action:
or controller:
args are passed to new link helpers#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.