| @@ -1,11 +1,11 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "apiVersion": 2, |
| 3 | 3 | "name": "gutsliders/any-content", |
| 4 | 4 | "version": "0.1.0", |
| 5 | - "title": "Slide Any Content", | |
| 5 | + "title": "Flexible", | |
| 6 | 6 | "category": "slider-blocks", |
| 7 | - "description": "Show custom content in sliding mode.", | |
| 7 | + "description": "Slide any content in sliding or carousel mode.", | |
| 8 | 8 | "supports": { |
| 9 | 9 | "html": false, |
| 10 | 10 | "anchor": true, |
| 11 | 11 | "align": [ |
| @@ -14,25 +14,28 @@ | ||
| 14 | 14 | ] |
| 15 | 15 | }, |
| 16 | 16 | "example": { |
| 17 | 17 | "attributes": { |
| 18 | - "slides": [ | |
| 19 | - { | |
| 20 | - "title": "Slide 1", | |
| 21 | - "description": "Slide 1 description" | |
| 22 | - }, | |
| 23 | - { | |
| 24 | - "title": "Slide 2", | |
| 25 | - "description": "Slide 2 description" | |
| 26 | - }, | |
| 27 | - { | |
| 28 | - "title": "Slide 3", | |
| 29 | - "description": "Slide 3 description" | |
| 30 | - } | |
| 31 | - ] | |
| 32 | - } | |
| 18 | + "preview": true | |
| 19 | + }, | |
| 20 | + "viewportWidth": 432 | |
| 33 | 21 | }, |
| 34 | 22 | "textdomain": "slider-blocks", |
| 35 | - "editorScript": "file:./index.js", | |
| 36 | - "editorStyle": "file:./index.css", | |
| 37 | - "style": "file:./style-index.css" | |
| 23 | + "editorScript": [ | |
| 24 | + "file:./index.js", | |
| 25 | + "gutslider-swiper-script", | |
| 26 | + "gutslider-blocks-global-script" | |
| 27 | + ], | |
| 28 | + "editorStyle": [ | |
| 29 | + "file:./index.css", | |
| 30 | + "gutslider-swiper-style", | |
| 31 | + "gutslider-blocks-global-style" | |
| 32 | + ], | |
| 33 | + "style": [ | |
| 34 | + "file:./style-index.css", | |
| 35 | + "gutslider-swiper-style" | |
| 36 | + ], | |
| 37 | + "viewScript": [ | |
| 38 | + "file:./frontend.js", | |
| 39 | + "gutslider-swiper-script" | |
| 40 | + ] | |
| 38 | 41 | } |