{
  "apiVersion": 2,
  "name": "ctb/countdown-time",
  "title": "Countdown Time",
  "description": "Display events date into a timer.",
  "version": "1.3.2",
  "category": "CTBlock",
  "keywords": [
    "countdown timer block",
    "countdown ceremony time",
    "countdown events time"
  ],
  "textdomain": "countdown-time",
  "attributes": {
    "align": {
      "type": "string",
      "default": ""
    },
    "destDate": {
      "type": "string",
      "default": ""
    },
    "layout": {
      "type": "string",
      "default": "default"
    },
    "isResponsive": {
      "type": "boolean",
      "default": true
    },
    "boxIsInline": {
      "type": "boolean",
      "default": false
    },
    "boxPosition": {
      "type": "string",
      "default": "center"
    },
    "isLabels": {
      "type": "boolean",
      "default": true
    },
    "isDays": {
      "type": "boolean",
      "default": true
    },
    "daysLabel": {
      "type": "string",
      "default": "Days"
    },
    "isHours": {
      "type": "boolean",
      "default": true
    },
    "hoursLabel": {
      "type": "string",
      "default": "Hours"
    },
    "isMinutes": {
      "type": "boolean",
      "default": true
    },
    "minutesLabel": {
      "type": "string",
      "default": "Minutes"
    },
    "isSeconds": {
      "type": "boolean",
      "default": true
    },
    "secondsLabel": {
      "type": "string",
      "default": "Seconds"
    },
    "isExpired": {
      "type": "boolean",
      "default": false
    },
    "hideOn0": {
      "type": "boolean",
      "default": false
    },
    "hideOnMobile": {
      "type": "boolean",
      "default": false
    },
    "hideOnTablet": {
      "type": "boolean",
      "default": false
    },
    "prefixSuffixDirection": {
      "type": "string",
      "default": "row"
    },
    "prefixText": {
      "type": "string",
      "default": ""
    },
    "suffixButtonText": {
      "type": "string",
      "default": ""
    },
    "suffixButtonUrl": {
      "type": "string",
      "default": "#"
    },
    "addID": {
      "type": "string",
      "default": ""
    },
    "addClass": {
      "type": "string",
      "default": ""
    },
    "addCSS": {
      "type": "string",
      "default": ""
    },
    "width": {
      "type": "string",
      "default": "0px"
    },
    "background": {
      "type": "object",
      "default": {
        "color": "#0000"
      }
    },
    "padding": {
      "type": "object",
      "default": {
        "vertical": "10px",
        "horizontal": "15px"
      }
    },
    "shadow": {
      "type": "object",
      "default": {}
    },
    "alignment": {
      "type": "string",
      "default": "center"
    },
    "boxBG": {
      "type": "object",
      "default": {
        "type": "gradient",
        "color": "#146EF5",
        "gradient": "linear-gradient(135deg, #0040E3, #18D4FD)"
      }
    },
    "boxWidth": {
      "type": "string",
      "default": "170px"
    },
    "boxHeight": {
      "type": "string",
      "default": "120px"
    },
    "boxSpace": {
      "type": "string",
      "default": "30px"
    },
    "boxBorder": {
      "type": "object",
      "default": {
        "radius": "5%"
      }
    },
    "boxShadow": {
      "type": "object",
      "default": {}
    },
    "digitTypo": {
      "type": "object",
      "default": {
        "fontSize": {
          "desktop": "48px",
          "tablet": "40px",
          "mobile": "32px"
        }
      }
    },
    "digitColor": {
      "type": "string",
      "default": "#fff"
    },
    "labelTypo": {
      "type": "object",
      "default": {
        "fontSize": {
          "desktop": "18px",
          "tablet": "17px",
          "mobile": "16px"
        }
      }
    },
    "labelColor": {
      "type": "string",
      "default": "#fff"
    },
    "isDaysSingleStyle": {
      "type": "boolean",
      "default": false
    },
    "daysBG": {
      "type": "object",
      "default": {
        "type": "gradient",
        "color": "#146EF5",
        "gradient": "linear-gradient(135deg, #0040E3, #18D4FD)"
      }
    },
    "daysDigitColor": {
      "type": "string",
      "default": "#fff"
    },
    "daysLabelColor": {
      "type": "string",
      "default": "#fff"
    },
    "isHoursSingleStyle": {
      "type": "boolean",
      "default": false
    },
    "hoursBG": {
      "type": "object",
      "default": {
        "type": "gradient",
        "color": "#146EF5",
        "gradient": "linear-gradient(135deg, #0040E3, #18D4FD)"
      }
    },
    "hoursDigitColor": {
      "type": "string",
      "default": "#fff"
    },
    "hoursLabelColor": {
      "type": "string",
      "default": "#fff"
    },
    "isMinutesSingleStyle": {
      "type": "boolean",
      "default": false
    },
    "minutesBG": {
      "type": "object",
      "default": {
        "type": "gradient",
        "color": "#146EF5",
        "gradient": "linear-gradient(135deg, #0040E3, #18D4FD)"
      }
    },
    "minutesDigitColor": {
      "type": "string",
      "default": "#fff"
    },
    "minutesLabelColor": {
      "type": "string",
      "default": "#fff"
    },
    "isSecondsSingleStyle": {
      "type": "boolean",
      "default": false
    },
    "secondsBG": {
      "type": "object",
      "default": {
        "type": "gradient",
        "color": "#146EF5",
        "gradient": "linear-gradient(135deg, #0040E3, #18D4FD)"
      }
    },
    "secondsDigitColor": {
      "type": "string",
      "default": "#fff"
    },
    "secondsLabelColor": {
      "type": "string",
      "default": "#fff"
    },
    "isSep": {
      "type": "boolean",
      "default": false
    },
    "sepType": {
      "type": "string",
      "default": ":"
    },
    "sepSize": {
      "type": "number",
      "default": 52
    },
    "sepColor": {
      "type": "string",
      "default": "#146EF5"
    },
    "prefixTextTypo": {
      "type": "object",
      "default": {
        "fontSize": {
          "desktop": "15px"
        }
      }
    },
    "prefixTextColor": {
      "type": "string",
      "default": "#222"
    },
    "suffixButtonTypo": {
      "type": "object",
      "default": {
        "fontSize": {
          "desktop": "16px"
        }
      }
    },
    "suffixButtonColors": {
      "type": "object",
      "default": {
        "color": "#fff",
        "bg": "#222"
      }
    },
    "suffixButtonPadding": {
      "type": "object",
      "default": {
        "vertical": "14px",
        "horizontal": "28px"
      }
    },
    "isDismiss": {
      "type": "boolean",
      "default": false
    },
    "dismissColor": {
      "type": "string",
      "default": "#333"
    }
  },
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "html": false
  },
  "example": {
    "attributes": {
      "preview": true,
      "boxWidth": "120px",
      "boxHeight": "100px",
      "boxSpace": "15px",
      "destDate": ""
    }
  },
  "editorScript": [
    "file:./index.js",
    "wp-api"
  ],
  "editorStyle": "file:./index.css",
  "style": "file:./view.css",
  "render": "file:./render.php",
  "viewScript": "file:./view.js"
}