alphagov / govuk-design-system

One place for service teams to find styles, components and patterns for designing government services.
https://www.gov.uk/design-system
MIT License
512 stars 232 forks source link

Cookie banner extends `ConfigurableComponent` #4305

Open patrickpatrickpatrick opened 1 week ago

patrickpatrickpatrick commented 1 week ago

What

Make the cookie banner extends ConfigurableComponent which is now exported from the latest version of govuk-frontend. Remove redundant code and update references to the config. Use the defaults functionality of ConfigurableComponent and provide a schema.

Why

Fixes https://github.com/alphagov/govuk-design-system/issues/4275

netlify[bot] commented 1 week ago

You can preview this change here:

Name Link
Latest commit 0ef3cf4cb85dbd0ea6a6a1e4b326bb245e3d46f4
Latest deploy log https://app.netlify.com/sites/govuk-design-system-preview/deploys/6737453960091300089e652e
Deploy Preview https://deploy-preview-4305--govuk-design-system-preview.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.