{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "alpha-blocks/icon",
  "version": "1.0.0",
  "title": "Alpha Icon",
  "category": "alpha-blocks",
  "icon": "star-filled",
  "attributes": {
    "blockId": {
      "type": "string"
    },
    "compiledCss": {
      "type": "string"
    },
    "icon": {
      "type": "object",
      "default": {
        "iconName": "star",
        "type": "wordpress"
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "general",
        "inspectorComponent": "InspectorIconSelector",
        "inspectorLabel": "Select Icon"
      }
    },
    "iconSize": {
      "type": "object",
      "default": {
        "desktop": {
          "val": 50,
          "unit": "px"
        }
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "general",
        "inspectorComponent": "InspectorResponsiveRangeControl",
        "inspectorLabel": "Icon Size",
        "min": "0",
        "max": "500"
      }
    },
    "minHeight": {
      "type": "object",
      "default": {
        "desktop": {
          "val": 100,
          "unit": "px"
        }
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "blockSizeAndSpacing",
        "inspectorComponent": "InspectorResponsiveRangeControl",
        "inspectorLabel": "Min. Height"
      }
    },
    "contentVerticalAlignment": {
      "type": "string",
      "default": "center",
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "blockSizeAndSpacing",
        "inspectorComponent": "InspectorSelectButton",
        "inspectorLabel": "Content Vertical Alignment",
        "options": [
          {
            "value": "flex-start",
            "label": "Top"
          },
          {
            "value": "center",
            "label": "Middle"
          },
          {
            "value": "flex-end",
            "label": "Bottom"
          }
        ]
      }
    },
    "maxContentWidth": {
      "type": "object",
      "default": {
        "desktop": {
          "val": 100,
          "unit": "%"
        }
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "blockSizeAndSpacing",
        "inspectorComponent": "InspectorResponsiveRangeControl",
        "inspectorLabel": "Max. Content Width"
      }
    },
    "contentHorizontalAlignment": {
      "type": "string",
      "default": "center",
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "blockSizeAndSpacing",
        "inspectorComponent": "InspectorSelectButton",
        "inspectorLabel": "Content Horizontal Alignment",
        "options": [
          {
            "value": "flex-start",
            "label": "Left"
          },
          {
            "value": "center",
            "label": "Center"
          },
          {
            "value": "flex-end",
            "label": "Right"
          }
        ]
      }
    },
    "padding": {
      "type": "object",
      "default": {
        "desktop": {
          "sideTop": "0",
          "sideRight": "0",
          "sideBottom": "0",
          "sideLeft": "0",
          "unit": "px"
        }
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "blockSizeAndSpacing",
        "inspectorComponent": "InspectorFourDimension",
        "inspectorLabel": "Padding"
      }
    },
    "margin": {
      "type": "object",
      "default": {
        "desktop": {
          "sideTop": "0",
          "sideRight": "0",
          "sideBottom": "0",
          "sideLeft": "0",
          "unit": "px"
        }
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "blockSizeAndSpacing",
        "inspectorComponent": "InspectorFourDimension",
        "inspectorLabel": "Margin"
      }
    },
    "iconBorder": {
      "type": "object",
      "default": {
        "width": 0,
        "style": "solid",
        "color": "#000000"
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "iconBorder",
        "inspectorComponent": "InspectorBorderBox",
        "inspectorLabel": "Icon Border"
      }
    },
    "iconColor": {
      "type": "object",
      "default": {
        "type": "color",
        "color": "#000000"
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "icon",
        "inspectorComponent": "InspectorColorSelect",
        "inspectorLabel": "Icon Color"
      }
    },
    "iconOpacity": {
      "type": "object",
      "default": {
        "desktop": {
          "val": 1,
          "unit": ""
        }
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "icon",
        "inspectorComponent": "InspectorResponsiveRangeControl",
        "inspectorLabel": "Icon Opacity",
        "max": 1,
        "step": 0.01
      }
    },
    "iconRotation": {
      "type": "object",
      "default": {
        "desktop": {
          "val": 0,
          "unit": "deg"
        }
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "icon",
        "inspectorComponent": "InspectorResponsiveRangeControl",
        "inspectorLabel": "Icon Rotation",
        "max": 360
      }
    },
    "shapeColor": {
      "type": "object",
      "default": {
        "type": "color",
        "color": "#ffffff"
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "iconBackgroundShape",
        "inspectorComponent": "InspectorColorSelect",
        "inspectorLabel": "Shape Color"
      }
    },
    "shapeBorderRadius": {
      "type": "object",
      "default": {
        "desktop": {
          "sideTop": "50",
          "sideRight": "50",
          "sideBottom": "50",
          "sideLeft": "50",
          "unit": "%"
        }
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "iconBackgroundShape",
        "inspectorComponent": "InspectorFourDimension",
        "inspectorLabel": "Shape Border Radius"
      }
    },
    "shapePadding": {
      "type": "object",
      "default": {
        "desktop": {
          "sideTop": "10",
          "sideRight": "10",
          "sideBottom": "10",
          "sideLeft": "10",
          "unit": "px"
        }
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "iconBackgroundShape",
        "inspectorComponent": "InspectorFourDimension",
        "inspectorLabel": "Shape Padding"
      }
    },
    "shapeOutlineWidth": {
      "type": "object",
      "default": {
        "desktop": {
          "val": 0,
          "unit": "px"
        }
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "iconBackgroundShape",
        "inspectorComponent": "InspectorResponsiveRangeControl",
        "inspectorLabel": "Shape Outline Width"
      }
    },
    "shapeOutlineColor": {
      "type": "object",
      "default": {
        "type": "color",
        "color": "#000000"
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "iconBackgroundShape",
        "inspectorComponent": "InspectorColorSelect",
        "inspectorLabel": "Shape Outline Color"
      }
    },
    "backgroundColor": {
      "type": "object",
      "default": {
        "type": "color",
        "color": "transparent"
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "background",
        "inspectorComponent": "InspectorColorSelect",
        "inspectorLabel": "Background"
      }
    }
  },
  "supports": {
    "customClassName": false,
    "align": [
      "wide",
      "full"
    ]
  },
  "textdomain": "alpha-blocks",
  "editorScript": "file:./index.js"
}