@replicated/portal-components 0.0.27 → 0.0.29
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/actions/branding-actions.d.mts +1 -1
- package/dist/actions/branding-actions.d.ts +1 -1
- package/dist/actions/branding-actions.js +15 -5
- package/dist/actions/branding-actions.js.map +1 -1
- package/dist/actions/change-team.js +13 -3
- package/dist/actions/change-team.js.map +1 -1
- package/dist/actions/index.d.mts +1 -1
- package/dist/actions/index.d.ts +1 -1
- package/dist/actions/index.js +16 -15
- package/dist/actions/index.js.map +1 -1
- package/dist/actions/install-actions.d.mts +1 -1
- package/dist/actions/install-actions.d.ts +1 -1
- package/dist/actions/install-actions.js +13 -3
- package/dist/actions/install-actions.js.map +1 -1
- package/dist/actions/invite-actions.js +13 -3
- package/dist/actions/invite-actions.js.map +1 -1
- package/dist/actions/magic-link-actions.d.mts +1 -1
- package/dist/actions/magic-link-actions.d.ts +1 -1
- package/dist/actions/magic-link-actions.js +15 -5
- package/dist/actions/magic-link-actions.js.map +1 -1
- package/dist/actions/service-account.d.mts +1 -1
- package/dist/actions/service-account.d.ts +1 -1
- package/dist/actions/service-account.js +13 -3
- package/dist/actions/service-account.js.map +1 -1
- package/dist/actions/support-bundles.d.mts +1 -1
- package/dist/actions/support-bundles.d.ts +1 -1
- package/dist/actions/support-bundles.js +13 -3
- package/dist/actions/support-bundles.js.map +1 -1
- package/dist/actions/team-settings.d.mts +1 -1
- package/dist/actions/team-settings.d.ts +1 -1
- package/dist/actions/team-settings.js +13 -3
- package/dist/actions/team-settings.js.map +1 -1
- package/dist/actions/trial-signup-actions.js +13 -3
- package/dist/actions/trial-signup-actions.js.map +1 -1
- package/dist/actions/trial-signup.js +13 -3
- package/dist/actions/trial-signup.js.map +1 -1
- package/dist/actions/user-settings.d.mts +1 -1
- package/dist/actions/user-settings.d.ts +1 -1
- package/dist/actions/user-settings.js +13 -3
- package/dist/actions/user-settings.js.map +1 -1
- package/dist/airgap-instances.d.mts +1 -1
- package/dist/airgap-instances.d.ts +1 -1
- package/dist/api/saml.js +13 -3
- package/dist/api/saml.js.map +1 -1
- package/dist/api/support-bundles.js +13 -3
- package/dist/api/support-bundles.js.map +1 -1
- package/dist/{branding-DmsrDTNE.d.mts → branding-C5H0L6Vi.d.mts} +13 -1
- package/dist/{branding-DmsrDTNE.d.ts → branding-C5H0L6Vi.d.ts} +13 -1
- package/dist/esm/actions/branding-actions.js +15 -5
- package/dist/esm/actions/branding-actions.js.map +1 -1
- package/dist/esm/actions/change-team.js +13 -3
- package/dist/esm/actions/change-team.js.map +1 -1
- package/dist/esm/actions/index.js +16 -15
- package/dist/esm/actions/index.js.map +1 -1
- package/dist/esm/actions/install-actions.js +13 -3
- package/dist/esm/actions/install-actions.js.map +1 -1
- package/dist/esm/actions/invite-actions.js +13 -3
- package/dist/esm/actions/invite-actions.js.map +1 -1
- package/dist/esm/actions/magic-link-actions.js +15 -5
- package/dist/esm/actions/magic-link-actions.js.map +1 -1
- package/dist/esm/actions/service-account.js +13 -3
- package/dist/esm/actions/service-account.js.map +1 -1
- package/dist/esm/actions/support-bundles.js +13 -3
- package/dist/esm/actions/support-bundles.js.map +1 -1
- package/dist/esm/actions/team-settings.js +13 -3
- package/dist/esm/actions/team-settings.js.map +1 -1
- package/dist/esm/actions/trial-signup-actions.js +13 -3
- package/dist/esm/actions/trial-signup-actions.js.map +1 -1
- package/dist/esm/actions/trial-signup.js +13 -3
- package/dist/esm/actions/trial-signup.js.map +1 -1
- package/dist/esm/actions/user-settings.js +13 -3
- package/dist/esm/actions/user-settings.js.map +1 -1
- package/dist/esm/api/saml.js +13 -3
- package/dist/esm/api/saml.js.map +1 -1
- package/dist/esm/api/support-bundles.js +13 -3
- package/dist/esm/api/support-bundles.js.map +1 -1
- package/dist/esm/helm-install-wizard.js +13 -3
- package/dist/esm/helm-install-wizard.js.map +1 -1
- package/dist/esm/index.js +51 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/install-actions.js +13 -3
- package/dist/esm/install-actions.js.map +1 -1
- package/dist/esm/license-details.js +13 -3
- package/dist/esm/license-details.js.map +1 -1
- package/dist/esm/linux-install-wizard.js +13 -3
- package/dist/esm/linux-install-wizard.js.map +1 -1
- package/dist/esm/support-card.js +13 -3
- package/dist/esm/support-card.js.map +1 -1
- package/dist/esm/top-nav.js +34 -7
- package/dist/esm/top-nav.js.map +1 -1
- package/dist/esm/update-layout.js +34 -7
- package/dist/esm/update-layout.js.map +1 -1
- package/dist/esm/use-verify-magic-link.js +4 -3
- package/dist/esm/use-verify-magic-link.js.map +1 -1
- package/dist/esm/user-menu-dropdown.js +6 -3
- package/dist/esm/user-menu-dropdown.js.map +1 -1
- package/dist/esm/utils/index.js +44 -5
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/helm-install-wizard.d.mts +2 -2
- package/dist/helm-install-wizard.d.ts +2 -2
- package/dist/helm-install-wizard.js +13 -3
- package/dist/helm-install-wizard.js.map +1 -1
- package/dist/{index-Bcp17Mf3.d.ts → index-7ibNULXY.d.ts} +3 -1
- package/dist/{index-DaH1bSuO.d.mts → index-CITwEYtK.d.mts} +3 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +51 -8
- package/dist/index.js.map +1 -1
- package/dist/install-actions.d.mts +2 -2
- package/dist/install-actions.d.ts +2 -2
- package/dist/install-actions.js +13 -3
- package/dist/install-actions.js.map +1 -1
- package/dist/instance-card.d.mts +1 -1
- package/dist/instance-card.d.ts +1 -1
- package/dist/license-details.js +13 -3
- package/dist/license-details.js.map +1 -1
- package/dist/linux-install-wizard.d.mts +2 -2
- package/dist/linux-install-wizard.d.ts +2 -2
- package/dist/linux-install-wizard.js +13 -3
- package/dist/linux-install-wizard.js.map +1 -1
- package/dist/online-instance-list.d.mts +1 -1
- package/dist/online-instance-list.d.ts +1 -1
- package/dist/pending-installations.d.mts +1 -1
- package/dist/pending-installations.d.ts +1 -1
- package/dist/security-card.d.mts +1 -1
- package/dist/security-card.d.ts +1 -1
- package/dist/styles.css +16 -0
- package/dist/support-bundles-card.d.mts +1 -1
- package/dist/support-bundles-card.d.ts +1 -1
- package/dist/support-card.js +13 -3
- package/dist/support-card.js.map +1 -1
- package/dist/{top-nav-8f2U69MF.d.ts → top-nav-B2FVC4rl.d.ts} +1 -1
- package/dist/{top-nav-B2yA3PC7.d.mts → top-nav-Cf8zMq1A.d.mts} +1 -1
- package/dist/top-nav.d.mts +2 -2
- package/dist/top-nav.d.ts +2 -2
- package/dist/top-nav.js +34 -7
- package/dist/top-nav.js.map +1 -1
- package/dist/update-layout.js +34 -7
- package/dist/update-layout.js.map +1 -1
- package/dist/use-verify-magic-link.d.mts +3 -2
- package/dist/use-verify-magic-link.d.ts +3 -2
- package/dist/use-verify-magic-link.js +4 -3
- package/dist/use-verify-magic-link.js.map +1 -1
- package/dist/user-menu-dropdown.d.mts +2 -1
- package/dist/user-menu-dropdown.d.ts +2 -1
- package/dist/user-menu-dropdown.js +6 -3
- package/dist/user-menu-dropdown.js.map +1 -1
- package/dist/utils/index.d.mts +2 -2
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.js +44 -4
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { Instance } from './install-actions.mjs';
|
|
3
|
-
import { C as ChannelRelease, I as InstallOptions, S as SecurityReleaseImage, G as GetSecurityInfoDiffResult } from './index-
|
|
3
|
+
import { C as ChannelRelease, I as InstallOptions, S as SecurityReleaseImage, G as GetSecurityInfoDiffResult } from './index-CITwEYtK.mjs';
|
|
4
4
|
import './fetch-license-iTyF7_GY.mjs';
|
|
5
5
|
import './actions/change-team.mjs';
|
|
6
6
|
import './actions/trial-signup.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { Instance } from './install-actions.js';
|
|
3
|
-
import { C as ChannelRelease, I as InstallOptions, S as SecurityReleaseImage, G as GetSecurityInfoDiffResult } from './index-
|
|
3
|
+
import { C as ChannelRelease, I as InstallOptions, S as SecurityReleaseImage, G as GetSecurityInfoDiffResult } from './index-7ibNULXY.js';
|
|
4
4
|
import './fetch-license-iTyF7_GY.js';
|
|
5
5
|
import './actions/change-team.js';
|
|
6
6
|
import './actions/trial-signup.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { p as FetchPendingInstallationsResult, D as DiscardInstallationResult, P as PendingInstallation } from './index-
|
|
2
|
+
import { p as FetchPendingInstallationsResult, D as DiscardInstallationResult, P as PendingInstallation } from './index-CITwEYtK.mjs';
|
|
3
3
|
import './fetch-license-iTyF7_GY.mjs';
|
|
4
4
|
import './actions/change-team.mjs';
|
|
5
5
|
import './actions/trial-signup.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { p as FetchPendingInstallationsResult, D as DiscardInstallationResult, P as PendingInstallation } from './index-
|
|
2
|
+
import { p as FetchPendingInstallationsResult, D as DiscardInstallationResult, P as PendingInstallation } from './index-7ibNULXY.js';
|
|
3
3
|
import './fetch-license-iTyF7_GY.js';
|
|
4
4
|
import './actions/change-team.js';
|
|
5
5
|
import './actions/trial-signup.js';
|
package/dist/security-card.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { S as SecurityReleaseImage, am as SecurityInfoDiff, ao as SBOMMetadata, ah as SecurityInstallType, C as ChannelRelease } from './index-
|
|
2
|
+
import { S as SecurityReleaseImage, am as SecurityInfoDiff, ao as SBOMMetadata, ah as SecurityInstallType, C as ChannelRelease } from './index-CITwEYtK.mjs';
|
|
3
3
|
import './fetch-license-iTyF7_GY.mjs';
|
|
4
4
|
import './actions/change-team.mjs';
|
|
5
5
|
import './actions/trial-signup.mjs';
|
package/dist/security-card.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { S as SecurityReleaseImage, am as SecurityInfoDiff, ao as SBOMMetadata, ah as SecurityInstallType, C as ChannelRelease } from './index-
|
|
2
|
+
import { S as SecurityReleaseImage, am as SecurityInfoDiff, ao as SBOMMetadata, ah as SecurityInstallType, C as ChannelRelease } from './index-7ibNULXY.js';
|
|
3
3
|
import './fetch-license-iTyF7_GY.js';
|
|
4
4
|
import './actions/change-team.js';
|
|
5
5
|
import './actions/trial-signup.js';
|
package/dist/styles.css
CHANGED
|
@@ -2168,6 +2168,14 @@ video {
|
|
|
2168
2168
|
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
2169
2169
|
}
|
|
2170
2170
|
|
|
2171
|
+
.text-white\/50 {
|
|
2172
|
+
color: rgb(255 255 255 / 0.5);
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
.text-white\/90 {
|
|
2176
|
+
color: rgb(255 255 255 / 0.9);
|
|
2177
|
+
}
|
|
2178
|
+
|
|
2171
2179
|
.text-yellow-500 {
|
|
2172
2180
|
--tw-text-opacity: 1;
|
|
2173
2181
|
color: rgb(234 179 8 / var(--tw-text-opacity, 1));
|
|
@@ -2709,6 +2717,10 @@ body {
|
|
|
2709
2717
|
border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
|
|
2710
2718
|
}
|
|
2711
2719
|
|
|
2720
|
+
.hover\:border-white\/20:hover {
|
|
2721
|
+
border-color: rgb(255 255 255 / 0.2);
|
|
2722
|
+
}
|
|
2723
|
+
|
|
2712
2724
|
.hover\:bg-blue-700:hover {
|
|
2713
2725
|
--tw-bg-opacity: 1;
|
|
2714
2726
|
background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
|
|
@@ -2764,6 +2776,10 @@ body {
|
|
|
2764
2776
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
|
|
2765
2777
|
}
|
|
2766
2778
|
|
|
2779
|
+
.hover\:bg-white\/10:hover {
|
|
2780
|
+
background-color: rgb(255 255 255 / 0.1);
|
|
2781
|
+
}
|
|
2782
|
+
|
|
2767
2783
|
.hover\:text-blue-700:hover {
|
|
2768
2784
|
--tw-text-opacity: 1;
|
|
2769
2785
|
color: rgb(29 78 216 / var(--tw-text-opacity, 1));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { q as SupportBundleSummary } from './index-
|
|
2
|
+
import { q as SupportBundleSummary } from './index-CITwEYtK.mjs';
|
|
3
3
|
import './fetch-license-iTyF7_GY.mjs';
|
|
4
4
|
import './actions/change-team.mjs';
|
|
5
5
|
import './actions/trial-signup.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { q as SupportBundleSummary } from './index-
|
|
2
|
+
import { q as SupportBundleSummary } from './index-7ibNULXY.js';
|
|
3
3
|
import './fetch-license-iTyF7_GY.js';
|
|
4
4
|
import './actions/change-team.js';
|
|
5
5
|
import './actions/trial-signup.js';
|
package/dist/support-card.js
CHANGED
|
@@ -99,14 +99,17 @@ var getApiOrigin = () => {
|
|
|
99
99
|
return (process.env.REPLICATED_APP_ORIGIN || "https://replicated.app").replace(/\/+$/, "");
|
|
100
100
|
};
|
|
101
101
|
var defineServerAction = (definition) => definition;
|
|
102
|
-
var fetchCustomBrandingImpl = async () => {
|
|
102
|
+
var fetchCustomBrandingImpl = async (version) => {
|
|
103
103
|
const appSlug = process.env.PORTAL_APP_SLUG;
|
|
104
104
|
if (!appSlug) {
|
|
105
105
|
throw new Error("PORTAL_APP_SLUG is not configured");
|
|
106
106
|
}
|
|
107
|
-
|
|
107
|
+
let url = `${getApiOrigin()}/enterprise-portal/public/branding?app_slug=${encodeURIComponent(
|
|
108
108
|
appSlug
|
|
109
109
|
)}`;
|
|
110
|
+
if (version) {
|
|
111
|
+
url += `&version=${encodeURIComponent(version)}`;
|
|
112
|
+
}
|
|
110
113
|
if (process.env.NODE_ENV !== "production") {
|
|
111
114
|
console.debug(
|
|
112
115
|
"[portal-components] fetching custom branding via %s (Enterprise Portal API)",
|
|
@@ -135,7 +138,14 @@ var fetchCustomBrandingImpl = async () => {
|
|
|
135
138
|
background: payload.background,
|
|
136
139
|
backgroundImage: payload.backgroundImage,
|
|
137
140
|
customColor1: payload.customColor1,
|
|
138
|
-
customColor2: payload.customColor2
|
|
141
|
+
customColor2: payload.customColor2,
|
|
142
|
+
headerColor: payload.headerColor,
|
|
143
|
+
headerGradientEnd: payload.headerGradientEnd,
|
|
144
|
+
sidebarColor: payload.sidebarColor,
|
|
145
|
+
sidebarGradientEnd: payload.sidebarGradientEnd,
|
|
146
|
+
contentBackgroundColor: payload.contentBackgroundColor,
|
|
147
|
+
contentBackgroundGradientEnd: payload.contentBackgroundGradientEnd,
|
|
148
|
+
customCSS: payload.customCSS
|
|
139
149
|
};
|
|
140
150
|
const brandingData = buffer.Buffer.from(JSON.stringify(brandingObject)).toString("base64");
|
|
141
151
|
return {
|