PluginProbe
Gutenberg / 22.7.0
Gutenberg v22.7.0
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
← All changes | build/scripts/block-library/tab-panel/block.json +42 -23 23.6.2 → 22.7.0 View file →
@@ -1,47 +1,66 @@
1 1 {
2 2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 + "__experimental": true,
3 4 "apiVersion": 3,
4 5 "name": "core/tab-panel",
5 6 "title": "Tab Panel",
6 - "description": "Content for a tab in a tabbed interface.",
7 + "description": "Container for tab panel content in a tabbed interface.",
8 + "version": "1.0.0",
7 9 "category": "design",
8 10 "textdomain": "default",
9 - "attributes": {
10 - "label": {
11 - "type": "string",
12 - "default": ""
13 - }
14 - },
15 - "parent": [ "core/tab-panels" ],
16 - "usesContext": [ "core/tabs-id" ],
11 + "parent": [ "core/tabs" ],
12 + "allowedBlocks": [ "core/tab" ],
13 + "attributes": {},
17 14 "supports": {
18 - "anchor": true,
15 + "anchor": false,
19 16 "html": false,
17 + "reusable": false,
18 + "lock": false,
19 + "dimensions": {
20 + "aspectRatio": false,
21 + "height": false,
22 + "minHeight": false,
23 + "width": false
24 + },
20 25 "color": {
21 26 "background": true,
22 27 "text": true,
28 + "heading": true,
29 + "link": true,
23 30 "__experimentalDefaultControls": {
24 31 "background": true,
25 32 "text": true
26 33 }
27 34 },
28 - "layout": true,
29 35 "spacing": {
30 - "blockGap": true,
31 - "padding": true
36 + "blockGap": false,
37 + "padding": true,
38 + "margin": true
32 39 },
33 40 "typography": {
34 41 "fontSize": true,
35 - "__experimentalFontFamily": true,
36 - "__experimentalDefaultControls": {
37 - "fontSize": true,
38 - "__experimentalFontFamily": true
39 - }
42 + "__experimentalFontFamily": true
40 43 },
41 - "visibility": false
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 + "__experimentalBorder": {
58 + "radius": true,
59 + "color": true,
60 + "width": true,
61 + "style": true
62 + }
42 63 },
43 - "providesContext": {
44 - "core/tab-label": "label"
45 - },
46 - "style": "wp-block-tab-panel"
64 + "editorScript": "file:./index.js",
65 + "style": "file:./style-index.css"
47 66 }