Skip to content

Releases: Crown-Commercial-Service/digitalmarketplace-govuk-frontend

Digital Marketplace GOV.UK Frontend release v1.1.1

18 Aug 13:14
6b22766
Compare
Choose a tag to compare

🔧 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

18 Aug 10:01
f873f5e
Compare
Choose a tag to compare

🆕 New features:

  • You can now use the parameter question_advice with the list input component to show question advice to the user PR #163
  • You can now use the parameter itemLabelPrefix with the list input component to add a visually hidden label to inputs PR #163

🔧 Fixes:

  • The list input component now has simpler fieldset properties PR #163
  • The list input component now has the first input id end in -1 as expected by the content loader PR #163

Digital Marketplace GOV.UK Frontend release v1.0.1

04 Aug 09:39
b7e8957
Compare
Choose a tag to compare

🔧 Fixes:

  • The cookie banner component now has a aria-label property PR #161
  • The alert and banner components no longer have a focusable state PR #158

Digital Marketplace GOV.UK Frontend release v1.0.0

03 Aug 10:40
1afcb2c
Compare
Choose a tag to compare

💥 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)

  • Move govuk-frontend templates and styles to govuk/

    You must change any paths containing govuk-frontend/ to use govuk/ 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.

🔧 Fixes:

  • Ability to wrap components with <main> to avoid accessibility errors. PR #148
  • Add title to iFrames. PR #148
  • Fix "open in new tab" links PR #148

Digital Marketplace GOV.UK Frontend release v0.9.1

28 May 13:58
d8189fd
Compare
Choose a tag to compare

🔧 Fixes:

Javascript to support error message on cookie settings page PR #124

Digital Marketplace GOV.UK Frontend release v0.9.0

05 May 14:44
56cbf3e
Compare
Choose a tag to compare

0.9.0

🆕 New features:

  • Representative usage examples for the banner component PR #114.

🔧 Fixes:

  • Add ARIA roles and labels to alert and banner components PR #113
  • Adjust tabindex attribute on alert and banner components PR #113
  • Fix mismatched tags in the banner component PR #114.
  • Ensure links are readable in the banner component PR #114.

Digital Marketplace GOV.UK Frontend release v0.8.0

14 Apr 08:42
4f60ad2
Compare
Choose a tag to compare

🆕 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

13 Mar 13:35
6dea32a
Compare
Choose a tag to compare

🆕 New features:

  • New component: Digital Marketplace Banner component

    Installing component:

    1. Check config.py has this line for jinja to find the components

                  os.path.join(repo_root, 'node_modules', 'digitalmarketplace-govuk-frontend')
      
    2. Import the component in _base_page.html
      {% from "digitalmarketplace/components/banner/macro.njk" import dmBanner %}

    3. 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 and package/package.json to match docker images.

Digital Marketplace GOV.UK Frontend release v0.6.3

14 Feb 15:32
b2f589a
Compare
Choose a tag to compare

🔧 Fixes:

Initialise Analytics if consent cookie is present.

Digital Marketplace GOV.UK Frontend release v0.6.1

14 Feb 12:28
844b617
Compare
Choose a tag to compare

🔧 Fixes:

  • Fix pre-filled values on the Cookie Settings form, by parsing dm_cookies_policy as a JSON object.

    (PR #67)