{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bbp-core/search",
  "version": "0.1.0",
  "title": "Forumax Search",
  "category": "forumax",
  "icon": "search",
  "description": "Displays a search form with optional keywords.",
  "attributes": {
    "placeholder": {
      "type": "string",
      "default": "Search for Topics...."
    },
    "submit_btn_type": {
      "type": "string",
      "default": "icon"
    },
    "submit_btn_icon": {
      "type": "object",
      "default": {
        "value": "fas fa-search",
        "library": "solid"
      }
    },
    "submit_btn_text": {
      "type": "string",
      "default": "Search"
    },
    "submit_btn_align": {
      "type": "string",
      "default": "left"
    },
    "is_keywords": {
      "type": "boolean",
      "default": true
    },
    "keywords_label": {
      "type": "string",
      "default": "Popular:"
    },
    "keywords_align": {
      "type": "string",
      "default": "center"
    },
    "keywords": {
      "type": "array",
      "default": [
        {
          "title": "Keyword #1"
        },
        {
          "title": "Keyword #2"
        }
      ]
    },
    "color_text": {
      "type": "string"
    },
    "color_placeholder": {
      "type": "string"
    },
    "input_bg_color": {
      "type": "string"
    },
    "color_icon": {
      "type": "string"
    },
    "search_bg": {
      "type": "string"
    },
    "color_keywords_label": {
      "type": "string"
    },
    "bbpc_color_keywords": {
      "type": "string"
    },
    "bbpc_color_keywords_bg": {
      "type": "string"
    },
    "bbpc_color_keywords_hover": {
      "type": "string"
    },
    "bbpc_color_keywords_bg_hover": {
      "type": "string"
    },
    "search_post_type": {
      "type": "string",
      "default": "forum"
    },
    "is_ajax_search": {
      "type": "boolean",
      "default": true
    },
    "search_highlight": {
      "type": "boolean",
      "default": false
    },
    "highlight_bg_color": {
      "type": "string"
    },
    "highlight_text_color": {
      "type": "string"
    },
    "input_border_color": {
      "type": "string"
    },
    "input_border_width": {
      "type": "number"
    },
    "input_border_radius": {
      "type": "number"
    },
    "input_focus_border_color": {
      "type": "string"
    },
    "input_height": {
      "type": "number"
    },
    "wrapper_max_width": {
      "type": "number"
    },
    "btn_hover_color": {
      "type": "string"
    },
    "btn_hover_bg": {
      "type": "string"
    },
    "btn_border_radius": {
      "type": "number"
    },
    "results_bg_color": {
      "type": "string"
    },
    "results_border_color": {
      "type": "string"
    },
    "results_text_color": {
      "type": "string"
    },
    "results_hover_bg": {
      "type": "string"
    },
    "results_border_radius": {
      "type": "number"
    }
  },
  "supports": {
    "html": false,
    "typography": {
      "fontSize": true
    }
  },
  "textdomain": "bbp-core",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css"
}