surecart
/
packages
/
blocks-next
/
build
/
blocks
/
product-quantity-input-decrease
Last commit date
block.json
4 months ago
index.asset.php
4 months ago
index.js
4 months ago
view.php
4 months ago
block.json
62 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "surecart/product-quantity-input-decrease", |
| 5 | "title": "Decrease Quantity", |
| 6 | "description": "Display the product quantity input decrease", |
| 7 | "version": "1.0.0", |
| 8 | "category": "surecart-product-page", |
| 9 | "icon": "media-interactive", |
| 10 | "ancestor": [ |
| 11 | "surecart/product-quantity" |
| 12 | ], |
| 13 | "keywords": [ |
| 14 | "quantity", |
| 15 | "form", |
| 16 | "product" |
| 17 | ], |
| 18 | "supports": { |
| 19 | "interactivity": true, |
| 20 | "typography": { |
| 21 | "fontSize": true, |
| 22 | "lineHeight": true, |
| 23 | "textAlign": true, |
| 24 | "__experimentalFontFamily": true, |
| 25 | "__experimentalFontWeight": true, |
| 26 | "__experimentalFontStyle": true, |
| 27 | "__experimentalTextTransform": true, |
| 28 | "__experimentalTextDecoration": true, |
| 29 | "__experimentalLetterSpacing": true, |
| 30 | "__experimentalDefaultControls": { |
| 31 | "fontSize": true, |
| 32 | "fontAppearance": true, |
| 33 | "textTransform": true |
| 34 | } |
| 35 | }, |
| 36 | "spacing": { |
| 37 | "padding": true, |
| 38 | "margin": true |
| 39 | }, |
| 40 | "color": true, |
| 41 | "__experimentalBorder": { |
| 42 | "radius": true, |
| 43 | "color": true, |
| 44 | "style": true, |
| 45 | "width": true |
| 46 | }, |
| 47 | "dimensions": { |
| 48 | "minHeight": true |
| 49 | } |
| 50 | }, |
| 51 | "textdomain": "surecart", |
| 52 | "render": "file:./view.php", |
| 53 | "editorScript": "file:./index.js", |
| 54 | "editorStyle": [ |
| 55 | "surecart-quantity-selector", |
| 56 | "surecart-input-group" |
| 57 | ], |
| 58 | "style": [ |
| 59 | "surecart-quantity-selector", |
| 60 | "surecart-input-group" |
| 61 | ] |
| 62 | } |