@automattic/newspack-blocks 1.67.0 → 1.68.0

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 (103) hide show
  1. package/.cache/babel/078314f1ffd302d32bbe1124c797c4a8.json.gz +0 -0
  2. package/.cache/babel/08bd669298cd26a7d3a62aadcf637516.json.gz +0 -0
  3. package/.cache/babel/0988afa42fd3fe14da7ae43c9d02661e.json.gz +0 -0
  4. package/.cache/babel/0d164bb53cdb3442a8c8ab37dde2e4ce.json.gz +0 -0
  5. package/.cache/babel/0f96392a3b96da0b4dce7a77edef76ca.json.gz +0 -0
  6. package/.cache/babel/2dc630cecd79488c7912540ac3a1ae93.json.gz +0 -0
  7. package/.cache/babel/3807c3306deecdbdb91968cb3c978235.json.gz +0 -0
  8. package/.cache/babel/45308b31d062a1fb08079849840aaa43.json.gz +0 -0
  9. package/.cache/babel/48df6fe3b45d872e1ded6f33a70e3176.json.gz +0 -0
  10. package/.cache/babel/58350a62e3ef63157722789bf187a8d1.json.gz +0 -0
  11. package/.cache/babel/5ac50f37a9913d9f63c8751f5c415ba4.json.gz +0 -0
  12. package/.cache/babel/6170ac021bca94b65aaf9d91313c47a9.json.gz +0 -0
  13. package/.cache/babel/66c747a8bdec1ed403f703e47256fa03.json.gz +0 -0
  14. package/.cache/babel/695780d53e2d31de09fc42456ad05cff.json.gz +0 -0
  15. package/.cache/babel/6bc92299b6332d48bcc944e155ce08cd.json.gz +0 -0
  16. package/.cache/babel/900ca42963bd0a74c1498a6d1212d82f.json.gz +0 -0
  17. package/.cache/babel/91e706536d45a88f098e9394344dbeb9.json.gz +0 -0
  18. package/.cache/babel/ab39cbb804689d063293f37fa4485487.json.gz +0 -0
  19. package/.cache/babel/c0e75e9017dcf69507da774f93b23422.json.gz +0 -0
  20. package/.cache/babel/c917c2bc027ccb946305c9305b05755e.json.gz +0 -0
  21. package/.cache/babel/cf24b1c63d0cf0e037eb598706a79f88.json.gz +0 -0
  22. package/.cache/babel/e452902bef688c901938b578c6834c50.json.gz +0 -0
  23. package/.cache/babel/e499e66d1cc40fb9b6c4238bf3dd2e6a.json.gz +0 -0
  24. package/.cache/babel/f7fd26614549b5cbb31416d632c38ccd.json.gz +0 -0
  25. package/.cache/babel/fa8281f6c9d0ec08fd8106dcfff2b6ba.json.gz +0 -0
  26. package/CHANGELOG.md +42 -0
  27. package/block-list.json +10 -1
  28. package/composer.lock +7 -7
  29. package/dist/carousel/view.asset.php +1 -1
  30. package/dist/carousel/view.js +1 -1
  31. package/dist/{donateCheckoutBlock.asset.php → checkout-button/view.asset.php} +1 -1
  32. package/dist/checkout-button/view.css +1 -0
  33. package/dist/checkout-button/view.rtl.css +1 -0
  34. package/dist/donate/view.asset.php +1 -1
  35. package/dist/donate/view.css +1 -1
  36. package/dist/donate/view.rtl.css +1 -1
  37. package/dist/editor.asset.php +1 -1
  38. package/dist/editor.css +1 -1
  39. package/dist/editor.js +3 -3
  40. package/dist/editor.rtl.css +1 -1
  41. package/dist/{donateCheckoutModal.asset.php → modal.asset.php} +1 -1
  42. package/dist/modal.css +1 -0
  43. package/dist/modal.js +1 -0
  44. package/dist/modal.rtl.css +1 -0
  45. package/dist/modalCheckout.asset.php +1 -0
  46. package/dist/modalCheckout.js +1 -0
  47. package/includes/class-modal-checkout.php +383 -0
  48. package/includes/class-newspack-blocks.php +30 -6
  49. package/newspack-blocks.php +3 -2
  50. package/package.json +3 -3
  51. package/src/blocks/carousel/edit.js +21 -0
  52. package/src/blocks/carousel/index.js +3 -0
  53. package/src/blocks/carousel/view.php +7 -0
  54. package/src/blocks/checkout-button/block.json +79 -0
  55. package/src/blocks/checkout-button/edit.js +247 -0
  56. package/src/blocks/checkout-button/edit.scss +40 -0
  57. package/src/blocks/checkout-button/editor.js +23 -0
  58. package/src/blocks/checkout-button/index.js +27 -0
  59. package/src/blocks/checkout-button/save.js +64 -0
  60. package/src/blocks/{donate/checkout-modal/index.js → checkout-button/view.js} +1 -1
  61. package/src/blocks/checkout-button/view.php +35 -0
  62. package/src/blocks/checkout-button/view.scss +18 -0
  63. package/src/blocks/donate/frontend/class-newspack-blocks-donate-renderer.php +1 -233
  64. package/src/blocks/donate/styles/view.scss +0 -95
  65. package/src/blocks/homepage-articles/block.json +5 -0
  66. package/src/blocks/homepage-articles/edit.js +18 -0
  67. package/src/blocks/homepage-articles/utils.ts +4 -0
  68. package/src/components/query-controls.js +60 -0
  69. package/src/{blocks/donate/checkout-modal/view.scss → modal-checkout/checkout.scss} +1 -1
  70. package/src/modal-checkout/index.js +4 -0
  71. package/src/{blocks/donate/checkout-modal/block.js → modal-checkout/modal.js} +14 -11
  72. package/src/modal-checkout/modal.scss +97 -0
  73. package/src/{blocks/donate → modal-checkout}/templates/checkout-form.php +3 -3
  74. package/src/types/index.d.ts +1 -0
  75. package/vendor/autoload.php +1 -1
  76. package/vendor/composer/autoload_real.php +4 -4
  77. package/vendor/composer/autoload_static.php +2 -2
  78. package/vendor/composer/installed.php +2 -2
  79. package/webpack.config.js +2 -2
  80. package/.cache/babel/1d8b42985da54f10a9bfd0a9f87b5844.json.gz +0 -0
  81. package/.cache/babel/37bd7f90c2e7ea1e10bf840775d1b262.json.gz +0 -0
  82. package/.cache/babel/3a66da0fe7ab175effa6a338812e46cb.json.gz +0 -0
  83. package/.cache/babel/4ba56fc2684f5bebdd2c8c488ea03683.json.gz +0 -0
  84. package/.cache/babel/60ac312fdf07fb7730b1a8a9c1b5bd5a.json.gz +0 -0
  85. package/.cache/babel/61d00fc8add441f0b915e3af4b518ead.json.gz +0 -0
  86. package/.cache/babel/646a7267e14986e70c74dc9c32ca6a14.json.gz +0 -0
  87. package/.cache/babel/7464c382b8a939e4e43f9349d76843a8.json.gz +0 -0
  88. package/.cache/babel/917cc52662d270e7c529afbf210a2703.json.gz +0 -0
  89. package/.cache/babel/a1dde270d38efa30dfbbfe2b97be9e51.json.gz +0 -0
  90. package/.cache/babel/a5447d9807699029636883e96c6aa4c6.json.gz +0 -0
  91. package/.cache/babel/a7575c7f77cb736dbfe8a4d01910cc79.json.gz +0 -0
  92. package/.cache/babel/b13e3fd47c6307f8c1f8786edc053ed9.json.gz +0 -0
  93. package/.cache/babel/b38122e026094b152ef69677468e4415.json.gz +0 -0
  94. package/.cache/babel/bb3ca1de54603d2730484164ed55902b.json.gz +0 -0
  95. package/.cache/babel/c762aee66625f48b1de4e3b329d8c9fe.json.gz +0 -0
  96. package/.cache/babel/c9d601b83fd7c6412dd9ac187c06d7c1.json.gz +0 -0
  97. package/.cache/babel/fa5e94ee19268ccad7790a312d6fca4e.json.gz +0 -0
  98. package/.cache/babel/fe8f3849250ae54c53096ec8db55a8d6.json.gz +0 -0
  99. package/.cache/babel/fe99fe0bebf3e9d74bb240487620bdd4.json.gz +0 -0
  100. package/dist/donateCheckoutBlock.js +0 -1
  101. /package/dist/{donateCheckoutModal.js → checkout-button/view.js} +0 -0
  102. /package/dist/{donateCheckoutModal.css → modalCheckout.css} +0 -0
  103. /package/dist/{donateCheckoutModal.rtl.css → modalCheckout.rtl.css} +0 -0
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => '4f50164812097bc9ebabfac8e268ac61');
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => '5eb99bc8ec95b388399f0d593492c81f');
@@ -0,0 +1 @@
1
+ .wp-block-newspack-blocks-checkout-button.alignfull button,.wp-block-newspack-blocks-checkout-button.alignwide button{width:100%}.wp-block-newspack-blocks-checkout-button.aligncenter form{display:flex;flex-direction:column}.wp-block-newspack-blocks-checkout-button.aligncenter button{margin-left:auto;margin-right:auto}
@@ -0,0 +1 @@
1
+ .wp-block-newspack-blocks-checkout-button.alignfull button,.wp-block-newspack-blocks-checkout-button.alignwide button{width:100%}.wp-block-newspack-blocks-checkout-button.aligncenter form{display:flex;flex-direction:column}.wp-block-newspack-blocks-checkout-button.aligncenter button{margin-right:auto;margin-left:auto}
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'f4fefb8279f4e7de738a6f358d5ea897');
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'a4061072b4ae9f3f0b66be0b306738a8');
@@ -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-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}@media only screen and (min-width:782px){.wpbnbd.is-style-alternate .frequencies{padding-top:calc(1.14rem + 1.6em + 4px)}}.wpbnbd.is-style-alternate .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 .freq-label{border-width:1px;padding:calc(.57rem + 1px) .5rem}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .freq-label{padding:calc(.57rem + 1px) .76rem}}.wpbnbd.is-style-alternate .wpbnbd__button{border:.19rem solid transparent}.wpbnbd.is-style-alternate .frequency input[type=radio]:checked+.freq-label:after,.wpbnbd.is-style-alternate .wpbnbd__button--active{background:#fff;border-radius:5px;border:.19rem solid #fff;box-shadow:0 0 0 1px #ccc}.wpbnbd.is-style-alternate .frequency input[type=radio]:checked+.freq-label:after{box-sizing:content-box;bottom:.19rem;content:"";display:block;left:.19rem;position:absolute;right:.19rem;top:.19rem;z-index:-1}.wpbnbd.is-style-alternate .frequency input[type=radio]:checked+.freq-label:hover{background:#f1f1f1}.wpbnbd.is-style-alternate .frequency 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 .frequency 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:not([data-is-streamlined-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 .frequencies{padding-top:calc(.76rem + 1.6em + 4px)}.wpbnbd.is-style-minimal .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 .freq-label{padding-left:.76rem;padding-right:.76rem}}.wpbnbd.is-style-minimal .freq-label:before{border-width:1px;border-color:#ccc}.wpbnbd.is-style-minimal .frequency input[type=radio]:checked+.freq-label{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:not(.wpbnbd--platform-stripe) button[type=submit]{margin:0 auto;min-width:50%}@-webkit-keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}.wpbnbd__button{border:0 solid #ccc;background:#fff;color:#767676;line-height:1.6;text-overflow:ellipsis;text-align:center}.wpbnbd__button--active,.wpbnbd__button:focus,.wpbnbd__button:hover{color:#111}.wpbnbd mark{background-color:transparent}.newspack-blocks-donate-checkout-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.75);z-index:99999}.newspack-blocks-donate-checkout-modal__content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:calc(100vw - 32px);max-width:580px;min-height:200px;max-height:calc(100vh - 32px);background:#fff;border-radius:5px}.newspack-blocks-donate-checkout-modal__content>:not(.newspack-blocks-donate-checkout-modal__close){width:100%;height:100%;border:0;border-radius:5px}.newspack-blocks-donate-checkout-modal__spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:5px}.newspack-blocks-donate-checkout-modal__spinner>span{width:25px;height:25px;border:2px solid #fff;border-top-color:#767676;border-radius:50%;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}.newspack-blocks-donate-checkout-modal__close{position:absolute;top:0;right:0;padding:8px;border:0;background:transparent;color:#111;cursor:pointer}.newspack-blocks-donate-checkout-modal__close:focus,.newspack-blocks-donate-checkout-modal__close:hover{color:#767676}.newspack-blocks-donate-checkout-modal__close svg{display:block}@media(max-width:600px){.newspack-blocks-donate-checkout-modal__content{max-width:100%;width:100%;border-radius:0;top:auto;bottom:0;left:0;transform:none}.newspack-blocks-donate-checkout-modal__content>:not(.newspack-blocks-donate-checkout-modal__close){border-radius:0}}
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-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}@media only screen and (min-width:782px){.wpbnbd.is-style-alternate .frequencies{padding-top:calc(1.14rem + 1.6em + 4px)}}.wpbnbd.is-style-alternate .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 .freq-label{border-width:1px;padding:calc(.57rem + 1px) .5rem}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .freq-label{padding:calc(.57rem + 1px) .76rem}}.wpbnbd.is-style-alternate .wpbnbd__button{border:.19rem solid transparent}.wpbnbd.is-style-alternate .frequency input[type=radio]:checked+.freq-label:after,.wpbnbd.is-style-alternate .wpbnbd__button--active{background:#fff;border-radius:5px;border:.19rem solid #fff;box-shadow:0 0 0 1px #ccc}.wpbnbd.is-style-alternate .frequency input[type=radio]:checked+.freq-label:after{box-sizing:content-box;bottom:.19rem;content:"";display:block;left:.19rem;position:absolute;right:.19rem;top:.19rem;z-index:-1}.wpbnbd.is-style-alternate .frequency input[type=radio]:checked+.freq-label:hover{background:#f1f1f1}.wpbnbd.is-style-alternate .frequency 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 .frequency 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:not([data-is-streamlined-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 .frequencies{padding-top:calc(.76rem + 1.6em + 4px)}.wpbnbd.is-style-minimal .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 .freq-label{padding-left:.76rem;padding-right:.76rem}}.wpbnbd.is-style-minimal .freq-label:before{border-width:1px;border-color:#ccc}.wpbnbd.is-style-minimal .frequency input[type=radio]:checked+.freq-label{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:not(.wpbnbd--platform-stripe) button[type=submit]{margin:0 auto;min-width:50%}.wpbnbd__button{border:0 solid #ccc;background:#fff;color:#767676;line-height:1.6;text-overflow:ellipsis;text-align:center}.wpbnbd__button--active,.wpbnbd__button:focus,.wpbnbd__button:hover{color:#111}.wpbnbd mark{background-color:transparent}
@@ -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-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}@media only screen and (min-width:782px){.wpbnbd.is-style-alternate .frequencies{padding-top:calc(1.14rem + 1.6em + 4px)}}.wpbnbd.is-style-alternate .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 .freq-label{border-width:1px;padding:calc(.57rem + 1px) .5rem}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .freq-label{padding:calc(.57rem + 1px) .76rem}}.wpbnbd.is-style-alternate .wpbnbd__button{border:.19rem solid transparent}.wpbnbd.is-style-alternate .frequency input[type=radio]:checked+.freq-label:after,.wpbnbd.is-style-alternate .wpbnbd__button--active{background:#fff;border-radius:5px;border:.19rem solid #fff;box-shadow:0 0 0 1px #ccc}.wpbnbd.is-style-alternate .frequency input[type=radio]:checked+.freq-label:after{box-sizing:content-box;bottom:.19rem;content:"";display:block;right:.19rem;position:absolute;left:.19rem;top:.19rem;z-index:-1}.wpbnbd.is-style-alternate .frequency input[type=radio]:checked+.freq-label:hover{background:#f1f1f1}.wpbnbd.is-style-alternate .frequency 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 .frequency 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:not([data-is-streamlined-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 .frequencies{padding-top:calc(.76rem + 1.6em + 4px)}.wpbnbd.is-style-minimal .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 .freq-label{padding-right:.76rem;padding-left:.76rem}}.wpbnbd.is-style-minimal .freq-label:before{border-width:1px;border-color:#ccc}.wpbnbd.is-style-minimal .frequency input[type=radio]:checked+.freq-label{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:not(.wpbnbd--platform-stripe) button[type=submit]{margin:0 auto;min-width:50%}@-webkit-keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(-180deg)}to{transform:rotate(-1turn)}}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(-180deg)}to{transform:rotate(-1turn)}}.wpbnbd__button{border:0 solid #ccc;background:#fff;color:#767676;line-height:1.6;text-overflow:ellipsis;text-align:center}.wpbnbd__button--active,.wpbnbd__button:focus,.wpbnbd__button:hover{color:#111}.wpbnbd mark{background-color:transparent}.newspack-blocks-donate-checkout-modal{position:fixed;top:0;right:0;width:100%;height:100%;background:rgba(0,0,0,.75);z-index:99999}.newspack-blocks-donate-checkout-modal__content{position:absolute;top:50%;right:50%;transform:translate(50%,-50%);width:calc(100vw - 32px);max-width:580px;min-height:200px;max-height:calc(100vh - 32px);background:#fff;border-radius:5px}.newspack-blocks-donate-checkout-modal__content>:not(.newspack-blocks-donate-checkout-modal__close){width:100%;height:100%;border:0;border-radius:5px}.newspack-blocks-donate-checkout-modal__spinner{position:absolute;top:50%;right:50%;transform:translate(50%,-50%);width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:5px}.newspack-blocks-donate-checkout-modal__spinner>span{width:25px;height:25px;border:2px solid #fff;border-top-color:#767676;border-radius:50%;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}.newspack-blocks-donate-checkout-modal__close{position:absolute;top:0;left:0;padding:8px;border:0;background:transparent;color:#111;cursor:pointer}.newspack-blocks-donate-checkout-modal__close:focus,.newspack-blocks-donate-checkout-modal__close:hover{color:#767676}.newspack-blocks-donate-checkout-modal__close svg{display:block}@media(max-width:600px){.newspack-blocks-donate-checkout-modal__content{max-width:100%;width:100%;border-radius:0;top:auto;bottom:0;right:0;transform:none}.newspack-blocks-donate-checkout-modal__content>:not(.newspack-blocks-donate-checkout-modal__close){border-radius:0}}
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-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}@media only screen and (min-width:782px){.wpbnbd.is-style-alternate .frequencies{padding-top:calc(1.14rem + 1.6em + 4px)}}.wpbnbd.is-style-alternate .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 .freq-label{border-width:1px;padding:calc(.57rem + 1px) .5rem}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .freq-label{padding:calc(.57rem + 1px) .76rem}}.wpbnbd.is-style-alternate .wpbnbd__button{border:.19rem solid transparent}.wpbnbd.is-style-alternate .frequency input[type=radio]:checked+.freq-label:after,.wpbnbd.is-style-alternate .wpbnbd__button--active{background:#fff;border-radius:5px;border:.19rem solid #fff;box-shadow:0 0 0 1px #ccc}.wpbnbd.is-style-alternate .frequency input[type=radio]:checked+.freq-label:after{box-sizing:content-box;bottom:.19rem;content:"";display:block;right:.19rem;position:absolute;left:.19rem;top:.19rem;z-index:-1}.wpbnbd.is-style-alternate .frequency input[type=radio]:checked+.freq-label:hover{background:#f1f1f1}.wpbnbd.is-style-alternate .frequency 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 .frequency 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:not([data-is-streamlined-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 .frequencies{padding-top:calc(.76rem + 1.6em + 4px)}.wpbnbd.is-style-minimal .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 .freq-label{padding-right:.76rem;padding-left:.76rem}}.wpbnbd.is-style-minimal .freq-label:before{border-width:1px;border-color:#ccc}.wpbnbd.is-style-minimal .frequency input[type=radio]:checked+.freq-label{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:not(.wpbnbd--platform-stripe) button[type=submit]{margin:0 auto;min-width:50%}.wpbnbd__button{border:0 solid #ccc;background:#fff;color:#767676;line-height:1.6;text-overflow:ellipsis;text-align:center}.wpbnbd__button--active,.wpbnbd__button:focus,.wpbnbd__button:hover{color:#111}.wpbnbd mark{background-color:transparent}
@@ -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' => 'e1ab0525cdbb018736b5cd2815acbfec');
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' => 'dd5de8ce6b26f6125ff83715656a004a');