{
  "schemaVersion": "1.0.0",
  "readme": "",
  "modules": [
    {
      "kind": "javascript-module",
      "path": "sp-search.js",
      "declarations": [],
      "exports": [
        {
          "kind": "custom-element-definition",
          "name": "sp-search",
          "declaration": {
            "name": "Search",
            "module": "/src/Search.js"
          }
        }
      ]
    },
    {
      "kind": "javascript-module",
      "path": "src/Search.js",
      "declarations": [
        {
          "kind": "class",
          "description": "",
          "name": "Search",
          "slots": [
            {
              "description": "default or non-negative help text to associate to your form element",
              "name": "help-text"
            },
            {
              "description": "negative help text to associate to your form element when `invalid`",
              "name": "negative-help-text"
            }
          ],
          "members": [
            {
              "kind": "field",
              "name": "action",
              "type": {
                "text": "string"
              },
              "privacy": "public",
              "default": "''",
              "attribute": "action"
            },
            {
              "kind": "field",
              "name": "label",
              "type": {
                "text": "string"
              },
              "privacy": "public",
              "default": "'Search'",
              "attribute": "label"
            },
            {
              "kind": "field",
              "name": "method",
              "type": {
                "text": "'get' | 'post' | 'dialog' | undefined"
              },
              "privacy": "public",
              "attribute": "method"
            },
            {
              "kind": "field",
              "name": "placeholder",
              "type": {
                "text": "string"
              },
              "privacy": "public",
              "default": "'Search'",
              "attribute": "placeholder"
            },
            {
              "kind": "field",
              "name": "holdValueOnEscape",
              "type": {
                "text": "boolean"
              },
              "privacy": "public",
              "description": "Controls whether the typed value should be held (i.e., not cleared or reset) when the Escape key is pressed.\nIf set to true, pressing the Escape key will not affect the value in the search field.",
              "attribute": "holdValueOnEscape"
            },
            {
              "kind": "field",
              "name": "form",
              "type": {
                "text": "HTMLFormElement"
              },
              "privacy": "public"
            },
            {
              "kind": "method",
              "name": "handleSubmit",
              "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": "reset",
              "privacy": "public",
              "return": {
                "type": {
                  "text": "Promise<void>"
                }
              }
            },
            {
              "kind": "method",
              "name": "renderField",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "TemplateResult"
                }
              }
            }
          ],
          "events": [
            {
              "name": "submit",
              "type": {
                "text": "Event"
              },
              "description": "The search form has been submitted."
            }
          ],
          "attributes": [
            {
              "name": "action",
              "type": {
                "text": "string"
              },
              "default": "''",
              "fieldName": "action"
            },
            {
              "name": "label",
              "type": {
                "text": "string"
              },
              "default": "'Search'",
              "fieldName": "label"
            },
            {
              "name": "method",
              "type": {
                "text": "'get' | 'post' | 'dialog' | undefined"
              },
              "fieldName": "method"
            },
            {
              "name": "placeholder",
              "type": {
                "text": "string"
              },
              "default": "'Search'",
              "fieldName": "placeholder"
            },
            {
              "name": "holdValueOnEscape",
              "type": {
                "text": "boolean"
              },
              "description": "Controls whether the typed value should be held (i.e., not cleared or reset) when the Escape key is pressed.\nIf set to true, pressing the Escape key will not affect the value in the search field.",
              "fieldName": "holdValueOnEscape"
            }
          ],
          "superclass": {
            "name": "Textfield",
            "package": "@spectrum-web-components/textfield"
          },
          "tagName": "sp-search",
          "customElement": true
        }
      ],
      "exports": [
        {
          "kind": "js",
          "name": "Search",
          "declaration": {
            "name": "Search",
            "module": "src/Search.js"
          }
        }
      ]
    }
  ]
}
