Skip to content

chore: update deps for fix dev bug in local #1451

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

exports[`Address > display address with default format 1`] = `
<span
class="ant-typography ant-web3-address css-dev-only-do-not-override-161f05s css-dev-only-do-not-override-161f05s"
class="ant-typography ant-web3-address css-dev-only-do-not-override-vrrzze css-dev-only-do-not-override-vrrzze"
>
<span>
<span
aria-describedby="test-id"
>
0x 21CD f097 4d53 a6e9 6eF0 5d7B 324a 9803 735f Fd3B
</span>
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`ProfileModal > match snapshot 1`] = `
<div />
<div>
<div
class="ant-modal-root css-dev-only-do-not-override-161f05s"
class="ant-modal-root css-dev-only-do-not-override-vrrzze"
>
<div
class="ant-modal-mask ant-fade-appear ant-fade-appear-start ant-fade"
Expand All @@ -16,7 +16,7 @@ exports[`ProfileModal > match snapshot 1`] = `
>
<div
aria-modal="true"
class="ant-modal css-dev-only-do-not-override-161f05s hashId ant-web3-connect-button-profile-modal ant-zoom-appear ant-zoom-appear-prepare ant-zoom"
class="ant-modal css-dev-only-do-not-override-vrrzze hashId ant-web3-connect-button-profile-modal ant-zoom-appear ant-zoom-appear-prepare ant-zoom"
role="dialog"
>
<div
Expand All @@ -32,6 +32,7 @@ exports[`ProfileModal > match snapshot 1`] = `
type="button"
>
<span
aria-label="Close"
class="ant-modal-close-x"
>
<span
Expand Down Expand Up @@ -61,13 +62,13 @@ exports[`ProfileModal > match snapshot 1`] = `
style="text-align: center;"
>
<div
class="ant-space css-dev-only-do-not-override-161f05s ant-space-vertical ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small"
class="ant-space css-dev-only-do-not-override-vrrzze ant-space-vertical ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small"
>
<div
class="ant-space-item"
>
<span
class="ant-avatar ant-avatar-circle ant-avatar-image css-dev-only-do-not-override-161f05s"
class="ant-avatar ant-avatar-circle ant-avatar-image css-dev-only-do-not-override-vrrzze"
>
<img
src="https://mdn.alipayobjects.com/huamei_mutawc/afts/img/A*9jfLS41kn00AAAAAAAAAAAAADlrGAQ/original"
Expand All @@ -87,9 +88,11 @@ exports[`ProfileModal > match snapshot 1`] = `
class="ant-space-item"
>
<span
class="ant-typography ant-typography-secondary ant-web3-address css-dev-only-do-not-override-161f05s css-dev-only-do-not-override-161f05s"
class="ant-typography ant-typography-secondary ant-web3-address css-dev-only-do-not-override-vrrzze css-dev-only-do-not-override-vrrzze"
>
<span>
<span
aria-describedby="test-id"
>
0x21CDf0974d53a6e96eF05d7B324a9803735fFd3B
</span>
</span>
Expand All @@ -103,15 +106,15 @@ exports[`ProfileModal > match snapshot 1`] = `
class="ant-web3-connect-button-profile-modal-footer hashId"
>
<button
class="ant-btn css-dev-only-do-not-override-161f05s ant-btn-default ant-btn-color-default ant-btn-variant-outlined"
class="ant-btn css-dev-only-do-not-override-vrrzze ant-btn-default ant-btn-color-default ant-btn-variant-outlined"
type="button"
>
<span>
Copy Address
</span>
</button>
<button
class="ant-btn css-dev-only-do-not-override-161f05s ant-btn-default ant-btn-color-default ant-btn-variant-outlined"
class="ant-btn css-dev-only-do-not-override-vrrzze ant-btn-default ant-btn-color-default ant-btn-variant-outlined"
type="button"
>
<span>
Expand All @@ -138,7 +141,7 @@ exports[`ProfileModal > match snapshot without name 1`] = `
<div />
<div>
<div
class="ant-modal-root css-dev-only-do-not-override-161f05s"
class="ant-modal-root css-dev-only-do-not-override-vrrzze"
>
<div
class="ant-modal-mask ant-fade-appear ant-fade-appear-start ant-fade"
Expand All @@ -149,7 +152,7 @@ exports[`ProfileModal > match snapshot without name 1`] = `
>
<div
aria-modal="true"
class="ant-modal css-dev-only-do-not-override-161f05s hashId ant-web3-connect-button-profile-modal ant-zoom-appear ant-zoom-appear-prepare ant-zoom"
class="ant-modal css-dev-only-do-not-override-vrrzze hashId ant-web3-connect-button-profile-modal ant-zoom-appear ant-zoom-appear-prepare ant-zoom"
role="dialog"
>
<div
Expand All @@ -165,6 +168,7 @@ exports[`ProfileModal > match snapshot without name 1`] = `
type="button"
>
<span
aria-label="Close"
class="ant-modal-close-x"
>
<span
Expand Down Expand Up @@ -194,13 +198,13 @@ exports[`ProfileModal > match snapshot without name 1`] = `
style="text-align: center;"
>
<div
class="ant-space css-dev-only-do-not-override-161f05s ant-space-vertical ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small"
class="ant-space css-dev-only-do-not-override-vrrzze ant-space-vertical ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small"
>
<div
class="ant-space-item"
>
<span
class="ant-avatar ant-avatar-circle ant-avatar-image css-dev-only-do-not-override-161f05s"
class="ant-avatar ant-avatar-circle ant-avatar-image css-dev-only-do-not-override-vrrzze"
>
<img
src="https://mdn.alipayobjects.com/huamei_mutawc/afts/img/A*9jfLS41kn00AAAAAAAAAAAAADlrGAQ/original"
Expand All @@ -211,9 +215,11 @@ exports[`ProfileModal > match snapshot without name 1`] = `
class="ant-space-item"
>
<span
class="ant-typography ant-web3-address css-dev-only-do-not-override-161f05s css-dev-only-do-not-override-161f05s"
class="ant-typography ant-web3-address css-dev-only-do-not-override-vrrzze css-dev-only-do-not-override-vrrzze"
>
<span>
<span
aria-describedby="test-id"
>
0x21CDf0974d53a6e96eF05d7B324a9803735fFd3B
</span>
</span>
Expand All @@ -227,15 +233,15 @@ exports[`ProfileModal > match snapshot without name 1`] = `
class="ant-web3-connect-button-profile-modal-footer hashId"
>
<button
class="ant-btn css-dev-only-do-not-override-161f05s ant-btn-default ant-btn-color-default ant-btn-variant-outlined"
class="ant-btn css-dev-only-do-not-override-vrrzze ant-btn-default ant-btn-color-default ant-btn-variant-outlined"
type="button"
>
<span>
Copy Address
</span>
</button>
<button
class="ant-btn css-dev-only-do-not-override-161f05s ant-btn-default ant-btn-color-default ant-btn-variant-outlined"
class="ant-btn css-dev-only-do-not-override-vrrzze ant-btn-default ant-btn-color-default ant-btn-variant-outlined"
type="button"
>
<span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ exports[`ConnectButton > should display formatted by custom formatter when pass
<body>
<div>
<button
class="ant-btn css-dev-only-do-not-override-161f05s ant-btn-default ant-btn-color-default ant-btn-variant-outlined ant-web3-connect-button css-dev-only-do-not-override-161f05s ant-tooltip-open"
aria-describedby="test-id"
class="ant-btn css-dev-only-do-not-override-vrrzze ant-btn-default ant-btn-color-default ant-btn-variant-outlined ant-web3-connect-button css-dev-only-do-not-override-vrrzze ant-tooltip-open"
type="button"
>
<div
Expand All @@ -17,9 +18,11 @@ exports[`ConnectButton > should display formatted by custom formatter when pass
class="ant-web3-connect-button-text"
>
<span
class="ant-typography ant-web3-address css-dev-only-do-not-override-161f05s css-dev-only-do-not-override-161f05s"
class="ant-typography ant-web3-address css-dev-only-do-not-override-vrrzze css-dev-only-do-not-override-vrrzze"
>
<span>
<span
aria-describedby="test-id"
>
0x3ea2...7c18
</span>
</span>
Expand All @@ -30,8 +33,8 @@ exports[`ConnectButton > should display formatted by custom formatter when pass
</div>
<div>
<div
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-web3-connect-button-tooltip css-dev-only-do-not-override-161f05s css-dev-only-do-not-override-161f05s ant-tooltip-placement-top"
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;"
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-web3-connect-button-tooltip css-dev-only-do-not-override-vrrzze css-dev-only-do-not-override-vrrzze ant-tooltip-placement-top"
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; right: auto; bottom: auto; box-sizing: border-box;"
>
<div
class="ant-tooltip-arrow"
Expand All @@ -42,6 +45,7 @@ exports[`ConnectButton > should display formatted by custom formatter when pass
>
<div
class="ant-tooltip-inner"
id="test-id"
role="tooltip"
>
<div
Expand Down
2 changes: 1 addition & 1 deletion packages/web3/src/connect-button/__tests__/theme.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('ConnectButton style', () => {
);
const { baseElement } = render(<App />);
const buttonStyle = window.getComputedStyle(baseElement.querySelector('.ant-btn')!);
expect(buttonStyle.backgroundColor).toBe('rgb(100, 46, 217)');
expect(buttonStyle.backgroundColor).toBe('rgb(132, 66, 255)');
expect(buttonStyle.color).toBe('rgb(255, 255, 255)');
});
});
Loading