PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.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/tab-list/block.json +36 -21 23.2.2 → 24.1.0 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-list",
6 5 "title": "Tab List",
7 6 "description": "Display the tab buttons for a tabbed interface.",
@@ -7,25 +6,33 @@
7 6 "description": "Display the tab buttons for a tabbed interface.",
8 7 "category": "design",
9 8 "textdomain": "default",
10 9 "parent": [ "core/tabs" ],
11 - "allowedBlocks": [ "core/tab" ],
12 10 "usesContext": [ "core/tabs-list" ],
13 - "attributes": {},
11 + "attributes": {
12 + "tabs": {
13 + "type": "array",
14 + "source": "query",
15 + "selector": "button",
16 + "query": {
17 + "label": {
18 + "type": "rich-text",
19 + "source": "rich-text",
20 + "role": "content"
21 + }
22 + },
23 + "default": []
24 + }
25 + },
14 26 "supports": {
15 27 "html": false,
16 - "reusable": false,
28 + "ariaLabel": true,
17 29 "visibility": false,
18 30 "lock": false,
19 - "dimensions": {
20 - "aspectRatio": false,
21 - "height": false,
22 - "minHeight": false,
23 - "width": false
24 - },
25 31 "color": {
26 32 "background": true,
27 33 "text": true,
34 + "__experimentalSkipSerialization": true,
28 35 "__experimentalDefaultControls": {
29 36 "background": true,
30 37 "text": true
31 38 }
@@ -37,31 +44,39 @@
37 44 "__experimentalBorder": {
38 45 "color": true,
39 46 "radius": true,
40 47 "style": true,
41 - "width": true
48 + "width": true,
49 + "__experimentalSkipSerialization": true
42 50 },
43 51 "layout": {
44 52 "default": {
45 53 "type": "flex",
46 - "flexWrap": "nowrap",
47 - "orientation": "horizontal"
54 + "flexWrap": "wrap"
48 55 },
49 - "allowSwitching": false,
50 - "allowVerticalAlignment": true,
51 - "allowJustification": true,
52 - "allowOrientation": true
56 + "allowVerticalAlignment": false,
57 + "allowOrientation": false,
58 + "allowWrap": false
53 59 },
54 60 "spacing": {
55 61 "padding": true,
56 - "margin": true,
57 62 "blockGap": true,
63 + "__experimentalSkipSerialization": [ "padding" ],
58 64 "__experimentalDefaultControls": {
59 65 "padding": true,
60 - "margin": true,
61 66 "blockGap": true
62 67 }
63 68 }
64 69 },
65 - "editorScript": "file:./index.js",
66 - "editorStyle": "file:./editor.css"
70 + "selectors": {
71 + "border": ".wp-block-tab-list button",
72 + "color": {
73 + "background": ".wp-block-tab-list button",
74 + "text": ".wp-block-tab-list button"
75 + },
76 + "spacing": {
77 + "padding": ".wp-block-tab-list button"
78 + }
79 + },
80 + "style": "wp-block-tab-list",
81 + "editorStyle": "wp-block-tab-list-editor"
67 82 }