{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "create-block/pricing-table-block",
  "version": "0.1.0",
  "title": "Pricing Table (Free)",
  "category": "adaire-blocks-free",
  "icon": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g clip-path=\"url(#clip0_77_49)\">\n<rect width=\"24\" height=\"24\" rx=\"5\" fill=\"#F0F0F1\"/>\n<g clip-path=\"url(#clip1_77_49)\">\n<path d=\"M15.1467 6H8.85334C8.78697 6.00078 8.72136 6.01838 8.66028 6.0518C8.59919 6.08522 8.54381 6.1338 8.49731 6.19476C8.45081 6.25573 8.41409 6.32789 8.38925 6.40713C8.36442 6.48636 8.35195 6.57112 8.35256 6.65655V17.3434C8.35195 17.4289 8.36442 17.5136 8.38925 17.5929C8.41409 17.6721 8.45081 17.7443 8.49731 17.8052C8.54381 17.8662 8.59919 17.9148 8.66028 17.9482C8.72136 17.9816 8.78697 17.9992 8.85334 18H15.1467C15.2131 17.9992 15.2787 17.9816 15.3398 17.9482C15.4009 17.9148 15.4563 17.8662 15.5028 17.8052C15.5493 17.7443 15.586 17.6721 15.6108 17.5929C15.6356 17.5136 15.6481 17.4289 15.6475 17.3434V6.65655C15.6481 6.57112 15.6356 6.48636 15.6108 6.40713C15.586 6.32789 15.5493 6.25573 15.5028 6.19476C15.4563 6.1338 15.4009 6.08522 15.3398 6.0518C15.2787 6.01838 15.2131 6.00078 15.1467 6ZM15.0714 16.8092C15.0715 16.855 15.0647 16.9004 15.0511 16.9428C15.0376 16.9851 15.0178 17.0236 14.9927 17.0561C14.9676 17.0885 14.9378 17.1142 14.9049 17.1318C14.8721 17.1494 14.8368 17.1584 14.8013 17.1584H9.19879C9.12685 17.1584 9.05785 17.1216 9.00698 17.0561C8.95611 16.9907 8.92753 16.9019 8.92753 16.8092V7.19075C8.92753 7.09814 8.95611 7.00933 9.00698 6.94385C9.05785 6.87837 9.12685 6.84158 9.19879 6.84158H14.8059C14.8415 6.84158 14.8767 6.85062 14.9095 6.86819C14.9424 6.88575 14.9722 6.9115 14.9973 6.94394C15.0224 6.97638 15.0423 7.01489 15.0558 7.05724C15.0693 7.09959 15.0762 7.14497 15.076 7.19075L15.0714 16.8092Z\" fill=\"#D52940\"/>\n<path d=\"M7.34749 7.27734H2.39416C2.34185 7.27793 2.29014 7.2918 2.24199 7.31815C2.19385 7.34451 2.15022 7.38284 2.11361 7.43094C2.07699 7.47904 2.04811 7.53597 2.02862 7.59846C2.00913 7.66096 1.99942 7.72779 2.00003 7.79513V16.205C1.99942 16.2723 2.00913 16.3391 2.02862 16.4016C2.04811 16.4641 2.07699 16.5211 2.11361 16.5692C2.15022 16.6173 2.19385 16.6556 2.24199 16.6819C2.29014 16.7083 2.34185 16.7222 2.39416 16.7228H7.34749C7.3998 16.7222 7.45151 16.7083 7.49966 16.6819C7.5478 16.6556 7.59143 16.6173 7.62804 16.5692C7.66466 16.5211 7.69354 16.4641 7.71303 16.4016C7.73252 16.3391 7.74223 16.2723 7.74162 16.205V7.79513C7.74223 7.72779 7.73252 7.66096 7.71303 7.59846C7.69354 7.53597 7.66466 7.47904 7.62804 7.43094C7.59143 7.38284 7.5478 7.34451 7.49966 7.31815C7.45151 7.2918 7.3998 7.27793 7.34749 7.27734ZM7.2165 15.6723C7.21619 15.7429 7.19419 15.8104 7.15531 15.8602C7.11643 15.9099 7.06383 15.9379 7.009 15.9379H2.73265C2.67782 15.9379 2.62522 15.9099 2.58634 15.8602C2.54746 15.8104 2.52546 15.7429 2.52515 15.6723V8.32783C2.52546 8.25725 2.54746 8.18969 2.58634 8.13993C2.62522 8.09016 2.67782 8.06222 2.73265 8.06222H7.009C7.06383 8.06222 7.11643 8.09016 7.15531 8.13993C7.19419 8.18969 7.21619 8.25725 7.2165 8.32783V15.6723Z\" fill=\"#D52940\"/>\n<path d=\"M21.6059 7.27734H16.6525C16.6002 7.27793 16.5485 7.2918 16.5004 7.31815C16.4522 7.34451 16.4086 7.38284 16.372 7.43094C16.3354 7.47904 16.3065 7.53597 16.287 7.59846C16.2675 7.66096 16.2578 7.72779 16.2584 7.79513V16.205C16.2578 16.2723 16.2675 16.3391 16.287 16.4016C16.3065 16.4641 16.3354 16.5211 16.372 16.5692C16.4086 16.6173 16.4522 16.6556 16.5004 16.6819C16.5485 16.7083 16.6002 16.7222 16.6525 16.7228H21.6059C21.6582 16.7222 21.7099 16.7083 21.758 16.6819C21.8062 16.6556 21.8498 16.6173 21.8864 16.5692C21.923 16.5211 21.9519 16.4641 21.9714 16.4016C21.9909 16.3391 22.0006 16.2723 22 16.205V7.79513C22.0006 7.72779 21.9909 7.66096 21.9714 7.59846C21.9519 7.53597 21.923 7.47904 21.8864 7.43094C21.8498 7.38284 21.8062 7.34451 21.758 7.31815C21.7099 7.2918 21.6582 7.27793 21.6059 7.27734ZM21.4749 15.6723C21.4746 15.7429 21.4526 15.8104 21.4137 15.8602C21.3748 15.9099 21.3222 15.9379 21.2674 15.9379H16.991C16.9362 15.9379 16.8836 15.9099 16.8447 15.8602C16.8058 15.8104 16.7838 15.7429 16.7835 15.6723V8.32783C16.7838 8.25725 16.8058 8.18969 16.8447 8.13993C16.8836 8.09016 16.9362 8.06222 16.991 8.06222H21.2674C21.3222 8.06222 21.3748 8.09016 21.4137 8.13993C21.4526 8.18969 21.4746 8.25725 21.4749 8.32783V15.6723Z\" fill=\"#D52940\"/>\n<path d=\"M11.7778 15V8H12.2222V15H11.7778ZM13.2737 10.1C13.2412 9.82292 13.1093 9.60781 12.878 9.45469C12.6468 9.30156 12.3631 9.225 12.0271 9.225C11.7814 9.225 11.5664 9.2651 11.3821 9.34531C11.1996 9.42552 11.0569 9.53581 10.9539 9.67617C10.8528 9.81654 10.8022 9.97604 10.8022 10.1547C10.8022 10.3042 10.8374 10.4327 10.9079 10.5402C10.9801 10.646 11.0723 10.7344 11.1843 10.8055C11.2963 10.8747 11.4137 10.9322 11.5366 10.9777C11.6594 11.0215 11.7724 11.057 11.8753 11.0844L12.439 11.2375C12.5836 11.2758 12.7444 11.3286 12.9214 11.3961C13.1003 11.4635 13.271 11.5556 13.4336 11.6723C13.598 11.7871 13.7335 11.9348 13.8401 12.1152C13.9467 12.2957 14 12.5172 14 12.7797C14 13.0823 13.9214 13.3557 13.7642 13.6C13.6089 13.8443 13.3812 14.0384 13.0813 14.1824C12.7832 14.3264 12.421 14.3984 11.9946 14.3984C11.5971 14.3984 11.2529 14.3337 10.9621 14.2043C10.673 14.0749 10.4453 13.8944 10.2791 13.6629C10.1147 13.4314 10.0217 13.1625 10 12.8563H10.6938C10.7118 13.0677 10.7823 13.2427 10.9051 13.3812C11.0298 13.518 11.187 13.6201 11.3767 13.6875C11.5682 13.7531 11.7742 13.7859 11.9946 13.7859C12.2511 13.7859 12.4815 13.744 12.6856 13.6602C12.8898 13.5745 13.0515 13.456 13.1707 13.3047C13.29 13.1516 13.3496 12.9729 13.3496 12.7688C13.3496 12.5828 13.2981 12.4315 13.1951 12.3148C13.0921 12.1982 12.9566 12.1034 12.7886 12.0305C12.6206 11.9576 12.439 11.8937 12.2439 11.8391L11.561 11.6422C11.1274 11.5164 10.7841 11.3368 10.5312 11.1035C10.2782 10.8702 10.1518 10.5648 10.1518 10.1875C10.1518 9.87396 10.2358 9.60052 10.4038 9.36719C10.5736 9.13203 10.8013 8.94974 11.0867 8.82031C11.374 8.68906 11.6947 8.62344 12.0488 8.62344C12.4065 8.62344 12.7245 8.68815 13.0027 8.81758C13.2809 8.94518 13.5014 9.12018 13.664 9.34258C13.8284 9.56497 13.9151 9.81745 13.9241 10.1H13.2737Z\" fill=\"#D52940\"/>\n</g>\n</g>\n<defs>\n<clipPath id=\"clip0_77_49\">\n<rect width=\"24\" height=\"24\" rx=\"5\" fill=\"white\"/>\n</clipPath>\n<clipPath id=\"clip1_77_49\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>\n</svg>",
  "description": "Responsive pricing tables with monthly/yearly toggle, card grid, and fully customizable styling.",
  "supports": {
    "html": false,
    "anchor": true,
    "align": [
      "wide",
      "full"
    ],
    "customClassName": true
  },
  "textdomain": "pricing-table-block",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js",
  "attributes": {
    "blockId": {
      "type": "string",
      "default": ""
    },
    "containerMode": {
      "type": "string",
      "default": "constrained"
    },
    "containerMaxWidth": {
      "type": "object",
      "default": {
        "desktop": {
          "value": 1200,
          "unit": "px"
        },
        "tablet": {
          "value": 100,
          "unit": "%"
        },
        "mobile": {
          "value": 100,
          "unit": "%"
        }
      }
    },
    "heading": {
      "type": "string",
      "default": "Simple, transparent pricing"
    },
    "subheading": {
      "type": "string",
      "default": "Choose the plan that best fits your project, switch between monthly and yearly billing at any time."
    },
    "billingMode": {
      "type": "string",
      "default": "monthly"
    },
    "monthlyLabel": {
      "type": "string",
      "default": "Monthly"
    },
    "yearlyLabel": {
      "type": "string",
      "default": "Yearly"
    },
    "yearlyBadgeText": {
      "type": "string",
      "default": "Save 20%"
    },
    "cards": {
      "type": "array",
      "default": [
        {
          "id": "plan-basic",
          "name": "Basic",
          "tagline": "For small projects",
          "currency": "$",
          "monthlyPrice": "19",
          "yearlyPrice": "190",
          "priceSuffix": "/mo",
          "features": [
            "2GB Bandwidth",
            "50GB Storage",
            "5 Accounts",
            "Email Support"
          ],
          "buttonLabel": "Sign Up",
          "buttonUrl": "#",
          "buttonTarget": "_self",
          "isFeatured": false
        },
        {
          "id": "plan-standard",
          "name": "Standard",
          "tagline": "Best for growing teams",
          "currency": "$",
          "monthlyPrice": "49",
          "yearlyPrice": "490",
          "priceSuffix": "/mo",
          "features": [
            "10GB Bandwidth",
            "150GB Storage",
            "25 Accounts",
            "Priority Support"
          ],
          "buttonLabel": "Get Started",
          "buttonUrl": "#",
          "buttonTarget": "_self",
          "isFeatured": true
        },
        {
          "id": "plan-unlimited",
          "name": "Unlimited",
          "tagline": "For large organizations",
          "currency": "$",
          "monthlyPrice": "99",
          "yearlyPrice": "990",
          "priceSuffix": "/mo",
          "features": [
            "Unlimited Bandwidth",
            "1TB Storage",
            "Unlimited Accounts",
            "24/7 Support"
          ],
          "buttonLabel": "Contact Sales",
          "buttonUrl": "#",
          "buttonTarget": "_self",
          "isFeatured": false
        }
      ]
    },
    "backgroundColor": {
      "type": "string",
      "default": "#f5f5f7"
    },
    "cardBackgroundColor": {
      "type": "string",
      "default": "#ffffff"
    },
    "featuredCardBackgroundColor": {
      "type": "string",
      "default": "#14b85a"
    },
    "featuredCardTextColor": {
      "type": "string",
      "default": "#ffffff"
    },
    "cardBorderColor": {
      "type": "string",
      "default": "#e5e7eb"
    },
    "cardHoverBorderColor": {
      "type": "string",
      "default": "#14b85a"
    },
    "headingColor": {
      "type": "string",
      "default": "#111827"
    },
    "subheadingColor": {
      "type": "string",
      "default": "#6b7280"
    },
    "planNameColor": {
      "type": "string",
      "default": "#111827"
    },
    "priceColor": {
      "type": "string",
      "default": "#111827"
    },
    "featureTextColor": {
      "type": "string",
      "default": "#4b5563"
    },
    "buttonTextColor": {
      "type": "string",
      "default": "#ffffff"
    },
    "buttonBackgroundColor": {
      "type": "string",
      "default": "#10b981"
    },
    "buttonHoverBackgroundColor": {
      "type": "string",
      "default": "#059669"
    },
    "headingFontSize": {
      "type": "object",
      "default": {
        "desktop": {
          "value": 40,
          "unit": "px"
        },
        "tablet": {
          "value": 32,
          "unit": "px"
        },
        "mobile": {
          "value": 26,
          "unit": "px"
        }
      }
    },
    "subheadingFontSize": {
      "type": "object",
      "default": {
        "desktop": {
          "value": 18,
          "unit": "px"
        },
        "tablet": {
          "value": 16,
          "unit": "px"
        },
        "mobile": {
          "value": 14,
          "unit": "px"
        }
      }
    },
    "planNameFontSize": {
      "type": "object",
      "default": {
        "desktop": {
          "value": 20,
          "unit": "px"
        },
        "tablet": {
          "value": 18,
          "unit": "px"
        },
        "mobile": {
          "value": 16,
          "unit": "px"
        }
      }
    },
    "priceFontSize": {
      "type": "object",
      "default": {
        "desktop": {
          "value": 40,
          "unit": "px"
        },
        "tablet": {
          "value": 32,
          "unit": "px"
        },
        "mobile": {
          "value": 28,
          "unit": "px"
        }
      }
    },
    "featureFontSize": {
      "type": "object",
      "default": {
        "desktop": {
          "value": 14,
          "unit": "px"
        },
        "tablet": {
          "value": 14,
          "unit": "px"
        },
        "mobile": {
          "value": 13,
          "unit": "px"
        }
      }
    },
    "buttonFontSize": {
      "type": "object",
      "default": {
        "desktop": {
          "value": 15,
          "unit": "px"
        },
        "tablet": {
          "value": 15,
          "unit": "px"
        },
        "mobile": {
          "value": 14,
          "unit": "px"
        }
      }
    },
    "pricePrefixFontSize": {
      "type": "object",
      "default": {
        "desktop": {
          "value": 18,
          "unit": "px"
        },
        "tablet": {
          "value": 16,
          "unit": "px"
        },
        "mobile": {
          "value": 14,
          "unit": "px"
        }
      }
    },
    "badgeFontSize": {
      "type": "object",
      "default": {
        "desktop": {
          "value": 11,
          "unit": "px"
        },
        "tablet": {
          "value": 10,
          "unit": "px"
        },
        "mobile": {
          "value": 9,
          "unit": "px"
        }
      }
    },
    "gridColumns": {
      "type": "object",
      "default": {
        "desktop": 3,
        "tablet": 3,
        "mobile": 1
      }
    },
    "gridGap": {
      "type": "object",
      "default": {
        "desktop": 32,
        "tablet": 24,
        "mobile": 20
      }
    },
    "cardPadding": {
      "type": "object",
      "default": {
        "top": 32,
        "right": 32,
        "bottom": 32,
        "left": 32
      }
    },
    "cardBorderRadius": {
      "type": "number",
      "default": 8
    },
    "cardBorderWidth": {
      "type": "number",
      "default": 1
    },
    "cardTextAlignment": {
      "type": "string",
      "default": "left"
    },
    "cardButtonAlignment": {
      "type": "string",
      "default": "center"
    },
    "cardHoverBackgroundColor": {
      "type": "string",
      "default": ""
    },
    "cardHoverTextColor": {
      "type": "string",
      "default": ""
    },
    "yearlyBadgeBackgroundColor": {
      "type": "string",
      "default": "#22c55e"
    },
    "priceSuffixFontSize": {
      "type": "object",
      "default": {
        "desktop": {
          "value": 14,
          "unit": "px"
        },
        "tablet": {
          "value": 13,
          "unit": "px"
        },
        "mobile": {
          "value": 12,
          "unit": "px"
        }
      }
    },
    "toggleFontSize": {
      "type": "object",
      "default": {
        "desktop": {
          "value": 14,
          "unit": "px"
        },
        "tablet": {
          "value": 13,
          "unit": "px"
        },
        "mobile": {
          "value": 12,
          "unit": "px"
        }
      }
    },
    "buttonGlowColor": {
      "type": "string",
      "default": ""
    },
    "buttonGlowOpacity": {
      "type": "number",
      "default": 25
    }
  }
}