first commit
This commit is contained in:
89
wp-includes/blocks/list/block.json
Normal file
89
wp-includes/blocks/list/block.json
Normal file
@@ -0,0 +1,89 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "core/list",
|
||||
"title": "List",
|
||||
"category": "text",
|
||||
"allowedBlocks": [ "core/list-item" ],
|
||||
"description": "An organized collection of items displayed in a specific order.",
|
||||
"keywords": [ "bullet list", "ordered list", "numbered list" ],
|
||||
"textdomain": "default",
|
||||
"attributes": {
|
||||
"ordered": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"role": "content"
|
||||
},
|
||||
"values": {
|
||||
"type": "string",
|
||||
"source": "html",
|
||||
"selector": "ol,ul",
|
||||
"multiline": "li",
|
||||
"default": "",
|
||||
"role": "content"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"start": {
|
||||
"type": "number"
|
||||
},
|
||||
"reversed": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"placeholder": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"html": false,
|
||||
"__experimentalBorder": {
|
||||
"color": true,
|
||||
"radius": true,
|
||||
"style": true,
|
||||
"width": true
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": true,
|
||||
"lineHeight": true,
|
||||
"__experimentalFontFamily": true,
|
||||
"__experimentalFontWeight": true,
|
||||
"__experimentalFontStyle": true,
|
||||
"__experimentalTextTransform": true,
|
||||
"__experimentalTextDecoration": true,
|
||||
"__experimentalLetterSpacing": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"fontSize": true
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"gradients": true,
|
||||
"link": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"background": true,
|
||||
"text": true
|
||||
}
|
||||
},
|
||||
"spacing": {
|
||||
"margin": true,
|
||||
"padding": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"margin": false,
|
||||
"padding": false
|
||||
}
|
||||
},
|
||||
"__unstablePasteTextInline": true,
|
||||
"__experimentalOnMerge": true,
|
||||
"__experimentalSlashInserter": true,
|
||||
"interactivity": {
|
||||
"clientNavigation": true
|
||||
},
|
||||
"listView": true
|
||||
},
|
||||
"selectors": {
|
||||
"border": ".wp-block-list:not(.wp-block-list .wp-block-list)"
|
||||
},
|
||||
"editorStyle": "wp-block-list-editor",
|
||||
"style": "wp-block-list"
|
||||
}
|
||||
53
wp-includes/blocks/list/style-rtl.css
Normal file
53
wp-includes/blocks/list/style-rtl.css
Normal file
@@ -0,0 +1,53 @@
|
||||
/**
|
||||
* SCSS Variables.
|
||||
*
|
||||
* Please use variables from this sheet to ensure consistency across the UI.
|
||||
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
||||
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
/**
|
||||
* Typography
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Radius scale.
|
||||
*/
|
||||
/**
|
||||
* Elevation scale.
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Mobile specific styles
|
||||
*/
|
||||
/**
|
||||
* Editor styles.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
ol,
|
||||
ul {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
:root :where(.wp-block-list.has-background) {
|
||||
padding: 1.25em 2.375em;
|
||||
}
|
||||
1
wp-includes/blocks/list/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/list/style-rtl.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ol,ul{box-sizing:border-box}:root :where(.wp-block-list.has-background){padding:1.25em 2.375em}
|
||||
53
wp-includes/blocks/list/style.css
Normal file
53
wp-includes/blocks/list/style.css
Normal file
@@ -0,0 +1,53 @@
|
||||
/**
|
||||
* SCSS Variables.
|
||||
*
|
||||
* Please use variables from this sheet to ensure consistency across the UI.
|
||||
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
||||
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
/**
|
||||
* Typography
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Radius scale.
|
||||
*/
|
||||
/**
|
||||
* Elevation scale.
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Mobile specific styles
|
||||
*/
|
||||
/**
|
||||
* Editor styles.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
ol,
|
||||
ul {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
:root :where(.wp-block-list.has-background) {
|
||||
padding: 1.25em 2.375em;
|
||||
}
|
||||
1
wp-includes/blocks/list/style.min.css
vendored
Normal file
1
wp-includes/blocks/list/style.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ol,ul{box-sizing:border-box}:root :where(.wp-block-list.has-background){padding:1.25em 2.375em}
|
||||
Reference in New Issue
Block a user