{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "appiapp-carousel/carousel",
  "version": "0.1.0",
  "title": "appiapp Carousel",
  "category": "media",
  "icon": "slides",
  "description": "A dynamic carousel block for displaying content in a slider.",
  "providesContext": {
    "appiapp-carousel/carouselType": "carouselType"
  },
  "supports": {
    "html": false,
    "align": [
      "wide",
      "full"
    ],
    "className": true,
    "color": {
      "background": true,
      "gradients": true,
      "heading": true,
      "link": true,
      "text": true
    }
  },
  "attributes": {
    "carouselType": {
      "type": "string",
      "default": "swiper"
    },
    "customCss": {
      "type": "string",
      "default": ""
    },
    "previewCustomCss": {
      "type": "boolean",
      "default": false
    },
    "columnsDesktop": {
      "type": "number",
      "default": 4
    },
    "columnsTablet": {
      "type": "number",
      "default": 2
    },
    "columnsMobile": {
      "type": "number",
      "default": 1
    },
    "gapDesktop": {
      "type": "number",
      "default": 30
    },
    "gapTablet": {
      "type": "number",
      "default": 20
    },
    "gapMobile": {
      "type": "number",
      "default": 15
    },
    "emblaOptions": {
      "type": "object",
      "default": {
        "align": "start",
        "direction": "ltr",
        "dragFree": false,
        "draggable": true,
        "inViewThreshold": 0,
        "loop": false,
        "skipSnaps": false,
        "speed": 20,
        "startIndex": 0,
        "containScroll": "trimSnaps",
        "slidesToScroll": 1,
        "watchDrag": true,
        "breakpoints": {},
        "autoplay": {
          "enabled": false,
          "delay": 3000,
          "stopOnInteraction": false,
          "stopOnMouseEnter": false,
          "playOnInit": true,
          "stopOnLastSnap": false
        },
        "autoscroll": {
          "enabled": false,
          "speed": 2,
          "startDelay": 1000,
          "playOnInit": true,
          "stopOnInteraction": false,
          "stopOnMouseEnter": true
        },
        "saveInstance": false,
        "customJs": "",
        "overrideOptions": ""
      }
    },
    "onlycssOptions": {
      "type": "object",
      "default": {}
    },
    "swiperOptions": {
      "type": "object",
      "default": {
        "speed": 300,
        "loop": false,
        "rewind": false,
        "freeMode": false,
        "autoHeight": false,
        "effect": "slide",
        "centeredSlides": false,
        "allowTouchMove": true,
        "mouseWheel": false,
        "breakpoints": {},
        "nameInstance": "",
        "saveInstance": false,
        "autoplay": {
          "enabled": false,
          "delay": 3000,
          "pauseOnMouseEnter": true
        },
        "customJs": "",
        "overrideOptions": ""
      }
    }
  },
  "example": {
    "attributes": {
      "columnsDesktop": 2,
      "columnsTable": 2,
      "columnsMobile": 2,
      "gapDesktop": 20,
      "gapTable": 20,
      "gapMobile": 20
    },
    "innerBlocks": [
      {
        "name": "appiapp-carousel/items-container",
        "innerBlocks": [
          {
            "name": "appiapp-carousel/carousel-item",
            "innerBlocks": [
              {
                "name": "core/group",
                "innerBlocks": [
                  {
                    "name": "core/image",
                    "attributes": {
                      "alt": "Beautiful landscape"
                    }
                  },
                  {
                    "name": "core/heading",
                    "attributes": {
                      "level": 3,
                      "content": "Mountain Lake"
                    }
                  },
                  {
                    "name": "core/paragraph",
                    "attributes": {
                      "content": "A serene mountain lake at sunset"
                    }
                  }
                ]
              }
            ]
          },
          {
            "name": "appiapp-carousel/carousel-item",
            "innerBlocks": [
              {
                "name": "core/group",
                "innerBlocks": [
                  {
                    "name": "core/image",
                    "attributes": {
                      "alt": "Beach sunset"
                    }
                  },
                  {
                    "name": "core/heading",
                    "attributes": {
                      "level": 3,
                      "content": "Tropical Beach"
                    }
                  },
                  {
                    "name": "core/paragraph",
                    "attributes": {
                      "content": "A beautiful tropical beach at sunset"
                    }
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  },
  "textdomain": "appiapp-carousel",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "render": "file:./render.php"
}