{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "tripzzy/trip-hero",
  "title": "Tripzzy Trip Hero",
  "category": "tripzzy",
  "icon": "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='2' y='6' width='20' height='12' rx='2' fill='#3EB368'/><circle cx='8' cy='11' r='1.4' fill='#fff'/><path d='M4 15.5l3.5-3.5 2.5 2.5 3-3 4.5 4.5' stroke='#fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>",
  "description": "Display the trip banner with auto thumbnail, slider or gallery grid. Note: Single trip block.",
  "keywords": [
    "tripzzy",
    "trip",
    "hero",
    "banner",
    "slider",
    "thumbnail"
  ],
  "textdomain": "default",
  "attributes": {
    "blockId": {
      "type": "string",
      "default": ""
    },
    "heroLayout": {
      "type": "string",
      "default": "auto"
    },
    "galleryLayout": {
      "type": "string",
      "default": "default"
    },
    "imagesToShow": {
      "type": "number",
      "default": 0
    },
    "showNavigation": {
      "type": "boolean",
      "default": true
    },
    "showPagination": {
      "type": "boolean",
      "default": true
    },
    "autoplay": {
      "type": "boolean",
      "default": false
    },
    "autoplayDelay": {
      "type": "number",
      "default": 3000
    },
    "sliderLoop": {
      "type": "boolean",
      "default": false
    },
    "previewTripId": {
      "type": "number",
      "default": 0
    }
  },
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "anchor": true,
    "className": true,
    "spacing": {
      "padding": true,
      "margin": [
        "top",
        "bottom"
      ]
    }
  },
  "editorScript": "file:./index.js",
  "editorStyle": [
    "tripzzy-admin-block-editor",
    "file:./index.css"
  ],
  "style": "file:./style-index.css",
  "render": "file:./render.php"
}