{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "tripzzy/search",
  "title": "Tripzzy Search",
  "category": "tripzzy",
  "icon": "<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'><path fill='#3EB368' fill-rule='evenodd' d='M4 11a7 7 0 1 1 14 0 7 7 0 0 1-14 0Zm7-9a9 9 0 1 0 5.617 16.032l3.675 3.675a1 1 0 0 0 1.414-1.414l-3.674-3.675A9 9 0 0 0 11 2Z' clip-rule='evenodd'/></svg>",
  "description": "Search trips according to the provided search fields.",
  "keywords": [
    "tripzzy",
    "search",
    "trip-search"
  ],
  "textdomain": "default",
  "attributes": {
    "blockId": {
      "type": "string",
      "default": ""
    },
    "fields": {
      "type": "array",
      "default": []
    },
    "layout": {
      "type": "string",
      "default": "row"
    },
    "gap": {
      "type": "string",
      "default": "0"
    },
    "buttonColor": {
      "type": "string"
    },
    "buttonColorHover": {
      "type": "string"
    },
    "buttonBackgroundColor": {
      "type": "string"
    },
    "buttonBackgroundColorHover": {
      "type": "string"
    },
    "searchText": {
      "type": "string",
      "default": "Search"
    },
    "hasIcon": {
      "type": "boolean",
      "default": true
    }
  },
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "className": true,
    "color": {
      "gradients": true,
      "__experimentalDefaultControls": {
        "background": true,
        "text": true
      }
    },
    "__experimentalConnections": true,
    "spacing": {
      "padding": true,
      "margin": [
        "top",
        "bottom"
      ]
    },
    "typography": {
      "fontSize": true,
      "__experimentalDefaultControls": {
        "fontSize": true
      }
    }
  },
  "editorScript": "file:./index.js",
  "editorStyle": [
    "tripzzy-admin-block-editor",
    "file:./index.css"
  ],
  "style": "file:./style-index.css",
  "render": "file:./render.php",
  "example": {
    "attributes": {
      "fields": {
        "type": "array",
        "default": []
      }
    }
  }
}