first commit
This commit is contained in:
61
wp-includes/blocks/categories/block.json
Normal file
61
wp-includes/blocks/categories/block.json
Normal file
@ -0,0 +1,61 @@
|
||||
{
|
||||
"$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
|
||||
}
|
||||
},
|
||||
"interactivity": {
|
||||
"clientNavigation": true
|
||||
}
|
||||
},
|
||||
"editorStyle": "wp-block-categories-editor",
|
||||
"style": "wp-block-categories"
|
||||
}
|
9
wp-includes/blocks/categories/editor-rtl.css
Normal file
9
wp-includes/blocks/categories/editor-rtl.css
Normal file
@ -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;
|
||||
}
|
1
wp-includes/blocks/categories/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/categories/editor-rtl.min.css
vendored
Normal file
@ -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}
|
9
wp-includes/blocks/categories/editor.css
Normal file
9
wp-includes/blocks/categories/editor.css
Normal file
@ -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;
|
||||
}
|
1
wp-includes/blocks/categories/editor.min.css
vendored
Normal file
1
wp-includes/blocks/categories/editor.min.css
vendored
Normal file
@ -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}
|
12
wp-includes/blocks/categories/style-rtl.css
Normal file
12
wp-includes/blocks/categories/style-rtl.css
Normal file
@ -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;
|
||||
}
|
1
wp-includes/blocks/categories/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/categories/style-rtl.min.css
vendored
Normal file
@ -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}
|
12
wp-includes/blocks/categories/style.css
Normal file
12
wp-includes/blocks/categories/style.css
Normal file
@ -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;
|
||||
}
|
1
wp-includes/blocks/categories/style.min.css
vendored
Normal file
1
wp-includes/blocks/categories/style.min.css
vendored
Normal file
@ -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}
|
Reference in New Issue
Block a user