Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
0.0.31-alpha (Breaking release)
💥 Breaking changes:
The
govuk-file-url
helper has been renamed to togovuk-image-url
. If youare using this function in your own styles you will need to update calls to
it. (PR #726)
The
$govuk-global-images
variable has been renamed to to$govuk-images-path
. If you are overriding this variable or using it in yourown styles you will need to update your code to use the new variable name.
(PR #726)
🔧 Fixes:
Namespacing SCSS exports with 'govuk' prefix to avoid clashes with
exports in applications consuming GOV.UK Frontend
(PR #732)
Fixes a bug whereby print styles were being 'rasterized' into the screen
styles when generating the IE8 stylesheet (this is a bug in sass-mq, and has
also been raised upstream – Don’t rasterize print queries when non-responsive sass-mq/sass-mq#111).
(PR #726)
Removed some duplicated CSS rules from the outputted CSS
(PR #727)
Fixes a bug in IE8 where the button component did not have a shadow, by
rendering the shadow using a border for IE8 specifically – IE8 does not
support box-shadow
([PR Fix a couple of IE8 issues #737])(Fix a couple of IE8 issues #737)
🆕 New features:
Change font delivery method from Base64 encoded strings to serving WOFF2, WOFF
and EOT files as separate HTTP requests. You will need to ensure that you are
serving the fonts from the assets folder as part of your application.
(PR #726)
The font-face is now using
font-display: fallback
. This means that thefallback font (Arial) will be used if NTA doesn't download within 100ms. The
browser will then swap to NTA as long as it loads within the short swap period.
(PR #726)
You can now override the helpers used to generate image and font urls, for
example if you are using sass-rails' asset-pipeline functionality.
You can do this by setting
$govuk-image-url-function
and$govuk-font-url-function
to the name of the function(s) you wish to use.See
src/settings/_assets.scss
for more information and examples.(PR #733)
Add boilerplate template, which is a Nunjucks replacement for GOV.UK Template.
(PR #731)
🏠 Internal:
Improve release steps, based on doing a release
(PR #725)
Fix majority of vulnerabilities flagged by
npm audit
(PR #712)