@moveindustries/wallet-adapter-move-design 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.js +4 -1
- package/dist/index.mjs +4 -1
- package/package.json +2 -2
- package/src/WalletSelector.tsx +9 -2
package/dist/index.js
CHANGED
|
@@ -1002,7 +1002,10 @@ function WalletSelector({ className }) {
|
|
|
1002
1002
|
),
|
|
1003
1003
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "absolute -right-1 -bottom-1 rounded-full bg-black transition-all duration-200", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(MoveIcon, { width: 10, height: 10 }) })
|
|
1004
1004
|
] }),
|
|
1005
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "hidden max-w-[
|
|
1005
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "hidden max-w-[140px] items-baseline gap-1 font-['Neue_Haas_Unica_Pro',sans-serif] text-sm leading-[1.225rem] font-medium md:inline-flex", children: (account == null ? void 0 : account.mnsName) ? /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1006
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "truncate", children: account.mnsName }),
|
|
1007
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "shrink-0 -translate-y-[1px] rounded-sm bg-[#81FFBA]/15 px-1 py-0.5 font-['TWK_Everett_Mono',monospace] text-[9px] font-bold leading-none tracking-wider text-[#81FFBA]", children: ".move" })
|
|
1008
|
+
] }) : reduceAddress(address) }),
|
|
1006
1009
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
1007
1010
|
CaretDownIcon2,
|
|
1008
1011
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -974,7 +974,10 @@ function WalletSelector({ className }) {
|
|
|
974
974
|
),
|
|
975
975
|
/* @__PURE__ */ jsx5("div", { className: "absolute -right-1 -bottom-1 rounded-full bg-black transition-all duration-200", children: /* @__PURE__ */ jsx5(MoveIcon, { width: 10, height: 10 }) })
|
|
976
976
|
] }),
|
|
977
|
-
/* @__PURE__ */ jsx5("span", { className: "hidden max-w-[
|
|
977
|
+
/* @__PURE__ */ jsx5("span", { className: "hidden max-w-[140px] items-baseline gap-1 font-['Neue_Haas_Unica_Pro',sans-serif] text-sm leading-[1.225rem] font-medium md:inline-flex", children: (account == null ? void 0 : account.mnsName) ? /* @__PURE__ */ jsxs5(Fragment2, { children: [
|
|
978
|
+
/* @__PURE__ */ jsx5("span", { className: "truncate", children: account.mnsName }),
|
|
979
|
+
/* @__PURE__ */ jsx5("span", { className: "shrink-0 -translate-y-[1px] rounded-sm bg-[#81FFBA]/15 px-1 py-0.5 font-['TWK_Everett_Mono',monospace] text-[9px] font-bold leading-none tracking-wider text-[#81FFBA]", children: ".move" })
|
|
980
|
+
] }) : reduceAddress(address) }),
|
|
978
981
|
/* @__PURE__ */ jsx5(
|
|
979
982
|
CaretDownIcon2,
|
|
980
983
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moveindustries/wallet-adapter-move-design",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Movement Wallet Adapter Move Design System - WalletModal component",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"clsx": "^2.1.1",
|
|
56
56
|
"tailwind-merge": "^3.0.1",
|
|
57
57
|
"class-variance-authority": "^0.7.1",
|
|
58
|
-
"@moveindustries/wallet-adapter-react": "7.
|
|
58
|
+
"@moveindustries/wallet-adapter-react": "7.3.0"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"react": "^18.0.0 || ^19.0.0",
|
package/src/WalletSelector.tsx
CHANGED
|
@@ -314,8 +314,15 @@ export function WalletSelector({ className }: WalletSelectorProps) {
|
|
|
314
314
|
</div>
|
|
315
315
|
</div>
|
|
316
316
|
|
|
317
|
-
<span className="hidden max-w-[
|
|
318
|
-
{
|
|
317
|
+
<span className="hidden max-w-[140px] items-baseline gap-1 font-['Neue_Haas_Unica_Pro',sans-serif] text-sm leading-[1.225rem] font-medium md:inline-flex">
|
|
318
|
+
{account?.mnsName ? (
|
|
319
|
+
<>
|
|
320
|
+
<span className="truncate">{account.mnsName}</span>
|
|
321
|
+
<span className="shrink-0 -translate-y-[1px] rounded-sm bg-[#81FFBA]/15 px-1 py-0.5 font-['TWK_Everett_Mono',monospace] text-[9px] font-bold leading-none tracking-wider text-[#81FFBA]">.move</span>
|
|
322
|
+
</>
|
|
323
|
+
) : (
|
|
324
|
+
reduceAddress(address)
|
|
325
|
+
)}
|
|
319
326
|
</span>
|
|
320
327
|
|
|
321
328
|
<CaretDownIcon
|