← All changes
|
build/scripts/block-library/tab-panels/block.json
+20
-30
23.2.2
→
trunk
View file →
| @@ -1,7 +1,6 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | - "__experimental": true, | |
| 4 | 3 | "apiVersion": 3, |
| 5 | 4 | "name": "core/tab-panels", |
| 6 | 5 | "title": "Tab Panels", |
| 7 | 6 | "description": "Container for tab panel content in a tabbed interface.", |
| @@ -8,25 +7,17 @@ | ||
| 8 | 7 | "category": "design", |
| 9 | 8 | "textdomain": "default", |
| 10 | 9 | "parent": [ "core/tabs" ], |
| 11 | 10 | "allowedBlocks": [ "core/tab-panel" ], |
| 12 | - "attributes": {}, | |
| 13 | 11 | "supports": { |
| 14 | - "anchor": false, | |
| 15 | 12 | "html": false, |
| 16 | - "reusable": false, | |
| 17 | 13 | "visibility": false, |
| 18 | 14 | "lock": false, |
| 19 | - "dimensions": { | |
| 20 | - "aspectRatio": false, | |
| 21 | - "height": false, | |
| 22 | - "minHeight": false, | |
| 23 | - "width": false | |
| 24 | - }, | |
| 25 | 15 | "color": { |
| 26 | 16 | "background": true, |
| 27 | 17 | "text": true, |
| 28 | 18 | "heading": true, |
| 19 | + "button": true, | |
| 29 | 20 | "link": true, |
| 30 | 21 | "__experimentalDefaultControls": { |
| 31 | 22 | "background": true, |
| 32 | 23 | "text": true |
| @@ -31,30 +22,31 @@ | ||
| 31 | 22 | "background": true, |
| 32 | 23 | "text": true |
| 33 | 24 | } |
| 34 | 25 | }, |
| 26 | + "background": { | |
| 27 | + "backgroundImage": true, | |
| 28 | + "backgroundSize": true, | |
| 29 | + "gradient": true, | |
| 30 | + "__experimentalDefaultControls": { | |
| 31 | + "backgroundImage": true, | |
| 32 | + "gradient": true | |
| 33 | + } | |
| 34 | + }, | |
| 35 | + "shadow": true, | |
| 35 | 36 | "spacing": { |
| 36 | - "blockGap": false, | |
| 37 | - "padding": true, | |
| 38 | - "margin": true | |
| 37 | + "padding": true | |
| 39 | 38 | }, |
| 40 | 39 | "typography": { |
| 41 | 40 | "fontSize": true, |
| 42 | - "__experimentalFontFamily": true | |
| 41 | + "lineHeight": true, | |
| 42 | + "__experimentalFontFamily": true, | |
| 43 | + "__experimentalFontWeight": true, | |
| 44 | + "__experimentalFontStyle": true, | |
| 45 | + "__experimentalTextTransform": true, | |
| 46 | + "__experimentalTextDecoration": true, | |
| 47 | + "__experimentalLetterSpacing": true | |
| 43 | 48 | }, |
| 44 | - "layout": { | |
| 45 | - "default": { | |
| 46 | - "type": "flex", | |
| 47 | - "flexWrap": "nowrap", | |
| 48 | - "justifyContent": "stretch", | |
| 49 | - "orientation": "vertical" | |
| 50 | - }, | |
| 51 | - "allowSwitching": false, | |
| 52 | - "allowVerticalAlignment": false, | |
| 53 | - "allowOrientation": false, | |
| 54 | - "allowJustification": true, | |
| 55 | - "allowSizingOnChildren": false | |
| 56 | - }, | |
| 57 | 49 | "__experimentalBorder": { |
| 58 | 50 | "radius": true, |
| 59 | 51 | "color": true, |
| 60 | 52 | "width": true, |
| @@ -59,8 +51,6 @@ | ||
| 59 | 51 | "color": true, |
| 60 | 52 | "width": true, |
| 61 | 53 | "style": true |
| 62 | 54 | } |
| 63 | - }, | |
| 64 | - "editorScript": "file:./index.js", | |
| 65 | - "style": "file:./style-index.css" | |
| 55 | + } | |
| 66 | 56 | } |