Skip to content

Releases

v0.1.0

Choose a tag to compare

@vmnog vmnog released this 24 Nov 20:00
2a0509f

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-view and week-view, and every item names its author and categories, which shadcn view and 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 to snapMinutes. 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. Esc leaves the title and then throws the draft away, as does a click elsewhere while nothing was typed, and Esc mid-drag drops it. C and "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() adds eventDraft, startEventDraft() and updateEventDraft(), CalendarProvider adds defaultEventDuration, NewEventRange adds isAllDay, EventDetailPanel and EventDetailPopover add onTitlePreview, and EventDraftPopover, TimeGridEventDraft and AllDayEventDraft are 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 onEventCreate and onEventsChange, when its first edit saves it, not when it appears. onEventCreate gets it with the title it was given, once. onEventSelect is 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 createEvent gives new events no title, not "New event". createEvent is also called for whole days, with isAllDay set on the range, and its event is made all-day. To keep a default title, return one from your own createEvent: Enter then saves the draft under it.
    • Breaking: addEventAtNextSlot(), and so C and "Create event...", start a draft instead of storing an hour-long event, and getNextSlotEventRange() takes defaultEventDuration in its config.
    • Breaking: WeekViewGrid's onEventCreate is called for a double-click, with an event selected or not. Empty space starts drags through the new onEventDrawPointerDown, on WeekViewGrid and WeekViewAllDayRow.
    • Breaking: useInlineEdit()'s onCommit gets a second argument, { textOnFocus, isEnter }. A handler that takes one argument keeps working.
    • If you render EventDetailPanel yourself for the provider's selected event, pass onTitlePreview while 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 ⌘+A or 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, or Alt+↓, 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 another timeZone moves each event by the same time. The full shortcut list (?) lists "Select all visible" under Calendar view. useCalendar() adds selectedEventIds, setSelectedEventIds, toggleEventSelection and selectAllVisible, and useIsEventInSelection() is new in calendar-core, with the helpers in @/lib/event-selection. See Calendar Core. #91
    • Breaking: useCalendarShortcuts() now handles ⌘+A outside text fields, so it no longer selects the page's text there. If your app uses it, handle it in a keydown listener added before the hook's and call event.stopImmediatePropagation().
    • Breaking: while several events are selected, selectedEventId and selectedEvent are null. An object you type as CalendarContextValue yourself, like a test mock, needs the four new members.
  • 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() and useSchedulingShortcuts() are new in calendar-core, with formatAvailabilityText() in @/lib/availability; AvailabilityPanel and AvailabilityHint in details-sidebar; AvailabilityLayer in time-grid. See Scheduling. #90
    • CalendarApp and SchedulingProvider take onCreateSchedulingLink: 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 a SchedulingLinkRequest to your app. CommandMenu takes onShareAvailability and onCreateSchedulingLink.
    • Breaking: CalendarSidebar shows the Scheduling row only inside a SchedulingProvider, and the row is no longer disabled with a "Soon" badge. With showComingSoon, the command menu no longer lists the scheduling link commands as "Soon": they show when you pass onCreateSchedulingLink. calendar-sidebar and details-sidebar now need shadcn/ui's dropdown-menu.
  • Added calendar-settings, a new item, with calendar-app, command-menu, calendar-sidebar, details-sidebar and ics: Notion Calendar's account and app controls. CalendarSettingsDialog is 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. CommandMenu adds onOpenSettings ("Go to settings"), onAddCalendarAccount, onManageCalendarAccounts, onSupport and onAbout, CalendarSidebar adds onAddCalendarAccount, and CalendarApp adds settingsDialog, onAddCalendarAccount (with importIcsCalendar(), which adds an .ics file as a calendar), onSupport and onAbout. toIcsCalendar() is new in @/lib/ics. #87
    • Breaking: without onAddCalendarAccount, CalendarSidebar no 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 with showComingSoon.
  • 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, F and "Meet with..." in the command menu add people from contacts: 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. P and "Show teammate calendar..." show a teammate's calendar without the meeting. The sidebar lists both, each removable. CalendarProvider adds meetWith, teammates (each with its default and on…Change), contactEvents and workingHours, EventContact adds color, and useCalendarPeople() is new. getSharedFreeTime() is new in @/lib/free-busy. CommandMenu adds onMeetWith and onShowTeammateCalendar, and useCalendarShortcuts() the same two options. The sample data adds generateContactEvents(), four teammates' weeks. See Meeting with people. #83
    • CalendarSidebar's "Meet with..." field is no longer disabled, and the "Useful shortcuts" list "Show teammate calendar" (P) without a "Soon" badge. Pass onShowTeammateCalendar to useCalendarShortcuts() so P does what the list says, or pass your own shortcuts. The full list (?) adds "Meet with..." and "Show teammate calendar" under Workflows, as SHORTCUTS.meetWith and SHORTCUTS.showTeammateCalendar.
  • Added people-picker, a new item: the dialog F and P open, to search your contacts and meet with someone or show th...
Read more