@@ -118,40 +118,40 @@ export function DateRangePicker({
118118 < Popover open = { isOpen } onOpenChange = { setIsOpen } >
119119 < PopoverTrigger asChild >
120120 < Button
121- variant = "ghost "
121+ variant = "outline "
122122 size = "sm"
123123 disabled = { disabled }
124124 className = { cn (
125- "h-6 text-xs gap-1 whitespace-nowrap px-2 justify-start text-left font-normal" ,
125+ "h-8 text-sm gap-2 whitespace-nowrap px-3 justify-start text-left font-normal border shadow-xs transition-[color,box-shadow] " ,
126126 ! hasSelection && "text-muted-foreground"
127127 ) }
128128 >
129- < CalendarIcon size = { 16 } className = "h-3 w-3 shrink-0" />
130- < span className = "truncate text-xs font-medium" >
129+ < CalendarIcon size = { 16 } className = "h-4 w-4 shrink-0" />
130+ < span className = "truncate text-sm font-medium" >
131131 { getDisplayText ( ) }
132132 </ span >
133133 </ Button >
134134 </ PopoverTrigger >
135- < PopoverContent className = "w-auto p-0" align = "end" >
135+ < PopoverContent className = "w-auto p-0 border shadow-md rounded " align = "end" >
136136 { /* Header showing current selection */ }
137- < div className = "p-3 border-b" >
138- < div className = "text-xs text-muted-foreground" >
137+ < div className = "p-4 border-b bg-muted/20 " >
138+ < div className = "text-sm text-muted-foreground" >
139139 { tempRange ?. from && tempRange ?. to ? (
140140 < span className = "text-foreground font-medium" >
141141 { format ( tempRange . from , "MMM d" ) } - { format ( tempRange . to , "MMM d, yyyy" ) }
142142 </ span >
143143 ) : tempRange ?. from ? (
144144 < span >
145- < span className = "text-foreground" > { format ( tempRange . from , "MMM d" ) } </ span >
145+ < span className = "text-foreground font-medium " > { format ( tempRange . from , "MMM d" ) } </ span >
146146 < span className = "text-muted-foreground" > → Select end date</ span >
147147 </ span >
148148 ) : (
149- " Select start date"
149+ < span className = "font-medium" > Select start date</ span >
150150 ) }
151151 </ div >
152152 </ div >
153153
154- < div className = "p-3 " >
154+ < div className = "p-4 " >
155155 < Calendar
156156 initialFocus
157157 mode = "range"
@@ -168,29 +168,29 @@ export function DateRangePicker({
168168 </ div >
169169
170170 { /* Quick presets */ }
171- < div className = "border-t p-3 " >
172- < div className = "text-xs font-medium text-muted-foreground mb-2 " > Quick select:</ div >
171+ < div className = "border-t p-4 bg-muted/20 " >
172+ < div className = "text-sm font-medium text-muted-foreground mb-3 " > Quick select:</ div >
173173 < div className = "flex gap-2 flex-wrap" >
174174 < Button
175175 variant = "ghost"
176176 size = "sm"
177- className = "h-7 text-xs "
177+ className = "h-8 text-sm transition-[color,box-shadow] "
178178 onClick = { ( ) => handlePreset ( 7 ) }
179179 >
180180 Last 7 days
181181 </ Button >
182182 < Button
183183 variant = "ghost"
184184 size = "sm"
185- className = "h-7 text-xs "
185+ className = "h-8 text-sm transition-[color,box-shadow] "
186186 onClick = { ( ) => handlePreset ( 30 ) }
187187 >
188188 Last 30 days
189189 </ Button >
190190 < Button
191191 variant = "ghost"
192192 size = "sm"
193- className = "h-7 text-xs "
193+ className = "h-8 text-sm transition-[color,box-shadow] "
194194 onClick = { ( ) => handlePreset ( 90 ) }
195195 >
196196 Last 90 days
@@ -199,12 +199,12 @@ export function DateRangePicker({
199199 </ div >
200200
201201 { /* Actions */ }
202- < div className = "border-t p-3 flex justify-between items-center bg-muted/20" >
202+ < div className = "border-t p-4 flex justify-between items-center bg-muted/20" >
203203 < Button
204204 variant = "ghost"
205205 size = "sm"
206206 onClick = { handleClear }
207- className = "text-muted-foreground hover:text-foreground h-8 cursor-pointer "
207+ className = "text-muted-foreground hover:text-foreground h-8 transition-[color,box-shadow] "
208208 >
209209 Clear
210210 </ Button >
@@ -214,15 +214,15 @@ export function DateRangePicker({
214214 variant = "ghost"
215215 size = "sm"
216216 onClick = { handleCancel }
217- className = "h-8 cursor-pointer "
217+ className = "h-8 transition-[color,box-shadow] "
218218 >
219219 Cancel
220220 </ Button >
221221 < Button
222222 size = "sm"
223223 onClick = { handleApply }
224224 disabled = { ! hasValidTempSelection }
225- className = "h-8 bg-primary hover:bg-primary/90 cursor-pointer "
225+ className = "h-8 shadow-xs transition-[color,box-shadow] "
226226 >
227227 Apply
228228 </ Button >
0 commit comments