init
This commit is contained in:
@@ -0,0 +1,97 @@
|
||||
{
|
||||
"$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
|
||||
},
|
||||
"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
|
||||
},
|
||||
"chooseAmountText": {
|
||||
"type": "string"
|
||||
},
|
||||
"customAmountText": {
|
||||
"type": "string"
|
||||
},
|
||||
"fallbackLinkUrl": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": {},
|
||||
"editorScript": "jetpack-blocks-editor"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill', 'wp-url'), 'version' => '3b5cd3cdf401d9f804df');
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
* Exposes number format capability
|
||||
*
|
||||
* @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors).
|
||||
* @license See CREDITS.md
|
||||
* @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
|
||||
*/
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user