Documentation! + some little fixes to add consistency between components

This commit is contained in:
Keegan
2016-02-16 01:03:21 -08:00
parent b0ac596543
commit 24bfc54991
27 changed files with 724 additions and 1010 deletions
+8 -5
View File
@@ -64,7 +64,6 @@ module.exports = [
{
"type": "radiogroup",
"appKey": "radiogroup-test",
"defaultValue": "quote' \"test",
"label": "Radio test",
"options": [
{ "label": "Test thing one", "value": "one" },
@@ -91,9 +90,9 @@ module.exports = [
"type": "input",
"appKey": "date",
"defaultValue": "",
"label": "Date",
"label": "Range",
"attributes": {
type: "date"
type: "range"
}
},
{
@@ -102,15 +101,19 @@ module.exports = [
"defaultValue": "grape",
"label": "Favorite Flavor",
"options": [
{ "label": "", "value": "" },
{ "label": "Berry", "value": "berry" },
{ "label": "Grape", "value": "grape" },
{ "label": "Banana", "value": "banana" }
]
],
"attributes": {
"required": "required"
}
}
]
},
{
"type": "submit",
"label": "Save"
"defaultValue": "Save"
}
];
+1 -1
View File
@@ -1,6 +1,6 @@
'use strict';
window.returnTo = '$$RETURN_TO$$';
window.returnTo = '#';
window.clayConfig = require('./config.js');
window.claySettings = {};
window.customFn = require('./custom-fn.js');
View File