{"_id":"@dojo-ng/context-popup","name":"@dojo-ng/context-popup","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@dojo-ng/context-popup","version":"0.1.0","license":"BSD-3-Clause","description":"Dojo NG context-popup 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/popup":"^0.1.0","lit":"^3.3.0"},"_id":"@dojo-ng/context-popup@0.1.0","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-RZlrHz3WaPuRwHQOSflwF5K1PGt5kweRAwNIDlGCpA6LZMoMrBQkt3xggl6fwl4Xn+0GMxmbTHPM1IocBhMyjw==","shasum":"48fe2951fd3795a90dd8fbc7afefe6ba4ce0a5b5","tarball":"https://registry.npmjs.org/@dojo-ng/context-popup/-/context-popup-0.1.0.tgz","fileCount":6,"unpackedSize":4780,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGyKIurQoM59kcFpdtAvGq78QSJHLztO+12MGdinedcVAiEA3/l8qnNydxlfxUByLspgGQHf3SSycf6/+8DPJp2vqnI="}]},"_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/context-popup_0.1.0_1788374424339_0.7356200506315755"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-02T18:40:24.131Z","0.1.0":"2026-09-02T18:40:24.482Z","modified":"2026-09-02T18:40:24.789Z"},"maintainers":[{"name":"saysomething","email":"joshs@holmescorp.com"},{"name":"bitranch","email":"bill@bitranch.com"},{"name":"jepe","email":"jeffreyp@holmescorp.com"}],"description":"Dojo NG context-popup web component","license":"BSD-3-Clause","readme":"# @dojo-ng/context-popup\n\n`<dj-context-popup>` — Right-click (contextmenu) on the trigger (default slot) opens a `<dj-popup>` at the cursor, holding the `content` slot.\n\nPart of [Dojo NG](../../README.md), a framework-agnostic web component library built on Lit. BSD-3-Clause.\n\n## Install\n\n```bash\nnpm install @dojo-ng/context-popup\n```\n\n## Usage\n\nImport the package to register the custom element, then use the tag.\n\nThe default slot is the trigger; `content` is shown on right-click.\n\n```html\n<dj-context-popup>\n  <div>Right-click this area</div>\n  <div slot=\"content\">Context actions</div>\n</dj-context-popup>\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| `open` | open ↻ | `boolean` | `false` |\n\n**Slots:** default, `content`\n\n**Events:** `dj-open`\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-fd361902693ff85c2c06ba21762a0a86"}