@titaui/pc 1.10.11 → 1.10.12

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.
Files changed (25) hide show
  1. package/lib/components/communication/CommunicationRecord.js +6 -2
  2. package/lib/components/communication/index.css +6 -2
  3. package/lib/components/dynamic/dynamic-item/components/header/index.js +2 -2
  4. package/lib/components/dynamic/dynamic-item/dynamic-align/index.css +12 -2
  5. package/lib/components/dynamic/dynamic-item/dynamic-align/index.js +2 -10
  6. package/lib/components/dynamic/dynamic-item/dynamic-announcement/index.css +1 -1
  7. package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.css +1 -1
  8. package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.css +9 -7
  9. package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.js +1 -6
  10. package/lib/components/dynamic/dynamic-item/dynamic-kr/index.css +2 -2
  11. package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.css +2 -2
  12. package/lib/components/dynamic/dynamic-item/dynamic-okrs-communication/index.css +1 -1
  13. package/lib/components/dynamic/dynamic-item/dynamic-plan-communication/index.css +1 -1
  14. package/lib/components/dynamic/dynamic-item/dynamic-progress/index.css +2 -2
  15. package/lib/components/dynamic/dynamic-item/dynamic-project/index.css +1 -1
  16. package/lib/components/dynamic/dynamic-item/dynamic-relative/index.css +12 -4
  17. package/lib/components/dynamic/dynamic-item/dynamic-relative/index.js +2 -10
  18. package/lib/components/dynamic/dynamic-item/dynamic-replay/index.css +1 -1
  19. package/lib/components/dynamic/dynamic-item/dynamic-report/index.css +1 -1
  20. package/lib/components/dynamic/dynamic-item/dynamic-reward/index.css +1 -1
  21. package/lib/components/dynamic/dynamic-item/dynamic-share/index.css +1 -1
  22. package/lib/components/dynamic/dynamic-item/dynamic-share-to-dynamic/index.css +1 -1
  23. package/lib/components/dynamic/dynamic-item/dynamic-task/index.css +2 -2
  24. package/lib/components/dynamic/dynamic-like-ranking/item.js +1 -1
  25. package/package.json +1 -1
@@ -80,14 +80,18 @@ var CommunicationRecord = function CommunicationRecord(_ref) {
80
80
  display: 'flex',
81
81
  alignItems: 'center'
82
82
  }
83
- }, communicationTrack.commentType != 2 ? /*#__PURE__*/_react["default"].createElement("span", null, /*#__PURE__*/_react["default"].createElement(_ConvertUserName["default"], {
83
+ }, communicationTrack.commentType != 2 ? /*#__PURE__*/_react["default"].createElement("span", {
84
+ className: "".concat(prefix, "__communication-item")
85
+ }, /*#__PURE__*/_react["default"].createElement(_ConvertUserName["default"], {
84
86
  userName: communicationTrack.publishUser.name,
85
87
  userId: communicationTrack.publishUser.userId
86
88
  }), /*#__PURE__*/_react["default"].createElement("span", {
87
89
  className: "".concat(prefix, "__communication-time")
88
90
  }, /*#__PURE__*/_react["default"].createElement("span", {
89
91
  className: "".concat(prefix, "__communication-time-point")
90
- }, "\xB7"), communicationTrack.createDate)) : /*#__PURE__*/_react["default"].createElement("span", null, /*#__PURE__*/_react["default"].createElement(_ConvertUserName["default"], {
92
+ }, "\xB7"), communicationTrack.createDate)) : /*#__PURE__*/_react["default"].createElement("span", {
93
+ className: "".concat(prefix, "__communication-item")
94
+ }, /*#__PURE__*/_react["default"].createElement(_ConvertUserName["default"], {
91
95
  userName: communicationTrack.publishUser.name,
92
96
  userId: communicationTrack.publishUser.userId
93
97
  }), /*#__PURE__*/_react["default"].createElement("span", {
@@ -1,3 +1,8 @@
1
+ .titaui-communication__communication-item {
2
+ display: flex;
3
+ align-items: center;
4
+ }
5
+
1
6
  .titaui-communication__communication-text {
2
7
  font-size: 14px;
3
8
  color: #89919f;
@@ -91,13 +96,12 @@
91
96
  .titaui-communication__reply-default-input-text {
92
97
  flex: 1;
93
98
  cursor: text;
94
- font-size: 14px;
99
+ font-size: 12px;
95
100
  color: #BFC7D5;
96
101
  line-height: 22px;
97
102
  margin-left: 12px;
98
103
  height: 32px;
99
104
  border-radius: 16px;
100
- background: rgba(240, 244, 250, 0.6);
101
105
  border-radius: 16px;
102
106
  border: 1px solid #E9ECF0;
103
107
  display: flex;
@@ -247,10 +247,10 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
247
247
  }, /*#__PURE__*/_react["default"].createElement(_avatar["default"], {
248
248
  name: user.name,
249
249
  userId: user.id || user.userId,
250
- src: user.avatar.medium,
250
+ src: user.avatar.original || user.avatar.medium,
251
251
  color: user.avatar.color,
252
252
  size: {
253
- width: 52,
253
+ width: 48,
254
254
  textNum: 1,
255
255
  fontSize: 18
256
256
  }
@@ -74,6 +74,16 @@
74
74
  margin-right: 8px;
75
75
  }
76
76
 
77
+ .titaui-dynamic-align-item__obj-principal-user::after {
78
+ content: '';
79
+ width: 1px;
80
+ height: 14px;
81
+ background: linear-gradient(180deg, rgba(191, 199, 213, 0) 0%, #bfc7d5 50%, rgba(240, 242, 245, 0) 100%);
82
+ display: inline-block;
83
+ margin: 0 8px;
84
+ vertical-align: text-top;
85
+ }
86
+
77
87
  .titaui-dynamic-align-item__obj-cycle {
78
88
  font-size: 12px;
79
89
  color: #89919f;
@@ -89,11 +99,11 @@
89
99
  }
90
100
 
91
101
  .titaui-dynamic-align-item__space {
92
- height: 23px;
102
+ height: 30px;
93
103
  }
94
104
 
95
105
  .titaui-dynamic-align-item__operate-desc {
96
- font-size: 16px;
106
+ font-size: 14px;
97
107
  font-weight: 400;
98
108
  color: #89919f;
99
109
  line-height: 24px;
@@ -33,8 +33,6 @@ var _dynamicAlignO = _interopRequireDefault(require("./img/dynamic-align-o.png")
33
33
 
34
34
  var _dynamicAlignKr = _interopRequireDefault(require("./img/dynamic-align-kr.png"));
35
35
 
36
- var _dynamicPoint = _interopRequireDefault(require("../../img/dynamic-point.svg"));
37
-
38
36
  require("./index.css");
39
37
 
40
38
  var _excluded = ["data"];
@@ -143,10 +141,7 @@ var DynamicAlign = function DynamicAlign(_ref) {
143
141
  }, parentPrincipalUser && /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
144
142
  id: parentPrincipalUser.userId,
145
143
  name: parentPrincipalUser.name
146
- })), /*#__PURE__*/_react["default"].createElement("img", {
147
- src: _dynamicPoint["default"],
148
- alt: ""
149
- }), /*#__PURE__*/_react["default"].createElement("span", {
144
+ })), /*#__PURE__*/_react["default"].createElement("span", {
150
145
  className: "".concat(prefix, "__obj-cycle")
151
146
  }, parentcycleName))))), /*#__PURE__*/_react["default"].createElement("img", {
152
147
  className: "".concat(prefix, "__align-img"),
@@ -181,10 +176,7 @@ var DynamicAlign = function DynamicAlign(_ref) {
181
176
  }, principalUser && /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
182
177
  id: principalUser.userId,
183
178
  name: principalUser.name
184
- })), /*#__PURE__*/_react["default"].createElement("img", {
185
- src: _dynamicPoint["default"],
186
- alt: ""
187
- }), /*#__PURE__*/_react["default"].createElement("span", {
179
+ })), /*#__PURE__*/_react["default"].createElement("span", {
188
180
  className: "".concat(prefix, "__obj-cycle")
189
181
  }, cycleName)))))));
190
182
  };
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  .titaui-dynamic-announcement-item__operate-desc {
18
- font-size: 16px;
18
+ font-size: 14px;
19
19
  font-weight: 400;
20
20
  color: #89919f;
21
21
  line-height: 24px;
@@ -77,7 +77,7 @@
77
77
  }
78
78
 
79
79
  .titaui-dynamic-assessment-item__operate-desc {
80
- font-size: 16px;
80
+ font-size: 14px;
81
81
  font-weight: 400;
82
82
  color: #89919f;
83
83
  line-height: 24px;
@@ -58,12 +58,14 @@
58
58
  line-height: 18px;
59
59
  }
60
60
 
61
- .titaui-dynamic-create-o-item__okr-type {
62
- margin-right: 8px;
63
- }
64
-
65
- .titaui-dynamic-create-o-item__okr-cycle {
66
- margin-left: 8px;
61
+ .titaui-dynamic-create-o-item__okr-type::after {
62
+ content: '';
63
+ width: 1px;
64
+ height: 14px;
65
+ background: linear-gradient(180deg, rgba(191, 199, 213, 0) 0%, #bfc7d5 50%, rgba(240, 242, 245, 0) 100%);
66
+ display: inline-block;
67
+ margin: 0 8px;
68
+ vertical-align: text-top;
67
69
  }
68
70
 
69
71
  .titaui-dynamic-create-o-item__okr-krs {
@@ -97,7 +99,7 @@
97
99
  }
98
100
 
99
101
  .titaui-dynamic-create-o-item__operate-desc {
100
- font-size: 16px;
102
+ font-size: 14px;
101
103
  font-weight: 400;
102
104
  color: #89919f;
103
105
  line-height: 24px;
@@ -29,8 +29,6 @@ var _progress = _interopRequireDefault(require("../../../progress"));
29
29
 
30
30
  var _util = require("../../util");
31
31
 
32
- var _dynamicPoint = _interopRequireDefault(require("../../img/dynamic-point.svg"));
33
-
34
32
  require("./index.css");
35
33
 
36
34
  var _excluded = ["data"];
@@ -162,10 +160,7 @@ var DynamicCreateO = function DynamicCreateO(_ref) {
162
160
  className: "".concat(prefix, "__okr")
163
161
  }, /*#__PURE__*/_react["default"].createElement("span", {
164
162
  className: "".concat(prefix, "__okr-type")
165
- }, okrTypeInfo.text), /*#__PURE__*/_react["default"].createElement("img", {
166
- src: _dynamicPoint["default"],
167
- alt: ""
168
- }), /*#__PURE__*/_react["default"].createElement("span", {
163
+ }, okrTypeInfo.text), /*#__PURE__*/_react["default"].createElement("span", {
169
164
  className: "".concat(prefix, "__okr-cycle")
170
165
  }, cycleName)), krs && krs.length > 0 && /*#__PURE__*/_react["default"].createElement("div", {
171
166
  className: "".concat(prefix, "__okr-krs")
@@ -51,7 +51,7 @@
51
51
  }
52
52
 
53
53
  .titaui-dynamic-kr-item__object-name {
54
- font-size: 16px;
54
+ font-size: 14px;
55
55
  color: #2879ff;
56
56
  line-height: 24px;
57
57
  margin: 0 4px;
@@ -64,7 +64,7 @@
64
64
  }
65
65
 
66
66
  .titaui-dynamic-kr-item__operate-desc {
67
- font-size: 16px;
67
+ font-size: 14px;
68
68
  font-weight: 400;
69
69
  color: #89919f;
70
70
  line-height: 24px;
@@ -93,7 +93,7 @@
93
93
  }
94
94
 
95
95
  .titaui-dynamic-milestone-item__object-name {
96
- font-size: 16px;
96
+ font-size: 14px;
97
97
  color: #2879ff;
98
98
  line-height: 24px;
99
99
  margin: 0 4px;
@@ -106,7 +106,7 @@
106
106
  }
107
107
 
108
108
  .titaui-dynamic-milestone-item__operate-desc {
109
- font-size: 16px;
109
+ font-size: 14px;
110
110
  font-weight: 400;
111
111
  color: #89919f;
112
112
  line-height: 24px;
@@ -56,7 +56,7 @@
56
56
  }
57
57
 
58
58
  .titaui-dynamic-okrs-communication-item__operate-desc {
59
- font-size: 16px;
59
+ font-size: 14px;
60
60
  font-weight: 400;
61
61
  color: #89919f;
62
62
  line-height: 24px;
@@ -56,7 +56,7 @@
56
56
  }
57
57
 
58
58
  .titaui-dynamic-plan-communication-item__operate-desc {
59
- font-size: 16px;
59
+ font-size: 14px;
60
60
  font-weight: 400;
61
61
  color: #89919f;
62
62
  line-height: 24px;
@@ -29,7 +29,7 @@
29
29
  }
30
30
 
31
31
  .titaui-dynamic-progress-item__object-name {
32
- font-size: 16px;
32
+ font-size: 14px;
33
33
  color: #2879ff;
34
34
  line-height: 24px;
35
35
  margin: 0 4px;
@@ -46,7 +46,7 @@
46
46
  }
47
47
 
48
48
  .titaui-dynamic-progress-item__operate-desc {
49
- font-size: 16px;
49
+ font-size: 14px;
50
50
  font-weight: 400;
51
51
  color: #89919f;
52
52
  line-height: 24px;
@@ -93,7 +93,7 @@
93
93
  }
94
94
 
95
95
  .titaui-dynamic-project-item__operate-desc {
96
- font-size: 16px;
96
+ font-size: 14px;
97
97
  font-weight: 400;
98
98
  color: #89919f;
99
99
  line-height: 24px;
@@ -79,14 +79,22 @@
79
79
  font-size: 12px;
80
80
  color: #89919f;
81
81
  line-height: 18px;
82
- margin-right: 8px;
82
+ }
83
+
84
+ .titaui-dynamic-relative-item__obj-principal-user::after {
85
+ content: '';
86
+ width: 1px;
87
+ height: 14px;
88
+ background: linear-gradient(180deg, rgba(191, 199, 213, 0) 0%, #bfc7d5 50%, rgba(240, 242, 245, 0) 100%);
89
+ display: inline-block;
90
+ margin: 0 8px;
91
+ vertical-align: text-top;
83
92
  }
84
93
 
85
94
  .titaui-dynamic-relative-item__obj-cycle {
86
95
  font-size: 12px;
87
96
  color: #89919f;
88
97
  line-height: 18px;
89
- margin-left: 8px;
90
98
  }
91
99
 
92
100
  .titaui-dynamic-relative-item__rela-img {
@@ -97,11 +105,11 @@
97
105
  }
98
106
 
99
107
  .titaui-dynamic-relative-item__space {
100
- height: 20px;
108
+ height: 30px;
101
109
  }
102
110
 
103
111
  .titaui-dynamic-relative-item__operate-desc {
104
- font-size: 16px;
112
+ font-size: 14px;
105
113
  font-weight: 400;
106
114
  color: #89919f;
107
115
  line-height: 24px;
@@ -37,8 +37,6 @@ var _dynamicRelaProject = _interopRequireDefault(require("./img/dynamic-rela-pro
37
37
 
38
38
  var _dynamicRelaTask = _interopRequireDefault(require("./img/dynamic-rela-task.png"));
39
39
 
40
- var _dynamicPoint = _interopRequireDefault(require("../../img/dynamic-point.svg"));
41
-
42
40
  require("./index.css");
43
41
 
44
42
  var _excluded = ["data"];
@@ -156,10 +154,7 @@ var DynamicRelative = function DynamicRelative(_ref) {
156
154
  }, rObjprincipalUser && /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
157
155
  id: rObjprincipalUser.userId,
158
156
  name: rObjprincipalUser.name
159
- })), /*#__PURE__*/_react["default"].createElement("img", {
160
- src: _dynamicPoint["default"],
161
- alt: ""
162
- }), /*#__PURE__*/_react["default"].createElement("span", {
157
+ })), /*#__PURE__*/_react["default"].createElement("span", {
163
158
  className: "".concat(prefix, "__obj-cycle")
164
159
  }, rObjCycleName))))), /*#__PURE__*/_react["default"].createElement("img", {
165
160
  className: "".concat(prefix, "__rela-img"),
@@ -194,10 +189,7 @@ var DynamicRelative = function DynamicRelative(_ref) {
194
189
  }, objPrincipalUser && /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
195
190
  id: objPrincipalUser.userId,
196
191
  name: objPrincipalUser.name
197
- })), /*#__PURE__*/_react["default"].createElement("img", {
198
- src: _dynamicPoint["default"],
199
- alt: ""
200
- }), /*#__PURE__*/_react["default"].createElement("span", {
192
+ })), /*#__PURE__*/_react["default"].createElement("span", {
201
193
  className: "".concat(prefix, "__obj-cycle")
202
194
  }, objCycleName)))))));
203
195
  };
@@ -114,7 +114,7 @@
114
114
  }
115
115
 
116
116
  .titaui-dynamic-reply-item__operate-desc {
117
- font-size: 16px;
117
+ font-size: 14px;
118
118
  font-weight: 400;
119
119
  color: #89919f;
120
120
  line-height: 24px;
@@ -141,7 +141,7 @@
141
141
  }
142
142
 
143
143
  .titaui-dynamic-report-item__operate-desc {
144
- font-size: 16px;
144
+ font-size: 14px;
145
145
  font-weight: 400;
146
146
  color: #89919f;
147
147
  line-height: 24px;
@@ -53,7 +53,7 @@
53
53
  }
54
54
 
55
55
  .titaui-dynamic-reward-item__operate-desc {
56
- font-size: 16px;
56
+ font-size: 14px;
57
57
  font-weight: 400;
58
58
  color: #89919f;
59
59
  line-height: 24px;
@@ -11,7 +11,7 @@
11
11
  }
12
12
 
13
13
  .titaui-dynamic-share-item__operate-desc {
14
- font-size: 16px;
14
+ font-size: 14px;
15
15
  font-weight: 400;
16
16
  color: #89919f;
17
17
  line-height: 24px;
@@ -1,6 +1,6 @@
1
1
  .titaui-dynamic-share-to-dynamic__operate-desc {
2
2
  margin-left: 4px;
3
- font-size: 16px;
3
+ font-size: 14px;
4
4
  font-weight: normal;
5
5
  color: #89919f;
6
6
  line-height: 24px;
@@ -93,7 +93,7 @@
93
93
  }
94
94
 
95
95
  .titaui-dynamic-task-item__object-name {
96
- font-size: 16px;
96
+ font-size: 14px;
97
97
  color: #2879ff;
98
98
  line-height: 24px;
99
99
  margin: 0 4px;
@@ -106,7 +106,7 @@
106
106
  }
107
107
 
108
108
  .titaui-dynamic-task-item__operate-desc {
109
- font-size: 16px;
109
+ font-size: 14px;
110
110
  font-weight: 400;
111
111
  color: #89919f;
112
112
  line-height: 24px;
@@ -78,7 +78,7 @@ var Item = function Item(_ref) {
78
78
  className: "".concat(preCls, "-avatar")
79
79
  }, /*#__PURE__*/_react["default"].createElement(_avatar["default"], {
80
80
  name: name,
81
- src: avatar.small,
81
+ src: avatar.original,
82
82
  color: avatar.color,
83
83
  userId: userId,
84
84
  size: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.10.11",
3
+ "version": "1.10.12",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",