{ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "axvart/accordion-block", "version": "0.1.0", "title": "Accordion Block", "category": "widgets", "icon": "list-view", "description": "A customizable accordion block with FAQ-style design and interactive functionality.", "example": {}, "supports": { "html": false, "align": [ "wide", "full" ], "spacing": { "padding": true, "margin": true }, "color": { "background": true, "text": true, "link": true }, "typography": { "fontSize": true, "lineHeight": true } }, "attributes": { "items": { "type": "array", "default": [ { "id": 1, "question": "What services do you offer?", "answer": "We provide grooming, hair styling, vet checkups, paw and nail care, training, and more for all types of pets.", "isOpen": true }, { "id": 2, "question": "Are your veterinarians certified?", "answer": "Our services cover everything from professional grooming and pet styling to routine vet visits, nail trimming, and behavioral training for pets of all sizes.", "isOpen": false } ] }, "headerTitle": { "type": "string", "default": "FAQ" }, "headerSubtitle": { "type": "string", "default": "Frequently Asked Questions" }, "headerDescription": { "type": "string", "default": "At PetCove, we're here to answer all your pet care questions covering grooming, health checkups, training, emergencies, and booking guidance for your furry friends." }, "showHeader": { "type": "boolean", "default": true }, "allowMultipleOpen": { "type": "boolean", "default": false }, "iconStyle": { "type": "string", "default": "plus-minus" }, "iconSize": { "type": "number", "default": 24 }, "colorSettings": { "type": "object", "default": {} }, "fontSizes": { "type": "object", "default": { "headerTitle": "xx-large", "headerSubtitle": "large", "headerDescription": "medium", "questionText": "large", "answerText": "medium" } }, "fontSizePixels": { "type": "object", "default": { "headerTitle": 32, "headerSubtitle": 24, "headerDescription": 16, "questionText": 20, "answerText": 16 } }, "fontSizeMode": { "type": "object", "default": { "headerTitle": "preset", "headerSubtitle": "preset", "headerDescription": "preset", "questionText": "preset", "answerText": "preset" } }, "headerGap": { "type": "number", "default": 50 }, "itemsGap": { "type": "number", "default": 30 }, "itemsWidth": { "type": "number", "default": 60 }, "headerWidth": { "type": "number", "default": 40 }, "typographyStyles": { "type": "object", "default": { "questionText": {}, "answerText": {}, "headerTitle": {}, "headerSubtitle": {}, "headerDescription": {} } }, "questionPadding": { "type": "object", "default": { "top": "20px", "bottom": "20px", "left": "20px", "right": "20px" } }, "answerPadding": { "type": "object", "default": { "top": "20px", "bottom": "20px", "left": "20px", "right": "20px" } } }, "textdomain": "axvart", "editorScript": "file:./index.js", "editorStyle": "file:./index.css", "style": "file:./style-index.css", "script": "file:./frontend.js" }