@titaui/pc 1.5.69-beta.21 → 1.5.69-beta.22

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.
@@ -412,6 +412,7 @@ var Communication = /*#__PURE__*/function (_PureComponent) {
412
412
  userSelectorPopAlign: userSelectorPopAlign,
413
413
  emotionsSelectorPopAlign: emotionsSelectorPopAlign,
414
414
  autoFocus: autoFocus,
415
+ autoResizing: false,
415
416
  onMblogSubmit: function onMblogSubmit(submitType, sentData) {
416
417
  return _this2.handlerReply(submitType, sentData);
417
418
  }
@@ -83,7 +83,7 @@
83
83
  display: inline-flex;
84
84
  align-items: center;
85
85
  justify-content: center;
86
- width: 40px;
86
+ padding: 0 2px;
87
87
  height: 18px;
88
88
  min-width: 40px;
89
89
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
@@ -38,7 +38,7 @@
38
38
  display: inline-flex;
39
39
  align-items: center;
40
40
  justify-content: center;
41
- width: 40px;
41
+ padding: 0 2px;
42
42
  height: 18px;
43
43
  min-width: 40px;
44
44
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
@@ -36,7 +36,7 @@
36
36
  display: inline-flex;
37
37
  align-items: center;
38
38
  justify-content: center;
39
- width: 40px;
39
+ padding: 0 2px;
40
40
  height: 18px;
41
41
  min-width: 40px;
42
42
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
@@ -84,7 +84,7 @@
84
84
  display: inline-flex;
85
85
  align-items: center;
86
86
  justify-content: center;
87
- width: 40px;
87
+ padding: 0 2px;
88
88
  height: 18px;
89
89
  min-width: 40px;
90
90
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
@@ -55,7 +55,7 @@
55
55
  display: inline-flex;
56
56
  align-items: center;
57
57
  justify-content: center;
58
- width: 40px;
58
+ padding: 0 2px;
59
59
  height: 18px;
60
60
  min-width: 40px;
61
61
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
@@ -99,7 +99,7 @@
99
99
  display: inline-flex;
100
100
  align-items: center;
101
101
  justify-content: center;
102
- width: 40px;
102
+ padding: 0 6px;
103
103
  height: 18px;
104
104
  min-width: 40px;
105
105
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
@@ -83,7 +83,7 @@
83
83
  display: inline-flex;
84
84
  align-items: center;
85
85
  justify-content: center;
86
- width: 40px;
86
+ padding: 0 2px;
87
87
  height: 18px;
88
88
  min-width: 40px;
89
89
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
@@ -79,7 +79,7 @@
79
79
  display: inline-flex;
80
80
  align-items: center;
81
81
  justify-content: center;
82
- width: 40px;
82
+ padding: 0 2px;
83
83
  height: 18px;
84
84
  min-width: 40px;
85
85
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
@@ -83,7 +83,7 @@
83
83
  display: inline-flex;
84
84
  align-items: center;
85
85
  justify-content: center;
86
- width: 40px;
86
+ padding: 0 2px;
87
87
  height: 18px;
88
88
  min-width: 40px;
89
89
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
@@ -126,7 +126,7 @@
126
126
  display: inline-flex;
127
127
  align-items: center;
128
128
  justify-content: center;
129
- width: 40px;
129
+ padding: 0 2px;
130
130
  height: 18px;
131
131
  min-width: 40px;
132
132
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
@@ -141,7 +141,7 @@
141
141
  display: inline-flex;
142
142
  align-items: center;
143
143
  justify-content: center;
144
- width: 40px;
144
+ padding: 0 2px;
145
145
  height: 18px;
146
146
  min-width: 40px;
147
147
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
@@ -38,7 +38,7 @@
38
38
  display: inline-flex;
39
39
  align-items: center;
40
40
  justify-content: center;
41
- width: 40px;
41
+ padding: 0 2px;
42
42
  height: 18px;
43
43
  min-width: 40px;
44
44
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
@@ -99,7 +99,7 @@
99
99
  display: inline-flex;
100
100
  align-items: center;
101
101
  justify-content: center;
102
- width: 40px;
102
+ padding: 0 2px;
103
103
  height: 18px;
104
104
  min-width: 40px;
105
105
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
@@ -43,8 +43,8 @@ var getFeedTypeAndTypeColor = function getFeedTypeAndTypeColor(feedType) {
43
43
  }
44
44
 
45
45
  if (feedType === _constant.EFeedType.Progress) {
46
- feedTypeText = "更新";
47
- feedTypeColor = "linear-gradient(90deg, #2879FF 0%, #9FBFFF 100%)";
46
+ feedTypeText = "进展";
47
+ feedTypeColor = "linear-gradient(90deg, #FFAB67 0%, #FFD5A0 100%)";
48
48
  }
49
49
 
50
50
  if (feedType === _constant.EFeedType.Relative) {
@@ -52,9 +52,29 @@ var getFeedTypeAndTypeColor = function getFeedTypeAndTypeColor(feedType) {
52
52
  feedTypeColor = "linear-gradient(270deg, #FFE18B 0%, #F6BD16 100%)";
53
53
  }
54
54
 
55
- if (feedType === _constant.EFeedType.Project || feedType === _constant.EFeedType.Kr || feedType === _constant.EFeedType.Task || feedType === _constant.EFeedType.O) {
56
- feedTypeText = "负责";
57
- feedTypeColor = "linear-gradient(90deg, #FFAB67 0%, #FFD5A0 100%)";
55
+ if (feedType === _constant.EFeedType.O) {
56
+ feedTypeText = 'OKRs';
57
+ feedTypeColor = 'linear-gradient(90deg, #2879FF 0%, #9FBFFF 100%)';
58
+ }
59
+
60
+ if (feedType === _constant.EFeedType.Kr) {
61
+ feedTypeText = 'KR';
62
+ feedTypeColor = 'linear-gradient(90deg, #2879FF 0%, #9FBFFF 100%)';
63
+ }
64
+
65
+ if (feedType === _constant.EFeedType.Project) {
66
+ feedTypeText = '项目';
67
+ feedTypeColor = 'linear-gradient(90deg, #624DFF 0%, #CDC7FF 100%)';
68
+ }
69
+
70
+ if (feedType === _constant.EFeedType.MileStone) {
71
+ feedTypeText = '里程碑';
72
+ feedTypeColor = 'linear-gradient(90deg, #624DFF 0%, #CDC7FF 100%)';
73
+ }
74
+
75
+ if (feedType === _constant.EFeedType.Task) {
76
+ feedTypeText = '任务';
77
+ feedTypeColor = 'linear-gradient(90deg, #BB4DFF 0%, #EAC7FF 100%)';
58
78
  }
59
79
 
60
80
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.5.69-beta.21",
3
+ "version": "1.5.69-beta.22",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",