@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 +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
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
|
-
*
|
|
124
|
-
*
|
|
125
|
-
* to
|
|
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
|
-
*
|
|
124
|
-
*
|
|
125
|
-
* to
|
|
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
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meetreeve/ui",
|
|
3
|
-
"version": "0.6.
|
|
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",
|