@arcblock/ux 2.8.22 → 2.8.24
Sign up to get free protection for your applications and to get access to all the features.
- package/es/DID/index.js +1 -0
- package/lib/DID/index.js +1 -0
- package/package.json +4 -4
- package/src/DID/index.jsx +1 -1
package/es/DID/index.js
CHANGED
package/lib/DID/index.js
CHANGED
@@ -77,6 +77,7 @@ const DID = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
77
77
|
const fontSize = (0, _Util.getFontSize)(rest.size);
|
78
78
|
const prepend = [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
79
79
|
style: {
|
80
|
+
flex: '0 0 auto',
|
80
81
|
fontSize,
|
81
82
|
color: getFontColor(did, didMotifInfo, isEthDid)
|
82
83
|
},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arcblock/ux",
|
3
|
-
"version": "2.8.
|
3
|
+
"version": "2.8.24",
|
4
4
|
"description": "Common used react components for arcblock products",
|
5
5
|
"keywords": [
|
6
6
|
"react",
|
@@ -324,11 +324,11 @@
|
|
324
324
|
"peerDependencies": {
|
325
325
|
"react": ">=18.1.0"
|
326
326
|
},
|
327
|
-
"gitHead": "
|
327
|
+
"gitHead": "833bf851689c10567615f93fdfe934ec4fd7a492",
|
328
328
|
"dependencies": {
|
329
329
|
"@arcblock/did-motif": "^1.1.13",
|
330
|
-
"@arcblock/icons": "^2.8.
|
331
|
-
"@arcblock/react-hooks": "^2.8.
|
330
|
+
"@arcblock/icons": "^2.8.24",
|
331
|
+
"@arcblock/react-hooks": "^2.8.24",
|
332
332
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
333
333
|
"@emotion/react": "^11.10.4",
|
334
334
|
"@emotion/styled": "^11.10.4",
|
package/src/DID/index.jsx
CHANGED
@@ -67,7 +67,7 @@ const DID = forwardRef(({ did, ...rest }, ref) => {
|
|
67
67
|
const didMotifInfo = isEthDid ? undefined : getDIDMotifInfo(did);
|
68
68
|
const fontSize = getFontSize(rest.size);
|
69
69
|
const prepend = [
|
70
|
-
<span key="prefix-did" style={{ fontSize, color: getFontColor(did, didMotifInfo, isEthDid) }}>
|
70
|
+
<span key="prefix-did" style={{ flex: '0 0 auto', fontSize, color: getFontColor(did, didMotifInfo, isEthDid) }}>
|
71
71
|
DID:
|
72
72
|
</span>,
|
73
73
|
<span key="prefix-abt" className="did-address-text" style={{ fontSize }}>
|