Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ params:

examples:
- name: default
screenshot:
variants:
- default
- no-js
options:
id: default-example
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ params:

examples:
- name: default
screenshot: true
options: {}
- name: with custom text
options:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ params:

examples:
- name: default
screenshot: true
options:
items:
- text: Section
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ params:

examples:
- name: default
screenshot:
variants:
- default
- no-js
options:
text: Save and continue
- name: disabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ params:

examples:
- name: default
screenshot:
variants:
- default
- no-js
options:
name: more-detail
maxlength: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ accessibilityCriteria: |

examples:
- name: default
screenshot:
variants:
- default
- no-js
options:
name: nationality
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ params:

examples:
- name: default
screenshot: true
options:
messages:
- headingText: Cookies on this government service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ params:

examples:
- name: default
screenshot: true
options:
id: dob
- name: complete question
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ params:

examples:
- name: default
screenshot: true
options:
summaryText: Help with nationality
text: We need to know your nationality so we can work out which elections
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ accessibilityCriteria: |

examples:
- name: default
screenshot: true
options:
text: Error message about full name goes here

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ accessibilityCriteria: |

examples:
- name: default
screenshot:
variants:
- default
- no-js
options:
titleText: There is a problem
errorList:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ params:

examples:
- name: default
screenshot:
variants:
- default
- no-js
options:
redirectUrl: '/full-page-examples/announcements'
id: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ params:

examples:
- name: default
screenshot: true
options:
legend:
text: What is your address?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ params:

examples:
- name: default
screenshot:
variants:
- default
- no-js
options:
name: file-upload-1
label:
Expand Down Expand Up @@ -187,7 +191,10 @@ examples:
formGroup:
classes: extra-class
- name: enhanced
screenshot: true
screenshot:
variants:
- default
- no-js
options:
id: file-upload-1
name: file-upload-1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ accessibilityCriteria: |

examples:
- name: default
screenshot: true
options: {}

- name: with custom HTML content licence and copyright notice
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ accessibilityCriteria: |

examples:
- name: default
screenshot:
variants:
- default
- no-js
description: The standard header as used on information pages on GOV.UK
options: {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ accessibilityCriteria: |

examples:
- name: default
screenshot: true
options:
text: |
It's on your National Insurance card, benefit letter, payslip or P60.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ params:

examples:
- name: default
screenshot: true
options:
label:
text: National Insurance number
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ params:

examples:
- name: default
screenshot: true
options:
text: It can take up to 8 weeks to register a lasting power of attorney if there are no mistakes in the application.
- name: with html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ params:

examples:
- name: default
screenshot: true
options:
text: National Insurance number
- name: with bold text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ params:

examples:
- name: default
screenshot:
variants:
- default
- no-js
options:
text: This publication was withdrawn on 7 March 2014.
- name: paragraph as html heading
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ params:

examples:
- name: default
screenshot: true
options:
previous:
href: '/previous'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ params:

examples:
- name: default
screenshot: true
options:
titleHtml: Application complete
text: 'Your reference number: HDJ2123F'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ params:

examples:
- name: default
screenshot:
variants:
- default
- no-js
options:
label:
text: Password
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ params:

examples:
- name: default
screenshot: true
options:
tag:
text: Alpha
Expand Down
29 changes: 24 additions & 5 deletions packages/govuk-frontend/src/govuk/components/radios/radios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ accessibilityCriteria: |

examples:
- name: default
screenshot:
variants:
- default
- no-js
options:
name: example-default
hint:
Expand Down Expand Up @@ -242,7 +246,10 @@ examples:
For properties that are within a geographical area defined by a local council

- name: with a divider
screenshot: true
screenshot:
variants:
- default
- no-js
options:
idPrefix: example-divider
name: example
Expand All @@ -259,7 +266,10 @@ examples:
text: Create an account

- name: with hints on items
screenshot: true
screenshot:
variants:
- default
- no-js
options:
idPrefix: gov
name: gov
Expand Down Expand Up @@ -397,7 +407,10 @@ examples:
<input class="govuk-input govuk-!-width-one-third" name="contact-text-message" type="text" id="contact-text-message">

- name: with conditional item checked
screenshot: true
screenshot:
variants:
- default
- no-js
options:
idPrefix: 'how-contacted-checked'
name: 'how-contacted-checked'
Expand Down Expand Up @@ -507,7 +520,10 @@ examples:
<input class="govuk-input govuk-!-width-one-third" name="contact-text-message" type="text" id="contact-text-message">

- name: small
screenshot: true
screenshot:
variants:
- default
- no-js
options:
idPrefix: 'how-contacted-2'
name: 'how-contacted-2'
Expand Down Expand Up @@ -681,7 +697,10 @@ examples:
text: funkiness

- name: small with a divider
screenshot: true
screenshot:
variants:
- default
- no-js
options:
idPrefix: example-small-divider
name: example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ params:

examples:
- name: default
screenshot: true
options:
name: select-1
label:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ previewLayout: full-width

examples:
- name: default
screenshot:
variants:
- default
- no-js
options:
navigation:
- href: '#/1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ params:

examples:
- name: default
screenshot:
variants:
- default
- no-js
options:
text: Skip to main content
href: '#test-target-element'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ params:

examples:
- name: default
screenshot: true
options:
rows:
- key:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ params:

examples:
- name: default
screenshot: true
options:
rows:
- - text: January
Expand Down
4 changes: 4 additions & 0 deletions packages/govuk-frontend/src/govuk/components/tabs/tabs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ params:

examples:
- name: default
screenshot:
variants:
- default
- no-js
options:
items:
- label: Past day
Expand Down
1 change: 1 addition & 0 deletions packages/govuk-frontend/src/govuk/components/tag/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ params:

examples:
- name: default
screenshot: true
options:
text: Alpha
- name: grey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ params:

examples:
- name: default
screenshot: true
options:
items:
- title:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ params:

examples:
- name: default
screenshot: true
options:
name: more-detail
label:
Expand Down
Loading