@riil-frontend/component-topology 2.15.4 → 2.15.5

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.
@@ -18,7 +18,7 @@ import DataModel from "./DataModel";
18
18
  import GraphDataModel from "./GraphDataModel";
19
19
  import { updateEdgeExpanded } from "../utils/edgeUtil"; // eslint-disable-next-line no-undef
20
20
 
21
- var version = typeof "2.15.4" === 'string' ? "2.15.4" : null;
21
+ var version = typeof "2.15.5" === 'string' ? "2.15.5" : null;
22
22
  console.info("\u62D3\u6251\u7248\u672C: " + version);
23
23
  var topoDebug = {};
24
24
  window.topoDebug = topoDebug;
@@ -60,7 +60,7 @@ export default function LindInfoPreview(props) {
60
60
  }, /*#__PURE__*/React.createElement(_Box, {
61
61
  className: styles.label
62
62
  }, field.label), /*#__PURE__*/React.createElement(_Box, {
63
- className: styles.labelValue,
63
+ className: field.name === "use" ? styles.uselabelValue : styles.labelValue,
64
64
  flex: 1
65
65
  }, getValue(field.name)));
66
66
  }); // <Collapse
@@ -13,8 +13,18 @@
13
13
 
14
14
  .labelValue {
15
15
  max-width: 160px;
16
- overflow-y: scroll;
17
16
  max-height: 200px;
17
+ overflow-x: hidden;
18
+ overflow-wrap: break-word;
19
+ }
20
+
21
+ .uselabelValue {
22
+ max-width: 160px;
23
+ max-height: 200px;
24
+ overflow-y: scroll;
25
+ overflow-x: hidden;
26
+ overflow-wrap: break-word;
27
+
18
28
  }
19
29
 
20
30
 
@@ -44,7 +44,7 @@ var _GraphDataModel = _interopRequireDefault(require("./GraphDataModel"));
44
44
  var _edgeUtil = require("../utils/edgeUtil");
45
45
 
46
46
  // eslint-disable-next-line no-undef
47
- var version = typeof "2.15.4" === 'string' ? "2.15.4" : null;
47
+ var version = typeof "2.15.5" === 'string' ? "2.15.5" : null;
48
48
  console.info("\u62D3\u6251\u7248\u672C: " + version);
49
49
  var topoDebug = {};
50
50
  window.topoDebug = topoDebug;
@@ -77,7 +77,7 @@ function LindInfoPreview(props) {
77
77
  }, /*#__PURE__*/_react["default"].createElement(_box["default"], {
78
78
  className: _LindInfoPreviewModule["default"].label
79
79
  }, field.label), /*#__PURE__*/_react["default"].createElement(_box["default"], {
80
- className: _LindInfoPreviewModule["default"].labelValue,
80
+ className: field.name === "use" ? _LindInfoPreviewModule["default"].uselabelValue : _LindInfoPreviewModule["default"].labelValue,
81
81
  flex: 1
82
82
  }, getValue(field.name)));
83
83
  }); // <Collapse
@@ -13,8 +13,18 @@
13
13
 
14
14
  .labelValue {
15
15
  max-width: 160px;
16
- overflow-y: scroll;
17
16
  max-height: 200px;
17
+ overflow-x: hidden;
18
+ overflow-wrap: break-word;
19
+ }
20
+
21
+ .uselabelValue {
22
+ max-width: 160px;
23
+ max-height: 200px;
24
+ overflow-y: scroll;
25
+ overflow-x: hidden;
26
+ overflow-wrap: break-word;
27
+
18
28
  }
19
29
 
20
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riil-frontend/component-topology",
3
- "version": "2.15.4",
3
+ "version": "2.15.5",
4
4
  "description": "拓扑",
5
5
  "scripts": {
6
6
  "start": "build-scripts start",
@@ -111,6 +111,6 @@
111
111
  "access": "public"
112
112
  },
113
113
  "license": "MIT",
114
- "homepage": "https://unpkg.com/@riil-frontend/component-topology@2.15.4/build/index.html",
114
+ "homepage": "https://unpkg.com/@riil-frontend/component-topology@2.15.5/build/index.html",
115
115
  "gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
116
116
  }