wp/wp-includes/blocks/search/block.json
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
--- a/wp/wp-includes/blocks/search/block.json	Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-includes/blocks/search/block.json	Wed Sep 21 18:19:35 2022 +0200
@@ -1,33 +1,52 @@
 {
+	"apiVersion": 2,
 	"name": "core/search",
+	"title": "Search",
 	"category": "widgets",
+	"description": "Help visitors find your content.",
+	"keywords": [ "find" ],
+	"textdomain": "default",
 	"attributes": {
-		"align": {
+		"label": {
 			"type": "string",
-			"enum": [
-				"left",
-				"center",
-				"right",
-				"wide",
-				"full"
-			]
+			"__experimentalRole": "content"
 		},
-		"className": {
-			"type": "string"
-		},
-		"label": {
-			"type": "string"
+		"showLabel": {
+			"type": "boolean",
+			"default": true
 		},
 		"placeholder": {
 			"type": "string",
-			"default": ""
+			"default": "",
+			"__experimentalRole": "content"
+		},
+		"width": {
+			"type": "number"
+		},
+		"widthUnit": {
+			"type": "string"
 		},
 		"buttonText": {
-			"type": "string"
+			"type": "string",
+			"__experimentalRole": "content"
+		},
+		"buttonPosition": {
+			"type": "string",
+			"default": "button-outside"
+		},
+		"buttonUseIcon": {
+			"type": "boolean",
+			"default": false
 		}
 	},
 	"supports": {
-		"align": true,
+		"align": [ "left", "center", "right" ],
+		"__experimentalBorder": {
+			"radius": true,
+			"__experimentalSkipSerialization": true
+		},
 		"html": false
-	}
+	},
+	"editorStyle": "wp-block-search-editor",
+	"style": "wp-block-search"
 }