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/toggle-button.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 node_modules/components-data/toggle-button.json (limited to 'node_modules/components-data/toggle-button.json') 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 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/toggle-button.json | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) (limited to 'node_modules/components-data/toggle-button.json') 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