@blocklet/ui-react 2.9.48 → 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.
@@ -127,7 +127,7 @@ export default function UserBasicInfo({
127
127
  ]
128
128
  }
129
129
  ),
130
- /* @__PURE__ */ jsx(DID, { did: user.did, copyable: false, compact: !showFullDid, responsive: !showFullDid }),
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
  {
@@ -299,7 +299,7 @@ export default function UserCenter({
299
299
  sx: {
300
300
  width: {
301
301
  sx: "100%",
302
- md: 400
302
+ md: 420
303
303
  },
304
304
  maxWidth: "100%",
305
305
  position: "relative"
@@ -121,9 +121,11 @@ function UserBasicInfo({
121
121
  }) : null]
122
122
  }), /* @__PURE__ */(0, _jsxRuntime.jsx)(_DID.default, {
123
123
  did: user.did,
124
- copyable: false,
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,
@@ -311,7 +311,7 @@ function UserCenter({
311
311
  sx: {
312
312
  width: {
313
313
  sx: "100%",
314
- md: 400
314
+ md: 420
315
315
  },
316
316
  maxWidth: "100%",
317
317
  position: "relative"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/ui-react",
3
- "version": "2.9.48",
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.48",
67
- "@arcblock/ux": "^2.9.48",
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": "0d53eb8454f7efc849119980227105d8bb3ee7ea"
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={false} compact={!showFullDid} responsive={!showFullDid} />
134
+ <DID did={user.did} showQrcode copyable compact={!showFullDid} responsive={!showFullDid} locale={locale} />
135
135
  {isMyself ? (
136
136
  <IconButton
137
137
  sx={{
@@ -334,7 +334,7 @@ export default function UserCenter({
334
334
  sx={{
335
335
  width: {
336
336
  sx: '100%',
337
- md: 400,
337
+ md: 420,
338
338
  },
339
339
  maxWidth: '100%',
340
340
  position: 'relative',