File tree Expand file tree Collapse file tree 4 files changed +26
-12
lines changed Expand file tree Collapse file tree 4 files changed +26
-12
lines changed Original file line number Diff line number Diff line change 11<template >
2-   <div  class =" pb-36" 
3-     <div  class =" flex max-w-2xl mx-auto mb-10 space-x-4 sm:mt-10" 
4-       <div  class =" flex flex-col flex-grow" 
2+     <div  class =" py-8 px-8" 
53        <div  class =" font-semibold mb-2" 
6-             Tailwind Vue DataTable v0.2.1 
4+             Tailwind Vue DataTable v0.2.2 
75            <span  class =" text-xs font-light" span >
86        </div >
97        <div >
108            <router-view  />
119        </div >
12-       </div >
1310    </div >
14-   </div >
1511</template >
1612
1713<script >
Original file line number Diff line number Diff line change 22    <div >
33        <div  class =" mb-3" 
44            <span  class =" text-xs" span > 
5+ 
56            <TVTable 
67                ref =" tvtTableSimple" 
78                :items =" cloneItems" 
1011                :spinner-class =" 'text-red-500'" 
1112                @check-row =" checkRow" 
1213                @row-clicked =" checkRow" 
13-             />
14+             >
15+                 <template  #header-row >
16+                     <tr >
17+                         <td  colspan =" 2" 
18+                         <td  colspan =" 1" td >
19+                     </tr >
20+                 </template >
21+ 
22+ 
23+                 <template  #footer-row >
24+                     <tr >
25+                         <td  colspan =" 1" 
26+                         <td  colspan =" 1" 
27+                         <td  colspan =" 1" td >
28+                     </tr >
29+                 </template >
30+             </TVTable >
1431
1532            <input  class =" border mt-2 p-1 rounded bg-gray-300 text-sm" type =" button" :value =" `Test busy: ${busy ? 'on' : 'off' }`" @click =" busy = !busy" 
1633        </div >
Original file line number Diff line number Diff line change 11{
22    "name" : " @bitthecat/tailwind-vue-data-table" 
3-     "version" : " 0.2.1 " 
3+     "version" : " 0.2.2 " 
44    "keywords" : [
55        " tailwindcss" 
66        " vue" 
Original file line number Diff line number Diff line change 33        <span >Displaying {{ fromRow + 1 }} to {{ toRow }} of {{ totalRows }} items</span >
44    </div >
55
6-     
7-     <div  class =" overflow-x-auto " 
8-         <table  ref =" TVTABLE" class =" min-w-full" 
6+     <div  class =" overflow-auto" 
7+         <table  ref =" TVTABLE" class =" overflow-hidden min-w-full" 
98            <thead  class =" bg-gray-300 text-xs border divide-x divide-y" 
109                <slot  v-if =" slots['header-row']" name =" header-row" 
1110                <tr  class =" divide-x divide-y" 
109108                    </tr >
110109                </template >
111110            </tbody >
112-             <tfoot  class =" bg-gray-300 border divide-x divide-y" 
111+             <tfoot  
112+                 class =" text-xs bg-gray-300 border divide-x divide-y" 
113+             >
113114                <slot  v-if =" slots['footer-row']" name =" footer-row" 
114115            </tfoot >
115116        </table >
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments