@automattic/newspack-blocks 3.2.0-epic-ras-acc.3 → 3.2.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 (39) hide show
  1. package/.cache/babel/7130d9ebcd9f0b26547fa7698d425931.json.gz +0 -0
  2. package/.cache/babel/aa03d0a47dee70071028cc1a1ab346ef.json.gz +0 -0
  3. package/.cache/babel/b69c05682a3bd6b8f597906127dab44e.json.gz +0 -0
  4. package/CHANGELOG.md +25 -2
  5. package/dist/editor.asset.php +1 -1
  6. package/dist/editor.js +1 -1
  7. package/dist/modal.asset.php +1 -1
  8. package/dist/modal.css +1 -1
  9. package/dist/modal.js +1 -1
  10. package/dist/modal.rtl.css +1 -1
  11. package/dist/modalCheckout.asset.php +1 -1
  12. package/dist/modalCheckout.css +1 -1
  13. package/dist/modalCheckout.js +1 -1
  14. package/dist/modalCheckout.rtl.css +1 -1
  15. package/includes/class-modal-checkout.php +256 -625
  16. package/newspack-blocks.php +2 -2
  17. package/package.json +3 -3
  18. package/src/blocks/checkout-button/block.json +1 -1
  19. package/src/blocks/checkout-button/save.js +0 -1
  20. package/src/blocks/donate/block.json +1 -1
  21. package/src/modal-checkout/checkout.scss +265 -57
  22. package/src/modal-checkout/index.js +27 -572
  23. package/src/modal-checkout/modal.js +152 -197
  24. package/src/modal-checkout/modal.scss +132 -181
  25. package/src/modal-checkout/templates/billing-form.php +43 -0
  26. package/src/modal-checkout/templates/checkout-form.php +179 -0
  27. package/src/modal-checkout/templates/thankyou.php +57 -29
  28. package/vendor/autoload.php +1 -1
  29. package/vendor/composer/autoload_real.php +4 -4
  30. package/vendor/composer/autoload_static.php +2 -2
  31. package/vendor/composer/installed.php +2 -2
  32. package/.cache/babel/37f0e4df17e44789e8d48acde638f234.json.gz +0 -0
  33. package/.cache/babel/a6ac8f20fe627b1a20b06a2b90385630.json.gz +0 -0
  34. package/.cache/babel/bdfbe27d80b300142734cdcca440086a.json.gz +0 -0
  35. package/src/modal-checkout/templates/empty-html-add-recipient.php +0 -15
  36. package/src/modal-checkout/templates/form-checkout.php +0 -52
  37. package/src/modal-checkout/templates/form-coupon.php +0 -23
  38. package/src/modal-checkout/templates/form-gift-subscription.php +0 -34
  39. package/src/modal-checkout/templates/payment-method.php +0 -26
package/CHANGELOG.md CHANGED
@@ -1,9 +1,32 @@
1
- # [3.2.0-epic-ras-acc.3](https://github.com/Automattic/newspack-blocks/compare/v3.2.0-epic-ras-acc.2...v3.2.0-epic-ras-acc.3) (2024-05-29)
1
+ # [3.2.0](https://github.com/Automattic/newspack-blocks/compare/v3.1.0...v3.2.0) (2024-05-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **donate-block:** fix typo in textdomain and color variables ([#1738](https://github.com/Automattic/newspack-blocks/issues/1738)) ([7f7de88](https://github.com/Automattic/newspack-blocks/commit/7f7de8847f254c4f55b875b6476ff0334fdeba11))
7
+ * modal checkout continue button ([#1733](https://github.com/Automattic/newspack-blocks/issues/1733)) ([c672d4a](https://github.com/Automattic/newspack-blocks/commit/c672d4a26547f7948799c86b1ab7569bf31c40f2))
8
+ * respect subscriptions limiter, and handle cart errors in modal ([#1728](https://github.com/Automattic/newspack-blocks/issues/1728)) ([8a828fa](https://github.com/Automattic/newspack-blocks/commit/8a828fae726757c748ff97562c1a4fb6e8536e0c))
9
+
10
+
11
+ ### Features
12
+
13
+ * **donate:** add new "Modern" style variation ([#1734](https://github.com/Automattic/newspack-blocks/issues/1734)) ([b83d840](https://github.com/Automattic/newspack-blocks/commit/b83d8400957c179c2c228bc8c1ea87deb047c2aa))
14
+ * update donations patterns and add new one ([#1731](https://github.com/Automattic/newspack-blocks/issues/1731)) ([607c93a](https://github.com/Automattic/newspack-blocks/commit/607c93ad5a207615eb79e9ff4871b2542caaed0b))
15
+
16
+ # [3.2.0-alpha.1](https://github.com/Automattic/newspack-blocks/compare/v3.1.0...v3.2.0-alpha.1) (2024-05-20)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * **donate-block:** fix typo in textdomain and color variables ([#1738](https://github.com/Automattic/newspack-blocks/issues/1738)) ([7f7de88](https://github.com/Automattic/newspack-blocks/commit/7f7de8847f254c4f55b875b6476ff0334fdeba11))
22
+ * modal checkout continue button ([#1733](https://github.com/Automattic/newspack-blocks/issues/1733)) ([c672d4a](https://github.com/Automattic/newspack-blocks/commit/c672d4a26547f7948799c86b1ab7569bf31c40f2))
23
+ * respect subscriptions limiter, and handle cart errors in modal ([#1728](https://github.com/Automattic/newspack-blocks/issues/1728)) ([8a828fa](https://github.com/Automattic/newspack-blocks/commit/8a828fae726757c748ff97562c1a4fb6e8536e0c))
2
24
 
3
25
 
4
26
  ### Features
5
27
 
6
- * **ras-acc:** add name your price support to checkout button ([#1730](https://github.com/Automattic/newspack-blocks/issues/1730)) ([e3755c7](https://github.com/Automattic/newspack-blocks/commit/e3755c730ff9feb415aa8f0649782f5b8be271e2))
28
+ * **donate:** add new "Modern" style variation ([#1734](https://github.com/Automattic/newspack-blocks/issues/1734)) ([b83d840](https://github.com/Automattic/newspack-blocks/commit/b83d8400957c179c2c228bc8c1ea87deb047c2aa))
29
+ * update donations patterns and add new one ([#1731](https://github.com/Automattic/newspack-blocks/issues/1731)) ([607c93a](https://github.com/Automattic/newspack-blocks/commit/607c93ad5a207615eb79e9ff4871b2542caaed0b))
7
30
 
8
31
  # [3.1.0](https://github.com/Automattic/newspack-blocks/compare/v3.0.11...v3.1.0) (2024-05-15)
9
32
 
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-autop', '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' => '1b4cabb59d892e271d5827e8ba2b22dd');
1
+ <?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-autop', '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' => '08a99c5c1a826fa919607f6994da4e7e');