Skip to content

Commit 443f3c6

Browse files
UI(dropdown-menu): Add dropdown menu directive
1 parent 779f18b commit 443f3c6

File tree

5 files changed

+428
-2
lines changed

5 files changed

+428
-2
lines changed

projects/docs/src/app/pages/docs/components/breadcrumb/breadcrumb.variants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export const breadcrumbVariants: IVariant[] = [
178178
</li>
179179
<li uiBreadcrumbItem>
180180
<span uiBreadcrumbEllipsis>
181-
<ng-icon name="lucideX" size="16" />
181+
<ng-icon name="lucideEllipsis" size="16" />
182182
</span>
183183
</li>
184184
<li uiBreadcrumbSeparator>

projects/docs/src/app/pages/docs/components/components.routes.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ export const routes: Routes = [
6464
path: 'table',
6565
loadComponent: () => import('./table/table').then(m => m.Table)
6666
},
67+
{
68+
path: 'dropdown-menu',
69+
loadComponent: () => import('./dropdown-menu/dropdown-menu').then(m => m.DropdownMenu)
70+
},
6771
{
6872
path: '',
6973
redirectTo: 'alert',
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { Component } from '@angular/core';
2+
import { ComponentPreview } from '@components/component-preview/component-preview';
3+
import { dropdownMenuVariants, dropdownMenuMeta } from './dropdown-menu.variants';
4+
5+
@Component({
6+
selector: 'docs-dropdown-menu',
7+
imports: [ComponentPreview],
8+
template: `
9+
<docs-component-preview
10+
[meta]="dropdownMenuMeta"
11+
[variants]="dropdownMenuVariants">
12+
</docs-component-preview>
13+
`
14+
})
15+
export class DropdownMenu {
16+
dropdownMenuMeta = dropdownMenuMeta;
17+
dropdownMenuVariants = dropdownMenuVariants;
18+
}

0 commit comments

Comments
 (0)