PluginProbe
Gutenberg / 22.7.0
Gutenberg v22.7.0
24.1.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 All 404 releases
← All changes | build/scripts/block-library/tabs/block.json +24 -4 23.6.2 → 22.7.0 View file →
@@ -1,13 +1,15 @@
1 1 {
2 2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 + "__experimental": true,
3 4 "apiVersion": 3,
4 5 "name": "core/tabs",
5 6 "title": "Tabs",
6 7 "description": "Display content in a tabbed interface to help users navigate detailed content with ease.",
8 + "version": "1.0.0",
7 9 "category": "design",
8 10 "textdomain": "default",
9 - "allowedBlocks": [ "core/tab-list", "core/tab-panels" ],
11 + "allowedBlocks": [ "core/tabs-menu", "core/tab-panel" ],
10 12 "attributes": {
11 13 "activeTabIndex": {
12 14 "type": "number",
13 15 "default": 0
@@ -28,9 +30,20 @@
28 30 "background": true
29 31 }
30 32 },
31 33 "layout": {
32 - "allowEditing": false
34 + "default": {
35 + "type": "flex",
36 + "flexWrap": "nowrap",
37 + "justifyContent": "stretch",
38 + "verticalAlignment": "stretch",
39 + "orientation": "vertical"
40 + },
41 + "allowSwitching": false,
42 + "allowVerticalAlignment": true,
43 + "allowJustification": true,
44 + "allowOrientation": true,
45 + "allowSizingOnChildren": true
33 46 },
34 47 "html": false,
35 48 "interactivity": true,
36 49 "spacing": {
@@ -40,10 +53,17 @@
40 53 },
41 54 "typography": {
42 55 "fontSize": true,
43 56 "__experimentalFontFamily": true
44 - }
57 + },
58 + "renaming": true
45 59 },
60 + "providesContext": {
61 + "core/tabs-activeTabIndex": "activeTabIndex",
62 + "core/tabs-editorActiveTabIndex": "editorActiveTabIndex"
63 + },
46 64 "usesContext": [ "core/tabs-list", "core/tabs-id" ],
47 - "style": "wp-block-tabs",
65 + "editorScript": "file:./index.js",
66 + "editorStyle": "file:./index.css",
67 + "style": "file:./style-index.css",
48 68 "viewScriptModule": "@wordpress/block-library/tabs/view"
49 69 }