{"_id":"@dojo-ng/trigger-popup","name":"@dojo-ng/trigger-popup","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@dojo-ng/trigger-popup","version":"0.1.0","license":"BSD-3-Clause","description":"Dojo NG trigger-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/trigger-popup@0.1.0","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-Y0Y3USnssMMVDZKl2vtDAULEr5Qf8hf73zR+/cX/ITUws+4T/61qDKDrvwNkWjGOpKL2UOlmHPZnq15l95/hSQ==","shasum":"d44ff58970e7b93d2eaf6cafc4fc537daeed2221","tarball":"https://registry.npmjs.org/@dojo-ng/trigger-popup/-/trigger-popup-0.1.0.tgz","fileCount":6,"unpackedSize":5717,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHDkWsZxFdq4afYws98MpFO2h1mkpLKPRGNGNrImHOR6AiAgcLwl+YX1RVmSupmM3dcsFeQp9kjv7tpYxO3yog3lBg=="}]},"_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/trigger-popup_0.1.0_1788374443138_0.5689262243937692"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-02T18:40:42.704Z","0.1.0":"2026-09-02T18:40:43.276Z","modified":"2026-09-02T18:40:43.594Z"},"maintainers":[{"name":"saysomething","email":"joshs@holmescorp.com"},{"name":"bitranch","email":"bill@bitranch.com"},{"name":"jepe","email":"jeffreyp@holmescorp.com"}],"description":"Dojo NG trigger-popup web component","license":"BSD-3-Clause","readme":"# @dojo-ng/trigger-popup\n\n`<dj-trigger-popup>` — Clicking the trigger (default slot) opens a `<dj-popup>` anchored to it, holding the `content` slot.\n\nPart of [Dojo NG](../../README.md), a framework-agnostic web component library built on Lit. BSD-3-Clause.\n\nClicking the trigger (default slot) opens a `<dj-popup>` anchored to it, holding the `content` slot. `match-width` sizes the popup to the trigger.\n\n## Install\n\n```bash\nnpm install @dojo-ng/trigger-popup\n```\n\n## Usage\n\nImport the package to register the custom element, then use the tag.\n\nThe `trigger` slot toggles the default-slot content.\n\n```html\n<dj-trigger-popup>\n  <dj-button slot=\"trigger\">Menu</dj-button>\n  <div>Popup content</div>\n</dj-trigger-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| `position` | position ↻ | `PopupPosition` | `\"below\"` |\n| `matchWidth` | match-width | `boolean` | `true` |\n| `underlayVisible` | underlay-visible | `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-ec45ab8f611e0fa7b205cbe59afb584c"}