@mxenabled/connect-widget 1.1.0 → 1.2.0
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.es.js +21 -13
- package/dist/index.es.js.map +1 -1
- package/dist/lastBuild.txt +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -69381,15 +69381,23 @@ const ConnectLogoHeader = (props) => {
|
|
|
69381
69381
|
const tokens = useTokens();
|
|
69382
69382
|
const styles = getStyles$M();
|
|
69383
69383
|
const defaultInstitutionImage = () => colorScheme === COLOR_SCHEME.LIGHT ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { borderRadius: tokens.BorderRadius.Large }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgConnectHeaderInstitutionLight, {}) }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { borderRadius: tokens.BorderRadius.Large }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgConnectHeaderInstitutionDark, {}) });
|
|
69384
|
+
const defaultAggregatorLogo = () => colorScheme === COLOR_SCHEME.LIGHT ? /* @__PURE__ */ jsxRuntimeExports.jsx(SvgConnectHeaderBackdropLight, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(SvgConnectHeaderBackdropDark, {});
|
|
69384
69385
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "aria-hidden": true, style: styles.container, children: [
|
|
69385
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-test": "mxLogo", style: styles.backdropImage, children:
|
|
69386
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-test": "mxLogo", style: styles.backdropImage, children: props?.institution?.aggregator_logo_url ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69387
|
+
"img",
|
|
69388
|
+
{
|
|
69389
|
+
alt: "aggregator logo",
|
|
69390
|
+
src: props.institution.aggregator_logo_url,
|
|
69391
|
+
style: styles.aggregatorLogo
|
|
69392
|
+
}
|
|
69393
|
+
) : defaultAggregatorLogo() }),
|
|
69386
69394
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.clientLogo, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ClientLogo, { alt: "Client logo", clientGuid, size: 64 }) }),
|
|
69387
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.institutionLogo, children: props
|
|
69395
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.institutionLogo, children: props?.institution?.guid ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69388
69396
|
De,
|
|
69389
69397
|
{
|
|
69390
69398
|
alt: "Institution logo",
|
|
69391
|
-
institutionGuid: props.
|
|
69392
|
-
logoUrl: props.
|
|
69399
|
+
institutionGuid: props.institution.guid,
|
|
69400
|
+
logoUrl: props.institution.logo_url,
|
|
69393
69401
|
size: 64,
|
|
69394
69402
|
style: { borderRadius: tokens.BorderRadius.Large }
|
|
69395
69403
|
}
|
|
@@ -69429,6 +69437,12 @@ const getStyles$M = () => {
|
|
|
69429
69437
|
width: maxHeight,
|
|
69430
69438
|
marginLeft: "80px",
|
|
69431
69439
|
zIndex: 20
|
|
69440
|
+
},
|
|
69441
|
+
aggregatorLogo: {
|
|
69442
|
+
width: "88px",
|
|
69443
|
+
height: "80px",
|
|
69444
|
+
zIndex: 10,
|
|
69445
|
+
position: "relative"
|
|
69432
69446
|
}
|
|
69433
69447
|
};
|
|
69434
69448
|
};
|
|
@@ -69758,7 +69772,7 @@ const DisclosureInterstitial = React__default.forwardRef((props, interstitialNav
|
|
|
69758
69772
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(DataAvailable, {});
|
|
69759
69773
|
}
|
|
69760
69774
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
|
|
69761
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(SlideDown, { delay: getNextDelay(), children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.logoHeader, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ConnectLogoHeader, {
|
|
69775
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SlideDown, { delay: getNextDelay(), children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.logoHeader, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ConnectLogoHeader, { institution }) }) }),
|
|
69762
69776
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(SlideDown, { delay: getNextDelay(), children: [
|
|
69763
69777
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.flexGroup, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69764
69778
|
x,
|
|
@@ -71572,13 +71586,7 @@ const Connecting = (props) => {
|
|
|
71572
71586
|
}
|
|
71573
71587
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ref: connectingRef, style: styles.container, children: [
|
|
71574
71588
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(SlideDown, { delay: getNextDelay(), children: [
|
|
71575
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.logoHeader, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
71576
|
-
ConnectLogoHeader,
|
|
71577
|
-
{
|
|
71578
|
-
institutionGuid: institution.guid,
|
|
71579
|
-
institutionLogo: institution.logo_url
|
|
71580
|
-
}
|
|
71581
|
-
) }),
|
|
71589
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.logoHeader, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ConnectLogoHeader, { institution }) }),
|
|
71582
71590
|
/* @__PURE__ */ jsxRuntimeExports.jsx(x, { component: "h2", style: styles.subHeader, truncate: false, variant: "H2", children: __("Connecting to %1", institution.name) })
|
|
71583
71591
|
] }),
|
|
71584
71592
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SlideDown, { delay: getNextDelay(), children: /* @__PURE__ */ jsxRuntimeExports.jsx(ProgressBar, { jobSchedule }) }),
|
|
@@ -77219,7 +77227,7 @@ const DynamicDisclosure = React__default.forwardRef(
|
|
|
77219
77227
|
}
|
|
77220
77228
|
);
|
|
77221
77229
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(StickyComponentContainer, { footer, footerStyle: { borderTop: "" }, ref: containerRef, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
|
|
77222
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(SlideDown, { delay: getNextDelay(), children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.logoHeader, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ConnectLogoHeader, {
|
|
77230
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SlideDown, { delay: getNextDelay(), children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.logoHeader, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ConnectLogoHeader, { institution }) }) }),
|
|
77223
77231
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SlideDown, { delay: getNextDelay(), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
77224
77232
|
x,
|
|
77225
77233
|
{
|