diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-includes/blocks/social-links/block.json --- a/wp/wp-includes/blocks/social-links/block.json Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-includes/blocks/social-links/block.json Fri Sep 05 18:40:08 2025 +0200 @@ -1,10 +1,11 @@ { "$schema": "https://schemas.wp.org/trunk/block.json", - "apiVersion": 2, + "apiVersion": 3, "name": "core/social-links", "title": "Social Icons", "category": "widgets", - "description": "Display icons linking to your social media profiles or sites.", + "allowedBlocks": [ "core/social-link" ], + "description": "Display icons linking to your social profiles or sites.", "keywords": [ "links" ], "textdomain": "default", "attributes": { @@ -41,14 +42,16 @@ "providesContext": { "openInNewTab": "openInNewTab", "showLabels": "showLabels", + "iconColor": "iconColor", "iconColorValue": "iconColorValue", + "iconBackgroundColor": "iconBackgroundColor", "iconBackgroundColorValue": "iconBackgroundColorValue" }, "supports": { "align": [ "left", "center", "right" ], "anchor": true, "__experimentalExposeControlsToChildren": true, - "__experimentalLayout": { + "layout": { "allowSwitching": false, "allowInheriting": false, "allowVerticalAlignment": false, @@ -56,13 +59,28 @@ "type": "flex" } }, + "color": { + "enableContrastChecker": false, + "background": true, + "gradients": true, + "text": false, + "__experimentalDefaultControls": { + "background": false + } + }, "spacing": { "blockGap": [ "horizontal", "vertical" ], - "margin": [ "top", "bottom" ], + "margin": true, + "padding": true, "units": [ "px", "em", "rem", "vh", "vw" ], "__experimentalDefaultControls": { - "blockGap": true + "blockGap": true, + "margin": true, + "padding": false } + }, + "interactivity": { + "clientNavigation": true } }, "styles": [