Update dependency @ministryofjustice/frontend to v6 #252
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.
This PR contains the following updates:
^2.0.0->^6.0.0Release Notes
ministryofjustice/moj-frontend (@ministryofjustice/frontend)
v6.0.0Compare Source
Bug Fixes
Features
BREAKING CHANGES
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
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
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
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
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
v5.2.1Compare Source
Bug Fixes
v5.2.0Compare Source
Features
5.1.5 (2025-07-16)
Bug Fixes
5.1.4 (2025-06-23)
Bug Fixes
5.1.3 (2025-05-02)
Bug Fixes
5.1.2 (2025-04-09)
Bug Fixes
5.1.1 (2025-04-08)
Bug Fixes
v5.1.5Compare Source
Bug Fixes
v5.1.4Compare Source
Bug Fixes
v5.1.3Compare Source
Bug Fixes
v5.1.2Compare Source
Bug Fixes
v5.1.1Compare Source
Bug Fixes
v5.1.0Compare Source
Features
4.0.1 (2025-03-11)
Bug Fixes
--inlinemodifier (45a10fd)v5.0.0Compare Source
v4.0.2Compare Source
Bug Fixes
v4.0.1Compare Source
Bug Fixes
--inlinemodifier (45a10fd)v4.0.0Compare Source
Bug Fixes
mixed-decls(d9db60d)color-functionsandglobal-builtin(cc1cc95)mixed-decls(3b9d489)slash-div(72c187e)[@font-face](https://redirect.github.com/font-face)can be excluded (afe5f72)require()compatibility for filters (b25ec12)[@extend](https://redirect.github.com/extend)to avoid duplicate styles (403d3d0)--inlinemodifier (fd8802f)assetPathfor header PNG fallbacks (686a878)Documentation
Features
[@font-face](https://redirect.github.com/font-face)by default (73bb09d)BREAKING CHANGES
v3.7.2Compare Source
Bug Fixes
v3.7.1Compare Source
Bug Fixes
v3.7.0Compare Source
Bug Fixes
file://sources use relative paths (11db6df)Features
3.6.3 (2025-02-26)
Bug Fixes
node_modulesis added to Sass load paths (4c035f1)peerDependenciesare installed (69c8572)3.6.2 (2025-02-25)
Bug Fixes
$for jQuery external global (c722f15)3.6.1 (2025-02-25)
Bug Fixes
v3.6.3Compare Source
Bug Fixes
node_modulesis added to Sass load paths (4c035f1)peerDependenciesare installed (69c8572)v3.6.2Compare Source
Bug Fixes
$for jQuery external global (c722f15)v3.6.1Compare Source
Bug Fixes
v3.6.0Compare Source
Bug Fixes
Features
v3.5.0Compare Source
Features
v3.4.0Compare Source
Bug Fixes
Features
3.3.1 (2025-01-09)
Bug Fixes
v3.3.1Compare Source
Bug Fixes
v3.3.0Compare Source
Features
3.2.2 (2024-12-18)
Bug Fixes
3.2.1 (2024-12-12)
Bug Fixes
v3.2.2Compare Source
Bug Fixes
v3.2.1Compare Source
Bug Fixes
v3.2.0Compare Source
Features
v3.1.0Compare Source
Features
3.0.3 (2024-11-13)
Bug Fixes
3.0.2 (2024-11-05)
Bug Fixes
3.0.1 (2024-10-30)
Bug Fixes
v3.0.3Compare Source
Bug Fixes
v3.0.2Compare Source
Bug Fixes
v3.0.1Compare Source
Bug Fixes
v3.0.0Compare 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
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
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.
This PR was generated by Mend Renovate. View the repository job log.