-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'add-task-list-component' of github.com:nhsuk/nhsuk-fron…
…tend into add-task-list-component * 'add-task-list-component' of github.com:nhsuk/nhsuk-frontend: (34 commits) Fix encoding issue introduce in gulp v5.0 (#1013) Make it easier to set date values (#994) Update app/components/task-list/multiple-sections.njk Update packages/components/task-list/_task-list.scss Update packages/components/task-list/_task-list.scss Update app/components/task-list/multiple-sections.njk Add summary list row classes (#1007) Add summary list row condition (#1008) changelog backstop refs backstop refs change margins to padding still trying to fix linting error backstop refs remove testing markup from component examples backstop refs updated Use page template in examples update reference images tweak main wrapper margin reduce the padding on main wrapper on mobile ...
- Loading branch information
Showing
203 changed files
with
231 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,7 +64,7 @@ | |
}} | ||
{% endblock %} | ||
|
||
{% block breadcrumb %} | ||
{% block beforeContent %} | ||
{{ breadcrumb({ | ||
items: [ | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,4 @@ | |
</main> | ||
</div> | ||
|
||
{% endblock %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{% set html_style = 'background-color: #f0f4f5;' %} | ||
{% set title = 'Date input' %} | ||
{% from 'components/date-input/macro.njk' import dateInput %} | ||
{% extends 'layout.njk' %} | ||
|
||
{% block body %} | ||
|
||
<div class="nhsuk-width-container"> | ||
<main class="nhsuk-main-wrapper" id="maincontent"> | ||
|
||
<div class="nhsuk-grid-row"> | ||
<div class="nhsuk-grid-column-two-thirds"> | ||
{{ dateInput({ | ||
"id": "dob", | ||
"namePrefix": "dob", | ||
"fieldset": { | ||
"legend": { | ||
"text": "When did you start your job?" | ||
} | ||
}, | ||
"hint": { | ||
"text": "For example, 11 2023" | ||
}, | ||
values: { | ||
month: "8", | ||
year: "2024" | ||
}, | ||
"items": [ | ||
{ | ||
"name": "month", | ||
"classes": "nhsuk-input--width-2" | ||
}, | ||
{ | ||
"name": "year", | ||
"classes": "nhsuk-input--width-4" | ||
} | ||
] | ||
}) }} | ||
</div> | ||
</div> | ||
|
||
</main> | ||
</div> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{% set html_style = 'background-color: #f0f4f5;' %} | ||
{% set title = 'Date input' %} | ||
{% from 'components/date-input/macro.njk' import dateInput %} | ||
{% extends 'layout.njk' %} | ||
|
||
{% block body %} | ||
|
||
<div class="nhsuk-width-container"> | ||
<main class="nhsuk-main-wrapper" id="maincontent"> | ||
|
||
<div class="nhsuk-grid-row"> | ||
<div class="nhsuk-grid-column-two-thirds"> | ||
{{ dateInput({ | ||
"id": "dob", | ||
"namePrefix": "dob", | ||
"fieldset": { | ||
"legend": { | ||
"text": "What is your date of birth?" | ||
} | ||
}, | ||
"hint": { | ||
"text": "For example, 31 3 1980" | ||
}, | ||
values: { | ||
day: "5", | ||
month: "8", | ||
year: "2024" | ||
} | ||
}) }} | ||
</div> | ||
</div> | ||
|
||
</main> | ||
</div> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.