File tree Expand file tree Collapse file tree 3 files changed +9
-14
lines changed Expand file tree Collapse file tree 3 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ export class CdkTablist {
9696  } ) ; 
9797
9898  /** The Tab UIPatterns of the child Tabs. */ 
99-   protected  items  =  computed ( ( )  =>  this . _cdkTabs ( ) . map ( tab  =>  tab . pattern ) ) ; 
99+   protected  tabs  =  computed ( ( )  =>  this . _cdkTabs ( ) . map ( tab  =>  tab . pattern ) ) ; 
100100
101101  /** Whether the tablist is vertically or horizontally oriented. */ 
102102  orientation  =  input < 'vertical'  |  'horizontal' > ( 'horizontal' ) ; 
@@ -125,7 +125,7 @@ export class CdkTablist {
125125  /** The Tablist UIPattern. */ 
126126  pattern : TablistPattern  =  new  TablistPattern ( { 
127127    ...this , 
128-     items : this . items , 
128+     items : this . tabs , 
129129    textDirection : this . textDirection , 
130130  } ) ; 
131131} 
Original file line number Diff line number Diff line change 77 */ 
88
99import  { computed ,  Signal }  from  '@angular/core' ; 
10- import  { ListSelection ,   ListSelectionItem }  from  '../behaviors/list-selection/list-selection' ; 
11- import  { ListNavigation ,   ListNavigationItem }  from  '../behaviors/list-navigation/list-navigation' ; 
12- import  { ListFocus ,   ListFocusItem }  from  '../behaviors/list-focus/list-focus' ; 
10+ import  { ListSelectionItem }  from  '../behaviors/list-selection/list-selection' ; 
11+ import  { ListNavigationItem }  from  '../behaviors/list-navigation/list-navigation' ; 
12+ import  { ListFocusItem }  from  '../behaviors/list-focus/list-focus' ; 
1313import  { TabpanelPattern }  from  './tabpanel' ; 
14- 
15- interface  TablistPattern  { 
16-   focusManager : ListFocus < TabPattern > ; 
17-   selection : ListSelection < TabPattern > ; 
18-   navigation : ListNavigation < TabPattern > ; 
19- } 
14+ import  { TablistPattern }  from  './tablist' ; 
2015
2116/** The required inputs to tabs. */ 
2217export  interface  TabInputs  extends  ListNavigationItem ,  ListSelectionItem ,  ListFocusItem  { 
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ export class TabpanelPattern {
2626  /** Whether the tabpanel is hidden. */ 
2727  hidden  =  computed ( ( )  =>  ! this . tab ( ) . selected ( ) ) ; 
2828
29-   constructor ( args : TabpanelInputs )  { 
30-     this . id  =  args . id ; 
31-     this . tab  =  args . tab ; 
29+   constructor ( inputs : TabpanelInputs )  { 
30+     this . id  =  inputs . id ; 
31+     this . tab  =  inputs . tab ; 
3232  } 
3333} 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments