Releases: Crown-Commercial-Service/digitalmarketplace-govuk-frontend
Digital Marketplace GOV.UK Frontend release v1.1.1
🔧 Fixes:
- The list input component input label numbers now align properly on smaller screens PR #168
Digital Marketplace GOV.UK Frontend release v1.1.0
Digital Marketplace GOV.UK Frontend release v1.0.1
Digital Marketplace GOV.UK Frontend release v1.0.0
💥 Breaking changes:
-
Move Digital Marketplace files around
We've moved some files around so their locations are consistent with govuk-frontend.
- The Digital Marketplace JavaScript file is now found at
digitalmarketplace-govuk-frontend/digitalmarketplace/all.js
- The Digital Marketplace Sass file is now found at
digitalmarketplace-govuk-frontend/digitalmarketplace/all.scss
You must change how you copy or import Digital Marketplace JavaScript:
// to copy Digital Marketplace JavaScript using gulp-include //= require ../../../node_modules/digitalmarketplace-govuk-frontend/digitalmarketplace/all.js
You may need to change how you import Digital Marketplace Sass:
@import "node_modules/digitalmarketplace-govuk-frontend/digitalmarketplace/all"
(PR #153)
- The Digital Marketplace JavaScript file is now found at
-
Move govuk-frontend templates and styles to
govuk/
You must change any paths containing
govuk-frontend/
to usegovuk/
instead.For example, to import govukInput you now write:
{% from "govuk/components/input/macro.njk" import govukInput %}
(PR #151)
🆕 New features:
- New component: Digital Marketplace List Input component
- Use the component
{{ dmListInput({...}) }}
. For its parameters, see its README and/or YAML. For examples, see the review app.
- Use the component
🔧 Fixes:
Digital Marketplace GOV.UK Frontend release v0.9.1
🔧 Fixes:
Javascript to support error message on cookie settings page PR #124
Digital Marketplace GOV.UK Frontend release v0.9.0
Digital Marketplace GOV.UK Frontend release v0.8.0
🆕 New features:
- Adding gov.uk cross-domain tracking to Digital Marketplace analytics, based on the old Frontend Toolkit analytics code.
- Includes function calls to strip personal data from both DMP analytics events and cross domain tracker events.
Digital Marketplace GOV.UK Frontend release v0.7.0
🆕 New features:
-
New component: Digital Marketplace Banner component
Installing component:
-
Check config.py has this line for jinja to find the components
os.path.join(repo_root, 'node_modules', 'digitalmarketplace-govuk-frontend')
-
Import the component in
_base_page.html
{% from "digitalmarketplace/components/banner/macro.njk" import dmBanner %}
-
Use the component
{{ dmBanner({...}) }}
. For its parameters, see its README and/or YAML. For examples, see the review app.
(PR #87)
-
🔧 Fixes:
- Fix node version in
.nvmrc
andpackage/package.json
to match docker images.
Digital Marketplace GOV.UK Frontend release v0.6.3
🔧 Fixes:
Initialise Analytics if consent cookie is present.
Digital Marketplace GOV.UK Frontend release v0.6.1
🔧 Fixes:
-
Fix pre-filled values on the Cookie Settings form, by parsing dm_cookies_policy as a JSON object.
(PR #67)