thepensionsregulator / govuk-frontend-aspnetcore-extensions

Adds client-side validation, additional components and editing in Umbraco to https://github.com/gunndabad/govuk-frontend-aspnetcore
MIT License
16 stars 1 forks source link

Accordion should own its heading level property to allow future changes #319

Closed sussexrick closed 2 months ago

sussexrick commented 3 months ago

The allowed heading levels for accordion are likely to be unique to accordion and also likely to change as support improves, so rather than set up a generic data type and composition, use a data type specific to that component and add it directly to the component settings.

Accordion support has only just been merged and never published, so this is a non-breaking change.

This PR also moves the accordion page to the top of the list in the example app backoffice, to match its position on the example app home page.