From a415c29efee45520ae252d2aa28f1083a521cd7b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 09:56:49 +0200 Subject: Adding upstream version 6.4.3+dfsg1. Signed-off-by: Daniel Baumann --- wp-includes/blocks/social-link/block.json | 37 +++++++++++++++++++++++ wp-includes/blocks/social-link/editor-rtl.css | 20 ++++++++++++ wp-includes/blocks/social-link/editor-rtl.min.css | 1 + wp-includes/blocks/social-link/editor.css | 20 ++++++++++++ wp-includes/blocks/social-link/editor.min.css | 1 + 5 files changed, 79 insertions(+) create mode 100644 wp-includes/blocks/social-link/block.json create mode 100644 wp-includes/blocks/social-link/editor-rtl.css create mode 100644 wp-includes/blocks/social-link/editor-rtl.min.css create mode 100644 wp-includes/blocks/social-link/editor.css create mode 100644 wp-includes/blocks/social-link/editor.min.css (limited to 'wp-includes/blocks/social-link') diff --git a/wp-includes/blocks/social-link/block.json b/wp-includes/blocks/social-link/block.json new file mode 100644 index 0000000..50e95ef --- /dev/null +++ b/wp-includes/blocks/social-link/block.json @@ -0,0 +1,37 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "name": "core/social-link", + "title": "Social Icon", + "category": "widgets", + "parent": [ "core/social-links" ], + "description": "Display an icon linking to a social media profile or site.", + "textdomain": "default", + "attributes": { + "url": { + "type": "string" + }, + "service": { + "type": "string" + }, + "label": { + "type": "string" + }, + "rel": { + "type": "string" + } + }, + "usesContext": [ + "openInNewTab", + "showLabels", + "iconColor", + "iconColorValue", + "iconBackgroundColor", + "iconBackgroundColorValue" + ], + "supports": { + "reusable": false, + "html": false + }, + "editorStyle": "wp-block-social-link-editor" +} diff --git a/wp-includes/blocks/social-link/editor-rtl.css b/wp-includes/blocks/social-link/editor-rtl.css new file mode 100644 index 0000000..8c16bcf --- /dev/null +++ b/wp-includes/blocks/social-link/editor-rtl.css @@ -0,0 +1,20 @@ +.wp-block-social-links .wp-social-link{ + line-height:0; +} +.wp-block-social-links .wp-social-link button{ + color:currentColor; + font-size:inherit; + height:auto; + line-height:0; + opacity:1; + padding:.25em; +} + +.wp-block-social-links.is-style-pill-shape .wp-social-link button{ + padding-left:.66667em; + padding-right:.66667em; +} + +.wp-block-social-links.is-style-logos-only .wp-social-link button{ + padding:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/social-link/editor-rtl.min.css b/wp-includes/blocks/social-link/editor-rtl.min.css new file mode 100644 index 0000000..ff5a4b8 --- /dev/null +++ b/wp-includes/blocks/social-link/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{color:currentColor;font-size:inherit;height:auto;line-height:0;opacity:1;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-left:.66667em;padding-right:.66667em}.wp-block-social-links.is-style-logos-only .wp-social-link button{padding:0} \ No newline at end of file diff --git a/wp-includes/blocks/social-link/editor.css b/wp-includes/blocks/social-link/editor.css new file mode 100644 index 0000000..8c16bcf --- /dev/null +++ b/wp-includes/blocks/social-link/editor.css @@ -0,0 +1,20 @@ +.wp-block-social-links .wp-social-link{ + line-height:0; +} +.wp-block-social-links .wp-social-link button{ + color:currentColor; + font-size:inherit; + height:auto; + line-height:0; + opacity:1; + padding:.25em; +} + +.wp-block-social-links.is-style-pill-shape .wp-social-link button{ + padding-left:.66667em; + padding-right:.66667em; +} + +.wp-block-social-links.is-style-logos-only .wp-social-link button{ + padding:0; +} \ No newline at end of file diff --git a/wp-includes/blocks/social-link/editor.min.css b/wp-includes/blocks/social-link/editor.min.css new file mode 100644 index 0000000..ff5a4b8 --- /dev/null +++ b/wp-includes/blocks/social-link/editor.min.css @@ -0,0 +1 @@ +.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{color:currentColor;font-size:inherit;height:auto;line-height:0;opacity:1;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-left:.66667em;padding-right:.66667em}.wp-block-social-links.is-style-logos-only .wp-social-link button{padding:0} \ No newline at end of file -- cgit v1.2.3