Sha256: 4d7fa41d8c7dcb2bdc74b944143f51dd8b7784f38117def00e032c6364dc7e32

Contents?: true

Size: 1.52 KB

Versions: 38

Compression:

Stored size: 1.52 KB

Contents

[
    {
        "name": "titleText",
        "type": "string",
        "required": true,
        "description": "If `titleHtml` is set, this is not required. Text to use within the panel. If `titleHtml` is provided, the `titleText` argument will be ignored."
    },
    {
        "name": "titleHtml",
        "type": "string",
        "required": true,
        "description": "If `titleText` is set, this is not required. HTML to use within the panel. If `titleHtml` is provided, the `titleText` argument will be ignored."
    },
    {
        "name": "headingLevel",
        "type": "integer",
        "required": false,
        "description": "Heading level, from `1` to `6`. Default is `1`."
    },
    {
        "name": "text",
        "type": "string",
        "required": true,
        "description": "If `html` is set, this is not required. Text to use within the panel content. If `html` is provided, the `text` argument will be ignored."
    },
    {
        "name": "html",
        "type": "string",
        "required": true,
        "description": "If `text` is set, this is not required. HTML to use within the panel content. If `html` is provided, the `text` argument will be ignored."
    },
    {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the panel container."
    },
    {
        "name": "attributes",
        "type": "object",
        "required": false,
        "description": "HTML attributes (for example data attributes) to add to the panel container."
    }
]

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
defra_ruby_template-3.15.1 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
defra_ruby_template-3.15.0 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-29.9.0 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-29.8.0 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-29.7.0 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-29.6.0 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-29.5.0 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-29.4.0 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-29.3.0 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-29.2.0 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-29.1.0 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-29.0.1 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-29.0.0 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-28.9.2 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-28.9.1 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-28.9.0 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-28.8.1 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-28.8.0 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-28.7.1 node_modules/govuk-frontend/govuk/components/panel/macro-options.json
govuk_publishing_components-28.6.0 node_modules/govuk-frontend/govuk/components/panel/macro-options.json