{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "title": "Team Member",
  "name": "brandy/team-member",
  "category": "brandy-blocks",
  "description": "Introduce a person: photo, name, role, bio and social links.",
  "keywords": [
    "team",
    "member",
    "person",
    "staff",
    "author",
    "profile"
  ],
  "attributes": {
    "layout": {
      "type": "string",
      "enum": [
        "card",
        "horizontal",
        "overlay"
      ],
      "default": "card"
    },
    "contentAlign": {
      "type": "string",
      "enum": [
        "left",
        "center",
        "right"
      ],
      "default": "center"
    },
    "avatarSize": {
      "type": "number",
      "default": 120
    },
    "avatarShape": {
      "type": "string",
      "enum": [
        "circle",
        "rounded",
        "square"
      ],
      "default": "circle"
    },
    "avatarRingColor": {
      "type": "string",
      "default": ""
    },
    "avatarRingWidth": {
      "type": "number",
      "default": 0
    },
    "hoverEffect": {
      "type": "string",
      "enum": [
        "none",
        "lift",
        "zoom"
      ],
      "default": "none"
    }
  },
  "providesContext": {
    "brandy/avatarSize": "avatarSize",
    "brandy/avatarShape": "avatarShape",
    "brandy/avatarRingColor": "avatarRingColor",
    "brandy/avatarRingWidth": "avatarRingWidth"
  },
  "supports": {
    "html": false,
    "anchor": true,
    "align": [
      "wide",
      "full"
    ],
    "color": {
      "text": true,
      "background": true,
      "gradients": true,
      "__experimentalDefaultControls": {
        "background": false,
        "text": false
      }
    },
    "spacing": {
      "margin": true,
      "padding": true,
      "blockGap": true,
      "__experimentalSkipSerialization": [
        "blockGap"
      ],
      "__experimentalDefaultControls": {
        "padding": true
      }
    },
    "typography": {
      "fontSize": true,
      "__experimentalFontFamily": true
    },
    "shadow": true,
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true,
      "__experimentalDefaultControls": {
        "radius": true
      }
    }
  },
  "example": {
    "viewportWidth": 400,
    "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": "core/heading",
        "attributes": {
          "level": 3,
          "content": "Ava Bennett",
          "className": "brandy-team-member__name"
        }
      },
      {
        "name": "core/paragraph",
        "attributes": {
          "content": "Head of Design",
          "className": "brandy-team-member__role"
        }
      },
      {
        "name": "core/paragraph",
        "attributes": {
          "content": "Ava turns rough ideas into interfaces people can use without a manual.",
          "className": "brandy-team-member__bio"
        }
      },
      {
        "name": "brandy/social-icons",
        "attributes": {
          "shape": "none",
          "colorMode": "inherit",
          "iconSize": 18
        },
        "innerBlocks": [
          {
            "name": "brandy/social-icon",
            "attributes": {
              "service": "linkedin",
              "url": "https://linkedin.com/"
            }
          },
          {
            "name": "brandy/social-icon",
            "attributes": {
              "service": "x",
              "url": "https://x.com/"
            }
          },
          {
            "name": "brandy/social-icon",
            "attributes": {
              "service": "instagram",
              "url": "https://instagram.com/"
            }
          }
        ]
      }
    ]
  },
  "textdomain": "brandy-blocks",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css"
}