{"_id":"@briangershon/lumens-starmap-banner","_rev":"2-9fee2d1225ed7ec15546fb83b0de4966","name":"@briangershon/lumens-starmap-banner","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@briangershon/lumens-starmap-banner","version":"0.1.0","keywords":["web-component","custom-element","starmap","banner","astronomy","hero"],"license":"MIT","_id":"@briangershon/lumens-starmap-banner@0.1.0","maintainers":[{"name":"briangershon","email":"brian@briangershon.com"}],"homepage":"https://github.com/briangershon/lumens#readme","bugs":{"url":"https://github.com/briangershon/lumens/issues"},"dist":{"shasum":"8a282b38cf22380806c93f9725ea7db4e275605f","tarball":"https://registry.npmjs.org/@briangershon/lumens-starmap-banner/-/lumens-starmap-banner-0.1.0.tgz","fileCount":5,"integrity":"sha512-52FSlKZWTwQbBtmlEy5eC5i8x87tiQMYkAsrCpBvA+of3APGfk+y9dLd1lGGXnRxnTdsvqZT93q+mPO+Fus1SQ==","signatures":[{"sig":"MEQCIBjhgdPcofx528l/y2rdPSRt/NXZ62TkQagkOXR9ylzhAiAT0+pXBlGln/+aTEhJYbMhoOzCATCywkCKn2w+NKOVDA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":65870},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./bundle":"./dist/lumens-starmap-banner.bundle.js"},"gitHead":"387127d546693a8c0a97f26ee90eca62c46486ba","_npmUser":{"name":"briangershon","email":"brian@briangershon.com"},"repository":{"url":"git+https://github.com/briangershon/lumens.git","type":"git"},"_npmVersion":"11.6.3","description":"Decorative starmap banner web component for light and dark host surfaces.","directories":{},"_nodeVersion":"24.10.0","webComponent":{"docs":{"preview":{"kind":"starmap-banner","variants":[{"title":"Light host background","hostTheme":"light","attributes":{"speed":"1800","start-time":"2026-01-15T05:00:00Z","label-limit":"14"},"description":"The host frame supplies the pale surface while the component keeps its foreground tuned for bright layouts."},{"title":"Dark host background","hostTheme":"dark","attributes":{"speed":"1800","dark-mode":"","start-time":"2026-01-15T05:00:00Z","label-limit":"14"},"description":"The host frame owns the dark treatment while the component switches to its higher-contrast foreground palette."}],"eventName":"starmap-object-selected"},"summary":"A transparent animated starmap banner for editorial headers, with optional dark-mode contrast and hover selection events.","slotText":"Starmap banner"},"tagName":"lumens-starmap-banner","bundleName":"lumens-starmap-banner.bundle.js","displayName":"Lumens Starmap Banner"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/lumens-starmap-banner_0.1.0_1777779347393_0.8610092906698317","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@briangershon/lumens-starmap-banner","version":"0.2.0","description":"Interactive starmap banner web component with visible stars, constellations, exotic unseen objects, and hover details for light and dark host surfaces.","type":"module","license":"MIT","repository":{"type":"git","url":"git+https://github.com/briangershon/lumens.git"},"homepage":"https://github.com/briangershon/lumens#readme","bugs":{"url":"https://github.com/briangershon/lumens/issues"},"publishConfig":{"access":"public","provenance":true},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./bundle":"./dist/lumens-starmap-banner.bundle.js"},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","keywords":["web-component","custom-element","starmap","banner","astronomy","hero"],"_id":"@briangershon/lumens-starmap-banner@0.2.0","_integrity":"sha512-Y+16vFgG7DhGQ1PyV0DvVJPU/6MrYL+YM3z0VYvq9jtQm2SJL+beqxZ/RdICQWFVH2YN2DktV6JOfMiN3niDOw==","_resolved":"/tmp/9819fdd0672d255237ea99c1824b485c/briangershon-lumens-starmap-banner-0.2.0.tgz","_from":"file:briangershon-lumens-starmap-banner-0.2.0.tgz","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-Y+16vFgG7DhGQ1PyV0DvVJPU/6MrYL+YM3z0VYvq9jtQm2SJL+beqxZ/RdICQWFVH2YN2DktV6JOfMiN3niDOw==","shasum":"4ed140fba1c2a27c430fc0757da98306eab545d2","tarball":"https://registry.npmjs.org/@briangershon/lumens-starmap-banner/-/lumens-starmap-banner-0.2.0.tgz","fileCount":6,"unpackedSize":66340,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@briangershon%2flumens-starmap-banner@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCq9Tf5RjIcZ1lsObliIWMpEyCqyRXXTVQKCQBcGSZVyAIgcRqxmY4vGlZ28uucQK1TJw02/cw7ZJw7Uc5vgVY3PJg="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e2007af0-480b-4e07-ba95-a8c310b27cb8"}},"directories":{},"maintainers":[{"name":"briangershon","email":"brian@briangershon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lumens-starmap-banner_0.2.0_1777844618838_0.9767069941250002"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-03T03:35:47.258Z","modified":"2026-05-03T21:43:39.268Z","0.1.0":"2026-05-03T03:35:47.546Z","0.2.0":"2026-05-03T21:43:38.985Z"},"bugs":{"url":"https://github.com/briangershon/lumens/issues"},"license":"MIT","homepage":"https://github.com/briangershon/lumens#readme","keywords":["web-component","custom-element","starmap","banner","astronomy","hero"],"repository":{"type":"git","url":"git+https://github.com/briangershon/lumens.git"},"description":"Interactive starmap banner web component with visible stars, constellations, exotic unseen objects, and hover details for light and dark host surfaces.","maintainers":[{"name":"briangershon","email":"brian@briangershon.com"}],"readme":"# @briangershon/lumens-starmap-banner\n\nInteractive web component for rendering an animated starmap banner with visible stars, constellations, and exotic unseen objects such as black holes. Mouse over astronomical objects to inspect more details, and use it on either light or dark host surfaces.\n\n## Install\n\n```bash\nnpm install @briangershon/lumens-starmap-banner\n```\n\n## Quick use\n\n```ts\nimport '@briangershon/lumens-starmap-banner';\n```\n\n```html\n<lumens-starmap-banner></lumens-starmap-banner>\n```\n\nFor the full installation and usage guide, including browser-bundle usage and event-listening examples, use the dedicated component docs page:\n[https://briangershon.github.io/lumens/components/lumens-starmap-banner.html](https://briangershon.github.io/lumens/components/lumens-starmap-banner.html)\n\n## Attributes and properties\n\n| Attribute     | Property     | Type      | Default                    | Notes                                                                  |\n| ------------- | ------------ | --------- | -------------------------- | ---------------------------------------------------------------------- |\n| `speed`       | `speed`      | `number`  | `900`                      | Positive number controlling simulated time progression.                |\n| `label-limit` | `labelLimit` | `number`  | `14`                       | Positive integer limit for visible labels.                             |\n| `start-time`  | `startTime`  | `string`  | `2026-01-15T05:00:00.000Z` | ISO timestamp used as the initial sky state.                           |\n| `dark-mode`   | `darkMode`   | `boolean` | `false`                    | Enables the higher-contrast foreground palette for dark host surfaces. |\n\n## Events\n\n### `starmap-object-selected`\n\nDispatched when the hovered astronomical object changes over the canvas so the host can surface richer object details.\n\n```ts\ntype StarmapSelectionDetail = {\n  selected: boolean;\n  id: string | null;\n  name: string | null;\n  type: string | null;\n  observability: string | null;\n  constellation: string | null;\n  magnitude: number | null;\n  distanceLy: number | null;\n  altitude: number | null;\n  azimuth: number | null;\n};\n```\n\nWhen `detail.selected` is `false`, the rest of the fields are `null`.\n\n## Demo and docs\n\n- Canonical install and usage guide: [https://briangershon.github.io/lumens/components/lumens-starmap-banner.html](https://briangershon.github.io/lumens/components/lumens-starmap-banner.html)\n- Repository and workspace docs: https://github.com/briangershon/lumens#readme\n\n## License\n\nMIT. See the repository license file for details.\n","readmeFilename":"README.md"}