GOV.UK Frontend release v1.3.0
This is a feature release, where we've added new functionality and fix a couple of small issue
Thanks to @colinrotherham you can now specify attributes on radio and checkbox items.
We have fixed the spacing between legends and hints, removed whitespaces in the template and dotted outline of the button in Firefox, adjusted spacing in the tag and panel component as well as changed date input component's inputs from float to inline-block.
For more details see the changelog below.
Changelog
🆕 New features:
-
Allow attributes on checkboxes/radios
You can now provide attributes on checkbox and radio items
attributes: { 'data-attribute': 'value' }
(PR #942)
🔧 Fixes:
-
Fix incorrect panel title bottom margin with optional text
Margin is only added when panel text is provided
(PR #936)
-
Remove template whitespace
Remove leading whitespace before the doctype in the page template.
Some older browser will be forced into 'quirks mode' if there is whitespace before the doctype.(PR #949)
-
Remove additional dotted outline from focussed buttons in Firefox
This was already the intended behaviour, but a minor typo (: rather than ::)
meant that it wasn't being applied.(PR #951)
-
Update date input component to use
display: inline-block
(PR #938) -
Change spacing relationship on default and small legends and hints
(PR #940) -
Adjust tag component padding to compensate for font spacing
(PR #955)