{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bloqra/pricing-table",
  "version": "1.0.0",
  "title": "Pricing Table",
  "category": "bloqra",
  "icon": "index-card",
  "description": "A single pricing card — badge, plan name, price with sale price and billing note, feature list and call-to-action button. Combine cards inside Columns, or wrap them in a Content Switcher for monthly/yearly pricing.",
  "keywords": [
    "pricing",
    "price",
    "plan",
    "subscription",
    "card"
  ],
  "example": {
    "attributes": {
      "showBadge": true,
      "badgeText": "Most Popular",
      "planName": "Pro",
      "planDescription": "For growing teams",
      "price": "49",
      "originalPrice": "59",
      "period": "/month",
      "priceNote": "billed annually",
      "featured": true
    },
    "innerBlocks": [
      {
        "name": "bloqra/icon-list",
        "attributes": {
          "defaultIcon": "check",
          "defaultIconColor": "#16a34a"
        },
        "innerBlocks": [
          {
            "name": "bloqra/icon-list-item",
            "attributes": {
              "text": "Unlimited projects"
            }
          },
          {
            "name": "bloqra/icon-list-item",
            "attributes": {
              "text": "Priority support"
            }
          },
          {
            "name": "bloqra/icon-list-item",
            "attributes": {
              "text": "Advanced analytics"
            }
          }
        ]
      }
    ]
  },
  "attributes": {
    "alignment": {
      "type": "string",
      "default": "center"
    },
    "headingLevel": {
      "type": "number",
      "default": 3
    },
    "sectionGap": {
      "type": "string",
      "default": "20px"
    },
    "featured": {
      "type": "boolean",
      "default": false
    },
    "showDividers": {
      "type": "boolean",
      "default": false
    },
    "dividerColor": {
      "type": "string",
      "default": "#e5e7eb"
    },
    "showBadge": {
      "type": "boolean",
      "default": false
    },
    "badgeText": {
      "type": "string",
      "default": "Most Popular"
    },
    "badgeStyle": {
      "type": "string",
      "default": "pill",
      "enum": [
        "pill",
        "ribbon"
      ]
    },
    "badgeBgColor": {
      "type": "string",
      "default": ""
    },
    "badgeTextColor": {
      "type": "string",
      "default": ""
    },
    "planName": {
      "type": "string",
      "default": ""
    },
    "planDescription": {
      "type": "string",
      "default": ""
    },
    "pricePrefix": {
      "type": "string",
      "default": ""
    },
    "currency": {
      "type": "string",
      "default": "$"
    },
    "currencyPosition": {
      "type": "string",
      "default": "before",
      "enum": [
        "before",
        "after"
      ]
    },
    "price": {
      "type": "string",
      "default": "49"
    },
    "originalPrice": {
      "type": "string",
      "default": ""
    },
    "period": {
      "type": "string",
      "default": "/month"
    },
    "priceNote": {
      "type": "string",
      "default": ""
    },
    "priceSize": {
      "type": "string",
      "default": "48px"
    },
    "priceColor": {
      "type": "string",
      "default": ""
    },
    "periodColor": {
      "type": "string",
      "default": ""
    },
    "originalPriceColor": {
      "type": "string",
      "default": ""
    },
    "showButton": {
      "type": "boolean",
      "default": true
    },
    "buttonText": {
      "type": "string",
      "default": ""
    },
    "buttonUrl": {
      "type": "string",
      "default": ""
    },
    "buttonNewTab": {
      "type": "boolean",
      "default": false
    },
    "buttonRel": {
      "type": "string",
      "default": ""
    },
    "buttonStyle": {
      "type": "string",
      "default": "fill",
      "enum": [
        "fill",
        "outline"
      ]
    },
    "buttonFullWidth": {
      "type": "boolean",
      "default": true
    },
    "buttonBgColor": {
      "type": "string",
      "default": ""
    },
    "buttonTextColor": {
      "type": "string",
      "default": ""
    },
    "buttonHoverBgColor": {
      "type": "string",
      "default": ""
    },
    "buttonHoverTextColor": {
      "type": "string",
      "default": ""
    },
    "buttonBorderRadius": {
      "type": "string",
      "default": ""
    },
    "buttonPadding": {
      "type": "string",
      "default": ""
    },
    "footnote": {
      "type": "string",
      "default": ""
    }
  },
  "supports": {
    "html": false,
    "anchor": true,
    "align": [
      "wide",
      "full"
    ],
    "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": {
      "fontSize": true,
      "lineHeight": true,
      "__experimentalFontFamily": true
    }
  },
  "textdomain": "bloqra",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css"
}