@automattic/newspack-blocks 2.6.2 → 3.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cache/babel/135eb7c6e583be53418b26a29fcc4d81.json.gz +0 -0
- package/.cache/babel/2bec24377bb9890c2268bcd4c8f3953c.json.gz +0 -0
- package/.cache/babel/9ba57ee86df44178ceb255eaf0e770e3.json.gz +0 -0
- package/.cache/babel/a804bf1963e56137e59e37a567cb5e2e.json.gz +0 -0
- package/.cache/babel/b94e6dc0852876a37bd23ec88c5b2583.json.gz +0 -0
- package/.cache/babel/c04d2af94bb0f10f408a15534301cc86.json.gz +0 -0
- package/.cache/babel/c8d4b9ae4be3002e8507d71f1136ebc6.json.gz +0 -0
- package/.cache/babel/d21f5515648ce2a2349b0ee5cc787fce.json.gz +0 -0
- package/.cache/babel/d3eee0c40fc44bc734dee21a645a4f7d.json.gz +0 -0
- package/.cache/babel/d661309b03e38954105e706a32ef09f6.json.gz +0 -0
- package/.cache/babel/e2dd36051554e75a2bf087b85c11e43d.json.gz +0 -0
- package/.hooks/pre-push +2 -2
- package/CHANGELOG.md +21 -0
- package/composer.lock +38 -36
- package/dist/donate/view.asset.php +1 -1
- package/dist/donate/view.css +1 -1
- package/dist/donate/view.rtl.css +1 -1
- package/dist/editor.asset.php +1 -1
- package/dist/editor.css +1 -1
- package/dist/editor.js +11 -11
- package/dist/editor.rtl.css +1 -1
- package/dist/frequencyBased.asset.php +1 -1
- package/dist/frequencyBased.css +1 -1
- package/dist/frequencyBased.rtl.css +1 -1
- package/dist/modalCheckout.asset.php +1 -1
- package/dist/modalCheckout.css +1 -1
- package/dist/modalCheckout.rtl.css +1 -1
- package/dist/tiersBased.asset.php +1 -1
- package/dist/tiersBased.css +1 -1
- package/dist/tiersBased.js +1 -1
- package/dist/tiersBased.rtl.css +1 -1
- package/includes/class-modal-checkout.php +11 -14
- package/includes/class-newspack-blocks.php +87 -43
- package/languages/newspack-blocks-de_DE.po +0 -40
- package/languages/newspack-blocks-es_ES.po +0 -40
- package/languages/newspack-blocks-fr_BE.po +0 -40
- package/languages/newspack-blocks-pt_PT.po +0 -40
- package/languages/newspack-blocks.pot +0 -38
- package/newspack-blocks.php +2 -14
- package/package.json +7 -8
- package/src/blocks/checkout-button/edit.js +5 -1
- package/src/blocks/donate/block.json +0 -12
- package/src/blocks/donate/edit/FrequencyBasedLayout.tsx +61 -106
- package/src/blocks/donate/edit/TierBasedLayout.tsx +7 -26
- package/src/blocks/donate/edit/components/index.tsx +0 -1
- package/src/blocks/donate/edit/index.tsx +157 -152
- package/src/blocks/donate/frequency-based/style.scss +5 -0
- package/src/blocks/donate/frontend/class-newspack-blocks-donate-renderer-base.php +33 -147
- package/src/blocks/donate/frontend/class-newspack-blocks-donate-renderer-frequency-based.php +21 -10
- package/src/blocks/donate/frontend/class-newspack-blocks-donate-renderer-tiers-based.php +3 -50
- package/src/blocks/donate/frontend/class-newspack-blocks-donate-renderer.php +1 -14
- package/src/blocks/donate/styles/editor.scss +6 -28
- package/src/blocks/donate/styles/style-variations.scss +17 -8
- package/src/blocks/donate/styles/view.scss +9 -0
- package/src/blocks/donate/tiers-based/style.scss +0 -11
- package/src/blocks/donate/tiers-based/utils.test.js +38 -0
- package/src/blocks/donate/tiers-based/utils.ts +1 -2
- package/src/blocks/donate/tiers-based/view.ts +0 -33
- package/src/blocks/donate/types.ts +0 -16
- package/src/blocks/donate/utils.ts +31 -0
- package/src/blocks/homepage-articles/block.json +18 -0
- package/src/blocks/homepage-articles/class-wp-rest-newspack-articles-controller.php +1 -1
- package/src/blocks/homepage-articles/edit.js +3 -0
- package/src/blocks/homepage-articles/utils.ts +4 -0
- package/src/blocks/homepage-articles/view.php +4 -4
- package/src/components/query-controls.js +41 -8
- package/src/modal-checkout/checkout.scss +4 -5
- package/src/types/index.d.ts +4 -3
- package/vendor/autoload.php +1 -1
- package/vendor/composer/autoload_real.php +4 -4
- package/vendor/composer/autoload_static.php +2 -2
- package/vendor/composer/installed.php +2 -2
- package/webpack.config.js +0 -1
- package/.cache/babel/18dda1142078f066419138e7284f03bf.json.gz +0 -0
- package/.cache/babel/1f43960564787ebde7c6d44957cddf0e.json.gz +0 -0
- package/.cache/babel/225618337c609eed2be110274ff82be1.json.gz +0 -0
- package/.cache/babel/29d960d2fc51492a4bea1f4f165810fb.json.gz +0 -0
- package/.cache/babel/2f22325668b5763f8f2c9557833af36f.json.gz +0 -0
- package/.cache/babel/39bcc541624feefe54d1493493ae1ce8.json.gz +0 -0
- package/.cache/babel/4d450b37d365154f05b17cbf6a009255.json.gz +0 -0
- package/.cache/babel/87e2dc4a961b25b0de8d1a8ac88eea13.json.gz +0 -0
- package/.cache/babel/91884d41523f3790da70ea305ee187f2.json.gz +0 -0
- package/.cache/babel/b1ac90699e641ff99e1449b5d7b686e5.json.gz +0 -0
- package/.cache/babel/c5a441fdf7d90d45d2cbeb89967c61fe.json.gz +0 -0
- package/.cache/babel/c7cfb8590e887722a3e715c72ee99bac.json.gz +0 -0
- package/.cache/babel/e1d8932bb19afa36f476f107dbc6ca39.json.gz +0 -0
- package/.cache/babel/f60f8c23ec2b4448cb2815d79207d8c0.json.gz +0 -0
- package/dist/donateStreamlined.asset.php +0 -1
- package/dist/donateStreamlined.css +0 -1
- package/dist/donateStreamlined.js +0 -1
- package/dist/donateStreamlined.rtl.css +0 -1
- package/src/blocks/donate/class-wp-rest-newspack-donate-controller.php +0 -206
- package/src/blocks/donate/edit/components/AdditionalFields.tsx +0 -282
- package/src/blocks/donate/streamlined/index.test.js +0 -132
- package/src/blocks/donate/streamlined/index.ts +0 -356
- package/src/blocks/donate/streamlined/style.scss +0 -306
- package/src/blocks/donate/streamlined/utils.test.js +0 -18
- package/src/blocks/donate/streamlined/utils.ts +0 -217
- package/src/blocks/donate/tiers-based/view.test.js +0 -209
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.hooks/pre-push
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
|
|
4
4
|
|
|
5
|
-
if [[ "$branch" = "
|
|
6
|
-
echo "Error: pushing directly to the
|
|
5
|
+
if [[ "$branch" = "trunk" ]]; then
|
|
6
|
+
echo "Error: pushing directly to the trunk branch is prohibited"
|
|
7
7
|
exit 1
|
|
8
8
|
fi
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
# [3.0.0-alpha.1](https://github.com/Automattic/newspack-blocks/compare/v2.6.2...v3.0.0-alpha.1) (2024-02-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **homepage-articles:** use map_deep to construct articles_rest_url and resolve PHP 8.1 warnings ([#1655](https://github.com/Automattic/newspack-blocks/issues/1655)) ([24085d8](https://github.com/Automattic/newspack-blocks/commit/24085d82c6eacf5b31956d3e07303badeaccbe6d))
|
|
7
|
+
* prevent error in modal-checkout check ([7e2a6c7](https://github.com/Automattic/newspack-blocks/commit/7e2a6c75a28b5a1a6316e45151dbe51c5ae8f72b))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **ci:** add `epic/*` release workflow and rename `master` to `trunk` ([#1656](https://github.com/Automattic/newspack-blocks/issues/1656)) ([c788e55](https://github.com/Automattic/newspack-blocks/commit/c788e55d58cd7c72310f65d83f14f9e0960c6871))
|
|
13
|
+
* deprecate streamlined (Stripe) Donate block version ([#1638](https://github.com/Automattic/newspack-blocks/issues/1638)) ([11bd0d6](https://github.com/Automattic/newspack-blocks/commit/11bd0d620d882a72f631dfe08f808ddde3308665))
|
|
14
|
+
* **homepage-posts:** add custom taxonomy exclusions filter ([#1641](https://github.com/Automattic/newspack-blocks/issues/1641)) ([b140a99](https://github.com/Automattic/newspack-blocks/commit/b140a99c86cd1a3e825bb0a585225a95652ef331))
|
|
15
|
+
* **reader-revenue:** make NYP and Stripe Gateway optional ([#1645](https://github.com/Automattic/newspack-blocks/issues/1645)) ([1322d7c](https://github.com/Automattic/newspack-blocks/commit/1322d7c4c9c1bab175a2c48ab2d359555d459eea))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### BREAKING CHANGES
|
|
19
|
+
|
|
20
|
+
* streamlined (Stripe) Donate block version is no more
|
|
21
|
+
|
|
1
22
|
## [2.6.2](https://github.com/Automattic/newspack-blocks/compare/v2.6.1...v2.6.2) (2024-02-08)
|
|
2
23
|
|
|
3
24
|
|
package/composer.lock
CHANGED
|
@@ -488,25 +488,27 @@
|
|
|
488
488
|
},
|
|
489
489
|
{
|
|
490
490
|
"name": "nikic/php-parser",
|
|
491
|
-
"version": "
|
|
491
|
+
"version": "v5.0.0",
|
|
492
492
|
"source": {
|
|
493
493
|
"type": "git",
|
|
494
494
|
"url": "https://github.com/nikic/PHP-Parser.git",
|
|
495
|
-
"reference": "
|
|
495
|
+
"reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc"
|
|
496
496
|
},
|
|
497
497
|
"dist": {
|
|
498
498
|
"type": "zip",
|
|
499
|
-
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/
|
|
500
|
-
"reference": "
|
|
499
|
+
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4a21235f7e56e713259a6f76bf4b5ea08502b9dc",
|
|
500
|
+
"reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc",
|
|
501
501
|
"shasum": ""
|
|
502
502
|
},
|
|
503
503
|
"require": {
|
|
504
|
+
"ext-ctype": "*",
|
|
505
|
+
"ext-json": "*",
|
|
504
506
|
"ext-tokenizer": "*",
|
|
505
|
-
"php": ">=7.
|
|
507
|
+
"php": ">=7.4"
|
|
506
508
|
},
|
|
507
509
|
"require-dev": {
|
|
508
510
|
"ircmaxell/php-yacc": "^0.0.7",
|
|
509
|
-
"phpunit/phpunit": "^
|
|
511
|
+
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
|
|
510
512
|
},
|
|
511
513
|
"bin": [
|
|
512
514
|
"bin/php-parse"
|
|
@@ -514,7 +516,7 @@
|
|
|
514
516
|
"type": "library",
|
|
515
517
|
"extra": {
|
|
516
518
|
"branch-alias": {
|
|
517
|
-
"dev-master": "
|
|
519
|
+
"dev-master": "5.0-dev"
|
|
518
520
|
}
|
|
519
521
|
},
|
|
520
522
|
"autoload": {
|
|
@@ -538,9 +540,9 @@
|
|
|
538
540
|
],
|
|
539
541
|
"support": {
|
|
540
542
|
"issues": "https://github.com/nikic/PHP-Parser/issues",
|
|
541
|
-
"source": "https://github.com/nikic/PHP-Parser/tree/
|
|
543
|
+
"source": "https://github.com/nikic/PHP-Parser/tree/v5.0.0"
|
|
542
544
|
},
|
|
543
|
-
"time": "
|
|
545
|
+
"time": "2024-01-07T17:17:35+00:00"
|
|
544
546
|
},
|
|
545
547
|
{
|
|
546
548
|
"name": "phar-io/manifest",
|
|
@@ -965,23 +967,23 @@
|
|
|
965
967
|
},
|
|
966
968
|
{
|
|
967
969
|
"name": "phpunit/php-code-coverage",
|
|
968
|
-
"version": "9.2.
|
|
970
|
+
"version": "9.2.30",
|
|
969
971
|
"source": {
|
|
970
972
|
"type": "git",
|
|
971
973
|
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
|
|
972
|
-
"reference": "
|
|
974
|
+
"reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089"
|
|
973
975
|
},
|
|
974
976
|
"dist": {
|
|
975
977
|
"type": "zip",
|
|
976
|
-
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/
|
|
977
|
-
"reference": "
|
|
978
|
+
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ca2bd87d2f9215904682a9cb9bb37dda98e76089",
|
|
979
|
+
"reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089",
|
|
978
980
|
"shasum": ""
|
|
979
981
|
},
|
|
980
982
|
"require": {
|
|
981
983
|
"ext-dom": "*",
|
|
982
984
|
"ext-libxml": "*",
|
|
983
985
|
"ext-xmlwriter": "*",
|
|
984
|
-
"nikic/php-parser": "^4.
|
|
986
|
+
"nikic/php-parser": "^4.18 || ^5.0",
|
|
985
987
|
"php": ">=7.3",
|
|
986
988
|
"phpunit/php-file-iterator": "^3.0.3",
|
|
987
989
|
"phpunit/php-text-template": "^2.0.2",
|
|
@@ -1031,7 +1033,7 @@
|
|
|
1031
1033
|
"support": {
|
|
1032
1034
|
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
|
|
1033
1035
|
"security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy",
|
|
1034
|
-
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.
|
|
1036
|
+
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.30"
|
|
1035
1037
|
},
|
|
1036
1038
|
"funding": [
|
|
1037
1039
|
{
|
|
@@ -1039,7 +1041,7 @@
|
|
|
1039
1041
|
"type": "github"
|
|
1040
1042
|
}
|
|
1041
1043
|
],
|
|
1042
|
-
"time": "2023-
|
|
1044
|
+
"time": "2023-12-22T06:47:57+00:00"
|
|
1043
1045
|
},
|
|
1044
1046
|
{
|
|
1045
1047
|
"name": "phpunit/php-file-iterator",
|
|
@@ -1284,16 +1286,16 @@
|
|
|
1284
1286
|
},
|
|
1285
1287
|
{
|
|
1286
1288
|
"name": "phpunit/phpunit",
|
|
1287
|
-
"version": "9.6.
|
|
1289
|
+
"version": "9.6.16",
|
|
1288
1290
|
"source": {
|
|
1289
1291
|
"type": "git",
|
|
1290
1292
|
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
|
1291
|
-
"reference": "
|
|
1293
|
+
"reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f"
|
|
1292
1294
|
},
|
|
1293
1295
|
"dist": {
|
|
1294
1296
|
"type": "zip",
|
|
1295
|
-
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/
|
|
1296
|
-
"reference": "
|
|
1297
|
+
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3767b2c56ce02d01e3491046f33466a1ae60a37f",
|
|
1298
|
+
"reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f",
|
|
1297
1299
|
"shasum": ""
|
|
1298
1300
|
},
|
|
1299
1301
|
"require": {
|
|
@@ -1367,7 +1369,7 @@
|
|
|
1367
1369
|
"support": {
|
|
1368
1370
|
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
|
1369
1371
|
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
|
|
1370
|
-
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.
|
|
1372
|
+
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.16"
|
|
1371
1373
|
},
|
|
1372
1374
|
"funding": [
|
|
1373
1375
|
{
|
|
@@ -1383,7 +1385,7 @@
|
|
|
1383
1385
|
"type": "tidelift"
|
|
1384
1386
|
}
|
|
1385
1387
|
],
|
|
1386
|
-
"time": "
|
|
1388
|
+
"time": "2024-01-19T07:03:14+00:00"
|
|
1387
1389
|
},
|
|
1388
1390
|
{
|
|
1389
1391
|
"name": "psr/container",
|
|
@@ -1676,20 +1678,20 @@
|
|
|
1676
1678
|
},
|
|
1677
1679
|
{
|
|
1678
1680
|
"name": "sebastian/complexity",
|
|
1679
|
-
"version": "2.0.
|
|
1681
|
+
"version": "2.0.3",
|
|
1680
1682
|
"source": {
|
|
1681
1683
|
"type": "git",
|
|
1682
1684
|
"url": "https://github.com/sebastianbergmann/complexity.git",
|
|
1683
|
-
"reference": "
|
|
1685
|
+
"reference": "25f207c40d62b8b7aa32f5ab026c53561964053a"
|
|
1684
1686
|
},
|
|
1685
1687
|
"dist": {
|
|
1686
1688
|
"type": "zip",
|
|
1687
|
-
"url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/
|
|
1688
|
-
"reference": "
|
|
1689
|
+
"url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a",
|
|
1690
|
+
"reference": "25f207c40d62b8b7aa32f5ab026c53561964053a",
|
|
1689
1691
|
"shasum": ""
|
|
1690
1692
|
},
|
|
1691
1693
|
"require": {
|
|
1692
|
-
"nikic/php-parser": "^4.
|
|
1694
|
+
"nikic/php-parser": "^4.18 || ^5.0",
|
|
1693
1695
|
"php": ">=7.3"
|
|
1694
1696
|
},
|
|
1695
1697
|
"require-dev": {
|
|
@@ -1721,7 +1723,7 @@
|
|
|
1721
1723
|
"homepage": "https://github.com/sebastianbergmann/complexity",
|
|
1722
1724
|
"support": {
|
|
1723
1725
|
"issues": "https://github.com/sebastianbergmann/complexity/issues",
|
|
1724
|
-
"source": "https://github.com/sebastianbergmann/complexity/tree/2.0.
|
|
1726
|
+
"source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3"
|
|
1725
1727
|
},
|
|
1726
1728
|
"funding": [
|
|
1727
1729
|
{
|
|
@@ -1729,7 +1731,7 @@
|
|
|
1729
1731
|
"type": "github"
|
|
1730
1732
|
}
|
|
1731
1733
|
],
|
|
1732
|
-
"time": "
|
|
1734
|
+
"time": "2023-12-22T06:19:30+00:00"
|
|
1733
1735
|
},
|
|
1734
1736
|
{
|
|
1735
1737
|
"name": "sebastian/diff",
|
|
@@ -2003,20 +2005,20 @@
|
|
|
2003
2005
|
},
|
|
2004
2006
|
{
|
|
2005
2007
|
"name": "sebastian/lines-of-code",
|
|
2006
|
-
"version": "1.0.
|
|
2008
|
+
"version": "1.0.4",
|
|
2007
2009
|
"source": {
|
|
2008
2010
|
"type": "git",
|
|
2009
2011
|
"url": "https://github.com/sebastianbergmann/lines-of-code.git",
|
|
2010
|
-
"reference": "
|
|
2012
|
+
"reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5"
|
|
2011
2013
|
},
|
|
2012
2014
|
"dist": {
|
|
2013
2015
|
"type": "zip",
|
|
2014
|
-
"url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/
|
|
2015
|
-
"reference": "
|
|
2016
|
+
"url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5",
|
|
2017
|
+
"reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5",
|
|
2016
2018
|
"shasum": ""
|
|
2017
2019
|
},
|
|
2018
2020
|
"require": {
|
|
2019
|
-
"nikic/php-parser": "^4.
|
|
2021
|
+
"nikic/php-parser": "^4.18 || ^5.0",
|
|
2020
2022
|
"php": ">=7.3"
|
|
2021
2023
|
},
|
|
2022
2024
|
"require-dev": {
|
|
@@ -2048,7 +2050,7 @@
|
|
|
2048
2050
|
"homepage": "https://github.com/sebastianbergmann/lines-of-code",
|
|
2049
2051
|
"support": {
|
|
2050
2052
|
"issues": "https://github.com/sebastianbergmann/lines-of-code/issues",
|
|
2051
|
-
"source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.
|
|
2053
|
+
"source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4"
|
|
2052
2054
|
},
|
|
2053
2055
|
"funding": [
|
|
2054
2056
|
{
|
|
@@ -2056,7 +2058,7 @@
|
|
|
2056
2058
|
"type": "github"
|
|
2057
2059
|
}
|
|
2058
2060
|
],
|
|
2059
|
-
"time": "
|
|
2061
|
+
"time": "2023-12-22T06:20:34+00:00"
|
|
2060
2062
|
},
|
|
2061
2063
|
{
|
|
2062
2064
|
"name": "sebastian/object-enumerator",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '
|
|
1
|
+
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'f490cd24994b1ab5abca5bf0577b81ea');
|
package/dist/donate/view.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.wpbnbd.is-style-default .wpbnbd__button{padding:.38rem .76rem}.wpbnbd.is-style-default .wpbnbd__button:focus,.wpbnbd.is-style-default .wpbnbd__button:hover{background:#f1f1f1}.wpbnbd.is-style-default .wpbnbd__tiers__selection>button{flex:1}.wpbnbd.is-style-default.wpbnbd--frequency-based .wpbnbd__button{border-width:0 0 1px}.wpbnbd.is-style-default.wpbnbd--frequency-based .wpbnbd__button--active{background:#fff;border-bottom:0}.wpbnbd.is-style-default.wpbnbd-frequencies--2 .tab-container .freq-label:nth-of-type(2){border-left-width:1px}.wpbnbd.is-style-default.wpbnbd-frequencies--3 .tab-container .freq-label:nth-of-type(2){border-left-width:1px;border-right-width:1px}.wpbnbd.is-style-alternate{border-color:#f1f1f1;border-radius:5px}.wpbnbd.is-style-alternate .thanks{margin:1.12rem}.wpbnbd.is-style-alternate .money-input{max-width:100%}.wpbnbd.is-style-alternate .money-input input[type=number]{max-width:100%;width:100%}.wpbnbd.is-style-alternate.untiered .input-container{margin:1.12rem}.wpbnbd.is-style-alternate.tiered .tiers .tier-label{background:#f1f1f1;border-color:#f1f1f1;margin:0;text-align:center}.wpbnbd.is-style-alternate.tiered .money-input{bottom:0;left:0;right:0}.wpbnbd.is-style-alternate .tab-container .freq-label,.wpbnbd.is-style-alternate .wpbnbd__tiers__selection{background:#f1f1f1;border-color:#f1f1f1}.wpbnbd.is-style-alternate .wpbnbd__tiers__selection{width:-webkit-min-content;width:-moz-min-content;width:min-content;margin-left:auto;margin-right:auto;padding:5px;border-radius:5px}.wpbnbd.is-style-alternate .wpbnbd__tiers__selection .wpbnbd__button{color:#111;padding:0 15px}.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button{border:.19rem solid transparent}.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button--active{border-color:#fff}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:after,.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button--active{background:#fff;border-radius:5px;box-shadow:0 0 0 1px #ccc}.wpbnbd.is-style-alternate .tab-container .freq-label{border-width:1px;padding:calc(.57rem + 1px) .5rem;position:relative}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .tab-container .freq-label{padding:calc(.57rem + 1px) .76rem}}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active{color:#111}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:after{box-sizing:content-box;content:"";display:block;inset:.19rem;position:absolute;z-index:-1}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:hover{background:#f1f1f1}.wpbnbd.is-style-alternate .frequencies input[type=radio]:checked~.tiers{display:grid;grid-gap:.28rem;grid-template-columns:repeat(2,1fr);margin:1.12rem}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .frequencies input[type=radio]:checked~.tiers{grid-template-columns:repeat(4,1fr);grid-gap:.56rem}}.wpbnbd.is-style-alternate.is-style-default button{border-top-left-radius:0;border-top-right-radius:0;margin:0 -1px -1px;width:calc(100% + 2px)}.wpbnbd.is-style-minimal{border:none}.wpbnbd.is-style-minimal form
|
|
1
|
+
.wpbnbd.is-style-default .wpbnbd__button{padding:.38rem .76rem}.wpbnbd.is-style-default .wpbnbd__button:focus,.wpbnbd.is-style-default .wpbnbd__button:hover{background:#f1f1f1}.wpbnbd.is-style-default .wpbnbd__tiers__selection>button{flex:1}.wpbnbd.is-style-default.wpbnbd--frequency-based .wpbnbd__button{border-width:0 0 1px}.wpbnbd.is-style-default.wpbnbd--frequency-based .wpbnbd__button--active{background:#fff;border-bottom:0}.wpbnbd.is-style-default.wpbnbd-frequencies--2 .tab-container .freq-label:nth-of-type(2){border-left-width:1px}.wpbnbd.is-style-default.wpbnbd-frequencies--3 .tab-container .freq-label:nth-of-type(2){border-left-width:1px;border-right-width:1px}.wpbnbd.is-style-alternate{border-color:#f1f1f1;border-radius:5px}.wpbnbd.is-style-alternate .thanks{margin:1.12rem}.wpbnbd.is-style-alternate .money-input{max-width:100%}.wpbnbd.is-style-alternate .money-input input[type=number]{max-width:100%;width:100%}.wpbnbd.is-style-alternate.untiered .input-container{margin:1.12rem}.wpbnbd.is-style-alternate.tiered .tiers .tier-label{background:#f1f1f1;border-color:#f1f1f1;margin:0;text-align:center}.wpbnbd.is-style-alternate.tiered .money-input{bottom:0;left:0;right:0}.wpbnbd.is-style-alternate .tab-container .freq-label,.wpbnbd.is-style-alternate .wpbnbd__tiers__selection{background:#f1f1f1;border-color:#f1f1f1}.wpbnbd.is-style-alternate .wpbnbd__tiers__selection{width:-webkit-min-content;width:-moz-min-content;width:min-content;margin-left:auto;margin-right:auto;padding:5px;border-radius:5px}.wpbnbd.is-style-alternate .wpbnbd__tiers__selection .wpbnbd__button{color:#111;padding:0 15px}.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button{border:.19rem solid transparent}.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button--active{border-color:#fff}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:after,.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button--active{background:#fff;border-radius:5px;box-shadow:0 0 0 1px #ccc}.wpbnbd.is-style-alternate .tab-container .freq-label{border-width:1px;padding:calc(.57rem + 1px) .5rem;position:relative}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .tab-container .freq-label{padding:calc(.57rem + 1px) .76rem}}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active{color:#111}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:after{box-sizing:content-box;content:"";display:block;inset:.19rem;position:absolute;z-index:-1}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:hover{background:#f1f1f1}.wpbnbd.is-style-alternate .frequencies input[type=radio]:checked~.tiers{display:grid;grid-gap:.28rem;grid-template-columns:repeat(2,1fr);margin:1.12rem}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .frequencies input[type=radio]:checked~.tiers{grid-template-columns:repeat(4,1fr);grid-gap:.56rem}}.wpbnbd.is-style-alternate.is-style-default button{border-top-left-radius:0;border-top-right-radius:0;margin:0 -1px -1px;width:calc(100% + 2px)}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate.wpbnbd--nyp-disabled .frequencies input[type=radio]:checked~.tiers{grid-template-columns:repeat(3,1fr)}}.wpbnbd.is-style-minimal{border:none}.wpbnbd.is-style-minimal form{text-align:center}.wpbnbd.is-style-minimal .thanks{margin:1.12rem 0}.wpbnbd.is-style-minimal .money-input{max-width:100%}.wpbnbd.is-style-minimal .money-input input[type=number]{max-width:100%;width:100%}.wpbnbd.is-style-minimal.untiered .input-container{margin:.56rem 0 1.12rem;text-align:left}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button{position:relative;border:none;padding:8px;min-width:50%}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button:after{position:absolute;content:"";display:block;height:1px;background:#ccc;width:100%;left:0;bottom:0}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button--active:after{height:3px;background:#111}.wpbnbd.is-style-minimal .wpbnbd__tiers__back-button{margin-bottom:10px}.wpbnbd.is-style-minimal.tiered .tiers .tier-label{align-items:center;display:grid;background:transparent;border:none;color:#767676;font-family:inherit;font-weight:inherit;grid-gap:.25rem;grid-template-columns:auto 1fr;margin:0;padding:0;text-align:left}.wpbnbd.is-style-minimal.tiered .tiers .tier-label:before{background:#fff;border:1px solid #ccc;border-radius:100%;box-shadow:inset 0 0 0 3px #fff;content:"";display:block;height:20px;padding:3px;width:20px}.wpbnbd.is-style-minimal.tiered .tiers .tier-label:hover{color:inherit}.wpbnbd.is-style-minimal.tiered .tiers input[type=radio]:checked+.tier-select-label{background:none;color:inherit}.wpbnbd.is-style-minimal.tiered .tiers input[type=radio]:checked+.tier-select-label:before{background:currentcolor}.wpbnbd.is-style-minimal.tiered .money-input{bottom:0;left:0;right:0}.wpbnbd.is-style-minimal .tab-container .freq-label{background:transparent;border:none;box-shadow:0 3px 0 #fff,0 4px 0 0 #ccc;padding:.38rem 0;transition:none}@media only screen and (min-width:782px){.wpbnbd.is-style-minimal .tab-container .freq-label{padding-left:.76rem;padding-right:.76rem}}.wpbnbd.is-style-minimal .tab-container .freq-label:before{border-width:1px;border-color:#ccc}.wpbnbd.is-style-minimal .tab-container .freq-label.wpbnbd__button--active{box-shadow:0 4px 0 currentcolor}.wpbnbd.is-style-minimal .frequency input[type=radio]:checked~.tiers{display:flex;flex-wrap:wrap;grid-gap:1.12rem;justify-content:center;margin:1.12rem 0}@media only screen and (min-width:600px){.wpbnbd.is-style-minimal .frequency input[type=radio]:checked~.tiers{display:grid;grid-gap:.56rem;grid-template-columns:repeat(4,1fr)}}.wpbnbd.is-style-minimal button[type=submit]{margin:0 auto;min-width:50%}@media only screen and (min-width:600px){.wpbnbd.is-style-minimal.wpbnbd--nyp-disabled .frequency input[type=radio]:checked~.tiers{grid-template-columns:repeat(3,1fr)}}.wpbnbd .tab-container .freq-label,.wpbnbd__button{border:0 solid #ccc;background:#fff;color:#767676;line-height:1.6;text-overflow:ellipsis;text-align:center}.wpbnbd .tab-container .freq-label--active,.wpbnbd .tab-container .freq-label:focus,.wpbnbd .tab-container .freq-label:hover,.wpbnbd__button--active,.wpbnbd__button:focus,.wpbnbd__button:hover{color:#111}.wpbnbd__tiers__amount__value{font-size:13px}.wpbnbd__tiers__amount__value .woocommerce-Price-amount{display:inline;font-size:29px;font-weight:700}.wpbnbd mark{background-color:transparent}
|
package/dist/donate/view.rtl.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.wpbnbd.is-style-default .wpbnbd__button{padding:.38rem .76rem}.wpbnbd.is-style-default .wpbnbd__button:focus,.wpbnbd.is-style-default .wpbnbd__button:hover{background:#f1f1f1}.wpbnbd.is-style-default .wpbnbd__tiers__selection>button{flex:1}.wpbnbd.is-style-default.wpbnbd--frequency-based .wpbnbd__button{border-width:0 0 1px}.wpbnbd.is-style-default.wpbnbd--frequency-based .wpbnbd__button--active{background:#fff;border-bottom:0}.wpbnbd.is-style-default.wpbnbd-frequencies--2 .tab-container .freq-label:nth-of-type(2){border-right-width:1px}.wpbnbd.is-style-default.wpbnbd-frequencies--3 .tab-container .freq-label:nth-of-type(2){border-right-width:1px;border-left-width:1px}.wpbnbd.is-style-alternate{border-color:#f1f1f1;border-radius:5px}.wpbnbd.is-style-alternate .thanks{margin:1.12rem}.wpbnbd.is-style-alternate .money-input{max-width:100%}.wpbnbd.is-style-alternate .money-input input[type=number]{max-width:100%;width:100%}.wpbnbd.is-style-alternate.untiered .input-container{margin:1.12rem}.wpbnbd.is-style-alternate.tiered .tiers .tier-label{background:#f1f1f1;border-color:#f1f1f1;margin:0;text-align:center}.wpbnbd.is-style-alternate.tiered .money-input{bottom:0;right:0;left:0}.wpbnbd.is-style-alternate .tab-container .freq-label,.wpbnbd.is-style-alternate .wpbnbd__tiers__selection{background:#f1f1f1;border-color:#f1f1f1}.wpbnbd.is-style-alternate .wpbnbd__tiers__selection{width:-webkit-min-content;width:-moz-min-content;width:min-content;margin-right:auto;margin-left:auto;padding:5px;border-radius:5px}.wpbnbd.is-style-alternate .wpbnbd__tiers__selection .wpbnbd__button{color:#111;padding:0 15px}.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button{border:.19rem solid transparent}.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button--active{border-color:#fff}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:after,.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button--active{background:#fff;border-radius:5px;box-shadow:0 0 0 1px #ccc}.wpbnbd.is-style-alternate .tab-container .freq-label{border-width:1px;padding:calc(.57rem + 1px) .5rem;position:relative}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .tab-container .freq-label{padding:calc(.57rem + 1px) .76rem}}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active{color:#111}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:after{box-sizing:content-box;content:"";display:block;inset:.19rem;position:absolute;z-index:-1}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:hover{background:#f1f1f1}.wpbnbd.is-style-alternate .frequencies input[type=radio]:checked~.tiers{display:grid;grid-gap:.28rem;grid-template-columns:repeat(2,1fr);margin:1.12rem}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .frequencies input[type=radio]:checked~.tiers{grid-template-columns:repeat(4,1fr);grid-gap:.56rem}}.wpbnbd.is-style-alternate.is-style-default button{border-top-right-radius:0;border-top-left-radius:0;margin:0 -1px -1px;width:calc(100% + 2px)}.wpbnbd.is-style-minimal{border:none}.wpbnbd.is-style-minimal form
|
|
1
|
+
.wpbnbd.is-style-default .wpbnbd__button{padding:.38rem .76rem}.wpbnbd.is-style-default .wpbnbd__button:focus,.wpbnbd.is-style-default .wpbnbd__button:hover{background:#f1f1f1}.wpbnbd.is-style-default .wpbnbd__tiers__selection>button{flex:1}.wpbnbd.is-style-default.wpbnbd--frequency-based .wpbnbd__button{border-width:0 0 1px}.wpbnbd.is-style-default.wpbnbd--frequency-based .wpbnbd__button--active{background:#fff;border-bottom:0}.wpbnbd.is-style-default.wpbnbd-frequencies--2 .tab-container .freq-label:nth-of-type(2){border-right-width:1px}.wpbnbd.is-style-default.wpbnbd-frequencies--3 .tab-container .freq-label:nth-of-type(2){border-right-width:1px;border-left-width:1px}.wpbnbd.is-style-alternate{border-color:#f1f1f1;border-radius:5px}.wpbnbd.is-style-alternate .thanks{margin:1.12rem}.wpbnbd.is-style-alternate .money-input{max-width:100%}.wpbnbd.is-style-alternate .money-input input[type=number]{max-width:100%;width:100%}.wpbnbd.is-style-alternate.untiered .input-container{margin:1.12rem}.wpbnbd.is-style-alternate.tiered .tiers .tier-label{background:#f1f1f1;border-color:#f1f1f1;margin:0;text-align:center}.wpbnbd.is-style-alternate.tiered .money-input{bottom:0;right:0;left:0}.wpbnbd.is-style-alternate .tab-container .freq-label,.wpbnbd.is-style-alternate .wpbnbd__tiers__selection{background:#f1f1f1;border-color:#f1f1f1}.wpbnbd.is-style-alternate .wpbnbd__tiers__selection{width:-webkit-min-content;width:-moz-min-content;width:min-content;margin-right:auto;margin-left:auto;padding:5px;border-radius:5px}.wpbnbd.is-style-alternate .wpbnbd__tiers__selection .wpbnbd__button{color:#111;padding:0 15px}.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button{border:.19rem solid transparent}.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button--active{border-color:#fff}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:after,.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button--active{background:#fff;border-radius:5px;box-shadow:0 0 0 1px #ccc}.wpbnbd.is-style-alternate .tab-container .freq-label{border-width:1px;padding:calc(.57rem + 1px) .5rem;position:relative}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .tab-container .freq-label{padding:calc(.57rem + 1px) .76rem}}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active{color:#111}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:after{box-sizing:content-box;content:"";display:block;inset:.19rem;position:absolute;z-index:-1}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:hover{background:#f1f1f1}.wpbnbd.is-style-alternate .frequencies input[type=radio]:checked~.tiers{display:grid;grid-gap:.28rem;grid-template-columns:repeat(2,1fr);margin:1.12rem}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .frequencies input[type=radio]:checked~.tiers{grid-template-columns:repeat(4,1fr);grid-gap:.56rem}}.wpbnbd.is-style-alternate.is-style-default button{border-top-right-radius:0;border-top-left-radius:0;margin:0 -1px -1px;width:calc(100% + 2px)}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate.wpbnbd--nyp-disabled .frequencies input[type=radio]:checked~.tiers{grid-template-columns:repeat(3,1fr)}}.wpbnbd.is-style-minimal{border:none}.wpbnbd.is-style-minimal form{text-align:center}.wpbnbd.is-style-minimal .thanks{margin:1.12rem 0}.wpbnbd.is-style-minimal .money-input{max-width:100%}.wpbnbd.is-style-minimal .money-input input[type=number]{max-width:100%;width:100%}.wpbnbd.is-style-minimal.untiered .input-container{margin:.56rem 0 1.12rem;text-align:right}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button{position:relative;border:none;padding:8px;min-width:50%}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button:after{position:absolute;content:"";display:block;height:1px;background:#ccc;width:100%;right:0;bottom:0}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button--active:after{height:3px;background:#111}.wpbnbd.is-style-minimal .wpbnbd__tiers__back-button{margin-bottom:10px}.wpbnbd.is-style-minimal.tiered .tiers .tier-label{align-items:center;display:grid;background:transparent;border:none;color:#767676;font-family:inherit;font-weight:inherit;grid-gap:.25rem;grid-template-columns:auto 1fr;margin:0;padding:0;text-align:right}.wpbnbd.is-style-minimal.tiered .tiers .tier-label:before{background:#fff;border:1px solid #ccc;border-radius:100%;box-shadow:inset 0 0 0 3px #fff;content:"";display:block;height:20px;padding:3px;width:20px}.wpbnbd.is-style-minimal.tiered .tiers .tier-label:hover{color:inherit}.wpbnbd.is-style-minimal.tiered .tiers input[type=radio]:checked+.tier-select-label{background:none;color:inherit}.wpbnbd.is-style-minimal.tiered .tiers input[type=radio]:checked+.tier-select-label:before{background:currentcolor}.wpbnbd.is-style-minimal.tiered .money-input{bottom:0;right:0;left:0}.wpbnbd.is-style-minimal .tab-container .freq-label{background:transparent;border:none;box-shadow:0 3px 0 #fff,0 4px 0 0 #ccc;padding:.38rem 0;transition:none}@media only screen and (min-width:782px){.wpbnbd.is-style-minimal .tab-container .freq-label{padding-right:.76rem;padding-left:.76rem}}.wpbnbd.is-style-minimal .tab-container .freq-label:before{border-width:1px;border-color:#ccc}.wpbnbd.is-style-minimal .tab-container .freq-label.wpbnbd__button--active{box-shadow:0 4px 0 currentcolor}.wpbnbd.is-style-minimal .frequency input[type=radio]:checked~.tiers{display:flex;flex-wrap:wrap;grid-gap:1.12rem;justify-content:center;margin:1.12rem 0}@media only screen and (min-width:600px){.wpbnbd.is-style-minimal .frequency input[type=radio]:checked~.tiers{display:grid;grid-gap:.56rem;grid-template-columns:repeat(4,1fr)}}.wpbnbd.is-style-minimal button[type=submit]{margin:0 auto;min-width:50%}@media only screen and (min-width:600px){.wpbnbd.is-style-minimal.wpbnbd--nyp-disabled .frequency input[type=radio]:checked~.tiers{grid-template-columns:repeat(3,1fr)}}.wpbnbd .tab-container .freq-label,.wpbnbd__button{border:0 solid #ccc;background:#fff;color:#767676;line-height:1.6;text-overflow:ellipsis;text-align:center}.wpbnbd .tab-container .freq-label--active,.wpbnbd .tab-container .freq-label:focus,.wpbnbd .tab-container .freq-label:hover,.wpbnbd__button--active,.wpbnbd__button:focus,.wpbnbd__button:hover{color:#111}.wpbnbd__tiers__amount__value{font-size:13px}.wpbnbd__tiers__amount__value .woocommerce-Price-amount{display:inline;font-size:29px;font-weight:700}.wpbnbd mark{background-color:transparent}
|
package/dist/editor.asset.php
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '
|
|
1
|
+
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '89aeb9e84cce10fdd328fccacdd111fe');
|