@meetreeve/ui 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -120,11 +120,13 @@ interface ResponsiveHeaderProps {
120
120
  /** Secondary nav links — inline on desktop, in the menu on mobile. */
121
121
  nav?: HeaderNavItem[];
122
122
  /**
123
- * Optional destination for the brand lockup. When set, the glyph + wordmark
124
- * become a single clickable link to this href (restores the "click the logo
125
- * to go home" affordance). When omitted, the lockup is a plain, non-link div.
123
+ * Destination for the brand lockup. The glyph + wordmark are a single
124
+ * clickable link — clicking the logo/wordmark always goes home (DEV-5340),
125
+ * so this DEFAULTS to "/". Pass a different href to point elsewhere, or
126
+ * `null` for the rare surface where the lockup must not navigate (renders
127
+ * a plain, non-link div).
126
128
  */
127
- brandHref?: string;
129
+ brandHref?: string | null;
128
130
  /**
129
131
  * Link renderer for the brand lockup and `nav` href items. Defaults to a bare
130
132
  * `"a"` so the package stays framework-agnostic; consumers pass their router's
package/dist/index.d.ts CHANGED
@@ -120,11 +120,13 @@ interface ResponsiveHeaderProps {
120
120
  /** Secondary nav links — inline on desktop, in the menu on mobile. */
121
121
  nav?: HeaderNavItem[];
122
122
  /**
123
- * Optional destination for the brand lockup. When set, the glyph + wordmark
124
- * become a single clickable link to this href (restores the "click the logo
125
- * to go home" affordance). When omitted, the lockup is a plain, non-link div.
123
+ * Destination for the brand lockup. The glyph + wordmark are a single
124
+ * clickable link — clicking the logo/wordmark always goes home (DEV-5340),
125
+ * so this DEFAULTS to "/". Pass a different href to point elsewhere, or
126
+ * `null` for the rare surface where the lockup must not navigate (renders
127
+ * a plain, non-link div).
126
128
  */
127
- brandHref?: string;
129
+ brandHref?: string | null;
128
130
  /**
129
131
  * Link renderer for the brand lockup and `nav` href items. Defaults to a bare
130
132
  * `"a"` so the package stays framework-agnostic; consumers pass their router's
package/dist/index.js CHANGED
@@ -296,7 +296,7 @@ function ResponsiveHeader({
296
296
  brand,
297
297
  search,
298
298
  nav,
299
- brandHref,
299
+ brandHref = "/",
300
300
  linkComponent,
301
301
  auth,
302
302
  themeToggle,
package/dist/index.mjs CHANGED
@@ -242,7 +242,7 @@ function ResponsiveHeader({
242
242
  brand,
243
243
  search,
244
244
  nav,
245
- brandHref,
245
+ brandHref = "/",
246
246
  linkComponent,
247
247
  auth,
248
248
  themeToggle,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meetreeve/ui",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Shared brand-adaptive UI primitives for MindFortress frontends — min-size tokens, a favicon→logo→monogram BrandGlyph, a responsive header that keeps the search bar usable on mobile, and AppSidebar's viewport-driven auto-collapse ladder.",
5
5
  "license": "UNLICENSED",
6
6
  "main": "./dist/index.js",