@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.
- package/.cache/babel/078314f1ffd302d32bbe1124c797c4a8.json.gz +0 -0
- package/.cache/babel/08bd669298cd26a7d3a62aadcf637516.json.gz +0 -0
- package/.cache/babel/0988afa42fd3fe14da7ae43c9d02661e.json.gz +0 -0
- package/.cache/babel/0d164bb53cdb3442a8c8ab37dde2e4ce.json.gz +0 -0
- package/.cache/babel/0f96392a3b96da0b4dce7a77edef76ca.json.gz +0 -0
- package/.cache/babel/2dc630cecd79488c7912540ac3a1ae93.json.gz +0 -0
- package/.cache/babel/3807c3306deecdbdb91968cb3c978235.json.gz +0 -0
- package/.cache/babel/45308b31d062a1fb08079849840aaa43.json.gz +0 -0
- package/.cache/babel/48df6fe3b45d872e1ded6f33a70e3176.json.gz +0 -0
- package/.cache/babel/58350a62e3ef63157722789bf187a8d1.json.gz +0 -0
- package/.cache/babel/5ac50f37a9913d9f63c8751f5c415ba4.json.gz +0 -0
- package/.cache/babel/6170ac021bca94b65aaf9d91313c47a9.json.gz +0 -0
- package/.cache/babel/66c747a8bdec1ed403f703e47256fa03.json.gz +0 -0
- package/.cache/babel/695780d53e2d31de09fc42456ad05cff.json.gz +0 -0
- package/.cache/babel/6bc92299b6332d48bcc944e155ce08cd.json.gz +0 -0
- package/.cache/babel/900ca42963bd0a74c1498a6d1212d82f.json.gz +0 -0
- package/.cache/babel/91e706536d45a88f098e9394344dbeb9.json.gz +0 -0
- package/.cache/babel/ab39cbb804689d063293f37fa4485487.json.gz +0 -0
- package/.cache/babel/c0e75e9017dcf69507da774f93b23422.json.gz +0 -0
- package/.cache/babel/c917c2bc027ccb946305c9305b05755e.json.gz +0 -0
- package/.cache/babel/cf24b1c63d0cf0e037eb598706a79f88.json.gz +0 -0
- package/.cache/babel/e452902bef688c901938b578c6834c50.json.gz +0 -0
- package/.cache/babel/e499e66d1cc40fb9b6c4238bf3dd2e6a.json.gz +0 -0
- package/.cache/babel/f7fd26614549b5cbb31416d632c38ccd.json.gz +0 -0
- package/.cache/babel/fa8281f6c9d0ec08fd8106dcfff2b6ba.json.gz +0 -0
- package/CHANGELOG.md +42 -0
- package/block-list.json +10 -1
- package/composer.lock +7 -7
- package/dist/carousel/view.asset.php +1 -1
- package/dist/carousel/view.js +1 -1
- package/dist/{donateCheckoutBlock.asset.php → checkout-button/view.asset.php} +1 -1
- package/dist/checkout-button/view.css +1 -0
- package/dist/checkout-button/view.rtl.css +1 -0
- 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 +3 -3
- package/dist/editor.rtl.css +1 -1
- package/dist/{donateCheckoutModal.asset.php → modal.asset.php} +1 -1
- package/dist/modal.css +1 -0
- package/dist/modal.js +1 -0
- package/dist/modal.rtl.css +1 -0
- package/dist/modalCheckout.asset.php +1 -0
- package/dist/modalCheckout.js +1 -0
- package/includes/class-modal-checkout.php +383 -0
- package/includes/class-newspack-blocks.php +30 -6
- package/newspack-blocks.php +3 -2
- package/package.json +3 -3
- package/src/blocks/carousel/edit.js +21 -0
- package/src/blocks/carousel/index.js +3 -0
- package/src/blocks/carousel/view.php +7 -0
- package/src/blocks/checkout-button/block.json +79 -0
- package/src/blocks/checkout-button/edit.js +247 -0
- package/src/blocks/checkout-button/edit.scss +40 -0
- package/src/blocks/checkout-button/editor.js +23 -0
- package/src/blocks/checkout-button/index.js +27 -0
- package/src/blocks/checkout-button/save.js +64 -0
- package/src/blocks/{donate/checkout-modal/index.js → checkout-button/view.js} +1 -1
- package/src/blocks/checkout-button/view.php +35 -0
- package/src/blocks/checkout-button/view.scss +18 -0
- package/src/blocks/donate/frontend/class-newspack-blocks-donate-renderer.php +1 -233
- package/src/blocks/donate/styles/view.scss +0 -95
- package/src/blocks/homepage-articles/block.json +5 -0
- package/src/blocks/homepage-articles/edit.js +18 -0
- package/src/blocks/homepage-articles/utils.ts +4 -0
- package/src/components/query-controls.js +60 -0
- package/src/{blocks/donate/checkout-modal/view.scss → modal-checkout/checkout.scss} +1 -1
- package/src/modal-checkout/index.js +4 -0
- package/src/{blocks/donate/checkout-modal/block.js → modal-checkout/modal.js} +14 -11
- package/src/modal-checkout/modal.scss +97 -0
- package/src/{blocks/donate → modal-checkout}/templates/checkout-form.php +3 -3
- package/src/types/index.d.ts +1 -0
- 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 +2 -2
- package/.cache/babel/1d8b42985da54f10a9bfd0a9f87b5844.json.gz +0 -0
- package/.cache/babel/37bd7f90c2e7ea1e10bf840775d1b262.json.gz +0 -0
- package/.cache/babel/3a66da0fe7ab175effa6a338812e46cb.json.gz +0 -0
- package/.cache/babel/4ba56fc2684f5bebdd2c8c488ea03683.json.gz +0 -0
- package/.cache/babel/60ac312fdf07fb7730b1a8a9c1b5bd5a.json.gz +0 -0
- package/.cache/babel/61d00fc8add441f0b915e3af4b518ead.json.gz +0 -0
- package/.cache/babel/646a7267e14986e70c74dc9c32ca6a14.json.gz +0 -0
- package/.cache/babel/7464c382b8a939e4e43f9349d76843a8.json.gz +0 -0
- package/.cache/babel/917cc52662d270e7c529afbf210a2703.json.gz +0 -0
- package/.cache/babel/a1dde270d38efa30dfbbfe2b97be9e51.json.gz +0 -0
- package/.cache/babel/a5447d9807699029636883e96c6aa4c6.json.gz +0 -0
- package/.cache/babel/a7575c7f77cb736dbfe8a4d01910cc79.json.gz +0 -0
- package/.cache/babel/b13e3fd47c6307f8c1f8786edc053ed9.json.gz +0 -0
- package/.cache/babel/b38122e026094b152ef69677468e4415.json.gz +0 -0
- package/.cache/babel/bb3ca1de54603d2730484164ed55902b.json.gz +0 -0
- package/.cache/babel/c762aee66625f48b1de4e3b329d8c9fe.json.gz +0 -0
- package/.cache/babel/c9d601b83fd7c6412dd9ac187c06d7c1.json.gz +0 -0
- package/.cache/babel/fa5e94ee19268ccad7790a312d6fca4e.json.gz +0 -0
- package/.cache/babel/fe8f3849250ae54c53096ec8db55a8d6.json.gz +0 -0
- package/.cache/babel/fe99fe0bebf3e9d74bb240487620bdd4.json.gz +0 -0
- package/dist/donateCheckoutBlock.js +0 -1
- /package/dist/{donateCheckoutModal.js → checkout-button/view.js} +0 -0
- /package/dist/{donateCheckoutModal.css → modalCheckout.css} +0 -0
- /package/dist/{donateCheckoutModal.rtl.css → modalCheckout.rtl.css} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '
|
|
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' => '
|
|
1
|
+
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'a4061072b4ae9f3f0b66be0b306738a8');
|
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-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%}
|
|
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}
|
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-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%}
|
|
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}
|
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' => 'dd5de8ce6b26f6125ff83715656a004a');
|