File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,9 @@ type CalendarBaseRangeProps = Pick<
171171 secondarySelected ?: DateRange
172172 }
173173
174- const captionStyles = "flex justify-center items-center relative w-full"
174+ const buttonStyles =
175+ "h-full w-full group-data-[disabled=true]:cursor-not-allowed focus-visible:ring-0 focus-visible:outline focus-visible:outline-selected-bold focus-visible:outline-2 focus-visible:outline-offset-2"
176+ const captionStyles = "flex justify-center items-center relative w-full pb-2"
175177const captionLabelStyles = "text-text text-sm font-bold flex justify-center"
176178const daySelectedStyles =
177179 "rounded-none bg-selected group-data-[disabled=false]:hover:bg-selected-hovered group-data-[disabled=false]:active:bg-selected-pressed text-selected-text-inverse font-bold w-full h-full"
@@ -189,7 +191,7 @@ const classNames: DayPickerProps["classNames"] = {
189191 caption : captionStyles ,
190192 day_selected : daySelectedStyles ,
191193 cell : cellStyles ,
192- button : "h-full w-full group-data-[disabled=true]:cursor-not-allowed" ,
194+ button : buttonStyles ,
193195 nav : navStyles ,
194196 nav_button :
195197 "p-1 rounded hover:bg-neutral-subtle-hovered flex items-center justify-center" ,
You can’t perform that action at this time.
0 commit comments