Updates the packages to match Gutenberg version 21.9.0 RC2. Also updates the sync script to work with the new `package-lock.json` format. Some reusable block tests were adjusted to work with more render arguments. Added `core-data` to the ignore list for `verify:source-maps` because Yjs has been bundled by accident. To be removed in a follow-up. See https://core.trac.wordpress.org/ticket/64120. See https://github.com/WordPress/gutenberg/pull/72503. See: https://github.com/WordPress/wordpress-develop/pull/10355. See: https://core.trac.wordpress.org/ticket/64117. Props ellatrix, dmsnell. Fixes #64117. Built from https://develop.svn.wordpress.org/trunk@61009 git-svn-id: http://core.svn.wordpress.org/trunk@60345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
40 lines
905 B
JSON
40 lines
905 B
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 3,
|
|
"name": "core/terms-query",
|
|
"title": "Terms Query",
|
|
"category": "theme",
|
|
"description": "An advanced block that allows displaying taxonomy terms based on different query parameters and visual configurations.",
|
|
"keywords": [ "terms", "taxonomy", "categories", "tags", "list" ],
|
|
"textdomain": "default",
|
|
"attributes": {
|
|
"termQuery": {
|
|
"type": "object",
|
|
"default": {
|
|
"perPage": 10,
|
|
"taxonomy": "category",
|
|
"order": "asc",
|
|
"orderBy": "name",
|
|
"include": [],
|
|
"hideEmpty": true,
|
|
"showNested": false,
|
|
"inherit": false
|
|
}
|
|
},
|
|
"tagName": {
|
|
"type": "string",
|
|
"default": "div"
|
|
}
|
|
},
|
|
"usesContext": [ "templateSlug" ],
|
|
"providesContext": {
|
|
"termQuery": "termQuery"
|
|
},
|
|
"supports": {
|
|
"align": [ "wide", "full" ],
|
|
"html": false,
|
|
"layout": true,
|
|
"interactivity": true
|
|
}
|
|
}
|