{
  "apiVersion": 3,
  "name": "wpuf-ud/message-button",
  "title": "Message Button",
  "category": "wpuf-ud",
  "description": "A message button inside User Profile block when Private Message module is enabled.",
  "supports": {
    "html": false,
    "anchor": true,
    "color": {
      "background": true,
      "text": true,
      "gradients": true,
      "__experimentalDefaultControls": {
        "background": true,
        "text": true
      }
    },
    "spacing": {
      "margin": true,
      "padding": true
    },
    "typography": {
      "fontSize": true,
      "lineHeight": true,
      "__experimentalFontFamily": true,
      "__experimentalFontStyle": true,
      "__experimentalFontWeight": true,
      "__experimentalLetterSpacing": true,
      "__experimentalTextTransform": true,
      "__experimentalTextDecoration": true
    },
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true,
      "__experimentalDefaultControls": {
        "color": true,
        "radius": true,
        "style": true,
        "width": true
      }
    }
  },
  "usesContext": [ "wpuf-ud/userObject" ],
  "attributes": {
    "buttonText": {
      "type": "string",
      "default": "Message"
    },
    "linkTarget": {
      "type": "string",
      "default": "_self"
    },
    "style": {
      "type": "object",
      "default": {
        "color": {
          "background": "#f8f9fa",
          "text": "#495057"
        },
        "border": {
          "color": "#dee2e6",
          "radius": "6px",
          "style": "solid",
          "width": "1px"
        },
        "spacing": {
          "padding": {
            "top": "8px",
            "right": "16px",
            "bottom": "8px",
            "left": "16px"
          }
        },
        "typography": {
          "fontSize": "14px",
          "fontWeight": "500"
        }
      }
    }
  },
  "textdomain": "wpuf-pro",
  "example": {
    "viewportWidth": 800,
    "attributes": {
      "buttonText": "Message",
      "linkTarget": "_self",
      "style": {
        "color": {
          "background": "#f8f9fa",
          "text": "#495057"
        },
        "border": {
          "color": "#dee2e6",
          "radius": "6px",
          "style": "solid",
          "width": "1px"
        },
        "spacing": {
          "padding": {
            "top": "8px",
            "right": "16px",
            "bottom": "8px",
            "left": "16px"
          }
        },
        "typography": {
          "fontSize": "14px",
          "fontWeight": "500"
        }
      }
    }
  }
}
