File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ import {
2121 untracked ,
2222} from '@angular/core' ;
2323import {
24+ SignalLike ,
2425 MenuBarPattern ,
2526 MenuItemPattern ,
2627 MenuPattern ,
2728 MenuTriggerPattern ,
28- } from '../ ui-patterns/menu/menu ' ;
29+ } from '@angular/aria/ ui-patterns' ;
2930import { toSignal } from '@angular/core/rxjs-interop' ;
3031import { Directionality } from '@angular/cdk/bidi' ;
31- import { SignalLike } from '../ui-patterns' ;
3232
3333/**
3434 * A trigger for a menu.
@@ -153,7 +153,7 @@ export class Menu<V> {
153153 * sometimes the items array is empty. The bug can be reproduced by switching this to use a
154154 * computed and then quickly opening and closing menus in the dev app.
155155 */
156- readonly items : SignalLike < MenuItemPattern < V > [ ] > = ( ) => this . _items ( ) . map ( i => i . uiPattern ) ;
156+ readonly items = ( ) => this . _items ( ) . map ( i => i . uiPattern ) ;
157157
158158 /** Whether the menu is visible. */
159159 isVisible = computed ( ( ) => this . uiPattern . isVisible ( ) ) ;
You can’t perform that action at this time.
0 commit comments