{
  "$schema": "../../schemas/component-contract.schema.json",
  "name": "upload",
  "category": "data-input",
  "status": "beta",
  "kind": "custom-element",
  "tagName": "blora-upload",
  "since": "2.0.0",
  "requiresJavaScript": true,
  "formAssociated": true,
  "attributes": {
    "prompt": {
      "type": "string"
    },
    "hint": {
      "type": "string"
    },
    "accept": {
      "type": "string"
    },
    "multiple": {
      "type": "boolean",
      "default": false
    },
    "name": {
      "type": "string"
    },
    "disabled": {
      "type": "boolean",
      "default": false
    },
    "variant": {
      "type": "\"dropzone\" | \"compact\"",
      "default": "dropzone"
    }
  },
  "properties": {
    "files": {
      "type": "FileList | null",
      "readonly": true
    }
  },
  "methods": {
    "focus": {
      "signature": "(options?: FocusOptions) => void"
    },
    "open": {
      "signature": "() => void"
    }
  },
  "events": {
    "change": {
      "detail": "Event",
      "bubbles": true,
      "composed": false
    }
  },
  "slots": {
    "default": "No authored structure; dropzone or compact file picker, native file input and file list are generated."
  },
  "classes": {
    "blora-file-picker": "Compact v1 file input shell.",
    "blora-file-picker__trigger": "Left action that opens the native file dialog.",
    "blora-file-picker__empty": "Placeholder copy when no file is selected.",
    "blora-file-picker__status": "Selected-file row inside the compact picker.",
    "blora-file-clear": "Remove the current compact selection."
  },
  "parts": [],
  "cssProperties": [],
  "accessibilityPattern": "section"
}
