@wordpress/create-block 4.75.1-next.b8c8708f3.0 → 4.76.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.
@@ -1,6 +1,13 @@
1
1
  {{#isDynamicVariant}}
2
2
  <?php
3
3
  /**
4
+ * PHP file to use when rendering the block type on the server to show on the front end.
5
+ *
6
+ * The following variables are exposed to the file:
7
+ * $attributes (array): The block attributes.
8
+ * $content (string): The block default content.
9
+ * $block (WP_Block): The block instance.
10
+ *
4
11
  * @see https://github.com/WordPress/gutenberg/blob/trunk/docs/reference-guides/block-api/block-metadata.md#render
5
12
  */
6
13
  ?>
@@ -1,6 +1,13 @@
1
1
  {{#isDynamicVariant}}
2
2
  <?php
3
3
  /**
4
+ * PHP file to use when rendering the block type on the server to show on the front end.
5
+ *
6
+ * The following variables are exposed to the file:
7
+ * $attributes (array): The block attributes.
8
+ * $content (string): The block default content.
9
+ * $block (WP_Block): The block instance.
10
+ *
4
11
  * @see https://github.com/WordPress/gutenberg/blob/trunk/docs/reference-guides/block-api/block-metadata.md#render
5
12
  */
6
13
  ?>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/create-block",
3
- "version": "4.75.1-next.b8c8708f3.0",
3
+ "version": "4.76.0",
4
4
  "description": "Generates PHP, JS and CSS code for registering a block for a WordPress plugin.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@inquirer/prompts": "^7.2.0",
41
- "@wordpress/lazy-import": "^2.32.1-next.b8c8708f3.0",
41
+ "@wordpress/lazy-import": "^2.33.0",
42
42
  "chalk": "^4.0.0",
43
43
  "change-case": "^4.1.2",
44
44
  "check-node-version": "^4.1.0",
@@ -54,5 +54,5 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "gitHead": "67cfd7e661931aeb0d06bec894599d287a4f8d0f"
57
+ "gitHead": "2bbe0d34ab65458468758c48826296d7a753428b"
58
58
  }