diff options
author | Jose Antonio Marquez | 2012-03-21 09:53:08 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-03-21 09:53:08 -0700 |
commit | beb72aa033f42d09d54a4ea6cc6b5ca59cc6fae7 (patch) | |
tree | 71ee74df0c3a56b680e4aa80f23905fcb1cc84f1 /node_modules | |
parent | 37cafa09653ff3e2cb88c5b51cdc1f6e066aa3e8 (diff) | |
parent | 31eee2972667d7553974f0857fdc458954219203 (diff) | |
download | ninja-beb72aa033f42d09d54a4ea6cc6b5ca59cc6fae7.tar.gz |
Merge branch 'refs/heads/francoisfrisch-Ninja-Internal' into FileIO-Montage-Components
Diffstat (limited to 'node_modules')
26 files changed, 594 insertions, 199 deletions
diff --git a/node_modules/components-data/feed-reader.json b/node_modules/components-data/feed-reader.json index 6caf768d..1e055eef 100644 --- a/node_modules/components-data/feed-reader.json +++ b/node_modules/components-data/feed-reader.json | |||
@@ -10,6 +10,15 @@ | |||
10 | "name": "feedURL", | 10 | "name": "feedURL", |
11 | "type": "string", | 11 | "type": "string", |
12 | "default": null | 12 | "default": null |
13 | }, | ||
14 | { | ||
15 | "name": "feedDisplayMode", | ||
16 | "type": "string", | ||
17 | "default": "timer" | ||
13 | } | 18 | } |
14 | ] | 19 | ], |
20 | "defaultStyles": { | ||
21 | "width":"380px", | ||
22 | "height":"120px" | ||
23 | } | ||
15 | } \ No newline at end of file | 24 | } \ No newline at end of file |
diff --git a/node_modules/components-data/map.json b/node_modules/components-data/map.json index 796b2fad..655d222d 100644 --- a/node_modules/components-data/map.json +++ b/node_modules/components-data/map.json | |||
@@ -8,8 +8,8 @@ | |||
8 | "properties": [ | 8 | "properties": [ |
9 | { | 9 | { |
10 | "name": "category", | 10 | "name": "category", |
11 | "type": "string", | 11 | "type": "select", |
12 | "default": "", | 12 | "default": "restaurant", |
13 | "possibleValues": ["restaurant", "hospital", "cafe", "museum"] | 13 | "possibleValues": ["restaurant", "hospital", "cafe", "museum"] |
14 | }, | 14 | }, |
15 | { | 15 | { |
@@ -18,5 +18,11 @@ | |||
18 | "default": "" | 18 | "default": "" |
19 | } | 19 | } |
20 | 20 | ||
21 | ] | 21 | ], |
22 | |||
23 | "defaultStyles": { | ||
24 | "width": "280px", | ||
25 | "height": "280px" | ||
26 | } | ||
27 | |||
22 | } \ No newline at end of file | 28 | } \ No newline at end of file |
diff --git a/node_modules/components-data/picasa-carousel.json b/node_modules/components-data/picasa-carousel.json index 34fe0e8f..2eb601c7 100644 --- a/node_modules/components-data/picasa-carousel.json +++ b/node_modules/components-data/picasa-carousel.json | |||
@@ -11,5 +11,10 @@ | |||
11 | "type": "string", | 11 | "type": "string", |
12 | "default": "" | 12 | "default": "" |
13 | } | 13 | } |
14 | ] | 14 | ], |
15 | "defaultStyles": { | ||
16 | "width":"800px", | ||
17 | "height":"160px", | ||
18 | "border": "1px" | ||
19 | } | ||
15 | } \ No newline at end of file | 20 | } \ No newline at end of file |
diff --git a/node_modules/components-data/youtube-channel.json b/node_modules/components-data/youtube-channel.json index 8affffba..c909fd1b 100644 --- a/node_modules/components-data/youtube-channel.json +++ b/node_modules/components-data/youtube-channel.json | |||
@@ -7,7 +7,7 @@ | |||
7 | 7 | ||
8 | "properties": [ | 8 | "properties": [ |
9 | { | 9 | { |
10 | "name": "channelUrl", | 10 | "name": "channel", |
11 | "type": "string", | 11 | "type": "string", |
12 | "default": "" | 12 | "default": "" |
13 | } | 13 | } |
diff --git a/node_modules/montage/examples/feed-reader/images/47-fuel.png b/node_modules/montage/examples/feed-reader/images/47-fuel.png new file mode 100644 index 00000000..617d7640 --- /dev/null +++ b/node_modules/montage/examples/feed-reader/images/47-fuel.png | |||
Binary files differ | |||
diff --git a/node_modules/montage/examples/feed-reader/images/80-shopping-cart.png b/node_modules/montage/examples/feed-reader/images/80-shopping-cart.png new file mode 100644 index 00000000..51a5f86f --- /dev/null +++ b/node_modules/montage/examples/feed-reader/images/80-shopping-cart.png | |||
Binary files differ | |||
diff --git a/node_modules/montage/examples/feed-reader/images/88-beer-mug.png b/node_modules/montage/examples/feed-reader/images/88-beer-mug.png new file mode 100644 index 00000000..b0fdd99a --- /dev/null +++ b/node_modules/montage/examples/feed-reader/images/88-beer-mug.png | |||
Binary files differ | |||
diff --git a/node_modules/montage/examples/feed-reader/main.reel/main.html b/node_modules/montage/examples/feed-reader/main.reel/main.html index 8ea9a79b..1313219f 100644 --- a/node_modules/montage/examples/feed-reader/main.reel/main.html +++ b/node_modules/montage/examples/feed-reader/main.reel/main.html | |||
@@ -44,7 +44,9 @@ | |||
44 | "module": "montage/ui/feed-reader/feed-reader.reel", | 44 | "module": "montage/ui/feed-reader/feed-reader.reel", |
45 | "name": "FeedReader", | 45 | "name": "FeedReader", |
46 | "properties": { | 46 | "properties": { |
47 | "element": {"#": "feed-reader"} | 47 | "element": {"#": "feed-reader"}, |
48 | "feedDisplayMode": "animation", | ||
49 | "interval": "3" | ||
48 | } | 50 | } |
49 | }, | 51 | }, |
50 | 52 | ||
@@ -76,9 +78,29 @@ | |||
76 | "map": { | 78 | "map": { |
77 | "prototype": "montage/ui/map.reel", | 79 | "prototype": "montage/ui/map.reel", |
78 | "properties": { | 80 | "properties": { |
79 | "element": {"#": "map"} | 81 | "element": {"#": "map"}, |
82 | "traffic": false | ||
83 | }, | ||
84 | "bindings": { | ||
85 | "traffic": { | ||
86 | "boundObject": {"@": "traffic"}, | ||
87 | "boundObjectPropertyPath": "checked" | ||
88 | } | ||
89 | } | ||
90 | }, | ||
91 | |||
92 | "types": { | ||
93 | "prototype": "montage/ui/select-input.reel", | ||
94 | "properties": { | ||
95 | "element": {"#": "types"} | ||
80 | } | 96 | } |
81 | }, | 97 | }, |
98 | "traffic": { | ||
99 | "prototype": "montage/ui/checkbox.reel", | ||
100 | "properties": { | ||
101 | "element": {"#": "traffic"} | ||
102 | } | ||
103 | }, | ||
82 | 104 | ||
83 | "owner": { | 105 | "owner": { |
84 | "module": "main.reel", | 106 | "module": "main.reel", |
@@ -92,6 +114,10 @@ | |||
92 | "mapCenter": { | 114 | "mapCenter": { |
93 | "boundObject": {"@": "mapCenter"}, | 115 | "boundObject": {"@": "mapCenter"}, |
94 | "boundObjectPropertyPath": "value" | 116 | "boundObjectPropertyPath": "value" |
117 | }, | ||
118 | "mapCategory": { | ||
119 | "boundObject": {"@": "types"}, | ||
120 | "boundObjectPropertyPath": "value" | ||
95 | } | 121 | } |
96 | } | 122 | } |
97 | } | 123 | } |
@@ -140,7 +166,59 @@ | |||
140 | visibility: hidden; | 166 | visibility: hidden; |
141 | } | 167 | } |
142 | 168 | ||
169 | #map, #feed-reader { | ||
170 | margin-top: 10px; | ||
171 | } | ||
172 | |||
173 | |||
174 | /* | ||
175 | .feed-reader .feed-entry { | ||
176 | visibility:hidden; | ||
177 | opacity:0; | ||
178 | transition:visibility 0s linear 0.5s,opacity 0.5s linear; | ||
179 | } | ||
180 | .feed-reader .feed-entry .active { | ||
181 | visibility:visible; | ||
182 | opacity:1; | ||
183 | transition-delay:0s; | ||
184 | } | ||
185 | */ | ||
186 | |||
187 | @-webkit-keyframes rotateWithAlphaKeyframes { | ||
188 | 0% { | ||
189 | opacity: 0; | ||
190 | -webkit-transform: perspective(1000) rotateY(95deg); | ||