@blocklet/ui-react 2.9.49 → 2.9.50
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/es/UserCenter/components/user-basic-info.js +1 -1
- package/es/UserCenter/components/user-center.js +1 -1
- package/lib/UserCenter/components/user-basic-info.js +4 -2
- package/lib/UserCenter/components/user-center.js +1 -1
- package/package.json +4 -4
- package/src/UserCenter/components/user-basic-info.tsx +1 -1
- package/src/UserCenter/components/user-center.tsx +1 -1
|
@@ -127,7 +127,7 @@ export default function UserBasicInfo({
|
|
|
127
127
|
]
|
|
128
128
|
}
|
|
129
129
|
),
|
|
130
|
-
/* @__PURE__ */ jsx(DID, { did: user.did, copyable:
|
|
130
|
+
/* @__PURE__ */ jsx(DID, { did: user.did, showQrcode: true, copyable: true, compact: !showFullDid, responsive: !showFullDid, locale }),
|
|
131
131
|
isMyself ? /* @__PURE__ */ jsx(
|
|
132
132
|
IconButton,
|
|
133
133
|
{
|
|
@@ -121,9 +121,11 @@ function UserBasicInfo({
|
|
|
121
121
|
}) : null]
|
|
122
122
|
}), /* @__PURE__ */(0, _jsxRuntime.jsx)(_DID.default, {
|
|
123
123
|
did: user.did,
|
|
124
|
-
|
|
124
|
+
showQrcode: true,
|
|
125
|
+
copyable: true,
|
|
125
126
|
compact: !showFullDid,
|
|
126
|
-
responsive: !showFullDid
|
|
127
|
+
responsive: !showFullDid,
|
|
128
|
+
locale
|
|
127
129
|
}), isMyself ? /* @__PURE__ */(0, _jsxRuntime.jsx)(_material.IconButton, {
|
|
128
130
|
sx: {
|
|
129
131
|
borderRadius: 2,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/ui-react",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.50",
|
|
4
4
|
"description": "Some useful front-end web components that can be used in Blocklets.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@abtnode/constant": "^1.16.24",
|
|
66
|
-
"@arcblock/did-connect": "^2.9.
|
|
67
|
-
"@arcblock/ux": "^2.9.
|
|
66
|
+
"@arcblock/did-connect": "^2.9.50",
|
|
67
|
+
"@arcblock/ux": "^2.9.50",
|
|
68
68
|
"@blocklet/js-sdk": "^1.16.24",
|
|
69
69
|
"@emotion/react": "^11.10.4",
|
|
70
70
|
"@emotion/styled": "^11.10.4",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"jest": "^28.1.3",
|
|
102
102
|
"unbuild": "^2.0.0"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "6e3bcb0e1a2a80b56a17ca055c44da8396b46273"
|
|
105
105
|
}
|
|
@@ -131,7 +131,7 @@ export default function UserBasicInfo({
|
|
|
131
131
|
/>
|
|
132
132
|
) : null}
|
|
133
133
|
</Typography>
|
|
134
|
-
<DID did={user.did} copyable
|
|
134
|
+
<DID did={user.did} showQrcode copyable compact={!showFullDid} responsive={!showFullDid} locale={locale} />
|
|
135
135
|
{isMyself ? (
|
|
136
136
|
<IconButton
|
|
137
137
|
sx={{
|