Sha256: ef4f4f73ba342b4f9cd733b67f226608842a948ad82343c37e38aae17b137e74

Contents?: true

Size: 976 Bytes

Versions: 4

Compression:

Stored size: 976 Bytes

Contents

name: Chat entry
description: Entry point for GOV.UK Chat
accessibility_criteria: |
  The heading must:

  - be part of a correct heading structure for a page
  - be semantically represented as a heading
  - convey the heading level
uses_component_wrapper_helper: true
shared_accessibility_criteria:
  - link
examples:
  default:
    data:
  with_custom_href,_heading_and_or_description:
    data:
      href: /chat
      heading_text: Go to GOV.UK Chat
      description_text: Get answers to your business questions
  with_a_different_heading_level:
    description: Chat entry has a `h2` by default, but this can be changed. The heading level does not change any styling.
    data:
      heading_level: 3
  with_a_border_top:
    data:
      border_top: true
  with_a_border_bottom:
    data:
      border_bottom: true
  with_a_border_top_and_a_border_bottom:
    data:
      border_top: true
      border_bottom: true
  with_margin_bottom:
    data:
      margin_bottom: 3

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
govuk_publishing_components-43.0.2 app/views/govuk_publishing_components/components/docs/chat_entry.yml
govuk_publishing_components-43.0.1 app/views/govuk_publishing_components/components/docs/chat_entry.yml
govuk_publishing_components-43.0.0 app/views/govuk_publishing_components/components/docs/chat_entry.yml
govuk_publishing_components-42.1.0 app/views/govuk_publishing_components/components/docs/chat_entry.yml