{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "title": "Avatar Group",
  "name": "brandy/avatar-group",
  "category": "brandy-blocks",
  "description": "A horizontal stack of overlapping avatars with an optional +N overflow tile that expands inline.",
  "keywords": [
    "avatar",
    "group",
    "team",
    "people",
    "stack",
    "users"
  ],
  "attributes": {
    "maxVisible": {
      "type": "number",
      "default": 5
    },
    "size": {
      "type": "number",
      "default": 40
    },
    "overlap": {
      "type": "number",
      "default": 12
    },
    "ringColor": {
      "type": "string",
      "default": "#ffffff"
    },
    "ringWidth": {
      "type": "number",
      "default": 2
    },
    "shape": {
      "type": "string",
      "default": "circle",
      "enum": [
        "circle",
        "rounded"
      ]
    },
    "overflowPrefix": {
      "type": "string",
      "default": "+"
    },
    "expandable": {
      "type": "boolean",
      "default": true
    },
    "justifyContent": {
      "type": "string",
      "default": "left",
      "enum": [
        "left",
        "center",
        "right"
      ]
    },
    "source": {
      "type": "string",
      "default": "manual",
      "enum": [
        "manual",
        "users",
        "authors",
        "customers",
        "specific"
      ]
    },
    "query": {
      "type": "object",
      "default": {
        "roles": [],
        "postType": "post",
        "number": 8,
        "order": "asc"
      }
    },
    "userIds": {
      "type": "array",
      "default": []
    },
    "linkAvatars": {
      "type": "boolean",
      "default": false
    }
  },
  "allowedBlocks": [
    "brandy/avatar"
  ],
  "providesContext": {
    "brandy/avatarSize": "size",
    "brandy/avatarShape": "shape",
    "brandy/avatarRingColor": "ringColor",
    "brandy/avatarRingWidth": "ringWidth"
  },
  "supports": {
    "reusable": false,
    "html": false,
    "align": [
      "wide",
      "full"
    ],
    "spacing": {
      "margin": true,
      "padding": true
    }
  },
  "example": {
    "viewportWidth": 600,
    "innerBlocks": [
      {
        "name": "brandy/avatar",
        "attributes": {
          "name": "Ava Bennett",
          "alt": "Ava Bennett",
          "url": "https://images.wpbrandy.com/uploads/fashion-team-avatar-compress-image-1.webp"
        }
      },
      {
        "name": "brandy/avatar",
        "attributes": {
          "name": "Liam Carter",
          "alt": "Liam Carter",
          "url": "https://images.wpbrandy.com/uploads/fashion-team-avatar-compress-image-2.webp"
        }
      },
      {
        "name": "brandy/avatar",
        "attributes": {
          "name": "Maya Diaz",
          "alt": "Maya Diaz",
          "url": "https://images.wpbrandy.com/uploads/fashion-team-avatar-compress-image-3.webp"
        }
      },
      {
        "name": "brandy/avatar",
        "attributes": {
          "name": "Noah Evans",
          "alt": "Noah Evans",
          "url": "https://images.wpbrandy.com/uploads/fashion-team-avatar-compress-image-4.webp"
        }
      },
      {
        "name": "brandy/avatar",
        "attributes": {
          "name": "Sofia Khan",
          "alt": "Sofia Khan",
          "url": "https://images.wpbrandy.com/uploads/fashion-team-avatar-compress-image-5.webp"
        }
      }
    ]
  },
  "render": "file:./render.php",
  "textdomain": "brandy-blocks",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScriptModule": "file:./view.js"
}