2020-07-01 14:29:03 +02:00
|
|
|
{
|
2022-04-12 17:12:47 +02:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2023-06-27 16:24:19 +02:00
|
|
|
"apiVersion": 3,
|
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",
|
2022-04-12 17:12:47 +02:00
|
|
|
"description": "Display icons linking to your social media profiles or sites.",
|
2021-05-19 17:09:27 +02:00
|
|
|
"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
|
|
|
},
|
2022-04-12 17:12:47 +02:00
|
|
|
"showLabels": {
|
|
|
|
"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",
|
2022-04-12 17:12:47 +02:00
|
|
|
"showLabels": "showLabels",
|
2023-06-27 16:24:19 +02:00
|
|
|
"iconColor": "iconColor",
|
2021-03-01 09:25:27 +01:00
|
|
|
"iconColorValue": "iconColorValue",
|
2023-06-27 16:24:19 +02:00
|
|
|
"iconBackgroundColor": "iconBackgroundColor",
|
2021-03-01 09:25:27 +01:00
|
|
|
"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,
|
2023-06-27 16:24:19 +02:00
|
|
|
"layout": {
|
2021-11-08 15:29:21 +01:00
|
|
|
"allowSwitching": false,
|
|
|
|
"allowInheriting": false,
|
2022-04-12 17:12:47 +02:00
|
|
|
"allowVerticalAlignment": false,
|
2021-11-08 15:29:21 +01:00
|
|
|
"default": {
|
|
|
|
"type": "flex"
|
|
|
|
}
|
|
|
|
},
|
2022-09-20 17:43:29 +02:00
|
|
|
"color": {
|
|
|
|
"enableContrastChecker": false,
|
|
|
|
"background": true,
|
|
|
|
"gradients": true,
|
|
|
|
"text": false,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": false
|
|
|
|
}
|
|
|
|
},
|
2021-11-08 15:29:21 +01:00
|
|
|
"spacing": {
|
2022-04-12 17:12:47 +02:00
|
|
|
"blockGap": [ "horizontal", "vertical" ],
|
2022-09-20 17:43:29 +02:00
|
|
|
"margin": true,
|
|
|
|
"padding": true,
|
2022-04-12 17:12:47 +02:00
|
|
|
"units": [ "px", "em", "rem", "vh", "vw" ],
|
2021-11-08 15:29:21 +01:00
|
|
|
"__experimentalDefaultControls": {
|
2023-07-07 09:21:17 +02:00
|
|
|
"blockGap": true,
|
|
|
|
"margin": true,
|
|
|
|
"padding": false
|
2021-11-08 15:29:21 +01:00
|
|
|
}
|
|
|
|
}
|
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
|
|
|
}
|