{
  "$schema": "../../schemas/component-contract.schema.json",
  "name": "command-palette",
  "category": "navigation",
  "status": "beta",
  "kind": "custom-element",
  "tagName": "blora-command",
  "since": "2.0.0",
  "requiresJavaScript": true,
  "formAssociated": false,
  "attributes": {
    "placeholder": {
      "type": "string",
      "default": "输入命令或搜索..."
    },
    "open": {
      "type": "boolean",
      "description": "Overlay open state; pairs with data-overlay for a modal command surface"
    },
    "data-overlay": {
      "type": "boolean",
      "description": "Render as a viewport overlay instead of an inline panel"
    }
  },
  "properties": {},
  "methods": {
    "show": { "description": "Open as an overlay and focus the search field" },
    "close": { "description": "Dismiss the overlay" }
  },
  "events": {
    "blora:command": {
      "detail": "{ label: string }",
      "bubbles": true,
      "composed": false
    }
  },
  "slots": {
    "default": "Declarative <blora-command-item value icon shortcut disabled> definitions; consumed into official result rows."
  },
  "parts": [],
  "cssProperties": [],
  "accessibilityPattern": "command palette"
}
