@automattic/newspack-blocks 3.0.0-epic-ras-acc.3 → 3.0.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/135eb7c6e583be53418b26a29fcc4d81.json.gz +0 -0
- package/.cache/babel/8b2ff59858cc47bf8aca96b47daeb4e4.json.gz +0 -0
- package/.cache/babel/a804bf1963e56137e59e37a567cb5e2e.json.gz +0 -0
- package/.cache/babel/b69c05682a3bd6b8f597906127dab44e.json.gz +0 -0
- package/.cache/babel/c04d2af94bb0f10f408a15534301cc86.json.gz +0 -0
- package/.cache/babel/c207b178210d4ceba7c186dfe43dcf2f.json.gz +0 -0
- package/.cache/babel/d21f5515648ce2a2349b0ee5cc787fce.json.gz +0 -0
- package/.cache/babel/d661309b03e38954105e706a32ef09f6.json.gz +0 -0
- package/CHANGELOG.md +40 -5
- 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 +9 -9
- package/dist/editor.rtl.css +1 -1
- package/dist/frequencyBased.asset.php +1 -1
- package/dist/frequencyBased.css +1 -1
- package/dist/frequencyBased.rtl.css +1 -1
- package/dist/modal.asset.php +1 -1
- package/dist/modal.css +1 -1
- package/dist/modal.js +1 -1
- package/dist/modal.rtl.css +1 -1
- package/dist/modalCheckout.asset.php +1 -1
- package/dist/modalCheckout.css +1 -1
- package/dist/modalCheckout.js +1 -1
- package/dist/modalCheckout.rtl.css +1 -1
- package/dist/tiersBased.asset.php +1 -1
- package/dist/tiersBased.css +1 -1
- package/dist/tiersBased.rtl.css +1 -1
- package/includes/class-modal-checkout.php +216 -391
- package/includes/class-newspack-blocks.php +50 -0
- package/newspack-blocks.php +2 -2
- package/package.json +3 -3
- package/src/blocks/checkout-button/block.json +1 -1
- package/src/blocks/checkout-button/edit.js +5 -1
- package/src/blocks/checkout-button/save.js +0 -1
- package/src/blocks/donate/block.json +1 -1
- package/src/blocks/donate/edit/FrequencyBasedLayout.tsx +53 -25
- package/src/blocks/donate/edit/TierBasedLayout.tsx +7 -26
- package/src/blocks/donate/edit/index.tsx +156 -143
- package/src/blocks/donate/frequency-based/style.scss +5 -0
- package/src/blocks/donate/frontend/class-newspack-blocks-donate-renderer-base.php +35 -17
- package/src/blocks/donate/frontend/class-newspack-blocks-donate-renderer-frequency-based.php +16 -0
- package/src/blocks/donate/frontend/class-newspack-blocks-donate-renderer-tiers-based.php +2 -19
- package/src/blocks/donate/styles/style-variations.scss +12 -0
- package/src/blocks/donate/styles/view.scss +9 -0
- package/src/blocks/donate/tiers-based/style.scss +0 -7
- package/src/blocks/donate/utils.ts +31 -0
- package/src/modal-checkout/checkout.scss +262 -28
- package/src/modal-checkout/index.js +27 -514
- package/src/modal-checkout/modal.js +152 -207
- package/src/modal-checkout/modal.scss +132 -181
- package/src/modal-checkout/templates/billing-form.php +43 -0
- package/src/modal-checkout/templates/checkout-form.php +173 -0
- package/src/modal-checkout/templates/thankyou.php +57 -30
- package/src/types/index.d.ts +4 -2
- 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/.cache/babel/37f0e4df17e44789e8d48acde638f234.json.gz +0 -0
- package/.cache/babel/4d450b37d365154f05b17cbf6a009255.json.gz +0 -0
- package/.cache/babel/66c198954745f6999e147aeb7b245a1d.json.gz +0 -0
- package/.cache/babel/87e2dc4a961b25b0de8d1a8ac88eea13.json.gz +0 -0
- package/.cache/babel/b0cc5af34ac0c62420f462d2cf3b15b9.json.gz +0 -0
- package/.cache/babel/b2f606089cd28c6a0e229e0328399e07.json.gz +0 -0
- package/.cache/babel/c7cfb8590e887722a3e715c72ee99bac.json.gz +0 -0
- package/.cache/babel/c9c728f25281edc8106e4b33e62e5db2.json.gz +0 -0
- package/src/modal-checkout/templates/empty-html-add-recipient.php +0 -15
- package/src/modal-checkout/templates/form-checkout.php +0 -50
- package/src/modal-checkout/templates/form-coupon.php +0 -23
- package/src/modal-checkout/templates/form-gift-subscription.php +0 -34
- package/src/modal-checkout/templates/payment-method.php +0 -26
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,51 @@
|
|
|
1
|
-
# [3.0.0
|
|
1
|
+
# [3.0.0](https://github.com/Automattic/newspack-blocks/compare/v2.6.2...v3.0.0) (2024-02-20)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* **
|
|
6
|
+
* **homepage-articles:** use map_deep to construct articles_rest_url and resolve PHP 8.1 warnings ([#1655](https://github.com/Automattic/newspack-blocks/issues/1655)) ([24085d8](https://github.com/Automattic/newspack-blocks/commit/24085d82c6eacf5b31956d3e07303badeaccbe6d))
|
|
7
|
+
* prevent error in modal-checkout check ([7e2a6c7](https://github.com/Automattic/newspack-blocks/commit/7e2a6c75a28b5a1a6316e45151dbe51c5ae8f72b))
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
### Features
|
|
10
11
|
|
|
11
|
-
* **
|
|
12
|
-
*
|
|
13
|
-
* **
|
|
12
|
+
* **ci:** add `epic/*` release workflow and rename `master` to `trunk` ([#1656](https://github.com/Automattic/newspack-blocks/issues/1656)) ([c788e55](https://github.com/Automattic/newspack-blocks/commit/c788e55d58cd7c72310f65d83f14f9e0960c6871))
|
|
13
|
+
* deprecate streamlined (Stripe) Donate block version ([#1638](https://github.com/Automattic/newspack-blocks/issues/1638)) ([11bd0d6](https://github.com/Automattic/newspack-blocks/commit/11bd0d620d882a72f631dfe08f808ddde3308665))
|
|
14
|
+
* **homepage-posts:** add custom taxonomy exclusions filter ([#1641](https://github.com/Automattic/newspack-blocks/issues/1641)) ([b140a99](https://github.com/Automattic/newspack-blocks/commit/b140a99c86cd1a3e825bb0a585225a95652ef331))
|
|
15
|
+
* **reader-revenue:** make NYP and Stripe Gateway optional ([#1645](https://github.com/Automattic/newspack-blocks/issues/1645)) ([1322d7c](https://github.com/Automattic/newspack-blocks/commit/1322d7c4c9c1bab175a2c48ab2d359555d459eea))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### BREAKING CHANGES
|
|
19
|
+
|
|
20
|
+
* streamlined (Stripe) Donate block version is no more
|
|
21
|
+
|
|
22
|
+
# [3.0.0-alpha.1](https://github.com/Automattic/newspack-blocks/compare/v2.6.2...v3.0.0-alpha.1) (2024-02-08)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* **homepage-articles:** use map_deep to construct articles_rest_url and resolve PHP 8.1 warnings ([#1655](https://github.com/Automattic/newspack-blocks/issues/1655)) ([24085d8](https://github.com/Automattic/newspack-blocks/commit/24085d82c6eacf5b31956d3e07303badeaccbe6d))
|
|
28
|
+
* prevent error in modal-checkout check ([7e2a6c7](https://github.com/Automattic/newspack-blocks/commit/7e2a6c75a28b5a1a6316e45151dbe51c5ae8f72b))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* **ci:** add `epic/*` release workflow and rename `master` to `trunk` ([#1656](https://github.com/Automattic/newspack-blocks/issues/1656)) ([c788e55](https://github.com/Automattic/newspack-blocks/commit/c788e55d58cd7c72310f65d83f14f9e0960c6871))
|
|
34
|
+
* deprecate streamlined (Stripe) Donate block version ([#1638](https://github.com/Automattic/newspack-blocks/issues/1638)) ([11bd0d6](https://github.com/Automattic/newspack-blocks/commit/11bd0d620d882a72f631dfe08f808ddde3308665))
|
|
35
|
+
* **homepage-posts:** add custom taxonomy exclusions filter ([#1641](https://github.com/Automattic/newspack-blocks/issues/1641)) ([b140a99](https://github.com/Automattic/newspack-blocks/commit/b140a99c86cd1a3e825bb0a585225a95652ef331))
|
|
36
|
+
* **reader-revenue:** make NYP and Stripe Gateway optional ([#1645](https://github.com/Automattic/newspack-blocks/issues/1645)) ([1322d7c](https://github.com/Automattic/newspack-blocks/commit/1322d7c4c9c1bab175a2c48ab2d359555d459eea))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### BREAKING CHANGES
|
|
40
|
+
|
|
41
|
+
* streamlined (Stripe) Donate block version is no more
|
|
42
|
+
|
|
43
|
+
## [2.6.2](https://github.com/Automattic/newspack-blocks/compare/v2.6.1...v2.6.2) (2024-02-08)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Bug Fixes
|
|
47
|
+
|
|
48
|
+
* properly handle states when Country field is disabled ([#1667](https://github.com/Automattic/newspack-blocks/issues/1667)) ([eecce3b](https://github.com/Automattic/newspack-blocks/commit/eecce3bca1f1ace6da63bb4aba83425f3adb4586))
|
|
14
49
|
|
|
15
50
|
## [2.6.1](https://github.com/Automattic/newspack-blocks/compare/v2.6.0...v2.6.1) (2024-01-31)
|
|
16
51
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '
|
|
1
|
+
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'f490cd24994b1ab5abca5bf0577b81ea');
|
package/dist/donate/view.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.wpbnbd.is-style-default .wpbnbd__button{padding:.38rem .76rem}.wpbnbd.is-style-default .wpbnbd__button:focus,.wpbnbd.is-style-default .wpbnbd__button:hover{background:#f1f1f1}.wpbnbd.is-style-default .wpbnbd__tiers__selection>button{flex:1}.wpbnbd.is-style-default.wpbnbd--frequency-based .wpbnbd__button{border-width:0 0 1px}.wpbnbd.is-style-default.wpbnbd--frequency-based .wpbnbd__button--active{background:#fff;border-bottom:0}.wpbnbd.is-style-default.wpbnbd-frequencies--2 .tab-container .freq-label:nth-of-type(2){border-left-width:1px}.wpbnbd.is-style-default.wpbnbd-frequencies--3 .tab-container .freq-label:nth-of-type(2){border-left-width:1px;border-right-width:1px}.wpbnbd.is-style-alternate{border-color:#f1f1f1;border-radius:5px}.wpbnbd.is-style-alternate .thanks{margin:1.12rem}.wpbnbd.is-style-alternate .money-input{max-width:100%}.wpbnbd.is-style-alternate .money-input input[type=number]{max-width:100%;width:100%}.wpbnbd.is-style-alternate.untiered .input-container{margin:1.12rem}.wpbnbd.is-style-alternate.tiered .tiers .tier-label{background:#f1f1f1;border-color:#f1f1f1;margin:0;text-align:center}.wpbnbd.is-style-alternate.tiered .money-input{bottom:0;left:0;right:0}.wpbnbd.is-style-alternate .tab-container .freq-label,.wpbnbd.is-style-alternate .wpbnbd__tiers__selection{background:#f1f1f1;border-color:#f1f1f1}.wpbnbd.is-style-alternate .wpbnbd__tiers__selection{width:-webkit-min-content;width:-moz-min-content;width:min-content;margin-left:auto;margin-right:auto;padding:5px;border-radius:5px}.wpbnbd.is-style-alternate .wpbnbd__tiers__selection .wpbnbd__button{color:#111;padding:0 15px}.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button{border:.19rem solid transparent}.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button--active{border-color:#fff}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:after,.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button--active{background:#fff;border-radius:5px;box-shadow:0 0 0 1px #ccc}.wpbnbd.is-style-alternate .tab-container .freq-label{border-width:1px;padding:calc(.57rem + 1px) .5rem;position:relative}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .tab-container .freq-label{padding:calc(.57rem + 1px) .76rem}}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active{color:#111}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:after{box-sizing:content-box;content:"";display:block;inset:.19rem;position:absolute;z-index:-1}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:hover{background:#f1f1f1}.wpbnbd.is-style-alternate .frequencies input[type=radio]:checked~.tiers{display:grid;grid-gap:.28rem;grid-template-columns:repeat(2,1fr);margin:1.12rem}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .frequencies input[type=radio]:checked~.tiers{grid-template-columns:repeat(4,1fr);grid-gap:.56rem}}.wpbnbd.is-style-alternate.is-style-default button{border-top-left-radius:0;border-top-right-radius:0;margin:0 -1px -1px;width:calc(100% + 2px)}.wpbnbd.is-style-minimal{border:none}.wpbnbd.is-style-minimal form{text-align:center}.wpbnbd.is-style-minimal .thanks{margin:1.12rem 0}.wpbnbd.is-style-minimal .money-input{max-width:100%}.wpbnbd.is-style-minimal .money-input input[type=number]{max-width:100%;width:100%}.wpbnbd.is-style-minimal.untiered .input-container{margin:.56rem 0 1.12rem;text-align:left}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button{position:relative;border:none;padding:8px;min-width:50%}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button:after{position:absolute;content:"";display:block;height:1px;background:#ccc;width:100%;left:0;bottom:0}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button--active:after{height:3px;background:#111}.wpbnbd.is-style-minimal .wpbnbd__tiers__back-button{margin-bottom:10px}.wpbnbd.is-style-minimal.tiered .tiers .tier-label{align-items:center;display:grid;background:transparent;border:none;color:#767676;font-family:inherit;font-weight:inherit;grid-gap:.25rem;grid-template-columns:auto 1fr;margin:0;padding:0;text-align:left}.wpbnbd.is-style-minimal.tiered .tiers .tier-label:before{background:#fff;border:1px solid #ccc;border-radius:100%;box-shadow:inset 0 0 0 3px #fff;content:"";display:block;height:20px;padding:3px;width:20px}.wpbnbd.is-style-minimal.tiered .tiers .tier-label:hover{color:inherit}.wpbnbd.is-style-minimal.tiered .tiers input[type=radio]:checked+.tier-select-label{background:none;color:inherit}.wpbnbd.is-style-minimal.tiered .tiers input[type=radio]:checked+.tier-select-label:before{background:currentcolor}.wpbnbd.is-style-minimal.tiered .money-input{bottom:0;left:0;right:0}.wpbnbd.is-style-minimal .tab-container .freq-label{background:transparent;border:none;box-shadow:0 3px 0 #fff,0 4px 0 0 #ccc;padding:.38rem 0;transition:none}@media only screen and (min-width:782px){.wpbnbd.is-style-minimal .tab-container .freq-label{padding-left:.76rem;padding-right:.76rem}}.wpbnbd.is-style-minimal .tab-container .freq-label:before{border-width:1px;border-color:#ccc}.wpbnbd.is-style-minimal .tab-container .freq-label.wpbnbd__button--active{box-shadow:0 4px 0 currentcolor}.wpbnbd.is-style-minimal .frequency input[type=radio]:checked~.tiers{display:flex;flex-wrap:wrap;grid-gap:1.12rem;justify-content:center;margin:1.12rem 0}@media only screen and (min-width:600px){.wpbnbd.is-style-minimal .frequency input[type=radio]:checked~.tiers{display:grid;grid-gap:.56rem;grid-template-columns:repeat(4,1fr)}}.wpbnbd.is-style-minimal button[type=submit]{margin:0 auto;min-width:50%}.wpbnbd .tab-container .freq-label,.wpbnbd__button{border:0 solid #ccc;background:#fff;color:#767676;line-height:1.6;text-overflow:ellipsis;text-align:center}.wpbnbd .tab-container .freq-label--active,.wpbnbd .tab-container .freq-label:focus,.wpbnbd .tab-container .freq-label:hover,.wpbnbd__button--active,.wpbnbd__button:focus,.wpbnbd__button:hover{color:#111}.wpbnbd mark{background-color:transparent}
|
|
1
|
+
.wpbnbd.is-style-default .wpbnbd__button{padding:.38rem .76rem}.wpbnbd.is-style-default .wpbnbd__button:focus,.wpbnbd.is-style-default .wpbnbd__button:hover{background:#f1f1f1}.wpbnbd.is-style-default .wpbnbd__tiers__selection>button{flex:1}.wpbnbd.is-style-default.wpbnbd--frequency-based .wpbnbd__button{border-width:0 0 1px}.wpbnbd.is-style-default.wpbnbd--frequency-based .wpbnbd__button--active{background:#fff;border-bottom:0}.wpbnbd.is-style-default.wpbnbd-frequencies--2 .tab-container .freq-label:nth-of-type(2){border-left-width:1px}.wpbnbd.is-style-default.wpbnbd-frequencies--3 .tab-container .freq-label:nth-of-type(2){border-left-width:1px;border-right-width:1px}.wpbnbd.is-style-alternate{border-color:#f1f1f1;border-radius:5px}.wpbnbd.is-style-alternate .thanks{margin:1.12rem}.wpbnbd.is-style-alternate .money-input{max-width:100%}.wpbnbd.is-style-alternate .money-input input[type=number]{max-width:100%;width:100%}.wpbnbd.is-style-alternate.untiered .input-container{margin:1.12rem}.wpbnbd.is-style-alternate.tiered .tiers .tier-label{background:#f1f1f1;border-color:#f1f1f1;margin:0;text-align:center}.wpbnbd.is-style-alternate.tiered .money-input{bottom:0;left:0;right:0}.wpbnbd.is-style-alternate .tab-container .freq-label,.wpbnbd.is-style-alternate .wpbnbd__tiers__selection{background:#f1f1f1;border-color:#f1f1f1}.wpbnbd.is-style-alternate .wpbnbd__tiers__selection{width:-webkit-min-content;width:-moz-min-content;width:min-content;margin-left:auto;margin-right:auto;padding:5px;border-radius:5px}.wpbnbd.is-style-alternate .wpbnbd__tiers__selection .wpbnbd__button{color:#111;padding:0 15px}.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button{border:.19rem solid transparent}.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button--active{border-color:#fff}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:after,.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button--active{background:#fff;border-radius:5px;box-shadow:0 0 0 1px #ccc}.wpbnbd.is-style-alternate .tab-container .freq-label{border-width:1px;padding:calc(.57rem + 1px) .5rem;position:relative}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .tab-container .freq-label{padding:calc(.57rem + 1px) .76rem}}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active{color:#111}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:after{box-sizing:content-box;content:"";display:block;inset:.19rem;position:absolute;z-index:-1}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:hover{background:#f1f1f1}.wpbnbd.is-style-alternate .frequencies input[type=radio]:checked~.tiers{display:grid;grid-gap:.28rem;grid-template-columns:repeat(2,1fr);margin:1.12rem}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .frequencies input[type=radio]:checked~.tiers{grid-template-columns:repeat(4,1fr);grid-gap:.56rem}}.wpbnbd.is-style-alternate.is-style-default button{border-top-left-radius:0;border-top-right-radius:0;margin:0 -1px -1px;width:calc(100% + 2px)}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate.wpbnbd--nyp-disabled .frequencies input[type=radio]:checked~.tiers{grid-template-columns:repeat(3,1fr)}}.wpbnbd.is-style-minimal{border:none}.wpbnbd.is-style-minimal form{text-align:center}.wpbnbd.is-style-minimal .thanks{margin:1.12rem 0}.wpbnbd.is-style-minimal .money-input{max-width:100%}.wpbnbd.is-style-minimal .money-input input[type=number]{max-width:100%;width:100%}.wpbnbd.is-style-minimal.untiered .input-container{margin:.56rem 0 1.12rem;text-align:left}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button{position:relative;border:none;padding:8px;min-width:50%}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button:after{position:absolute;content:"";display:block;height:1px;background:#ccc;width:100%;left:0;bottom:0}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button--active:after{height:3px;background:#111}.wpbnbd.is-style-minimal .wpbnbd__tiers__back-button{margin-bottom:10px}.wpbnbd.is-style-minimal.tiered .tiers .tier-label{align-items:center;display:grid;background:transparent;border:none;color:#767676;font-family:inherit;font-weight:inherit;grid-gap:.25rem;grid-template-columns:auto 1fr;margin:0;padding:0;text-align:left}.wpbnbd.is-style-minimal.tiered .tiers .tier-label:before{background:#fff;border:1px solid #ccc;border-radius:100%;box-shadow:inset 0 0 0 3px #fff;content:"";display:block;height:20px;padding:3px;width:20px}.wpbnbd.is-style-minimal.tiered .tiers .tier-label:hover{color:inherit}.wpbnbd.is-style-minimal.tiered .tiers input[type=radio]:checked+.tier-select-label{background:none;color:inherit}.wpbnbd.is-style-minimal.tiered .tiers input[type=radio]:checked+.tier-select-label:before{background:currentcolor}.wpbnbd.is-style-minimal.tiered .money-input{bottom:0;left:0;right:0}.wpbnbd.is-style-minimal .tab-container .freq-label{background:transparent;border:none;box-shadow:0 3px 0 #fff,0 4px 0 0 #ccc;padding:.38rem 0;transition:none}@media only screen and (min-width:782px){.wpbnbd.is-style-minimal .tab-container .freq-label{padding-left:.76rem;padding-right:.76rem}}.wpbnbd.is-style-minimal .tab-container .freq-label:before{border-width:1px;border-color:#ccc}.wpbnbd.is-style-minimal .tab-container .freq-label.wpbnbd__button--active{box-shadow:0 4px 0 currentcolor}.wpbnbd.is-style-minimal .frequency input[type=radio]:checked~.tiers{display:flex;flex-wrap:wrap;grid-gap:1.12rem;justify-content:center;margin:1.12rem 0}@media only screen and (min-width:600px){.wpbnbd.is-style-minimal .frequency input[type=radio]:checked~.tiers{display:grid;grid-gap:.56rem;grid-template-columns:repeat(4,1fr)}}.wpbnbd.is-style-minimal button[type=submit]{margin:0 auto;min-width:50%}@media only screen and (min-width:600px){.wpbnbd.is-style-minimal.wpbnbd--nyp-disabled .frequency input[type=radio]:checked~.tiers{grid-template-columns:repeat(3,1fr)}}.wpbnbd .tab-container .freq-label,.wpbnbd__button{border:0 solid #ccc;background:#fff;color:#767676;line-height:1.6;text-overflow:ellipsis;text-align:center}.wpbnbd .tab-container .freq-label--active,.wpbnbd .tab-container .freq-label:focus,.wpbnbd .tab-container .freq-label:hover,.wpbnbd__button--active,.wpbnbd__button:focus,.wpbnbd__button:hover{color:#111}.wpbnbd__tiers__amount__value{font-size:13px}.wpbnbd__tiers__amount__value .woocommerce-Price-amount{display:inline;font-size:29px;font-weight:700}.wpbnbd mark{background-color:transparent}
|
package/dist/donate/view.rtl.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.wpbnbd.is-style-default .wpbnbd__button{padding:.38rem .76rem}.wpbnbd.is-style-default .wpbnbd__button:focus,.wpbnbd.is-style-default .wpbnbd__button:hover{background:#f1f1f1}.wpbnbd.is-style-default .wpbnbd__tiers__selection>button{flex:1}.wpbnbd.is-style-default.wpbnbd--frequency-based .wpbnbd__button{border-width:0 0 1px}.wpbnbd.is-style-default.wpbnbd--frequency-based .wpbnbd__button--active{background:#fff;border-bottom:0}.wpbnbd.is-style-default.wpbnbd-frequencies--2 .tab-container .freq-label:nth-of-type(2){border-right-width:1px}.wpbnbd.is-style-default.wpbnbd-frequencies--3 .tab-container .freq-label:nth-of-type(2){border-right-width:1px;border-left-width:1px}.wpbnbd.is-style-alternate{border-color:#f1f1f1;border-radius:5px}.wpbnbd.is-style-alternate .thanks{margin:1.12rem}.wpbnbd.is-style-alternate .money-input{max-width:100%}.wpbnbd.is-style-alternate .money-input input[type=number]{max-width:100%;width:100%}.wpbnbd.is-style-alternate.untiered .input-container{margin:1.12rem}.wpbnbd.is-style-alternate.tiered .tiers .tier-label{background:#f1f1f1;border-color:#f1f1f1;margin:0;text-align:center}.wpbnbd.is-style-alternate.tiered .money-input{bottom:0;right:0;left:0}.wpbnbd.is-style-alternate .tab-container .freq-label,.wpbnbd.is-style-alternate .wpbnbd__tiers__selection{background:#f1f1f1;border-color:#f1f1f1}.wpbnbd.is-style-alternate .wpbnbd__tiers__selection{width:-webkit-min-content;width:-moz-min-content;width:min-content;margin-right:auto;margin-left:auto;padding:5px;border-radius:5px}.wpbnbd.is-style-alternate .wpbnbd__tiers__selection .wpbnbd__button{color:#111;padding:0 15px}.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button{border:.19rem solid transparent}.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button--active{border-color:#fff}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:after,.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button--active{background:#fff;border-radius:5px;box-shadow:0 0 0 1px #ccc}.wpbnbd.is-style-alternate .tab-container .freq-label{border-width:1px;padding:calc(.57rem + 1px) .5rem;position:relative}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .tab-container .freq-label{padding:calc(.57rem + 1px) .76rem}}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active{color:#111}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:after{box-sizing:content-box;content:"";display:block;inset:.19rem;position:absolute;z-index:-1}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:hover{background:#f1f1f1}.wpbnbd.is-style-alternate .frequencies input[type=radio]:checked~.tiers{display:grid;grid-gap:.28rem;grid-template-columns:repeat(2,1fr);margin:1.12rem}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .frequencies input[type=radio]:checked~.tiers{grid-template-columns:repeat(4,1fr);grid-gap:.56rem}}.wpbnbd.is-style-alternate.is-style-default button{border-top-right-radius:0;border-top-left-radius:0;margin:0 -1px -1px;width:calc(100% + 2px)}.wpbnbd.is-style-minimal{border:none}.wpbnbd.is-style-minimal form{text-align:center}.wpbnbd.is-style-minimal .thanks{margin:1.12rem 0}.wpbnbd.is-style-minimal .money-input{max-width:100%}.wpbnbd.is-style-minimal .money-input input[type=number]{max-width:100%;width:100%}.wpbnbd.is-style-minimal.untiered .input-container{margin:.56rem 0 1.12rem;text-align:right}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button{position:relative;border:none;padding:8px;min-width:50%}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button:after{position:absolute;content:"";display:block;height:1px;background:#ccc;width:100%;right:0;bottom:0}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button--active:after{height:3px;background:#111}.wpbnbd.is-style-minimal .wpbnbd__tiers__back-button{margin-bottom:10px}.wpbnbd.is-style-minimal.tiered .tiers .tier-label{align-items:center;display:grid;background:transparent;border:none;color:#767676;font-family:inherit;font-weight:inherit;grid-gap:.25rem;grid-template-columns:auto 1fr;margin:0;padding:0;text-align:right}.wpbnbd.is-style-minimal.tiered .tiers .tier-label:before{background:#fff;border:1px solid #ccc;border-radius:100%;box-shadow:inset 0 0 0 3px #fff;content:"";display:block;height:20px;padding:3px;width:20px}.wpbnbd.is-style-minimal.tiered .tiers .tier-label:hover{color:inherit}.wpbnbd.is-style-minimal.tiered .tiers input[type=radio]:checked+.tier-select-label{background:none;color:inherit}.wpbnbd.is-style-minimal.tiered .tiers input[type=radio]:checked+.tier-select-label:before{background:currentcolor}.wpbnbd.is-style-minimal.tiered .money-input{bottom:0;right:0;left:0}.wpbnbd.is-style-minimal .tab-container .freq-label{background:transparent;border:none;box-shadow:0 3px 0 #fff,0 4px 0 0 #ccc;padding:.38rem 0;transition:none}@media only screen and (min-width:782px){.wpbnbd.is-style-minimal .tab-container .freq-label{padding-right:.76rem;padding-left:.76rem}}.wpbnbd.is-style-minimal .tab-container .freq-label:before{border-width:1px;border-color:#ccc}.wpbnbd.is-style-minimal .tab-container .freq-label.wpbnbd__button--active{box-shadow:0 4px 0 currentcolor}.wpbnbd.is-style-minimal .frequency input[type=radio]:checked~.tiers{display:flex;flex-wrap:wrap;grid-gap:1.12rem;justify-content:center;margin:1.12rem 0}@media only screen and (min-width:600px){.wpbnbd.is-style-minimal .frequency input[type=radio]:checked~.tiers{display:grid;grid-gap:.56rem;grid-template-columns:repeat(4,1fr)}}.wpbnbd.is-style-minimal button[type=submit]{margin:0 auto;min-width:50%}.wpbnbd .tab-container .freq-label,.wpbnbd__button{border:0 solid #ccc;background:#fff;color:#767676;line-height:1.6;text-overflow:ellipsis;text-align:center}.wpbnbd .tab-container .freq-label--active,.wpbnbd .tab-container .freq-label:focus,.wpbnbd .tab-container .freq-label:hover,.wpbnbd__button--active,.wpbnbd__button:focus,.wpbnbd__button:hover{color:#111}.wpbnbd mark{background-color:transparent}
|
|
1
|
+
.wpbnbd.is-style-default .wpbnbd__button{padding:.38rem .76rem}.wpbnbd.is-style-default .wpbnbd__button:focus,.wpbnbd.is-style-default .wpbnbd__button:hover{background:#f1f1f1}.wpbnbd.is-style-default .wpbnbd__tiers__selection>button{flex:1}.wpbnbd.is-style-default.wpbnbd--frequency-based .wpbnbd__button{border-width:0 0 1px}.wpbnbd.is-style-default.wpbnbd--frequency-based .wpbnbd__button--active{background:#fff;border-bottom:0}.wpbnbd.is-style-default.wpbnbd-frequencies--2 .tab-container .freq-label:nth-of-type(2){border-right-width:1px}.wpbnbd.is-style-default.wpbnbd-frequencies--3 .tab-container .freq-label:nth-of-type(2){border-right-width:1px;border-left-width:1px}.wpbnbd.is-style-alternate{border-color:#f1f1f1;border-radius:5px}.wpbnbd.is-style-alternate .thanks{margin:1.12rem}.wpbnbd.is-style-alternate .money-input{max-width:100%}.wpbnbd.is-style-alternate .money-input input[type=number]{max-width:100%;width:100%}.wpbnbd.is-style-alternate.untiered .input-container{margin:1.12rem}.wpbnbd.is-style-alternate.tiered .tiers .tier-label{background:#f1f1f1;border-color:#f1f1f1;margin:0;text-align:center}.wpbnbd.is-style-alternate.tiered .money-input{bottom:0;right:0;left:0}.wpbnbd.is-style-alternate .tab-container .freq-label,.wpbnbd.is-style-alternate .wpbnbd__tiers__selection{background:#f1f1f1;border-color:#f1f1f1}.wpbnbd.is-style-alternate .wpbnbd__tiers__selection{width:-webkit-min-content;width:-moz-min-content;width:min-content;margin-right:auto;margin-left:auto;padding:5px;border-radius:5px}.wpbnbd.is-style-alternate .wpbnbd__tiers__selection .wpbnbd__button{color:#111;padding:0 15px}.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button{border:.19rem solid transparent}.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button--active{border-color:#fff}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:after,.wpbnbd.is-style-alternate .wpbnbd__tiers .wpbnbd__button--active{background:#fff;border-radius:5px;box-shadow:0 0 0 1px #ccc}.wpbnbd.is-style-alternate .tab-container .freq-label{border-width:1px;padding:calc(.57rem + 1px) .5rem;position:relative}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .tab-container .freq-label{padding:calc(.57rem + 1px) .76rem}}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active{color:#111}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:after{box-sizing:content-box;content:"";display:block;inset:.19rem;position:absolute;z-index:-1}.wpbnbd.is-style-alternate .tab-container .freq-label.wpbnbd__button--active:hover{background:#f1f1f1}.wpbnbd.is-style-alternate .frequencies input[type=radio]:checked~.tiers{display:grid;grid-gap:.28rem;grid-template-columns:repeat(2,1fr);margin:1.12rem}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate .frequencies input[type=radio]:checked~.tiers{grid-template-columns:repeat(4,1fr);grid-gap:.56rem}}.wpbnbd.is-style-alternate.is-style-default button{border-top-right-radius:0;border-top-left-radius:0;margin:0 -1px -1px;width:calc(100% + 2px)}@media only screen and (min-width:600px){.wpbnbd.is-style-alternate.wpbnbd--nyp-disabled .frequencies input[type=radio]:checked~.tiers{grid-template-columns:repeat(3,1fr)}}.wpbnbd.is-style-minimal{border:none}.wpbnbd.is-style-minimal form{text-align:center}.wpbnbd.is-style-minimal .thanks{margin:1.12rem 0}.wpbnbd.is-style-minimal .money-input{max-width:100%}.wpbnbd.is-style-minimal .money-input input[type=number]{max-width:100%;width:100%}.wpbnbd.is-style-minimal.untiered .input-container{margin:.56rem 0 1.12rem;text-align:right}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button{position:relative;border:none;padding:8px;min-width:50%}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button:after{position:absolute;content:"";display:block;height:1px;background:#ccc;width:100%;right:0;bottom:0}.wpbnbd.is-style-minimal .wpbnbd__tiers__selection .wpbnbd__button--active:after{height:3px;background:#111}.wpbnbd.is-style-minimal .wpbnbd__tiers__back-button{margin-bottom:10px}.wpbnbd.is-style-minimal.tiered .tiers .tier-label{align-items:center;display:grid;background:transparent;border:none;color:#767676;font-family:inherit;font-weight:inherit;grid-gap:.25rem;grid-template-columns:auto 1fr;margin:0;padding:0;text-align:right}.wpbnbd.is-style-minimal.tiered .tiers .tier-label:before{background:#fff;border:1px solid #ccc;border-radius:100%;box-shadow:inset 0 0 0 3px #fff;content:"";display:block;height:20px;padding:3px;width:20px}.wpbnbd.is-style-minimal.tiered .tiers .tier-label:hover{color:inherit}.wpbnbd.is-style-minimal.tiered .tiers input[type=radio]:checked+.tier-select-label{background:none;color:inherit}.wpbnbd.is-style-minimal.tiered .tiers input[type=radio]:checked+.tier-select-label:before{background:currentcolor}.wpbnbd.is-style-minimal.tiered .money-input{bottom:0;right:0;left:0}.wpbnbd.is-style-minimal .tab-container .freq-label{background:transparent;border:none;box-shadow:0 3px 0 #fff,0 4px 0 0 #ccc;padding:.38rem 0;transition:none}@media only screen and (min-width:782px){.wpbnbd.is-style-minimal .tab-container .freq-label{padding-right:.76rem;padding-left:.76rem}}.wpbnbd.is-style-minimal .tab-container .freq-label:before{border-width:1px;border-color:#ccc}.wpbnbd.is-style-minimal .tab-container .freq-label.wpbnbd__button--active{box-shadow:0 4px 0 currentcolor}.wpbnbd.is-style-minimal .frequency input[type=radio]:checked~.tiers{display:flex;flex-wrap:wrap;grid-gap:1.12rem;justify-content:center;margin:1.12rem 0}@media only screen and (min-width:600px){.wpbnbd.is-style-minimal .frequency input[type=radio]:checked~.tiers{display:grid;grid-gap:.56rem;grid-template-columns:repeat(4,1fr)}}.wpbnbd.is-style-minimal button[type=submit]{margin:0 auto;min-width:50%}@media only screen and (min-width:600px){.wpbnbd.is-style-minimal.wpbnbd--nyp-disabled .frequency input[type=radio]:checked~.tiers{grid-template-columns:repeat(3,1fr)}}.wpbnbd .tab-container .freq-label,.wpbnbd__button{border:0 solid #ccc;background:#fff;color:#767676;line-height:1.6;text-overflow:ellipsis;text-align:center}.wpbnbd .tab-container .freq-label--active,.wpbnbd .tab-container .freq-label:focus,.wpbnbd .tab-container .freq-label:hover,.wpbnbd__button--active,.wpbnbd__button:focus,.wpbnbd__button:hover{color:#111}.wpbnbd__tiers__amount__value{font-size:13px}.wpbnbd__tiers__amount__value .woocommerce-Price-amount{display:inline;font-size:29px;font-weight:700}.wpbnbd mark{background-color:transparent}
|
package/dist/editor.asset.php
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '
|
|
1
|
+
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '89aeb9e84cce10fdd328fccacdd111fe');
|