initial
This commit is contained in:
@@ -0,0 +1,239 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "jetpack/donations",
|
||||
"title": "Donations Form",
|
||||
"description": "Collect one-time, monthly, or annually recurring donations.",
|
||||
"keywords": [
|
||||
"charity",
|
||||
"contribution",
|
||||
"credit card",
|
||||
"debit card",
|
||||
"donate",
|
||||
"earn",
|
||||
"monetize",
|
||||
"ecommerce",
|
||||
"fundraising",
|
||||
"fundraiser",
|
||||
"gofundme",
|
||||
"money",
|
||||
"nonprofit",
|
||||
"non-profit",
|
||||
"paid",
|
||||
"patreon",
|
||||
"pay",
|
||||
"payments",
|
||||
"recurring",
|
||||
"stripe",
|
||||
"sponsor",
|
||||
"square",
|
||||
"tipping",
|
||||
"venmo"
|
||||
],
|
||||
"version": "12.5.0",
|
||||
"textdomain": "jetpack",
|
||||
"category": "monetize",
|
||||
"icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='M16.5 4.5c2.206 0 4 1.794 4 4 0 4.67-5.543 8.94-8.5 11.023C9.043 17.44 3.5 13.17 3.5 8.5c0-2.206 1.794-4 4-4 1.298 0 2.522.638 3.273 1.706L12 7.953l1.227-1.746c.75-1.07 1.975-1.707 3.273-1.707m0-1.5c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z' /></svg>",
|
||||
"supports": {
|
||||
"html": false,
|
||||
"color": {
|
||||
"background": true,
|
||||
"text": true,
|
||||
"button": true,
|
||||
"link": true,
|
||||
"gradients": false
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": true,
|
||||
"fontFamily": true,
|
||||
"fontStyle": true,
|
||||
"fontWeight": true,
|
||||
"lineHeight": true,
|
||||
"letterSpacing": true
|
||||
}
|
||||
},
|
||||
"attributes": {
|
||||
"currency": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"oneTimeDonation": {
|
||||
"type": "object",
|
||||
"default": {
|
||||
"show": true,
|
||||
"planId": null,
|
||||
"amounts": [
|
||||
5,
|
||||
15,
|
||||
100
|
||||
]
|
||||
}
|
||||
},
|
||||
"monthlyDonation": {
|
||||
"type": "object",
|
||||
"default": {
|
||||
"show": true,
|
||||
"planId": null,
|
||||
"amounts": [
|
||||
5,
|
||||
15,
|
||||
100
|
||||
]
|
||||
}
|
||||
},
|
||||
"annualDonation": {
|
||||
"type": "object",
|
||||
"default": {
|
||||
"show": true,
|
||||
"planId": null,
|
||||
"amounts": [
|
||||
5,
|
||||
15,
|
||||
100
|
||||
]
|
||||
}
|
||||
},
|
||||
"showCustomAmount": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"defaultInterval": {
|
||||
"type": "string"
|
||||
},
|
||||
"customAmountPlaceholder": {
|
||||
"type": "number"
|
||||
},
|
||||
"chooseAmountText": {
|
||||
"type": "string"
|
||||
},
|
||||
"customAmountText": {
|
||||
"type": "string"
|
||||
},
|
||||
"fallbackLinkUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"activeTabBackgroundColor": {
|
||||
"type": "string"
|
||||
},
|
||||
"activeTabTextColor": {
|
||||
"type": "string"
|
||||
},
|
||||
"inactiveTabBackgroundColor": {
|
||||
"type": "string"
|
||||
},
|
||||
"inactiveTabTextColor": {
|
||||
"type": "string"
|
||||
},
|
||||
"selectedAmountBackgroundColor": {
|
||||
"type": "string"
|
||||
},
|
||||
"selectedAmountTextColor": {
|
||||
"type": "string"
|
||||
},
|
||||
"selectedAmountOutlineColor": {
|
||||
"type": "string"
|
||||
},
|
||||
"tabsAppearance": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"tabs",
|
||||
"buttons"
|
||||
],
|
||||
"default": "tabs"
|
||||
},
|
||||
"tabBorderColor": {
|
||||
"type": "string"
|
||||
},
|
||||
"tabFontSize": {
|
||||
"type": "string"
|
||||
},
|
||||
"tabPadding": {
|
||||
"type": "object"
|
||||
},
|
||||
"buttonFontSize": {
|
||||
"type": "string"
|
||||
},
|
||||
"buttonPadding": {
|
||||
"type": "object"
|
||||
},
|
||||
"buttonAlignment": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"",
|
||||
"left",
|
||||
"center",
|
||||
"right",
|
||||
"full"
|
||||
],
|
||||
"default": ""
|
||||
},
|
||||
"amountFontSize": {
|
||||
"type": "string"
|
||||
},
|
||||
"amountBorder": {
|
||||
"type": "object"
|
||||
},
|
||||
"amountBorderRadius": {
|
||||
"type": [
|
||||
"string",
|
||||
"object"
|
||||
]
|
||||
},
|
||||
"buttonBorderRadius": {
|
||||
"type": [
|
||||
"string",
|
||||
"object"
|
||||
]
|
||||
},
|
||||
"contentAlignment": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"",
|
||||
"left",
|
||||
"center",
|
||||
"right"
|
||||
],
|
||||
"default": ""
|
||||
},
|
||||
"minimumAmount": {
|
||||
"type": "number"
|
||||
},
|
||||
"maximumAmount": {
|
||||
"type": "number"
|
||||
},
|
||||
"displayMode": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"inline",
|
||||
"modal"
|
||||
],
|
||||
"default": "inline"
|
||||
},
|
||||
"triggerButtonText": {
|
||||
"type": "string"
|
||||
},
|
||||
"triggerIcon": {
|
||||
"type": "string",
|
||||
"default": "heart"
|
||||
},
|
||||
"triggerSticky": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"blockBorder": {
|
||||
"type": "object"
|
||||
},
|
||||
"blockBorderRadius": {
|
||||
"type": [
|
||||
"string",
|
||||
"object"
|
||||
]
|
||||
},
|
||||
"variationName": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"example": {},
|
||||
"editorScript": "jetpack-blocks-editor"
|
||||
}
|
||||
Reference in New Issue
Block a user