chore: update components

This commit is contained in:
Benjamin Canac
2021-12-21 17:38:43 +01:00
parent 84ec25bd56
commit a407663ad9
7 changed files with 61 additions and 21 deletions

View File

@@ -65,6 +65,7 @@ const sections = [
{ label: 'Forms', links: [{ label: 'Checkbox', to: '/components/Checkbox' }, { label: 'Input', to: '/components/Input' }, { label: 'FormGroup', to: '/components/FormGroup' }, { label: 'Radio', to: '/components/Radio' }, { label: 'Select', to: '/components/Select' }, { label: 'Textarea', to: '/components/Textarea' }, { label: 'Toggle', to: '/components/Toggle' }] },
{ label: 'Layout', links: [{ label: 'Card', to: '/components/Card' }, { label: 'Container', to: '/components/Container' }] },
// { label: 'Navigation', links: [{ label: 'Pills', to: '/components/Pills' }, { label: 'Tabs', to: '/components/Tabs' }, { label: 'VerticalNavigation', to: '/components/VerticalNavigation' }] },
{ label: 'Navigation', links: [{ label: 'VerticalNavigation', to: '/components/VerticalNavigation' }] },
{ label: 'Overlays', links: [{ label: 'Modal', to: '/components/Modal' }, { label: 'Notification', to: '/components/Notification' }, { label: 'Popover', to: '/components/Popover' }, { label: 'Tooltip', to: '/components/Tooltip' }] }
]
</script>

View File

@@ -141,6 +141,31 @@ const defaultProps = {
}]
]
},
VerticalNavigation: {
links: [
{
label: 'Home',
icon: 'heroicons-outline:home',
to: '/'
},
{
label: 'Examples',
icon: 'heroicons-outline:book-open',
to: '/examples'
},
{
label: 'Migration',
icon: 'heroicons-outline:refresh',
to: '/migration'
},
{
label: 'External link',
icon: 'heroicons-outline:external-link',
to: 'https://google.fr',
target: '_blank'
}
]
},
Icon: {
name: 'heroicons-outline:bell'
},

View File

@@ -101,7 +101,9 @@ const components = [
},
{
label: 'Link',
to: '/components/Link'
to: '/components/Link',
nuxt3: true,
capi: true
},
{
label: 'Toggle',