| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "ttb/text-typing", |
| 5 |
"title": "Text Typing", |
| 6 |
"description": "Add animated typing effects to your headings and text in the Gutenberg block editor.", |
| 7 |
"category": "widgets", |
| 8 |
"keywords": [ |
| 9 |
"typing text", |
| 10 |
"typing effect", |
| 11 |
"typed js", |
| 12 |
"text animation", |
| 13 |
"typewriter", |
| 14 |
"animated text", |
| 15 |
"typing animation", |
| 16 |
"headline", |
| 17 |
"rotating text" |
| 18 |
], |
| 19 |
"textdomain": "text-typing", |
| 20 |
"attributes": { |
| 21 |
"align": { |
| 22 |
"type": "string", |
| 23 |
"default": "" |
| 24 |
}, |
| 25 |
"effects": { |
| 26 |
"type": "object", |
| 27 |
"default": { |
| 28 |
"effect": "matrix" |
| 29 |
} |
| 30 |
}, |
| 31 |
"themes": { |
| 32 |
"type": "object", |
| 33 |
"default": { |
| 34 |
"theme": "default" |
| 35 |
} |
| 36 |
}, |
| 37 |
"terminal": { |
| 38 |
"type": "object", |
| 39 |
"default": { |
| 40 |
"headerText": "developer@portfolio" |
| 41 |
} |
| 42 |
}, |
| 43 |
"prefixText": { |
| 44 |
"type": "string", |
| 45 |
"default": "We create " |
| 46 |
}, |
| 47 |
"typingContents": { |
| 48 |
"type": "array", |
| 49 |
"default": [ |
| 50 |
{ |
| 51 |
"text": "WordPress Plugins", |
| 52 |
"color": "#52c41a" |
| 53 |
}, |
| 54 |
{ |
| 55 |
"text": "WordPress Themes", |
| 56 |
"color": "#fa8c16" |
| 57 |
}, |
| 58 |
{ |
| 59 |
"text": "Drupal Modules", |
| 60 |
"color": "#1890ff" |
| 61 |
}, |
| 62 |
{ |
| 63 |
"text": "Prestashop Modules", |
| 64 |
"color": "#df0067" |
| 65 |
}, |
| 66 |
{ |
| 67 |
"text": "Magento Extensions", |
| 68 |
"color": "#f46f25" |
| 69 |
}, |
| 70 |
{ |
| 71 |
"text": "Shopify Apps", |
| 72 |
"color": "#95bf47" |
| 73 |
} |
| 74 |
] |
| 75 |
}, |
| 76 |
"suffixText": { |
| 77 |
"type": "string", |
| 78 |
"default": "" |
| 79 |
}, |
| 80 |
"typeSpeed": { |
| 81 |
"type": "number", |
| 82 |
"default": 100 |
| 83 |
}, |
| 84 |
"startDelay": { |
| 85 |
"type": "number", |
| 86 |
"default": 500 |
| 87 |
}, |
| 88 |
"backSpeed": { |
| 89 |
"type": "number", |
| 90 |
"default": 75 |
| 91 |
}, |
| 92 |
"backDelay": { |
| 93 |
"type": "number", |
| 94 |
"default": 500 |
| 95 |
}, |
| 96 |
"isShuffle": { |
| 97 |
"type": "boolean", |
| 98 |
"default": false |
| 99 |
}, |
| 100 |
"isFadeOut": { |
| 101 |
"type": "boolean", |
| 102 |
"default": false |
| 103 |
}, |
| 104 |
"fadeOutDelay": { |
| 105 |
"type": "number", |
| 106 |
"default": 500 |
| 107 |
}, |
| 108 |
"isLoop": { |
| 109 |
"type": "boolean", |
| 110 |
"default": true |
| 111 |
}, |
| 112 |
"loopCount": { |
| 113 |
"type": "number", |
| 114 |
"default": 0 |
| 115 |
}, |
| 116 |
"isCursor": { |
| 117 |
"type": "boolean", |
| 118 |
"default": true |
| 119 |
}, |
| 120 |
"cursorChar": { |
| 121 |
"type": "string", |
| 122 |
"default": "|" |
| 123 |
}, |
| 124 |
"textAlign": { |
| 125 |
"type": "string", |
| 126 |
"default": "center" |
| 127 |
}, |
| 128 |
"background": { |
| 129 |
"type": "object", |
| 130 |
"default": { |
| 131 |
"color": "transparent" |
| 132 |
} |
| 133 |
}, |
| 134 |
"terminalHeadingBg": { |
| 135 |
"type": "object", |
| 136 |
"default": { |
| 137 |
"color": "#2b2b3c" |
| 138 |
} |
| 139 |
}, |
| 140 |
"terminalHeadingTextColor": { |
| 141 |
"type": "string", |
| 142 |
"default": "#ccc" |
| 143 |
}, |
| 144 |
"terminalHeadTypo": { |
| 145 |
"type": "object", |
| 146 |
"default": { |
| 147 |
"fontSize": { |
| 148 |
"desktop": 12, |
| 149 |
"tablet": 12, |
| 150 |
"mobile": 12 |
| 151 |
} |
| 152 |
} |
| 153 |
}, |
| 154 |
"isIcon": { |
| 155 |
"type": "boolean", |
| 156 |
"default": true |
| 157 |
}, |
| 158 |
"iconList": { |
| 159 |
"type": "object", |
| 160 |
"default": { |
| 161 |
"size": 60, |
| 162 |
"uploadIconUrl": "https://i.ibb.co.com/Y4DRLrNL/deciduous-tree-1f333.png" |
| 163 |
} |
| 164 |
}, |
| 165 |
"padding": { |
| 166 |
"type": "object", |
| 167 |
"default": { |
| 168 |
"vertical": "10px", |
| 169 |
"horizontal": "15px" |
| 170 |
} |
| 171 |
}, |
| 172 |
"prefixTypo": { |
| 173 |
"type": "object", |
| 174 |
"default": { |
| 175 |
"fontSize": { |
| 176 |
"desktop": 22, |
| 177 |
"tablet": 20, |
| 178 |
"mobile": 18 |
| 179 |
} |
| 180 |
} |
| 181 |
}, |
| 182 |
"content": { |
| 183 |
"type": "string", |
| 184 |
"default": "Animated text for animation", |
| 185 |
"selector": ".atbAnimatedText .content" |
| 186 |
}, |
| 187 |
"textAlignment": { |
| 188 |
"type": "string", |
| 189 |
"default": "center" |
| 190 |
}, |
| 191 |
"color": { |
| 192 |
"type": "string", |
| 193 |
"default": "#fff" |
| 194 |
}, |
| 195 |
"repeat": { |
| 196 |
"type": "boolean", |
| 197 |
"default": true |
| 198 |
}, |
| 199 |
"prefixColor": { |
| 200 |
"type": "string", |
| 201 |
"default": "#333" |
| 202 |
}, |
| 203 |
"typingContentsTypo": { |
| 204 |
"type": "object", |
| 205 |
"default": { |
| 206 |
"fontSize": { |
| 207 |
"desktop": 22, |
| 208 |
"tablet": 20, |
| 209 |
"mobile": 18 |
| 210 |
}, |
| 211 |
"fontWeight": 600 |
| 212 |
} |
| 213 |
}, |
| 214 |
"suffixTypo": { |
| 215 |
"type": "object", |
| 216 |
"default": { |
| 217 |
"fontSize": { |
| 218 |
"desktop": 22, |
| 219 |
"tablet": 20, |
| 220 |
"mobile": 18 |
| 221 |
} |
| 222 |
} |
| 223 |
}, |
| 224 |
"suffixColor": { |
| 225 |
"type": "string", |
| 226 |
"default": "#333" |
| 227 |
}, |
| 228 |
"isRandomColor": { |
| 229 |
"type": "boolean", |
| 230 |
"default": true |
| 231 |
}, |
| 232 |
"isCustomBG": { |
| 233 |
"type": "boolean", |
| 234 |
"default": false |
| 235 |
}, |
| 236 |
"animatedSize": { |
| 237 |
"type": "object", |
| 238 |
"default": { |
| 239 |
"width": { |
| 240 |
"desktop": "100%", |
| 241 |
"tablet": "", |
| 242 |
"mobile": "" |
| 243 |
}, |
| 244 |
"height": { |
| 245 |
"desktop": "200px", |
| 246 |
"tablet": "", |
| 247 |
"mobile": "" |
| 248 |
} |
| 249 |
} |
| 250 |
}, |
| 251 |
"iconSize": { |
| 252 |
"type": "object", |
| 253 |
"default": { |
| 254 |
"width": { |
| 255 |
"desktop": "60px", |
| 256 |
"tablet": "", |
| 257 |
"mobile": "" |
| 258 |
} |
| 259 |
} |
| 260 |
}, |
| 261 |
"border": { |
| 262 |
"type": "object", |
| 263 |
"default": { |
| 264 |
"radius": "8px", |
| 265 |
"width": "0px", |
| 266 |
"style": "solid", |
| 267 |
"color": "#000000" |
| 268 |
} |
| 269 |
} |
| 270 |
}, |
| 271 |
"supports": { |
| 272 |
"align": [ |
| 273 |
"wide", |
| 274 |
"full" |
| 275 |
], |
| 276 |
"html": false |
| 277 |
}, |
| 278 |
"example": { |
| 279 |
"attributes": { |
| 280 |
"preview": true |
| 281 |
} |
| 282 |
}, |
| 283 |
"editorScript": [ |
| 284 |
"file:./index.js", |
| 285 |
"typedJS", |
| 286 |
"textillate", |
| 287 |
"wp-api", |
| 288 |
"wp-api-request", |
| 289 |
"wp-block-editor" |
| 290 |
], |
| 291 |
"editorStyle": "file:./index.css", |
| 292 |
"style": [ |
| 293 |
"file:./view.css", |
| 294 |
"animate" |
| 295 |
], |
| 296 |
"render": "file:./render.php", |
| 297 |
"viewScript": [ |
| 298 |
"file:./view.js", |
| 299 |
"typedJS", |
| 300 |
"textillate" |
| 301 |
] |
| 302 |
} |