@wordpress/create-block-interactive-template 1.16.0 → 1.18.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
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 1.18.0 (2024-04-03)
|
|
6
|
+
|
|
7
|
+
## 1.17.0 (2024-03-21)
|
|
8
|
+
|
|
9
|
+
### Enhancement
|
|
10
|
+
|
|
11
|
+
- Update the template to use `wp_interactivity_data_wp_context` for the context attribute ([#59995](https://github.com/WordPress/gutenberg/pull/59995)).
|
|
12
|
+
|
|
5
13
|
## 1.16.0 (2024-03-06)
|
|
6
14
|
|
|
7
15
|
## 1.15.0 (2024-02-21)
|
|
@@ -18,7 +18,7 @@ $unique_id = wp_unique_id( 'p-' );
|
|
|
18
18
|
<div
|
|
19
19
|
<?php echo get_block_wrapper_attributes(); ?>
|
|
20
20
|
data-wp-interactive="{{namespace}}"
|
|
21
|
-
|
|
21
|
+
<?php echo wp_interactivity_data_wp_context( array( 'isOpen' => false ) ); ?>
|
|
22
22
|
data-wp-watch="callbacks.logIsOpen"
|
|
23
23
|
>
|
|
24
24
|
<button
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/create-block-interactive-template",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.18.0",
|
|
4
4
|
"description": "Template for @wordpress/create-block to create interactive blocks with the Interactivity API.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "ac2b13783c28f959770cf029a797a712f59e1958"
|
|
26
26
|
}
|