{
  "schemaVersion": "1.0.0",
  "readme": "",
  "modules": [
    {
      "kind": "javascript-module",
      "path": "src/defs-react.js",
      "declarations": [],
      "exports": []
    },
    {
      "kind": "javascript-module",
      "path": "src/defs.js",
      "declarations": [
        {
          "kind": "variable",
          "name": "statusTypes",
          "type": {
            "text": "['default', 'error']"
          },
          "default": "['default', 'error']"
        },
        {
          "kind": "variable",
          "name": "defaultProps",
          "type": {
            "text": "DefaultProps"
          },
          "default": "{ checked: false, defaultChecked: false, disabled: false, required: false, status: 'default', }"
        }
      ],
      "exports": [
        {
          "kind": "js",
          "name": "statusTypes",
          "declaration": {
            "name": "statusTypes",
            "module": "src/defs.js"
          }
        },
        {
          "kind": "js",
          "name": "defaultProps",
          "declaration": {
            "name": "defaultProps",
            "module": "src/defs.js"
          }
        }
      ]
    },
    {
      "kind": "javascript-module",
      "path": "src/index.js",
      "declarations": [
        {
          "kind": "class",
          "description": "",
          "name": "PieRadio",
          "members": [
            {
              "kind": "field",
              "name": "_disabledByParent",
              "type": {
                "text": "boolean"
              },
              "privacy": "private",
              "default": "false"
            },
            {
              "kind": "field",
              "name": "_isAnimationAllowed",
              "type": {
                "text": "boolean"
              },
              "privacy": "private",
              "default": "false"
            },
            {
              "kind": "field",
              "name": "_contextAria",
              "type": {
                "text": "ContextualAria | undefined"
              },
              "privacy": "private"
            },
            {
              "kind": "field",
              "name": "checked",
              "privacy": "public",
              "attribute": "checked",
              "reflects": true
            },
            {
              "kind": "field",
              "name": "defaultChecked",
              "privacy": "public",
              "attribute": "defaultChecked",
              "reflects": true
            },
            {
              "kind": "field",
              "name": "disabled",
              "privacy": "public",
              "attribute": "disabled",
              "reflects": true
            },
            {
              "kind": "field",
              "name": "name",
              "type": {
                "text": "RadioProps['name']"
              },
              "privacy": "public",
              "attribute": "name",
              "reflects": true
            },
            {
              "kind": "field",
              "name": "required",
              "privacy": "public",
              "attribute": "required",
              "reflects": true
            },
            {
              "kind": "field",
              "name": "value",
              "type": {
                "text": "RadioProps['value']"
              },
              "privacy": "public",
              "attribute": "value"
            },
            {
              "kind": "field",
              "name": "status",
              "privacy": "public",
              "attribute": "status"
            },
            {
              "kind": "field",
              "name": "_radio",
              "type": {
                "text": "HTMLInputElement"
              },
              "privacy": "private"
            },
            {
              "kind": "field",
              "name": "_abortController",
              "type": {
                "text": "AbortController"
              },
              "privacy": "private"
            },
            {
              "kind": "method",
              "name": "_handleFormAssociation",
              "privacy": "private",
              "description": "Ensures that the form value is in sync with the component."
            },
            {
              "kind": "method",
              "name": "_handleChange",
              "privacy": "private",
              "parameters": [
                {
                  "name": "event",
                  "type": {
                    "text": "Event"
                  },
                  "description": "This should be the change event that was listened for on an input element with `type=\"radio\"`."
                }
              ],
              "description": "Captures the native change event and wraps it in a custom event."
            },
            {
              "kind": "field",
              "name": "validity",
              "type": {
                "text": "ValidityState"
              },
              "privacy": "public",
              "description": "(Read-only) returns a ValidityState with the validity states that this element is in.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validity",
              "readonly": true
            },
            {
              "kind": "method",
              "name": "formResetCallback",
              "privacy": "public",
              "description": "Called when the form that contains this component is reset.\nIf the current checked state is different to the default checked state,\nthe checked state is reset to the default checked state and a `change` event is emitted."
            },
            {
              "kind": "method",
              "name": "_handleClick",
              "privacy": "private",
              "return": {
                "type": {
                  "text": "void"
                }
              },
              "parameters": [
                {
                  "name": "event",
                  "type": {
                    "text": "MouseEvent"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_applyContextAria",
              "privacy": "private",
              "return": {
                "type": {
                  "text": "void"
                }
              },
              "description": "When an ancestor provides ARIA (for example a `pie-list-item`), applies the name and\ndescription to the host, which carries `role=\"radio\"` and so is the element assistive tech\nannounces. Guarded to only run when a provider exists (in a list), so a standalone radio's\nconsumer-set `aria-*` is never removed."
            }
          ],
          "events": [
            {
              "type": {
                "text": "InputEvent"
              },
              "description": "Should fire whenever a user toggles the radio.",
              "name": "input"
            },
            {
              "type": {
                "text": "CustomEvent"
              },
              "description": "Fires when the radio is checked (but not when unchecked).",
              "name": "change"
            }
          ],
          "attributes": [
            {
              "name": "checked",
              "fieldName": "checked"
            },
            {
              "name": "defaultChecked",
              "fieldName": "defaultChecked"
            },
            {
              "name": "disabled",
              "fieldName": "disabled"
            },
            {
              "name": "name",
              "type": {
                "text": "RadioProps['name']"
              },
              "fieldName": "name"
            },
            {
              "name": "required",
              "fieldName": "required"
            },
            {
              "name": "value",
              "type": {
                "text": "RadioProps['value']"
              },
              "fieldName": "value"
            },
            {
              "name": "status",
              "fieldName": "status"
            }
          ],
          "mixins": [
            {
              "name": "FormControlMixin",
              "package": "@justeattakeaway/pie-webc-core"
            },
            {
              "name": "RtlMixin",
              "package": "@justeattakeaway/pie-webc-core"
            }
          ],
          "superclass": {
            "name": "PieElement",
            "package": "@justeattakeaway/pie-webc-core/src/internals/PieElement"
          },
          "tagName": "pie-radio",
          "customElement": true
        }
      ],
      "exports": [
        {
          "kind": "js",
          "name": "*",
          "declaration": {
            "name": "*",
            "module": "src/defs"
          }
        },
        {
          "kind": "js",
          "name": "PieRadio",
          "declaration": {
            "name": "PieRadio",
            "module": "src/index.js"
          }
        }
      ]
    }
  ]
}
