@riil-frontend/component-topology 2.14.2-alpha.13 → 2.14.2-alpha.15

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.
@@ -67,7 +67,18 @@
67
67
  }
68
68
  }
69
69
  }
70
- .alarm{
70
+ .alarm {
71
71
  margin-top: 12px;
72
+ .alarm-color-icon {
73
+ width: 12px;
74
+ height: 12px;
75
+ font-size: 12px;
76
+ margin-right: 4px;
77
+ }
78
+ :global {
79
+ .#{$css-prefix}btn-helper{
80
+ vertical-align: baseline;
81
+ }
82
+ }
72
83
  }
73
84
  }
@@ -74,7 +74,8 @@ function BaseInfo(props) {
74
74
  name: '',
75
75
  type: '',
76
76
  // 类型: node、link
77
- ciType: ''
77
+ ciType: '',
78
+ ciName: ''
78
79
  }),
79
80
  activeData = _useState2[0],
80
81
  setActiveData = _useState2[1];
@@ -92,12 +93,14 @@ function BaseInfo(props) {
92
93
  var id = data.id,
93
94
  name = data.name,
94
95
  type = data.type,
95
- ciType = data.ciType;
96
+ ciType = data.ciType,
97
+ ciName = data.ciName;
96
98
  setActiveData({
97
99
  id: id,
98
100
  name: name,
99
101
  type: type,
100
- ciType: ciType
102
+ ciType: ciType,
103
+ ciName: ciName
101
104
  });
102
105
 
103
106
  var _topo$ciTyeCache$getC = topo.ciTyeCache.getCiType(ciType),
@@ -141,6 +144,5 @@ function BaseInfo(props) {
141
144
  }, /*#__PURE__*/_react["default"].createElement(_ResourceOverview["default"], (0, _extends2["default"])({}, props, activeData))))));
142
145
  }
143
146
 
144
- ;
145
147
  var _default = BaseInfo;
146
148
  exports["default"] = _default;
@@ -1,7 +1,7 @@
1
1
  @import '~@alifd/next/variables.scss';
2
2
 
3
3
  .baseInfo {
4
- z-index: 1009;
4
+ // z-index: 1009 !important;
5
5
  :global {
6
6
  .#{$css-prefix}drawer-body {
7
7
  height: calc(100% - 46px);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riil-frontend/component-topology",
3
- "version": "2.14.2-alpha.13",
3
+ "version": "2.14.2-alpha.15",
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.14.2-alpha.13/build/index.html",
114
+ "homepage": "https://unpkg.com/@riil-frontend/component-topology@2.14.2-alpha.15/build/index.html",
115
115
  "gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
116
116
  }