154 lines
3.6 KiB
JavaScript
154 lines
3.6 KiB
JavaScript
|
export default {
|
||
|
categories: [
|
||
|
{
|
||
|
name: 'Basic',
|
||
|
components: [
|
||
|
{
|
||
|
component: 'Text',
|
||
|
icon: 'Text',
|
||
|
type: [
|
||
|
{
|
||
|
_component: '@budibase/standard-components/header',
|
||
|
name: 'Headline',
|
||
|
icon: 'headline',
|
||
|
props: {
|
||
|
type: {
|
||
|
type: 'options',
|
||
|
options: [
|
||
|
'h1',
|
||
|
'h2'
|
||
|
],
|
||
|
'default': 'h1'
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
_component: '@budibase/standard-components/text',
|
||
|
name: 'Paragraph',
|
||
|
icon: 'paragraph'
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
component: 'Button',
|
||
|
icon: 'Text',
|
||
|
type: [
|
||
|
{
|
||
|
_component: '@budibase/standard-components/header',
|
||
|
name: 'Headline',
|
||
|
icon: 'headline',
|
||
|
props: {
|
||
|
type: {
|
||
|
type: 'options',
|
||
|
options: [
|
||
|
'h1',
|
||
|
'h2'
|
||
|
],
|
||
|
'default': 'h1'
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
_component: '@budibase/standard-components/text',
|
||
|
name: 'Paragraph',
|
||
|
icon: 'paragraph'
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
name: 'Form',
|
||
|
components: [
|
||
|
{
|
||
|
component: 'Text',
|
||
|
icon: 'Text',
|
||
|
type: [
|
||
|
{
|
||
|
_component: '@budibase/standard-components/header',
|
||
|
name: 'Headline',
|
||
|
icon: 'headline',
|
||
|
props: {
|
||
|
type: {
|
||
|
type: 'options',
|
||
|
options: [
|
||
|
'h1',
|
||
|
'h2'
|
||
|
],
|
||
|
'default': 'h1'
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
_component: '@budibase/standard-components/text',
|
||
|
name: 'Paragraph',
|
||
|
icon: 'paragraph'
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
name: 'Blocks',
|
||
|
components: [
|
||
|
{
|
||
|
component: 'Text',
|
||
|
icon: 'Text',
|
||
|
type: [
|
||
|
{
|
||
|
_component: '@budibase/standard-components/header',
|
||
|
name: 'Headline',
|
||
|
icon: 'headline',
|
||
|
props: {
|
||
|
type: {
|
||
|
type: 'options',
|
||
|
options: [
|
||
|
'h1',
|
||
|
'h2'
|
||
|
],
|
||
|
'default': 'h1'
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
_component: '@budibase/standard-components/text',
|
||
|
name: 'Paragraph',
|
||
|
icon: 'paragraph'
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
name: 'Data',
|
||
|
components: [
|
||
|
{
|
||
|
component: 'Text',
|
||
|
icon: 'Text',
|
||
|
type: [
|
||
|
{
|
||
|
_component: '@budibase/standard-components/header',
|
||
|
name: 'Headline',
|
||
|
icon: 'headline',
|
||
|
props: {
|
||
|
type: {
|
||
|
type: 'options',
|
||
|
options: [
|
||
|
'h1',
|
||
|
'h2'
|
||
|
],
|
||
|
'default': 'h1'
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
_component: '@budibase/standard-components/text',
|
||
|
name: 'Paragraph',
|
||
|
icon: 'paragraph'
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
]
|
||
|
}
|