{
  "schemaVersion": "1.0.0",
  "readme": "",
  "modules": [
    {
      "kind": "javascript-module",
      "path": "sp-card.js",
      "declarations": [],
      "exports": [
        {
          "kind": "custom-element-definition",
          "name": "sp-card",
          "declaration": {
            "name": "Card",
            "module": "/src/Card.js"
          }
        }
      ]
    },
    {
      "kind": "javascript-module",
      "path": "src/Card.js",
      "declarations": [
        {
          "kind": "class",
          "description": "",
          "name": "Card",
          "slots": [
            {
              "description": "This is the preview image for Gallery Cards",
              "name": "preview"
            },
            {
              "description": "This is the cover photo for Default and Quiet Cards",
              "name": "cover-photo"
            },
            {
              "description": "HTML content to be listed as the heading",
              "name": "heading"
            },
            {
              "description": "HTML content to be listed as the subheading",
              "name": "subheading"
            },
            {
              "description": "A description of the card",
              "name": "description"
            },
            {
              "description": "an `sp-action-menu` element outlining actions to take on the represened object",
              "name": "actions"
            },
            {
              "description": "Footer text",
              "name": "footer"
            }
          ],
          "members": [
            {
              "kind": "field",
              "name": "asset",
              "type": {
                "text": "'file' | 'folder' | undefined"
              },
              "privacy": "public",
              "attribute": "asset"
            },
            {
              "kind": "field",
              "name": "variant",
              "type": {
                "text": "'standard' | 'gallery' | 'quiet'"
              },
              "privacy": "public",
              "default": "'standard'",
              "attribute": "variant",
              "reflects": true
            },
            {
              "kind": "field",
              "name": "selected",
              "type": {
                "text": "boolean"
              },
              "attribute": "selected",
              "reflects": true
            },
            {
              "kind": "field",
              "name": "_selected",
              "type": {
                "text": "boolean"
              },
              "privacy": "private",
              "default": "false"
            },
            {
              "kind": "field",
              "name": "heading",
              "type": {
                "text": "string"
              },
              "privacy": "public",
              "default": "''",
              "attribute": "heading"
            },
            {
              "kind": "field",
              "name": "horizontal",
              "type": {
                "text": "boolean"
              },
              "privacy": "public",
              "default": "false",
              "attribute": "horizontal",
              "reflects": true
            },
            {
              "kind": "field",
              "name": "likeAnchor",
              "type": {
                "text": "HTMLAnchorElement | undefined"
              },
              "privacy": "private"
            },
            {
              "kind": "field",
              "name": "focused",
              "type": {
                "text": "boolean"
              },
              "privacy": "public",
              "default": "false",
              "attribute": "focused",
              "reflects": true
            },
            {
              "kind": "field",
              "name": "toggles",
              "type": {
                "text": "boolean"
              },
              "privacy": "public",
              "default": "false",
              "description": "Indicates whether the card can be toggled between selected and unselected states.",
              "attribute": "toggles",
              "reflects": true
            },
            {
              "kind": "field",
              "name": "value",
              "type": {
                "text": "string"
              },
              "privacy": "public",
              "default": "''",
              "attribute": "value"
            },
            {
              "kind": "field",
              "name": "subheading",
              "type": {
                "text": "string"
              },
              "privacy": "public",
              "default": "''",
              "attribute": "subheading"
            },
            {
              "kind": "field",
              "name": "hasCoverPhoto",
              "type": {
                "text": "boolean"
              },
              "privacy": "protected",
              "readonly": true
            },
            {
              "kind": "field",
              "name": "hasPreview",
              "type": {
                "text": "boolean"
              },
              "privacy": "protected",
              "readonly": true
            },
            {
              "kind": "method",
              "name": "click",
              "privacy": "public",
              "return": {
                "type": {
                  "text": "void"
                }
              }
            },
            {
              "kind": "field",
              "name": "handleFocusin",
              "privacy": "private"
            },
            {
              "kind": "method",
              "name": "handleFocusout",
              "privacy": "private",
              "return": {
                "type": {
                  "text": "void"
                }
              },
              "parameters": [
                {
                  "name": "event",
                  "type": {
                    "text": "Event"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "handleKeydown",
              "privacy": "private",
              "return": {
                "type": {
                  "text": "void"
                }
              },
              "parameters": [
                {
                  "name": "event",
                  "type": {
                    "text": "KeyboardEvent"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "handleSelectedChange",
              "privacy": "private",
              "return": {
                "type": {
                  "text": "void"
                }
              },
              "parameters": [
                {
                  "name": "event",
                  "type": {
                    "text": "Event & { target: Checkbox }"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "toggleSelected",
              "privacy": "public",
              "return": {
                "type": {
                  "text": "void"
                }
              }
            },
            {
              "kind": "method",
              "name": "announceChange",
              "privacy": "private",
              "return": {
                "type": {
                  "text": "void"
                }
              }
            },
            {
              "kind": "method",
              "name": "stopPropagationOnHref",
              "privacy": "private",
              "return": {
                "type": {
                  "text": "void"
                }
              },
              "parameters": [
                {
                  "name": "event",
                  "type": {
                    "text": "Event"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "handlePointerdown",
              "privacy": "private",
              "return": {
                "type": {
                  "text": "void"
                }
              },
              "parameters": [
                {
                  "name": "event",
                  "type": {
                    "text": "PointerEvent"
                  }
                }
              ],
              "description": "Handles pointer down events on the card element.\nImplements a click detection system that distinguishes between clicks and drags\nbased on duration and movement distance."
            },
            {
              "kind": "field",
              "name": "renderHeading",
              "type": {
                "text": "TemplateResult"
              },
              "privacy": "protected",
              "readonly": true
            },
            {
              "kind": "field",
              "name": "renderPreviewImage",
              "type": {
                "text": "TemplateResult"
              },
              "privacy": "protected",
              "readonly": true
            },
            {
              "kind": "field",
              "name": "renderCoverImage",
              "type": {
                "text": "TemplateResult"
              },
              "privacy": "protected",
              "readonly": true
            },
            {
              "kind": "field",
              "name": "images",
              "type": {
                "text": "TemplateResult[]"
              },
              "privacy": "protected",
              "readonly": true
            },
            {
              "kind": "method",
              "name": "renderImage",
              "privacy": "private",
              "return": {
                "type": {
                  "text": "TemplateResult[]"
                }
              }
            },
            {
              "kind": "field",
              "name": "renderSubtitleAndDescription",
              "type": {
                "text": "TemplateResult"
              },
              "privacy": "private",
              "readonly": true
            }
          ],
          "events": [
            {
              "name": "click",
              "type": {
                "text": "Event"
              }
            },
            {
              "name": "change",
              "type": {
                "text": "Event"
              },
              "description": "Announces a change in the `selected` property of a card"
            }
          ],
          "attributes": [
            {
              "name": "asset",
              "type": {
                "text": "'file' | 'folder' | undefined"
              },
              "fieldName": "asset"
            },
            {
              "name": "variant",
              "type": {
                "text": "'standard' | 'gallery' | 'quiet'"
              },
              "default": "'standard'",
              "fieldName": "variant"
            },
            {
              "name": "selected",
              "type": {
                "text": "boolean"
              },
              "fieldName": "selected"
            },
            {
              "name": "heading",
              "type": {
                "text": "string"
              },
              "default": "''",
              "fieldName": "heading"
            },
            {
              "name": "horizontal",
              "type": {
                "text": "boolean"
              },
              "default": "false",
              "fieldName": "horizontal"
            },
            {
              "name": "focused",
              "type": {
                "text": "boolean"
              },
              "default": "false",
              "fieldName": "focused"
            },
            {
              "name": "toggles",
              "type": {
                "text": "boolean"
              },
              "default": "false",
              "description": "Indicates whether the card can be toggled between selected and unselected states.",
              "fieldName": "toggles"
            },
            {
              "name": "value",
              "type": {
                "text": "string"
              },
              "default": "''",
              "fieldName": "value"
            },
            {
              "name": "subheading",
              "type": {
                "text": "string"
              },
              "default": "''",
              "fieldName": "subheading"
            }
          ],
          "mixins": [
            {
              "name": "LikeAnchor",
              "package": "@spectrum-web-components/shared/src/like-anchor.js"
            },
            {
              "name": "SizedMixin",
              "package": "@spectrum-web-components/base"
            },
            {
              "name": "ObserveSlotPresence",
              "package": "@spectrum-web-components/shared/src/observe-slot-presence.js"
            },
            {
              "name": "FocusVisiblePolyfillMixin",
              "package": "@spectrum-web-components/shared/src/focus-visible.js"
            }
          ],
          "superclass": {
            "name": "SpectrumElement",
            "package": "@spectrum-web-components/base"
          },
          "tagName": "sp-card",
          "customElement": true
        }
      ],
      "exports": [
        {
          "kind": "js",
          "name": "Card",
          "declaration": {
            "name": "Card",
            "module": "src/Card.js"
          }
        }
      ]
    }
  ]
}
