{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bloqra/accordion",
  "version": "1.1.0",
  "title": "Accordion",
  "category": "bloqra",
  "icon": "editor-contract",
  "description": "Display collapsible accordion panels for FAQs and more.",
  "keywords": [
    "accordion",
    "collapsible",
    "toggle",
    "faq",
    "panel"
  ],
  "example": {
    "attributes": {
      "items": [
        {
          "title": "Accordion Item 1",
          "content": "Content for panel 1."
        },
        {
          "title": "Accordion Item 2",
          "content": "Content for panel 2."
        }
      ]
    }
  },
  "attributes": {
    "items": {
      "type": "array",
      "default": [
        {
          "title": "Accordion Item 1",
          "content": "Content for item 1."
        }
      ]
    },
    "allowMultipleOpen": {
      "type": "boolean",
      "default": false
    },
    "defaultOpenIndex": {
      "type": "number",
      "default": 0
    },
    "expandAllOnLoad": {
      "type": "boolean",
      "default": false
    },
    "collapseAllOnLoad": {
      "type": "boolean",
      "default": false
    },
    "animationDuration": {
      "type": "number",
      "default": 300
    },
    "respectReducedMotion": {
      "type": "boolean",
      "default": true
    },
    "iconStyle": {
      "type": "string",
      "default": "plusminus"
    },
    "iconPosition": {
      "type": "string",
      "default": "right"
    },
    "iconSize": {
      "type": "number",
      "default": 20
    },
    "iconColor": {
      "type": "string",
      "default": ""
    },
    "layoutStyle": {
      "type": "string",
      "default": "default"
    },
    "itemGap": {
      "type": "number",
      "default": 8
    },
    "itemBorderColor": {
      "type": "string",
      "default": "#dcdcdc"
    },
    "itemBorderWidth": {
      "type": "number",
      "default": 1
    },
    "itemBorderRadius": {
      "type": "number",
      "default": 4
    },
    "titleBgColor": {
      "type": "string",
      "default": "#f3f4f5"
    },
    "titleHoverBgColor": {
      "type": "string",
      "default": ""
    },
    "titleActiveBgColor": {
      "type": "string",
      "default": ""
    },
    "titleTextColor": {
      "type": "string",
      "default": "#212529"
    },
    "titleActiveTextColor": {
      "type": "string",
      "default": ""
    },
    "titleFontSize": {
      "type": "string",
      "default": "1em"
    },
    "titleFontWeight": {
      "type": "string",
      "default": "600"
    },
    "titleAlignment": {
      "type": "string",
      "default": "left"
    },
    "titlePadding": {
      "type": "number",
      "default": 16
    },
    "titleLetterSpacing": {
      "type": "number",
      "default": 0
    },
    "titleTextTransform": {
      "type": "string",
      "default": "none"
    },
    "contentBgColor": {
      "type": "string",
      "default": "#fff"
    },
    "contentTextColor": {
      "type": "string",
      "default": "#212529"
    },
    "contentFontSize": {
      "type": "string",
      "default": "1em"
    },
    "contentPadding": {
      "type": "number",
      "default": 16
    },
    "headingLevel": {
      "type": "string",
      "default": "h3"
    }
  },
  "supports": {
    "html": false,
    "background": {
      "backgroundImage": true,
      "backgroundSize": true,
      "__experimentalDefaultControls": {
        "backgroundImage": true
      }
    },
    "color": {
      "text": true,
      "background": true,
      "link": true,
      "gradients": true
    },
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true,
      "__experimentalDefaultControls": {
        "color": true,
        "radius": true,
        "style": true,
        "width": true
      }
    },
    "spacing": {
      "padding": true,
      "margin": true
    },
    "shadow": true,
    "typography": {
      "__experimentalFontFamily": true
    }
  },
  "textdomain": "bloqra",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js"
}