2020-07-01 08:29:03 -04:00
|
|
|
{
|
2022-04-12 11:12:47 -04:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2023-06-27 10:24:19 -04:00
|
|
|
"apiVersion": 3,
|
2020-07-01 08:29:03 -04:00
|
|
|
"name": "core/social-links",
|
2021-05-19 11:09:27 -04:00
|
|
|
"title": "Social Icons",
|
2020-07-01 08:29:03 -04:00
|
|
|
"category": "widgets",
|
2022-04-12 11:12:47 -04:00
|
|
|
"description": "Display icons linking to your social media profiles or sites.",
|
2021-05-19 11:09:27 -04:00
|
|
|
"keywords": [ "links" ],
|
|
|
|
"textdomain": "default",
|
2020-10-13 09:10:30 -04:00
|
|
|
"attributes": {
|
2021-02-02 00:17:13 -05:00
|
|
|
"iconColor": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"customIconColor": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"iconColorValue": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"iconBackgroundColor": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"customIconBackgroundColor": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"iconBackgroundColorValue": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2020-10-13 09:10:30 -04:00
|
|
|
"openInNewTab": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
2021-01-27 21:04:13 -05:00
|
|
|
},
|
2022-04-12 11:12:47 -04:00
|
|
|
"showLabels": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
2021-01-27 21:04:13 -05:00
|
|
|
"size": {
|
|
|
|
"type": "string"
|
2020-10-13 09:10:30 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"providesContext": {
|
2021-03-01 03:25:27 -05:00
|
|
|
"openInNewTab": "openInNewTab",
|
2022-04-12 11:12:47 -04:00
|
|
|
"showLabels": "showLabels",
|
2023-06-27 10:24:19 -04:00
|
|
|
"iconColor": "iconColor",
|
2021-03-01 03:25:27 -05:00
|
|
|
"iconColorValue": "iconColorValue",
|
2023-06-27 10:24:19 -04:00
|
|
|
"iconBackgroundColor": "iconBackgroundColor",
|
2021-03-01 03:25:27 -05:00
|
|
|
"iconBackgroundColorValue": "iconBackgroundColorValue"
|
2020-10-13 09:10:30 -04:00
|
|
|
},
|
2020-07-01 08:29:03 -04:00
|
|
|
"supports": {
|
2021-05-07 07:48:27 -04:00
|
|
|
"align": [ "left", "center", "right" ],
|
2021-11-08 09:29:21 -05:00
|
|
|
"anchor": true,
|
|
|
|
"__experimentalExposeControlsToChildren": true,
|
2023-06-27 10:24:19 -04:00
|
|
|
"layout": {
|
2021-11-08 09:29:21 -05:00
|
|
|
"allowSwitching": false,
|
|
|
|
"allowInheriting": false,
|
2022-04-12 11:12:47 -04:00
|
|
|
"allowVerticalAlignment": false,
|
2021-11-08 09:29:21 -05:00
|
|
|
"default": {
|
|
|
|
"type": "flex"
|
|
|
|
}
|
|
|
|
},
|
2022-09-20 11:43:29 -04:00
|
|
|
"color": {
|
|
|
|
"enableContrastChecker": false,
|
|
|
|
"background": true,
|
|
|
|
"gradients": true,
|
|
|
|
"text": false,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": false
|
|
|
|
}
|
|
|
|
},
|
2021-11-08 09:29:21 -05:00
|
|
|
"spacing": {
|
2022-04-12 11:12:47 -04:00
|
|
|
"blockGap": [ "horizontal", "vertical" ],
|
2022-09-20 11:43:29 -04:00
|
|
|
"margin": true,
|
|
|
|
"padding": true,
|
2022-04-12 11:12:47 -04:00
|
|
|
"units": [ "px", "em", "rem", "vh", "vw" ],
|
2021-11-08 09:29:21 -05:00
|
|
|
"__experimentalDefaultControls": {
|
2023-07-07 03:21:17 -04:00
|
|
|
"blockGap": true,
|
|
|
|
"margin": true,
|
|
|
|
"padding": false
|
2021-11-08 09:29:21 -05:00
|
|
|
}
|
|
|
|
}
|
2021-01-27 21:04:13 -05:00
|
|
|
},
|
2021-05-19 11:09:27 -04:00
|
|
|
"styles": [
|
|
|
|
{ "name": "default", "label": "Default", "isDefault": true },
|
|
|
|
{ "name": "logos-only", "label": "Logos Only" },
|
|
|
|
{ "name": "pill-shape", "label": "Pill Shape" }
|
|
|
|
],
|
2021-01-27 21:04:13 -05:00
|
|
|
"editorStyle": "wp-block-social-links-editor",
|
|
|
|
"style": "wp-block-social-links"
|
2020-07-01 08:29:03 -04:00
|
|
|
}
|