{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 2,
  "name": "bch/code-highlight",
  "title": "Code",
  "description": "The Code Snippets block plugin lets you easily copy, style, and view beautifully highlighted code.",
  "category": "widgets",
  "keywords": [
    "snippets",
    "highlight",
    "code",
    "block"
  ],
  "version": "1.0.3",
  "textdomain": "code-snippets-block",
  "attributes": {
    "align": {
      "type": "string",
      "default": ""
    },
    "cId": {
      "type": "string",
      "default": ""
    },
    "language": {
      "type": "string",
      "default": "javascript"
    },
    "code": {
      "type": "string",
      "default": ""
    },
    "lineNumbers": {
      "type": "boolean",
      "default": true
    },
    "copyBtnOption": {
      "type": "string",
      "default": "Text"
    },
    "theme": {
      "type": "string",
      "default": "default"
    },
    "headerPart": {
      "type": "boolean",
      "default": false
    },
    "headingTitleTypo": {
      "type": "object",
      "default": {
        "fontWeight": 400,
        "fontSize": {
          "desktop": 18,
          "tablet": 13,
          "mobile": 11
        },
        "lineHeight": 1.5,
        "fontFamily": "Aleo",
        "textTransform": "uppercase"
      }
    },
    "codeTypo": {
      "type": "object",
      "default": {
        "desktop": 18,
        "tablet": 15,
        "mobile": 14
      }
    },
    "clipBoard": {
      "type": "boolean",
      "default": true
    },
    "wordWrap": {
      "type": "boolean",
      "default": true
    },
    "width": {
      "type": "object",
      "default": {
        "desktop": "100%",
        "tablet": "100%",
        "mobile": "100%"
      }
    },
    "height": {
      "type": "object",
      "default": {
        "desktop": "0px",
        "tablet": "0px",
        "mobile": "0px"
      }
    },
    "padding": {
      "type": "object",
      "default": {
        "top": "0px",
        "right": "0px",
        "bottom": "0px",
        "left": "0px"
      }
    },
    "background": {
      "type": "object",
      "default": {
        "color": "#d3cfcf42"
      }
    },
    "headerBg": {
      "type": "object",
      "default": {
        "color": "#2f446e"
      }
    },
    "headerTextColor": {
      "type": "object",
      "default": {
        "color": "#ffff"
      }
    },
    "headerThemeOpt": {
      "type": "string",
      "default": "one"
    },
    "layout": {
      "type": "object",
      "default": {
        "align": "left"
      }
    },
    "border": {
      "type": "object",
      "default": {
        "color": "#000",
        "style": "solid",
        "width": "0px"
      }
    },
    "shadow": {
      "type": "array",
      "default": [
        {
          "hOffset": "0px",
          "vOffset": "0px",
          "blur": "0px",
          "spread": "0px",
          "color": "rgba(0, 0, 0, 0.16)",
          "isInset": false
        }
      ]
    },
    "alignment": {
      "type": "string",
      "default": "center"
    },
    "copyTypo": {
      "type": "object",
      "default": {
        "fontWeight": 400,
        "fontSize": {
          "desktop": 13,
          "tablet": 13,
          "mobile": 11
        },
        "lineHeight": 1.5,
        "fontFamily": "Aleo"
      }
    },
    "clipBoardColors": {
      "type": "object",
      "default": {
        "color": "#fff",
        "bg": "#00000024"
      }
    },
    "copyIconSize": {
      "type": "object",
      "default": {
        "desktop": 24,
        "tablet": 20,
        "mobile": 18
      }
    },
    "copyBtnPadding": {
      "type": "object",
      "default": {
        "desktop": {
          "top": "2px",
          "left": "5px",
          "bottom": "2px",
          "right": "5px"
        },
        "tablet": {
          "top": "2px",
          "left": "5px",
          "bottom": "2px",
          "right": "5px"
        },
        "mobile": {
          "top": "2px",
          "left": "5px",
          "bottom": "2px",
          "right": "5px"
        }
      }
    },
    "headerPadding": {
      "type": "object",
      "default": {
        "desktop": {
          "top": "14px",
          "left": "14px",
          "bottom": "14px",
          "right": "14px"
        },
        "tablet": {
          "top": "12px",
          "left": "12px",
          "bottom": "12px",
          "right": "12px"
        },
        "mobile": {
          "top": "10px",
          "left": "10px",
          "bottom": "10px",
          "right": "10px"
        }
      }
    },
    "copyBtnPosition": {
      "type": "object",
      "default": {
        "desktop": {
          "top": "5px",
          "left": "",
          "bottom": "",
          "right": "15px"
        },
        "tablet": {
          "top": "5px",
          "left": "",
          "bottom": "",
          "right": "15px"
        },
        "mobile": {
          "top": "5px",
          "left": "",
          "bottom": "",
          "right": "15px"
        }
      }
    },
    "codeBg": {
      "type": "object",
      "default": {
        "color": ""
      }
    },
    "outputOption": {
      "type": "boolean",
      "default": false
    },
    "outputText": {
      "type": "string",
      "default": "Hello Word !"
    },
    "outputColors": {
      "type": "object",
      "default": {
        "color": "#fff",
        "bg": "#2F446E"
      }
    },
    "outputTypo": {
      "type": "object",
      "default": {
        "fontWeight": 400,
        "fontSize": {
          "desktop": 21,
          "tablet": 17,
          "mobile": 13
        },
        "lineHeight": 1.5,
        "fontFamily": "Aleo"
      }
    },
    "outputPadding": {
      "type": "object",
      "default": {
        "desktop": {
          "top": "8px",
          "left": "8px",
          "bottom": "8px",
          "right": "8px"
        },
        "tablet": {
          "top": "7px",
          "left": "7px",
          "bottom": "7px",
          "right": "7px"
        },
        "mobile": {
          "top": "5px",
          "left": "5px",
          "bottom": "5px",
          "right": "5px"
        }
      }
    },
    "outputBorder": {
      "type": "object",
      "default": {
        "color": "#000",
        "style": "solid",
        "width": "0px",
        "radius": "7px"
      }
    }
  },
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "html": false
  },
  "example": {
    "attributes": {
      "preview": true,
      "columns": {
        "desktop": 1,
        "tablet": 1,
        "mobile": 1
      }
    }
  },
  "editorScript": [
    "file:./index.js",
    "wp-api",
    "wp-util",
    "codeMirror",
    "highlightlinenumber",
    "highlightgo",
    "highlight"
  ],
  "editorStyle": [
    "file:./index.css",
    "codeMirror"
  ],
  "style": [
    "file:./view.css",
    "codeMirror"
  ],
  "render": "file:./render.php",
  "viewScript": [
    "file:./view.js",
    "codeMirror",
    "highlightlinenumber",
    "highlightgo",
    "highlight",
    "wp-util",
    "wp-api"
  ]
}