@@ -619,6 +619,11 @@ export const FullFeaturedExample: Story = {
619619 } ;
620620
621621 return html `
622+ < style >
623+ col-toolbar ::part (toolbar ) {
624+ padding : 0 ;
625+ }
626+ </ style >
622627 < col-table
623628 max-height ="500px "
624629 min-height ="300px "
@@ -627,21 +632,39 @@ export const FullFeaturedExample: Story = {
627632 @row-selected =${ handleRowSelected }
628633 @all-rows-selected =${ handleAllRowsSelected }
629634 >
630- < div slot ="table-header " style ="padding: 16px; background: #f5f5f5; ">
631- < div style ="display: flex; justify-content: space-between; align-items: center; ">
632- < div >
633- < h3 style ="margin: 0; "> Order Management</ h3 >
634- < p style ="margin: 8px 0 0 0; color: #666; "> Track and manage customer orders</ p >
635+ < div slot ="table-header ">
636+ < col-toolbar gap ="none ">
637+ < div
638+ style ="display: flex; justify-content: space-between; align-items: center; gap: 2px "
639+ >
640+ < col-icon name ="file " size ="20 "> </ col-icon >
641+ < col-typography variant ="subheading ">
642+ Order Management
643+ < col-tooltip slot ="icon " position ="top ">
644+ < col-icon name ="info-circle " size ="14px "> </ col-icon >
645+ < span slot ="tooltip-content "> Track and manage customer orders</ span >
646+ </ col-tooltip >
647+ </ col-typography >
635648 </ div >
636- < div style ="display: flex; gap: 8px; ">
637- < col-text-field
638- placeholder ="Search orders... "
639- size ="small "
640- style ="width: 200px; "
641- > </ col-text-field >
642- < col-button color ="primary " size ="small "> New Order</ col-button >
649+ < col-spacer > </ col-spacer >
650+ < div
651+ style ="display: flex; justify-content: space-between; align-items: center; gap: 2px "
652+ >
653+ < col-group orientation ="horizontal " withoutgap >
654+ < col-search-bar
655+ placeholder ="Type to search... "
656+ mode ="static "
657+ custom-width ="100% "
658+ > </ col-search-bar >
659+ < col-button size ="small ">
660+ < col-icon name ="filter " size ="16px "> </ col-icon >
661+ </ col-button >
662+ < col-button size ="small ">
663+ < col-icon name ="table " size ="16px "> </ col-icon >
664+ </ col-button >
665+ </ col-group >
643666 </ div >
644- </ div >
667+ </ col-toolbar >
645668 </ div >
646669
647670 < col-table-head >
@@ -654,7 +677,7 @@ export const FullFeaturedExample: Story = {
654677 < col-table-cell header > Actions</ col-table-cell >
655678 </ col-table-head >
656679 < col-table-body >
657- ${ [ ...Array ( 15 ) ] . map (
680+ ${ [ ...Array ( 10 ) ] . map (
658681 ( _ , i ) => html `
659682 < col-table-row row-index ="${ i + 1 } " ?selectable =${ true } >
660683 < col-table-cell > ORD-${ String ( 1001 + i ) . padStart ( 4 , '0' ) } </ col-table-cell >
@@ -680,7 +703,7 @@ export const FullFeaturedExample: Story = {
680703 Actions
681704 < col-icon name ="chevron-down " size ="12 "> </ col-icon >
682705 </ col-button >
683- < col-list-menu slot =" content " >
706+ < col-list-menu >
684707 < col-list-menu-item > View Details</ col-list-menu-item >
685708 < col-list-menu-item > Edit Order</ col-list-menu-item >
686709 < col-list-menu-item > Send Invoice</ col-list-menu-item >
@@ -693,11 +716,24 @@ export const FullFeaturedExample: Story = {
693716 ) }
694717 </ col-table-body >
695718
696- < div slot ="table-footer " style ="padding: 16px; background: #f5f5f5; ">
697- < div style ="display: flex; justify-content: space-between; align-items: center; ">
698- < div style ="color: #666; "> Showing 1-15 of 100 orders</ div >
699- < col-paginator length ="7 " value ="1 "> </ col-paginator >
700- </ div >
719+ < div slot ="table-footer ">
720+ < col-toolbar gap ="none ">
721+ < col-toolbar gap ="small ">
722+ < span class ="text-xs "> Items per page</ span >
723+ < col-select id ="items-per-page " value ="10 " custom-width ="60px ">
724+ < col-list-menu >
725+ < col-list-menu-item value ="5 "> 5</ col-list-menu-item >
726+ < col-list-menu-item value ="10 "> 10</ col-list-menu-item >
727+ < col-list-menu-item value ="20 "> 20</ col-list-menu-item >
728+ < col-list-menu-item value ="50 "> 50</ col-list-menu-item >
729+ < col-list-menu-item value ="100 "> 100</ col-list-menu-item >
730+ </ col-list-menu >
731+ </ col-select >
732+ < col-divider orientation ="vertical " style ="height: 32px "> </ col-divider >
733+ < span id ="items-info " class ="text-xs " role ="status " aria-live ="polite "> </ span >
734+ </ col-toolbar >
735+ < col-paginator id ="paginator " length ="4 " value ="1 " align ="end "> </ col-paginator >
736+ </ col-toolbar >
701737 </ div >
702738 </ col-table >
703739 ` ;
0 commit comments