diff options
author | Valerio Virgillito | 2012-02-16 22:45:55 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-16 22:45:55 -0800 |
commit | e67d1f472dab28b4ff6afc9d9cc06b34756e26b5 (patch) | |
tree | f17a01b3ad3ca11fc35e90133fae47fae668378c /node_modules/components-data | |
parent | 9f0c4efe2ed9a00f2c5d85c9d88a8040fedb5d8f (diff) | |
parent | 90e2b3455a123af8751d63381609b3a5ae304051 (diff) | |
download | ninja-e67d1f472dab28b4ff6afc9d9cc06b34756e26b5.tar.gz |
Merge pull request #51 from mencio/components
Fixing the components not instantianting in the user document
Diffstat (limited to 'node_modules/components-data')
-rw-r--r-- | node_modules/components-data/anchor.json | 46 | ||||
-rw-r--r-- | node_modules/components-data/button.json | 51 | ||||
-rw-r--r-- | node_modules/components-data/checkbox.json | 51 | ||||
-rw-r--r-- | node_modules/components-data/image.json | 27 | ||||
-rw-r--r-- | node_modules/components-data/number-input.json | 26 | ||||
-rw-r--r-- | node_modules/components-data/radio-button.json | 50 | ||||
-rw-r--r-- | node_modules/components-data/range-input.json | 26 | ||||
-rw-r--r-- | node_modules/components-data/select.json | 21 | ||||
-rw-r--r-- | node_modules/components-data/textarea.json | 32 | ||||
-rw-r--r-- | node_modules/components-data/textfield.json | 112 | ||||
-rw-r--r-- | node_modules/components-data/toggle-button.json | 36 |
11 files changed, 474 insertions, 4 deletions
diff --git a/node_modules/components-data/anchor.json b/node_modules/components-data/anchor.json new file mode 100644 index 00000000..04faf04d --- /dev/null +++ b/node_modules/components-data/anchor.json | |||
@@ -0,0 +1,46 @@ | |||
1 | { | ||
2 | "component": "anchor", | ||
3 | |||
4 | "module": "montage/ui/anchor.reel", | ||
5 | |||
6 | "name": "Anchor", | ||
7 | |||
8 | "properties": [ | ||
9 | |||
10 | { | ||
11 | "name": "textContent", | ||
12 | "type": "string", | ||
13 | "default": "" | ||
14 | }, | ||
15 | { | ||
16 | "name": "href", | ||
17 | "type": "string", | ||
18 | "default": "" | ||
19 | }, | ||
20 | { | ||
21 | "name": "hreflang", | ||
22 | "type": "string", | ||
23 | "default": "" | ||
24 | }, | ||
25 | { | ||
26 | "name": "media", | ||
27 | "type": "string", | ||
28 | "default": "" | ||
29 | }, | ||
30 | { | ||
31 | "name": "rel", | ||
32 | "type": "string", | ||
33 | "default": "" | ||
34 | }, | ||
35 | { | ||
36 | "name": "target", | ||
37 | "type": "string", | ||
38 | "default": "" | ||
39 | }, | ||
40 | { | ||
41 | "name": "type", | ||
42 | "type": "string", | ||
43 | "default": "" | ||
44 | } | ||
45 | ] | ||
46 | } \ No newline at end of file | ||
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 | |||
@@ -13,9 +13,60 @@ | |||
13 | "default": "Button" | 13 | "default": "Button" |
14 | }, | 14 | }, |
15 | { | 15 | { |
16 | "name": "autofocus", | ||
17 | "type": "boolean", | ||
18 | "default": "false" | ||
19 | }, | ||
20 | { | ||
16 | "name": "enabled", | 21 | "name": "enabled", |
17 | "type": "boolean", | 22 | "type": "boolean", |
18 | "default": "true" | 23 | "default": "true" |
24 | }, | ||
25 | { | ||
26 | "name": "form", | ||
27 | "type": "string", | ||
28 | "default": "" | ||
29 | }, | ||
30 | { | ||
31 | "name": "formaction", | ||
32 | "type": "string", | ||
33 | "default": "" | ||
34 | }, | ||
35 | { | ||
36 | "name": "formenctype", | ||
37 | "type": "string", | ||
38 | "default": "" | ||
39 | }, | ||
40 | { | ||
41 | "name": "formmethod", | ||
42 | "type": "string", | ||
43 | "default": "" | ||
44 | }, | ||
45 | { | ||
46 | "name": "formnovalidate", | ||
47 | "type": "boolean", | ||
48 | "default": "" | ||
49 | }, | ||
50 | { | ||
51 | "name": "formtarget", | ||
52 | "type": "string", | ||
53 | "default": "" | ||
54 | }, | ||
55 | { | ||
56 | "name": "name", | ||
57 | "type": "string", | ||
58 | "default": "" | ||
59 | }, | ||
60 | { | ||
61 | "name": "type", | ||
62 | "type": "select", | ||
63 | "default": "submit", | ||
64 | "possibleValues": ["submit", "reset", "button"] | ||
65 | }, | ||
66 | { | ||
67 | "name": "value", | ||
68 | "type": "string", | ||
69 | "default": "" | ||
19 | } | 70 | } |
20 | ] | 71 | ] |
21 | } \ No newline at end of file | 72 | } \ 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..a03ee00f --- /dev/null +++ b/node_modules/components-data/checkbox.json | |||
@@ -0,0 +1,51 @@ | |||
1 | { | ||
2 | "component": "checkbox", | ||
3 | |||
4 | "module": "montage/ui/checkbox.reel", | ||
5 | |||
6 | "name": "Checkbox", | ||
7 | |||
8 | "properties": [ | ||
9 | |||
10 | { | ||
11 | "name": "autofocus", | ||
12 | "type": "boolean", | ||
13 | "default": "false" | ||
14 | }, | ||
15 | { | ||
16 | "name": "disabled", | ||
17 | "type": "boolean", | ||
18 | "default": "false" | ||
19 | }, | ||
20 | { | ||
21 | "name": "checked", | ||
22 | "type": "boolean", | ||
23 | "default": "false" | ||
24 | }, | ||
25 | { | ||
26 | "name": "form", | ||
27 | "type": "string", | ||
28 | "default": "" | ||
29 | }, | ||
30 | { | ||
31 | "name": "name", | ||
32 | "type": "string", | ||
33 | "default": "" | ||
34 | }, | ||
35 | { | ||
36 | "name": "readonly", | ||
37 | "type": "boolean", | ||
38 | "default": null | ||
39 | }, | ||
40 | { | ||
41 | "name": "title", | ||
42 | "type": "string", | ||
43 | "default": "" | ||
44 | }, | ||
45 | { | ||
46 | "name": "value", | ||
47 | "type": "string", | ||
48 | "default": "on" | ||
49 | } | ||
50 | ] | ||
51 | } \ 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..d6080196 --- /dev/null +++ b/node_modules/components-data/image.json | |||
@@ -0,0 +1,27 @@ | |||
1 | { | ||
2 | "component": "imageComponent", | ||
3 | |||
4 | "module": "montage/ui/image.reel", | ||
5 | |||
6 | "name": "Image", | ||
7 | |||
8 | "properties": [ | ||
9 | |||
10 | { | ||
11 | "name": "alt", | ||
12 | "type": "string", | ||
13 | "default": "" | ||
14 | }, | ||
15 | { | ||
16 | "name": "src", | ||
17 | "type": "string", | ||
18 | "default": "" | ||
19 | }, | ||
20 | { | ||
21 | "name": "title", | ||
22 | "type": "string", | ||
23 | "default": "" | ||
24 | } | ||
25 | |||
26 | ] | ||
27 | } \ 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..d446fc37 --- /dev/null +++ b/node_modules/components-data/number-input.json | |||
@@ -0,0 +1,26 @@ | |||
1 | { | ||
2 | "component": "numberInput", | ||
3 | |||
4 | "module": "montage/ui/number-input.reel", | ||
5 | |||
6 | "name": "NumberInput", | ||
7 | |||
8 | "properties": [ | ||
9 | |||
10 | { | ||
11 | "name": "min", | ||
12 | "type": "number", | ||
13 | "default": null | ||
14 | }, | ||
15 | { | ||
16 | "name": "max", | ||
17 | "type": "number", | ||
18 | "default": null | ||
19 | }, | ||
20 | { | ||