From 24d52cdfb61ccbd54902d4d6e10e902693448638 Mon Sep 17 00:00:00 2001 From: Colin Rotherham Date: Fri, 16 Jun 2023 09:49:21 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20component=20data=20typo=20=E2=80=9Cthe=20?= =?UTF-8?q?each=E2=80=9D=20on=20nested=20params?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/summary-list/options/params.mjs | 16 ++++++++-------- .../src/govuk/components/tabs/options/params.mjs | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/govuk-frontend/src/govuk/components/summary-list/options/params.mjs b/packages/govuk-frontend/src/govuk/components/summary-list/options/params.mjs index 263302dfc9..4f237d055b 100644 --- a/packages/govuk-frontend/src/govuk/components/summary-list/options/params.mjs +++ b/packages/govuk-frontend/src/govuk/components/summary-list/options/params.mjs @@ -21,14 +21,14 @@ export const params = [ type: 'string', required: true, description: - 'If `html` is set, this is not required. Text to use within the each key. If `html` is provided, the `text` option will be ignored.' + 'If `html` is set, this is not required. Text to use within each key. If `html` is provided, the `text` option will be ignored.' }, { name: 'key.html', type: 'string', required: true, description: - 'If `text` is set, this is not required. HTML to use within the each key. If `html` is provided, the `text` option will be ignored.' + 'If `text` is set, this is not required. HTML to use within each key. If `html` is provided, the `text` option will be ignored.' }, { name: 'key.classes', @@ -41,14 +41,14 @@ export const params = [ type: 'string', required: true, description: - 'If `html` is set, this is not required. Text to use within the each value. If `html` is provided, the `text` option will be ignored.' + 'If `html` is set, this is not required. Text to use within each value. If `html` is provided, the `text` option will be ignored.' }, { name: 'value.html', type: 'string', required: true, description: - 'If `text` is set, this is not required. HTML to use within the each value. If `html` is provided, the `text` option will be ignored.' + 'If `text` is set, this is not required. HTML to use within each value. If `html` is provided, the `text` option will be ignored.' }, { name: 'value.classes', @@ -87,7 +87,7 @@ export const params = [ type: 'string', required: true, description: - 'If `text` is set, this is not required. HTML to use within the each action item. If `html` is provided, the `text` option will be ignored.' + 'If `text` is set, this is not required. HTML to use within each action item. If `html` is provided, the `text` option will be ignored.' }, { name: 'visuallyHiddenText', @@ -131,14 +131,14 @@ export const params = [ type: 'string', required: false, description: - 'Text to use within the each title. If `html` is provided, the `text` option will be ignored.' + 'Text to use within each title. If `html` is provided, the `text` option will be ignored.' }, { name: 'html', type: 'string', required: false, description: - 'Text to use within the each title. If `html` is provided, the `text` option will be ignored.' + 'Text to use within each title. If `html` is provided, the `text` option will be ignored.' }, { name: 'headingLevel', @@ -185,7 +185,7 @@ export const params = [ type: 'string', required: true, description: - 'If `text` is set, this is not required. HTML to use within the each action item. If `html` is provided, the `text` option will be ignored.' + 'If `text` is set, this is not required. HTML to use within each action item. If `html` is provided, the `text` option will be ignored.' }, { name: 'visuallyHiddenText', diff --git a/packages/govuk-frontend/src/govuk/components/tabs/options/params.mjs b/packages/govuk-frontend/src/govuk/components/tabs/options/params.mjs index 281042ad83..1c7ab9453b 100644 --- a/packages/govuk-frontend/src/govuk/components/tabs/options/params.mjs +++ b/packages/govuk-frontend/src/govuk/components/tabs/options/params.mjs @@ -68,7 +68,7 @@ export const params = [ type: 'string', required: true, description: - 'If `text` is set, this is not required. HTML to use within the each tab panel. If `html` is provided, the `text` option will be ignored.' + 'If `text` is set, this is not required. HTML to use within each tab panel. If `html` is provided, the `text` option will be ignored.' }, { name: 'attributes',