Sha256: c342854c250828b491eb37461cd060b8b4c3fdce2bade27cc71f95c90393d50a

Contents?: true

Size: 1.97 KB

Versions: 149

Compression:

Stored size: 1.97 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` option 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` option 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` option 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` option will be ignored."
    },
    {
        "name": "caller",
        "type": "nunjucks-block",
        "required": false,
        "description": "Not strictly a parameter but [Nunjucks code convention](https://mozilla.github.io/nunjucks/templating.html#call). Using a `call` block enables you to call a macro with all the text inside the tag. This is helpful if you want to pass a lot of content into a macro. To use it, you will need to wrap the entire panel component in a `call` block."
    },
    {
        "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

149 entries across 149 versions & 2 rubygems

Version Path
govuk_publishing_components-55.1.0 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-55.0.1 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-55.0.0 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-54.0.1 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-54.0.0 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-53.0.0 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-52.1.0 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-52.0.0 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-51.2.1 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-51.2.0 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-51.1.1 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-51.1.0 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-51.0.0 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-50.0.1 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-50.0.0 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-49.1.0 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-49.0.0 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-48.0.0 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-47.0.0 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json
govuk_publishing_components-46.4.0 node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json