| @@ -25,13 +25,22 @@ | ||
| 25 | 25 | ], |
| 26 | 26 | "editorScript": [ |
| 27 | 27 | "ablocks-common-script" |
| 28 | 28 | ], |
| 29 | + "usesContext": [ | |
| 30 | + "postId", | |
| 31 | + "postType", | |
| 32 | + "queryId" | |
| 33 | + ], | |
| 29 | 34 | "attributes": { |
| 30 | 35 | "block_id": { |
| 31 | 36 | "type": "string", |
| 32 | 37 | "default": "" |
| 33 | 38 | }, |
| 39 | + "blockVersion": { | |
| 40 | + "type": "number", | |
| 41 | + "default": "" | |
| 42 | + }, | |
| 34 | 43 | "imgId": { |
| 35 | 44 | "type": "string", |
| 36 | 45 | "default": "" |
| 37 | 46 | }, |
| @@ -68,8 +77,12 @@ | ||
| 68 | 77 | "valueTablet": "", |
| 69 | 78 | "valueMobile": "" |
| 70 | 79 | } |
| 71 | 80 | }, |
| 81 | + "imageDataAttribute": { | |
| 82 | + "type": "object", | |
| 83 | + "default": [] | |
| 84 | + }, | |
| 72 | 85 | "aspectRatio": { |
| 73 | 86 | "type": "object", |
| 74 | 87 | "default": { |
| 75 | 88 | "value": "original", |
| @@ -215,13 +228,17 @@ | ||
| 215 | 228 | "valueTablet": "", |
| 216 | 229 | "valueMobile": "" |
| 217 | 230 | } |
| 218 | 231 | }, |
| 232 | + "captionTypographyGlobal": { | |
| 233 | + "type": "string", | |
| 234 | + "default": "" | |
| 235 | + }, | |
| 219 | 236 | "captionTypography": { |
| 220 | 237 | "type": "object", |
| 221 | 238 | "default": { |
| 222 | 239 | "fontFamily": "", |
| 223 | - "weight": "400", | |
| 240 | + "weight": "", | |
| 224 | 241 | "transform": "", |
| 225 | 242 | "style": "", |
| 226 | 243 | "decoration": "", |
| 227 | 244 | "fontSize": "", |
| @@ -936,9 +953,9 @@ | ||
| 936 | 953 | "xPositionUnitMobile": "px", |
| 937 | 954 | "xPosition": "", |
| 938 | 955 | "xPositionTablet": "0", |
| 939 | 956 | "xPositionMobile": "0", |
| 940 | - "yPositionUnit": "0", | |
| 957 | + "yPositionUnit": "px", | |
| 941 | 958 | "yPositionUnitTablet": "px", |
| 942 | 959 | "yPositionUnitMobile": "px", |
| 943 | 960 | "yPosition": "0", |
| 944 | 961 | "yPositionTablet": "0", |
| @@ -976,8 +993,34 @@ | ||
| 976 | 993 | "colorH": "", |
| 977 | 994 | "transitionDuration": "0" |
| 978 | 995 | } |
| 979 | 996 | }, |
| 997 | + "_gsapAnimation": { | |
| 998 | + "type": "object", | |
| 999 | + "default": { | |
| 1000 | + "animationType": "none", | |
| 1001 | + "duration": 1, | |
| 1002 | + "delay": 0, | |
| 1003 | + "triggerType": "scroll", | |
| 1004 | + "ease": "none", | |
| 1005 | + "x": 0, | |
| 1006 | + "y": 0, | |
| 1007 | + "rotation": 0, | |
| 1008 | + "rotationY": 0, | |
| 1009 | + "opacity": 1, | |
| 1010 | + "xTo": 0, | |
| 1011 | + "yTo": 0, | |
| 1012 | + "rotationTo": 0, | |
| 1013 | + "rotationYTo": 0, | |
| 1014 | + "opacityTo": 1, | |
| 1015 | + "easeTo": "none", | |
| 1016 | + "loops": false, | |
| 1017 | + "numberOfRepeat": 0, | |
| 1018 | + "isSmooth": true, | |
| 1019 | + "startPoint": 80, | |
| 1020 | + "endPoint": 10 | |
| 1021 | + } | |
| 1022 | + }, | |
| 980 | 1023 | "_hide_on_desktop": { |
| 981 | 1024 | "type": "boolean", |
| 982 | 1025 | "default": false |
| 983 | 1026 | }, |
| @@ -991,7 +1034,21 @@ | ||
| 991 | 1034 | }, |
| 992 | 1035 | "_custom_css": { |
| 993 | 1036 | "type": "string", |
| 994 | 1037 | "default": "" |
| 1038 | + }, | |
| 1039 | + "_animation_element_trigger": { | |
| 1040 | + "type": "array", | |
| 1041 | + "default": [], | |
| 1042 | + "items": { | |
| 1043 | + "type": "object" | |
| 1044 | + } | |
| 1045 | + }, | |
| 1046 | + "_animation_page_trigger": { | |
| 1047 | + "type": "array", | |
| 1048 | + "default": [], | |
| 1049 | + "items": { | |
| 1050 | + "type": "object" | |
| 1051 | + } | |
| 995 | 1052 | } |
| 996 | 1053 | } |
| 997 | 1054 | } |