@automattic/newspack-blocks 4.29.0-alpha.1 → 4.29.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/CHANGELOG.md +6 -5
- package/dist/editor.asset.php +1 -1
- package/dist/editor.js +20 -17
- package/dist/modal.asset.php +1 -1
- package/dist/modal.js +1 -1
- package/newspack-blocks.php +2 -2
- package/package.json +5 -5
- package/src/blocks/checkout-button/coupon-control.js +15 -6
- package/src/blocks/checkout-button/edit.js +30 -1
- package/src/blocks/checkout-button/view.php +32 -0
- package/src/modal-checkout/checkout-button-trigger.js +91 -6
- package/src/modal-checkout/checkout-button-trigger.test.js +143 -1
- package/src/modal-checkout/modal.js +5 -15
- package/vendor/composer/installed.php +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
# @automattic/newspack-blocks [4.29.0
|
|
1
|
+
# @automattic/newspack-blocks [4.29.0](https://github.com/Automattic/newspack-workspace/compare/newspack-blocks@4.28.0...newspack-blocks@4.29.0) (2026-08-03)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
+
* **checkout-button:** apply attached coupon through the variation picker ([#768](https://github.com/Automattic/newspack-workspace/issues/768)) ([ab60934](https://github.com/Automattic/newspack-workspace/commit/ab60934d72746a28196f59a043877a76f1168fa5))
|
|
6
7
|
* **modal-checkout:** always show deal-accurate order details ([#453](https://github.com/Automattic/newspack-workspace/issues/453)) ([3bcfe53](https://github.com/Automattic/newspack-workspace/commit/3bcfe532b421905b8292bae901897bd785bbd18b))
|
|
7
8
|
* **modal-checkout:** escape thank-you data-checkout, remove dead code ([#668](https://github.com/Automattic/newspack-workspace/issues/668)) ([1deb075](https://github.com/Automattic/newspack-workspace/commit/1deb0757842aea0f644a5946555f20015861d28e))
|
|
8
9
|
* **subscription-tiers:** prevent switching to the current subscription ([#542](https://github.com/Automattic/newspack-workspace/issues/542)) ([89fca28](https://github.com/Automattic/newspack-workspace/commit/89fca283c72e621c0cbf2fc61f2b0599e9581442))
|
|
@@ -15,10 +16,10 @@
|
|
|
15
16
|
|
|
16
17
|
### Dependencies
|
|
17
18
|
|
|
18
|
-
* **newspack-colors:** upgraded to 1.1.1
|
|
19
|
-
* **newspack-icons:** upgraded to 1.1.0
|
|
20
|
-
* **newspack-components:** upgraded to 4.6.0
|
|
21
|
-
* **newspack-scripts:** upgraded to 5.10.0
|
|
19
|
+
* **newspack-colors:** upgraded to 1.1.1
|
|
20
|
+
* **newspack-icons:** upgraded to 1.1.0
|
|
21
|
+
* **newspack-components:** upgraded to 4.6.0
|
|
22
|
+
* **newspack-scripts:** upgraded to 5.10.0
|
|
22
23
|
|
|
23
24
|
# @automattic/newspack-blocks [4.28.0](https://github.com/Automattic/newspack-workspace/compare/newspack-blocks@4.27.1...newspack-blocks@4.28.0) (2026-07-20)
|
|
24
25
|
|
package/dist/editor.asset.php
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-url'), 'version' => '
|
|
1
|
+
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-url'), 'version' => 'a24935ae2723d5315571');
|