moj-frontend
moj-frontend copied to clipboard
The MoJ Design System brings together components and patterns created by designers and developers at MoJ.
## Summary Use SVG symbols rather than repeating inlined svgs. Note, I'm not sure how much you are using inlined SVG for icons as you move forwards, so this may...
### Prerequisites - [X] Put an X between the brackets on this line if you have done all of the following: - Reproduced the problem - Followed all applicable steps...
 as seen in the screenshot, is it possible to close/end the timeline for the last item? If you add to the timeline in reverse order, it does look weird...
## Summary The [Organisation switcher](https://design-patterns.service.justice.gov.uk/components/organisation-switcher/) currently floats the link to the right, which can be an issue for accessibility: the link can be hard to see and click, and isn't...
## Summary It would be nice to eliminate our dependency on jQuery, instead using native browser functionality (e.g. `setAttribute` instead of `attr`, `querySelector` rather than `find`). ## Motivation There are...
## Summary Make the sorted data of a sortable table (https://design-patterns.service.justice.gov.uk/components/sortable-table/) stay sorted for the duration of a user's session. ## Motivation Users interacting with a sorted table refer back...
## Summary Add guidance on how to contribute to the Pattern Library. ## Motivation To encourage contribution, and reduce the need for manual support. ## Working doc https://docs.google.com/document/d/1uNEbfd7tH5Ma6kCX5PoRLs4HW6yfza80m8X_0f_BcRw/edit?usp=sharing
As seen here on smaller screens: 
**NB: This is a breaking change** When you use [the Add another component](https://moj-design-system.herokuapp.com/components/add-another) to add an additional item, the legend on the form is identical to the original one: in...
**NB: This is a breaking change** On small screens, [the Sub navigation component](https://moj-design-system.herokuapp.com/components/sub-navigation) changes from a horizontal list into a vertical one. [The side navigation component](https://moj-design-system.herokuapp.com/components/side-navigation) does the opposite, changing...