{
  "schemaVersion": "1.0.0",
  "readme": "",
  "modules": [
    {
      "kind": "javascript-module",
      "path": "sp-accordion-item.js",
      "declarations": [],
      "exports": [
        {
          "kind": "custom-element-definition",
          "name": "sp-accordion-item",
          "declaration": {
            "name": "AccordionItem",
            "module": "/src/AccordionItem.js"
          }
        }
      ]
    },
    {
      "kind": "javascript-module",
      "path": "sp-accordion.js",
      "declarations": [],
      "exports": [
        {
          "kind": "custom-element-definition",
          "name": "sp-accordion",
          "declaration": {
            "name": "Accordion",
            "module": "/src/Accordion.js"
          }
        }
      ]
    },
    {
      "kind": "javascript-module",
      "path": "src/Accordion.js",
      "declarations": [
        {
          "kind": "class",
          "description": "",
          "name": "Accordion",
          "slots": [
            {
              "description": "The sp-accordion-item children to display.",
              "name": ""
            }
          ],
          "members": [
            {
              "kind": "field",
              "name": "allowMultiple",
              "type": {
                "text": "boolean"
              },
              "privacy": "public",
              "default": "false",
              "description": "Allows multiple accordion items to be opened at the same time",
              "attribute": "allow-multiple",
              "reflects": true
            },
            {
              "kind": "field",
              "name": "density",
              "type": {
                "text": "'compact' | 'spacious' | undefined"
              },
              "privacy": "public",
              "description": "Sets the spacing between the content to borders of an accordion item",
              "attribute": "density",
              "reflects": true
            },
            {
              "kind": "field",
              "name": "defaultNodes",
              "type": {
                "text": "NodeListOf<AccordionItem>"
              },
              "privacy": "private"
            },
            {
              "kind": "field",
              "name": "items",
              "type": {
                "text": "AccordionItem[]"
              },
              "privacy": "private",
              "readonly": true
            },
            {
              "kind": "field",
              "name": "focusGroupController",
              "default": "new FocusGroupController<AccordionItem>(this, { direction: 'vertical', elements: () => this.items, isFocusableElement: (el: AccordionItem) => !el.disabled, })"
            },
            {
              "kind": "method",
              "name": "focus",
              "privacy": "public",
              "return": {
                "type": {
                  "text": "void"
                }
              }
            },
            {
              "kind": "method",
              "name": "onToggle",
              "privacy": "private",
              "return": {
                "type": {
                  "text": "Promise<void>"
                }
              },
              "parameters": [
                {
                  "name": "event",
                  "type": {
                    "text": "Event"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "handleSlotchange",
              "privacy": "private",
              "return": {
                "type": {
                  "text": "void"
                }
              }
            }
          ],
          "attributes": [
            {
              "name": "allow-multiple",
              "type": {
                "text": "boolean"
              },
              "default": "false",
              "description": "Allows multiple accordion items to be opened at the same time",
              "fieldName": "allowMultiple"
            },
            {
              "name": "density",
              "type": {
                "text": "'compact' | 'spacious' | undefined"
              },
              "description": "Sets the spacing between the content to borders of an accordion item",
              "fieldName": "density"
            }
          ],
          "mixins": [
            {
              "name": "SizedMixin",
              "package": "@spectrum-web-components/base"
            }
          ],
          "superclass": {
            "name": "SpectrumElement",
            "package": "@spectrum-web-components/base"
          },
          "tagName": "sp-accordion",
          "customElement": true
        }
      ],
      "exports": [
        {
          "kind": "js",
          "name": "Accordion",
          "declaration": {
            "name": "Accordion",
            "module": "src/Accordion.js"
          }
        }
      ]
    },
    {
      "kind": "javascript-module",
      "path": "src/AccordionItem.js",
      "declarations": [
        {
          "kind": "class",
          "description": "",
          "name": "AccordionItem",
          "slots": [
            {
              "description": "The content of the item that is hidden when the item is not open",
              "name": ""
            }
          ],
          "members": [
            {
              "kind": "field",
              "name": "open",
              "type": {
                "text": "boolean"
              },
              "privacy": "public",
              "default": "false",
              "attribute": "open",
              "reflects": true
            },
            {
              "kind": "field",
              "name": "label",
              "type": {
                "text": "string"
              },
              "privacy": "public",
              "default": "''",
              "attribute": "label",
              "reflects": true
            },
            {
              "kind": "field",
              "name": "disabled",
              "type": {
                "text": "boolean"
              },
              "privacy": "public",
              "default": "false",
              "attribute": "disabled",
              "reflects": true
            },
            {
              "kind": "field",
              "name": "focusElement",
              "type": {
                "text": "HTMLElement"
              },
              "privacy": "public",
              "readonly": true
            },
            {
              "kind": "method",
              "name": "onClick",
              "privacy": "private",
              "return": {
                "type": {
                  "text": "void"
                }
              }
            },
            {
              "kind": "method",
              "name": "toggle",
              "privacy": "private",
              "return": {
                "type": {
                  "text": "void"
                }
              }
            },
            {
              "kind": "field",
              "name": "renderChevronIcon",
              "privacy": "protected"
            }
          ],
          "events": [
            {
              "name": "sp-accordion-item-toggle",
              "type": {
                "text": "CustomEvent"
              },
              "description": "Announce that an accordion item has been toggled while allowing the event to be cancelled."
            }
          ],
          "attributes": [
            {
              "name": "open",
              "type": {
                "text": "boolean"
              },
              "default": "false",
              "fieldName": "open"
            },
            {
              "name": "label",
              "type": {
                "text": "string"
              },
              "default": "''",
              "fieldName": "label"
            },
            {
              "name": "disabled",
              "type": {
                "text": "boolean"
              },
              "default": "false",
              "fieldName": "disabled"
            }
          ],
          "mixins": [
            {
              "name": "SizedMixin",
              "package": "@spectrum-web-components/base"
            }
          ],
          "superclass": {
            "name": "Focusable",
            "package": "@spectrum-web-components/shared/src/focusable.js"
          },
          "tagName": "sp-accordion-item",
          "customElement": true
        }
      ],
      "exports": [
        {
          "kind": "js",
          "name": "AccordionItem",
          "declaration": {
            "name": "AccordionItem",
            "module": "src/AccordionItem.js"
          }
        }
      ]
    }
  ]
}
