MCPcopy Index your code
hub / github.com/Sqrrl/wc-datepicker

github.com/Sqrrl/wc-datepicker @v0.13.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.13.0 ↗ · + Follow
69 symbols 193 edges 9 files 0 documented · 0% updated 7d agov0.13.0 · 2026-07-01★ 751 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

wc-datepicker

A small, accessible and customizable datepicker written in TypeScript.

<a href="https://sqrrl.github.io/wc-datepicker">
  <img alt="Screenshot of the datepicker" height="315" src="https://github.com/Sqrrl/wc-datepicker/blob/main/docs/images/screenshot-1.png?raw=true" width="282">
</a>







<img alt="Github test action status" src="https://github.com/Sqrrl/wc-datepicker/actions/workflows/test.yml/badge.svg" />
<img alt="Github publish action status" src="https://github.com/Sqrrl/wc-datepicker/actions/workflows/publish.yml/badge.svg" />
<img alt="Github docs action status" src="https://github.com/Sqrrl/wc-datepicker/actions/workflows/docs.yml/badge.svg" />
<img alt="Overall test coverage" src="https://img.shields.io/badge/coverage-89%25-brightgreen" />

Features

  • 🦶 Small footprint: About 10 KB minified and gzipped.
  • 🪁 Dependency-free: No external dependencies.
  • 🖼 Framework-agnostic: Standard Web Component that works with any framework.
  • 💪 Strongly typed: Written in TypeScript.
  • 🧏‍♀️ Accessible: Built to support users of assistive technology.
  • 🇪🇺 Localizable: Customizable labels and date formats.
  • 🌈 Customizable: Semantic markup with no built-in styles.
  • 🧪 Well tested: Quality assured by means of unit tests.
  • 📆 Selection modes: Single date, a continuous range, or multiple non-consecutive dates.

Documentation & Demo

https://sqrrl.github.io/wc-datepicker

Extension points exported contracts — how you extend this code

WcDatepicker (Interface)
(no doc)
src/components.d.ts
MonthChangedEventDetails (Interface)
(no doc)
src/components/wc-datepicker/wc-datepicker.tsx
WcDatepickerCustomEvent (Interface)
(no doc)
src/components.d.ts
HTMLWcDatepickerElement (Interface)
(no doc)
src/components.d.ts
HTMLElementTagNameMap (Interface)
(no doc)
src/components.d.ts
IntrinsicElements (Interface)
(no doc)
src/components.d.ts

Core symbols most depended-on inside this repo

getClassName
called by 30
src/components/wc-datepicker/wc-datepicker.tsx
updateCurrentDate
called by 19
src/components/wc-datepicker/wc-datepicker.tsx
removeTimezoneOffset
called by 18
src/utils/utils.ts
getISODateString
called by 17
src/utils/utils.ts
isSameDay
called by 12
src/utils/utils.ts
addDays
called by 10
src/utils/utils.ts
subDays
called by 10
src/utils/utils.ts
getFirstOfWeek
called by 9
src/utils/utils.ts

Shape

Function 33
Method 28
Interface 6
Class 2

Languages

TypeScript100%

Modules by API surface

src/components/wc-datepicker/wc-datepicker.tsx31 symbols
src/utils/utils.ts21 symbols
docs/js/prism.js7 symbols
src/components/wc-datepicker/wc-datepicker.spec.tsx5 symbols
src/components.d.ts5 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page