File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import { ButtonBarComponent } from '../src/button-bar/button-bar.component';
1313import  {  CardComponent  }  from  '../src/card/card.component' ; 
1414import  {  CheckboxGroupComponent  }  from  '../src/checkbox/checkbox-group.component' ; 
1515import  {  CheckboxComponent  }  from  '../src/checkbox/checkbox.component' ; 
16+ import  {  ComboboxComponent  }  from  '../src/combobox/combobox.component' ; 
1617import  {  DialogComponent  }  from  '../src/dialog/dialog.component' ; 
1718import  {  IconComponent  }  from  '../src/icon/icon.component' ; 
1819import  {  InlineMessageComponent  }  from  '../src/inline-message/inline-message.component' ; 
@@ -48,6 +49,7 @@ export default {
4849        CardComponent , 
4950        CheckboxComponent , 
5051        CheckboxGroupComponent , 
52+         ComboboxComponent , 
5153        DialogComponent , 
5254        IconComponent , 
5355        InlineMessageComponent , 
@@ -151,6 +153,20 @@ export const Checkbox: StoryObj = {
151153  } ) 
152154} ; 
153155
156+ export  const  Combobox : StoryObj  =  { 
157+   render : ( )  =>  ( { 
158+     template : ` 
159+       <sl-combobox placeholder="Select an option"> 
160+         <sl-listbox> 
161+           <sl-option>Option 1</sl-option> 
162+           <sl-option>Option 2</sl-option> 
163+           <sl-option>Option 3</sl-option> 
164+         </sl-listbox> 
165+       </sl-combobox> 
166+     ` 
167+   } ) 
168+ } ; 
169+ 
154170export  const  Dialog : StoryObj  =  { 
155171  render : ( )  =>  { 
156172    const  onClick  =  ( event : Event  &  {  target : HTMLElement  } )  =>  { 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments