@inf-monkeys-tech/monkeys-design 0.4.44 → 0.4.45

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.mjs CHANGED
@@ -20529,6 +20529,7 @@ function LoginPage({
20529
20529
  const currentMethodId = activeMethodId ?? internalMethodId;
20530
20530
  const activeMethod = availableMethods.find((method) => method.id === currentMethodId) ?? availableMethods[0];
20531
20531
  const hasTabs = availableMethods.length > 1;
20532
+ const showAuthMethods = !externalPanel;
20532
20533
  const backgroundImage = createBackgroundImage(background?.gradient, background?.imageUrl);
20533
20534
  const backgroundMode = backgroundImage ? "custom" : "default";
20534
20535
  const logoPosition = normalizeLogoPosition(logo?.position);
@@ -20652,7 +20653,7 @@ function LoginPage({
20652
20653
  /* @__PURE__ */ jsx("span", { children: backAction.label })
20653
20654
  ] }) : null,
20654
20655
  title ? /* @__PURE__ */ jsx("h1", { className: "login-page__title", "data-login-part": "title", children: title }) : null,
20655
- hasTabs ? /* @__PURE__ */ jsx("div", { className: "login-page__tabs", "data-login-part": "tabs", role: "tablist", children: availableMethods.map((method) => {
20656
+ showAuthMethods && hasTabs ? /* @__PURE__ */ jsx("div", { className: "login-page__tabs", "data-login-part": "tabs", role: "tablist", children: availableMethods.map((method) => {
20656
20657
  const selected = method.id === activeMethod?.id;
20657
20658
  return /* @__PURE__ */ jsxs(
20658
20659
  "button",
@@ -20690,7 +20691,7 @@ function LoginPage({
20690
20691
  }
20691
20692
  ) : null
20692
20693
  ] }) : null
20693
- ] }) : activeMethod ? /* @__PURE__ */ jsxs(
20694
+ ] }) : showAuthMethods && activeMethod ? /* @__PURE__ */ jsxs(
20694
20695
  "form",
20695
20696
  {
20696
20697
  className: "login-page__form-fields",