| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | 3 | "apiVersion": 3, |
| 4 | 4 | "name": "ablocks/academy-courses", |
| 5 | 5 | "version": "0.1.0", |
| 6 | - "title": "Academy Courses", | |
| 6 | + "title": "Courses", | |
| 7 | 7 | "category": "academy", |
| 8 | 8 | "description": "Showcase Academy LMS courses attractively.", |
| 9 | 9 | "keywords": [ |
| 10 | 10 | "ablocks", |
| @@ -30,8 +30,12 @@ | ||
| 30 | 30 | "block_id": { |
| 31 | 31 | "type": "string", |
| 32 | 32 | "default": "" |
| 33 | 33 | }, |
| 34 | + "blockVersion": { | |
| 35 | + "type": "number", | |
| 36 | + "default": 2 | |
| 37 | + }, | |
| 34 | 38 | "course_count": { |
| 35 | 39 | "type": "number", |
| 36 | 40 | "default": 3 |
| 37 | 41 | }, |
| @@ -108,21 +112,21 @@ | ||
| 108 | 112 | "default": "#000" |
| 109 | 113 | }, |
| 110 | 114 | "rating_color": { |
| 111 | 115 | "type": "string", |
| 112 | - "default": "#f4c150" | |
| 116 | + "default": "#5a3d00" | |
| 113 | 117 | }, |
| 114 | 118 | "rating_hover_color": { |
| 115 | 119 | "type": "string", |
| 116 | - "default": "#f4c150" | |
| 120 | + "default": "#5a3d00" | |
| 117 | 121 | }, |
| 118 | 122 | "price_color": { |
| 119 | 123 | "type": "string", |
| 120 | - "default": "#1dbe84" | |
| 124 | + "default": "#1a1a1a" | |
| 121 | 125 | }, |
| 122 | 126 | "price_hover_color": { |
| 123 | 127 | "type": "string", |
| 124 | - "default": "#1dbe84" | |
| 128 | + "default": "#1a1a1a" | |
| 125 | 129 | }, |
| 126 | 130 | "wish_icon_color": { |
| 127 | 131 | "type": "string", |
| 128 | 132 | "default": "#999" |
| @@ -130,13 +134,17 @@ | ||
| 130 | 134 | "wish_icon_hover_color": { |
| 131 | 135 | "type": "string", |
| 132 | 136 | "default": "#999" |
| 133 | 137 | }, |
| 138 | + "cat_typographyGlobal": { | |
| 139 | + "type": "string", | |
| 140 | + "default": "" | |
| 141 | + }, | |
| 134 | 142 | "cat_typography": { |
| 135 | 143 | "type": "object", |
| 136 | 144 | "default": { |
| 137 | 145 | "fontFamily": "", |
| 138 | - "weight": "400", | |
| 146 | + "weight": "", | |
| 139 | 147 | "transform": "", |
| 140 | 148 | "style": "", |
| 141 | 149 | "decoration": "", |
| 142 | 150 | "fontSize": "", |
| @@ -164,13 +172,17 @@ | ||
| 164 | 172 | "wordSpacingUnitTablet": "px", |
| 165 | 173 | "wordSpacingUnitMobile": "px" |
| 166 | 174 | } |
| 167 | 175 | }, |
| 176 | + "title_typographyGlobal": { | |
| 177 | + "type": "string", | |
| 178 | + "default": "" | |
| 179 | + }, | |
| 168 | 180 | "title_typography": { |
| 169 | 181 | "type": "object", |
| 170 | 182 | "default": { |
| 171 | 183 | "fontFamily": "", |
| 172 | - "weight": "400", | |
| 184 | + "weight": "", | |
| 173 | 185 | "transform": "", |
| 174 | 186 | "style": "", |
| 175 | 187 | "decoration": "", |
| 176 | 188 | "fontSize": "", |
| @@ -198,13 +210,17 @@ | ||
| 198 | 210 | "wordSpacingUnitTablet": "px", |
| 199 | 211 | "wordSpacingUnitMobile": "px" |
| 200 | 212 | } |
| 201 | 213 | }, |
| 214 | + "author_typographyGlobal": { | |
| 215 | + "type": "string", | |
| 216 | + "default": "" | |
| 217 | + }, | |
| 202 | 218 | "author_typography": { |
| 203 | 219 | "type": "object", |
| 204 | 220 | "default": { |
| 205 | 221 | "fontFamily": "", |
| 206 | - "weight": "400", | |
| 222 | + "weight": "", | |
| 207 | 223 | "transform": "", |
| 208 | 224 | "style": "", |
| 209 | 225 | "decoration": "", |
| 210 | 226 | "fontSize": "", |
| @@ -232,13 +248,17 @@ | ||
| 232 | 248 | "wordSpacingUnitTablet": "px", |
| 233 | 249 | "wordSpacingUnitMobile": "px" |
| 234 | 250 | } |
| 235 | 251 | }, |
| 252 | + "rating_typographyGlobal": { | |
| 253 | + "type": "string", | |
| 254 | + "default": "" | |
| 255 | + }, | |
| 236 | 256 | "rating_typography": { |
| 237 | 257 | "type": "object", |
| 238 | 258 | "default": { |
| 239 | 259 | "fontFamily": "", |
| 240 | - "weight": "400", | |
| 260 | + "weight": "", | |
| 241 | 261 | "transform": "", |
| 242 | 262 | "style": "", |
| 243 | 263 | "decoration": "", |
| 244 | 264 | "fontSize": "", |
| @@ -266,13 +286,17 @@ | ||
| 266 | 286 | "wordSpacingUnitTablet": "px", |
| 267 | 287 | "wordSpacingUnitMobile": "px" |
| 268 | 288 | } |
| 269 | 289 | }, |
| 290 | + "price_typographyGlobal": { | |
| 291 | + "type": "string", | |
| 292 | + "default": "" | |
| 293 | + }, | |
| 270 | 294 | "price_typography": { |
| 271 | 295 | "type": "object", |
| 272 | 296 | "default": { |
| 273 | 297 | "fontFamily": "", |
| 274 | - "weight": "400", | |
| 298 | + "weight": "", | |
| 275 | 299 | "transform": "", |
| 276 | 300 | "style": "", |
| 277 | 301 | "decoration": "", |
| 278 | 302 | "fontSize": "", |
| @@ -1113,9 +1137,9 @@ | ||
| 1113 | 1137 | "xPositionUnitMobile": "px", |
| 1114 | 1138 | "xPosition": "", |
| 1115 | 1139 | "xPositionTablet": "0", |
| 1116 | 1140 | "xPositionMobile": "0", |
| 1117 | - "yPositionUnit": "0", | |
| 1141 | + "yPositionUnit": "px", | |
| 1118 | 1142 | "yPositionUnitTablet": "px", |
| 1119 | 1143 | "yPositionUnitMobile": "px", |
| 1120 | 1144 | "yPosition": "0", |
| 1121 | 1145 | "yPositionTablet": "0", |
| @@ -1153,8 +1177,34 @@ | ||
| 1153 | 1177 | "colorH": "", |
| 1154 | 1178 | "transitionDuration": "0" |
| 1155 | 1179 | } |
| 1156 | 1180 | }, |
| 1181 | + "_gsapAnimation": { | |
| 1182 | + "type": "object", | |
| 1183 | + "default": { | |
| 1184 | + "animationType": "none", | |
| 1185 | + "duration": 1, | |
| 1186 | + "delay": 0, | |
| 1187 | + "triggerType": "scroll", | |
| 1188 | + "ease": "none", | |
| 1189 | + "x": 0, | |
| 1190 | + "y": 0, | |
| 1191 | + "rotation": 0, | |
| 1192 | + "rotationY": 0, | |
| 1193 | + "opacity": 1, | |
| 1194 | + "xTo": 0, | |
| 1195 | + "yTo": 0, | |
| 1196 | + "rotationTo": 0, | |
| 1197 | + "rotationYTo": 0, | |
| 1198 | + "opacityTo": 1, | |
| 1199 | + "easeTo": "none", | |
| 1200 | + "loops": false, | |
| 1201 | + "numberOfRepeat": 0, | |
| 1202 | + "isSmooth": true, | |
| 1203 | + "startPoint": 80, | |
| 1204 | + "endPoint": 10 | |
| 1205 | + } | |
| 1206 | + }, | |
| 1157 | 1207 | "_hide_on_desktop": { |
| 1158 | 1208 | "type": "boolean", |
| 1159 | 1209 | "default": false |
| 1160 | 1210 | }, |
| @@ -1168,7 +1218,21 @@ | ||
| 1168 | 1218 | }, |
| 1169 | 1219 | "_custom_css": { |
| 1170 | 1220 | "type": "string", |
| 1171 | 1221 | "default": "" |
| 1222 | + }, | |
| 1223 | + "_animation_element_trigger": { | |
| 1224 | + "type": "array", | |
| 1225 | + "default": [], | |
| 1226 | + "items": { | |
| 1227 | + "type": "object" | |
| 1228 | + } | |
| 1229 | + }, | |
| 1230 | + "_animation_page_trigger": { | |
| 1231 | + "type": "array", | |
| 1232 | + "default": [], | |
| 1233 | + "items": { | |
| 1234 | + "type": "object" | |
| 1235 | + } | |
| 1172 | 1236 | } |
| 1173 | 1237 | } |
| 1174 | 1238 | } |