Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 6, 2025

This PR contains the following updates:

Package Change Age Confidence
@ministryofjustice/frontend ^2.0.0 -> ^6.0.0 age confidence

Release Notes

ministryofjustice/moj-frontend (@​ministryofjustice/frontend)

v6.0.0

Compare Source

Bug Fixes
  • types: update initAll signature to match types expected by GOVUKFrontend.createAll() (#​1819) (26ad7ca)
Features
BREAKING CHANGES
  • the spacing for the component has changed. This could affect the layout of UIs using the component.

You need to remove any spacing you’ve added to (or around) the component. This needs to be done in Figma designs and in code.

  • docs: add page to test positioning

  • docs: styling changes

  • docs: remove margin from layout tests

  • docs: spacing adjustment

  • docs: add placeholder pattern page

  • docs: fix font size

  • docs: linting

  • docs: linting

  • docs: add github discussion URL

  • docs: add example image

  • docs: updates

  • Remove experimental pattern
  • Add tabs
  • Add two examples
  • style: min-width fix

  • style: change border to outline

  • style: padding tweaks

  • docs: wip add notification badge examples

  • style: fix lint errors for notificaion badge scss

  • docs: update notification badge tabs example to not use macro

  • docs: remove visually hidden puntuation

removed the hidden comma for screenreaders as I don't think it's recommended

  • docs: add draft content

  • docs: example images

  • docs: crit changes

  • feat: update notification badge template

  • docs: number update

  • docs: add nunjucks arguments to notification badge

  • docs: update example shortcode to automatically include arguments

Previously each example njk file needed to include a refernce to the the arguments file in its
frontmatter. This was a bit redundant as the arguments file always has the same name as the
component and is always in the same location. This PR updates the shortcode to extract the
arguments file name from the calling page, and automatically include the arguments markup if the
file exists.

  • docs: content changes

  • docs: image updates

  • docs: fix height of initial example

  • docs: add page to test positioning

  • docs: styling changes

  • docs: remove margin from layout tests

  • docs: spacing adjustment

  • docs: add placeholder pattern page

  • docs: fix font size

  • docs: linting

  • docs: linting

  • docs: add github discussion URL

  • docs: add example image

  • docs: updates

  • Remove experimental pattern
  • Add tabs
  • Add two examples
  • style: min-width fix

  • style: change border to outline

  • style: padding tweaks

  • docs: wip add notification badge examples

  • style: fix lint errors for notificaion badge scss

  • docs: update notification badge tabs example to not use macro

  • docs: remove visually hidden puntuation

removed the hidden comma for screenreaders as I don't think it's recommended

  • docs: add draft content

  • docs: example images

  • docs: crit changes

  • feat: update notification badge template

  • docs: number update

  • docs: add nunjucks arguments to notification badge

  • docs: update example shortcode to automatically include arguments

Previously each example njk file needed to include a refernce to the the arguments file in its
frontmatter. This was a bit redundant as the arguments file always has the same name as the
component and is always in the same location. This PR updates the shortcode to extract the
arguments file name from the calling page, and automatically include the arguments markup if the
file exists.

  • docs: content changes

  • docs: image updates

  • docs: fix height of initial example

  • docs: show html tab for positioning example

  • docs: new content

  • docs: content changes

  • docs: content update

  • docs: guidance update

  • docs: examples updates

  • docs: add notification badge link example

  • docs: update docs page to use notification badge link example

  • docs: updates

  • docs: final update

  • docs: code tweak

  • docs: fix links and curly quotes

  • docs: coded example of 0 count

  • docs: update example images

  • docs: alt text

  • docs: update image

  • docs: update coded examples

  • docs: team review

  • docs(notification badge): control whitespace in nunjucks to prevent trailing spaces in links

  • docs(notification badge): correct updated date for component

  • style: adjust padding

  • docs: adjust css and more

  • example numbers
  • release month
  • docs: update examples

  • docs: amend examples

  • docs: fix list spacing

  • docs: move example

  • docs: alt text

  • docs: link text tweak

  • docs: link tweak

  • docs(notification badge): correct updated date for component

  • style: adjust padding

  • docs: adjust css and more

  • example numbers
  • release month
  • docs: update examples

  • docs: amend examples

  • docs: fix list spacing

  • docs: move example

  • docs: alt text

  • docs: link text tweak

  • docs: link tweak

  • docs: add focus state to code blocks

  • docs: update a11y-light code theme

  • docs: update alt text

  • docs: update coded examples

  • docs: typo

  • docs: nunjucks macro tweaks

5.2.1 (2025-09-24)

Bug Fixes
  • datepicker: change table role to application to force nvda out of browse mode (#​1799) (e89b5bc)

v5.2.1

Compare Source

Bug Fixes
  • datepicker: change table role to application to force nvda out of browse mode (#​1799) (e89b5bc)

v5.2.0

Compare Source

Features

5.1.5 (2025-07-16)

Bug Fixes

5.1.4 (2025-06-23)

Bug Fixes
  • interruption card: fix specificity conflicts from govuk-frontend (#​1540) (9009a0e)

5.1.3 (2025-05-02)

Bug Fixes
  • dependencies: set govuk-frontend peer depencency version appropriately (#​1416) (3b431a9)

5.1.2 (2025-04-09)

Bug Fixes
  • add another: increment indexes for select and textarea elements (#​1367) (756c030)

5.1.1 (2025-04-08)

Bug Fixes
  • sortable table: use svg arrows instead of pseudo elements (#​1363) (ffe7a2d)

v5.1.5

Compare Source

Bug Fixes

v5.1.4

Compare Source

Bug Fixes
  • interruption card: fix specificity conflicts from govuk-frontend (#​1540) (9009a0e)

v5.1.3

Compare Source

Bug Fixes
  • dependencies: set govuk-frontend peer depencency version appropriately (#​1416) (3b431a9)

v5.1.2

Compare Source

Bug Fixes
  • add another: increment indexes for select and textarea elements (#​1367) (756c030)

v5.1.1

Compare Source

Bug Fixes
  • sortable table: use svg arrows instead of pseudo elements (#​1363) (ffe7a2d)

v5.1.0

Compare Source

Features
  • align with GOV.UK Frontend conventions (#​1304) (d9d0a6f), closes #​1128 #​1259
  • configure GOV.UK Prototype Kit for ES modules (e6af988)
  • export MoJ Frontend version CSS custom property (a03e3d1)
  • match GOV.UK Frontend file naming conventions (dbb30d5)
  • update MoJ Frontend version using Rollup (90ac49e)

4.0.1 (2025-03-11)

Bug Fixes
  • button menu: bring back optional --inline modifier (45a10fd)

v5.0.0

Compare Source

v4.0.2

Compare Source

Bug Fixes
  • sortable table: replace pseudo element arrows with svgs (d9d246e)

v4.0.1

Compare Source

Bug Fixes
  • button menu: bring back optional --inline modifier (45a10fd)

v4.0.0

Compare Source

Bug Fixes
  • 1238 missing articles on index pages (#​1239) (e582f75)
  • add ‘Alert’ to GOV.UK Prototype Kit (75e324d)
  • add ‘Date picker’ to GOV.UK Prototype Kit (cb4d306)
  • add ‘Multi file upload’ to GOV.UK Prototype Kit (6f1cc71)
  • alert: avoid Sass deprecated mixed-decls (d9db60d)
  • alert: fix line-height on smaller screens (#​1202) (a13fac4)
  • avoid Sass deprecated color-functions and global-builtin (cc1cc95)
  • avoid Sass deprecated mixed-decls (3b9d489)
  • avoid Sass deprecated slash-div (72c187e)
  • button menu: item classes now only applied to the correct item (#​1265) (423c61c), closes #​969
  • ensure default [@font-face](https://redirect.github.com/font-face) can be excluded (afe5f72)
  • maintain require() compatibility for filters (b25ec12)
  • multi file upload: Remove spurious ; characters from html (#​1200) (e5a1968)
  • remove button group [@extend](https://redirect.github.com/extend) to avoid duplicate styles (403d3d0)
  • render button menu without--inline modifier (fd8802f)
  • support assetPath for header PNG fallbacks (686a878)
Documentation
Features
  • exclude [@font-face](https://redirect.github.com/font-face) by default (73bb09d)
  • migrate to Sass modules (53b6b68)
  • split out “base” Sass partial to align with GOV.UK Frontend (f1ee95a)
BREAKING CHANGES
  • Ruby Sass, LibSass and Node Sass are no longer supported

v3.7.2

Compare Source

Bug Fixes
  • multifile upload: remove extraneous single quote (5894dbd)

v3.7.1

Compare Source

Bug Fixes
  • multifile upload: remove extraneous characters from html markup (6662290)

v3.7.0

Compare Source

Bug Fixes
  • ensure Dart Sass file:// sources use relative paths (11db6df)
Features

3.6.3 (2025-02-26)

Bug Fixes
  • ensure node_modules is added to Sass load paths (4c035f1)
  • ensure peerDependencies are installed (69c8572)

3.6.2 (2025-02-25)

Bug Fixes
  • revert to $ for jQuery external global (c722f15)

3.6.1 (2025-02-25)

Bug Fixes
  • typo in status label comment (7078172)

v3.6.3

Compare Source

Bug Fixes
  • ensure node_modules is added to Sass load paths (4c035f1)
  • ensure peerDependencies are installed (69c8572)

v3.6.2

Compare Source

Bug Fixes
  • revert to $ for jQuery external global (c722f15)

v3.6.1

Compare Source

Bug Fixes
  • typo in status label comment (7078172)

v3.6.0

Compare Source

Bug Fixes
  • ignore build output from jest (7f85d64)
  • ignore test files from gulp watch (12494a3)
Features
  • default to ES module sources (adab275)
  • export to ES modules (8e8787a)
  • swap JavaScript minifier from UglifyJS to terser (a0e165a)

v3.5.0

Compare Source

Features

v3.4.0

Compare Source

Bug Fixes
  • sortable table: improve sorting of strings with a number prefix (#​1108) (b424743)
Features
  • alert: Add alert component, archive banner component (0f8c6a7)

3.3.1 (2025-01-09)

Bug Fixes

v3.3.1

Compare Source

Bug Fixes

v3.3.0

Compare Source

Features
  • tabbed-view-documents: tabbed view documentation (#​989) (5cc6185)

3.2.2 (2024-12-18)

Bug Fixes

3.2.1 (2024-12-12)

Bug Fixes
  • header: remove incorrectly applied filters to the header fallback crown image (#​997) (616280e)

v3.2.2

Compare Source

Bug Fixes

v3.2.1

Compare Source

Bug Fixes
  • header: remove incorrectly applied filters to the header fallback crown image (#​997) (616280e)

v3.2.0

Compare Source

Features

v3.1.0

Compare Source

Features
  • password reveal: archiving password reveal component (#​962) (13c330f)

3.0.3 (2024-11-13)

Bug Fixes
  • action bar: adjust alignment of filter toggle button when next to menu button (#​921) (00fe2b9)

3.0.2 (2024-11-05)

Bug Fixes
  • banner: apply custom classes when type is provided (#​887) (fa418d4)
  • button menu: fix alignment within moj-button-group without js (#​904) (9e6d87d)

3.0.1 (2024-10-30)

Bug Fixes

v3.0.3

Compare Source

Bug Fixes
  • action bar: adjust alignment of filter toggle button when next to menu button (#​921) (00fe2b9)

v3.0.2

Compare Source

Bug Fixes
  • banner: apply custom classes when type is provided (#​887) (fa418d4)
  • button menu: fix alignment within moj-button-group without js (#​904) (9e6d87d)

v3.0.1

Compare Source

Bug Fixes

v3.0.0

Compare Source

Features
BREAKING CHANGES
  • button menu: The component no longer handles being a button group, and it no longer responsively
    switches between a button group and a button menu

  • feat(button menu): wip - continued work on updated button menu

  • feat(button menu): wip - work on styles and interaction details

  • ci(husky): prevent husky failing on staging deploy

  • docs(updating documentation content): updating button menu documentation content

  • feat(button menu): final updates to button menu and adjust page header actions

  • feat(button menu): create examples for button menu

  • feat(button menu): remove menu and menuitem roles and switch to list

This is not a real "menu" in accessibility terms, so the role is incorrect, and using menuitem on the
items removes link/button semantics

  • feat(button menu): update tests for new structure and test js and data api

  • Changes to button menu guidance

  • Added example images
  • Updated 'help and feedback' partial
  • Reviewed heading levels
  • Updating example image

Updating example image

  • feat(button menu): styling changes to improve accessibility

  • feat(button menu): refactor initMenu method

  • refactor(button menu): tidy up for code review

  • feat(button menu): updates to identity bar and page header actions

  • feat(button menu): changes from code review and add tests for single button instance

  • feat(button menu): update examples to use secondary button style, fix chevron alignment

  • Button menu updates

  • Updated "what's new" on homepage
  • Updated Get help and contribute section on button menu page
  • Updated example images
  • Reverted 'Suggest a change' box
  • docs(identity bar component updates): updates to the identity bar component based on the button menu

  • docs(updating documentation content): updating identity bar documentation

  • docs(updating documentation content): updating button menu documentation

Adding link to GOV.UK Design System button group
Changing multiple mention of default
Changing Github content

  • feat(button menu): set default example to use button tags

  • docs(updating documentation content): updating button menu documentation

Including content about WCAG failure for using component as menu

  • feat(button menu and date picker): update example images to png

  • feat(page header actions): update to use moj-button-group instead of button-menu

  • feat(button menu): update the nunjucks arguments documentation

  • fix(button menu): add in anchor link to button attributes within nunjucks arguments

  • fix(button menu): remove space to fix anchor link

  • docs(button menu): fix references to input in items text and html docs

  • docs(button menu): remove unnecessary govuk button include in default example

  • docs(button menu): final few tweaks

  • docs(button menu): minor content changes

  • docs(identity bar): update relative links in page

  • fix(button menu): fix button spacings on very small screens

2.2.4 (2024-09-25)

Bug Fixes

2.2.3 (2024-09-23)

Bug Fixes

2.2.2 (2024-09-19)

Bug Fixes

2.2.1 (2024-09-17)

Reverts

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 10am every weekday,before 4pm every weekday" in timezone Europe/London.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Oct 6, 2025
@renovate renovate bot force-pushed the renovate/ministryofjustice-frontend-6.x branch from 65b4906 to 89bafad Compare October 13, 2025 02:47
@renovate renovate bot force-pushed the renovate/ministryofjustice-frontend-6.x branch 2 times, most recently from a8192e2 to 12f37c5 Compare October 21, 2025 02:52
@renovate renovate bot force-pushed the renovate/ministryofjustice-frontend-6.x branch from 12f37c5 to 1f8b944 Compare October 23, 2025 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant