@replicated/portal-components 0.0.15 → 0.0.16
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/components/metadata/registry.json +2 -2
- package/components/metadata/registry.md +2 -2
- package/dist/esm/index.js +4 -10
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/top-nav.js +3 -9
- package/dist/esm/top-nav.js.map +1 -1
- package/dist/esm/update-layout.js +3 -9
- package/dist/esm/update-layout.js.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -10
- package/dist/index.js.map +1 -1
- package/dist/{top-nav-0mb1K_H0.d.mts → top-nav-IRIn66wS.d.mts} +2 -1
- package/dist/{top-nav-0mb1K_H0.d.ts → top-nav-IRIn66wS.d.ts} +2 -1
- package/dist/top-nav.d.mts +1 -1
- package/dist/top-nav.d.ts +1 -1
- package/dist/top-nav.js +3 -9
- package/dist/top-nav.js.map +1 -1
- package/dist/update-layout.js +3 -9
- package/dist/update-layout.js.map +1 -1
- package/package.json +2 -1
package/dist/esm/top-nav.js
CHANGED
|
@@ -237,7 +237,8 @@ var TopNav = async ({
|
|
|
237
237
|
customers,
|
|
238
238
|
currentCustomerId,
|
|
239
239
|
onChangeTeam,
|
|
240
|
-
userMenuChildren
|
|
240
|
+
userMenuChildren,
|
|
241
|
+
logoutButton
|
|
241
242
|
}) => {
|
|
242
243
|
const displayLabel = userMenuLabel || (customerName ? `Team: ${customerName}` : "Team: Example");
|
|
243
244
|
let logo;
|
|
@@ -386,14 +387,7 @@ var TopNav = async ({
|
|
|
386
387
|
}
|
|
387
388
|
),
|
|
388
389
|
userMenuChildren,
|
|
389
|
-
|
|
390
|
-
"a",
|
|
391
|
-
{
|
|
392
|
-
href: `${process.env.NEXT_PUBLIC_BASE_PATH || ""}/?expired=1`,
|
|
393
|
-
className: "block w-full px-4 py-2 text-left hover:bg-gray-100",
|
|
394
|
-
children: "Logout"
|
|
395
|
-
}
|
|
396
|
-
)
|
|
390
|
+
logoutButton
|
|
397
391
|
] })
|
|
398
392
|
] })
|
|
399
393
|
] }),
|