diff --git a/package.json b/package.json index bba1949..f6efd96 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "countdown_timer", - "version": "1.0.0", + "version": "1.0.1", "description": "A timer which counts down (days/min/secs) to a certain date time. Uses data from a data provider. Ability to change background color, complete text, and", "license": "MIT", "svelte": "index.js", diff --git a/schema.json b/schema.json index 5fecf6f..9f1c82a 100644 --- a/schema.json +++ b/schema.json @@ -2,25 +2,21 @@ "type": "component", "metadata": {}, "schema": { - "name": "timer", + "name": "countdown_timer", "friendlyName": "timer", "description": " The timer counts down to a specific date time. The timer can use a field from a datasource provider.", "icon": "Text", "settings": [ { - "type": "field/number", + "type": "field/datetime", "label": "Field", "key": "field", "required": true }, { "type": "select", - "options": [ - "small", - "medium", - "large" - ], - "defaultValue": "large", + "options": ["Small", "Medium", "Large"], + "defaultValue": "Large", "key": "size", "label": "Size" }, @@ -47,7 +43,7 @@ { "type": "color", "label": "Background Color", - "defaultValue":"4CAF50", + "defaultValue": "#4CAF50", "key": "color" }, { @@ -58,4 +54,4 @@ } ] } -} \ No newline at end of file +}