{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "flexa/filter-reset",
  "version": "1.0.0",
  "title": "Filter: Reset",
  "category": "flexa",
  "description": "A reset control for a Post Filter — clears the search and every term filter applied to the target Post Grid.",
  "keywords": [
    "flexa",
    "filter",
    "reset",
    "clear"
  ],
  "textdomain": "flexa-block",
  "parent": [
    "flexa/post-filter"
  ],
  "usesContext": [
    "flexa/filterTarget"
  ],
  "example": {
    "attributes": {
      "isExamplePreview": true
    },
    "viewportWidth": 320
  },
  "attributes": {
    "isExamplePreview": {
      "type": "boolean",
      "default": false
    },
    "blockId": {
      "type": "string"
    },
    "text": {
      "type": "string",
      "default": "Reset"
    },
    "variant": {
      "type": "string",
      "default": "link",
      "enum": [
        "link",
        "button"
      ]
    },
    "width": {
      "type": "string",
      "default": "auto",
      "enum": [
        "100",
        "50",
        "auto"
      ]
    },
    "background": {
      "type": "object",
      "default": {
        "type": "none",
        "color": {
          "light": "",
          "dark": ""
        },
        "gradient": {
          "light": "",
          "dark": ""
        },
        "image": {
          "url": "",
          "id": null,
          "position": "center center",
          "repeat": "no-repeat",
          "size": "cover",
          "attachment": "scroll"
        },
        "lazyLoad": false
      }
    },
    "border": {
      "type": "object",
      "default": {
        "desktop": {
          "style": "",
          "width": {
            "top": "",
            "right": "",
            "bottom": "",
            "left": "",
            "unit": "px"
          },
          "color": {
            "light": "",
            "dark": ""
          },
          "radius": {
            "topLeft": "",
            "topRight": "",
            "bottomRight": "",
            "bottomLeft": "",
            "unit": "px"
          }
        },
        "tablet": {},
        "mobile": {}
      }
    },
    "boxShadow": {
      "type": "object",
      "default": {
        "horizontal": "0",
        "vertical": "4",
        "blur": "12",
        "spread": "0",
        "color": {
          "light": "rgba(0,0,0,0.1)",
          "dark": ""
        },
        "inset": false,
        "enabled": false
      }
    },
    "responsiveVisibility": {
      "type": "object",
      "default": {
        "hideOnDesktop": false,
        "hideOnTablet": false,
        "hideOnMobile": false
      }
    }
  },
  "supports": {
    "anchor": true,
    "className": true,
    "html": false,
    "reusable": false
  },
  "editorScript": "file:./index.js",
  "render": "file:./render.php"
}