Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @ministryofjustice/frontend from 2.2.4 to 3.0.0 #349

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 28, 2024

Bumps @ministryofjustice/frontend from 2.2.4 to 3.0.0.

Release notes

Sourced from @​ministryofjustice/frontend's releases.

v3.0.0

3.0.0 (2024-10-28)

Updated feature

Use the button menu component to show tasks to users in a collapsible menu

This component no longer has a dependency on jQuery.

The button menu component enables users to:

  • open and view a collapsible menu
  • select tasks (as buttons) from the menu

Breaking changes

There are 2 breaking changes:

  1. The button menu component no longer works as a button group. You need to change any occurrences of it to the GOV.UK button group container.
  2. The component no longer switches between a button group and menu according to screen size. There are options for displaying buttons in groups.

If you’re using the page header actions and identity bar components in your service, you also need to check them. This is because they contain the button menu.

You can sign up to emails about MoJ Design System releases.

Changelog

Sourced from @​ministryofjustice/frontend's changelog.

3.0.0 (2024-10-28)

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

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner October 28, 2024 15:00
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 28, 2024
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ministryofjustice/frontend-3.0.0 branch from 529e8aa to 82b88f8 Compare October 28, 2024 16:22
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 30, 2024

Superseded by #361.

@dependabot dependabot bot closed this Oct 30, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/ministryofjustice/frontend-3.0.0 branch October 30, 2024 23:57
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants