@orderly.network/wallet-connector-privy 3.0.4 → 3.1.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.js CHANGED
@@ -940,7 +940,7 @@ var PwaDialog = ui.modal.create((props) => {
940
940
  justify: "center",
941
941
  children: [
942
942
  /* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "oui-text-base-static-contrast-80 oui-text-[18px] oui-leading-[36px] oui-flex-1 oui-text-center oui-whitespace-nowrap", children: domain }),
943
- /* @__PURE__ */ jsxRuntime.jsx(ShareIcon, { className: "oui-absolute oui-right-4 oui-top-1/2 oui-translate-y-[-50%]" })
943
+ /* @__PURE__ */ jsxRuntime.jsx(ShareIcon, { className: "oui-absolute oui-end-4 oui-top-1/2 oui-translate-y-[-50%]" })
944
944
  ]
945
945
  }
946
946
  ) })
@@ -2193,7 +2193,7 @@ var RenderWalletType = ({ walletType }) => {
2193
2193
  className: "oui-relative oui-z-0 oui-h-[18px] oui-w-[49px]"
2194
2194
  }
2195
2195
  ) }),
2196
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "oui-relative oui-left-[-9px] oui-flex oui-items-center oui-justify-center oui-gap-1", children: [
2196
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "oui-relative oui-start-[-9px] oui-flex oui-items-center oui-justify-center oui-gap-1", children: [
2197
2197
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-flex oui-size-[18px] oui-items-center oui-justify-center oui-rounded-full oui-bg-base-5", children: /* @__PURE__ */ jsxRuntime.jsx(EVMChainPopover, { children: /* @__PURE__ */ jsxRuntime.jsx(
2198
2198
  MoreIcon,
2199
2199
  {
@@ -2356,7 +2356,7 @@ function AddEvmWallet() {
2356
2356
  className: "oui-relative oui-z-0 oui-h-[18px]"
2357
2357
  }
2358
2358
  ),
2359
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-absolute oui-right-0 oui-flex oui-size-[18px] oui-items-center oui-justify-center oui-rounded-full oui-bg-base-5", children: /* @__PURE__ */ jsxRuntime.jsx(EVMChainPopover, { children: /* @__PURE__ */ jsxRuntime.jsx(
2359
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-absolute oui-end-0 oui-flex oui-size-[18px] oui-items-center oui-justify-center oui-rounded-full oui-bg-base-5", children: /* @__PURE__ */ jsxRuntime.jsx(EVMChainPopover, { children: /* @__PURE__ */ jsxRuntime.jsx(
2360
2360
  MoreIcon,
2361
2361
  {
2362
2362
  className: "oui-relative oui-z-10 oui-size-3 oui-text-base-contrast-54 hover:oui-text-base-contrast",
@@ -2682,7 +2682,7 @@ function CreateEVMWallet() {
2682
2682
  className: "oui-relative oui-z-0 oui-h-[18px]"
2683
2683
  }
2684
2684
  ),
2685
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-absolute oui-right-0 oui-flex oui-size-[18px] oui-items-center oui-justify-center oui-rounded-full oui-bg-base-5", children: /* @__PURE__ */ jsxRuntime.jsx(EVMChainPopover, { children: /* @__PURE__ */ jsxRuntime.jsx(
2685
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-absolute oui-end-0 oui-flex oui-size-[18px] oui-items-center oui-justify-center oui-rounded-full oui-bg-base-5", children: /* @__PURE__ */ jsxRuntime.jsx(EVMChainPopover, { children: /* @__PURE__ */ jsxRuntime.jsx(
2686
2686
  MoreIcon,
2687
2687
  {
2688
2688
  className: "oui-relative oui-z-10 oui-size-3 oui-text-base-contrast-54 hover:oui-text-base-contrast",
@@ -2977,7 +2977,7 @@ function ConnectDrawer(props) {
2977
2977
  children: isConnected ? t("connector.privy.myWallet") : t("connector.connectWallet")
2978
2978
  }
2979
2979
  );
2980
- }, [isConnected]);
2980
+ }, [isConnected, t]);
2981
2981
  return /* @__PURE__ */ jsxRuntime.jsxs(
2982
2982
  ui.SimpleSheet,
2983
2983
  {
@@ -2988,7 +2988,7 @@ function ConnectDrawer(props) {
2988
2988
  // overlay: "!oui-bg-base-10/60",
2989
2989
  content: ui.cn(
2990
2990
  "!oui-p-4 !oui-bg-base-9 !oui-border !oui-border-solid !oui-border-line-12",
2991
- isMobile ? "oui-inset-y-0 oui-right-0 oui-w-[280px] oui-rounded-none !oui-bg-base-8" : "!oui-bottom-[30px] oui-right-3 oui-top-[48px] !oui-h-auto oui-w-[300px] oui-overflow-hidden oui-rounded-[16px] !oui-bg-base-9 "
2991
+ isMobile ? "oui-inset-y-0 oui-end-0 oui-w-[280px] oui-rounded-none !oui-bg-base-8" : "!oui-bottom-[30px] oui-end-3 oui-top-[48px] !oui-h-auto oui-w-[300px] oui-overflow-hidden oui-rounded-[16px] !oui-bg-base-9 "
2992
2992
  )
2993
2993
  },
2994
2994
  contentProps: { side: "right", closeable: false },