Skip to content

Commit

Permalink
chore: Cleaning up classes3
Browse files Browse the repository at this point in the history
  • Loading branch information
dpitcock committed Jan 30, 2025
1 parent e372849 commit 9c57e36
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/date-range-picker/calendar/grids/grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,26 +241,6 @@ export function Grid({
: -1; // Can be focused programmatically.
}

console.log({
[styles['in-visible-calendar']]: true,
[styles[`in-current-${pageName}`]]: isSamePage(date, baseDate),
[styles.enabled]: isEnabled,
[styles.selected]: isSelected,
[styles['start-date']]: isStartDate,
[styles['end-date']]: isEndDate,
[testutilStyles['start-date']]: isStartDate,
[testutilStyles['end-date']]: isEndDate,
[styles['no-range']]: isSelected && onlyOneSelected,
[styles['in-range']]: isInRange,
[styles['in-range-border-block-start']]: isSelectionTop,
[styles['in-range-border-block-end']]: isSelectionBottom,
[styles['in-range-border-inline-start']]: isSelectionLeft,
[styles['in-range-border-inline-end']]: isSelectionRight,
[styles.today]: isCurrentDay,
[testutilStyles.today]: isCurrentDay,
[styles['this-month']]: isCurrentMonth,
[testutilStyles['this-month']]: isCurrentMonth,
});
return (
<GridCell
ref={isFocused ? focusedDateRef : undefined}
Expand All @@ -274,8 +254,6 @@ export function Grid({
[styles['end-date']]: isEndDate,
[testutilStyles['start-date']]: isStartDate,
[testutilStyles['end-date']]: isEndDate,
[styles['range-start-date']]: !!rangeStartDate && isSameItem(date, rangeStartDate),
[styles['range-end-date']]: !!rangeEndDate && isSameItem(date, rangeEndDate),
[styles['no-range']]: isSelected && onlyOneSelected,
[styles['in-range']]: isInRange,
[styles['in-range-border-block-start']]: isSelectionTop,
Expand Down

0 comments on commit 9c57e36

Please sign in to comment.