@automattic/newspack-blocks 3.0.0-epic-ras-acc.4 → 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.
Files changed (39) hide show
  1. package/.cache/babel/8b2ff59858cc47bf8aca96b47daeb4e4.json.gz +0 -0
  2. package/.cache/babel/b69c05682a3bd6b8f597906127dab44e.json.gz +0 -0
  3. package/.cache/babel/c207b178210d4ceba7c186dfe43dcf2f.json.gz +0 -0
  4. package/CHANGELOG.md +38 -1
  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 +205 -377
  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 +262 -28
  22. package/src/modal-checkout/index.js +27 -514
  23. package/src/modal-checkout/modal.js +152 -207
  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 +173 -0
  27. package/src/modal-checkout/templates/thankyou.php +57 -30
  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/b2f606089cd28c6a0e229e0328399e07.json.gz +0 -0
  34. package/.cache/babel/c9c728f25281edc8106e4b33e62e5db2.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 -50
  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,15 +1,52 @@
1
- # [3.0.0-epic-ras-acc.4](https://github.com/Automattic/newspack-blocks/compare/v3.0.0-epic-ras-acc.3...v3.0.0-epic-ras-acc.4) (2024-02-15)
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
+ * **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))
6
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
 
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))
11
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))
12
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))
49
+
13
50
  ## [2.6.1](https://github.com/Automattic/newspack-blocks/compare/v2.6.0...v2.6.1) (2024-01-31)
14
51
 
15
52
 
@@ -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' => 'c623326060d16f03743a0b44728d1866');
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');