dwp / design-system

One place for service teams to find and share the styles, components and patterns for designing DWP services.
MIT License
15 stars 3 forks source link

New component: filter (first pass) #611

Open simoneduca opened 1 month ago

simoneduca commented 1 month ago

What

First version of 'filter' component.

Why

A number of services (e.g. Apprenticeship Service, Colleague View, NSJSA) are currently using versions of the MOJ filter component

Done when

Following a team chat, we decided the first version will only include checkboxes (no search input box) and it will be agnostic in terms of data format (e.g. table, timeline). This is to increase value delivered to teams using filters.

Outcomes

A releasable, tested filter component.

Follow up ticket to update guidance on main site.

Related stories

- https://github.com/dwp/design-system/issues/497