{
  "schemaVersion": "1.0.0",
  "readme": "README.md",
  "modules": [
    {
      "kind": "javascript-module",
      "path": "lib/jb-modal.ts",
      "declarations": [
        {
          "kind": "class",
          "description": "Responsive modal web component with desktop centered dialog, mobile bottom-sheet layout, header/content/footer slots, URL hash state, background-click close event, and browser-back handling.",
          "name": "JBModalWebComponent",
          "tagName": "jb-modal",
          "customElement": true,
          "superclass": {
            "name": "HTMLElement"
          },
          "attributes": [
            {
              "name": "is-open",
              "description": "Opens the modal when set to \"true\". Any other value closes it.",
              "type": {
                "text": "boolean"
              }
            },
            {
              "name": "id",
              "description": "Modal id used for URL hash state. When isOpen is true, the modal pushes #id to browser history; when the page loads with #id, the modal opens itself.",
              "type": {
                "text": "string"
              }
            },
            {
              "name": "label",
              "description": "Accessible name announced for the dialog. Header slot text and then a localized Dialog label are used as fallbacks.",
              "type": {
                "text": "string"
              }
            },
            {
              "name": "description",
              "description": "Optional accessible description announced after the dialog name.",
              "type": {
                "text": "string"
              }
            }
          ],
          "members": [
            {
              "kind": "field",
              "name": "isOpen",
              "description": "Read-only current isOpen state.",
              "type": {
                "text": "boolean"
              },
              "readonly": true
            },
            {
              "kind": "field",
              "name": "id",
              "description": "Modal id used for URL hash state.",
              "type": {
                "text": "string"
              }
            },
            {
              "kind": "field",
              "name": "JBID",
              "description": "Internal unique symbol for this modal instance.",
              "type": {
                "text": "symbol"
              },
              "readonly": true
            },
            {
              "kind": "field",
              "name": "autoCloseOnBackgroundClick",
              "description": "Automatically closes the modal after an uncanceled backdrop close request. Disabled by default.",
              "type": {
                "text": "boolean"
              }
            },
            {
              "kind": "field",
              "name": "autoCloseOnEscape",
              "description": "Automatically closes the modal after an uncanceled Escape close request. Enabled by default.",
              "type": {
                "text": "boolean"
              }
            }
          ],
          "methods": [
            {
              "name": "open",
              "description": "Opens the modal, moves focus into it, and pushes #id to browser history when id is set."
            },
            {
              "name": "close",
              "description": "Closes the modal, restores focus to its opener, and navigates back when it owns the current URL hash entry."
            }
          ],
          "events": [
            {
              "name": "load",
              "description": "Dispatched from connectedCallback before initProp."
            },
            {
              "name": "init",
              "description": "Dispatched from connectedCallback after initProp."
            },
            {
              "name": "url-open",
              "description": "Dispatched when the modal opens itself because the current URL hash matches its id."
            },
            {
              "name": "close",
              "description": "Cancelable, bubbling close request. event.detail.eventType can be BACKGROUND_CLICK, HISTORY_BACK_EVENT, CLOSE_BUTTON_CLICK, or ESCAPE_KEY."
            }
          ],
          "slots": [
            {
              "name": "",
              "description": "Default modal content. Rendered inside the content slot fallback."
            },
            {
              "name": "header",
              "description": "Header area at the top of the modal content box."
            },
            {
              "name": "content",
              "description": "Main scrollable modal content area."
            },
            {
              "name": "footer",
              "description": "Footer area at the bottom of the modal content box."
            }
          ],
          "cssParts": [
            {
              "name": "background",
              "description": "The modal backdrop/background."
            },
            {
              "name": "content",
              "description": "The modal content box that contains header, content, and footer slots."
            },
            {
              "name": "root",
              "description": "The modal root element."
            }
          ],
          "cssProperties": [
            {
              "name": "--jb-modal-bg-color",
              "description": "Modal content background color."
            },
            {
              "name": "--jb-modal-back-bg-color",
              "description": "Modal backdrop background color."
            },
            {
              "name": "--jb-modal-border-radius",
              "description": "Modal content border radius."
            },
            {
              "name": "--jb-modal-corner-shape",
              "description": "Modal content corner shape; defaults to the global `--jb-corner-shape` token."
            },
            {
              "name": "--jb-modal-z-index",
              "description": "Modal z-index."
            }
          ]
        }
      ],
      "exports": [
        {
          "kind": "js",
          "name": "JBModalWebComponent",
          "declaration": {
            "name": "JBModalWebComponent",
            "module": "lib/jb-modal.ts"
          }
        },
        {
          "kind": "custom-element-definition",
          "name": "jb-modal",
          "declaration": {
            "name": "JBModalWebComponent",
            "module": "lib/jb-modal.ts"
          }
        }
      ]
    }
  ]
}
