MCPcopy Index your code
hub / github.com/WickyNilliams/cally

github.com/WickyNilliams/cally @v0.9.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.9.2 ↗ · + Follow
120 symbols 333 edges 31 files 3 documented · 2% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Cally

Small, feature-rich calendar components

  • Small bundle size - less than 9KB min/gzip
  • Full feature set - single dates, multiple dates, ranges, display multiple months
  • HTML-friendly - easy to author, framework-independent
  • Minimal dependencies - just one
  • Accessible - keyboard and screen reader
  • Localizable - Intl.DateTimeFormat, CSS logical properties, RTL support
  • Themeable - CSS parts and custom properties to offer flexibility and power
  • Composable - impose no DOM specific structure, play well with others

Installation

npm install cally

Usage

Via module

import "cally";

Via CDN

<script type="module" src="https://unpkg.com/cally"></script>

Using the components

<calendar-range months="2">
  <calendar-month></calendar-month>
  <calendar-month offset="1"></calendar-month>
</calendar-range>

Docs

For full documentation, visit: https://wicky.nillia.ms/cally/

License

MIT

Extension points exported contracts — how you extend this code

CustomMatchers (Interface)
(no doc)
vitest.d.ts
HTMLElementTagNameMap (Interface)
(no doc)
src/globals.d.ts
DateLike (Interface)
(no doc)
src/utils/date.ts
CalendarBaseProps (Interface)
(no doc)
src/calendar-base/calendar-base.tsx
TestPropsBase (Interface)
(no doc)
src/calendar-month/calendar-month.test.tsx
Matchers (Interface)
(no doc)
vitest.d.ts
CalendarRangeProps (Interface)
(no doc)
src/calendar-base/calendar-base.tsx
DateTestProps (Interface)
(no doc)
src/calendar-month/calendar-month.test.tsx

Core symbols most depended-on inside this repo

getMonthHeading
called by 86
src/utils/test.ts
from
called by 61
src/utils/temporal.ts
createSpy
called by 40
src/utils/test.ts
toString
called by 33
src/utils/temporal.ts
getDayButton
called by 27
src/utils/test.ts
clickDay
called by 26
src/utils/test.ts
toHavePart
called by 24
vitest.d.ts
getMonth
called by 24
src/utils/test.ts

Shape

Function 85
Interface 17
Method 14
Class 4

Languages

TypeScript100%

Modules by API surface

src/utils/test.ts17 symbols
src/utils/temporal.ts17 symbols
src/calendar-month/calendar-month.test.tsx10 symbols
src/calendar-base/useCalendarBase.ts10 symbols
src/utils/hooks.ts9 symbols
src/utils/date.ts9 symbols
src/calendar-month/useCalendarMonth.ts8 symbols
src/calendar-base/calendar-base.tsx6 symbols
vitest.d.ts4 symbols
src/calendar-range/calendar-range.tsx4 symbols
src/calendar-month/CalendarMonthContext.ts4 symbols
vitest.setup.ts3 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add cally \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page