feat(theme)!: migrate from heroicons to lucide (#2540)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Alex
2024-11-06 16:59:19 +05:00
committed by GitHub
parent e3092b6b40
commit a6c1a6c587
177 changed files with 2245 additions and 2245 deletions

View File

@@ -10,56 +10,56 @@ describe('NavigationMenu', () => {
const items = [
[{
label: 'Documentation',
icon: 'i-heroicons-book-open',
icon: 'i-lucide-book-open',
children: [{
label: 'Introduction',
description: 'Fully styled and customizable components for Nuxt.',
icon: 'i-heroicons-home'
icon: 'i-lucide-house'
}, {
label: 'Installation',
description: 'Learn how to install and configure Nuxt UI in your application.',
icon: 'i-heroicons-cloud-arrow-down'
icon: 'i-lucide-cloud-download'
}, {
label: 'Theming',
description: 'Learn how to customize the look and feel of the components.',
icon: 'i-heroicons-swatch'
icon: 'i-lucide-swatch-book'
}, {
label: 'Shortcuts',
description: 'Learn how to display and define keyboard shortcuts in your app.',
icon: 'i-heroicons-computer-desktop'
icon: 'i-lucide-monitor'
}]
}, {
label: 'Components',
icon: 'i-heroicons-cube-transparent',
icon: 'i-lucide-box',
active: true,
children: [{
label: 'Link',
icon: 'i-heroicons-document',
icon: 'i-lucide-file',
description: 'Use NuxtLink with superpowers.',
to: '/components/link'
}, {
label: 'Modal',
icon: 'i-heroicons-document',
icon: 'i-lucide-file',
description: 'Display a modal within your application.',
to: '/components/modal'
}, {
label: 'NavigationMenu',
icon: 'i-heroicons-document',
icon: 'i-lucide-file',
description: 'Display a list of links.',
to: '/components/navigation-menu'
}, {
label: 'Pagination',
icon: 'i-heroicons-document',
icon: 'i-lucide-file',
description: 'Display a list of pages.',
to: '/components/pagination'
}, {
label: 'Popover',
icon: 'i-heroicons-document',
icon: 'i-lucide-file',
description: 'Display a non-modal dialog that floats around a trigger element.',
to: '/components/popover'
}, {
label: 'Progress',
icon: 'i-heroicons-document',
icon: 'i-lucide-file',
description: 'Show a horizontal bar to indicate task progression.',
to: '/components/progress'
}]
@@ -70,7 +70,7 @@ describe('NavigationMenu', () => {
target: '_blank'
}, {
label: 'Help',
icon: 'i-heroicons-question-mark-circle',
icon: 'i-lucide-circle-help',
disabled: true
}]
]
@@ -88,7 +88,7 @@ describe('NavigationMenu', () => {
...variants.map((variant: string) => [`with primary variant ${variant} highlight`, { props: { ...props, variant, highlight: true } }]),
...variants.map((variant: string) => [`with neutral variant ${variant} highlight`, { props: { ...props, variant, color: 'neutral', highlight: true } }]),
...variants.map((variant: string) => [`with neutral variant ${variant} highlight neutral`, { props: { ...props, variant, color: 'neutral', highlight: true, highlightColor: 'neutral' } }]),
['with trailingIcon', { props: { ...props, trailingIcon: 'i-heroicons-plus' } }],
['with trailingIcon', { props: { ...props, trailingIcon: 'i-lucide-plus' } }],
['with class', { props: { ...props, class: 'w-48' } }],
['with ui', { props: { ...props, ui: { itemLeadingIcon: 'size-4' } } }],
// Slots