PluginProbe
Gutenberg / 22.3.0
Gutenberg v22.3.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 7.4.0 All 402 releases
gutenberg / build / scripts / block-library / tabs / block.json

block.json in Gutenberg 22.3.0, at build/scripts/block-library/tabs/block.json

143 lines 2.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "__experimental": true,
4 "apiVersion": 3,
5 "name": "core/tabs",
6 "title": "Tabs",
7 "description": "Display content in a tabbed interface to help users navigate detailed content with ease.",
8 "version": "1.0.0",
9 "category": "design",
10 "textdomain": "default",
11 "allowedBlocks": [ "core/tab" ],
12 "attributes": {
13 "tabsId": {
14 "type": "string",
15 "default": ""
16 },
17 "orientation": {
18 "type": "string",
19 "default": "horizontal",
20 "enum": [ "horizontal", "vertical" ]
21 },
22 "activeTabIndex": {
23 "type": "number",
24 "default": 0
25 },
26 "tabInactiveColor": {
27 "type": "string"
28 },
29 "customTabInactiveColor": {
30 "type": "string"
31 },
32 "tabHoverColor": {
33 "type": "string"
34 },
35 "customTabHoverColor": {
36 "type": "string"
37 },
38 "tabActiveColor": {
39 "type": "string"
40 },
41 "customTabActiveColor": {
42 "type": "string"
43 },
44 "tabTextColor": {
45 "type": "string"
46 },
47 "customTabTextColor": {
48 "type": "string"
49 },
50 "tabActiveTextColor": {
51 "type": "string"
52 },
53 "customTabActiveTextColor": {
54 "type": "string"
55 },
56 "tabHoverTextColor": {
57 "type": "string"
58 },
59 "customTabHoverTextColor": {
60 "type": "string"
61 }
62 },
63 "styles": [
64 {
65 "name": "tab",
66 "label": "Tabs",
67 "isDefault": true
68 },
69 {
70 "name": "links",
71 "label": "Links"
72 },
73 {
74 "name": "button",
75 "label": "Button"
76 }
77 ],
78 "supports": {
79 "align": true,
80 "color": {
81 "text": false,
82 "background": false
83 },
84 "html": false,
85 "interactivity": true,
86 "spacing": {
87 "blockGap": [ "horizontal", "vertical" ],
88 "margin": true,
89 "padding": false
90 },
91 "typography": {
92 "fontSize": true,
93 "__experimentalFontFamily": true
94 }
95 },
96 "example": {
97 "attributes": {
98 "className": "is-example"
99 },
100 "innerBlocks": [
101 {
102 "name": "core/tab",
103 "attributes": {
104 "label": "Tab 1"
105 },
106 "innerBlocks": [
107 {
108 "name": "core/paragraph",
109 "attributes": {
110 "content": "Pariatur commodo sint mollit. Veniam Lorem labore voluptate fugiat. Ad nulla est labore cillum cillum qui nostrud do incididunt eiusmod. Aliqua aliqua sunt consequat consequat in duis deserunt."
111 }
112 },
113 {
114 "name": "core/paragraph",
115 "attributes": {
116 "content": "Adipisicing ullamco nisi in eu laborum adipisicing aliquip aliqua. Fugiat labore officia consequat nisi veniam velit commodo cillum enim duis quis ad."
117 }
118 }
119 ]
120 },
121 {
122 "name": "core/tab",
123 "attributes": {
124 "label": "Tab 2"
125 }
126 },
127 {
128 "name": "core/tab",
129 "attributes": {
130 "label": "Tab 3"
131 }
132 }
133 ]
134 },
135 "providesContext": {
136 "core/tabs-id": "tabsId"
137 },
138 "editorScript": "file:./index.js",
139 "editorStyle": "file:./index.css",
140 "style": "file:./style-index.css",
141 "viewScriptModule": "@wordpress/block-library/tabs/view"
142 }
143