{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "alpha-blocks/column",
  "title": "Column",
  "category": "alpha-blocks",
  "description": "An individual column for the columns block.",
  "parent": [
    "alpha-blocks/columns",
    "alpha-blocks/column"
  ],
  "version": "1.0.0",
  "textdomain": "alpha-blocks",
  "editorScript": "file:./index.js",
  "style": "alpha-block-tailwind-style",
  "attributes": {
    "blockId": {
      "type": "string"
    },
    "compiledCss": {
      "type": "string"
    },
    "initialOpen": {
      "type": "array",
      "default": [
        "general"
      ]
    },
    "columnWidth": {
      "type": "object",
      "default": {},
      "inspectorController": {
        "inspectorComponent": "InspectorResponsiveRangeControl",
        "targetTab": "general",
        "targetAccordionTab": "general",
        "inspectorLabel": "Column Width"
      }
    },
    "columnBackground": {
      "type": "object",
      "default": {},
      "inspectorController": {
        "inspectorComponent": "InspectorBackgroundControlTab",
        "targetTab": "styles",
        "targetAccordionTab": "background",
        "inspectorLabel": "Column Background"
      }
    },
    "padding": {
      "type": "object",
      "default": {},
      "inspectorController": {
        "inspectorComponent": "InspectorFourDimension",
        "targetTab": "general",
        "targetAccordionTab": "spacing",
        "inspectorLabel": "Padding"
      }
    },
    "border": {
      "type": "object",
      "default": {},
      "inspectorController": {
        "inspectorComponent": "InspectorBorderBox",
        "targetTab": "general",
        "targetAccordionTab": "border",
        "inspectorLabel": "Border"
      }
    },
    "borderRadius": {
      "type": "object",
      "default": {
        "desktop": {
          "sideTop": "2",
          "sideRight": "2",
          "sideBottom": "2",
          "sideLeft": "2",
          "unit": "px"
        }
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "border",
        "inspectorComponent": "InspectorFourDimension",
        "inspectorLabel": "Border Radius"
      }
    },
    "alignItems": {
      "type": "object",
      "default": {
        "desktop": "flex-start"
      },
      "inspectorController": {
        "inspectorComponent": "InspectorSelectButtonResponsive",
        "targetTab": "general",
        "targetAccordionTab": "general",
        "iconButton": true,
        "inspectorLabel": "Vertical Alignment",
        "options": [
          {
            "label": "Start",
            "value": "flex-start",
            "icon": "AlphaJustifyStart"
          },
          {
            "label": "Center",
            "value": "center",
            "icon": "AlphaJustifyCenter"
          },
          {
            "label": "End",
            "value": "flex-end",
            "icon": "AlphaJustifyEnd"
          },
          {
            "label": "Stretch",
            "value": "stretch",
            "icon": "AlphaJustifyStretch"
          }
        ]
      }
    },
    "justifyContent": {
      "type": "string",
      "default": "flex-start",
      "inspectorController": {
        "inspectorComponent": "InspectorSelectButton",
        "targetTab": "general",
        "targetAccordionTab": "general",
        "iconButton": true,
        "inspectorLabel": "Justify Content",
        "options": [
          {
            "label": "Left",
            "value": "flex-start",
            "icon": "AlphaAlignStart"
          },
          {
            "label": "Center",
            "value": "center",
            "icon": "AlphaAlignCenter"
          },
          {
            "label": "Right",
            "value": "flex-end",
            "icon": "AlphaAlignEnd"
          },
          {
            "label": "Space Between",
            "value": "space-between",
            "icon": "AlphaAlignSpaceBetween"
          },
          {
            "label": "Space Around",
            "value": "space-around",
            "icon": "AlphaAlignSpaceAround"
          },
          {
            "label": "Space Evenly",
            "value": "space-evenly",
            "icon": "AlphaAlignSpaceEvenly"
          }
        ]
      }
    },
    "flexDirection": {
      "type": "string",
      "default": "column",
      "inspectorController": {
        "inspectorComponent": "InspectorSelectButton",
        "targetTab": "general",
        "targetAccordionTab": "general",
        "iconButton": false,
        "inspectorLabel": "Flex Direction",
        "options": [
          {
            "label": "Vertical",
            "value": "column"
          },
          {
            "label": "Horizontal",
            "value": "row"
          }
        ]
      }
    },
    "flexWrap": {
      "type": "string",
      "default": "nowrap",
      "inspectorController": {
        "inspectorComponent": "InspectorSelectButton",
        "targetTab": "general",
        "targetAccordionTab": "general",
        "iconButton": false,
        "inspectorLabel": "Flex Wrap",
        "options": [
          {
            "icon": "minus",
            "value": "nowrap",
            "label": "nowrap"
          },
          {
            "icon": "image-flip-horizontal",
            "value": "wrap",
            "label": "wrap"
          },
          {
            "icon": "image-flip-vertical",
            "value": "wrap-reverse",
            "label": "wrap-reverse"
          }
        ]
      }
    },
    "gap": {
      "type": "object",
      "default": {
        "desktop": {
          "val": "0",
          "unit": "px"
        }
      },
      "inspectorController": {
        "inspectorComponent": "InspectorResponsiveRangeControl",
        "targetTab": "general",
        "targetAccordionTab": "general",
        "inspectorLabel": "Gap"
      }
    },
    "maxHeight": {
      "type": "object",
      "default": {},
      "inspectorController": {
        "inspectorComponent": "InspectorResponsiveRangeControl",
        "targetTab": "general",
        "targetAccordionTab": "general",
        "inspectorLabel": "Max Height",
        "min": 0,
        "max": 2500
      }
    },
    "overflow": {
      "type": "string",
      "default": "visible",
      "inspectorController": {
        "inspectorComponent": "InspectorSelectButton",
        "targetTab": "general",
        "targetAccordionTab": "general",
        "inspectorLabel": "Overflow",
        "options": [
          {
            "label": "Visible",
            "value": "visible"
          },
          {
            "label": "Hidden",
            "value": "hidden"
          },
          {
            "label": "Scroll",
            "value": "scroll"
          },
          {
            "label": "Auto",
            "value": "auto"
          }
        ]
      }
    }
  },
  "supports": {
    "align": true,
    "html": false,
    "reusable": false,
    "inserter": true,
    "customClassName": false
  }
}