@arcblock/ux 2.9.60 → 2.9.61

Sign up to get free protection for your applications and to get access to all the features.
package/es/DID/index.js CHANGED
@@ -136,6 +136,7 @@ const DID = /*#__PURE__*/forwardRef(({
136
136
  children: [/*#__PURE__*/_jsx(Address, {
137
137
  ref: ref,
138
138
  locale: locale,
139
+ content: `did:abt:${did}`,
139
140
  ...rest,
140
141
  prepend: prepend,
141
142
  append: showQrcode ? /*#__PURE__*/_jsx(Box, {
@@ -182,6 +183,7 @@ const DID = /*#__PURE__*/forwardRef(({
182
183
  children: /*#__PURE__*/_jsx(Address, {
183
184
  copyable: true,
184
185
  locale: locale,
186
+ content: `did:abt:${did}`,
185
187
  children: did
186
188
  })
187
189
  })]
package/lib/DID/index.js CHANGED
@@ -150,7 +150,8 @@ const DID = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
150
150
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
151
151
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Address.default, _objectSpread(_objectSpread({
152
152
  ref: ref,
153
- locale: locale
153
+ locale: locale,
154
+ content: "did:abt:".concat(did)
154
155
  }, rest), {}, {
155
156
  prepend: prepend,
156
157
  append: showQrcode ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Box, {
@@ -197,6 +198,7 @@ const DID = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
197
198
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Address.default, {
198
199
  copyable: true,
199
200
  locale: locale,
201
+ content: "did:abt:".concat(did),
200
202
  children: did
201
203
  })
202
204
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/ux",
3
- "version": "2.9.60",
3
+ "version": "2.9.61",
4
4
  "description": "Common used react components for arcblock products",
5
5
  "keywords": [
6
6
  "react",
@@ -358,12 +358,12 @@
358
358
  "@mui/material": "^5.15.0",
359
359
  "react": ">=18.2.0"
360
360
  },
361
- "gitHead": "fdeb4c09774c3abf8401ac7bf5a619415677c502",
361
+ "gitHead": "2349446884f18459b909c2dfe32f4411554f83da",
362
362
  "dependencies": {
363
363
  "@arcblock/did-motif": "^1.1.13",
364
- "@arcblock/icons": "^2.9.60",
365
- "@arcblock/nft-display": "^2.9.60",
366
- "@arcblock/react-hooks": "^2.9.60",
364
+ "@arcblock/icons": "^2.9.61",
365
+ "@arcblock/nft-display": "^2.9.61",
366
+ "@arcblock/react-hooks": "^2.9.61",
367
367
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
368
368
  "@emotion/react": "^11.10.4",
369
369
  "@emotion/styled": "^11.10.4",
package/src/DID/index.jsx CHANGED
@@ -130,6 +130,7 @@ const DID = forwardRef(({ did, showAvatar, showQrcode, chainId, locale, ...rest
130
130
  <Address
131
131
  ref={ref}
132
132
  locale={locale}
133
+ content={`did:abt:${did}`}
133
134
  {...rest}
134
135
  prepend={prepend}
135
136
  append={
@@ -164,7 +165,7 @@ const DID = forwardRef(({ did, showAvatar, showQrcode, chainId, locale, ...rest
164
165
  level="M"
165
166
  />
166
167
  <Box sx={{ marginTop: 1, textAlign: 'center' }}>
167
- <Address copyable locale={locale}>
168
+ <Address copyable locale={locale} content={`did:abt:${did}`}>
168
169
  {did}
169
170
  </Address>
170
171
  </Box>