@arcblock/ux 2.11.39 → 2.11.40

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.
@@ -6,7 +6,7 @@ export default function OpenInWallet({
6
6
  link,
7
7
  locale = 'zh'
8
8
  }) {
9
- const buttonText = locale === 'zh' ? '在 DID 钱包打开' : 'Open in DID Wallet';
9
+ const buttonText = locale === 'zh' ? '在 DID Wallet 打开' : 'Open in DID Wallet';
10
10
  const browser = useBrowser();
11
11
  if (browser.mobile.any && !(browser.wallet || browser.arcSphere) && !browser.wechat) {
12
12
  const deepLink = `abt://abtwallet.io/i?action=requestOpenUrl&url=${encodeURIComponent(link)}`;
@@ -27,7 +27,7 @@ export default function WechatPrompt() {
27
27
  className: "wechat-tip",
28
28
  children: [/*#__PURE__*/_jsx(Typography, {
29
29
  className: "wechat-tip-text",
30
- children: "2. \u70B9\u51FB\u201C\u5728\u6D4F\u89C8\u5668\u6253\u5F00\u201D\uFF0C\u624D\u80FD\u8C03\u8D77 DID \u94B1\u5305"
30
+ children: "2. \u70B9\u51FB\u201C\u5728\u6D4F\u89C8\u5668\u6253\u5F00\u201D\uFF0C\u624D\u80FD\u8C03\u8D77 DID Wallet"
31
31
  }), /*#__PURE__*/_jsx("img", {
32
32
  className: "wechat-tip-img",
33
33
  src: AndroidImage,
@@ -48,7 +48,7 @@ export default function WechatPrompt() {
48
48
  className: "wechat-tip",
49
49
  children: [/*#__PURE__*/_jsx(Typography, {
50
50
  className: "wechat-tip-text",
51
- children: "2. \u70B9\u51FB\u201C\u5728Safari\u4E2D\u6253\u5F00\u201D\uFF0C\u624D\u80FD\u8C03\u8D77 DID \u94B1\u5305"
51
+ children: "2. \u70B9\u51FB\u201C\u5728Safari\u4E2D\u6253\u5F00\u201D\uFF0C\u624D\u80FD\u8C03\u8D77 DID Wallet"
52
52
  }), /*#__PURE__*/_jsx("img", {
53
53
  className: "wechat-tip-img",
54
54
  src: IosImage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/ux",
3
- "version": "2.11.39",
3
+ "version": "2.11.40",
4
4
  "description": "Common used react components for arcblock products",
5
5
  "keywords": [
6
6
  "react",
@@ -68,12 +68,12 @@
68
68
  "react": ">=18.2.0",
69
69
  "react-router-dom": ">=6.22.3"
70
70
  },
71
- "gitHead": "25c50d858ec85c90cefcbe43b4e841f039b0800a",
71
+ "gitHead": "902304719f15accb2719003cc28a60f87cd00275",
72
72
  "dependencies": {
73
73
  "@arcblock/did-motif": "^1.1.13",
74
- "@arcblock/icons": "^2.11.39",
75
- "@arcblock/nft-display": "^2.11.39",
76
- "@arcblock/react-hooks": "^2.11.39",
74
+ "@arcblock/icons": "^2.11.40",
75
+ "@arcblock/nft-display": "^2.11.40",
76
+ "@arcblock/react-hooks": "^2.11.40",
77
77
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
78
78
  "@fontsource/inter": "^5.0.16",
79
79
  "@fontsource/ubuntu-mono": "^5.0.18",
@@ -10,7 +10,7 @@ export interface OpenInWalletProps {
10
10
  }
11
11
 
12
12
  export default function OpenInWallet({ link, locale = 'zh' }: OpenInWalletProps) {
13
- const buttonText = locale === 'zh' ? '在 DID 钱包打开' : 'Open in DID Wallet';
13
+ const buttonText = locale === 'zh' ? '在 DID Wallet 打开' : 'Open in DID Wallet';
14
14
  const browser = useBrowser();
15
15
 
16
16
  if (browser.mobile.any && !(browser.wallet || browser.arcSphere) && !browser.wechat) {
@@ -24,7 +24,7 @@ export default function WechatPrompt() {
24
24
  <Container>
25
25
  <Typography className="wechat-title">1. 轻触右上方菜单</Typography>
26
26
  <div className="wechat-tip">
27
- <Typography className="wechat-tip-text">2. 点击“在浏览器打开”,才能调起 DID 钱包</Typography>
27
+ <Typography className="wechat-tip-text">2. 点击“在浏览器打开”,才能调起 DID Wallet</Typography>
28
28
  <img className="wechat-tip-img" src={AndroidImage} alt="Open in Android Browser" />
29
29
  </div>
30
30
  </Container>
@@ -37,7 +37,7 @@ export default function WechatPrompt() {
37
37
  <Container>
38
38
  <Typography className="wechat-title">1. 轻触右上方菜单</Typography>
39
39
  <div className="wechat-tip">
40
- <Typography className="wechat-tip-text">2. 点击“在Safari中打开”,才能调起 DID 钱包</Typography>
40
+ <Typography className="wechat-tip-text">2. 点击“在Safari中打开”,才能调起 DID Wallet</Typography>
41
41
  <img className="wechat-tip-img" src={IosImage} alt="Open in Safari" />
42
42
  </div>
43
43
  </Container>