From 12a5a28fa006460a52a09381b0d435089c467962 Mon Sep 17 00:00:00 2001 From: Robert Snow Date: Wed, 4 Feb 2026 09:21:58 +1100 Subject: [PATCH 1/2] chore: calendar new today indicator --- packages/@react-spectrum/s2/src/Calendar.tsx | 27 +++++++++++++------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/packages/@react-spectrum/s2/src/Calendar.tsx b/packages/@react-spectrum/s2/src/Calendar.tsx index 57736226afd..d267da9bbaf 100644 --- a/packages/@react-spectrum/s2/src/Calendar.tsx +++ b/packages/@react-spectrum/s2/src/Calendar.tsx @@ -156,7 +156,6 @@ const cellInnerStyles = style({ insetStart: 'calc(-1 * var(--selection-span) * (var(--cell-width) + var(--cell-gap) + var(--cell-gap)))', insetEnd: 0, bottom: 0, - borderWidth: 2, - borderStyle: 'dashed', + borderWidth: 1, + borderStyle: 'solid', borderColor: { default: 'blue-800', // focus-indicator-color isInvalid: 'negative-900', @@ -592,6 +600,7 @@ const CalendarCellInner = (props: Omit & {isRange ref={ref} style={pressScale(ref, {})(renderProps!)} className={cellInnerStyles({...renderProps!, isSelectionStart, isSelectionEnd, selectionMode: isRangeSelection ? 'range' : 'single'})}> +
{formattedDate}
From ca3775fc0290ba50de91b49d59d685e6f00ab1b7 Mon Sep 17 00:00:00 2001 From: Robert Snow Date: Wed, 4 Feb 2026 09:27:39 +1100 Subject: [PATCH 2/2] fix lint --- packages/@react-spectrum/s2/src/Calendar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@react-spectrum/s2/src/Calendar.tsx b/packages/@react-spectrum/s2/src/Calendar.tsx index d267da9bbaf..2ed083b03df 100644 --- a/packages/@react-spectrum/s2/src/Calendar.tsx +++ b/packages/@react-spectrum/s2/src/Calendar.tsx @@ -36,7 +36,6 @@ import { useSlottedContext } from 'react-aria-components'; import {AriaCalendarGridProps} from '@react-aria/calendar'; -import {baseColor, focusRing, lightDark, style} from '../style' with {type: 'macro'}; import { CalendarDate, getDayOfWeek, @@ -44,6 +43,7 @@ import { } from '@internationalized/date'; import ChevronLeftIcon from '../s2wf-icons/S2_Icon_ChevronLeft_20_N.svg'; import ChevronRightIcon from '../s2wf-icons/S2_Icon_ChevronRight_20_N.svg'; +import {focusRing, lightDark, style} from '../style' with {type: 'macro'}; import {forwardRefType, GlobalDOMAttributes} from '@react-types/shared'; import {getAllowedOverrides, StyleProps} from './style-utils' with {type: 'macro'}; import {helpTextStyles} from './Field';