We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
slds-day_adjacent-month
1 parent 55fa1e9 commit 28744b8Copy full SHA for 28744b8
src/scripts/Datepicker.tsx
@@ -246,10 +246,9 @@ const DatepickerDate: FC<DatepickerDateProps> = (props) => {
246
const isToday = date.value === today;
247
const isAdjacentMonth = date.month !== cal.month;
248
const dateClassName = classnames({
249
- 'slds-color__text_gray-6': !enabled && !isAdjacentMonth,
250
'slds-is-selected': selected,
251
'slds-is-today': isToday,
252
- 'slds-day_adjacent-month': isAdjacentMonth,
+ 'slds-day_adjacent-month': isAdjacentMonth || !enabled, // Considering the meaning, applying this class to disabled dates isn't necesarrily correct.
253
});
254
return (
255
<td
0 commit comments