build/scripts/block-library/query-pagination
block.json
1.6 KB
8 months ago
block.json in Gutenberg 23.2.0, at build/scripts/block-library/query-pagination/block.json
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "core/query-pagination", |
| 5 | "title": "Pagination", |
| 6 | "category": "theme", |
| 7 | "ancestor": [ "core/query" ], |
| 8 | "allowedBlocks": [ |
| 9 | "core/query-pagination-previous", |
| 10 | "core/query-pagination-numbers", |
| 11 | "core/query-pagination-next" |
| 12 | ], |
| 13 | "description": "Displays a paginated navigation to next/previous set of posts, when applicable.", |
| 14 | "textdomain": "default", |
| 15 | "attributes": { |
| 16 | "paginationArrow": { |
| 17 | "type": "string", |
| 18 | "default": "none" |
| 19 | }, |
| 20 | "showLabel": { |
| 21 | "type": "boolean", |
| 22 | "default": true |
| 23 | } |
| 24 | }, |
| 25 | "usesContext": [ "queryId", "query" ], |
| 26 | "providesContext": { |
| 27 | "paginationArrow": "paginationArrow", |
| 28 | "showLabel": "showLabel" |
| 29 | }, |
| 30 | "supports": { |
| 31 | "anchor": true, |
| 32 | "align": true, |
| 33 | "reusable": false, |
| 34 | "html": false, |
| 35 | "color": { |
| 36 | "gradients": true, |
| 37 | "link": true, |
| 38 | "__experimentalDefaultControls": { |
| 39 | "background": true, |
| 40 | "text": true, |
| 41 | "link": true |
| 42 | } |
| 43 | }, |
| 44 | "layout": { |
| 45 | "allowSwitching": false, |
| 46 | "allowInheriting": false, |
| 47 | "default": { |
| 48 | "type": "flex" |
| 49 | } |
| 50 | }, |
| 51 | "typography": { |
| 52 | "fontSize": true, |
| 53 | "lineHeight": true, |
| 54 | "__experimentalFontFamily": true, |
| 55 | "__experimentalFontWeight": true, |
| 56 | "__experimentalFontStyle": true, |
| 57 | "__experimentalTextTransform": true, |
| 58 | "__experimentalTextDecoration": true, |
| 59 | "__experimentalLetterSpacing": true, |
| 60 | "__experimentalDefaultControls": { |
| 61 | "fontSize": true |
| 62 | } |
| 63 | }, |
| 64 | "interactivity": { |
| 65 | "clientNavigation": true |
| 66 | } |
| 67 | }, |
| 68 | "editorStyle": "wp-block-query-pagination-editor", |
| 69 | "style": "wp-block-query-pagination" |
| 70 | } |
| 71 |