From 879ac8b40ec1bfb30bde92185e39da75b99c8396 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Fri, 30 Mar 2012 15:15:26 -0700 Subject: completing the component simple pi Signed-off-by: Valerio Virgillito --- node_modules/components-data/number-input.json | 1 - node_modules/components-data/radio-button.json | 25 ------ node_modules/components-data/range-input.json | 6 +- node_modules/components-data/select.json | 11 --- node_modules/components-data/textarea.json | 21 ++--- node_modules/components-data/textfield.json | 114 ------------------------ node_modules/components-data/toggle-button.json | 19 ++-- 7 files changed, 17 insertions(+), 180 deletions(-) (limited to 'node_modules/components-data') diff --git a/node_modules/components-data/number-input.json b/node_modules/components-data/number-input.json index bcdfb2c8..5e53fe58 100644 --- a/node_modules/components-data/number-input.json +++ b/node_modules/components-data/number-input.json @@ -6,7 +6,6 @@ "name": "NumberInput", "properties": [ - { "name": "value", "type": "number", diff --git a/node_modules/components-data/radio-button.json b/node_modules/components-data/radio-button.json index 4763453a..df0893ad 100644 --- a/node_modules/components-data/radio-button.json +++ b/node_modules/components-data/radio-button.json @@ -6,11 +6,6 @@ "name": "RadioButton", "properties": [ - { - "name": "autofocus", - "type": "boolean", - "default": "false" - }, { "name": "disabled", "type": "boolean", @@ -21,30 +16,10 @@ "type": "boolean", "default": "false" }, - { - "name": "form", - "type": "string", - "default": "" - }, { "name": "name", "type": "string", "default": "" - }, - { - "name": "readonly", - "type": "boolean", - "default": null - }, - { - "name": "title", - "type": "string", - "default": "" - }, - { - "name": "value", - "type": "string", - "default": "on" } ] } \ No newline at end of file diff --git a/node_modules/components-data/range-input.json b/node_modules/components-data/range-input.json index 871f7889..1f3f5b20 100644 --- a/node_modules/components-data/range-input.json +++ b/node_modules/components-data/range-input.json @@ -6,7 +6,11 @@ "name": "RangeInput", "properties": [ - + { + "name": "value", + "type": "number", + "default": 0 + }, { "name": "min", "type": "number", diff --git a/node_modules/components-data/select.json b/node_modules/components-data/select.json index b823f8d6..33849fb6 100644 --- a/node_modules/components-data/select.json +++ b/node_modules/components-data/select.json @@ -6,16 +6,5 @@ "name": "SelectInput", "properties": [ - - { - "name": "label", - "type": "string", - "default": "Button" - }, - { - "name": "enabled", - "type": "boolean", - "default": "true" - } ] } \ No newline at end of file diff --git a/node_modules/components-data/textarea.json b/node_modules/components-data/textarea.json index 6e3d78c2..8e780954 100644 --- a/node_modules/components-data/textarea.json +++ b/node_modules/components-data/textarea.json @@ -7,26 +7,15 @@ "properties": [ - { - "name": "rows", - "type": "number", - "default": null - }, - { - "name": "cols", - "type": "number", - "default": null - }, - { - "name": "wrap", - "type": "string", - "default": "soft", - "possibleValues": ["hard", "soft"] - }, { "name": "textContent", "type": "string", "default": null + }, + { + "name": "disabled", + "type": "boolean", + "default": false } ] } \ No newline at end of file diff --git a/node_modules/components-data/textfield.json b/node_modules/components-data/textfield.json index 39c65eab..cb3f1c8f 100644 --- a/node_modules/components-data/textfield.json +++ b/node_modules/components-data/textfield.json @@ -6,120 +6,6 @@ "name": "Textfield", "properties": [ - { - "name": "valueBinding", - "type": "string", - "default": null - },{ - "name": "accept", - "type": "string", - "default": null - }, - { - "name": "autocomplete", - "type": "string", - "default": "" - }, - { - "name": "autofocus", - "type": "boolean", - "default": "" - }, - { - "name": "checked", - "type": "boolean", - "default": "" - }, - { - "name": "disabled", - "type": "boolean", - "default": "" - }, - { - "name": "formaction", - "type": "string", - "default": "" - }, - { - "name": "formenctype", - "type": "string", - "default": "" - }, - { - "name": "formmethod", - "type": "string", - "default": "" - }, - { - "name": "formnovalidate", - "type": "boolean", - "default": "" - }, - { - "name": "formtarget", - "type": "string", - "default": "" - }, - { - "name": "list", - "type": "string", - "default": "" - }, - { - "name": "maxlength", - "type": "number", - "default": "" - }, - { - "name": "multiple", - "type": "boolean", - "default": "" - }, - { - "name": "name", - "type": "string", - "default": "" - }, - { - "name": "pattern", - "type": "string", - "default": "" - }, - { - "name": "placeholder", - "type": "string", - "default": "" - }, - { - "name": "readonly", - "type": "boolean", - "default": "" - }, - { - "name": "required", - "type": "boolean", - "default": "" - }, - { - "name": "selectionDirection", - "type": "string", - "default": "" - }, - { - "name": "size", - "type": "number", - "default": "" - }, - { - "name": "src", - "type": "string", - "default": "" - }, - { - "name": "step", - "type": "number", - "default": "" - }, { "name": "value", "type": "string", diff --git a/node_modules/components-data/toggle-button.json b/node_modules/components-data/toggle-button.json index e85dd72a..9590b1b5 100644 --- a/node_modules/components-data/toggle-button.json +++ b/node_modules/components-data/toggle-button.json @@ -6,31 +6,26 @@ "name": "ToggleButton", "properties": [ - { "name": "pressed", "type": "boolean", "default": "false" }, { - "name": "unpressedLabel", - "type": "string", - "default": "" - }, - { - "name": "pressedLabel", + "name": "label", "type": "string", - "default": "" + "default": "Toggle" }, { - "name": "pressedClass", + "name": "unpressedLabel", "type": "string", - "default": "pressed" + "default": "ASASASAS" }, { - "name": "label", + "name": "pressedLabel", "type": "string", - "default": "" + "default": "On" } + ] } \ No newline at end of file -- cgit v1.2.3