@aptos-labs/wallet-adapter-ant-design 5.2.2 → 5.3.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/CHANGELOG.md +21 -0
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +2 -2
- package/src/WalletSelector.tsx +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @aptos-labs/wallet-adapter-ant-design
|
|
2
2
|
|
|
3
|
+
## 5.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d2d308c: Bump @aptos-connect/wallet-adapter-plugin to 2.7.0
|
|
8
|
+
- b3474b3: Update AC dns to web.petra.app
|
|
9
|
+
- 499e03e: Rename aptos connect to petra web
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [d2d308c]
|
|
14
|
+
- Updated dependencies [b3474b3]
|
|
15
|
+
- Updated dependencies [499e03e]
|
|
16
|
+
- @aptos-labs/wallet-adapter-react@7.2.0
|
|
17
|
+
|
|
18
|
+
## 5.2.3
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- @aptos-labs/wallet-adapter-react@7.1.3
|
|
23
|
+
|
|
3
24
|
## 5.2.2
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -145,7 +145,7 @@ function WalletSelector(_a) {
|
|
|
145
145
|
onClick: screen.cancel
|
|
146
146
|
}
|
|
147
147
|
),
|
|
148
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "wallet-modal-title", children: "About
|
|
148
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "wallet-modal-title", children: "About Petra Web" })
|
|
149
149
|
] }),
|
|
150
150
|
children: [
|
|
151
151
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "about-aptos-connect-graphic-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(screen.Graphic, {}) }),
|
|
@@ -193,7 +193,7 @@ function WalletSelector(_a) {
|
|
|
193
193
|
__spreadProps(__spreadValues({}, modalProps), {
|
|
194
194
|
title: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "wallet-modal-title", children: hasAptosConnectWallets ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
195
195
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Log in or sign up" }),
|
|
196
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "with Social +
|
|
196
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "with Social + Petra Web" })
|
|
197
197
|
] }) : "Connect Wallet" }),
|
|
198
198
|
children: !connected && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
199
199
|
hasAptosConnectWallets && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_antd.Flex, { vertical: true, gap: 12, children: [
|
|
@@ -209,7 +209,7 @@ function WalletSelector(_a) {
|
|
|
209
209
|
"Learn more about",
|
|
210
210
|
" ",
|
|
211
211
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_wallet_adapter_react.AboutAptosConnect.Trigger, { className: "about-aptos-connect-trigger", children: [
|
|
212
|
-
"
|
|
212
|
+
"Petra Web",
|
|
213
213
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icons.ArrowRightOutlined, {})
|
|
214
214
|
] })
|
|
215
215
|
] }),
|
package/dist/index.mjs
CHANGED
|
@@ -144,7 +144,7 @@ function WalletSelector(_a) {
|
|
|
144
144
|
onClick: screen.cancel
|
|
145
145
|
}
|
|
146
146
|
),
|
|
147
|
-
/* @__PURE__ */ jsx("div", { className: "wallet-modal-title", children: "About
|
|
147
|
+
/* @__PURE__ */ jsx("div", { className: "wallet-modal-title", children: "About Petra Web" })
|
|
148
148
|
] }),
|
|
149
149
|
children: [
|
|
150
150
|
/* @__PURE__ */ jsx("div", { className: "about-aptos-connect-graphic-wrapper", children: /* @__PURE__ */ jsx(screen.Graphic, {}) }),
|
|
@@ -192,7 +192,7 @@ function WalletSelector(_a) {
|
|
|
192
192
|
__spreadProps(__spreadValues({}, modalProps), {
|
|
193
193
|
title: /* @__PURE__ */ jsx("div", { className: "wallet-modal-title", children: hasAptosConnectWallets ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
194
194
|
/* @__PURE__ */ jsx("span", { children: "Log in or sign up" }),
|
|
195
|
-
/* @__PURE__ */ jsx("span", { children: "with Social +
|
|
195
|
+
/* @__PURE__ */ jsx("span", { children: "with Social + Petra Web" })
|
|
196
196
|
] }) : "Connect Wallet" }),
|
|
197
197
|
children: !connected && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
198
198
|
hasAptosConnectWallets && /* @__PURE__ */ jsxs(Flex, { vertical: true, gap: 12, children: [
|
|
@@ -208,7 +208,7 @@ function WalletSelector(_a) {
|
|
|
208
208
|
"Learn more about",
|
|
209
209
|
" ",
|
|
210
210
|
/* @__PURE__ */ jsxs(AboutAptosConnect.Trigger, { className: "about-aptos-connect-trigger", children: [
|
|
211
|
-
"
|
|
211
|
+
"Petra Web",
|
|
212
212
|
/* @__PURE__ */ jsx(ArrowRightOutlined, {})
|
|
213
213
|
] })
|
|
214
214
|
] }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aptos-labs/wallet-adapter-ant-design",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "Aptos Wallet Adapter ant-design",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@ant-design/icons": "^5.3.7",
|
|
47
47
|
"antd": "^5.18.3",
|
|
48
|
-
"@aptos-labs/wallet-adapter-react": "7.
|
|
48
|
+
"@aptos-labs/wallet-adapter-react": "7.2.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": "^18.0.0 || ^19.0.0",
|
package/src/WalletSelector.tsx
CHANGED
|
@@ -136,7 +136,7 @@ export function WalletSelector({
|
|
|
136
136
|
icon={<ArrowLeftOutlined />}
|
|
137
137
|
onClick={screen.cancel}
|
|
138
138
|
/>
|
|
139
|
-
<div className="wallet-modal-title">About
|
|
139
|
+
<div className="wallet-modal-title">About Petra Web</div>
|
|
140
140
|
</div>
|
|
141
141
|
}
|
|
142
142
|
>
|
|
@@ -197,7 +197,7 @@ export function WalletSelector({
|
|
|
197
197
|
{hasAptosConnectWallets ? (
|
|
198
198
|
<>
|
|
199
199
|
<span>Log in or sign up</span>
|
|
200
|
-
<span>with Social +
|
|
200
|
+
<span>with Social + Petra Web</span>
|
|
201
201
|
</>
|
|
202
202
|
) : (
|
|
203
203
|
"Connect Wallet"
|
|
@@ -219,7 +219,7 @@ export function WalletSelector({
|
|
|
219
219
|
<p className="about-aptos-connect-trigger-wrapper">
|
|
220
220
|
Learn more about{" "}
|
|
221
221
|
<AboutAptosConnect.Trigger className="about-aptos-connect-trigger">
|
|
222
|
-
|
|
222
|
+
Petra Web
|
|
223
223
|
<ArrowRightOutlined />
|
|
224
224
|
</AboutAptosConnect.Trigger>
|
|
225
225
|
</p>
|