{"_id":"@dojo-ng/calendar","name":"@dojo-ng/calendar","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@dojo-ng/calendar","version":"0.1.0","license":"BSD-3-Clause","description":"Dojo NG calendar web component","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"tsc -p tsconfig.json","clean":"rm -rf dist"},"dependencies":{"@dojo-ng/dojo-element":"^0.1.0","@dojo-ng/i18n":"^0.1.0","@dojo-ng/icon":"^0.1.0","lit":"^3.3.0"},"_id":"@dojo-ng/calendar@0.1.0","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-uA2GevN9HMNLxb1EvwA1pRyShnNV8Q6GAlB2bcvwVMgOVuoNV1xvJlUNCePFNp2tkDdbZgOVeaEHSYgfVBMJbA==","shasum":"2232547fb05430ed6e00757aeeeddb8c0ed90e26","tarball":"https://registry.npmjs.org/@dojo-ng/calendar/-/calendar-0.1.0.tgz","fileCount":8,"unpackedSize":17352,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFWehRlCXiGw9Ntfl9UKOFttuyzD0qDfGFqHqnDz623yAiEAzkI5Cl6KEd9tfxL5N9WPHhivh2JEKlLPRAiQtmrYtpg="}]},"_npmUser":{"name":"bitranch","email":"bill@bitranch.com"},"directories":{},"maintainers":[{"name":"saysomething","email":"joshs@holmescorp.com"},{"name":"bitranch","email":"bill@bitranch.com"},{"name":"jepe","email":"jeffreyp@holmescorp.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/calendar_0.1.0_1788374246889_0.26584183481251644"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-02T18:37:26.695Z","0.1.0":"2026-09-02T18:37:27.109Z","modified":"2026-09-02T18:37:27.342Z"},"maintainers":[{"name":"saysomething","email":"joshs@holmescorp.com"},{"name":"bitranch","email":"bill@bitranch.com"},{"name":"jepe","email":"jeffreyp@holmescorp.com"}],"description":"Dojo NG calendar web component","license":"BSD-3-Clause","readme":"# @dojo-ng/calendar\n\n`<dj-calendar>` — A form-associated month-grid date picker.\n\nPart of [Dojo NG](../../README.md), a framework-agnostic web component library built on Lit. BSD-3-Clause.\n\nA form-associated month-grid date picker. `value` is an ISO date (yyyy-mm-dd). Localizes month and weekday names via Intl (set `locale`). Keyboard: arrows move by day/week, PageUp/PageDown change month, Enter/Space select. `min`/`max` (ISO) bound selection. Composes `<dj-icon>` for navigation. Functional core; year-picker popup and range selection are deferred. Parts: `header`, `grid`, `day`.\n\n## Install\n\n```bash\nnpm install @dojo-ng/calendar\n```\n\n## Usage\n\nImport the package to register the custom element, then use the tag.\n\nSet `locale` to localize month and weekday names; listen for `change`.\n\n```html\n<dj-calendar value=\"2026-06-15\" locale=\"en-US\"></dj-calendar>\n```\n\n## Properties\n\n`↻` marks an attribute reflected to the DOM; a dash means the property is set in JavaScript only.\n\n| Property | Attribute | Type | Default |\n|---|---|---|---|\n| `value` | value | `string` | `\"\"` |\n| `name` | name ↻ | `string` | — |\n| `min` | min | `string` | — |\n| `max` | max | `string` | — |\n| `locale` | locale | `string` | — |\n| `firstDayOfWeek` | first-day-of-week | `number` | `0` |\n\n**Parts:** `header`, `grid`, `day`\n\n**Events:** `change`\n\n**Methods:** `checkValidity(): boolean`\n\n## Theming\n\nStyled with Dojo NG `--dj-*` design tokens and exposes `::part()` hooks for targeted overrides.\n\n## Accessibility and i18n\n\nFollows the project's WCAG 2.2 AA and localization conventions.\n\n## More\n\nLive, interactive examples are in the playground (`playground/index.html`). For the full API reference, theming, accessibility, and localization guides, see the [Dojo NG documentation](../../README.md).\n","readmeFilename":"README.md","_rev":"1-6e0a857030c323e7597f273705bd00c1"}