Skip to content

Commit eea3392

Browse files
feat: implement month grid component for calendar date selection
Added a new MonthGrid component to enhance the calendar feature, allowing users to select dates in a visually intuitive grid format. This component integrates with existing date management functionalities and supports both English and Nepali weekday labels. Additionally, updated the InlineDatePicker to utilize the new MonthGrid for a more cohesive user experience when selecting dates.
1 parent 6d57ba5 commit eea3392

5 files changed

Lines changed: 241 additions & 222 deletions

File tree

apps/desktop/src/features/calendar/dashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { useEffect, useMemo, useState } from "react";
22
import { useNavigate } from "react-router";
33
import { Card } from "../../shared/components/card";
44
import { Icon } from "../../shared/components/icon";
5+
import { MonthGrid } from "../../shared/components/month-grid";
56
import { FadeUp, Stagger } from "../../shared/components/motion";
67
import { useSettings } from "../../shared/context/settings-context";
78
import {
@@ -16,7 +17,6 @@ import { digits } from "../../shared/lib/numerals";
1617
import { ClockRow } from "./_components/clock-row";
1718
import { DateHeader } from "./_components/date-header";
1819
import { GlanceCards } from "./_components/glance-cards";
19-
import { MonthGrid } from "./_components/month-grid";
2020

2121
const PROVISIONAL_YEARS = new Set([2085, 2086, 2087, 2088, 2089, 2090]);
2222
const GREG_MONTHS = [

0 commit comments

Comments
 (0)