{
  "apiVersion": 3,
  "name": "stacklar/select",
  "textdomain": "stacklar-forms",
  "editorScript": "stacklar-blocks",
  "style": "stacklar-style",
  "editorStyle": "stacklar-editor",
  "title": "Select",
  "category": "stacklar",
  "icon": "menu",
  "supports": {
    "typography": false,
    "customClassName": false
  },
  "attributes": {
    "label": {
      "type": "string",
      "default": "Select"
    },
    "name": {
      "type": "string",
      "default": "select_field"
    },
    "placeholder": {
      "type": "string",
      "default": ""
    },
    "required": {
      "type": "boolean",
      "default": false
    },
    "disabled": {
      "type": "boolean",
      "default": false
    },
    "hidden": {
      "type": "boolean",
      "default": false
    },
    "multiple": {
      "type": "boolean",
      "default": false
    },
    "size": {
      "type": "number",
      "default": 0
    },
    "options": {
      "type": "array",
      "default": [
        {
          "label": "Option 1",
          "value": "opt_1",
          "disabled": false,
          "selected": false
        },
        {
          "label": "Option 2",
          "value": "opt_2",
          "disabled": false,
          "selected": false
        }
      ]
    },
    "labelPosition": {
      "type": "string",
      "default": "top"
    },
    "labelAnimation": {
      "type": "string",
      "default": ""
    },
    "helpText": {
      "type": "string",
      "default": ""
    },
    "className": {
      "type": "string",
      "default": ""
    },
    "width": {
      "type": "number",
      "default": 100
    },
    "ariaLabel": {
      "type": "string",
      "default": ""
    },
    "ariaDescribedby": {
      "type": "string",
      "default": ""
    },
    "padding": {
      "type": "object",
      "default": null
    },
    "margin": {
      "type": "object",
      "default": null
    },
    "textColor": {
      "type": "string",
      "default": ""
    },
    "labelColor": {
      "type": "string",
      "default": ""
    },
    "style": {
      "type": "object",
      "default": {}
    },
    "labelTypography": {
      "type": "object",
      "default": null
    },
    "fieldTypography": {
      "type": "object",
      "default": null
    },
    "conditional": {
      "type": "array",
      "default": []
    },
    "conditionalLogic": {
      "type": "string",
      "default": "and"
    },
    "conditionalEnabled": {
      "type": "boolean",
      "default": false
    },
    "dynamicEnabled": {
      "type": "boolean",
      "default": false
    },
    "dynamicSource": {
      "type": "string",
      "default": ""
    },
    "dynamicUrlParam": {
      "type": "string",
      "default": ""
    },
    "dynamicUserKey": {
      "type": "string",
      "default": ""
    },
    "dynamicPostKey": {
      "type": "string",
      "default": ""
    },
    "dynamicMetaKey": {
      "type": "string",
      "default": ""
    },
    "dynamicFieldName": {
      "type": "string",
      "default": ""
    },
    "borderColor": {
      "type": "string",
      "default": ""
    },
    "borderStyle": {
      "type": "string",
      "default": ""
    },
    "borderWidth": {
      "type": "number"
    },
    "borderRadius": {
      "type": "number"
    }
  }
}
