← All changes
|
assets/build/blocks/academy-certificate/block.json
+43
-3
2.9.1
→
2.16.0
View file →
| @@ -2,11 +2,11 @@ | ||
| 2 | 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | 3 | "apiVersion": 3, |
| 4 | 4 | "name": "ablocks/academy-certificate", |
| 5 | 5 | "version": "0.1.0", |
| 6 | - "title": "Academy Certificate", | |
| 6 | + "title": "Certificate", | |
| 7 | 7 | "category": "academy", |
| 8 | - "description": "Academy Certificate Block", | |
| 8 | + "description": "Certificate Block", | |
| 9 | 9 | "example": [], |
| 10 | 10 | "supports": { |
| 11 | 11 | "html": false, |
| 12 | 12 | "anchor": true, |
| @@ -501,9 +501,9 @@ | ||
| 501 | 501 | "xPositionUnitMobile": "px", |
| 502 | 502 | "xPosition": "", |
| 503 | 503 | "xPositionTablet": "0", |
| 504 | 504 | "xPositionMobile": "0", |
| 505 | - "yPositionUnit": "0", | |
| 505 | + "yPositionUnit": "px", | |
| 506 | 506 | "yPositionUnitTablet": "px", |
| 507 | 507 | "yPositionUnitMobile": "px", |
| 508 | 508 | "yPosition": "0", |
| 509 | 509 | "yPositionTablet": "0", |
| @@ -541,8 +541,34 @@ | ||
| 541 | 541 | "colorH": "", |
| 542 | 542 | "transitionDuration": "0" |
| 543 | 543 | } |
| 544 | 544 | }, |
| 545 | + "_gsapAnimation": { | |
| 546 | + "type": "object", | |
| 547 | + "default": { | |
| 548 | + "animationType": "none", | |
| 549 | + "duration": 1, | |
| 550 | + "delay": 0, | |
| 551 | + "triggerType": "scroll", | |
| 552 | + "ease": "none", | |
| 553 | + "x": 0, | |
| 554 | + "y": 0, | |
| 555 | + "rotation": 0, | |
| 556 | + "rotationY": 0, | |
| 557 | + "opacity": 1, | |
| 558 | + "xTo": 0, | |
| 559 | + "yTo": 0, | |
| 560 | + "rotationTo": 0, | |
| 561 | + "rotationYTo": 0, | |
| 562 | + "opacityTo": 1, | |
| 563 | + "easeTo": "none", | |
| 564 | + "loops": false, | |
| 565 | + "numberOfRepeat": 0, | |
| 566 | + "isSmooth": true, | |
| 567 | + "startPoint": 80, | |
| 568 | + "endPoint": 10 | |
| 569 | + } | |
| 570 | + }, | |
| 545 | 571 | "_hide_on_desktop": { |
| 546 | 572 | "type": "boolean", |
| 547 | 573 | "default": false |
| 548 | 574 | }, |
| @@ -556,7 +582,21 @@ | ||
| 556 | 582 | }, |
| 557 | 583 | "_custom_css": { |
| 558 | 584 | "type": "string", |
| 559 | 585 | "default": "" |
| 586 | + }, | |
| 587 | + "_animation_element_trigger": { | |
| 588 | + "type": "array", | |
| 589 | + "default": [], | |
| 590 | + "items": { | |
| 591 | + "type": "object" | |
| 592 | + } | |
| 593 | + }, | |
| 594 | + "_animation_page_trigger": { | |
| 595 | + "type": "array", | |
| 596 | + "default": [], | |
| 597 | + "items": { | |
| 598 | + "type": "object" | |
| 599 | + } | |
| 560 | 600 | } |
| 561 | 601 | } |
| 562 | 602 | } |