API reference

Overview

What each package exports, and where to import it from.

A Solid app imports from one package, @moltenship/calendar-solid: the factory, the parts, the hooks and the store, and the engine and the Temporal helpers it re-exports. The engine is the event adapter, changes and policies, and the functions a view is made of.

You needImport from
createCalendar, defineCalendarView, the parts and hooks@moltenship/calendar-solid
createCalendarStore, createStateSelector@moltenship/calendar-solid
useCalendarPointer, eventIdAttributes@moltenship/calendar-solid
attachCalendarPointer, startCalendarDrop@moltenship/calendar-solid
defineEventAdapter, createEventHistory, policies@moltenship/calendar-solid
View functions such as projectMonth and getListRange@moltenship/calendar-solid
Temporal helpers such as plainDateInterval and monthGrid@moltenship/calendar-solid
expandRecurrenceRule and the other recurrence functions@moltenship/calendar-recurrence
parseIcs@moltenship/ics
createAgent, agentTools, registerTools@ui-sdk/solid/agent

Install @moltenship/calendar-recurrence and @moltenship/ics when you import them. Neither imports a framework.

Packages

PackageContentsDependencies
@moltenship/calendarRe-exports calendar-react, -core, -temporal and -dnd. Since 2.0 it ships these docs as Markdown and a skill for coding agentsThose four; React 19, @ui-sdk/core, @ui-sdk/react (peers)
@moltenship/calendar-reactcreateCalendar, defineCalendarView, components, hooks, storecalendar-primitives, calendar-dnd, calendar-core, calendar-temporal; React 19, @ui-sdk/core, @ui-sdk/react (peers)
@moltenship/calendar-primitivesThe calendar's state, actions and runtime, agent actions included, with no framework. Not re-exported.calendar-core, calendar-temporal; @ui-sdk/core (peer)
@moltenship/calendar-solidcreateCalendar, defineCalendarView, parts and hooks for SolidJS 2, and re-exports -core, -temporal and the pointer helpers of -dnd. Not re-exported.calendar-primitives, calendar-dnd, calendar-core, calendar-temporal; solid-js, @solidjs/web, @ui-sdk/core, @ui-sdk/solid (peers)
@moltenship/calendar-coreAdapters, validation, snapshots, queries, changes and policies, view strategies, availability. No React.calendar-temporal, @flatten-js/interval-tree
@moltenship/calendar-temporalRanges, grids, rounding, zoned days, DSTNone
@moltenship/calendar-dndPointer drag, resize, and create for views, with no frameworkcalendar-core, calendar-temporal
@moltenship/icsiCalendar parsing into Temporal values. Not re-exported.None
@moltenship/calendar-recurrenceSeries expansion, occurrence IDs, series edits. Not re-exported.calendar-core, calendar-temporal, ics
@moltenship/calendar-dnd-kitdnd-kit items dragged in, events dragged out. Not re-exported.calendar-dnd, calendar-core; React 19, dnd-kit 0.5 (peers)
@moltenship/calendar-testingA test harness for a React calendar: fixed clock, builders, render and hydrationcalendar, calendar-recurrence; React and React DOM 19, @ui-sdk/core, @ui-sdk/react (peers)

Every package is ESM only. Import from the package name: paths inside a package aren't part of the API.

On this page