@arcblock/ux 2.8.22 → 2.8.24

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/DID/index.js CHANGED
@@ -59,6 +59,7 @@ const DID = /*#__PURE__*/forwardRef(({
59
59
  const fontSize = getFontSize(rest.size);
60
60
  const prepend = [/*#__PURE__*/_jsx("span", {
61
61
  style: {
62
+ flex: '0 0 auto',
62
63
  fontSize,
63
64
  color: getFontColor(did, didMotifInfo, isEthDid)
64
65
  },
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.22",
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": "9a9bd48a435a939a1ef443fe75dbc5e955b4e811",
327
+ "gitHead": "833bf851689c10567615f93fdfe934ec4fd7a492",
328
328
  "dependencies": {
329
329
  "@arcblock/did-motif": "^1.1.13",
330
- "@arcblock/icons": "^2.8.22",
331
- "@arcblock/react-hooks": "^2.8.22",
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 }}>