{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bookiflex/booking-calendar",
  "version": "1.0.0",
  "title": "Booking Calendar",
  "category": "bookiflex",
  "icon": "calendar-alt",
  "description": "Show nightly prices and availability for the accommodation types you pick. Visitors can browse months ahead and start a booking straight from the calendar.",
  "keywords": ["bookiflex", "booking", "calendar", "prices", "availability"],
  "supports": {
    "html": false,
    "align": ["wide", "full"]
  },
  "textdomain": "bookiflex",
  "attributes": {
    "offers": {
      "type": "string",
      "default": ""
    },
    "mode": {
      "type": "string",
      "default": "sync",
      "enum": ["sync", "modal", "view"]
    },
    "pricing": {
      "type": "string",
      "default": "occupancy",
      "enum": ["occupancy", "flat"]
    },
    "selectPosition": {
      "type": "string",
      "default": "top",
      "enum": ["top", "bottom"]
    },
    "months": {
      "type": "number",
      "default": 2
    },
    "monthsAhead": {
      "type": "number",
      "default": 12
    },
    "compactWidth": {
      "type": "number",
      "default": 580
    },
    "hidePrices": {
      "type": "boolean",
      "default": false
    },
    "fullWidth": {
      "type": "boolean",
      "default": false
    },
    "frameless": {
      "type": "boolean",
      "default": false
    },
    "lockFilters": {
      "type": "boolean",
      "default": true
    },
    "datePicking": {
      "type": "boolean",
      "default": true
    },
    "passScope": {
      "type": "string",
      "default": "all",
      "enum": ["all", "accommodation-type", "rate-plan", "none"]
    },
    "colorPrimary": {
      "type": "string",
      "default": ""
    },
    "colorOnPrimary": {
      "type": "string",
      "default": ""
    },
    "colorSurface": {
      "type": "string",
      "default": ""
    },
    "colorOnSurface": {
      "type": "string",
      "default": ""
    },
    "colorMuted": {
      "type": "string",
      "default": ""
    },
    "colorBorder": {
      "type": "string",
      "default": ""
    },
    "radius": {
      "type": "string",
      "default": ""
    },
    "fontSize": {
      "type": "string",
      "default": ""
    }
  },
  "editorScript": "file:./index.js",
  "viewScript": "bookiflex-booking-calendar"
}
