Sha256: 291d08ae827d64babef643e1be7ceb0d6f6574bac20299eb293bc3196cfd15f7

Contents?: true

Size: 1.91 KB

Versions: 53

Compression:

Stored size: 1.91 KB

Contents

[
    {
        "name": "id",
        "type": "string",
        "required": false,
        "description": "This is used for the main component and to compose id attribute for each item."
    },
    {
        "name": "idPrefix",
        "type": "string",
        "required": false,
        "description": "String to prefix id for each tab item if no id is specified on each item"
    },
    {
        "name": "items",
        "type": "array",
        "required": true,
        "description": "Array of tab items.",
        "params": [
            {
                "name": "id",
                "type": "string",
                "required": true,
                "description": "Specific id attribute for the tab item. If omitted, then `idPrefix` string will be applied."
            },
            {
                "name": "label",
                "type": "string",
                "required": true,
                "description": "The text label of a tab item."
            },
            {
                "name": "panel.text",
                "type": "string",
                "required": true,
                "description": "If `html` is set, this is not required. Text to use within each tab panel. If `html` is provided, the `text` argument will be ignored."
            },
            {
                "name": "panel.html",
                "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` argument will be ignored."
            }
        ]
    },
    {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the tabs component."
    },
    {
        "name": "attributes",
        "type": "object",
        "required": false,
        "description": "HTML attributes (for example data attributes) to add to the tabs component."
    }
]

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
govuk_publishing_components-16.3.0 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-16.2.0 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-16.1.0 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-16.0.0 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-15.3.0 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-15.2.0 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-15.1.0 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-15.0.0 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-14.0.0 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-13.8.1 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-13.8.0 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-13.7.0 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-13.6.1 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-13.6.0 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-13.5.4 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-13.5.3 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-13.5.2 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-13.5.1 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-13.5.0 node_modules/govuk-frontend/components/tabs/macro-options.json
govuk_publishing_components-13.4.0 node_modules/govuk-frontend/components/tabs/macro-options.json