{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "alpha-blocks/accordion",
  "version": "1.2.3",
  "title": "Accordion",
  "category": "alpha-blocks",
  "icon": "editor-insertmore",
  "providesContext": {
    "alphablock/accordion/activeIcon": "activeIcon",
    "alphablock/accordion/inactiveIcon": "inactiveIcon",
    "alphablock/accordion/questionTag": "questionTag"
  },
  "attributes": {
    "blockID": {
      "type": "string"
    },
    "compiledCss": {
      "type": "string"
    },
    "collapseOtherItems": {
      "type": "boolean",
      "default": true,
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "General",
        "inspectorComponent": "InspectorCheckbox",
        "inspectorLabel": "Collapse other items"
      }
    },
    "activeIcon": {
      "type": "object",
      "default": {
        "iconName": "chevronRightSmall"
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "Icon",
        "inspectorComponent": "InspectorIconSelector",
        "inspectorLabel": "Active Icon"
      }
    },
    "answerPadding": {
      "type": "object",
      "default": {
        "desktop": {
          "borderTop": "15",
          "borderRight": "15",
          "borderBottom": "15",
          "borderLeft": "15",
          "unit": "px"
        }
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "Tab Content",
        "inspectorComponent": "InspectorFourDimension",
        "inspectorLabel": "Padding"
      }
    },
    "answerTextColor": {
      "type": "object",
      "default": {
        "type": "color",
        "gradient": "linear-gradient(to bottom, #B1C5A4 0%, #F9F9F9 100%)",
        "color": "#636363"
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "Tab Content",
        "inspectorComponent": "InspectorColorSelect",
        "inspectorLabel": "Text Color",
        "colorOnly": true
      }
    },
    "answerTypography": {
      "type": "object",
      "default": {
        "fontFamily": "default",
        "fontSize": {
          "desktop": {
            "val": 16,
            "unit": "px"
          }
        },
        "fontWeight": false,
        "fontStyle": false,
        "fontTransform": false,
        "fontDecoration": "default",
        "fontLineHeight": {
          "desktop": {
            "unit": "px",
            "val": 24
          }
        },
        "fontLetterSpacing": {
          "desktop": {
            "unit": "px",
            "val": 0
          }
        }
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "Tab Content",
        "inspectorComponent": "InspectorTypographyControl",
        "inspectorLabel": "Typography"
      }
    },
    "changeBackgroundBorderOnHover": {
      "type": "boolean",
      "default": false,
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "Container",
        "inspectorComponent": "InspectorCheckbox",
        "inspectorLabel": "Change Border & Background On Hover"
      }
    },
    "containerHoverBackground": {
      "type": "object",
      "default": {
        "type": "gradient",
        "gradient": "linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)",
        "color": "#f00"
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "Container",
        "inspectorComponent": "InspectorColorSelect",
        "inspectorLabel": "Background",
        "dependsOn": "changeBackgroundBorderOnHover",
        "dependsValue": true
      }
    },
    "containerHoverBorder": {
      "type": "object",
      "default": {
        "color": "#333",
        "style": "solid",
        "width": "2px"
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "Container",
        "inspectorComponent": "InspectorBorder",
        "inspectorLabel": "Border",
        "dependsOn": "changeBackgroundBorderOnHover",
        "dependsValue": true
      }
    },
    "containerNormalBackground": {
      "type": "object",
      "default": {
        "type": "color",
        "gradient": "linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)",
        "color": "#b5bdbc"
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "Container",
        "inspectorComponent": "InspectorColorSelect",
        "inspectorLabel": "Background"
      }
    },
    "containerNormalBorder": {
      "type": "object",
      "default": {
        "width": "18px"
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "Container",
        "inspectorComponent": "InspectorBorder",
        "inspectorLabel": "Border"
      }
    },
    "containerNormalBorderRadius": {
      "type": "object",
      "default": {
        "desktop": {
          "borderTop": "2",
          "borderRight": "2",
          "borderBottom": "2",
          "borderLeft": "2",
          "unit": "px"
        }
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "Container",
        "inspectorComponent": "InspectorFourDimension",
        "inspectorLabel": "Border Radius"
      }
    },
    "containerNormalRowsGap": {
      "type": "object",
      "default": {
        "desktop": {
          "val": 5,
          "unit": "px"
        },
        "tablet": {
          "val": 32,
          "unit": "em"
        }
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "Container",
        "inspectorComponent": "InspectorResponsiveRangeControl",
        "inspectorLabel": "Rows Gap"
      }
    },
    "enableSchemaSupport": {
      "type": "boolean",
      "default": true,
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "General",
        "inspectorComponent": "InspectorCheckbox",
        "inspectorLabel": "Enable Schema Support"
      }
    },
    "enableSeparator": {
      "type": "boolean",
      "default": true,
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "General",
        "inspectorComponent": "InspectorCheckbox",
        "inspectorLabel": "Enable Separator"
      }
    },
    "enableToggle": {
      "type": "boolean",
      "default": true,
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "General",
        "inspectorComponent": "InspectorCheckbox",
        "inspectorLabel": "Enable Toggle"
      }
    },
    "expandFirstItem": {
      "type": "boolean",
      "default": true,
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "General",
        "inspectorComponent": "InspectorCheckbox",
        "inspectorLabel": "Expand First Item"
      }
    },
    "gapIconQuestion": {
      "type": "object",
      "default": {
        "desktop": {
          "val": 6,
          "unit": "px"
        }
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "Icon",
        "inspectorComponent": "InspectorResponsiveRangeControl",
        "inspectorLabel": "Gap between Icon and Question"
      }
    },
    "iconAlignment": {
      "type": "string",
      "default": "left",
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "Icon",
        "inspectorComponent": "InspectorSelectButton",
        "inspectorLabel": "Icon Alignment",
        "options": [
          {
            "value": "left",
            "iconName": "editor-alignleft",
            "label": "editor-alignleft"
          },
          {
            "value": "right",
            "iconName": "editor-alignright",
            "label": "editor-alignright"
          }
        ],
        "iconButton": true
      }
    },
    "iconBackgroundColor": {
      "type": "object",
      "default": {
        "type": "color",
        "gradient": "linear-gradient(to bottom, #B5BDBC 0%, #F9F9F9 100%)",
        "color": "#b5bdbc"
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "Icon",
        "inspectorComponent": "InspectorColorSelect",
        "inspectorLabel": "Background Color"
      }
    },
    "iconBorder": {
      "type": "object",
      "default": {
        "style": "none",
        "width": "0px"
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "Icon",
        "inspectorComponent": "InspectorBorder",
        "inspectorLabel": "Border"
      }
    },
    "iconColor": {
      "type": "object",
      "default": {
        "type": "color",
        "gradient": "linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)",
        "color": "#636363"
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "Icon",
        "inspectorComponent": "InspectorColorSelect",
        "inspectorLabel": "Color",
        "colorOnly": true
      }
    },
    "iconPadding": {
      "type": "object",
      "default": {
        "desktop": {
          "val": "2",
          "unit": "px"
        }
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "Icon",
        "inspectorComponent": "InspectorResponsiveRangeControl",
        "inspectorLabel": "Icon Padding"
      }
    },
    "iconRadius": {
      "type": "object",
      "default": {
        "desktop": {
          "borderTop": 0,
          "borderRight": 0,
          "borderBottom": 0,
          "borderLeft": 0,
          "unit": "px"
        }
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "Icon",
        "inspectorComponent": "InspectorFourDimension",
        "inspectorLabel": "Border Radius"
      }
    },
    "iconSize": {
      "type": "object",
      "default": {
        "desktop": {
          "val": 30,
          "unit": "px"
        }
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "Icon",
        "inspectorComponent": "InspectorResponsiveRangeControl",
        "inspectorLabel": "Icon Size"
      }
    },
    "inactiveIcon": {
      "type": "object",
      "default": {
        "iconName": "chevronUp"
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "Icon",
        "inspectorComponent": "InspectorIconSelector",
        "inspectorLabel": "Inactive Icon"
      }
    },
    "questionBackground": {
      "type": "object",
      "default": {
        "type": "color",
        "gradient": "linear-gradient(to bottom, #B1C5A4 0%, #F9F9F9 100%)",
        "color": "#b5bdbc"
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "Tab Title",
        "inspectorComponent": "InspectorColorSelect",
        "inspectorLabel": "Background Color"
      }
    },
    "questionPadding": {
      "type": "object",
      "default": {
        "desktop": {
          "borderTop": "7",
          "borderRight": "7",
          "borderBottom": "7",
          "borderLeft": "7",
          "unit": "px"
        }
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "Tab Title",
        "inspectorComponent": "InspectorFourDimension",
        "inspectorLabel": "Padding"
      }
    },
    "questionTag": {
      "type": "string",
      "default": "div",
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "General",
        "inspectorComponent": "InspectorSelectButton",
        "inspectorLabel": "Question Tag",
        "options": [
          {
            "label": "H1",
            "value": "h1"
          },
          {
            "label": "H2",
            "value": "h2"
          },
          {
            "label": "H3",
            "value": "h3"
          },
          {
            "label": "H4",
            "value": "h4"
          },
          {
            "label": "H5",
            "value": "h5"
          },
          {
            "label": "H6",
            "value": "h6"
          },
          {
            "label": "div",
            "value": "div"
          },
          {
            "label": "Span",
            "value": "span"
          },
          {
            "label": "P",
            "value": "p"
          }
        ]
      }
    },
    "questionTextColor": {
      "type": "object",
      "default": {
        "type": "color",
        "color": "#636363"
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "Tab Title",
        "inspectorComponent": "InspectorColorSelect",
        "inspectorLabel": "Text Color",
        "colorOnly": true
      }
    },
    "questionTypography": {
      "type": "object",
      "default": {
        "fontFamily": "Alike Angular",
        "fontSize": {
          "desktop": {
            "val": 18,
            "unit": "px"
          }
        },
        "fontWeight": "100",
        "fontStyle": "normal",
        "fontTransform": "Uppercase",
        "fontDecoration": "None",
        "fontLineHeight": {
          "desktop": {
            "unit": "px",
            "val": 29
          }
        },
        "fontLetterSpacing": {
          "desktop": {
            "unit": "px"
          }
        }
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "Tab Title",
        "inspectorComponent": "InspectorTypographyControl",
        "inspectorLabel": "Typography"
      }
    },
    "questionBoxShadow": {
      "type": "object",
      "default": {
        "x": 0,
        "y": 0,
        "blur": 0,
        "spread": 0,
        "color": "#000000",
        "inset": false
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "Tab Title",
        "inspectorComponent": "InspectorShadow",
        "inspectorLabel": "Box Shadow"
      }
    },
    "spacingMargin": {
      "type": "object",
      "default": {
        "desktop": {
          "borderTop": "0",
          "borderRight": "0",
          "borderBottom": "0",
          "borderLeft": "0",
          "unit": "px"
        }
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "Spacing",
        "inspectorComponent": "InspectorFourDimension",
        "inspectorLabel": "Margin"
      }
    },
    "spacingPadding": {
      "type": "object",
      "default": {
        "desktop": {
          "borderTop": "10",
          "borderRight": "10",
          "borderBottom": "10",
          "borderLeft": "10",
          "unit": "px"
        }
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "Spacing",
        "inspectorComponent": "InspectorFourDimension",
        "inspectorLabel": "Padding"
      }
    },
    "zIndex": {
      "type": "object",
      "default": {
        "desktop": {
          "val": "2",
          "unit": "px"
        }
      },
      "inspectorController": {
        "targetTab": "advance",
        "targetAccordionTab": "Z-Index",
        "inspectorComponent": "InspectorResponsiveRangeControl",
        "inspectorLabel": "Z-Index"
      }
    }
  },
  "supports": {
    "customClassName": false,
    "__experimentalGroup": {
      "advanced": false
    }
  },
  "textdomain": "my-example-template-block",
  "editorScript": "file:./index.js",
  "editorStyle": [
    "alpha-admin-css"
  ],
  "script": "alpine",
  "style": "alpha-block-tailwind-style"
}