From 14f28d0031dc9d522b4ae7d1dbff192b8d8a670e Mon Sep 17 00:00:00 2001 From: François Frisch Date: Sat, 17 Mar 2012 11:58:58 -0700 Subject: Adding components to PI --- node_modules/components-data/map.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 node_modules/components-data/map.json (limited to 'node_modules/components-data/map.json') diff --git a/node_modules/components-data/map.json b/node_modules/components-data/map.json new file mode 100644 index 00000000..071fa73a --- /dev/null +++ b/node_modules/components-data/map.json @@ -0,0 +1,22 @@ +{ + "component": "map", + + "module": "montage/ui/map.reel", + + "name": "Map", + + "properties": [ + { + "name": "category", + "type": "string", + "default": null, + "possibleValues": ["restaurant", "hospital", "cafe", "museum"] + }, + { + "name": "center", + "type": "string", + "default": null + } + + ] +} \ No newline at end of file -- cgit v1.2.3 From 09852e9b9b8e64f003bed5aa57630d8b42c8ac95 Mon Sep 17 00:00:00 2001 From: François Frisch Date: Sat, 17 Mar 2012 19:28:30 -0700 Subject: Integrating picasa carousel and youtube channel --- node_modules/components-data/map.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node_modules/components-data/map.json') diff --git a/node_modules/components-data/map.json b/node_modules/components-data/map.json index 071fa73a..796b2fad 100644 --- a/node_modules/components-data/map.json +++ b/node_modules/components-data/map.json @@ -9,13 +9,13 @@ { "name": "category", "type": "string", - "default": null, + "default": "", "possibleValues": ["restaurant", "hospital", "cafe", "museum"] }, { "name": "center", "type": "string", - "default": null + "default": "" } ] -- cgit v1.2.3 From ea439c4471948cb7e1dbb98bfa9c2ddc374d48e7 Mon Sep 17 00:00:00 2001 From: Nivesh Rajbhandari Date: Mon, 19 Mar 2012 14:19:48 -0700 Subject: Maps - Apply default width and height styles to components if specified. Change default location to Sunnyvale. Signed-off-by: Nivesh Rajbhandari --- node_modules/components-data/map.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'node_modules/components-data/map.json') diff --git a/node_modules/components-data/map.json b/node_modules/components-data/map.json index 796b2fad..792a7fe5 100644 --- a/node_modules/components-data/map.json +++ b/node_modules/components-data/map.json @@ -18,5 +18,11 @@ "default": "" } - ] + ], + + "defaultStyles": { + "width": "280px", + "height": "280px" + } + } \ No newline at end of file -- cgit v1.2.3 From e506900b036f237f7d16238348fef12157deb173 Mon Sep 17 00:00:00 2001 From: Nivesh Rajbhandari Date: Mon, 19 Mar 2012 14:25:54 -0700 Subject: "Category" property should use "select" control. Signed-off-by: Nivesh Rajbhandari --- node_modules/components-data/map.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node_modules/components-data/map.json') diff --git a/node_modules/components-data/map.json b/node_modules/components-data/map.json index 792a7fe5..655d222d 100644 --- a/node_modules/components-data/map.json +++ b/node_modules/components-data/map.json @@ -8,8 +8,8 @@ "properties": [ { "name": "category", - "type": "string", - "default": "", + "type": "select", + "default": "restaurant", "possibleValues": ["restaurant", "hospital", "cafe", "museum"] }, { -- cgit v1.2.3