block.json
22 lines
| 1 | { |
| 2 | "apiVersion": 2, |
| 3 | "name": "jet-forms/conditional-block", |
| 4 | "category": "jet-form-builder-fields", |
| 5 | "keywords": [ |
| 6 | "jetformbuilder", |
| 7 | "block", |
| 8 | "conditonal" |
| 9 | ], |
| 10 | "textdomain": "jet-form-builder", |
| 11 | "supports": { |
| 12 | "customClassName": false, |
| 13 | "html": false |
| 14 | }, |
| 15 | "icon": "<svg width=\"64\" height=\"64\" viewBox=\"0 0 64 64\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"1\" y=\"12\" width=\"18\" height=\"18\" rx=\"2\" fill=\"#ffffff\" stroke=\"#0F172A\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><rect x=\"1\" y=\"34\" width=\"18\" height=\"18\" rx=\"2\" fill=\"#4AF3BA\" stroke=\"#0F172A\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><rect x=\"45\" y=\"12\" width=\"18\" height=\"18\" rx=\"2\" fill=\"#4AF3BA\" stroke=\"#0F172A\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><rect x=\"45\" y=\"34\" width=\"18\" height=\"18\" rx=\"2\" fill=\"#ffffff\" stroke=\"#0F172A\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M40 17L44 21L40 25V22H36.7004L28.9398 43.3417C28.7961 43.7369 28.4205 44 28 44H19V42H27.2996L35.0602 20.6583C35.2039 20.2631 35.5795 20 36 20H40V17Z\" fill=\"#0F172A\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M30.9359 26.1477L28.9398 20.6583C28.7961 20.2631 28.4205 20 28 20H19V22H27.2996L29.8719 29.0739L30.9359 26.1477ZM33.0641 37.8524L35.0602 43.3417C35.2039 43.7369 35.5795 44 36 44H40V47L44 43L40 39V42H36.7004L34.1281 34.9262L33.0641 37.8524Z\" fill=\"#0F172A\"/></svg>", |
| 16 | "attributes": { |
| 17 | "conditions": { |
| 18 | "type": "array", |
| 19 | "default": [] |
| 20 | } |
| 21 | } |
| 22 | } |