Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/html/lib/onyx/source/design.js
blob: 430dc7017ea6436fc5a9035b2fc10b1691676f5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//* @protected
// This is an in-progress design description of the Onyx controls for use in the Ares designer tool.
Palette.model.push(
	{name: "onyx", items: [
		{name: "onyx.Button", title: "Foofoofoo", icon: "box_software.png", stars: 4, version: 2.0, blurb: "Use as a simple page header, or add an optional navigation menu.",
			inline: {content: "onyx.Button", kind: "onyx.Button"},
			config: {content: "$name", isContainer: true, kind: "onyx.Button"}
		},
		{name: "onyx.InputDecorator", title: "Foofoofoo", icon: "box_software.png", stars: 4, version: 2.0, blurb: "Use as a simple page header, or add an optional navigation menu.",
			inline: {kind: "onyx.InputDecorator", components: [
				{kind: "Input", placeholder: "Enter text here"}
			]},
			config: {kind: "onyx.InputDecorator", components: [
				{kind: "Input", placeholder: "Enter text here"}
			]}
		},
		{name: "onyx.Input", title: "Foofoofoo", icon: "box_software.png", stars: 4, version: 2.0, blurb: "Use as a simple page header, or add an optional navigation menu.",
			inline: {value: "onyx.Input", kind: "onyx.Input"},
			config: {kind: "onyx.Input"}
		},
		{name: "onyx.ToggleButton", title: "Foofoofoo", icon: "box_software.png", stars: 4, version: 2.0, blurb: "Use as a simple page header, or add an optional navigation menu.",
			inline: {kind: "onyx.ToggleButton"},
			config: {kind: "onyx.ToggleButton"}
		},
		{name: "onyx.Checkbox", title: "Foofoofoo", icon: "box_software.png", stars: 4, version: 2.0, blurb: "Use as a simple page header, or add an optional navigation menu.",
			inline: {kind: "onyx.Checkbox"},
			config: {kind: "onyx.Checkbox"}
		},
		{name: "onyx.RadioGroup", 
			inline: {kind: "onyx.RadioGroup", components: [
				{content: "A"},
				{content: "B"},
				{content: "C"}
			]},
			config: {kind: "onyx.RadioGroup", isContainer: true, components: [
				{content: "RadioButton"}
			]}
		},
		{name: "onyx.RadioButton", 
			inline: {content: "RadioButton", kind: "onyx.RadioButton"},
			config: {content: "$name", kind: "onyx.RadioButton"}
		},
		{name: "onyx.Toolbar", title: "Foofoofoo", icon: "box_software.png", stars: 4, version: 2.0, blurb: "Use as a simple page header, or add an optional navigation menu.",
			inline: {kind: "onyx.Toolbar"},
			config: {isContainer: true, kind: "onyx.Toolbar"}
		},
		{name: "onyx.Grabber", title: "Foofoofoo", icon: "box_software.png", stars: 4, version: 2.0, blurb: "Use as a simple page header, or add an optional navigation menu.",
			inline: {kind: "onyx.Grabber", style: "background-color: #333; padding: 4px 12px;"},
			config: {kind: "onyx.Grabber"}
		},
		{name: "onyx.Groupbox", title: "Foofoofoo", icon: "box_software.png", stars: 4, version: 2.0, blurb: "Use as a simple page header, or add an optional navigation menu.",
			inline: {kind: "onyx.Groupbox", components: [
				{content: "Header", kind: "onyx.GroupboxHeader"}, 
				{content: "Item", style: "padding: 10px;"}
			]},
			config: {kind: "onyx.Groupbox", isContainer: true, components: [
				{content: "Header", kind: "onyx.GroupboxHeader", isContainer: true}, 
				{content: "Item", style: "padding: 10px;"}
			]}
		},
		{name: "onyx.GroupboxHeader", title: "Foofoofoo", icon: "box_software.png", stars: 4, version: 2.0, blurb: "Use as a simple page header, or add an optional navigation menu.",
			inline: {content: "Header", kind: "onyx.GroupboxHeader"},
			config: {content: "$name", kind: "onyx.GroupboxHeader", isContainer: true}
		}
	]}
);