@automattic/newspack-blocks 1.70.0-alpha.1 → 1.71.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.
Files changed (36) hide show
  1. package/.cache/babel/429db10e32cec5144b0a70372ca4be2a.json.gz +0 -0
  2. package/.cache/babel/4d450b37d365154f05b17cbf6a009255.json.gz +0 -0
  3. package/CHANGELOG.md +25 -0
  4. package/composer.lock +12 -12
  5. package/dist/donateStreamlined.asset.php +1 -1
  6. package/dist/donateStreamlined.css +1 -1
  7. package/dist/donateStreamlined.rtl.css +1 -1
  8. package/dist/editor.asset.php +1 -1
  9. package/dist/editor.css +1 -1
  10. package/dist/editor.js +1 -1
  11. package/dist/editor.rtl.css +1 -1
  12. package/dist/frequencyBased.asset.php +1 -1
  13. package/dist/frequencyBased.css +1 -1
  14. package/dist/frequencyBased.rtl.css +1 -1
  15. package/dist/modalCheckout.asset.php +1 -1
  16. package/dist/modalCheckout.css +1 -1
  17. package/dist/modalCheckout.rtl.css +1 -1
  18. package/dist/tiersBased.asset.php +1 -1
  19. package/dist/tiersBased.css +1 -1
  20. package/dist/tiersBased.rtl.css +1 -1
  21. package/newspack-blocks.php +2 -2
  22. package/package.json +4 -4
  23. package/src/blocks/donate/edit/FrequencyBasedLayout.tsx +3 -4
  24. package/src/blocks/donate/edit/TierBasedLayout.tsx +4 -3
  25. package/src/blocks/donate/frequency-based/style.scss +3 -2
  26. package/src/blocks/donate/streamlined/style.scss +6 -3
  27. package/src/blocks/donate/styles/editor.scss +18 -11
  28. package/src/blocks/donate/tiers-based/style.scss +6 -3
  29. package/src/modal-checkout/checkout.scss +7 -0
  30. package/src/modal-checkout/templates/checkout-form.php +5 -13
  31. package/vendor/autoload.php +1 -1
  32. package/vendor/composer/autoload_real.php +4 -4
  33. package/vendor/composer/autoload_static.php +2 -2
  34. package/vendor/composer/installed.php +2 -2
  35. package/.cache/babel/2aa9417b44c3536c6b5f84da124ca06c.json.gz +0 -0
  36. package/.cache/babel/c29028a11a44d4765030de888c97206c.json.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ # [1.71.0-alpha.1](https://github.com/Automattic/newspack-blocks/compare/v1.70.0...v1.71.0-alpha.1) (2023-06-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **donate-block:** allow spaces in button label ([#1479](https://github.com/Automattic/newspack-blocks/issues/1479)) ([96adc82](https://github.com/Automattic/newspack-blocks/commit/96adc822cb92201298a53a05df2867d31a6a4efa))
7
+
8
+
9
+ ### Features
10
+
11
+ * display purchase details in checkout modal when taxes are enabled ([#1480](https://github.com/Automattic/newspack-blocks/issues/1480)) ([b69f8f3](https://github.com/Automattic/newspack-blocks/commit/b69f8f3dbaabfa4648cab97131e8795c24c07af2))
12
+
13
+ # [1.70.0](https://github.com/Automattic/newspack-blocks/compare/v1.69.0...v1.70.0) (2023-06-19)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * **checkout-button:** overlay class for modal stacking ([#1461](https://github.com/Automattic/newspack-blocks/issues/1461)) ([594095b](https://github.com/Automattic/newspack-blocks/commit/594095b02f957ccb974c0c40ea9e76685ae32844))
19
+
20
+
21
+ ### Features
22
+
23
+ * **checkout-button:** front-end product variation selection ([#1459](https://github.com/Automattic/newspack-blocks/issues/1459)) ([a978160](https://github.com/Automattic/newspack-blocks/commit/a978160c3e453b60bf9bcd92ad53c9b6c39fb23b))
24
+ * **modal-checkout:** always use donation billing fields ([#1463](https://github.com/Automattic/newspack-blocks/issues/1463)) ([ab176bf](https://github.com/Automattic/newspack-blocks/commit/ab176bfebf6c5a12c8bf1fde3ba52db4c1f9454d))
25
+
1
26
  # [1.70.0-alpha.1](https://github.com/Automattic/newspack-blocks/compare/v1.69.0...v1.70.0-alpha.1) (2023-06-08)
2
27
 
3
28
 
package/composer.lock CHANGED
@@ -483,16 +483,16 @@
483
483
  },
484
484
  {
485
485
  "name": "nikic/php-parser",
486
- "version": "v4.15.4",
486
+ "version": "v4.15.5",
487
487
  "source": {
488
488
  "type": "git",
489
489
  "url": "https://github.com/nikic/PHP-Parser.git",
490
- "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290"
490
+ "reference": "11e2663a5bc9db5d714eedb4277ee300403b4a9e"
491
491
  },
492
492
  "dist": {
493
493
  "type": "zip",
494
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/6bb5176bc4af8bcb7d926f88718db9b96a2d4290",
495
- "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290",
494
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/11e2663a5bc9db5d714eedb4277ee300403b4a9e",
495
+ "reference": "11e2663a5bc9db5d714eedb4277ee300403b4a9e",
496
496
  "shasum": ""
497
497
  },
498
498
  "require": {
@@ -533,9 +533,9 @@
533
533
  ],
534
534
  "support": {
535
535
  "issues": "https://github.com/nikic/PHP-Parser/issues",
536
- "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.4"
536
+ "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.5"
537
537
  },
538
- "time": "2023-03-05T19:49:14+00:00"
538
+ "time": "2023-05-19T20:20:00+00:00"
539
539
  },
540
540
  {
541
541
  "name": "phar-io/manifest",
@@ -1142,16 +1142,16 @@
1142
1142
  },
1143
1143
  {
1144
1144
  "name": "phpunit/phpunit",
1145
- "version": "9.6.8",
1145
+ "version": "9.6.9",
1146
1146
  "source": {
1147
1147
  "type": "git",
1148
1148
  "url": "https://github.com/sebastianbergmann/phpunit.git",
1149
- "reference": "17d621b3aff84d0c8b62539e269e87d8d5baa76e"
1149
+ "reference": "a9aceaf20a682aeacf28d582654a1670d8826778"
1150
1150
  },
1151
1151
  "dist": {
1152
1152
  "type": "zip",
1153
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/17d621b3aff84d0c8b62539e269e87d8d5baa76e",
1154
- "reference": "17d621b3aff84d0c8b62539e269e87d8d5baa76e",
1153
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a9aceaf20a682aeacf28d582654a1670d8826778",
1154
+ "reference": "a9aceaf20a682aeacf28d582654a1670d8826778",
1155
1155
  "shasum": ""
1156
1156
  },
1157
1157
  "require": {
@@ -1225,7 +1225,7 @@
1225
1225
  "support": {
1226
1226
  "issues": "https://github.com/sebastianbergmann/phpunit/issues",
1227
1227
  "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
1228
- "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.8"
1228
+ "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.9"
1229
1229
  },
1230
1230
  "funding": [
1231
1231
  {
@@ -1241,7 +1241,7 @@
1241
1241
  "type": "tidelift"
1242
1242
  }
1243
1243
  ],
1244
- "time": "2023-05-11T05:14:45+00:00"
1244
+ "time": "2023-06-11T06:13:56+00:00"
1245
1245
  },
1246
1246
  {
1247
1247
  "name": "psr/container",
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-i18n', 'wp-polyfill'), 'version' => 'd53eb14a66bfb0ab4123800b45a03e52');
1
+ <?php return array('dependencies' => array('wp-i18n', 'wp-polyfill'), 'version' => '84f039ddba0b5a89c1f85bb7a88c88be');
@@ -1 +1 @@
1
- @-webkit-keyframes loader{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@keyframes loader{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}.wp-block-newspack-blocks-donate .stripe-payment{position:relative}.wp-block-newspack-blocks-donate .stripe-payment,.wp-block-newspack-blocks-donate .stripe-payment--transition,.wp-block-newspack-blocks-donate .stripe-payment:after{transition:all .3s ease-out}.wp-block-newspack-blocks-donate .stripe-payment:after{content:"";opacity:0;pointer-events:none;position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(318deg,#d5d5d5,#fff);background-size:400% 400%;-webkit-animation:loader 3s ease infinite;animation:loader 3s ease infinite;border-radius:5px}.wp-block-newspack-blocks-donate .stripe-payment__card{padding:.34rem .66rem;min-height:32px}.wp-block-newspack-blocks-donate .stripe-payment__card,.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{border:1px solid #ccc;border-radius:3px}.wp-block-newspack-blocks-donate .stripe-payment__checkbox,.wp-block-newspack-blocks-donate .stripe-payment button,.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{font-size:.7em}.wp-block-newspack-blocks-donate .stripe-payment__messages,.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{width:100%}.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{border-radius:3px;font-family:sans-serif}@media only screen and (min-width:782px){.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{font-size:14px;line-height:1.2}}.wp-block-newspack-blocks-donate .stripe-payment--invisible>*{opacity:0}.wp-block-newspack-blocks-donate .stripe-payment--invisible:after{opacity:1}.wp-block-newspack-blocks-donate .stripe-payment--hidden{display:none}.wp-block-newspack-blocks-donate .stripe-payment__checkbox{align-items:center;display:inline-flex;cursor:pointer}.wp-block-newspack-blocks-donate .stripe-payment__checkbox input{height:1em;width:1em;margin-right:.5em}.wp-block-newspack-blocks-donate .stripe-payment__messages{margin-bottom:10px}.wp-block-newspack-blocks-donate .stripe-payment__messages>div{border:solid #dfdfdf;border-width:0 0 0 4px;font-size:.8em;margin-top:.76rem;padding:.38rem .76rem}.wp-block-newspack-blocks-donate .stripe-payment__messages>div:empty{border:0;margin:0;padding:0}.wp-block-newspack-blocks-donate .stripe-payment__messages>div.type-error{background-color:rgba(204,24,24,.075);border-color:#cc1818}.wp-block-newspack-blocks-donate .stripe-payment__messages>div.type-success{background-color:rgba(74,184,102,.075);border-color:#4ab866;margin:1.12rem}.wp-block-newspack-blocks-donate .stripe-payment--disabled button,.wp-block-newspack-blocks-donate .stripe-payment--disabled input{pointer-events:none;opacity:.4}.wp-block-newspack-blocks-donate .stripe-payment__element{margin-bottom:.4rem}.wp-block-newspack-blocks-donate .stripe-payment__row{margin-bottom:.5rem}.wp-block-newspack-blocks-donate .stripe-payment__row--small{margin-bottom:5px;line-height:1.2}.wp-block-newspack-blocks-donate .stripe-payment__row--flex{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}@media only screen and (min-width:782px){.wp-block-newspack-blocks-donate .stripe-payment__row--flex{flex-wrap:nowrap}}.wp-block-newspack-blocks-donate .stripe-payment__row--flex input{margin-bottom:.5rem}@media only screen and (min-width:782px){.wp-block-newspack-blocks-donate .stripe-payment__row--flex input{margin-bottom:0;width:50%}.wp-block-newspack-blocks-donate .stripe-payment__row--flex input+input{margin-left:.5rem}}.wp-block-newspack-blocks-donate .stripe-payment__row--additional-fields{display:flex;flex-wrap:wrap;margin-left:-.25rem;margin-right:-.25rem}.wp-block-newspack-blocks-donate .stripe-payment__row--additional-fields>input{margin-bottom:.5rem;margin-left:.25rem;margin-right:.25rem}.wp-block-newspack-blocks-donate .stripe-payment__info{color:#767676;font-size:.7em;font-style:italic;padding-left:1.5em;display:none}@media only screen and (min-width:600px){.wp-block-newspack-blocks-donate .stripe-payment__info{display:block}}.wp-block-newspack-blocks-donate .stripe-payment__footer{align-items:flex-end;margin-bottom:1.32rem;margin-left:-10px;margin-right:-10px}.wp-block-newspack-blocks-donate .stripe-payment__footer>*{padding-left:10px;padding-right:10px}.wp-block-newspack-blocks-donate .stripe-payment__methods{display:flex;flex-wrap:wrap;width:100%}@media only screen and (min-width:600px){.wp-block-newspack-blocks-donate .stripe-payment__methods{width:auto}}.wp-block-newspack-blocks-donate .stripe-payment__methods button{margin-left:0;margin-right:0;margin-bottom:0;height:46px}.wp-block-newspack-blocks-donate .stripe-payment__methods>*{width:100%}.wp-block-newspack-blocks-donate .stripe-payment__methods>:not(:last-child){margin-bottom:10px}@media only screen and (min-width:600px){.wp-block-newspack-blocks-donate .stripe-payment__methods>*{width:auto}}.wp-block-newspack-blocks-donate .stripe-payment__request-button{min-width:190px}@media only screen and (min-width:600px){.wp-block-newspack-blocks-donate .stripe-payment__request-button{margin-right:1em}}.wp-block-newspack-blocks-donate .stripe-payment__request-button--invisible{opacity:0}.wp-block-newspack-blocks-donate__stripe{margin:.38rem .76rem .76rem}@media only screen and (min-width:782px){.wp-block-newspack-blocks-donate__stripe{margin-left:1.5rem;margin-right:1.5rem}}.wp-block-newspack-blocks-donate__stripe--editor input:first-child{margin-top:0}#stripe-fees-amount{padding-left:3px}.wpbnbd.is-style-alternate .wp-block-newspack-blocks-donate__stripe{margin:1.12rem 1.12rem 0}.wpbnbd.is-style-alternate .stripe-payment__row{margin-bottom:.56rem}.wpbnbd.is-style-alternate .stripe-payment__footer{margin:0 0 1.12rem}.wpbnbd.is-style-alternate .stripe-payment__footer>*{padding:0}.wpbnbd.is-style-alternate .stripe-payment__footer button{border-top-left-radius:5px;border-top-right-radius:5px;margin:0;width:auto}.wpbnbd.is-style-minimal .wp-block-newspack-blocks-donate__stripe{margin:0;text-align:left}.wpbnbd.is-style-minimal .stripe-payment__row{margin-bottom:.56rem}.wpbnbd.is-style-minimal .stripe-payment__inputs{margin-bottom:1.12rem}.wpbnbd.is-style-minimal .stripe-payment__footer{margin:0 0 1.12rem}.wpbnbd.is-style-minimal .stripe-payment__footer>*{padding:0}
1
+ @-webkit-keyframes loader{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@keyframes loader{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}.wp-block-newspack-blocks-donate .stripe-payment{position:relative}.wp-block-newspack-blocks-donate .stripe-payment,.wp-block-newspack-blocks-donate .stripe-payment--transition,.wp-block-newspack-blocks-donate .stripe-payment:after{transition:all .3s ease-out}.wp-block-newspack-blocks-donate .stripe-payment:after{content:"";opacity:0;pointer-events:none;position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(318deg,#d5d5d5,#fff);background-size:400% 400%;-webkit-animation:loader 3s ease infinite;animation:loader 3s ease infinite;border-radius:5px}.wp-block-newspack-blocks-donate .stripe-payment__card{padding:.34rem .66rem;min-height:32px}.wp-block-newspack-blocks-donate .stripe-payment__card,.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{border:1px solid #ccc;border-radius:3px}.wp-block-newspack-blocks-donate .stripe-payment .submit-button,.wp-block-newspack-blocks-donate .stripe-payment__checkbox,.wp-block-newspack-blocks-donate .stripe-payment button,.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{font-size:.7em}.wp-block-newspack-blocks-donate .stripe-payment__messages,.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{width:100%}.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{border-radius:3px;font-family:sans-serif}@media only screen and (min-width:782px){.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{font-size:14px;line-height:1.2}}.wp-block-newspack-blocks-donate .stripe-payment--invisible>*{opacity:0}.wp-block-newspack-blocks-donate .stripe-payment--invisible:after{opacity:1}.wp-block-newspack-blocks-donate .stripe-payment--hidden{display:none}.wp-block-newspack-blocks-donate .stripe-payment__checkbox{align-items:center;display:inline-flex;cursor:pointer}.wp-block-newspack-blocks-donate .stripe-payment__checkbox input{height:1em;width:1em;margin-right:.5em}.wp-block-newspack-blocks-donate .stripe-payment__messages{margin-bottom:10px}.wp-block-newspack-blocks-donate .stripe-payment__messages>div{border:solid #dfdfdf;border-width:0 0 0 4px;font-size:.8em;margin-top:.76rem;padding:.38rem .76rem}.wp-block-newspack-blocks-donate .stripe-payment__messages>div:empty{border:0;margin:0;padding:0}.wp-block-newspack-blocks-donate .stripe-payment__messages>div.type-error{background-color:rgba(204,24,24,.075);border-color:#cc1818}.wp-block-newspack-blocks-donate .stripe-payment__messages>div.type-success{background-color:rgba(74,184,102,.075);border-color:#4ab866;margin:1.12rem}.wp-block-newspack-blocks-donate .stripe-payment--disabled button,.wp-block-newspack-blocks-donate .stripe-payment--disabled input{pointer-events:none;opacity:.4}.wp-block-newspack-blocks-donate .stripe-payment__element{margin-bottom:.4rem}.wp-block-newspack-blocks-donate .stripe-payment__row{margin-bottom:.5rem}.wp-block-newspack-blocks-donate .stripe-payment__row--small{margin-bottom:5px;line-height:1.2}.wp-block-newspack-blocks-donate .stripe-payment__row--flex{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}@media only screen and (min-width:782px){.wp-block-newspack-blocks-donate .stripe-payment__row--flex{flex-wrap:nowrap}}.wp-block-newspack-blocks-donate .stripe-payment__row--flex input{margin-bottom:.5rem}@media only screen and (min-width:782px){.wp-block-newspack-blocks-donate .stripe-payment__row--flex input{margin-bottom:0;width:50%}.wp-block-newspack-blocks-donate .stripe-payment__row--flex input+input{margin-left:.5rem}}.wp-block-newspack-blocks-donate .stripe-payment__row--additional-fields{display:flex;flex-wrap:wrap;margin-left:-.25rem;margin-right:-.25rem}.wp-block-newspack-blocks-donate .stripe-payment__row--additional-fields>input{margin-bottom:.5rem;margin-left:.25rem;margin-right:.25rem}.wp-block-newspack-blocks-donate .stripe-payment__info{color:#767676;font-size:.7em;font-style:italic;padding-left:1.5em;display:none}@media only screen and (min-width:600px){.wp-block-newspack-blocks-donate .stripe-payment__info{display:block}}.wp-block-newspack-blocks-donate .stripe-payment__footer{align-items:flex-end;margin-bottom:1.32rem;margin-left:-10px;margin-right:-10px}.wp-block-newspack-blocks-donate .stripe-payment__footer>*{padding-left:10px;padding-right:10px}.wp-block-newspack-blocks-donate .stripe-payment__methods{display:flex;flex-wrap:wrap;width:100%}@media only screen and (min-width:600px){.wp-block-newspack-blocks-donate .stripe-payment__methods{width:auto}}.wp-block-newspack-blocks-donate .stripe-payment__methods .submit-button,.wp-block-newspack-blocks-donate .stripe-payment__methods button{margin-left:0;margin-right:0;margin-bottom:0;height:46px}.wp-block-newspack-blocks-donate .stripe-payment__methods>*{width:100%}.wp-block-newspack-blocks-donate .stripe-payment__methods>:not(:last-child){margin-bottom:10px}@media only screen and (min-width:600px){.wp-block-newspack-blocks-donate .stripe-payment__methods>*{width:auto}}.wp-block-newspack-blocks-donate .stripe-payment__request-button{min-width:190px}@media only screen and (min-width:600px){.wp-block-newspack-blocks-donate .stripe-payment__request-button{margin-right:1em}}.wp-block-newspack-blocks-donate .stripe-payment__request-button--invisible{opacity:0}.wp-block-newspack-blocks-donate__stripe{margin:.38rem .76rem .76rem}@media only screen and (min-width:782px){.wp-block-newspack-blocks-donate__stripe{margin-left:1.5rem;margin-right:1.5rem}}.wp-block-newspack-blocks-donate__stripe--editor input:first-child{margin-top:0}#stripe-fees-amount{padding-left:3px}.wpbnbd.is-style-alternate .wp-block-newspack-blocks-donate__stripe{margin:1.12rem 1.12rem 0}.wpbnbd.is-style-alternate .stripe-payment__row{margin-bottom:.56rem}.wpbnbd.is-style-alternate .stripe-payment__footer{margin:0 0 1.12rem}.wpbnbd.is-style-alternate .stripe-payment__footer>*{padding:0}.wpbnbd.is-style-alternate .stripe-payment__footer .submit-button,.wpbnbd.is-style-alternate .stripe-payment__footer button{border-top-left-radius:5px;border-top-right-radius:5px;margin:0;width:auto}.wpbnbd.is-style-minimal .wp-block-newspack-blocks-donate__stripe{margin:0;text-align:left}.wpbnbd.is-style-minimal .stripe-payment__row{margin-bottom:.56rem}.wpbnbd.is-style-minimal .stripe-payment__inputs{margin-bottom:1.12rem}.wpbnbd.is-style-minimal .stripe-payment__footer{margin:0 0 1.12rem}.wpbnbd.is-style-minimal .stripe-payment__footer>*{padding:0}
@@ -1 +1 @@
1
- @-webkit-keyframes loader{0%{background-position:100% 50%}50%{background-position:0 50%}to{background-position:100% 50%}}@keyframes loader{0%{background-position:100% 50%}50%{background-position:0 50%}to{background-position:100% 50%}}.wp-block-newspack-blocks-donate .stripe-payment{position:relative}.wp-block-newspack-blocks-donate .stripe-payment,.wp-block-newspack-blocks-donate .stripe-payment--transition,.wp-block-newspack-blocks-donate .stripe-payment:after{transition:all .3s ease-out}.wp-block-newspack-blocks-donate .stripe-payment:after{content:"";opacity:0;pointer-events:none;position:absolute;top:0;right:0;width:100%;height:100%;background:linear-gradient(-318deg,#d5d5d5,#fff);background-size:400% 400%;-webkit-animation:loader 3s ease infinite;animation:loader 3s ease infinite;border-radius:5px}.wp-block-newspack-blocks-donate .stripe-payment__card{padding:.34rem .66rem;min-height:32px}.wp-block-newspack-blocks-donate .stripe-payment__card,.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{border:1px solid #ccc;border-radius:3px}.wp-block-newspack-blocks-donate .stripe-payment__checkbox,.wp-block-newspack-blocks-donate .stripe-payment button,.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{font-size:.7em}.wp-block-newspack-blocks-donate .stripe-payment__messages,.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{width:100%}.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{border-radius:3px;font-family:sans-serif}@media only screen and (min-width:782px){.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{font-size:14px;line-height:1.2}}.wp-block-newspack-blocks-donate .stripe-payment--invisible>*{opacity:0}.wp-block-newspack-blocks-donate .stripe-payment--invisible:after{opacity:1}.wp-block-newspack-blocks-donate .stripe-payment--hidden{display:none}.wp-block-newspack-blocks-donate .stripe-payment__checkbox{align-items:center;display:inline-flex;cursor:pointer}.wp-block-newspack-blocks-donate .stripe-payment__checkbox input{height:1em;width:1em;margin-left:.5em}.wp-block-newspack-blocks-donate .stripe-payment__messages{margin-bottom:10px}.wp-block-newspack-blocks-donate .stripe-payment__messages>div{border:solid #dfdfdf;border-width:0 4px 0 0;font-size:.8em;margin-top:.76rem;padding:.38rem .76rem}.wp-block-newspack-blocks-donate .stripe-payment__messages>div:empty{border:0;margin:0;padding:0}.wp-block-newspack-blocks-donate .stripe-payment__messages>div.type-error{background-color:rgba(204,24,24,.075);border-color:#cc1818}.wp-block-newspack-blocks-donate .stripe-payment__messages>div.type-success{background-color:rgba(74,184,102,.075);border-color:#4ab866;margin:1.12rem}.wp-block-newspack-blocks-donate .stripe-payment--disabled button,.wp-block-newspack-blocks-donate .stripe-payment--disabled input{pointer-events:none;opacity:.4}.wp-block-newspack-blocks-donate .stripe-payment__element{margin-bottom:.4rem}.wp-block-newspack-blocks-donate .stripe-payment__row{margin-bottom:.5rem}.wp-block-newspack-blocks-donate .stripe-payment__row--small{margin-bottom:5px;line-height:1.2}.wp-block-newspack-blocks-donate .stripe-payment__row--flex{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}@media only screen and (min-width:782px){.wp-block-newspack-blocks-donate .stripe-payment__row--flex{flex-wrap:nowrap}}.wp-block-newspack-blocks-donate .stripe-payment__row--flex input{margin-bottom:.5rem}@media only screen and (min-width:782px){.wp-block-newspack-blocks-donate .stripe-payment__row--flex input{margin-bottom:0;width:50%}.wp-block-newspack-blocks-donate .stripe-payment__row--flex input+input{margin-right:.5rem}}.wp-block-newspack-blocks-donate .stripe-payment__row--additional-fields{display:flex;flex-wrap:wrap;margin-right:-.25rem;margin-left:-.25rem}.wp-block-newspack-blocks-donate .stripe-payment__row--additional-fields>input{margin-bottom:.5rem;margin-right:.25rem;margin-left:.25rem}.wp-block-newspack-blocks-donate .stripe-payment__info{color:#767676;font-size:.7em;font-style:italic;padding-right:1.5em;display:none}@media only screen and (min-width:600px){.wp-block-newspack-blocks-donate .stripe-payment__info{display:block}}.wp-block-newspack-blocks-donate .stripe-payment__footer{align-items:flex-end;margin-bottom:1.32rem;margin-right:-10px;margin-left:-10px}.wp-block-newspack-blocks-donate .stripe-payment__footer>*{padding-right:10px;padding-left:10px}.wp-block-newspack-blocks-donate .stripe-payment__methods{display:flex;flex-wrap:wrap;width:100%}@media only screen and (min-width:600px){.wp-block-newspack-blocks-donate .stripe-payment__methods{width:auto}}.wp-block-newspack-blocks-donate .stripe-payment__methods button{margin-right:0;margin-left:0;margin-bottom:0;height:46px}.wp-block-newspack-blocks-donate .stripe-payment__methods>*{width:100%}.wp-block-newspack-blocks-donate .stripe-payment__methods>:not(:last-child){margin-bottom:10px}@media only screen and (min-width:600px){.wp-block-newspack-blocks-donate .stripe-payment__methods>*{width:auto}}.wp-block-newspack-blocks-donate .stripe-payment__request-button{min-width:190px}@media only screen and (min-width:600px){.wp-block-newspack-blocks-donate .stripe-payment__request-button{margin-left:1em}}.wp-block-newspack-blocks-donate .stripe-payment__request-button--invisible{opacity:0}.wp-block-newspack-blocks-donate__stripe{margin:.38rem .76rem .76rem}@media only screen and (min-width:782px){.wp-block-newspack-blocks-donate__stripe{margin-right:1.5rem;margin-left:1.5rem}}.wp-block-newspack-blocks-donate__stripe--editor input:first-child{margin-top:0}#stripe-fees-amount{padding-right:3px}.wpbnbd.is-style-alternate .wp-block-newspack-blocks-donate__stripe{margin:1.12rem 1.12rem 0}.wpbnbd.is-style-alternate .stripe-payment__row{margin-bottom:.56rem}.wpbnbd.is-style-alternate .stripe-payment__footer{margin:0 0 1.12rem}.wpbnbd.is-style-alternate .stripe-payment__footer>*{padding:0}.wpbnbd.is-style-alternate .stripe-payment__footer button{border-top-right-radius:5px;border-top-left-radius:5px;margin:0;width:auto}.wpbnbd.is-style-minimal .wp-block-newspack-blocks-donate__stripe{margin:0;text-align:right}.wpbnbd.is-style-minimal .stripe-payment__row{margin-bottom:.56rem}.wpbnbd.is-style-minimal .stripe-payment__inputs{margin-bottom:1.12rem}.wpbnbd.is-style-minimal .stripe-payment__footer{margin:0 0 1.12rem}.wpbnbd.is-style-minimal .stripe-payment__footer>*{padding:0}
1
+ @-webkit-keyframes loader{0%{background-position:100% 50%}50%{background-position:0 50%}to{background-position:100% 50%}}@keyframes loader{0%{background-position:100% 50%}50%{background-position:0 50%}to{background-position:100% 50%}}.wp-block-newspack-blocks-donate .stripe-payment{position:relative}.wp-block-newspack-blocks-donate .stripe-payment,.wp-block-newspack-blocks-donate .stripe-payment--transition,.wp-block-newspack-blocks-donate .stripe-payment:after{transition:all .3s ease-out}.wp-block-newspack-blocks-donate .stripe-payment:after{content:"";opacity:0;pointer-events:none;position:absolute;top:0;right:0;width:100%;height:100%;background:linear-gradient(-318deg,#d5d5d5,#fff);background-size:400% 400%;-webkit-animation:loader 3s ease infinite;animation:loader 3s ease infinite;border-radius:5px}.wp-block-newspack-blocks-donate .stripe-payment__card{padding:.34rem .66rem;min-height:32px}.wp-block-newspack-blocks-donate .stripe-payment__card,.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{border:1px solid #ccc;border-radius:3px}.wp-block-newspack-blocks-donate .stripe-payment .submit-button,.wp-block-newspack-blocks-donate .stripe-payment__checkbox,.wp-block-newspack-blocks-donate .stripe-payment button,.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{font-size:.7em}.wp-block-newspack-blocks-donate .stripe-payment__messages,.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{width:100%}.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{border-radius:3px;font-family:sans-serif}@media only screen and (min-width:782px){.wp-block-newspack-blocks-donate .stripe-payment input[type=email],.wp-block-newspack-blocks-donate .stripe-payment input[type=text]{font-size:14px;line-height:1.2}}.wp-block-newspack-blocks-donate .stripe-payment--invisible>*{opacity:0}.wp-block-newspack-blocks-donate .stripe-payment--invisible:after{opacity:1}.wp-block-newspack-blocks-donate .stripe-payment--hidden{display:none}.wp-block-newspack-blocks-donate .stripe-payment__checkbox{align-items:center;display:inline-flex;cursor:pointer}.wp-block-newspack-blocks-donate .stripe-payment__checkbox input{height:1em;width:1em;margin-left:.5em}.wp-block-newspack-blocks-donate .stripe-payment__messages{margin-bottom:10px}.wp-block-newspack-blocks-donate .stripe-payment__messages>div{border:solid #dfdfdf;border-width:0 4px 0 0;font-size:.8em;margin-top:.76rem;padding:.38rem .76rem}.wp-block-newspack-blocks-donate .stripe-payment__messages>div:empty{border:0;margin:0;padding:0}.wp-block-newspack-blocks-donate .stripe-payment__messages>div.type-error{background-color:rgba(204,24,24,.075);border-color:#cc1818}.wp-block-newspack-blocks-donate .stripe-payment__messages>div.type-success{background-color:rgba(74,184,102,.075);border-color:#4ab866;margin:1.12rem}.wp-block-newspack-blocks-donate .stripe-payment--disabled button,.wp-block-newspack-blocks-donate .stripe-payment--disabled input{pointer-events:none;opacity:.4}.wp-block-newspack-blocks-donate .stripe-payment__element{margin-bottom:.4rem}.wp-block-newspack-blocks-donate .stripe-payment__row{margin-bottom:.5rem}.wp-block-newspack-blocks-donate .stripe-payment__row--small{margin-bottom:5px;line-height:1.2}.wp-block-newspack-blocks-donate .stripe-payment__row--flex{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}@media only screen and (min-width:782px){.wp-block-newspack-blocks-donate .stripe-payment__row--flex{flex-wrap:nowrap}}.wp-block-newspack-blocks-donate .stripe-payment__row--flex input{margin-bottom:.5rem}@media only screen and (min-width:782px){.wp-block-newspack-blocks-donate .stripe-payment__row--flex input{margin-bottom:0;width:50%}.wp-block-newspack-blocks-donate .stripe-payment__row--flex input+input{margin-right:.5rem}}.wp-block-newspack-blocks-donate .stripe-payment__row--additional-fields{display:flex;flex-wrap:wrap;margin-right:-.25rem;margin-left:-.25rem}.wp-block-newspack-blocks-donate .stripe-payment__row--additional-fields>input{margin-bottom:.5rem;margin-right:.25rem;margin-left:.25rem}.wp-block-newspack-blocks-donate .stripe-payment__info{color:#767676;font-size:.7em;font-style:italic;padding-right:1.5em;display:none}@media only screen and (min-width:600px){.wp-block-newspack-blocks-donate .stripe-payment__info{display:block}}.wp-block-newspack-blocks-donate .stripe-payment__footer{align-items:flex-end;margin-bottom:1.32rem;margin-right:-10px;margin-left:-10px}.wp-block-newspack-blocks-donate .stripe-payment__footer>*{padding-right:10px;padding-left:10px}.wp-block-newspack-blocks-donate .stripe-payment__methods{display:flex;flex-wrap:wrap;width:100%}@media only screen and (min-width:600px){.wp-block-newspack-blocks-donate .stripe-payment__methods{width:auto}}.wp-block-newspack-blocks-donate .stripe-payment__methods .submit-button,.wp-block-newspack-blocks-donate .stripe-payment__methods button{margin-right:0;margin-left:0;margin-bottom:0;height:46px}.wp-block-newspack-blocks-donate .stripe-payment__methods>*{width:100%}.wp-block-newspack-blocks-donate .stripe-payment__methods>:not(:last-child){margin-bottom:10px}@media only screen and (min-width:600px){.wp-block-newspack-blocks-donate .stripe-payment__methods>*{width:auto}}.wp-block-newspack-blocks-donate .stripe-payment__request-button{min-width:190px}@media only screen and (min-width:600px){.wp-block-newspack-blocks-donate .stripe-payment__request-button{margin-left:1em}}.wp-block-newspack-blocks-donate .stripe-payment__request-button--invisible{opacity:0}.wp-block-newspack-blocks-donate__stripe{margin:.38rem .76rem .76rem}@media only screen and (min-width:782px){.wp-block-newspack-blocks-donate__stripe{margin-right:1.5rem;margin-left:1.5rem}}.wp-block-newspack-blocks-donate__stripe--editor input:first-child{margin-top:0}#stripe-fees-amount{padding-right:3px}.wpbnbd.is-style-alternate .wp-block-newspack-blocks-donate__stripe{margin:1.12rem 1.12rem 0}.wpbnbd.is-style-alternate .stripe-payment__row{margin-bottom:.56rem}.wpbnbd.is-style-alternate .stripe-payment__footer{margin:0 0 1.12rem}.wpbnbd.is-style-alternate .stripe-payment__footer>*{padding:0}.wpbnbd.is-style-alternate .stripe-payment__footer .submit-button,.wpbnbd.is-style-alternate .stripe-payment__footer button{border-top-right-radius:5px;border-top-left-radius:5px;margin:0;width:auto}.wpbnbd.is-style-minimal .wp-block-newspack-blocks-donate__stripe{margin:0;text-align:right}.wpbnbd.is-style-minimal .stripe-payment__row{margin-bottom:.56rem}.wpbnbd.is-style-minimal .stripe-payment__inputs{margin-bottom:1.12rem}.wpbnbd.is-style-minimal .stripe-payment__footer{margin:0 0 1.12rem}.wpbnbd.is-style-minimal .stripe-payment__footer>*{padding:0}
@@ -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' => '8588ab44171a104a4eb5bc9550ea50fa');
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' => 'bcc4868bcd5515f6d6bb63ee30da2c65');