diff --git a/packages/govuk-frontend/src/govuk/components/summary-list/summary-list.yaml b/packages/govuk-frontend/src/govuk/components/summary-list/summary-list.yaml index 3d523d4b4d..17caca1300 100644 --- a/packages/govuk-frontend/src/govuk/components/summary-list/summary-list.yaml +++ b/packages/govuk-frontend/src/govuk/components/summary-list/summary-list.yaml @@ -42,39 +42,44 @@ params: type: string required: false description: Classes to add to the value wrapper. - - name: actions.classes - type: string - required: false - description: Classes to add to the actions wrapper. - - name: actions.items - type: array + - name: actions + type: object required: false - description: Array of action item objects. + description: The actions of each row. params: - - name: href - type: string - required: true - description: The value of the link's `href` attribute for an action item. - - name: text - type: string - required: true - description: If `html` is set, this is not required. Text to use within each action item. If `html` is provided, the `text` option will be ignored. - - name: html - type: string - required: true - description: 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 - type: string - required: false - description: Actions rely on context from the surrounding content so may require additional accessible text. Text supplied to this option is appended to the end. Use `html` for more complicated scenarios. - name: classes type: string required: false - description: Classes to add to the action item. - - name: attributes - type: object + description: Classes to add to the actions wrapper. + - name: items + type: array required: false - description: HTML attributes (for example data attributes) to add to the action item. + description: Array of action item objects. + params: + - name: href + type: string + required: true + description: The value of the link's `href` attribute for an action item. + - name: text + type: string + required: true + description: If `html` is set, this is not required. Text to use within each action item. If `html` is provided, the `text` option will be ignored. + - name: html + type: string + required: true + description: 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 + type: string + required: false + description: Actions rely on context from the surrounding content so may require additional accessible text. Text supplied to this option is appended to the end. Use `html` for more complicated scenarios. + - name: classes + type: string + required: false + description: Classes to add to the action item. + - name: attributes + type: object + required: false + description: HTML attributes (for example data attributes) to add to the action item. - name: card type: object required: false