Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ju committed Jul 2, 2018
1 parent 68e2586 commit bfe1eaf
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

💥 Breaking changes:

- Update date input component

Rely on `classes` (`govuk-input--width-2` and `govuk-input--width-4`) instead
of item names to set the width of input items.

To migrate you must add the `govuk-input--width-2` (for day and month) or the `govuk-input--width-4` class (for year) to your date input items.

If you're using the Nunjucks macros you can also rely on the default date input items by removing the items entirely from the arguments object.

([PR #857](https://github.com/alphagov/govuk-frontend/pull/857))

- Pull Request Title goes here

Description goes here (optional)
Expand All @@ -14,6 +25,14 @@

🆕 New features:

- Update date input component

Allow the `name` and `id` attributes to be passed individually for each input item.

Add default (day, month, year) date input items if no items are being specified

([PR #857](https://github.com/alphagov/govuk-frontend/pull/857))

- Pull Request Title goes here

Description goes here (optional)
Expand Down

0 comments on commit bfe1eaf

Please sign in to comment.