feat(event-calendar): add event-calendar component

SY
2d ago
+3160-2

What and why

Add the event-calendar component with month and week views, multi-day spanning bars, a +N more overflow popover, side-by-side overlapping event columns in week view (registry/default/lib/event-calendar-utils.ts), weekStartsOn and timeZone support reusing existing repo timezone helpers, and WAI-ARIA grid keyboard navigation.

Closes #123

Checklist

  • bun run typecheck, bun run lint and bun run test pass (registry:build, typecheck, lint, and all event-calendar Vitest suites passed locally across radix and base; full Linux suite passed in GitHub Actions check job on 395a3d5)
  • Tests cover the change, including keyboard interaction for UI components
  • New components are added to registry.json, lib/catalog.ts, components/docs/preview-registry.tsx and lib/agent-docs/component-usage.ts, each at its alphabetical position
  • Checked in light and dark mode (/components/event-calendar verified in light/dark themes across desktop 1280x900 and mobile 390x844 with 0 console/hydration errors)