@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.mjs CHANGED
@@ -915,7 +915,7 @@ var PwaDialog = modal.create((props) => {
915
915
  justify: "center",
916
916
  children: [
917
917
  /* @__PURE__ */ jsx(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 }),
918
- /* @__PURE__ */ jsx(ShareIcon, { className: "oui-absolute oui-right-4 oui-top-1/2 oui-translate-y-[-50%]" })
918
+ /* @__PURE__ */ jsx(ShareIcon, { className: "oui-absolute oui-end-4 oui-top-1/2 oui-translate-y-[-50%]" })
919
919
  ]
920
920
  }
921
921
  ) })
@@ -2168,7 +2168,7 @@ var RenderWalletType = ({ walletType }) => {
2168
2168
  className: "oui-relative oui-z-0 oui-h-[18px] oui-w-[49px]"
2169
2169
  }
2170
2170
  ) }),
2171
- /* @__PURE__ */ jsxs("div", { className: "oui-relative oui-left-[-9px] oui-flex oui-items-center oui-justify-center oui-gap-1", children: [
2171
+ /* @__PURE__ */ jsxs("div", { className: "oui-relative oui-start-[-9px] oui-flex oui-items-center oui-justify-center oui-gap-1", children: [
2172
2172
  /* @__PURE__ */ jsx("div", { className: "oui-flex oui-size-[18px] oui-items-center oui-justify-center oui-rounded-full oui-bg-base-5", children: /* @__PURE__ */ jsx(EVMChainPopover, { children: /* @__PURE__ */ jsx(
2173
2173
  MoreIcon,
2174
2174
  {
@@ -2331,7 +2331,7 @@ function AddEvmWallet() {
2331
2331
  className: "oui-relative oui-z-0 oui-h-[18px]"
2332
2332
  }
2333
2333
  ),
2334
- /* @__PURE__ */ 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__ */ jsx(EVMChainPopover, { children: /* @__PURE__ */ jsx(
2334
+ /* @__PURE__ */ 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__ */ jsx(EVMChainPopover, { children: /* @__PURE__ */ jsx(
2335
2335
  MoreIcon,
2336
2336
  {
2337
2337
  className: "oui-relative oui-z-10 oui-size-3 oui-text-base-contrast-54 hover:oui-text-base-contrast",
@@ -2657,7 +2657,7 @@ function CreateEVMWallet() {
2657
2657
  className: "oui-relative oui-z-0 oui-h-[18px]"
2658
2658
  }
2659
2659
  ),
2660
- /* @__PURE__ */ 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__ */ jsx(EVMChainPopover, { children: /* @__PURE__ */ jsx(
2660
+ /* @__PURE__ */ 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__ */ jsx(EVMChainPopover, { children: /* @__PURE__ */ jsx(
2661
2661
  MoreIcon,
2662
2662
  {
2663
2663
  className: "oui-relative oui-z-10 oui-size-3 oui-text-base-contrast-54 hover:oui-text-base-contrast",
@@ -2952,7 +2952,7 @@ function ConnectDrawer(props) {
2952
2952
  children: isConnected ? t("connector.privy.myWallet") : t("connector.connectWallet")
2953
2953
  }
2954
2954
  );
2955
- }, [isConnected]);
2955
+ }, [isConnected, t]);
2956
2956
  return /* @__PURE__ */ jsxs(
2957
2957
  SimpleSheet,
2958
2958
  {
@@ -2963,7 +2963,7 @@ function ConnectDrawer(props) {
2963
2963
  // overlay: "!oui-bg-base-10/60",
2964
2964
  content: cn(
2965
2965
  "!oui-p-4 !oui-bg-base-9 !oui-border !oui-border-solid !oui-border-line-12",
2966
- 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 "
2966
+ 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 "
2967
2967
  )
2968
2968
  },
2969
2969
  contentProps: { side: "right", closeable: false },