diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:56:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:56:49 +0000 |
commit | a415c29efee45520ae252d2aa28f1083a521cd7b (patch) | |
tree | f4ade4b6668ecc0765de7e1424f7c1427ad433ff /wp-includes/blocks/categories | |
parent | Initial commit. (diff) | |
download | wordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.tar.xz wordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.zip |
Adding upstream version 6.4.3+dfsg1.upstream/6.4.3+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/blocks/categories')
-rw-r--r-- | wp-includes/blocks/categories/block.json | 58 | ||||
-rw-r--r-- | wp-includes/blocks/categories/editor-rtl.css | 9 | ||||
-rw-r--r-- | wp-includes/blocks/categories/editor-rtl.min.css | 1 | ||||
-rw-r--r-- | wp-includes/blocks/categories/editor.css | 9 | ||||
-rw-r--r-- | wp-includes/blocks/categories/editor.min.css | 1 | ||||
-rw-r--r-- | wp-includes/blocks/categories/style-rtl.css | 12 | ||||
-rw-r--r-- | wp-includes/blocks/categories/style-rtl.min.css | 1 | ||||
-rw-r--r-- | wp-includes/blocks/categories/style.css | 12 | ||||
-rw-r--r-- | wp-includes/blocks/categories/style.min.css | 1 |
9 files changed, 104 insertions, 0 deletions
diff --git a/wp-includes/blocks/categories/block.json b/wp-includes/blocks/categories/block.json new file mode 100644 index 0000000..5014da8 --- /dev/null +++ b/wp-includes/blocks/categories/block.json @@ -0,0 +1,58 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "name": "core/categories", + "title": "Categories List", + "category": "widgets", + "description": "Display a list of all categories.", + "textdomain": "default", + "attributes": { + "displayAsDropdown": { + "type": "boolean", + "default": false + }, + "showHierarchy": { + "type": "boolean", + "default": false + }, + "showPostCounts": { + "type": "boolean", + "default": false + }, + "showOnlyTopLevel": { + "type": "boolean", + "default": false + }, + "showEmpty": { + "type": "boolean", + "default": false + } + }, + "supports": { + "align": true, + "html": false, + "spacing": { + "margin": true, + "padding": true, + "__experimentalDefaultControls": { + "margin": false, + "padding": false + } + }, + "typography": { + "fontSize": true, + "lineHeight": true, + "__experimentalFontFamily": true, + "__experimentalFontWeight": true, + "__experimentalFontStyle": true, + "__experimentalTextTransform": true, + "__experimentalTextDecoration": true, + "__experimentalLetterSpacing": true, + "__experimentalDefaultControls": { + "fontSize": true + } + } + }, + "editorStyle": "wp-block-categories-editor", + "style": "wp-block-categories" +} diff --git a/wp-includes/blocks/categories/editor-rtl.css b/wp-includes/blocks/categories/editor-rtl.css new file mode 100644 index 0000000..dce10f9 --- /dev/null +++ b/wp-includes/blocks/categories/editor-rtl.css @@ -0,0 +1,9 @@ +.wp-block-categories ul{ + padding-right:2.5em; +} +.wp-block-categories ul ul{ + margin-top:6px; +} +[data-align=center] .wp-block-categories{ + text-align:center; +}
\ No newline at end of file diff --git a/wp-includes/blocks/categories/editor-rtl.min.css b/wp-includes/blocks/categories/editor-rtl.min.css new file mode 100644 index 0000000..7ba0acd --- /dev/null +++ b/wp-includes/blocks/categories/editor-rtl.min.css @@ -0,0 +1 @@ +.wp-block-categories ul{padding-right:2.5em}.wp-block-categories ul ul{margin-top:6px}[data-align=center] .wp-block-categories{text-align:center}
\ No newline at end of file diff --git a/wp-includes/blocks/categories/editor.css b/wp-includes/blocks/categories/editor.css new file mode 100644 index 0000000..77d3a4e --- /dev/null +++ b/wp-includes/blocks/categories/editor.css @@ -0,0 +1,9 @@ +.wp-block-categories ul{ + padding-left:2.5em; +} +.wp-block-categories ul ul{ + margin-top:6px; +} +[data-align=center] .wp-block-categories{ + text-align:center; +}
\ No newline at end of file diff --git a/wp-includes/blocks/categories/editor.min.css b/wp-includes/blocks/categories/editor.min.css new file mode 100644 index 0000000..e66d4e2 --- /dev/null +++ b/wp-includes/blocks/categories/editor.min.css @@ -0,0 +1 @@ +.wp-block-categories ul{padding-left:2.5em}.wp-block-categories ul ul{margin-top:6px}[data-align=center] .wp-block-categories{text-align:center}
\ No newline at end of file diff --git a/wp-includes/blocks/categories/style-rtl.css b/wp-includes/blocks/categories/style-rtl.css new file mode 100644 index 0000000..56392fe --- /dev/null +++ b/wp-includes/blocks/categories/style-rtl.css @@ -0,0 +1,12 @@ +.wp-block-categories{ + box-sizing:border-box; +} +.wp-block-categories.alignleft{ + margin-right:2em; +} +.wp-block-categories.alignright{ + margin-left:2em; +} +.wp-block-categories.wp-block-categories-dropdown.aligncenter{ + text-align:center; +}
\ No newline at end of file diff --git a/wp-includes/blocks/categories/style-rtl.min.css b/wp-includes/blocks/categories/style-rtl.min.css new file mode 100644 index 0000000..95f6dd0 --- /dev/null +++ b/wp-includes/blocks/categories/style-rtl.min.css @@ -0,0 +1 @@ +.wp-block-categories{box-sizing:border-box}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-categories.wp-block-categories-dropdown.aligncenter{text-align:center}
\ No newline at end of file diff --git a/wp-includes/blocks/categories/style.css b/wp-includes/blocks/categories/style.css new file mode 100644 index 0000000..56392fe --- /dev/null +++ b/wp-includes/blocks/categories/style.css @@ -0,0 +1,12 @@ +.wp-block-categories{ + box-sizing:border-box; +} +.wp-block-categories.alignleft{ + margin-right:2em; +} +.wp-block-categories.alignright{ + margin-left:2em; +} +.wp-block-categories.wp-block-categories-dropdown.aligncenter{ + text-align:center; +}
\ No newline at end of file diff --git a/wp-includes/blocks/categories/style.min.css b/wp-includes/blocks/categories/style.min.css new file mode 100644 index 0000000..95f6dd0 --- /dev/null +++ b/wp-includes/blocks/categories/style.min.css @@ -0,0 +1 @@ +.wp-block-categories{box-sizing:border-box}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-categories.wp-block-categories-dropdown.aligncenter{text-align:center}
\ No newline at end of file |