From 5cb6d9c4f963c500e9675000e1bb66242a6962f2 Mon Sep 17 00:00:00 2001 From: Matt Shaw Date: Wed, 25 May 2022 16:23:22 +0100 Subject: [PATCH] add missing fieldset and label heading classes --- src/govuk/components/character-count/character-count.yaml | 1 + src/govuk/components/checkboxes/checkboxes.yaml | 2 ++ src/govuk/components/file-upload/file-upload.yaml | 1 + src/govuk/components/input/input.yaml | 1 + src/govuk/components/radios/radios.yaml | 2 ++ src/govuk/components/select/select.yaml | 1 + src/govuk/components/textarea/textarea.yaml | 1 + 7 files changed, 9 insertions(+) diff --git a/src/govuk/components/character-count/character-count.yaml b/src/govuk/components/character-count/character-count.yaml index 0812619fde..7f092f3b32 100644 --- a/src/govuk/components/character-count/character-count.yaml +++ b/src/govuk/components/character-count/character-count.yaml @@ -135,6 +135,7 @@ examples: maxlength: 10 label: text: Full address + classes: govuk-label--l isPageHeading: true - name: with word count diff --git a/src/govuk/components/checkboxes/checkboxes.yaml b/src/govuk/components/checkboxes/checkboxes.yaml index 2c7c900145..064ac665b1 100644 --- a/src/govuk/components/checkboxes/checkboxes.yaml +++ b/src/govuk/components/checkboxes/checkboxes.yaml @@ -202,6 +202,7 @@ examples: fieldset: legend: text: How do you want to sign in? + classes: govuk-fieldset__legend--l isPageHeading: true items: - name: gateway @@ -223,6 +224,7 @@ examples: fieldset: legend: text: How do you want to sign in? + classes: govuk-fieldset__legend--l isPageHeading: true items: - name: gateway diff --git a/src/govuk/components/file-upload/file-upload.yaml b/src/govuk/components/file-upload/file-upload.yaml index 5f8e195bec..7e596eef15 100644 --- a/src/govuk/components/file-upload/file-upload.yaml +++ b/src/govuk/components/file-upload/file-upload.yaml @@ -86,6 +86,7 @@ examples: name: file-upload-1 label: text: Upload a file + classes: govuk-label--l isPageHeading: true - name: with optional form-group classes data: diff --git a/src/govuk/components/input/input.yaml b/src/govuk/components/input/input.yaml index 071d87627e..3a701d4fef 100644 --- a/src/govuk/components/input/input.yaml +++ b/src/govuk/components/input/input.yaml @@ -202,6 +202,7 @@ examples: data: label: text: National Insurance number + classes: govuk-label--l isPageHeading: true id: input-with-page-heading name: test-name diff --git a/src/govuk/components/radios/radios.yaml b/src/govuk/components/radios/radios.yaml index 4559b810bd..81a5865e00 100644 --- a/src/govuk/components/radios/radios.yaml +++ b/src/govuk/components/radios/radios.yaml @@ -142,6 +142,7 @@ examples: fieldset: legend: text: How do you want to sign in? + classes: govuk-fieldset__legend--l isPageHeading: true items: - value: gateway @@ -220,6 +221,7 @@ examples: fieldset: legend: text: How do you want to sign in? + classes: govuk-fieldset__legend--l isPageHeading: true items: - value: gateway diff --git a/src/govuk/components/select/select.yaml b/src/govuk/components/select/select.yaml index bf947dc867..85ad0445e6 100644 --- a/src/govuk/components/select/select.yaml +++ b/src/govuk/components/select/select.yaml @@ -114,6 +114,7 @@ examples: name: select-3 label: text: Label text goes here + classes: govuk-label--l isPageHeading: true items: - diff --git a/src/govuk/components/textarea/textarea.yaml b/src/govuk/components/textarea/textarea.yaml index 2995d9be09..db9fa5555e 100644 --- a/src/govuk/components/textarea/textarea.yaml +++ b/src/govuk/components/textarea/textarea.yaml @@ -110,6 +110,7 @@ examples: name: address label: text: Full address + classes: govuk-label--l isPageHeading: true - name: with optional form-group classes