Releases: x-govuk/govuk-components
Releases · x-govuk/govuk-components
Version 1.1.3
- Make the notification banner render if there's content passed in (via a block) even when there are no headings provided. This makes the component generally more flexible but still allows it to be used without having to wrap it with a
<% if notifications.any? %>
block. Thanks to @fofr for raising this. #120
Version 1.1.2
- Add support for pre-expanded accordion sections. Thanks @stevehook for implementing this #115
- Not an actual change but now this library is listed on the Design System's community resources and tools page 🥳
Version 1.1.1
- Add the new cookie banner component, thanks to @cpjmcquillan for implementing this #108
- Fix a bug where the
role
attribute of the notification banner couldn't be set; thanks @paulrobertlloyd for reporting this one #110
Version 1.1.0
- Make the footer component more useful, flexible and intuitive. Now the footer accepts blocks that place content inside the
meta
container or replace themeta
container altogether, allowing for more flexibility. The names of the arguments for the footer have been adjusted slightly too #95
Version 1.0.2
- Allow blocks of arbitrary HTML to be passed into notification banner headings #90
Version 1.0.1
Version 1.0.0
A brief summary of everything that's included thus far:
- Components:
- Back link
- Breadcrumbs
- Details
- Footer
- Header
- Inset text
- Notification banner
- Panel
- Phase banner
- Start now button
- Summary list
- Tabs
- Tag
- Warning text
- Helpers:
#govuk_link_to
#govuk_mail_to
#govuk_button_to
#govuk_back_to_top_link
#govuk_skip_link
- Access to components via friendly helpers, e.g.,
#govuk_panel