2019-08-19 22:18:23 +02:00
|
|
|
{
|
2019-09-11 06:18:00 +02:00
|
|
|
"_lib": "./dist/index.js",
|
2020-04-23 14:32:36 +02:00
|
|
|
"_templates": {
|
|
|
|
"saveRecordButton": {
|
2020-02-19 22:38:21 +01:00
|
|
|
"description": "Save record button",
|
|
|
|
"component": "button"
|
|
|
|
}
|
|
|
|
},
|
2020-04-23 14:32:36 +02:00
|
|
|
"Navigation": {
|
|
|
|
"name": "Navigation",
|
|
|
|
"description": "A basic header navigation component",
|
|
|
|
"props": {
|
|
|
|
"logoUrl": "string",
|
|
|
|
"title": "string",
|
2020-04-29 16:49:51 +02:00
|
|
|
"backgroundColor": "colour",
|
|
|
|
"color": "colour",
|
2020-04-23 14:32:36 +02:00
|
|
|
"borderWidth": "string",
|
2020-04-29 16:49:51 +02:00
|
|
|
"borderColor": "colour",
|
2020-04-23 14:32:36 +02:00
|
|
|
"borderStyle": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"button": {
|
2019-08-19 22:18:23 +02:00
|
|
|
"name": "Button",
|
|
|
|
"description": "an html <button />",
|
|
|
|
"props": {
|
2020-04-23 14:32:36 +02:00
|
|
|
"contentText": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "Button"
|
|
|
|
},
|
2020-01-18 10:00:18 +01:00
|
|
|
"className": "string",
|
2019-09-20 09:01:35 +02:00
|
|
|
"disabled": "bool",
|
2019-10-07 07:03:41 +02:00
|
|
|
"onClick": "event",
|
2020-04-29 16:49:51 +02:00
|
|
|
"background": "colour",
|
|
|
|
"color": "colour",
|
2019-10-07 07:03:41 +02:00
|
|
|
"border": "string",
|
|
|
|
"padding": "string",
|
|
|
|
"hoverColor": "string",
|
|
|
|
"hoverBackground": "string",
|
2020-04-27 12:26:34 +02:00
|
|
|
"hoverBorder": "string",
|
|
|
|
"fontFamily": {
|
|
|
|
"type": "options",
|
|
|
|
"default": "initial",
|
|
|
|
"styleBindingProperty": "font-family",
|
|
|
|
"options": [
|
|
|
|
"initial",
|
|
|
|
"Times New Roman",
|
|
|
|
"Georgia",
|
|
|
|
"Arial",
|
|
|
|
"Arial Black",
|
|
|
|
"Comic Sans MS",
|
|
|
|
"Impact",
|
|
|
|
"Lucida Sans Unicode"
|
|
|
|
]
|
|
|
|
}
|
2019-08-19 22:18:23 +02:00
|
|
|
},
|
2020-04-23 14:32:36 +02:00
|
|
|
"tags": [
|
|
|
|
"layout"
|
|
|
|
],
|
2020-02-18 16:41:44 +01:00
|
|
|
"presets": {
|
|
|
|
"primary": {
|
|
|
|
"contentText": "Primary Button Preset",
|
2020-04-23 14:32:36 +02:00
|
|
|
"color": "papayawhip",
|
2020-02-18 16:41:44 +01:00
|
|
|
"padding": "20px",
|
|
|
|
"background": "blue"
|
|
|
|
},
|
|
|
|
"secondary": {
|
|
|
|
"contentText": "Secondary Button Preset",
|
2020-04-23 14:32:36 +02:00
|
|
|
"color": "rebeccapurple",
|
2020-02-18 16:41:44 +01:00
|
|
|
"padding": "10px",
|
|
|
|
"background": "#fff",
|
|
|
|
"border": "1px solid red"
|
|
|
|
},
|
|
|
|
"error": {
|
|
|
|
"contentText": "ERROR",
|
2020-04-23 14:32:36 +02:00
|
|
|
"color": "red",
|
2020-02-18 16:41:44 +01:00
|
|
|
"padding": "10px",
|
|
|
|
"border": "1px solid red"
|
|
|
|
}
|
2020-04-23 14:32:36 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"login": {
|
2019-08-27 08:32:56 +02:00
|
|
|
"name": "Login Control",
|
2019-10-07 07:03:41 +02:00
|
|
|
"description": "A control that accepts username, password an also handles password resets",
|
2020-04-23 14:32:36 +02:00
|
|
|
"props": {
|
2019-08-27 08:32:56 +02:00
|
|
|
"logo": "asset",
|
|
|
|
"loginRedirect": "string",
|
2020-04-23 14:32:36 +02:00
|
|
|
"usernameLabel": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "Username"
|
|
|
|
},
|
|
|
|
"passwordLabel": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "Password"
|
|
|
|
},
|
|
|
|
"loginButtonLabel": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "Login"
|
|
|
|
},
|
2019-09-29 07:40:06 +02:00
|
|
|
"buttonClass": "string",
|
|
|
|
"inputClass": "string"
|
2019-08-27 08:32:56 +02:00
|
|
|
},
|
2020-04-23 14:32:36 +02:00
|
|
|
"tags": [
|
|
|
|
"login",
|
|
|
|
"credentials",
|
|
|
|
"password",
|
|
|
|
"logon"
|
|
|
|
]
|
2019-08-27 08:32:56 +02:00
|
|
|
},
|
2020-04-23 14:32:36 +02:00
|
|
|
"input": {
|
2019-10-16 06:38:45 +02:00
|
|
|
"name": "Input",
|
|
|
|
"description": "An HTML input",
|
2020-04-23 14:32:36 +02:00
|
|
|
"props": {
|
2019-10-16 06:38:45 +02:00
|
|
|
"value": "string",
|
|
|
|
"type": {
|
2020-04-23 14:32:36 +02:00
|
|
|
"type": "options",
|
|
|
|
"options": [
|
|
|
|
"text",
|
|
|
|
"password",
|
|
|
|
"checkbox",
|
|
|
|
"color",
|
|
|
|
"date",
|
|
|
|
"datetime-local",
|
|
|
|
"email",
|
|
|
|
"file",
|
|
|
|
"hidden",
|
|
|
|
"image",
|
|
|
|
"month",
|
|
|
|
"number",
|
|
|
|
"radio",
|
|
|
|
"range",
|
|
|
|
"reset",
|
|
|
|
"search",
|
|
|
|
"submit",
|
|
|
|
"tel",
|
|
|
|
"time",
|
|
|
|
"week"
|
|
|
|
],
|
|
|
|
"default": "text"
|
2019-10-16 06:38:45 +02:00
|
|
|
},
|
2020-02-20 21:19:24 +01:00
|
|
|
"onChange": "event",
|
2020-01-18 10:00:18 +01:00
|
|
|
"className": "string"
|
2019-10-16 06:38:45 +02:00
|
|
|
},
|
2020-04-23 14:32:36 +02:00
|
|
|
"tags": [
|
|
|
|
"form"
|
|
|
|
]
|
2019-10-16 06:38:45 +02:00
|
|
|
},
|
2020-04-23 14:32:36 +02:00
|
|
|
"select": {
|
2020-02-14 12:51:45 +01:00
|
|
|
"name": "Select",
|
|
|
|
"description": "An HTML <select> (dropdown)",
|
2020-04-23 14:32:36 +02:00
|
|
|
"props": {
|
2019-10-16 06:38:45 +02:00
|
|
|
"value": "string",
|
2020-01-18 10:00:18 +01:00
|
|
|
"className": "string"
|
2020-02-14 12:51:45 +01:00
|
|
|
}
|
|
|
|
},
|
2020-04-23 14:32:36 +02:00
|
|
|
"option": {
|
2020-02-14 12:51:45 +01:00
|
|
|
"name": "Option",
|
|
|
|
"description": "An HTML <option>, to be used with <select>",
|
|
|
|
"children": false,
|
2020-04-23 14:32:36 +02:00
|
|
|
"props": {
|
2020-02-14 12:51:45 +01:00
|
|
|
"value": "string",
|
|
|
|
"text": "string"
|
|
|
|
}
|
2019-10-16 06:38:45 +02:00
|
|
|
},
|
2019-09-19 05:35:40 +02:00
|
|
|
"text": {
|
|
|
|
"name": "Text",
|
2019-10-07 07:03:41 +02:00
|
|
|
"description": "stylable block of text",
|
2020-01-18 10:00:18 +01:00
|
|
|
"children": false,
|
2020-04-23 14:32:36 +02:00
|
|
|
"props": {
|
2020-02-14 12:51:45 +01:00
|
|
|
"text": "string",
|
2020-04-29 16:49:51 +02:00
|
|
|
"color": "colour",
|
2020-04-27 12:26:34 +02:00
|
|
|
"fontFamily": {
|
|
|
|
"type": "options",
|
|
|
|
"default": "initial",
|
|
|
|
"styleBindingProperty": "font-family",
|
|
|
|
"options": [
|
|
|
|
"initial",
|
|
|
|
"Times New Roman",
|
|
|
|
"Georgia",
|
|
|
|
"Arial",
|
|
|
|
"Arial Black",
|
|
|
|
"Comic Sans MS",
|
|
|
|
"Impact",
|
|
|
|
"Lucida Sans Unicode"
|
|
|
|
]
|
|
|
|
},
|
2020-04-29 16:49:51 +02:00
|
|
|
"fontSize": "string",
|
2019-09-26 06:40:58 +02:00
|
|
|
"textAlign": {
|
2020-04-23 14:32:36 +02:00
|
|
|
"type": "options",
|
|
|
|
"default": "inline",
|
2019-09-26 06:40:58 +02:00
|
|
|
"options": [
|
2020-04-23 14:32:36 +02:00
|
|
|
"left",
|
|
|
|
"center",
|
|
|
|
"right"
|
2019-09-26 06:40:58 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"verticalAlign": {
|
2020-04-23 14:32:36 +02:00
|
|
|
"type": "options",
|
|
|
|
"default": "inline",
|
2019-09-26 06:40:58 +02:00
|
|
|
"options": [
|
2020-04-23 14:32:36 +02:00
|
|
|
"top",
|
|
|
|
"middle",
|
|
|
|
"bottom"
|
2019-09-26 06:40:58 +02:00
|
|
|
]
|
2020-02-14 12:51:45 +01:00
|
|
|
},
|
|
|
|
"formattingTag": {
|
2020-04-23 14:32:36 +02:00
|
|
|
"type": "options",
|
|
|
|
"default": "none",
|
2020-02-14 12:51:45 +01:00
|
|
|
"options": [
|
|
|
|
"none",
|
|
|
|
"<b> - bold",
|
|
|
|
"<strong> - important",
|
|
|
|
"<i> - italic",
|
|
|
|
"<em> - emphasized",
|
|
|
|
"<mark> - marked text",
|
|
|
|
"<small> - small",
|
|
|
|
"<del> - deleted",
|
|
|
|
"<ins> - inserted",
|
|
|
|
"<sub> - subscript",
|
|
|
|
"<sup> - superscript"
|
|
|
|
]
|
2019-09-19 05:35:40 +02:00
|
|
|
}
|
|
|
|
},
|
2020-04-23 14:32:36 +02:00
|
|
|
"tags": [
|
|
|
|
"div",
|
|
|
|
"container"
|
|
|
|
]
|
2019-09-26 06:40:58 +02:00
|
|
|
},
|
2020-04-23 14:22:41 +02:00
|
|
|
"textfield": {
|
|
|
|
"name": "Textfield",
|
|
|
|
"description": "A component that allows the user to input text.",
|
|
|
|
"props": {
|
|
|
|
"label": "string",
|
|
|
|
"value": "string",
|
|
|
|
"onchange": "event"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"checkbox": {
|
|
|
|
"name": "Checkbox",
|
|
|
|
"description": "A selectable checkbox component",
|
|
|
|
"props": {
|
|
|
|
"label": "string",
|
|
|
|
"checked": "bool",
|
|
|
|
"value": "string",
|
|
|
|
"onchange": "event"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"radiobutton": {
|
|
|
|
"name": "Radiobutton",
|
|
|
|
"description": "A selectable radiobutton component",
|
|
|
|
"props": {
|
|
|
|
"label": "string",
|
|
|
|
"checked": "bool",
|
|
|
|
"value": "string",
|
|
|
|
"onchange": "event"
|
2020-04-23 14:32:36 +02:00
|
|
|
}
|
2020-04-23 14:22:41 +02:00
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"description": "A HTML icon tag",
|
|
|
|
"props": {
|
|
|
|
"icon": "string",
|
2020-04-29 16:49:51 +02:00
|
|
|
"fontSize": "string",
|
|
|
|
"color": "colour"
|
2020-04-23 14:22:41 +02:00
|
|
|
}
|
|
|
|
},
|
2020-05-06 11:33:30 +02:00
|
|
|
"datatable": {
|
2020-05-06 13:17:15 +02:00
|
|
|
"description": "an HTML table that fetches data from a model or view and displays it.",
|
2020-05-06 11:33:30 +02:00
|
|
|
"props": {
|
|
|
|
"_instanceId": "string",
|
|
|
|
"model": {
|
|
|
|
"type": "options",
|
|
|
|
"default": "",
|
|
|
|
"options": [
|
2020-05-06 21:29:47 +02:00
|
|
|
"all_6dc86335-83b7-462c-90ca-1fe7feb08942",
|
|
|
|
"all_fcd00735-01f0-451c-819e-902a3ea53c26"
|
2020-05-06 11:33:30 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"dataform": {
|
|
|
|
"description": "an HTML table that fetches data from a model or view and displays it.",
|
|
|
|
"props": {
|
|
|
|
"_viewName": "string",
|
|
|
|
"_instanceId": "string"
|
|
|
|
}
|
|
|
|
},
|
2020-02-20 18:06:50 +01:00
|
|
|
"link": {
|
|
|
|
"description": "an HTML anchor <a> tag",
|
|
|
|
"props": {
|
|
|
|
"url": "string",
|
|
|
|
"openInNewTab": "bool",
|
2020-02-21 12:43:21 +01:00
|
|
|
"text": "string",
|
2020-04-29 16:49:51 +02:00
|
|
|
"color": "colour",
|
|
|
|
"hoverColor": "colour",
|
2020-02-21 12:43:21 +01:00
|
|
|
"underline": "bool",
|
2020-04-27 12:26:34 +02:00
|
|
|
"fontSize": "string",
|
|
|
|
"fontFamily": {
|
|
|
|
"type": "options",
|
|
|
|
"default": "initial",
|
|
|
|
"styleBindingProperty": "font-family",
|
|
|
|
"options": [
|
|
|
|
"initial",
|
|
|
|
"Times New Roman",
|
|
|
|
"Georgia",
|
|
|
|
"Arial",
|
|
|
|
"Arial Black",
|
|
|
|
"Comic Sans MS",
|
|
|
|
"Impact",
|
|
|
|
"Lucida Sans Unicode"
|
|
|
|
]
|
|
|
|
}
|
2020-02-20 18:06:50 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"description": "an HTML <img> tag",
|
|
|
|
"props": {
|
|
|
|
"url": "string",
|
|
|
|
"className": "string",
|
|
|
|
"description": "string",
|
|
|
|
"height": "string",
|
|
|
|
"width": "string"
|
|
|
|
}
|
|
|
|
},
|
2020-02-14 12:51:45 +01:00
|
|
|
"container": {
|
|
|
|
"name": "Container",
|
|
|
|
"description": "An element that contains and lays out other elements. e.g. <div>, <header> etc",
|
2020-04-23 14:32:36 +02:00
|
|
|
"props": {
|
|
|
|
"className": "string",
|
2020-02-14 12:51:45 +01:00
|
|
|
"onLoad": "event",
|
|
|
|
"type": {
|
2020-04-23 14:32:36 +02:00
|
|
|
"type": "options",
|
2020-02-14 12:51:45 +01:00
|
|
|
"options": [
|
|
|
|
"article",
|
|
|
|
"aside",
|
|
|
|
"details",
|
|
|
|
"div",
|
|
|
|
"firgure",
|
|
|
|
"figcaption",
|
|
|
|
"footer",
|
|
|
|
"header",
|
|
|
|
"main",
|
|
|
|
"mark",
|
|
|
|
"nav",
|
|
|
|
"paragraph",
|
|
|
|
"summary"
|
|
|
|
],
|
|
|
|
"default": "div"
|
2020-02-21 12:43:21 +01:00
|
|
|
},
|
|
|
|
"backgroundColor": "string",
|
|
|
|
"color": "string",
|
|
|
|
"borderWidth": "string",
|
|
|
|
"borderColor": "string",
|
|
|
|
"borderStyle": {
|
2020-04-23 14:32:36 +02:00
|
|
|
"type": "options",
|
2020-02-21 12:43:21 +01:00
|
|
|
"options": [
|
|
|
|
"none",
|
|
|
|
"solid",
|
|
|
|
"dotted",
|
|
|
|
"dashed",
|
|
|
|
"double",
|
|
|
|
"groove",
|
|
|
|
"ridge",
|
|
|
|
"inset",
|
|
|
|
"outset"
|
|
|
|
],
|
|
|
|
"default": "none"
|
2020-02-14 12:51:45 +01:00
|
|
|
}
|
2019-10-14 09:32:20 +02:00
|
|
|
},
|
2020-01-20 22:57:27 +01:00
|
|
|
"container": true,
|
2020-04-23 14:32:36 +02:00
|
|
|
"tags": [
|
|
|
|
"div",
|
|
|
|
"container",
|
|
|
|
"layout"
|
|
|
|
]
|
2019-10-16 06:38:45 +02:00
|
|
|
},
|
2020-02-14 12:51:45 +01:00
|
|
|
"heading": {
|
|
|
|
"name": "Heading",
|
|
|
|
"description": "An HTML H1 - H6 tag",
|
2020-04-23 14:32:36 +02:00
|
|
|
"props": {
|
|
|
|
"className": "string",
|
2020-04-29 16:49:51 +02:00
|
|
|
"color":"colour",
|
2020-04-22 12:52:55 +02:00
|
|
|
"text": "string",
|
2020-04-27 12:26:34 +02:00
|
|
|
"type": {
|
2020-02-14 12:51:45 +01:00
|
|
|
"type": "options",
|
|
|
|
"default": "h1",
|
2020-04-23 14:32:36 +02:00
|
|
|
"options": [
|
|
|
|
"h1",
|
|
|
|
"h2",
|
|
|
|
"h3",
|
|
|
|
"h4",
|
|
|
|
"h5",
|
|
|
|
"h6"
|
|
|
|
]
|
2020-04-27 12:26:34 +02:00
|
|
|
},
|
|
|
|
"fontFamily": {
|
|
|
|
"type": "options",
|
|
|
|
"default": "initial",
|
|
|
|
"styleBindingProperty": "font-family",
|
|
|
|
"options": [
|
|
|
|
"initial",
|
|
|
|
"Times New Roman",
|
|
|
|
"Georgia",
|
|
|
|
"Arial",
|
|
|
|
"Arial Black",
|
|
|
|
"Comic Sans MS",
|
|
|
|
"Impact",
|
|
|
|
"Lucida Sans Unicode"
|
|
|
|
]
|
2020-02-14 12:51:45 +01:00
|
|
|
}
|
2019-10-16 06:38:45 +02:00
|
|
|
},
|
|
|
|
"tags": []
|
2020-02-20 18:06:50 +01:00
|
|
|
},
|
|
|
|
"thead": {
|
|
|
|
"name": "TableHead",
|
|
|
|
"description": "an HTML <thead> tab",
|
2020-04-23 14:32:36 +02:00
|
|
|
"props": {
|
|
|
|
"className": "string"
|
2020-02-20 18:06:50 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tbody": {
|
|
|
|
"name": "TableBody",
|
|
|
|
"description": "an HTML <tbody> tab",
|
2020-04-23 14:32:36 +02:00
|
|
|
"props": {
|
|
|
|
"className": "string"
|
2020-02-20 18:06:50 +01:00
|
|
|
}
|
2019-08-19 22:18:23 +02:00
|
|
|
}
|
2020-05-06 11:33:30 +02:00
|
|
|
}
|