| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"name": "sellkit-blocks/accept-reject-button", |
| 4 |
"title": "Accept/Reject Button", |
| 5 |
"category": "sellkit-blocks", |
| 6 |
"textdomain": "sellkit", |
| 7 |
"attributes": { |
| 8 |
"offerType": { |
| 9 |
"type": "string", |
| 10 |
"default": "accept" |
| 11 |
}, |
| 12 |
"title": { |
| 13 |
"type": "string", |
| 14 |
"default": "Offer Action" |
| 15 |
}, |
| 16 |
"textAlign": { |
| 17 |
"type": "string" |
| 18 |
}, |
| 19 |
"width": { |
| 20 |
"type": "number" |
| 21 |
}, |
| 22 |
"shadowColor": { |
| 23 |
"type": "string", |
| 24 |
"default": "" |
| 25 |
}, |
| 26 |
"shadowHorizontal": { |
| 27 |
"type": "number", |
| 28 |
"default": 0 |
| 29 |
}, |
| 30 |
"shadowVertical": { |
| 31 |
"type": "number", |
| 32 |
"default": 0 |
| 33 |
}, |
| 34 |
"shadowBlur": { |
| 35 |
"type": "number", |
| 36 |
"default": 0 |
| 37 |
}, |
| 38 |
"shadowSpread": { |
| 39 |
"type": "number", |
| 40 |
"default": 0 |
| 41 |
}, |
| 42 |
"shadowPosition": { |
| 43 |
"type": "string", |
| 44 |
"default": "outset" |
| 45 |
}, |
| 46 |
"textShadowColor": { |
| 47 |
"type": "string", |
| 48 |
"default": "" |
| 49 |
}, |
| 50 |
"textShadowBlur": { |
| 51 |
"type": "number", |
| 52 |
"default": 0 |
| 53 |
}, |
| 54 |
"textshadowVertical": { |
| 55 |
"type": "number", |
| 56 |
"default": 0 |
| 57 |
}, |
| 58 |
"textShadowHorizontal": { |
| 59 |
"type": "number", |
| 60 |
"default": 0 |
| 61 |
}, |
| 62 |
"dynamicClassNames": { |
| 63 |
"type": "string", |
| 64 |
"default": "" |
| 65 |
}, |
| 66 |
"combinedStyle": { |
| 67 |
"type": "string", |
| 68 |
"default": "" |
| 69 |
} |
| 70 |
}, |
| 71 |
"supports": { |
| 72 |
"anchor": true, |
| 73 |
"align": false, |
| 74 |
"alignWide": false, |
| 75 |
"color": { |
| 76 |
"__experimentalSkipSerialization": true, |
| 77 |
"gradients": true, |
| 78 |
"__experimentalDefaultControls": { |
| 79 |
"background": true, |
| 80 |
"text": true |
| 81 |
} |
| 82 |
}, |
| 83 |
"typography": { |
| 84 |
"fontSize": true, |
| 85 |
"lineHeight": true, |
| 86 |
"__experimentalFontFamily": true, |
| 87 |
"__experimentalFontWeight": true, |
| 88 |
"__experimentalFontStyle": true, |
| 89 |
"__experimentalTextTransform": true, |
| 90 |
"__experimentalTextDecoration": true, |
| 91 |
"__experimentalLetterSpacing": true, |
| 92 |
"__experimentalDefaultControls": { |
| 93 |
"fontSize": true |
| 94 |
} |
| 95 |
}, |
| 96 |
"reusable": false, |
| 97 |
"shadow": true, |
| 98 |
"__experimentalBorder": { |
| 99 |
"color": true, |
| 100 |
"radius": true, |
| 101 |
"style": true, |
| 102 |
"width": true, |
| 103 |
"__experimentalSkipSerialization": true, |
| 104 |
"__experimentalDefaultControls": { |
| 105 |
"color": true, |
| 106 |
"radius": true, |
| 107 |
"style": true, |
| 108 |
"width": true |
| 109 |
} |
| 110 |
}, |
| 111 |
"spacing": { |
| 112 |
"margin": true, |
| 113 |
"padding": true, |
| 114 |
"__experimentalDefaultControls": { |
| 115 |
"margin": false, |
| 116 |
"padding": false |
| 117 |
} |
| 118 |
}, |
| 119 |
"__experimentalSelector": ".sellkit-accept-reject-button-block .wp-block-button__link" |
| 120 |
}, |
| 121 |
"editorStyle": "file:../../../../assets/dist/blocks/accept-reject-button/editor.css", |
| 122 |
"style": [ |
| 123 |
"wp-block-sellkit-accept-reject-button sellkit-accept-reject-button-widget", |
| 124 |
"file:../../../../assets/dist/blocks/accept-reject-button/frontend.css" |
| 125 |
], |
| 126 |
"apiVersion": 3 |
| 127 |
} |
| 128 |
|