aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValerio Virgillito2012-03-30 15:15:26 -0700
committerValerio Virgillito2012-03-30 15:15:26 -0700
commit879ac8b40ec1bfb30bde92185e39da75b99c8396 (patch)
tree8e1a857a83e8a1d5077c796fb0fec55381cef263
parentdd3cf0df2b03d1b5e124d99118c667eab55877e7 (diff)
downloadninja-879ac8b40ec1bfb30bde92185e39da75b99c8396.tar.gz
completing the component simple pi
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
-rwxr-xr-xjs/panels/components-panel.reel/components-panel.js2
-rw-r--r--node_modules/components-data/number-input.json1
-rw-r--r--node_modules/components-data/radio-button.json25
-rw-r--r--node_modules/components-data/range-input.json6
-rw-r--r--node_modules/components-data/select.json11
-rw-r--r--node_modules/components-data/textarea.json21
-rw-r--r--node_modules/components-data/textfield.json114
-rw-r--r--node_modules/components-data/toggle-button.json19
8 files changed, 18 insertions, 181 deletions
diff --git a/js/panels/components-panel.reel/components-panel.js b/js/panels/components-panel.reel/components-panel.js
index 461abe84..6972b9b4 100755
--- a/js/panels/components-panel.reel/components-panel.js
+++ b/js/panels/components-panel.reel/components-panel.js
@@ -106,7 +106,7 @@ exports.ComponentsPanel = Montage.create(Component, {
106 "component": "textfield" 106 "component": "textfield"
107 }, 107 },
108 { 108 {
109 "text": "Toogle Button", 109 "text": "Toggle Button",
110 "dataFile" : "node_modules/components-data/toggle-button.json", 110 "dataFile" : "node_modules/components-data/toggle-button.json",
111 "component": "toggleButton" 111 "component": "toggleButton"
112 } 112 }
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 @@
6 "name": "NumberInput", 6 "name": "NumberInput",
7 7
8 "properties": [ 8 "properties": [
9
10 { 9 {
11 "name": "value", 10 "name": "value",
12 "type": "number", 11 "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
@@ -7,11 +7,6 @@
7 7
8 "properties": [ 8 "properties": [
9 { 9 {
10 "name": "autofocus",
11 "type": "boolean",
12 "default": "false"
13 },
14 {
15 "name": "disabled", 10 "name": "disabled",
16 "type": "boolean", 11 "type": "boolean",
17 "default": "false" 12 "default": "false"
@@ -22,29 +17,9 @@
22 "default": "false" 17 "default": "false"
23 }, 18 },
24 { 19 {
25 "name": "form",
26 "type": "string",
27 "default": ""
28 },
29 {
30 "name": "name", 20 "name": "name",
31 "type": "string", 21 "type": "string",
32 "default": "" 22 "default": ""
33 },
34 {
35 "name": "readonly",
36 "type": "boolean",
37 "default": null
38 },
39 {
40 "name": "title",
41 "type": "string",
42 "default": ""
43 },
44 {
45 "name": "value",
46 "type": "string",
47 "default": "on"
48 } 23 }
49 ] 24 ]
50} \ No newline at end of file 25} \ 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 @@
6 "name": "RangeInput", 6 "name": "RangeInput",
7 7
8 "properties": [ 8 "properties": [
9 9 {
10 "name": "value",
11 "type": "number",
12 "default": 0
13 },
10 { 14 {
11 "name": "min", 15 "name": "min",
12 "type": "number", 16 "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 @@
6 "name": "SelectInput", 6 "name": "SelectInput",
7 7
8 "properties": [ 8 "properties": [
9
10 {
11 "name": "label",
12 "type": "string",
13 "default": "Button"
14 },
15 {
16 "name": "enabled",
17 "type": "boolean",
18 "default": "true"
19 }
20 ] 9 ]
21} \ No newline at end of file 10} \ 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
@@ -8,25 +8,14 @@
8 "properties": [ 8 "properties": [
9 9
10 { 10 {
11 "name": "rows",
12 "type": "number",
13 "default": null
14 },
15 {
16 "name": "cols",
17 "type": "number",
18 "default": null
19 },
20 {
21 "name": "wrap",
22 "type": "string",
23 "default": "soft",
24 "possibleValues": ["hard", "soft"]
25 },
26 {
27 "name": "textContent", 11 "name": "textContent",
28 "type": "string", 12 "type": "string",
29 "default": null 13 "default": null
14 },
15 {
16 "name": "disabled",
17 "type": "boolean",
18 "default": false
30 } 19 }
31 ] 20 ]
32} \ No newline at end of file 21} \ 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
@@ -7,120 +7,6 @@
7 7
8 "properties": [ 8 "properties": [
9 { 9 {
10 "name": "valueBinding",
11 "type": "string",
12 "default": null
13 },{
14 "name": "accept",
15 "type": "string",
16 "default": null
17 },
18 {
19 "name": "autocomplete",
20 "type": "string",
21 "default": ""
22 },
23 {
24 "name": "autofocus",
25 "type": "boolean",
26 "default": ""
27 },
28 {
29 "name": "checked",
30 "type": "boolean",
31 "default": ""
32 },
33 {
34 "name": "disabled",
35 "type": "boolean",
36 "default": ""
37 },
38 {
39 "name": "formaction",
40 "type": "string",
41 "default": ""
42 },
43 {
44 "name": "formenctype",
45 "type": "string",
46 "default": ""
47 },
48 {
49 "name": "formmethod",
50 "type": "string",
51 "default": ""
52 },
53 {
54 "name": "formnovalidate",
55 "type": "boolean",
56 "default": ""
57 },
58 {
59 "name": "formtarget",
60 "type": "string",
61 "default": ""
62 },
63 {
64 "name": "list",
65 "type": "string",
66 "default": ""
67 },
68 {
69 "name": "maxlength",
70 "type": "number",
71 "default": ""
72 },
73 {
74 "name": "mul