| @@ -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 | "paragraph": { |
| 35 | 44 | "type": "string", |
| 36 | 45 | "source": "html", |
| 37 | 46 | "selector": ".ablocks-paragraph-text" |
| @@ -59,13 +68,17 @@ | ||
| 59 | 68 | "valueTablet": "", |
| 60 | 69 | "valueMobile": "" |
| 61 | 70 | } |
| 62 | 71 | }, |
| 72 | + "typographyGlobal": { | |
| 73 | + "type": "string", | |
| 74 | + "default": "" | |
| 75 | + }, | |
| 63 | 76 | "typography": { |
| 64 | 77 | "type": "object", |
| 65 | 78 | "default": { |
| 66 | 79 | "fontFamily": "", |
| 67 | - "weight": "400", | |
| 80 | + "weight": "", | |
| 68 | 81 | "transform": "", |
| 69 | 82 | "style": "", |
| 70 | 83 | "decoration": "", |
| 71 | 84 | "fontSize": "", |
| @@ -537,9 +550,9 @@ | ||
| 537 | 550 | "xPositionUnitMobile": "px", |
| 538 | 551 | "xPosition": "", |
| 539 | 552 | "xPositionTablet": "0", |
| 540 | 553 | "xPositionMobile": "0", |
| 541 | - "yPositionUnit": "0", | |
| 554 | + "yPositionUnit": "px", | |
| 542 | 555 | "yPositionUnitTablet": "px", |
| 543 | 556 | "yPositionUnitMobile": "px", |
| 544 | 557 | "yPosition": "0", |
| 545 | 558 | "yPositionTablet": "0", |
| @@ -577,8 +590,34 @@ | ||
| 577 | 590 | "colorH": "", |
| 578 | 591 | "transitionDuration": "0" |
| 579 | 592 | } |
| 580 | 593 | }, |
| 594 | + "_gsapAnimation": { | |
| 595 | + "type": "object", | |
| 596 | + "default": { | |
| 597 | + "animationType": "none", | |
| 598 | + "duration": 1, | |
| 599 | + "delay": 0, | |
| 600 | + "triggerType": "scroll", | |
| 601 | + "ease": "none", | |
| 602 | + "x": 0, | |
| 603 | + "y": 0, | |
| 604 | + "rotation": 0, | |
| 605 | + "rotationY": 0, | |
| 606 | + "opacity": 1, | |
| 607 | + "xTo": 0, | |
| 608 | + "yTo": 0, | |
| 609 | + "rotationTo": 0, | |
| 610 | + "rotationYTo": 0, | |
| 611 | + "opacityTo": 1, | |
| 612 | + "easeTo": "none", | |
| 613 | + "loops": false, | |
| 614 | + "numberOfRepeat": 0, | |
| 615 | + "isSmooth": true, | |
| 616 | + "startPoint": 80, | |
| 617 | + "endPoint": 10 | |
| 618 | + } | |
| 619 | + }, | |
| 581 | 620 | "_hide_on_desktop": { |
| 582 | 621 | "type": "boolean", |
| 583 | 622 | "default": false |
| 584 | 623 | }, |
| @@ -592,7 +631,21 @@ | ||
| 592 | 631 | }, |
| 593 | 632 | "_custom_css": { |
| 594 | 633 | "type": "string", |
| 595 | 634 | "default": "" |
| 635 | + }, | |
| 636 | + "_animation_element_trigger": { | |
| 637 | + "type": "array", | |
| 638 | + "default": [], | |
| 639 | + "items": { | |
| 640 | + "type": "object" | |
| 641 | + } | |
| 642 | + }, | |
| 643 | + "_animation_page_trigger": { | |
| 644 | + "type": "array", | |
| 645 | + "default": [], | |
| 646 | + "items": { | |
| 647 | + "type": "object" | |
| 648 | + } | |
| 596 | 649 | } |
| 597 | 650 | } |
| 598 | 651 | } |