{"_id":"@2mag-io/brand-ui","_rev":"3-4ff0e9978353d2594f07e62c17895306","name":"@2mag-io/brand-ui","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@2mag-io/brand-ui","version":"0.1.0","license":"UNLICENSED","_id":"@2mag-io/brand-ui@0.1.0","maintainers":[{"name":"2magio","email":"eric.dangelo@2mag.io"}],"homepage":"https://github.com/2MAG-IO/brand-ui#readme","bugs":{"url":"https://github.com/2MAG-IO/brand-ui/issues"},"dist":{"shasum":"86b2ab3ea55660529853b406b92d9884e3e1d84e","tarball":"https://registry.npmjs.org/@2mag-io/brand-ui/-/brand-ui-0.1.0.tgz","fileCount":6,"integrity":"sha512-z0a3SgjCjFrOpgvkxw4RXVtP2YvHxqR3hGcnoz9hcExq1f+5c4izmKgg7zQjJhqguWdyN+0sFc82RauGEVKuhg==","signatures":[{"sig":"MEYCIQC8+1im6oscXSz5m8rIFFBX2TBGBGOuffSvfzHzJsn2SwIhAJ9YJkhQiGVBsSzSoBzVMhTaHV0/xrsqbbxMOjLgtvU6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9067},"type":"module","exports":{"./Footer.astro":"./components/Footer.astro","./BaseHead.astro":"./components/BaseHead.astro","./Navigation.astro":"./components/Navigation.astro","./ScrollReveal.astro":"./components/ScrollReveal.astro"},"gitHead":"57a801d9be63d4b5cfe5641917407f6948e90f4c","private":false,"_npmUser":{"name":"2magio","email":"eric.dangelo@2mag.io"},"repository":{"url":"git+https://github.com/2MAG-IO/brand-ui.git","type":"git"},"_npmVersion":"11.17.0","description":"Shared Astro components (Navigation, Footer, BaseHead, ScrollReveal) for 2MAG.IO sites: shg.sg, 2mag.io, 2magnify.com.","directories":{},"_nodeVersion":"26.4.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"astro":">=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/brand-ui_0.1.0_1782878064363_0.9779594459673886","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@2mag-io/brand-ui","version":"0.1.1","license":"UNLICENSED","_id":"@2mag-io/brand-ui@0.1.1","maintainers":[{"name":"2magio","email":"eric.dangelo@2mag.io"}],"homepage":"https://github.com/2MAG-IO/brand-ui#readme","bugs":{"url":"https://github.com/2MAG-IO/brand-ui/issues"},"dist":{"shasum":"ae6d08f39a6996e54fe173dee153670954c4ed02","tarball":"https://registry.npmjs.org/@2mag-io/brand-ui/-/brand-ui-0.1.1.tgz","fileCount":6,"integrity":"sha512-bH2AaHCGB8wYPD+qsOLeKZ+4Eh1Tu1Ok+Dj4z/WronuLCZM5ZusW7ujfOk4a8jn7pmmuC9XEv2++j3m3n+b26g==","signatures":[{"sig":"MEUCIQCApomE9NGspaCVvw5WEIr0sLcKS0hKftM2QllwJYCdCAIgEgGi69twFEsDJUIx/qKsldJcPsEu0ZGUrzL4CakpKls=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@2mag-io%2fbrand-ui@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9055},"type":"module","exports":{"./Footer.astro":"./components/Footer.astro","./BaseHead.astro":"./components/BaseHead.astro","./Navigation.astro":"./components/Navigation.astro","./ScrollReveal.astro":"./components/ScrollReveal.astro"},"gitHead":"b5b8b7de3c62905eb00c664c431baa3ada9e6932","private":false,"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2bbfe313-c78d-4a92-b6bb-77af8270cdf6"}},"repository":{"url":"git+https://github.com/2MAG-IO/brand-ui.git","type":"git"},"_npmVersion":"12.0.2","description":"Shared Astro components (Navigation, Footer, BaseHead, ScrollReveal) for 2MAG.IO sites: shg.sg, 2mag.io, 2magnify.com.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"astro":">=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/brand-ui_0.1.1_1786541466413_0.03871362185096561","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@2mag-io/brand-ui","version":"0.1.2","description":"Shared Astro components (Navigation, Footer, BaseHead, ScrollReveal) for 2MAG.IO sites: shg.sg, 2mag.io, 2magnify.com.","type":"module","license":"UNLICENSED","private":false,"publishConfig":{"access":"public","provenance":true},"exports":{"./Navigation.astro":"./components/Navigation.astro","./Footer.astro":"./components/Footer.astro","./BaseHead.astro":"./components/BaseHead.astro","./ScrollReveal.astro":"./components/ScrollReveal.astro"},"peerDependencies":{"astro":">=5.0.0"},"repository":{"type":"git","url":"git+https://github.com/2MAG-IO/brand-ui.git"},"homepage":"https://github.com/2MAG-IO/brand-ui#readme","bugs":{"url":"https://github.com/2MAG-IO/brand-ui/issues"},"gitHead":"5b4fa0e3621ea46f9d95cd15d5130d1e8ce122ed","_id":"@2mag-io/brand-ui@0.1.2","_nodeVersion":"24.19.0","_npmVersion":"12.0.2","dist":{"integrity":"sha512-43MJ9d2zwkDqw/uVFv/coMYM43mL09VCfBeQpkbDkOY6SUW1p1ZHV3WHiYVToG8D43n2/fuZR2Vt6FEAKO9V/Q==","shasum":"f2f67306bfb64c9a3f6b149133e5889b3486547a","tarball":"https://registry.npmjs.org/@2mag-io/brand-ui/-/brand-ui-0.1.2.tgz","fileCount":6,"unpackedSize":9942,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@2mag-io%2fbrand-ui@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCBSn5wLtG28H/jQiNVUjrAl/F+Vq3ccn1V2+Xl513vEQIhAMYpMA389oQLipFcDa3L6bBrepSVcphI/rVb5kweKjFT"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2bbfe313-c78d-4a92-b6bb-77af8270cdf6"}},"directories":{},"maintainers":[{"name":"2magio","email":"eric.dangelo@2mag.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/brand-ui_0.1.2_1787277652908_0.701686157836773"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T03:54:24.200Z","modified":"2026-08-21T02:00:53.487Z","0.1.0":"2026-07-01T03:54:24.518Z","0.1.1":"2026-08-12T13:31:06.555Z","0.1.2":"2026-08-21T02:00:53.073Z"},"bugs":{"url":"https://github.com/2MAG-IO/brand-ui/issues"},"license":"UNLICENSED","homepage":"https://github.com/2MAG-IO/brand-ui#readme","repository":{"type":"git","url":"git+https://github.com/2MAG-IO/brand-ui.git"},"description":"Shared Astro components (Navigation, Footer, BaseHead, ScrollReveal) for 2MAG.IO sites: shg.sg, 2mag.io, 2magnify.com.","maintainers":[{"name":"2magio","email":"eric.dangelo@2mag.io"}],"readme":"# @2mag-io/brand-ui\n\nShared [Astro](https://astro.build) components used across the three 2MAG.IO sites:\n**shg.sg**, **2mag.io**, and **2magnify.com**.\n\nThe package exists so that shared layout chrome is defined **once** and consumed\neverywhere, instead of being copy-pasted per repo (which had already drifted).\n\n## What's in scope\n\n| Component | Purpose |\n|---|---|\n| `Navigation.astro` | Site header / primary nav |\n| `Footer.astro` | Site footer |\n| `BaseHead.astro` | `<head>` meta, canonical font/link tags |\n| `ScrollReveal.astro` | Scroll-reveal animation helper |\n\n## What's explicitly NOT in scope\n\n**Design tokens.** `brand-tokens.css` continues to be served from the CDN\n(`https://brand.2mag.io/brand-tokens.css`, source: `2mag-website/public/brand-tokens.css`).\nThis package carries **components only, never tokens**.\n\n## Usage (once published)\n\n```sh\nnpm install @2mag-io/brand-ui\n```\n\n```astro\n---\nimport Navigation from '@2mag-io/brand-ui/Navigation.astro';\nimport Footer from '@2mag-io/brand-ui/Footer.astro';\n---\n<Navigation />\n<slot />\n<Footer />\n```\n\nRequires Astro `>=5.0.0` (peer dependency).\n\n## Publishing\n\nPublishing is automated. It runs when a **GitHub Release** is published\n(`.github/workflows/publish.yml`), authenticating to npm via\n**Trusted Publishing (OIDC)**: there is no npm token stored in this repo or in\nGitHub secrets. To cut a release:\n\n1. Bump `version` in `package.json`, commit, push to `main`.\n2. Create a GitHub Release with tag `v<version>` (matching `package.json`).\n3. The `Publish to npm` workflow publishes `@2mag-io/brand-ui@<version>`.\n\nConsuming sites receive version bumps automatically via Renovate.\n\n## Dependency updates\n\nRenovate watches this repo via `renovate.json`. Scope is deliberately narrow, because the\npackage itself has no runtime or dev dependencies:\n\n- **GitHub Actions** in `.github/workflows/publish.yml` are tracked. Minor and patch bumps\n  auto-merge; major bumps raise a PR and wait for a human, since runner and Node changes ride\n  along with them and this workflow publishes to npm via OIDC trusted publishing.\n- **`peerDependencies`** (`astro >=5.0.0`) is explicitly **not** tracked. That range states which\n  Astro versions consumers may use. Narrowing it is a release decision, not a dependency bump.\n\nThis differs on purpose from the three site repos, which disable everything except\n`@2mag-io/brand-ui`. They only want this package tracked; this package is published to three\nconsumers, so its own supply chain is worth watching. See `2MAG-Corporate\\TODO.md`.\n","readmeFilename":"README.md"}