Repository navigation
Releases
Releases · vmnog/calendarcn
v0.1.0
Released November 23, 2026.
November 18, 2026
- Improved every item: after an install, the shadcn CLI prints the next step with a link to the docs for
calendar,calendar-app,calendar-core,day-viewandweek-view, and every item names its author and categories, whichshadcn viewand the shadcn MCP server show. No file changed. #96
November 17, 2026
- Improved
calendar-core,event-details,time-grid,month-view,details-sidebar,calendar-app: creating an event works the way it does in Notion Calendar. Double-click an empty slot for a 30-minute event, or press and drag to draw one of any length, up, down or across days; both ends snap tosnapMinutes. The all-day row and the month view do the same for all-day events, and a long press does it on touch. The new event is a draft: a tinted range, selected, with its title focused, that isn't stored until its first edit. Naming it (Enter, or leaving the title) or changing any other field saves it, and the first title keystroke turns the tint into an event block.Escleaves the title and then throws the draft away, as does a click elsewhere while nothing was typed, andEscmid-drag drops it.Cand "Create event..." start a draft too, drawn as an event block from the start, half an hour long, or all-day in month view. An event without a title shows its time in the title's place.useCalendar()addseventDraft,startEventDraft()andupdateEventDraft(),CalendarProvideraddsdefaultEventDuration,NewEventRangeaddsisAllDay,EventDetailPanelandEventDetailPopoveraddonTitlePreview, andEventDraftPopover,TimeGridEventDraftandAllDayEventDraftare new in@/components/event-draft. See Creating events. #92- Breaking: a single click on an empty slot no longer creates an event. It clears the selection; a double-click or a drag creates.
- Breaking: an event created on the calendar is stored, and reported through
onEventCreateandonEventsChange, when its first edit saves it, not when it appears.onEventCreategets it with the title it was given, once.onEventSelectis called for the draft, with the id it keeps.addEventFromRange()still adds its event at once. - Breaking: new events start 30 minutes long, not 60, at the quarter hour nearest the pointer rather than the one before it. Pass
defaultEventDuration={60}for hour-long ones. - Breaking: the default
createEventgives new events no title, not "New event".createEventis also called for whole days, withisAllDayset on the range, and its event is made all-day. To keep a default title, return one from your owncreateEvent:Enterthen saves the draft under it. - Breaking:
addEventAtNextSlot(), and soCand "Create event...", start a draft instead of storing an hour-long event, andgetNextSlotEventRange()takesdefaultEventDurationin its config. - Breaking:
WeekViewGrid'sonEventCreateis called for a double-click, with an event selected or not. Empty space starts drags through the newonEventDrawPointerDown, onWeekViewGridandWeekViewAllDayRow. - Breaking:
useInlineEdit()'sonCommitgets a second argument,{ textOnFocus, isEnter }. A handler that takes one argument keeps working. - If you render
EventDetailPanelyourself for the provider's selected event, passonTitlePreviewwhile it is the draft, as Event Details shows. Without it, the first title keystroke saves the draft.
- Added
calendar-core,event-details,time-grid,month-view,agenda-view,command-menu: selecting several events, as in Notion Calendar. Shift- or⌘-click adds an event to the selection (and takes a selected one out), and⌘+Aor the command menu's "Select all visible" selects every event on screen. Delete, cut, copy, paste and duplicate on one of them act on them all, each as one undo step, with Notion's toasts ("2 events deleted", "2 events cut", "2 events copied to clipboard"); dragging one, orAlt+↓, moves them all. A date of a repeating event among them changes alone, without asking which events, and a group dragged while the calendar draws in anothertimeZonemoves each event by the same time. The full shortcut list (?) lists "Select all visible" under Calendar view.useCalendar()addsselectedEventIds,setSelectedEventIds,toggleEventSelectionandselectAllVisible, anduseIsEventInSelection()is new incalendar-core, with the helpers in@/lib/event-selection. See Calendar Core. #91- Breaking:
useCalendarShortcuts()now handles⌘+Aoutside text fields, so it no longer selects the page's text there. If your app uses it, handle it in akeydownlistener added before the hook's and callevent.stopImmediatePropagation(). - Breaking: while several events are selected,
selectedEventIdandselectedEventarenull. An object you type asCalendarContextValueyourself, like a test mock, needs the four new members.
- Breaking:
- Added
calendar-core,time-grid,details-sidebar,calendar-sidebar,command-menu,calendar-app: scheduling, as in Notion Calendar.S, the sidebar's Scheduling row or "Share availability..." in the command menu start marking open times on the day and week grid: drag to mark, drag a marked time to move or resize it, and remove it with its ×. The details sidebar shows the scheduling panel with the meeting length, the text and the marked times, and Copy puts the text on the clipboard ("Would 30 min during any of these times (all in EDT) work for you?").SchedulingProvider,useScheduling()anduseSchedulingShortcuts()are new incalendar-core, withformatAvailabilityText()in@/lib/availability;AvailabilityPanelandAvailabilityHintindetails-sidebar;AvailabilityLayerintime-grid. See Scheduling. #90CalendarAppandSchedulingProvidertakeonCreateSchedulingLink: with it, the Scheduling row opens a menu and the command menu lists "Create recurring scheduling link..." and "Create one-off scheduling link...", which hand aSchedulingLinkRequestto your app.CommandMenutakesonShareAvailabilityandonCreateSchedulingLink.- Breaking:
CalendarSidebarshows the Scheduling row only inside aSchedulingProvider, and the row is no longer disabled with a "Soon" badge. WithshowComingSoon, the command menu no longer lists the scheduling link commands as "Soon": they show when you passonCreateSchedulingLink.calendar-sidebaranddetails-sidebarnow need shadcn/ui'sdropdown-menu.
- Added
calendar-settings, a new item, withcalendar-app,command-menu,calendar-sidebar,details-sidebarandics: Notion Calendar's account and app controls.CalendarSettingsDialogis a settings dialog laid out as Notion's: General (weekends, declined events, week numbers, number of days, time format, theme) and each calendar account's calendars, each setting shown when something can change it.CommandMenuaddsonOpenSettings("Go to settings"),onAddCalendarAccount,onManageCalendarAccounts,onSupportandonAbout,CalendarSidebaraddsonAddCalendarAccount, andCalendarAppaddssettingsDialog,onAddCalendarAccount(withimportIcsCalendar(), which adds an .ics file as a calendar),onSupportandonAbout.toIcsCalendar()is new in@/lib/ics. #87- Breaking: without
onAddCalendarAccount,CalendarSidebarno longer draws "Add calendar account" (it was disabled with "Soon"). "Add Google Calendar account" is now "Add calendar account", and the command menu and the useful shortcuts no longer list "Get CalendarCN mobile app", "Log out", "Check for update" or "Menu bar calendar", even withshowComingSoon.
- Breaking: without
- Added
calendar-core,time-grid,calendar-sidebar,command-menu,details-sidebar,calendar-app,sample-data: meet with people and show a teammate's calendar, as in Notion Calendar. The sidebar's "Meet with..." field,Fand "Meet with..." in the command menu add people fromcontacts: their events are drawn behind yours in the day and week views, hatched in their color, the times you're all free are highlighted, and an event created meanwhile invites them.Pand "Show teammate calendar..." show a teammate's calendar without the meeting. The sidebar lists both, each removable.CalendarProvideraddsmeetWith,teammates(each with itsdefaultandon…Change),contactEventsandworkingHours,EventContactaddscolor, anduseCalendarPeople()is new.getSharedFreeTime()is new in@/lib/free-busy.CommandMenuaddsonMeetWithandonShowTeammateCalendar, anduseCalendarShortcuts()the same two options. The sample data addsgenerateContactEvents(), four teammates' weeks. See Meeting with people. #83CalendarSidebar's "Meet with..." field is no longer disabled, and the "Useful shortcuts" list "Show teammate calendar" (P) without a "Soon" badge. PassonShowTeammateCalendartouseCalendarShortcuts()soPdoes what the list says, or pass your ownshortcuts. The full list (?) adds "Meet with..." and "Show teammate calendar" under Workflows, asSHORTCUTS.meetWithandSHORTCUTS.showTeammateCalendar.
- Added
people-picker, a new item: the dialogFandPopen, to search your contacts and meet with someone or show th...