diff --git a/CHANGELOG.md b/CHANGELOG.md index f8bb72d55..9b613e8b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,15 +3,16 @@ :new: **New features** - Add entries on Down's syndrome, fit note and period products to the A to Z of NHS health writing +- Add guidance for heading classes :wrench: **Maintenance** -- Add guidance for heading classes - Update page template examples to make the default example size `l` and inside the grid system - Make our guidance on age clearer - Update entries on fetus, microgram and NHS in the A to Z - Update links guidance to recommend avoiding "see" - Update content section on capitalisation to mention geographical names - Update service manual team page and email address +- Update Nunjucks macro options for date input component, adding values for day, month and year ## 6.5.0 - 31 July 2024 diff --git a/app/views/design-system/components/date-input/macro-options.json b/app/views/design-system/components/date-input/macro-options.json index aeba2d3b0..647ac1d16 100644 --- a/app/views/design-system/components/date-input/macro-options.json +++ b/app/views/design-system/components/date-input/macro-options.json @@ -76,6 +76,30 @@ "type": "object", "required": false, "description": "HTML attributes (for example data attributes) to add to the date-input container." + }, + { + "name": "values", + "type": "object", + "required": false, + "description": "An optional object use to specify value attributes for the date parts without setting rows." + }, + { + "name": "values.day", + "type": "string", + "required": false, + "description": "Value attribute for the day input." + }, + { + "name": "values.month", + "type": "string", + "required": false, + "description": "Value attribute for the month input." + }, + { + "name": "values.year", + "type": "string", + "required": false, + "description": "Value attribute for the year input." } ] }