block.json
1 year ago
controller.php
1 year ago
index.asset.php
1 month ago
index.js
1 month ago
style-index-rtl.css
1 year ago
style-index.css
1 year ago
view.php
1 year ago
block.json
56 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "surecart/product-pagination-next", |
| 5 | "title": "Next", |
| 6 | "description": "Display the product pagination next.", |
| 7 | "version": "1.0.0", |
| 8 | "category": "surecart-product-list", |
| 9 | "example": {}, |
| 10 | "ancestor": [ |
| 11 | "surecart/product-pagination" |
| 12 | ], |
| 13 | "usesContext": [ |
| 14 | "query", |
| 15 | "surecart/product-list/limit", |
| 16 | "surecart/product-list/type", |
| 17 | "surecart/product-list/ids", |
| 18 | "paginationArrow", |
| 19 | "showLabel" |
| 20 | ], |
| 21 | "attributes": { |
| 22 | "label": { |
| 23 | "type": "string" |
| 24 | } |
| 25 | }, |
| 26 | "supports": { |
| 27 | "interactivity": true, |
| 28 | "spacing": { |
| 29 | "padding": true, |
| 30 | "margin": [ |
| 31 | "top", |
| 32 | "bottom" |
| 33 | ] |
| 34 | }, |
| 35 | "typography": { |
| 36 | "fontSize": true, |
| 37 | "lineHeight": true, |
| 38 | "__experimentalFontWeight": true |
| 39 | }, |
| 40 | "__experimentalBorder": { |
| 41 | "color": true, |
| 42 | "radius": true, |
| 43 | "style": true, |
| 44 | "width": true |
| 45 | }, |
| 46 | "color": { |
| 47 | "text": true, |
| 48 | "background": true, |
| 49 | "enableContrastChecker": true |
| 50 | } |
| 51 | }, |
| 52 | "render": "file:./view.php", |
| 53 | "textdomain": "surecart", |
| 54 | "editorScript": "file:./index.js", |
| 55 | "style": "file:./style-index.css" |
| 56 | } |