2020-07-01 14:29:03 +02:00
|
|
|
{
|
2020-10-20 15:36:16 +02:00
|
|
|
"apiVersion": 2,
|
2020-07-01 14:29:03 +02:00
|
|
|
"name": "core/social-links",
|
2021-05-19 17:09:27 +02:00
|
|
|
"title": "Social Icons",
|
2020-07-01 14:29:03 +02:00
|
|
|
"category": "widgets",
|
2021-05-19 17:09:27 +02:00
|
|
|
"description": "Display icons linking to your social media profiles or websites.",
|
|
|
|
"keywords": [ "links" ],
|
|
|
|
"textdomain": "default",
|
2020-10-13 15:10:30 +02:00
|
|
|
"attributes": {
|
2021-02-02 06:17:13 +01:00
|
|
|
"iconColor": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"customIconColor": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"iconColorValue": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"iconBackgroundColor": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"customIconBackgroundColor": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"iconBackgroundColorValue": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2020-10-13 15:10:30 +02:00
|
|
|
"openInNewTab": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
2021-01-28 03:04:13 +01:00
|
|
|
},
|
|
|
|
"size": {
|
|
|
|
"type": "string"
|
2020-10-13 15:10:30 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"providesContext": {
|
2021-03-01 09:25:27 +01:00
|
|
|
"openInNewTab": "openInNewTab",
|
|
|
|
"iconColorValue": "iconColorValue",
|
|
|
|
"iconBackgroundColorValue": "iconBackgroundColorValue"
|
2020-10-13 15:10:30 +02:00
|
|
|
},
|
2020-07-01 14:29:03 +02:00
|
|
|
"supports": {
|
2021-05-07 13:48:27 +02:00
|
|
|
"align": [ "left", "center", "right" ],
|
2021-11-08 15:29:21 +01:00
|
|
|
"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
|
|
|
|
}
|
|
|
|
}
|
2021-01-28 03:04:13 +01:00
|
|
|
},
|
2021-05-19 17:09:27 +02:00
|
|
|
"styles": [
|
|
|
|
{ "name": "default", "label": "Default", "isDefault": true },
|
|
|
|
{ "name": "logos-only", "label": "Logos Only" },
|
|
|
|
{ "name": "pill-shape", "label": "Pill Shape" }
|
|
|
|
],
|
2021-01-28 03:04:13 +01:00
|
|
|
"editorStyle": "wp-block-social-links-editor",
|
|
|
|
"style": "wp-block-social-links"
|
2020-07-01 14:29:03 +02:00
|
|
|
}
|