PluginProbe
Block Animations, Motion & Scroll Effects – Ghost Kit / 3.4.1
Block Animations, Motion & Scroll Effects – Ghost Kit v3.4.1
3.7.2 3.7.1 3.7.0 3.6.1 trunk 1.6.3 2.25.0 3.3.0 3.3.1 3.3.2 3.3.3 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.5.0 3.5.1 3.6.0
ghostkit / gutenberg / blocks / button-single / block.json

block.json in Block Animations, Motion & Scroll Effects – Ghost Kit 3.4.1, at gutenberg/blocks/button-single/block.json

106 lines 1.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 "apiVersion": 3,
4 "name": "ghostkit/button-single",
5 "parent": [
6 "ghostkit/button",
7 "ghostkit/form",
8 "ghostkit/form-submit-button"
9 ],
10 "category": "ghostkit",
11 "title": "Button",
12 "description": "A single button within a buttons wrapper block.",
13 "supports": {
14 "html": false,
15 "className": false,
16 "anchor": true,
17 "reusable": false
18 },
19 "attributes": {
20 "tagName": {
21 "type": "string"
22 },
23 "url": {
24 "type": "string",
25 "source": "attribute",
26 "selector": "a.ghostkit-button",
27 "attribute": "href"
28 },
29 "ariaLabel": {
30 "type": "string",
31 "source": "attribute",
32 "selector": "a.ghostkit-button",
33 "attribute": "aria-label"
34 },
35 "target": {
36 "type": "string",
37 "source": "attribute",
38 "selector": "a.ghostkit-button",
39 "attribute": "target"
40 },
41 "rel": {
42 "type": "string",
43 "source": "attribute",
44 "selector": "a.ghostkit-button",
45 "attribute": "rel"
46 },
47 "text": {
48 "type": "string",
49 "source": "html",
50 "selector": ".ghostkit-button .ghostkit-button-text",
51 "default": "Button"
52 },
53 "hideText": {
54 "type": "boolean",
55 "default": false
56 },
57 "icon": {
58 "type": "string",
59 "default": ""
60 },
61 "iconPosition": {
62 "type": "string",
63 "default": "left"
64 },
65 "size": {
66 "type": "string",
67 "default": "md"
68 },
69 "color": {
70 "type": "string"
71 },
72 "textColor": {
73 "type": "string"
74 },
75
76 "borderRadius": {
77 "type": "number"
78 },
79 "borderWeight": {
80 "type": "number"
81 },
82 "borderColor": {
83 "type": "string"
84 },
85
86 "focusOutlineWeight": {
87 "type": "number"
88 },
89
90 "hoverColor": {
91 "type": "string"
92 },
93 "hoverTextColor": {
94 "type": "string"
95 },
96 "hoverBorderColor": {
97 "type": "string"
98 },
99
100 "focusOutlineColor": {
101 "type": "string",
102 "default": "rgba(3, 102, 214, 0.5)"
103 }
104 }
105 }
106