alphagov / govuk-frontend

GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.
https://frontend.design-system.service.gov.uk/
MIT License
1.18k stars 325 forks source link

Gather what our components do with their internal API #5149

Closed romaricpascal closed 4 months ago

romaricpascal commented 4 months ago

What

Gather what each of our components do with their private API: what internal methods do but also which knowledge they use for achieving that (especially whether that knowledge is kept inside the component or passed as argument).

Why

This will help us identify APIs we already have and may want to open up publicly, as well as assess which changes we may need to make should we want to do so.

Who needs to work on this

Developers

Who needs to review this

Developers

Done when

We've gone through our components and listed what their internal API allows:

romaricpascal commented 4 months ago

A good point to start might be this Trello board that @domoscargin found back.

romaricpascal commented 4 months ago

All components reviewed, I'll close this 😊