From f09921e6085f4b16c6e69ac8bfd67eef644fc04e Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Wed, 28 Mar 2012 22:43:47 -0700 Subject: Removing properties from Montage components Simplified properties for the following components: - anchor - button - checkbox - image - number imput Signed-off-by: Valerio Virgillito --- node_modules/components-data/anchor.json | 25 +++--------------- node_modules/components-data/button.json | 35 -------------------------- node_modules/components-data/checkbox.json | 30 ---------------------- node_modules/components-data/image.json | 5 ---- node_modules/components-data/number-input.json | 5 ++++ 5 files changed, 8 insertions(+), 92 deletions(-) (limited to 'node_modules/components-data') diff --git a/node_modules/components-data/anchor.json b/node_modules/components-data/anchor.json index 04faf04d..028a759b 100644 --- a/node_modules/components-data/anchor.json +++ b/node_modules/components-data/anchor.json @@ -17,30 +17,11 @@ "type": "string", "default": "" }, - { - "name": "hreflang", - "type": "string", - "default": "" - }, - { - "name": "media", - "type": "string", - "default": "" - }, - { - "name": "rel", - "type": "string", - "default": "" - }, { "name": "target", - "type": "string", - "default": "" - }, - { - "name": "type", - "type": "string", - "default": "" + "type": "select", + "default": "_self", + "possibleValues": ["_self", "_blank", "_parent", "_top"] } ] } \ No newline at end of file diff --git a/node_modules/components-data/button.json b/node_modules/components-data/button.json index 3f30030e..f3c16e8a 100644 --- a/node_modules/components-data/button.json +++ b/node_modules/components-data/button.json @@ -12,46 +12,11 @@ "type": "string", "default": "Button" }, - { - "name": "autofocus", - "type": "boolean", - "default": "false" - }, { "name": "enabled", "type": "boolean", "default": "true" }, - { - "name": "form", - "type": "string", - "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": "name", "type": "string", diff --git a/node_modules/components-data/checkbox.json b/node_modules/components-data/checkbox.json index a03ee00f..cd851f67 100644 --- a/node_modules/components-data/checkbox.json +++ b/node_modules/components-data/checkbox.json @@ -7,11 +7,6 @@ "properties": [ - { - "name": "autofocus", - "type": "boolean", - "default": "false" - }, { "name": "disabled", "type": "boolean", @@ -21,31 +16,6 @@ "name": "checked", "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/image.json b/node_modules/components-data/image.json index d6080196..22548cf9 100644 --- a/node_modules/components-data/image.json +++ b/node_modules/components-data/image.json @@ -16,11 +16,6 @@ "name": "src", "type": "string", "default": "" - }, - { - "name": "title", - "type": "string", - "default": "" } ] diff --git a/node_modules/components-data/number-input.json b/node_modules/components-data/number-input.json index d446fc37..bcdfb2c8 100644 --- a/node_modules/components-data/number-input.json +++ b/node_modules/components-data/number-input.json @@ -7,6 +7,11 @@ "properties": [ + { + "name": "value", + "type": "number", + "default": null + }, { "name": "min", "type": "number", -- cgit v1.2.3 From e6cfd371849b92fccd5e7ee74e428914a2dc23eb 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..a4f1c246 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": "Off" }, { - "name": "label", + "name": "pressedLabel", "type": "string", - "default": "" + "default": "On" } + ] } \ No newline at end of file -- cgit v1.2.3 From 56a042a8ed5d1cb2cb82781952f09ffd6a8338ea Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Fri, 30 Mar 2012 15:35:41 -0700 Subject: removing some of the button properties Signed-off-by: Valerio Virgillito --- node_modules/components-data/button.json | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'node_modules/components-data') diff --git a/node_modules/components-data/button.json b/node_modules/components-data/button.json index f3c16e8a..a931afcb 100644 --- a/node_modules/components-data/button.json +++ b/node_modules/components-data/button.json @@ -16,22 +16,6 @@ "name": "enabled", "type": "boolean", "default": "true" - }, - { - "name": "name", - "type": "string", - "default": "" - }, - { - "name": "type", - "type": "select", - "default": "submit", - "possibleValues": ["submit", "reset", "button"] - }, - { - "name": "value", - "type": "string", - "default": "" } ] } \ No newline at end of file -- cgit v1.2.3