{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "awt/author-pro-book-carousel",
  "version": "1.0.0",
  "title": "Author Pro Book Carousel",
  "category": "theme",
  "icon": "book",
  "description": "A dynamic carousel showcasing books.",
  "attributes": {
    "postCount": {
      "type": "number",
      "default": 10
    },
    "columns": {
      "type": "number",
      "default": 3
    },
    "gap": {
      "type": "number",
      "default": 32
    },
    "enableAutoplay": {
      "type": "boolean",
      "default": false
    },
    "autoplaySpeed": {
      "type": "number",
      "default": 3000
    },
    "enableTitleTrim": {
      "type": "boolean",
      "default": false
    },
    "titleTrimLength": {
      "type": "number",
      "default": 10
    },
    "sectionBgColor": {
      "type": "string"
    },
    "cardBgColor": {
      "type": "string"
    },
    "titleColor": {
      "type": "string"
    },
    "authorColor": {
      "type": "string"
    },
    "priceColor": {
      "type": "string"
    },
    "accentColor": {
      "type": "string"
    },
    "arrowBgColor": {
      "type": "string"
    },
    "arrowIconColor": {
      "type": "string"
    },
    "align": {
      "type": "string",
      "default": "full"
    },
    "sectionTitle": {
      "type": "string",
      "default": "More Books by Author"
    },
    "sectionSubtitle": {
      "type": "string",
      "default": "Library"
    },
    "showSectionTitle": {
      "type": "boolean",
      "default": true
    },
    "viewAllText": {
      "type": "string",
      "default": "View All Books"
    },
    "viewAllLink": {
      "type": "string",
      "default": "/books"
    },
    "showViewAll": {
      "type": "boolean",
      "default": true
    }
  },
  "supports": {
    "align": [
      "full",
      "wide"
    ],
    "spacing": {
      "margin": true,
      "padding": true
    },
    "anchor": true,
    "html": false,
    "color": {
      "background": true,
      "text": true
    }
  },
  "textdomain": "author-website-templates",
  "editorScript": [
    "awt-glide-js",
    "file:./view.js",
    "file:./index.js"
  ],
  "viewScript": [
    "awt-glide-js",
    "file:./view.js"
  ],
  "style": [
    "file:./style-index.css",
    "awt-glide-css"
  ],
  "render": "file:./render.php"
}