{
    "description": {
        "author": "Salesforce",
        "text": [
            "A component that groups buttons together and allows for slotting in custom button elements.",
            "Selector: src-base-button-group"
        ]
    },
    "shadow": {
        "elements": [
            {
                "name": "buttonGroup",
                "selector": {
                    "css": "div[part='button-group']"
                },
                "description": "Represents the container for the button group.",
                "elements": [
                    {
                        "name": "slotDefaultContent",
                        "selector": {
                            "css": ":scope > *:first-child"
                        },
                        "type": "container",
                        "description": "Represents the default slot for custom button elements.",
                        "public": true
                    }
                ]
            }
        ]
    },
    "methods": [
        {
            "name": "isButtonGroupVisible",
            "description": {
                "text": [
                    "Check that button group is present and visible"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "buttonGroup",
                    "apply": "isVisible"
                }
            ]
        }
    ]
}