From 69f0dbbe2ebbbc8d7fa89afe1a7078d0fe206be9 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Tue, 14 Feb 2012 15:53:08 -0800 Subject: Adding all the components to the panel Signed-off-by: Valerio Virgillito --- node_modules/components-data/anchor.json | 21 +++++++++++++++++++++ node_modules/components-data/checkbox.json | 21 +++++++++++++++++++++ node_modules/components-data/image.json | 21 +++++++++++++++++++++ node_modules/components-data/number-input.json | 21 +++++++++++++++++++++ node_modules/components-data/radio-button.json | 21 +++++++++++++++++++++ node_modules/components-data/range-input.json | 21 +++++++++++++++++++++ node_modules/components-data/select.json | 21 +++++++++++++++++++++ node_modules/components-data/textarea.json | 21 +++++++++++++++++++++ node_modules/components-data/toggle-button.json | 21 +++++++++++++++++++++ 9 files changed, 189 insertions(+) create mode 100644 node_modules/components-data/anchor.json create mode 100644 node_modules/components-data/checkbox.json create mode 100644 node_modules/components-data/image.json create mode 100644 node_modules/components-data/number-input.json create mode 100644 node_modules/components-data/radio-button.json create mode 100644 node_modules/components-data/range-input.json create mode 100644 node_modules/components-data/select.json create mode 100644 node_modules/components-data/textarea.json create mode 100644 node_modules/components-data/toggle-button.json (limited to 'node_modules/components-data') diff --git a/node_modules/components-data/anchor.json b/node_modules/components-data/anchor.json new file mode 100644 index 00000000..b0284c7e --- /dev/null +++ b/node_modules/components-data/anchor.json @@ -0,0 +1,21 @@ +{ + "component": "anchor", + + "module": "montage/ui/anchor.reel", + + "name": "Anchor", + + "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/checkbox.json b/node_modules/components-data/checkbox.json new file mode 100644 index 00000000..8991d210 --- /dev/null +++ b/node_modules/components-data/checkbox.json @@ -0,0 +1,21 @@ +{ + "component": "checkbox", + + "module": "montage/ui/checkbox.reel", + + "name": "Checkbox", + + "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/image.json b/node_modules/components-data/image.json new file mode 100644 index 00000000..4a90ec5b --- /dev/null +++ b/node_modules/components-data/image.json @@ -0,0 +1,21 @@ +{ + "component": "imageComponent", + + "module": "montage/ui/image.reel", + + "name": "Image", + + "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/number-input.json b/node_modules/components-data/number-input.json new file mode 100644 index 00000000..1898ec4f --- /dev/null +++ b/node_modules/components-data/number-input.json @@ -0,0 +1,21 @@ +{ + "component": "numberInput", + + "module": "montage/ui/number-input.reel", + + "name": "NumberInput", + + "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/radio-button.json b/node_modules/components-data/radio-button.json new file mode 100644 index 00000000..e76cc6b4 --- /dev/null +++ b/node_modules/components-data/radio-button.json @@ -0,0 +1,21 @@ +{ + "component": "radioButton", + + "module": "montage/ui/radio-button.reel", + + "name": "RadioButton", + + "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/range-input.json b/node_modules/components-data/range-input.json new file mode 100644 index 00000000..44950890 --- /dev/null +++ b/node_modules/components-data/range-input.json @@ -0,0 +1,21 @@ +{ + "component": "rangeInput", + + "module": "montage/ui/range-input.reel", + + "name": "RangeInput", + + "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/select.json b/node_modules/components-data/select.json new file mode 100644 index 00000000..b823f8d6 --- /dev/null +++ b/node_modules/components-data/select.json @@ -0,0 +1,21 @@ +{ + "component": "select", + + "module": "montage/ui/select-input.reel", + + "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 new file mode 100644 index 00000000..608011e1 --- /dev/null +++ b/node_modules/components-data/textarea.json @@ -0,0 +1,21 @@ +{ + "component": "textarea", + + "module": "montage/ui/textarea.reel", + + "name": "TextArea", + + "properties": [ + + { + "name": "value", + "type": "string", + "default": "Button" + }, + { + "name": "disabled", + "type": "boolean", + "default": "false" + } + ] +} \ No newline at end of file diff --git a/node_modules/components-data/toggle-button.json b/node_modules/components-data/toggle-button.json new file mode 100644 index 00000000..88b6eff0 --- /dev/null +++ b/node_modules/components-data/toggle-button.json @@ -0,0 +1,21 @@ +{ + "component": "toggleButton", + + "module": "montage/ui/toggle-button.reel", + + "name": "ToggleButton", + + "properties": [ + + { + "name": "label", + "type": "string", + "default": "Button" + }, + { + "name": "enabled", + "type": "boolean", + "default": "true" + } + ] +} \ No newline at end of file -- cgit v1.2.3 From f2f6ed48634ee4d74dd780c66e58c6b1e00234dd Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Tue, 14 Feb 2012 23:47:19 -0800 Subject: Completing the anchor element Signed-off-by: Valerio Virgillito --- node_modules/components-data/anchor.json | 35 +++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) (limited to 'node_modules/components-data') diff --git a/node_modules/components-data/anchor.json b/node_modules/components-data/anchor.json index b0284c7e..04faf04d 100644 --- a/node_modules/components-data/anchor.json +++ b/node_modules/components-data/anchor.json @@ -8,14 +8,39 @@ "properties": [ { - "name": "label", + "name": "textContent", "type": "string", - "default": "Button" + "default": "" }, { - "name": "enabled", - "type": "boolean", - "default": "true" + "name": "href", + "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": "" } ] } \ No newline at end of file -- cgit v1.2.3 From d1bc0d3e8b3ab3341105c3e29dd2ca11a20d8931 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Wed, 15 Feb 2012 00:01:28 -0800 Subject: Adding the button and the dropdown control. Signed-off-by: Valerio Virgillito --- node_modules/components-data/button.json | 51 ++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) (limited to 'node_modules/components-data') diff --git a/node_modules/components-data/button.json b/node_modules/components-data/button.json index a931afcb..3f30030e 100644 --- a/node_modules/components-data/button.json +++ b/node_modules/components-data/button.json @@ -12,10 +12,61 @@ "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", + "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 From 747616980cad14f0b65fbcc7f497ed9680a39d29 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Wed, 15 Feb 2012 14:55:21 -0800 Subject: Adding more components pi Added rest of the components pi. Missing text-input and select Signed-off-by: Valerio Virgillito --- node_modules/components-data/checkbox.json | 38 +++++++++++++++++++++--- node_modules/components-data/image.json | 16 ++++++---- node_modules/components-data/number-input.json | 17 +++++++---- node_modules/components-data/radio-button.json | 39 +++++++++++++++++++++---- node_modules/components-data/range-input.json | 17 +++++++---- node_modules/components-data/textarea.json | 21 +++++++++---- node_modules/components-data/toggle-button.json | 25 ++++++++++++---- 7 files changed, 137 insertions(+), 36 deletions(-) (limited to 'node_modules/components-data') diff --git a/node_modules/components-data/checkbox.json b/node_modules/components-data/checkbox.json index 8991d210..a03ee00f 100644 --- a/node_modules/components-data/checkbox.json +++ b/node_modules/components-data/checkbox.json @@ -8,14 +8,44 @@ "properties": [ { - "name": "label", + "name": "autofocus", + "type": "boolean", + "default": "false" + }, + { + "name": "disabled", + "type": "boolean", + "default": "false" + }, + { + "name": "checked", + "type": "boolean", + "default": "false" + }, + { + "name": "form", "type": "string", - "default": "Button" + "default": "" }, { - "name": "enabled", + "name": "name", + "type": "string", + "default": "" + }, + { + "name": "readonly", "type": "boolean", - "default": "true" + "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 4a90ec5b..d6080196 100644 --- a/node_modules/components-data/image.json +++ b/node_modules/components-data/image.json @@ -8,14 +8,20 @@ "properties": [ { - "name": "label", + "name": "alt", "type": "string", - "default": "Button" + "default": "" }, { - "name": "enabled", - "type": "boolean", - "default": "true" + "name": "src", + "type": "string", + "default": "" + }, + { + "name": "title", + "type": "string", + "default": "" } + ] } \ No newline at end of file diff --git a/node_modules/components-data/number-input.json b/node_modules/components-data/number-input.json index 1898ec4f..d446fc37 100644 --- a/node_modules/components-data/number-input.json +++ b/node_modules/components-data/number-input.json @@ -8,14 +8,19 @@ "properties": [ { - "name": "label", - "type": "string", - "default": "Button" + "name": "min", + "type": "number", + "default": null + }, + { + "name": "max", + "type": "number", + "default": null }, { - "name": "enabled", - "type": "boolean", - "default": "true" + "name": "step", + "type": "string", + "default": null } ] } \ No newline at end of file diff --git a/node_modules/components-data/radio-button.json b/node_modules/components-data/radio-button.json index e76cc6b4..4763453a 100644 --- a/node_modules/components-data/radio-button.json +++ b/node_modules/components-data/radio-button.json @@ -6,16 +6,45 @@ "name": "RadioButton", "properties": [ - { - "name": "label", + "name": "autofocus", + "type": "boolean", + "default": "false" + }, + { + "name": "disabled", + "type": "boolean", + "default": "false" + }, + { + "name": "checked", + "type": "boolean", + "default": "false" + }, + { + "name": "form", "type": "string", - "default": "Button" + "default": "" }, { - "name": "enabled", + "name": "name", + "type": "string", + "default": "" + }, + { + "name": "readonly", "type": "boolean", - "default": "true" + "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 44950890..871f7889 100644 --- a/node_modules/components-data/range-input.json +++ b/node_modules/components-data/range-input.json @@ -8,14 +8,19 @@ "properties": [ { - "name": "label", - "type": "string", - "default": "Button" + "name": "min", + "type": "number", + "default": null + }, + { + "name": "max", + "type": "number", + "default": null }, { - "name": "enabled", - "type": "boolean", - "default": "true" + "name": "step", + "type": "string", + "default": null } ] } \ No newline at end of file diff --git a/node_modules/components-data/textarea.json b/node_modules/components-data/textarea.json index 608011e1..6e3d78c2 100644 --- a/node_modules/components-data/textarea.json +++ b/node_modules/components-data/textarea.json @@ -8,14 +8,25 @@ "properties": [ { - "name": "value", + "name": "rows", + "type": "number", + "default": null + }, + { + "name": "cols", + "type": "number", + "default": null + }, + { + "name": "wrap", "type": "string", - "default": "Button" + "default": "soft", + "possibleValues": ["hard", "soft"] }, { - "name": "disabled", - "type": "boolean", - "default": "false" + "name": "textContent", + "type": "string", + "default": null } ] } \ No newline at end of file diff --git a/node_modules/components-data/toggle-button.json b/node_modules/components-data/toggle-button.json index 88b6eff0..e85dd72a 100644 --- a/node_modules/components-data/toggle-button.json +++ b/node_modules/components-data/toggle-button.json @@ -8,14 +8,29 @@ "properties": [ { - "name": "label", + "name": "pressed", + "type": "boolean", + "default": "false" + }, + { + "name": "unpressedLabel", "type": "string", - "default": "Button" + "default": "" }, { - "name": "enabled", - "type": "boolean", - "default": "true" + "name": "pressedLabel", + "type": "string", + "default": "" + }, + { + "name": "pressedClass", + "type": "string", + "default": "pressed" + }, + { + "name": "label", + "type": "string", + "default": "" } ] } \ No newline at end of file -- cgit v1.2.3 From 90e2b3455a123af8751d63381609b3a5ae304051 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Thu, 16 Feb 2012 22:33:08 -0800 Subject: Fixing the selectInput and finishing the textinput Signed-off-by: Valerio Virgillito --- node_modules/components-data/textfield.json | 112 +++++++++++++++++++++++++++- 1 file changed, 108 insertions(+), 4 deletions(-) (limited to 'node_modules/components-data') diff --git a/node_modules/components-data/textfield.json b/node_modules/components-data/textfield.json index 4f8a1499..7164b8b3 100644 --- a/node_modules/components-data/textfield.json +++ b/node_modules/components-data/textfield.json @@ -6,16 +6,120 @@ "name": "Textfield", "properties": [ - { - "name": "value", + "name": "accept", + "type": "string", + "default": null + }, + { + "name": "autocomplete", "type": "string", - "default": "Button" + "default": "" + }, + { + "name": "autofocus", + "type": "boolean", + "default": "" + }, + { + "name": "checked", + "type": "boolean", + "default": "" }, { "name": "disabled", "type": "boolean", - "default": "false" + "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", + "default": "" } ] } \ No newline at end of file -- cgit v1.2.3