{"_id":"@dojo-ng/pagination","name":"@dojo-ng/pagination","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@dojo-ng/pagination","version":"0.1.0","license":"BSD-3-Clause","description":"Dojo NG pagination 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/icon":"^0.1.0","lit":"^3.3.0"},"_id":"@dojo-ng/pagination@0.1.0","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-XpJogtQim+R9AhT1ieTyEPVHZDnj5oM/NP+hIyWJyacr1usm7lKYXmFlJMEpQmrqkaz2XBaJt/KE9O1Fa4q2iA==","shasum":"0601dd59eb1b79263aa28c57c32570ba595dd9d5","tarball":"https://registry.npmjs.org/@dojo-ng/pagination/-/pagination-0.1.0.tgz","fileCount":6,"unpackedSize":6753,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDu3YKChpvEykMH+VckHOGfIi3oa2JUBsNJS6y99et0sgIhAP2DDSgZ8+EziuCpJWtqsKGdwLJsazM9LJIxxzg9B/WG"}]},"_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/pagination_0.1.0_1788374431963_0.0031082901697261356"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-02T18:40:31.748Z","0.1.0":"2026-09-02T18:40:32.141Z","modified":"2026-09-02T18:40:32.540Z"},"maintainers":[{"name":"saysomething","email":"joshs@holmescorp.com"},{"name":"bitranch","email":"bill@bitranch.com"},{"name":"jepe","email":"jeffreyp@holmescorp.com"}],"description":"Dojo NG pagination web component","license":"BSD-3-Clause","readme":"# @dojo-ng/pagination\n\n`<dj-pagination>` — Page navigation over `total` pages.\n\nPart of [Dojo NG](../../README.md), a framework-agnostic web component library built on Lit. BSD-3-Clause.\n\nPage navigation over `total` pages. Emits `dj-page` with the new page. Parts: `nav`, `page`.\n\n## Install\n\n```bash\nnpm install @dojo-ng/pagination\n```\n\n## Usage\n\nImport the package to register the custom element, then use the tag.\n\nSet `total` pages and the current `page`; listen for `change`.\n\n```html\n<dj-pagination total=\"10\" page=\"1\" id=\"pg\"></dj-pagination>\n<script type=\"module\">\n  import \"@dojo-ng/pagination\";\n  document.getElementById(\"pg\").addEventListener(\"change\", (e) => console.log(e.detail));\n</script>\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| `total` | total | `number` | `1` |\n| `page` | page | `number` | `1` |\n| `siblingCount` | sibling-count | `number` | `1` |\n\n**Parts:** `nav`, `page`\n\n**Events:** `dj-page`\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-4ee7573c529ec33810a7f13759590d88"}