mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-20 09:36:15 +01:00
ebca9841e8
This brings the JS packages up to date and is the first step that will allow us to include the other block editor updates for WordPress 5.9: FSE infrastrucutre, site editor and global styles. Props noisysocks. See #54337. Built from https://develop.svn.wordpress.org/trunk@52042 git-svn-id: http://core.svn.wordpress.org/trunk@51634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
75 lines
1.5 KiB
JSON
75 lines
1.5 KiB
JSON
{
|
|
"apiVersion": 2,
|
|
"name": "core/social-links",
|
|
"title": "Social Icons",
|
|
"category": "widgets",
|
|
"description": "Display icons linking to your social media profiles or websites.",
|
|
"keywords": [ "links" ],
|
|
"textdomain": "default",
|
|
"attributes": {
|
|
"iconColor": {
|
|
"type": "string"
|
|
},
|
|
"customIconColor": {
|
|
"type": "string"
|
|
},
|
|
"iconColorValue": {
|
|
"type": "string"
|
|
},
|
|
"iconBackgroundColor": {
|
|
"type": "string"
|
|
},
|
|
"customIconBackgroundColor": {
|
|
"type": "string"
|
|
},
|
|
"iconBackgroundColorValue": {
|
|
"type": "string"
|
|
},
|
|
"openInNewTab": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"size": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"providesContext": {
|
|
"openInNewTab": "openInNewTab",
|
|
"iconColorValue": "iconColorValue",
|
|
"iconBackgroundColorValue": "iconBackgroundColorValue"
|
|
},
|
|
"supports": {
|
|
"align": [ "left", "center", "right" ],
|
|
"anchor": true,
|
|
"__experimentalExposeControlsToChildren": true,
|
|
"__experimentalLayout": {
|
|
"allowSwitching": false,
|
|
"allowInheriting": false,
|
|
"default": {
|
|
"type": "flex"
|
|
}
|
|
},
|
|
"spacing": {
|
|
"blockGap": true,
|
|
"margin": [ "top", "bottom" ],
|
|
"units": [
|
|
"px",
|
|
"em",
|
|
"rem",
|
|
"vh",
|
|
"vw"
|
|
],
|
|
"__experimentalDefaultControls": {
|
|
"blockGap": true
|
|
}
|
|
}
|
|
},
|
|
"styles": [
|
|
{ "name": "default", "label": "Default", "isDefault": true },
|
|
{ "name": "logos-only", "label": "Logos Only" },
|
|
{ "name": "pill-shape", "label": "Pill Shape" }
|
|
],
|
|
"editorStyle": "wp-block-social-links-editor",
|
|
"style": "wp-block-social-links"
|
|
}
|