PluginProbe ʕ •ᴥ•ʔ
Kubio AI Page Builder / 2.8.3
Kubio AI Page Builder v2.8.3
2.8.4 2.8.3 2.8.2 2.8.1 trunk 1.0.0 1.0.1 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.7.0 1.7.1 1.7.2 1.7.3 1.8.0 1.8.1 1.8.2 1.9.0 2.0.0 2.1.1 2.1.2 2.1.3 2.2.0 2.2.3 2.2.4 2.2.5 2.3.0 2.3.1 2.3.3 2.3.4 2.4.0 2.4.1 2.4.2 2.4.3 2.4.5 2.5.0 2.5.1 2.5.2 2.5.3 2.6.0 2.6.1 2.6.2 2.6.3 2.6.5 2.6.6 2.6.7 2.7.0 2.7.1 2.7.2 2.7.3 2.8.0
kubio / build / block-library / blocks / link / block.json
kubio / build / block-library / blocks / link Last commit date
block.json 2 years ago index.php 1 year ago
block.json
138 lines
1 {
2 "name": "kubio/link",
3 "category": "kubio-basic",
4 "attributes": {
5 "kubio": {
6 "type": "object"
7 },
8 "text": {
9 "type": "string",
10 "source": "html",
11 "default": "this is a link"
12 },
13 "link": {
14 "type": "object",
15 "default": {
16 "typeOpenLink": "sameWindow"
17 }
18 },
19 "preserveSpace": {
20 "type": "object"
21 },
22 "icon": {
23 "type": "object",
24 "default": {
25 "name": ""
26 }
27 }
28 },
29 "supports": {
30 "anchor": true,
31 "kubio": {
32 "appearanceEffect": true,
33 "default": {
34 "props": {
35 "showIcon": false,
36 "iconPosition": "before"
37 },
38 "style": {
39 "descendants": {
40 "icon": {
41 "size": {
42 "value": 16
43 },
44 "margin": {
45 "left": {
46 "value": 10
47 },
48 "right": {
49 "value": 10
50 }
51 }
52 }
53 }
54 }
55 },
56 "elementsEnum": {
57 "OUTER": "outer",
58 "LINK": "link",
59 "ICON": "icon",
60 "TEXT": "text"
61 },
62 "elementsByName": {
63 "outer": {
64 "wrapper": true,
65 "props": {
66 "tag": "span"
67 }
68 },
69 "link": {
70 "default": true,
71 "prefixWithTag": true,
72 "props": {
73 "tag": "a",
74 "className": [
75 "h-w-100",
76 "h-global-transition"
77 ]
78 }
79 },
80 "text": {
81 "props": {
82 "tag": "span",
83 "className": [
84 "kubio-inherit-typography"
85 ]
86 }
87 },
88 "icon": {
89 "props": {
90 "tag": "icon"
91 },
92 "statesConfig": {
93 "default": {
94 "stateRedirectElement": "link"
95 }
96 }
97 }
98 },
99 "template": {
100 "type": "element",
101 "props": {
102 "name": "outer"
103 },
104 "children": [
105 {
106 "type": "element",
107 "props": {
108 "name": "link"
109 },
110 "children": [
111 {
112 "type": "element",
113 "props": {
114 "name": "icon",
115 "shouldRender": "computed.showBeforeIcon"
116 }
117 },
118 {
119 "type": "element",
120 "props": {
121 "name": "text"
122 }
123 },
124 {
125 "type": "element",
126 "props": {
127 "name": "icon",
128 "shouldRender": "computed.showAfterIcon"
129 }
130 }
131 ]
132 }
133 ]
134 }
135 }
136 }
137 }
138