- SelectionButtons will add a class to the label with the type of the child input (PR #317)
- Fix anchor-buttons.js to trigger a native click event, also rename to shimLinksWithButtonRole.js to explain what it does
- Add tests for shimLinksWithButtonRole (PR #310)
- Add Department for International Trade organisation (PR #308)
- Add support for Google Analytics fieldsObject (PR #298)
- anchor-buttons.js: normalise keyboard behaviour between buttons and links with a button role (PR #297)
- Fix tabular number sizing in Firefox (PR #301)
- Allow use of multiple GA customDimensionIndex. See this section of the documentation for more information.
- Configurable duration (in days) for AB Test cookie. See this section of the documentation for more information.
- Allow base scripts to run within a module loader. See this PR for more information.
- Make headings block-level by default (PR #200). If you are styling elements you want to be inline with heading includes, you’ll need to explicitly make them inline in your CSS.
- Increase button padding to match padding from GOV.UK elements (PR #275). If you have UI which depends on the padding set by the button mixin in the frontend toolkit and this is not overridden by button padding set by GOV.UK elements, this change will affect it.
- Remove the GDS-Logo font-face definition (PR #272)
- Move the @viewport statements to govuk_template (PR #272). If you upgrade to this version of govuk_frontend_toolkit and you’re also using govuk_template you’ll need to upgrade that to at least 0.17.2 to maintain compatibility with desktop IE10 in snap mode.
- Allow New Transport font stack to be overridden by apps using
$toolkit-font-stack
and$toolkit-font-stack-tabular
(PR #230)
- Fix phase banner alignment (PR #266)
- Add websafe organisation colours
- Split colours into two files with backwards-compatible colours.scss replacement
- Add GOV.UK lint to lint scss files (PR #260)
- Remove reference to old colour palette (PR #256)
- Fix link to GOV.UK elements - tabular data
- Update DEFRA brand colour to new green (PR #249)
- Pass cohort name to analytics when using multivariate test (PR #251)
- Add 'mailto' tracking to GOV.UK Analytics (PR #244)
- Use the Sass variable $light-blue for link active and hover colours (PR #242)
- Add breadcrumb styles, separator images and documentation (PR #236)
- Add fallback image for the back link (PR #235)
- Find and auto-start JavaScript modules from markup:
data-module="module-name"
(PR #227)
- Add helpers partial for functions
- Add px to em function and documentation
- Allow javascript error tracking to be filtered to avoid noise from plugins
- Track download links using events not pageviews
- Add two analytics plugins for download and external link tracking
- Update typography mixins to be mobile first (PR #157)
- Update Accessible Media Player to remove dependency on $.browser (PR #206)
- Add support for sending the
page
option toGOVUK.analytics.trackEvent
(PR #203)
- Fix: stop multiline text from dropping below phase tag.
- Remove Google Analytics classic alphagov#194
- References to google-analytics-classic-tracker.js should be removed
- Rename GOVUK.Tracker to GOVUK.Analytics
- References to GOVUK.Tracker should be updated
- Changes Analytics API library to accept one, both or neither of the analytics tracking codes. This means we can start removing classic tracking codes from apps.
#3.5.0
- Adds cross domain tracking to Analytics API library: alphagov#185
- Adds sass variables for discovery and live phases
#3.4.2
- Fix: Before this fix, when a user fell into variant 0 of a multivariate test, the data wouldn't be reported to Google correctly because of a broken null check in the code block that opts the user into the Google Content Experiment.
- Fix: Make the error colour a darker red for greater contrast and to meet WCAG 2.0 AAAA (this was meant to go into 3.3.1 but was lost from history)
- Add
$focus-colour
variable (#180)
- multivariate-test.js: add support for using Google Content Experiments as the reporting backend for multivariate tests
- Fix: Make the error colour a darker red for greater contrast and to meet WCAG 2.0 AAAA
- Add: Analytics - pageview tracking for a print attempt
- Fix: Analytics - don't run error and print plugins on load
- Add: Analytics API alphagov#162 https://github.com/alphagov/govuk_frontend_toolkit/blob/master/docs/analytics.md
- Fix: outdent to add right margin rather than only left
- Fix: add missing semi-colons in JavaScript files
- Fix: use box-sizing mixin in column mixin to support more browsers
- Add: ability to specify float direction on column mixin
- Add: Sass-lint tests
- Fix a bug with the npm publishing. npm requires a version change to publish a package.
- Change publishing method to not use git submodules in govuk_frontend_toolkit_npm.
This is a major version bump because it will move the toolkit from
./node_modules/govuk_frontend_toolkit/govuk_frontend_toolkit/
to./node_modules/govuk_frontend_toolkit/
, which will break relative imports in Sass. - Fix typo in Sass comment
- Fix new grid helpers to ensure content using %site-width-container is centred in IE.
- Add support for selection-button events to be document-level alphagov#139
- The
GOVUK.selectionButtons
interface is now deprecated. Details are in the README.
- Create new grid helpers for creating grid layouts
- The old grid mixins;
@outer-block
and@inner-block
are now deprecated
- Reset font family for print stylesheets to fix print errors in browsers and printers
- Fix visited link colour to be a colour which passes contrast
- abstraction of the core typography mixins into single core mixin
- reference to composer module added to README
- selection buttons added to manifest for localSpecRunner
- test for sass compilation
- fix for selection buttons
- polyfill for Function.prototype.bind added
- selection-buttons script added
- local runner added for Jasmine tests
- New phase banner styles
- Removed trailing commas
- Redrawn important icon
- Adds weighting to multivariant testing
- add three quarters variable to measurements
- improvements to CSS3 mixins
- set inner block mixin to use either padding or margin
- increase button padding to match alphagov/static defaults
Add icons from alphagov/static
Fix contrast on phase banner
Considered stable