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/paragraph/block.json | 73 +++++++++++++++++++++++++ wp-includes/blocks/paragraph/editor-rtl.css | 15 +++++ wp-includes/blocks/paragraph/editor-rtl.min.css | 1 + wp-includes/blocks/paragraph/editor.css | 15 +++++ wp-includes/blocks/paragraph/editor.min.css | 1 + wp-includes/blocks/paragraph/style-rtl.css | 46 ++++++++++++++++ wp-includes/blocks/paragraph/style-rtl.min.css | 1 + wp-includes/blocks/paragraph/style.css | 46 ++++++++++++++++ wp-includes/blocks/paragraph/style.min.css | 1 + 9 files changed, 199 insertions(+) create mode 100644 wp-includes/blocks/paragraph/block.json create mode 100644 wp-includes/blocks/paragraph/editor-rtl.css create mode 100644 wp-includes/blocks/paragraph/editor-rtl.min.css create mode 100644 wp-includes/blocks/paragraph/editor.css create mode 100644 wp-includes/blocks/paragraph/editor.min.css create mode 100644 wp-includes/blocks/paragraph/style-rtl.css create mode 100644 wp-includes/blocks/paragraph/style-rtl.min.css create mode 100644 wp-includes/blocks/paragraph/style.css create mode 100644 wp-includes/blocks/paragraph/style.min.css (limited to 'wp-includes/blocks/paragraph') diff --git a/wp-includes/blocks/paragraph/block.json b/wp-includes/blocks/paragraph/block.json new file mode 100644 index 0000000..85f56f4 --- /dev/null +++ b/wp-includes/blocks/paragraph/block.json @@ -0,0 +1,73 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "name": "core/paragraph", + "title": "Paragraph", + "category": "text", + "description": "Start with the basic building block of all narrative.", + "keywords": [ "text" ], + "textdomain": "default", + "usesContext": [ "postId" ], + "attributes": { + "align": { + "type": "string" + }, + "content": { + "type": "string", + "source": "html", + "selector": "p", + "default": "", + "__experimentalRole": "content" + }, + "dropCap": { + "type": "boolean", + "default": false + }, + "placeholder": { + "type": "string" + }, + "direction": { + "type": "string", + "enum": [ "ltr", "rtl" ] + } + }, + "supports": { + "anchor": true, + "className": false, + "color": { + "gradients": true, + "link": true, + "__experimentalDefaultControls": { + "background": true, + "text": true + } + }, + "__experimentalConnections": true, + "spacing": { + "margin": true, + "padding": true, + "__experimentalDefaultControls": { + "margin": false, + "padding": false + } + }, + "typography": { + "fontSize": true, + "lineHeight": true, + "__experimentalFontFamily": true, + "__experimentalTextDecoration": true, + "__experimentalFontStyle": true, + "__experimentalFontWeight": true, + "__experimentalLetterSpacing": true, + "__experimentalTextTransform": true, + "__experimentalWritingMode": true, + "__experimentalDefaultControls": { + "fontSize": true + } + }, + "__experimentalSelector": "p", + "__unstablePasteTextInline": true + }, + "editorStyle": "wp-block-paragraph-editor", + "style": "wp-block-paragraph" +} diff --git a/wp-includes/blocks/paragraph/editor-rtl.css b/wp-includes/blocks/paragraph/editor-rtl.css new file mode 100644 index 0000000..335deb0 --- /dev/null +++ b/wp-includes/blocks/paragraph/editor-rtl.css @@ -0,0 +1,15 @@ +.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{ + min-height:auto !important; +} + +.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{ + opacity:1; +} + +.block-editor-block-list__block[data-empty=true]+.block-editor-block-list__block[data-empty=true]:not([data-custom-placeholder=true]) [data-rich-text-placeholder]{ + opacity:0; +} + +.block-editor-block-list__block[data-type="core/paragraph"].has-text-align-left[style*="writing-mode: vertical-lr"],.block-editor-block-list__block[data-type="core/paragraph"].has-text-align-right[style*="writing-mode: vertical-rl"]{ + rotate:180deg; +} \ No newline at end of file diff --git a/wp-includes/blocks/paragraph/editor-rtl.min.css b/wp-includes/blocks/paragraph/editor-rtl.min.css new file mode 100644 index 0000000..97cee94 --- /dev/null +++ b/wp-includes/blocks/paragraph/editor-rtl.min.css @@ -0,0 +1 @@ +.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:1}.block-editor-block-list__block[data-empty=true]+.block-editor-block-list__block[data-empty=true]:not([data-custom-placeholder=true]) [data-rich-text-placeholder]{opacity:0}.block-editor-block-list__block[data-type="core/paragraph"].has-text-align-left[style*="writing-mode: vertical-lr"],.block-editor-block-list__block[data-type="core/paragraph"].has-text-align-right[style*="writing-mode: vertical-rl"]{rotate:180deg} \ No newline at end of file diff --git a/wp-includes/blocks/paragraph/editor.css b/wp-includes/blocks/paragraph/editor.css new file mode 100644 index 0000000..335deb0 --- /dev/null +++ b/wp-includes/blocks/paragraph/editor.css @@ -0,0 +1,15 @@ +.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{ + min-height:auto !important; +} + +.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{ + opacity:1; +} + +.block-editor-block-list__block[data-empty=true]+.block-editor-block-list__block[data-empty=true]:not([data-custom-placeholder=true]) [data-rich-text-placeholder]{ + opacity:0; +} + +.block-editor-block-list__block[data-type="core/paragraph"].has-text-align-left[style*="writing-mode: vertical-lr"],.block-editor-block-list__block[data-type="core/paragraph"].has-text-align-right[style*="writing-mode: vertical-rl"]{ + rotate:180deg; +} \ No newline at end of file diff --git a/wp-includes/blocks/paragraph/editor.min.css b/wp-includes/blocks/paragraph/editor.min.css new file mode 100644 index 0000000..97cee94 --- /dev/null +++ b/wp-includes/blocks/paragraph/editor.min.css @@ -0,0 +1 @@ +.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:1}.block-editor-block-list__block[data-empty=true]+.block-editor-block-list__block[data-empty=true]:not([data-custom-placeholder=true]) [data-rich-text-placeholder]{opacity:0}.block-editor-block-list__block[data-type="core/paragraph"].has-text-align-left[style*="writing-mode: vertical-lr"],.block-editor-block-list__block[data-type="core/paragraph"].has-text-align-right[style*="writing-mode: vertical-rl"]{rotate:180deg} \ No newline at end of file diff --git a/wp-includes/blocks/paragraph/style-rtl.css b/wp-includes/blocks/paragraph/style-rtl.css new file mode 100644 index 0000000..b420b54 --- /dev/null +++ b/wp-includes/blocks/paragraph/style-rtl.css @@ -0,0 +1,46 @@ +.is-small-text{ + font-size:.875em; +} + +.is-regular-text{ + font-size:1em; +} + +.is-large-text{ + font-size:2.25em; +} + +.is-larger-text{ + font-size:3em; +} + +.has-drop-cap:not(:focus):first-letter{ + float:right; + font-size:8.4em; + font-style:normal; + font-weight:100; + line-height:.68; + margin:.05em 0 0 .1em; + text-transform:uppercase; +} + +body.rtl .has-drop-cap:not(:focus):first-letter{ + float:none; + margin-right:.1em; +} + +p.has-drop-cap.has-background{ + overflow:hidden; +} + +p.has-background{ + padding:1.25em 2.375em; +} + +:where(p.has-text-color:not(.has-link-color)) a{ + color:inherit; +} + +p.has-text-align-left[style*="writing-mode:vertical-lr"],p.has-text-align-right[style*="writing-mode:vertical-rl"]{ + rotate:180deg; +} \ No newline at end of file diff --git a/wp-includes/blocks/paragraph/style-rtl.min.css b/wp-includes/blocks/paragraph/style-rtl.min.css new file mode 100644 index 0000000..d48810f --- /dev/null +++ b/wp-includes/blocks/paragraph/style-rtl.min.css @@ -0,0 +1 @@ +.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em 0 0 .1em;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-right:.1em}p.has-drop-cap.has-background{overflow:hidden}p.has-background{padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}p.has-text-align-left[style*="writing-mode:vertical-lr"],p.has-text-align-right[style*="writing-mode:vertical-rl"]{rotate:180deg} \ No newline at end of file diff --git a/wp-includes/blocks/paragraph/style.css b/wp-includes/blocks/paragraph/style.css new file mode 100644 index 0000000..849c89a --- /dev/null +++ b/wp-includes/blocks/paragraph/style.css @@ -0,0 +1,46 @@ +.is-small-text{ + font-size:.875em; +} + +.is-regular-text{ + font-size:1em; +} + +.is-large-text{ + font-size:2.25em; +} + +.is-larger-text{ + font-size:3em; +} + +.has-drop-cap:not(:focus):first-letter{ + float:left; + font-size:8.4em; + font-style:normal; + font-weight:100; + line-height:.68; + margin:.05em .1em 0 0; + text-transform:uppercase; +} + +body.rtl .has-drop-cap:not(:focus):first-letter{ + float:none; + margin-left:.1em; +} + +p.has-drop-cap.has-background{ + overflow:hidden; +} + +p.has-background{ + padding:1.25em 2.375em; +} + +:where(p.has-text-color:not(.has-link-color)) a{ + color:inherit; +} + +p.has-text-align-left[style*="writing-mode:vertical-lr"],p.has-text-align-right[style*="writing-mode:vertical-rl"]{ + rotate:180deg; +} \ No newline at end of file diff --git a/wp-includes/blocks/paragraph/style.min.css b/wp-includes/blocks/paragraph/style.min.css new file mode 100644 index 0000000..5a0f9cb --- /dev/null +++ b/wp-includes/blocks/paragraph/style.min.css @@ -0,0 +1 @@ +.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em .1em 0 0;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-left:.1em}p.has-drop-cap.has-background{overflow:hidden}p.has-background{padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}p.has-text-align-left[style*="writing-mode:vertical-lr"],p.has-text-align-right[style*="writing-mode:vertical-rl"]{rotate:180deg} \ No newline at end of file -- cgit v1.2.3