{
  "name": "expandable-section",
  "componentName": "ExpandableSection",
  "displayName": "ExpandableSection",
  "regions": [
    {
      "name": "children",
      "description": "Primary content displayed in the expandable section element.",
      "isDefault": true,
      "displayName": "content"
    },
    {
      "name": "headerActions",
      "description": "Actions for the header. Use with the default or container, default, inline or stacked variants.",
      "isDefault": false,
      "displayName": "headerActions"
    },
    {
      "name": "headerInfo",
      "description": "The area next to the heading, used to display an Info link. Use with the container or stacked variants.",
      "isDefault": false,
      "displayName": "headerInfo"
    },
    {
      "name": "headerSecondaryContent",
      "description": "Secondary content displayed next to the header text, such as an interactive control or supporting text.\nUse with the default or container variant.",
      "isDefault": false,
      "displayName": "headerSecondaryContent"
    },
    {
      "name": "headerText",
      "description": "The heading text. Use plain text. When using the container variant, you can use additional header props like `headerDescription` and `headerCounter` to display other elements in the header.",
      "isDefault": false,
      "displayName": "headerText"
    }
  ],
  "functions": [],
  "properties": [
    {
      "name": "analyticsMetadata",
      "type": "ExpandableSectionProps.AnalyticsMetadata",
      "inlineType": {
        "name": "ExpandableSectionProps.AnalyticsMetadata",
        "type": "object",
        "properties": [
          {
            "name": "instanceIdentifier",
            "optional": true,
            "type": "string"
          }
        ]
      },
      "optional": true,
      "description": "Specifies additional analytics-related metadata.\n* `instanceIdentifier` - A unique string that identifies this component instance in your application.",
      "analyticsTag": "",
      "formattedType": "ExpandableSectionProps.AnalyticsMetadata {\n  instanceIdentifier?: string\n}"
    },
    {
      "name": "defaultExpanded",
      "type": "boolean",
      "optional": true,
      "description": "Determines whether the component initially displays in expanded state (that is, with content visible). The component operates in an uncontrolled\nmanner even if you provide a value for this property.",
      "formattedType": "boolean"
    },
    {
      "name": "disableContentPaddings",
      "type": "boolean",
      "optional": true,
      "description": "Determines whether the default padding around the content section is removed.",
      "formattedType": "boolean"
    },
    {
      "name": "expanded",
      "type": "boolean",
      "optional": true,
      "description": "Determines whether the component is in the expanded state (that is, with content visible). The component operates in a controlled\nmanner if you provide a value for this property.",
      "formattedType": "boolean"
    },
    {
      "name": "headerAriaLabel",
      "type": "string",
      "optional": true,
      "description": "Adds `aria-label` to the header element.\nUse to assign unique labels when there are multiple expandable sections with the same header text on one page.",
      "formattedType": "string"
    },
    {
      "name": "headerCounter",
      "type": "string",
      "optional": true,
      "description": "Specifies secondary text that's displayed to the right of the heading title. Use with the container or stacked variants.\nBehaves similar to the Header component counter.",
      "formattedType": "string"
    },
    {
      "name": "headerDescription",
      "type": "string",
      "optional": true,
      "description": "Supplementary text below the heading. Use with the container, default, footer, inline or stacked variants.",
      "formattedType": "string"
    },
    {
      "name": "headingTagOverride",
      "type": "string",
      "inlineType": {
        "name": "ExpandableSectionProps.HeadingTag",
        "type": "union",
        "values": [
          "h1",
          "h2",
          "h3",
          "h4",
          "h5"
        ]
      },
      "optional": true,
      "description": "Overrides the default [HTML heading tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements).\nUse with the container variant (which defaults to H2) or default/footer variants (which default to DIV). Using this\nproperty does not change the visual appearance of the component. Note that this only works with the `headerText`\nslot (not with the deprecated `header`), and not with the navigation variant.",
      "formattedType": "string"
    },
    {
      "name": "hideHeaderText",
      "type": "boolean",
      "optional": true,
      "description": "Visually hides the header text while keeping it available to assistive technology.\nUse with `headerSecondaryContent` to present a purely interactive header control.\nUse with the default or container variant.",
      "formattedType": "boolean"
    },
    {
      "name": "variant",
      "type": "string",
      "inlineType": {
        "name": "ExpandableSectionProps.Variant",
        "type": "union",
        "values": [
          "inline",
          "default",
          "container",
          "footer",
          "navigation",
          "stacked"
        ]
      },
      "optional": true,
      "description": "The possible variants of an expandable section are as follows:\n * `default` - Use this variant in any context.\n * `footer` - Use this variant in container footers.\n * `container` - Use this variant in a detail page alongside other containers.\n * `navigation` - Use this variant in the navigation panel with anchors and custom styled content.\n   It doesn't have any default styles.\n* `stacked` - Use this variant directly adjacent to other stacked containers (such as a container, table).\n* `inline` - Use this variant in any context where you need reduced padding around the header.",
      "defaultValue": "'default'",
      "visualRefreshTag": "`stacked` variant",
      "formattedType": "string"
    }
  ],
  "events": [
    {
      "name": "onChange",
      "description": "Called when the state changes (that is, when the user expands or collapses the component).\nThe event `detail` contains the current value of the `expanded` property.",
      "cancelable": false,
      "detailType": "ExpandableSectionProps.ChangeDetail",
      "detailInlineType": {
        "name": "ExpandableSectionProps.ChangeDetail",
        "type": "object",
        "properties": [
          {
            "name": "expanded",
            "optional": false,
            "type": "boolean"
          }
        ]
      },
      "formattedDetailType": "ExpandableSectionProps.ChangeDetail {\n  expanded: boolean\n}"
    }
  ],
  "path": "/components/expandable-section"
}