File tree Expand file tree Collapse file tree
packages/stacks-docs-next/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737
3838<div class =" ba bc-black-225 bar-sm p16 bg-black-100 d-flex ai-center g16 fw-wrap" >
3939 <Select id ="banner-style" label ="Style" bind:selected ={selectedVariant } labelPlacement =" left" >
40- {#each variants as v }
40+ {#each variants as v ( v . value ) }
4141 <SelectItem value ={v .value } text ={v .label } />
4242 {/each }
4343 </Select >
Original file line number Diff line number Diff line change 9898 <thead >
9999 <tr >
100100 <th scope ="col" >{label (' class' )}</th >
101- {#each activeCols as col }
101+ {#each activeCols as col ( col ) }
102102 <th scope ="col" class =" {col === ' description' || col === ' define' ? ' s-table--cell5' : ' ' } {booleanIconCols .includes (col ) ? ' ta-center' : ' ' }" >{label (col )}</th >
103103 {/each }
104104 </tr >
105105 </thead >
106106 {/if }
107107 <tbody class =" fs-caption" >
108- {#each classes as row }
108+ {#each classes as row ( row . class ) }
109109 <tr >
110110 <th scope ="row" ><code >{row .class }</code ></th >
111- {#each activeCols as col }
111+ {#each activeCols as col ( col ) }
112112 <td class =" {col === ' output' ? ' ff-mono' : ' ' } {booleanIconCols .includes (col ) ? ' ta-center' : ' ' }" >
113113 {#if booleanIconCols .includes (col )}
114114 {#if (row as Record <string , unknown >)[col ]}
Original file line number Diff line number Diff line change 3535 </tr >
3636 </thead >
3737 <tbody >
38- {#each rows as row }
38+ {#each rows as row , i ( i ) }
3939 <tr >
4040 <td class =" va-middle pr8" >
4141 {@render example (row )}
4242 </td >
4343 {#if showClasses }
4444 <td class =" va-middle" >
4545 <div class =" d-flex g4 fw-wrap" >
46- {#each row .classes as cls }
46+ {#each row .classes as cls ( cls ) }
4747 {#if cls === ' N/A' }
4848 <span class =" fc-black-350" >N/A</span >
4949 {:else }
Original file line number Diff line number Diff line change 4141 <table class =" s-table s-table__sortable" >
4242 <thead >
4343 <tr >
44- {#each headers as h , c }
44+ {#each headers as h , c ( c ) }
4545 <th scope ="col" class:is-sorted ={col === c } data-s-table-target =" column" >
4646 <button type ="button" onclick ={() => sort (c )}>
4747 {h }
48+ <!-- eslint-disable-next-line svelte/no-at-html-tags -->
4849 {@html icon (c )}
4950 </button >
5051 </th >
5152 {/each }
5253 </tr >
5354 </thead >
5455 <tbody >
55- {#each sorted as r }
56+ {#each sorted as r ( r . season ) }
5657 <tr >
5758 <td >{r .season }</td >
5859 <td >{r .month }</td >
You can’t perform that action at this time.
0 commit comments