PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.0
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.0
2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.43 2.0.42 2.0.41 2.0.40 2.0.39 2.0.38 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 All 106 releases
b-blocks / build / list / block.json

block.json in bBlocks – Essential Gutenberg Blocks & Patterns Collection 2.1.0, at build/list/block.json

172 lines 4.6 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 "apiVersion": 3,
4 "name": "b-blocks/list",
5 "version": "1.0.0",
6 "title": "List",
7 "category": "bBlocks",
8 "description": "A customizable list block with support for icons, custom markers, and flexible layouts.",
9 "keywords": [
10 "list",
11 "list block"
12 ],
13 "textdomain": "b-blocks",
14 "attributes": {
15 "align": {
16 "type": "string",
17 "default": ""
18 },
19 "layout": {
20 "type": "object",
21 "default": {
22 "desktop": {
23 "type": "vertical",
24 "verticalAlign": "flex-start",
25 "horizontalAlign": "flex-start"
26 },
27 "tablet": {
28 "type": "",
29 "verticalAlign": "",
30 "horizontalAlign": ""
31 },
32 "mobile": {
33 "type": "",
34 "verticalAlign": "",
35 "horizontalAlign": ""
36 }
37 }
38 },
39 "items": {
40 "type": "array",
41 "default": [
42 {
43 "text": "List Item",
44 "icon": "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M448 128l-177.6 0c1 5.2 1.6 10.5 1.6 16l0 16 32 0 144 0c8.8 0 16-7.2 16-16s-7.2-16-16-16zM224 144c0-17.7-14.3-32-32-32c0 0 0 0 0 0l-24 0c-66.3 0-120 53.7-120 120l0 48c0 52.5 33.7 97.1 80.7 113.4c-.5-3.1-.7-6.2-.7-9.4c0-20 9.2-37.9 23.6-49.7c-4.9-9-7.6-19.4-7.6-30.3c0-15.1 5.3-29 14-40c-8.8-11-14-24.9-14-40l0-40c0-13.3 10.7-24 24-24s24 10.7 24 24l0 40c0 8.8 7.2 16 16 16s16-7.2 16-16l0-40 0-40zM192 64s0 0 0 0c18 0 34.6 6 48 16l208 0c35.3 0 64 28.7 64 64s-28.7 64-64 64l-82 0c1.3 5.1 2 10.5 2 16c0 25.3-14.7 47.2-36 57.6c2.6 7 4 14.5 4 22.4c0 20-9.2 37.9-23.6 49.7c4.9 9 7.6 19.4 7.6 30.3c0 35.3-28.7 64-64 64l-64 0-24 0C75.2 448 0 372.8 0 280l0-48C0 139.2 75.2 64 168 64l24 0zm64 336c8.8 0 16-7.2 16-16s-7.2-16-16-16l-48 0-16 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l64 0zm16-176c0 5.5-.7 10.9-2 16l2 0 32 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0 16zm-24 64l-40 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l48 0 16 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-24 0z'/></svg>",
45 "link": "",
46 "newWindow": false,
47 "textColor": "",
48 "markerColor": ""
49 }
50 ]
51 },
52 "marker": {
53 "type": "object",
54 "default": {
55 "markerType": "",
56 "position": "",
57 "align": "",
58 "icon": "",
59 "emoji": "👉"
60 }
61 },
62 "styles": {
63 "type": "object",
64 "default": {
65 "lists": {
66 "color": "",
67 "bg": "",
68 "typography": {
69 "fontSize": {
70 "desktop": "20px",
71 "tablet": "",
72 "mobile": ""
73 }
74 },
75 "desktop": {
76 "gap": {
77 "horizontal": "",
78 "vertical": ""
79 }
80 },
81 "tablet": {
82 "gap": {
83 "horizontal": "",
84 "vertical": ""
85 }
86 },
87 "mobile": {
88 "gap": {
89 "horizontal": "",
90 "vertical": ""
91 }
92 }
93 },
94 "divider": {
95 "style": "solid",
96 "weight": "5px",
97 "width": "100px",
98 "color": "#000",
99 "isEnabled": false
100 },
101 "marker": {
102 "color": "",
103 "size": "",
104 "iconSize": "",
105 "bg": "",
106 "gap": "10px",
107 "desktop": {
108 "padding": {
109 "top": "",
110 "bottom": "",
111 "left": "",
112 "right": ""
113 },
114 "radius": {
115 "top": "",
116 "bottom": "",
117 "left": "",
118 "right": ""
119 }
120 },
121 "tablet": {
122 "padding": {
123 "top": "",
124 "bottom": "",
125 "left": "",
126 "right": ""
127 },
128 "radius": {
129 "top": "",
130 "bottom": "",
131 "left": "",
132 "right": ""
133 }
134 },
135 "mobile": {
136 "padding": {
137 "top": "",
138 "bottom": "",
139 "left": "",
140 "right": ""
141 },
142 "radius": {
143 "top": "",
144 "bottom": "",
145 "left": "",
146 "right": ""
147 }
148 },
149 "border": {}
150 }
151 }
152 }
153 },
154 "supports": {
155 "align": [
156 "wide",
157 "full"
158 ],
159 "html": false
160 },
161 "example": {
162 "attributes": {}
163 },
164 "editorScript": "file:../index.js",
165 "style": "file:./view.css",
166 "render": "file:./render.php",
167 "viewScript": [
168 "file:./view.js",
169 "react",
170 "react-dom"
171 ]
172 }