@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/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ export { PortalThemeOverrides, PortalThemeTokens, createPortalTheme, portalTheme
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
4
4
|
export { LicenseDetails, LicenseDetailsProps } from './license-details.mjs';
|
|
5
|
-
export { C as Customer, b as TopNav, T as TopNavLink, a as TopNavProps, d as defaultTopNavLinks } from './top-nav-
|
|
5
|
+
export { C as Customer, b as TopNav, T as TopNavLink, a as TopNavProps, d as defaultTopNavLinks } from './top-nav-IRIn66wS.mjs';
|
|
6
6
|
export { a as UpdatesCard, U as UpdatesCardProps } from './updates-card-BbubBrVR.mjs';
|
|
7
7
|
export { SupportCard } from './support-card.mjs';
|
|
8
8
|
export { UserSettings, UserSettingsCustomer, UserSettingsNotification, UserSettingsProps, UserSettingsTeam, UserSettingsUser } from './user-settings.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { PortalThemeOverrides, PortalThemeTokens, createPortalTheme, portalTheme
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
4
4
|
export { LicenseDetails, LicenseDetailsProps } from './license-details.js';
|
|
5
|
-
export { C as Customer, b as TopNav, T as TopNavLink, a as TopNavProps, d as defaultTopNavLinks } from './top-nav-
|
|
5
|
+
export { C as Customer, b as TopNav, T as TopNavLink, a as TopNavProps, d as defaultTopNavLinks } from './top-nav-IRIn66wS.js';
|
|
6
6
|
export { a as UpdatesCard, U as UpdatesCardProps } from './updates-card-BbubBrVR.js';
|
|
7
7
|
export { SupportCard } from './support-card.js';
|
|
8
8
|
export { UserSettings, UserSettingsCustomer, UserSettingsNotification, UserSettingsProps, UserSettingsTeam, UserSettingsUser } from './user-settings.js';
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ var Link__default = /*#__PURE__*/_interopDefault(Link);
|
|
|
16
16
|
|
|
17
17
|
// package.json
|
|
18
18
|
var package_default = {
|
|
19
|
-
version: "0.0.
|
|
19
|
+
version: "0.0.16"};
|
|
20
20
|
|
|
21
21
|
// src/tokens/index.ts
|
|
22
22
|
var baseTokens = {
|
|
@@ -1723,7 +1723,8 @@ var TopNav = async ({
|
|
|
1723
1723
|
customers,
|
|
1724
1724
|
currentCustomerId,
|
|
1725
1725
|
onChangeTeam,
|
|
1726
|
-
userMenuChildren
|
|
1726
|
+
userMenuChildren,
|
|
1727
|
+
logoutButton
|
|
1727
1728
|
}) => {
|
|
1728
1729
|
const displayLabel = userMenuLabel || (customerName ? `Team: ${customerName}` : "Team: Example");
|
|
1729
1730
|
let logo;
|
|
@@ -1872,14 +1873,7 @@ var TopNav = async ({
|
|
|
1872
1873
|
}
|
|
1873
1874
|
),
|
|
1874
1875
|
userMenuChildren,
|
|
1875
|
-
|
|
1876
|
-
"a",
|
|
1877
|
-
{
|
|
1878
|
-
href: `${process.env.NEXT_PUBLIC_BASE_PATH || ""}/?expired=1`,
|
|
1879
|
-
className: "block w-full px-4 py-2 text-left hover:bg-gray-100",
|
|
1880
|
-
children: "Logout"
|
|
1881
|
-
}
|
|
1882
|
-
)
|
|
1876
|
+
logoutButton
|
|
1883
1877
|
] })
|
|
1884
1878
|
] })
|
|
1885
1879
|
] }),
|