@web3auth/modal 10.13.0 → 10.13.2

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  var noModal = require('@web3auth/no-modal');
4
4
 
5
- const version = "10.13.0";
5
+ const version = "10.13.2";
6
6
  const defaultConnectorsModalConfig = {
7
7
  hideWalletDiscovery: false,
8
8
  connectors: {
@@ -44,7 +44,7 @@ function SocialLoginButton(props) {
44
44
  "w3a--rounded-none": buttonRadius === "square"
45
45
  }),
46
46
  children: [showIcon && getProviderIcon(method, isDark, isPrimaryBtn), children, showText && jsxRuntime.jsx("p", {
47
- className: "w3a--text-sm w3a--font-normal w3a--text-app-gray-900 dark:w3a--text-app-white",
47
+ className: "w3a--text-base w3a--font-normal w3a--text-app-gray-900 dark:w3a--text-app-white",
48
48
  children: text
49
49
  })]
50
50
  });
@@ -46,7 +46,7 @@ function SocialLoginList(props) {
46
46
  return "w3a--grid-cols-4";
47
47
  }
48
48
  };
49
- if (visibleRow.length !== 0 && (otherRow === null || otherRow === void 0 ? void 0 : otherRow.length) === 0) {
49
+ if ((visibleRow.length !== 0 || mainOptionsRow.length !== 0) && (otherRow === null || otherRow === void 0 ? void 0 : otherRow.length) === 0) {
50
50
  return jsxRuntime.jsxs("div", {
51
51
  className: "w3a--flex w3a--w-full w3a--flex-col w3a--items-center w3a--justify-center w3a--gap-y-2",
52
52
  children: [jsxRuntime.jsx("div", {
@@ -1,6 +1,6 @@
1
1
  import { EVM_CONNECTORS } from '@web3auth/no-modal';
2
2
 
3
- const version = "10.13.0";
3
+ const version = "10.13.2";
4
4
  const defaultConnectorsModalConfig = {
5
5
  hideWalletDiscovery: false,
6
6
  connectors: {
@@ -42,7 +42,7 @@ function SocialLoginButton(props) {
42
42
  "w3a--rounded-none": buttonRadius === "square"
43
43
  }),
44
44
  children: [showIcon && getProviderIcon(method, isDark, isPrimaryBtn), children, showText && /*#__PURE__*/jsx("p", {
45
- className: "w3a--text-sm w3a--font-normal w3a--text-app-gray-900 dark:w3a--text-app-white",
45
+ className: "w3a--text-base w3a--font-normal w3a--text-app-gray-900 dark:w3a--text-app-white",
46
46
  children: text
47
47
  })]
48
48
  });
@@ -44,7 +44,7 @@ function SocialLoginList(props) {
44
44
  return "w3a--grid-cols-4";
45
45
  }
46
46
  };
47
- if (visibleRow.length !== 0 && (otherRow === null || otherRow === void 0 ? void 0 : otherRow.length) === 0) {
47
+ if ((visibleRow.length !== 0 || mainOptionsRow.length !== 0) && (otherRow === null || otherRow === void 0 ? void 0 : otherRow.length) === 0) {
48
48
  return /*#__PURE__*/jsxs("div", {
49
49
  className: "w3a--flex w3a--w-full w3a--flex-col w3a--items-center w3a--justify-center w3a--gap-y-2",
50
50
  children: [/*#__PURE__*/jsx("div", {