Releases: x-govuk/govuk-components
Releases · x-govuk/govuk-components
Version 5.4.0
- Support govuk-frontend 5.4.0 #538
Release version 5.3.2
- 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
- Fix a bug where equivalent data attributes declared in both styles
"data-attribute" => "value"
anddata: { 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
- 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
- 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
- fix a bug in the footer that added an
<hr>
without thegovuk-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 ormeta_html
slot. This change also introduces agovuk_footer_link_to
helper which makes adding links to the footer much easier #511
Version 5.2.0
- Support govuk-frontend 5.2.0
- Fix some links in the guide as the Design System guidance on typography has been restrucutred 89f0d3c
Version 5.1.0
- New crown graphic in the header 👑 #503
- Remove
aria-labelledby
from accordion sections #503 - Add
(link opens in new tab)
suffix to links wherenew_tab: true
. This text can be overridden by using thedefault_link_new_tab_text
configuration option, or disabled by setting it tonil
. This could be breaking if you've already added text tonew_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
Release 5.1.0b1
See PRs for details of what's changed.
v5.0.2
- 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