moj-frontend
moj-frontend copied to clipboard
The MoJ Design System brings together components and patterns created by designers and developers at MoJ.
## Summary It would be helpful to add unit tests to this repo for all components which use JavaScript. These would be evaluated as part of the build process to...
## Summary It would be helpful to add visual regression tests to components which introduce new HTML/CSS content. This would allow us to identify unintended regressions and to visually identify...
At the bottom of [installing-with-npm.md](https://github.com/ministryofjustice/moj-frontend/blob/master/docs/installation/installing-with-npm.md) there is a line: >If your service supports Internet Explorer 8, you will need to generate and include a separate stylesheet as well. This links...
The task list component only supports a tag with the word "complete". Consider adding support for different style tags and wording as per the comment here: https://github.com/ministryofjustice/moj-design-system-backlog/issues/54#issuecomment-523874062
To support realtime messaging, update the mojMessages component to include aria live regions.
The timeline component accepts a datetime object. For example: ``` datetime: { timestamp: "2019-06-14T14:01:00.000Z", type: "datetime" } ``` Users have to include a `type` or `format` for the `timestamp`. Consider...
Add `moj-template.njk` to the frontend to be equivalent to the govuk-frontend version but using MoJ header and footer macros.
`{{ value | mojDate("datetime", "at")}}` where “at” could be changed to a different language.
## Summary When adding 2+ items using the add another component, show a count next to each item heading to help orientation. ## Additional context - When only one item...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@babel/core](https://babel.dev/docs/en/next/babel-core) ([source](https://redirect.github.com/babel/babel/tree/HEAD/packages/babel-core)) | [`7.25.8` -> `7.26.0`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.25.8/7.26.0) | [](https://docs.renovatebot.com/merge-confidence/) |...