{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "trucbafo/dropdown-block",
  "version": "0.1.0",
  "title": "Dropdown Block",
  "category": "trucbafo",
  "icon": "clipboard",
  "description": "A dropdown select block for forms.",
  "example": {},
  "supports": {
    "align": true,
    "color": {
      "gradients": true
    },
    "dimensions": {
      "height": true,
      "width": true,
      "minHeight": true
    },
    "spacing": {
      "margin": true,
      "padding": true
    },
    "typography": {
      "fontSize": true,
      "textAlign": true,
      "lineHeight": true,
      "fitText": true,
      "textIndent": true
    }
  },
  "textdomain": "trucbafo",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "attributes": {
    "label": {
      "type": "string",
      "default": "text"
    },
    "showLabel": {
      "type": "boolean",
      "default": true
    },
    "name": {
      "type": "string",
      "default": "Input name"
    },
    "optionValue": {
      "type": "string",
      "default": "text"
    },
    "optionText": {
      "type": "string",
      "default": "Input name"
    },
    "optionID": {
      "type": "string",
      "default": "0"
    },
    "selects": {
      "type": "array",
      "default": [
        {
          "value": "test",
          "text": "test text"
        }
      ]
    },
    "required": {
      "type": "boolean",
      "default": false
    },
    "labelColor": {
      "type": "string",
      "default": ""
    }
  }
}