Skip to content

Releases: x-govuk/govuk-components

Version 1.1.3

11 Mar 12:00
bfea496
Compare
Choose a tag to compare
  • 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

02 Mar 14:33
031594a
Compare
Choose a tag to compare

Version 1.1.1

17 Feb 20:56
8f5b304
Compare
Choose a tag to compare

Version 1.1.0

23 Jan 14:47
e87718f
Compare
Choose a tag to compare
  • Make the footer component more useful, flexible and intuitive. Now the footer accepts blocks that place content inside the meta container or replace the meta container altogether, allowing for more flexibility. The names of the arguments for the footer have been adjusted slightly too #95

Version 1.0.2

08 Jan 13:12
f2b34a7
Compare
Choose a tag to compare
  • Allow blocks of arbitrary HTML to be passed into notification banner headings #90

Version 1.0.1

07 Jan 11:36
61eab87
Compare
Choose a tag to compare
  • Remove a rogue full stop from notification banner headings #88
  • Add code quality and coverage metrics and (more-importantly) some badges to the README 🏅 #82

Version 1.0.0

15 Dec 11:23
8da16fa
Compare
Choose a tag to compare
  • Add support for Rails 6.1 - thanks to @gpeng #79

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