{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "pluximo-form-blocks/text-input",
  "version": "1.1.0",
  "title": "Text Input",
  "category": "widgets",
  "icon": "text",
  "description": "A text input field for form building with validation and styling options.",
  "keywords": [
    "input",
    "text",
    "form",
    "field"
  ],
  "attributes": {
    "label": {
      "type": "string",
      "default": "Input Label"
    },
    "placeholder": {
      "type": "string",
      "default": ""
    },
    "inputType": {
      "type": "string",
      "default": "text"
    },
    "helpText": {
      "type": "string",
      "default": ""
    },
    "required": {
      "type": "boolean",
      "default": false
    },
    "fieldId": {
      "type": "string",
      "default": ""
    },
    "minLength": {
      "type": "number",
      "default": 0
    },
    "maxLength": {
      "type": "number",
      "default": 255
    },
    "pattern": {
      "type": "string",
      "default": ""
    },
    "validMessage": {
      "type": "string",
      "default": ""
    },
    "invalidMessage": {
      "type": "string",
      "default": ""
    }
  },
  "example": {
    "attributes": {
      "label": "Email Address",
      "placeholder": "Enter your email",
      "inputType": "email",
      "helpText": "We'll never share your details."
    }
  },
  "parent": [
    "pluximo-form-blocks/wrapper"
  ],
  "supports": {
    "html": false,
    "anchor": true,
    "className": true,
    "customClassName": true,
    "spacing": {
      "margin": true,
      "padding": true
    }
  },
  "textdomain": "pluximo-form-blocks",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js"
}