2020-04-17 09:16:03 +02:00
|
|
|
export default {
|
|
|
|
categories: [
|
|
|
|
{
|
|
|
|
name: 'Basic',
|
|
|
|
components: [
|
|
|
|
{
|
2020-04-17 11:44:20 +02:00
|
|
|
name: 'Container',
|
|
|
|
description: 'This component contains things within itself',
|
|
|
|
icon: 'ri-layout-row-fill',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
2020-04-17 09:16:03 +02:00
|
|
|
},
|
|
|
|
{
|
2020-04-17 11:44:20 +02:00
|
|
|
name: 'Text',
|
|
|
|
description: 'This is a simple text component',
|
|
|
|
icon: 'ri-t-box-fill',
|
|
|
|
commonProps: {},
|
2020-04-17 09:16:03 +02:00
|
|
|
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',
|
2020-04-17 11:44:20 +02:00
|
|
|
icon: 'paragraph',
|
|
|
|
props: {}
|
2020-04-17 09:16:03 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2020-04-17 11:44:20 +02:00
|
|
|
{
|
|
|
|
name: 'Button',
|
|
|
|
description: 'A basic html button that is ready for styling',
|
|
|
|
icon: 'ri-radio-button-fill',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Icon',
|
|
|
|
description: 'A basic component for displaying icons',
|
|
|
|
icon: 'ri-sun-fill',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Avatar',
|
|
|
|
description: 'A basic component for rendering an avatar',
|
|
|
|
icon: 'ri-user-smile-fill',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Link',
|
|
|
|
description: 'A basic link component for internal and external links',
|
|
|
|
icon: 'ri-link',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
|
|
|
}
|
2020-04-17 09:16:03 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Form',
|
|
|
|
components: [
|
|
|
|
{
|
2020-04-17 11:44:20 +02:00
|
|
|
name: 'Button',
|
|
|
|
description: 'A basic html button that is ready for styling',
|
|
|
|
icon: 'ri-radio-button-fill',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Icon',
|
|
|
|
description: 'A basic component for displaying icons',
|
|
|
|
icon: 'ri-sun-fill',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Avatar',
|
|
|
|
description: 'A basic component for rendering an avatar',
|
|
|
|
icon: 'ri-user-smile-fill',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Link',
|
|
|
|
description: 'A basic link component for internal and external links',
|
|
|
|
icon: 'ri-link',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
2020-04-17 09:16:03 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Blocks',
|
|
|
|
components: [
|
|
|
|
{
|
2020-04-17 11:44:20 +02:00
|
|
|
name: 'Container',
|
|
|
|
description: 'This component contains things within itself',
|
|
|
|
icon: 'ri-layout-row-fill',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Text',
|
|
|
|
description: 'This is a simple text component',
|
|
|
|
icon: 'ri-t-box-fill',
|
|
|
|
commonProps: {},
|
2020-04-17 09:16:03 +02:00
|
|
|
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',
|
2020-04-17 11:44:20 +02:00
|
|
|
icon: 'paragraph',
|
|
|
|
props: {}
|
2020-04-17 09:16:03 +02:00
|
|
|
}
|
|
|
|
]
|
2020-04-17 11:44:20 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Button',
|
|
|
|
description: 'A basic html button that is ready for styling',
|
|
|
|
icon: 'ri-radio-button-fill',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Icon',
|
|
|
|
description: 'A basic component for displaying icons',
|
|
|
|
icon: 'ri-sun-fill',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Avatar',
|
|
|
|
description: 'A basic component for rendering an avatar',
|
|
|
|
icon: 'ri-user-smile-fill',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Link',
|
|
|
|
description: 'A basic link component for internal and external links',
|
|
|
|
icon: 'ri-link',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
2020-04-17 09:16:03 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Data',
|
|
|
|
components: [
|
|
|
|
{
|
2020-04-17 11:44:20 +02:00
|
|
|
name: 'Container',
|
|
|
|
description: 'This component contains things within itself',
|
|
|
|
icon: 'ri-layout-row-fill',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Text',
|
|
|
|
description: 'This is a simple text component',
|
|
|
|
icon: 'ri-t-box-fill',
|
|
|
|
commonProps: {},
|
2020-04-17 09:16:03 +02:00
|
|
|
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',
|
2020-04-17 11:44:20 +02:00
|
|
|
icon: 'paragraph',
|
|
|
|
props: {}
|
2020-04-17 09:16:03 +02:00
|
|
|
}
|
|
|
|
]
|
2020-04-17 11:44:20 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Button',
|
|
|
|
description: 'A basic html button that is ready for styling',
|
|
|
|
icon: 'ri-radio-button-fill',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Icon',
|
|
|
|
description: 'A basic component for displaying icons',
|
|
|
|
icon: 'ri-sun-fill',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Avatar',
|
|
|
|
description: 'A basic component for rendering an avatar',
|
|
|
|
icon: 'ri-user-smile-fill',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Link',
|
|
|
|
description: 'A basic link component for internal and external links',
|
|
|
|
icon: 'ri-link',
|
|
|
|
commonProps: {},
|
|
|
|
type: []
|
2020-04-17 09:16:03 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|