yx-web-sdk 0.0.19 → 0.0.21

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 (32) hide show
  1. package/dist/ait-person-popover/index.js +1 -1
  2. package/dist/chat-card/index.js +1 -1
  3. package/dist/chat-content/index.js +1 -1
  4. package/dist/chat-page/index.js +1 -1
  5. package/dist/chat-room/index.js +1 -1
  6. package/dist/common-avatar/index.js +1 -1
  7. package/dist/components/img-info-wrapper/index.d.ts +0 -0
  8. package/dist/components/img-info-wrapper/index.vue.d.ts +6 -0
  9. package/dist/img-info-wrapper/index.js +1 -0
  10. package/dist/index/style2.css +30 -162
  11. package/dist/index/style4.css +177 -125
  12. package/dist/index/style6.css +513 -25
  13. package/dist/index/style7.css +143 -466
  14. package/dist/{index-DHnPD8u9.mjs → index-BPnLB3av.mjs} +1 -1
  15. package/dist/{index-BjIqS2ZC.mjs → index-DME8_VYv.mjs} +2 -2
  16. package/dist/{index-D5gp5t2F.mjs → index-Dwglj7_M.mjs} +1 -1
  17. package/dist/index-entry/index.js +4 -4
  18. package/dist/{index.vue_vue_type_script_setup_true_lang-CkWszgC3.mjs → index.vue_vue_type_script_setup_true_lang-CD6o8jT4.mjs} +9 -3
  19. package/dist/{index.vue_vue_type_style_index_0_lang-C-imP01W.mjs → index.vue_vue_type_style_index_0_lang-BJGCxPce.mjs} +3 -3
  20. package/dist/{index.vue_vue_type_style_index_0_lang-CAZ44kgX.mjs → index.vue_vue_type_style_index_0_lang-BaKNB-4q.mjs} +33 -7
  21. package/dist/{index.vue_vue_type_style_index_0_lang-CA27kCm1.mjs → index.vue_vue_type_style_index_0_lang-CsNgkPt9.mjs} +101 -17
  22. package/dist/{index.vue_vue_type_style_index_0_lang-5DeqmRdw.mjs → index.vue_vue_type_style_index_0_lang-iBkYSdDj.mjs} +156 -38
  23. package/dist/members-sidebar/index.js +1 -1
  24. package/dist/notice-box/index.js +1 -1
  25. package/dist/server-channel-sidebar/index.js +1 -1
  26. package/dist/stores/channel.d.ts +18 -2
  27. package/dist/style.css +155 -70
  28. package/dist/utils/index.d.ts +10 -2
  29. package/dist/yx-web-sdk.es.js +321 -90
  30. package/dist/yx-web-sdk.umd.js +320 -89
  31. package/package.json +1 -1
  32. /package/dist/{index.vue_vue_type_style_index_0_lang-B2YRkoln.mjs → index.vue_vue_type_style_index_0_lang-BxXBf_VA.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- import { A as AitPersonPopover } from "../index-D5gp5t2F.mjs";
1
+ import { A as AitPersonPopover } from "../index-Dwglj7_M.mjs";
2
2
  export {
3
3
  AitPersonPopover,
4
4
  AitPersonPopover as default
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../index.vue_vue_type_style_index_0_lang-CA27kCm1.mjs";
1
+ import { _ as _sfc_main } from "../index.vue_vue_type_style_index_0_lang-CsNgkPt9.mjs";
2
2
  export {
3
3
  _sfc_main as ChatCard,
4
4
  _sfc_main as default
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../index.vue_vue_type_style_index_0_lang-5DeqmRdw.mjs";
1
+ import { _ as _sfc_main } from "../index.vue_vue_type_style_index_0_lang-iBkYSdDj.mjs";
2
2
  export {
3
3
  _sfc_main as ChatContent,
4
4
  _sfc_main as default
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../index.vue_vue_type_style_index_0_lang-C-imP01W.mjs";
1
+ import { _ as _sfc_main } from "../index.vue_vue_type_style_index_0_lang-BJGCxPce.mjs";
2
2
  export {
3
3
  _sfc_main as ChatPage,
4
4
  _sfc_main as default
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../index.vue_vue_type_script_setup_true_lang-CkWszgC3.mjs";
1
+ import { _ as _sfc_main } from "../index.vue_vue_type_script_setup_true_lang-CD6o8jT4.mjs";
2
2
  export {
3
3
  _sfc_main as ChatRoom,
4
4
  _sfc_main as default
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../index.vue_vue_type_style_index_0_lang-CAZ44kgX.mjs";
1
+ import { _ as _sfc_main } from "../index.vue_vue_type_style_index_0_lang-BaKNB-4q.mjs";
2
2
  export {
3
3
  _sfc_main as CommonAvatar,
4
4
  _sfc_main as default
File without changes
@@ -0,0 +1,6 @@
1
+ import type { UploadFileResult } from 'nim-web-sdk-ng/dist/v1/QCHAT_BROWSER_SDK/CloudStorageServiceInterface';
2
+ type __VLS_Props = {
3
+ attach: UploadFileResult | undefined;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
@@ -0,0 +1 @@
1
+
@@ -1,175 +1,43 @@
1
- .yx-chatroomWrapper {
2
- width: 100%;
3
- height: 100%;
4
- display: flex;
5
- flex-direction: column;
6
- }
7
- .yx-chatroomWrapper .chatroomContent {
8
- flex: 1;
9
- padding: 24px;
10
- overflow-y: auto;
11
- }
12
- .yx-chatroomWrapper .chatroomContent.is-scroll-locked {
13
- overflow: hidden;
14
- }
15
- .yx-chatroomWrapper .chatroomContentNoMore {
16
- text-align: center;
17
- height: 21px;
18
- line-height: 21px;
19
- }
20
- .yx-chatroomWrapper .emptyChatroomContent {
21
- width: 100%;
22
- height: 100%;
23
- display: flex;
24
- flex-direction: column;
25
- align-items: flex-start;
26
- justify-content: flex-end;
27
- }
28
- .yx-chatroomWrapper .emptyChatroomContent h1 {
29
- color: var(--theme-text);
30
- margin: 0;
31
- font-size: 24px;
32
- }
33
- .yx-chatroomWrapper .emptyChatroomContent div {
34
- font-size: 16px;
35
- color: #b3b7bc;
36
- }
37
- .yx-chatroomWrapper .chatroomControllerContainer {
38
- padding: 0px 12px 12px;
39
- width: 100%;
40
- }
41
- .yx-chatroomWrapper .chatroomInputQuoteWrapper {
42
- font-size: 16px;
43
- color: var(--theme-text-secondary, #9c9db4);
1
+ @charset "UTF-8";
2
+ .yx-channel-notice {
3
+ background: var(--theme-im-n-bg, #dbe2fa);
4
+ border-radius: 6px;
5
+ padding: 13px 16px;
6
+ color: var(--theme-primary, #000);
44
7
  display: flex;
45
- flex-direction: column;
46
- gap: 12px;
47
- border-bottom: 1px solid var(--theme-line, #e3e3ee);
48
- padding-bottom: 12px;
49
- margin-bottom: 12px;
50
- position: relative;
51
- }
52
- .yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteDeleteBtn {
53
- position: absolute;
54
- right: 0;
55
- top: 0;
56
- color: var(--theme-text, #252b3a);
57
- }
58
- .yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText {
59
- -webkit-user-select: none;
60
- -moz-user-select: none;
61
- -ms-user-select: none;
62
- user-select: none;
63
- }
64
- .yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText .chatroomInputQuoteTextName {
65
- color: var(--theme-text, #252b3a);
8
+ align-items: center;
66
9
  overflow: hidden;
67
- text-overflow: ellipsis;
68
- white-space: nowrap;
69
- max-width: 100%;
70
- }
71
- .yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText .chatroomInputQuoteTextBody {
72
- color: var(--theme-text, #252b3a);
73
- word-break: break-all;
74
- white-space: pre-wrap;
75
- text-align: left;
76
10
  max-width: 100%;
77
- width: -moz-fit-content;
78
- width: fit-content;
79
- overflow: hidden;
80
- -webkit-line-clamp: 3;
81
- -webkit-box-orient: vertical;
82
- display: -webkit-box;
83
- }
84
- .yx-chatroomWrapper .chatroomInputQuoteWrapper .quoteImg {
85
- user-drag: none;
86
- -webkit-user-drag: none;
87
- pointer-events: none;
88
- }
89
- .yx-chatroomWrapper {
90
- --input-controller-height: 34px;
91
- }
92
- .yx-chatroomWrapper .chatroomControllerWrapper {
93
- padding: 12px;
94
- border-radius: 8px;
95
- background-color: var(--theme-default-bg, #fff);
96
11
  width: 100%;
97
- color: var(--theme-line, #e3e3ee);
98
- border: 1px solid var(--theme-line, #e3e3ee);
99
- box-shadow: var(--theme-chat-input-shadow, 0px 1px 3px 0px rgba(29, 31, 58, 0.0196078431), 0px 2px 6px 0px rgba(29, 31, 58, 0.0196078431), 0px 4px 12px 0px rgba(29, 31, 58, 0.0196078431), 0px 8px 24px 0px rgba(29, 31, 58, 0.0392156863));
100
- }
101
- .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputWrapper {
102
- display: flex;
103
- }
104
- .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputLeft {
105
- align-self: flex-end;
106
- min-height: var(--input-controller-height);
107
- display: flex;
108
- align-items: center;
109
- }
110
- .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputLeft .chatroomButtonSmile {
111
- width: 28px;
112
- height: 28px;
113
- padding: 0;
114
- }
115
- .yx-chatroomWrapper .chatroomControllerWrapper .chatroomButton {
116
- display: flex;
117
- align-items: center;
118
- justify-content: center;
119
- }
120
- .yx-chatroomWrapper .chatroomControllerWrapper .lineSeparator {
121
- width: 1px;
122
- height: 24px;
123
- background-color: var(--theme-line, #e3e3ee);
124
- margin-top: 3px;
125
- margin-bottom: 3px;
126
- }
127
- .yx-chatroomWrapper .chatroomControllerWrapper .chatroomButtonArrowUp {
128
- width: var(--input-controller-height);
129
- height: var(--input-controller-height);
130
- padding: 0;
131
- background-color: var(--theme-btn-primary, #000);
132
- border-radius: 50%;
133
- display: flex;
134
- align-items: center;
135
- justify-content: center;
136
12
  }
137
- .yx-chatroomWrapper .chatroomControllerWrapper .chatroomButtonArrowUp[disabled] {
138
- background-color: var(--theme-disabled-tag-border1, #cccccc);
13
+ .yx-channel-notice .yx-channel-notice-icon {
14
+ width: 20px;
15
+ height: 20px;
16
+ margin-right: 16px;
17
+ flex-shrink: 0;
139
18
  }
140
- .yx-chatroomWrapper .chatroomControllerWrapper .chatroomButtonArrowUp [aria-label=arrow-up] {
141
- color: var(--theme-light-text, #fff);
142
- }
143
- .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput {
144
- align-self: center;
19
+ .yx-channel-notice .yx-channel-notice-text {
145
20
  flex: 1;
146
- height: 100%;
147
- line-height: 100%;
148
- border-radius: 8px;
149
- border: none;
150
- outline: none;
151
- resize: none;
152
- color: var(--theme-text, #252b3a);
153
- background-color: var(--theme-default-bg, #fff);
154
- font-size: 16px;
21
+ min-width: 0;
22
+ overflow: hidden;
155
23
  }
156
- .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput::-moz-placeholder {
157
- color: var(--theme-placeholder, #9c9db4);
24
+ .yx-channel-notice .yx-channel-notice-text-inner {
25
+ line-height: 22px;
26
+ display: inline-flex;
27
+ white-space: nowrap;
158
28
  }
159
- .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput:-ms-input-placeholder {
160
- color: var(--theme-placeholder, #9c9db4);
29
+ .yx-channel-notice .yx-channel-notice-text-inner.yx-channel-notice-text--scroll {
30
+ animation: yx-notice-scroll var(--yx-notice-duration, 15s) linear infinite;
161
31
  }
162
- .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput::placeholder {
163
- color: var(--theme-placeholder, #9c9db4);
32
+ .yx-channel-notice .yx-channel-notice-text-item {
33
+ flex-shrink: 0;
34
+ padding-right: 2em; /* 两段文字之间的间隔 */
164
35
  }
165
- .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput:active, .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput:focus {
166
- border: none;
167
- outline: none;
168
- box-shadow: none;
36
+ @keyframes yx-notice-scroll {
37
+ 0% {
38
+ transform: translateX(0);
39
+ }
40
+ 100% {
41
+ transform: translateX(-50%);
169
42
  }
170
- .yx-chatroomWrapper .chatroomControllerWrapper .chatroomController {
171
- min-height: var(--input-controller-height);
172
- display: flex;
173
- align-items: flex-end;
174
- gap: 12px;
175
43
  }
@@ -1,100 +1,90 @@
1
- @charset "UTF-8";
2
- .yx-chatCardWrapper {
1
+ .yx-chatroomWrapper {
3
2
  width: 100%;
3
+ height: 100%;
4
4
  display: flex;
5
- align-items: flex-start;
5
+ flex-direction: column;
6
6
  }
7
- .yx-chatCardWrapper:not(:first-child) {
8
- margin-top: 10px;
7
+ .yx-chatroomWrapper .chatroomContent {
8
+ flex: 1;
9
+ padding: 24px;
10
+ overflow-y: auto;
9
11
  }
10
- .yx-chatCardWrapper.reverse {
11
- flex-direction: row-reverse;
12
+ .yx-chatroomWrapper .chatroomContent.is-scroll-locked {
13
+ overflow: hidden;
12
14
  }
13
- .yx-chatCardWrapper.reverse .chatCardContent {
14
- flex-direction: row-reverse;
15
- margin-left: 0;
16
- margin-right: 12px;
15
+ .yx-chatroomWrapper .chatroomContentNoMore {
16
+ text-align: center;
17
+ height: 21px;
18
+ line-height: 21px;
17
19
  }
18
- .yx-chatCardWrapper.reverse .chatCardInfo {
20
+ .yx-chatroomWrapper .emptyChatroomContent {
21
+ width: 100%;
22
+ height: 100%;
19
23
  display: flex;
20
- flex-direction: row-reverse;
24
+ flex-direction: column;
25
+ align-items: flex-start;
26
+ justify-content: flex-end;
21
27
  }
22
- .yx-chatCardWrapper.reverse .chatCardMainContent {
23
- display: flex;
24
- flex-direction: row-reverse;
28
+ .yx-chatroomWrapper .emptyChatroomContent h1 {
29
+ color: var(--theme-text);
30
+ margin: 0;
31
+ font-size: 24px;
25
32
  }
26
- .yx-chatCardWrapper.reverse .chatCardStatus {
27
- margin-right: 10px;
28
- margin-left: 0;
33
+ .yx-chatroomWrapper .emptyChatroomContent div {
34
+ font-size: 16px;
35
+ color: #b3b7bc;
29
36
  }
30
- .yx-chatCardWrapper .chat-withdraw-msg {
31
- flex: 1;
32
- text-align: center;
33
- font-size: 14px;
34
- color: var(--theme-placeholder, #9c9db4);
37
+ .yx-chatroomWrapper .chatroomControllerContainer {
38
+ padding: 0px 12px 12px;
39
+ width: 100%;
35
40
  }
36
- .yx-chatCardWrapper .chatCardContent {
37
- flex: 1;
38
- margin-left: 12px;
41
+ .yx-chatroomWrapper .chatroomInputQuoteWrapper {
42
+ font-size: 16px;
43
+ color: var(--theme-text-secondary, #9c9db4);
39
44
  display: flex;
40
- align-items: center;
41
- }
42
- .yx-chatCardWrapper .chatCardInfo {
43
- font-size: 12px;
45
+ flex-direction: column;
46
+ gap: 12px;
47
+ border-bottom: 1px solid var(--theme-line, #e3e3ee);
48
+ padding-bottom: 12px;
49
+ margin-bottom: 12px;
50
+ position: relative;
51
+ }
52
+ .yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteAttachBox {
53
+ padding-left: 20px;
54
+ position: relative;
55
+ }
56
+ .yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteAttachBox:before {
57
+ position: absolute;
58
+ left: 0;
59
+ top: 0.5em;
60
+ bottom: 0.5em;
61
+ content: "";
62
+ display: block;
63
+ width: 4px;
64
+ border-radius: 4px;
65
+ background-color: var(--theme-line, #e3e3ee);
66
+ }
67
+ .yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteDeleteBtn {
68
+ position: absolute;
69
+ right: 0;
70
+ top: 0;
71
+ z-index: 1;
44
72
  color: var(--theme-text, #252b3a);
45
- text-align: left;
46
- margin-bottom: 3px;
47
- display: flex;
48
- align-items: baseline;
49
- gap: 8px;
50
73
  }
51
- .yx-chatCardWrapper .chatCardInfo .chatCardInfoName {
74
+ .yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText {
75
+ -webkit-user-select: none;
76
+ -moz-user-select: none;
77
+ -ms-user-select: none;
78
+ user-select: none;
79
+ }
80
+ .yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText .chatroomInputQuoteTextName {
52
81
  color: var(--theme-text, #252b3a);
53
- font-weight: 500;
54
- font-size: 16px;
55
82
  overflow: hidden;
56
83
  text-overflow: ellipsis;
57
84
  white-space: nowrap;
58
85
  max-width: 100%;
59
- max-width: 375px;
60
- }
61
- .yx-chatCardWrapper .chatCardInfo .chatCardInfoTime {
62
- color: var(--theme-placeholder, #9c9db4);
63
- font-size: 14px;
64
- }
65
- .yx-chatCardWrapper .chatCardStatus {
66
- margin-left: 10px;
67
- }
68
- .yx-chatCardWrapper .chatCardMainContent.myMsg .textMsg {
69
- color: var(--theme-light-text, #fff);
70
- background-color: var(--theme-btn-primary, #000);
71
- }
72
- .yx-chatCardWrapper .chatCardMainContent.otherMsg .textMsg {
73
- background-color: var(--theme-area, #f1f1f8);
74
- }
75
- .yx-chatCardWrapper .textMsg {
76
- font-size: 16px;
77
- padding: 12px 16px;
78
- color: var(--theme-text, #252b3a);
79
- word-break: break-all;
80
- white-space: pre-wrap;
81
- text-align: left;
82
- border-radius: 8px;
83
- max-width: 100%;
84
- width: -moz-fit-content;
85
- width: fit-content;
86
- }
87
- .yx-chatCardWrapper .textMsg a {
88
- color: var(--theme-text, #252b3a) !important;
89
- }
90
- .yx-chatCardWrapper .chatCardQuoteMsg {
91
- margin-top: 8px;
92
- font-size: 16px;
93
- padding: 12px 16px;
94
- background-color: var(--theme-home-tab-bg-color, #f2f2f2);
95
- border-radius: 8px;
96
86
  }
97
- .yx-chatCardWrapper .chatCardQuoteMsg .quoteMsgText {
87
+ .yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText .chatroomInputQuoteTextBody {
98
88
  color: var(--theme-text, #252b3a);
99
89
  word-break: break-all;
100
90
  white-space: pre-wrap;
@@ -102,73 +92,135 @@
102
92
  max-width: 100%;
103
93
  width: -moz-fit-content;
104
94
  width: fit-content;
95
+ overflow: hidden;
105
96
  -webkit-line-clamp: 3;
106
97
  -webkit-box-orient: vertical;
107
98
  display: -webkit-box;
108
- overflow: hidden;
109
99
  }
110
- .yx-chatCardWrapper .chatCardQuoteMsg .quoteMsgImg {
100
+ .yx-chatroomWrapper .chatroomInputQuoteWrapper .quoteImg {
111
101
  user-drag: none;
112
102
  -webkit-user-drag: none;
103
+ pointer-events: none;
113
104
  }
114
- .yx-chatCardWrapper .fileMsg {
115
- width: -moz-fit-content;
116
- width: fit-content;
117
- background-color: #23252c;
105
+ .yx-chatroomWrapper .chatroomInputAttachmentWrapperImg {
106
+ position: relative;
107
+ width: 60px;
108
+ height: 60px;
109
+ overflow: hidden;
110
+ }
111
+ .yx-chatroomWrapper .chatroomInputAttachmentWrapperImg:hover .chatroomInputAttachmentWrapperImgMask {
112
+ display: block;
113
+ }
114
+ .yx-chatroomWrapper .chatroomInputAttachmentWrapperImg:hover .chatroomInputAttachmentDeleteBtn {
115
+ display: block;
116
+ }
117
+ .yx-chatroomWrapper .chatroomInputAttachmentWrapperImg .chatroomInputAttachmentWrapperImgMask {
118
+ position: absolute;
119
+ width: 100%;
120
+ height: 100%;
121
+ background-color: rgba(0, 0, 0, 0.5);
122
+ z-index: 1;
123
+ display: none;
124
+ }
125
+ .yx-chatroomWrapper .chatroomInputAttachmentWrapperImg .chatroomInputAttachmentDeleteBtn {
126
+ position: absolute;
127
+ right: 50%;
128
+ top: 50%;
129
+ transform: translateY(-50%) translateX(50%);
130
+ color: var(--theme-text, #252b3a);
131
+ z-index: 1;
132
+ display: none;
133
+ }
134
+ .yx-chatroomWrapper .chatroomInputAttachmentWrapperImg .chatroomInputAttachmentDeleteBtn svg {
135
+ color: #fff;
136
+ }
137
+ .yx-chatroomWrapper {
138
+ --input-controller-height: 34px;
139
+ }
140
+ .yx-chatroomWrapper .chatroomControllerWrapper {
141
+ padding: 12px;
142
+ border-radius: 8px;
143
+ background-color: var(--theme-default-bg, #fff);
144
+ width: 100%;
145
+ color: var(--theme-line, #e3e3ee);
146
+ border: 1px solid var(--theme-line, #e3e3ee);
147
+ box-shadow: var(--theme-chat-input-shadow, 0px 1px 3px 0px rgba(29, 31, 58, 0.0196078431), 0px 2px 6px 0px rgba(29, 31, 58, 0.0196078431), 0px 4px 12px 0px rgba(29, 31, 58, 0.0196078431), 0px 8px 24px 0px rgba(29, 31, 58, 0.0392156863));
148
+ }
149
+ .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputWrapper {
150
+ display: flex;
151
+ }
152
+ .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputLeft {
153
+ align-self: flex-end;
154
+ min-height: var(--input-controller-height);
118
155
  display: flex;
119
156
  align-items: center;
120
- padding: 12px 16px;
121
- border-radius: 8px;
122
157
  }
123
- .yx-chatCardWrapper .fileMsg .fileMsgContent {
124
- min-width: 175px;
125
- margin-left: 20px;
158
+ .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputLeft .chatroomButtonSmile {
159
+ width: 28px;
160
+ height: 28px;
161
+ padding: 0;
162
+ }
163
+ .yx-chatroomWrapper .chatroomControllerWrapper .chatroomButton {
126
164
  display: flex;
127
- flex-direction: column;
128
- align-items: flex-start;
129
- justify-content: space-between;
165
+ align-items: center;
166
+ justify-content: center;
130
167
  }
131
- .yx-chatCardWrapper .fileMsg .fileMsgName {
132
- color: var(--theme-text);
168
+ .yx-chatroomWrapper .chatroomControllerWrapper .lineSeparator {
169
+ width: 1px;
170
+ height: 24px;
171
+ background-color: var(--theme-line, #e3e3ee);
172
+ margin-top: 3px;
173
+ margin-bottom: 3px;
133
174
  }
134
- .yx-chatCardWrapper .fileMsg .fileMsgSize {
135
- color: #6e6f74;
136
- }
137
-
138
- /* 文本消息自定义右键菜单(Teleport 到 body,根节点 yx- 前缀,不嵌套以便选中 body 下节点) */
139
- .yx-chatCardTextMsgContextMenu {
140
- position: fixed;
141
- z-index: 9999;
142
- min-width: 100px;
143
- padding: 4px 0;
144
- background: var(--theme-default-bg, #fff);
145
- border-radius: 6px;
146
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
147
- border: 1px solid var(--theme-line, #e3e3ee);
175
+ .yx-chatroomWrapper .chatroomControllerWrapper .chatroomButtonArrowUp {
176
+ width: var(--input-controller-height);
177
+ height: var(--input-controller-height);
178
+ padding: 0;
179
+ background-color: var(--theme-btn-primary, #000);
180
+ border-radius: 50%;
181
+ display: flex;
182
+ align-items: center;
183
+ justify-content: center;
184
+ }
185
+ .yx-chatroomWrapper .chatroomControllerWrapper .chatroomButtonArrowUp[disabled] {
186
+ background-color: var(--theme-disabled-tag-border1, #cccccc);
148
187
  }
149
- .yx-chatCardTextMsgContextMenu .yx-chatCardTextMsgContextMenu-item {
150
- padding: 6px 12px;
151
- font-size: 14px;
188
+ .yx-chatroomWrapper .chatroomControllerWrapper .chatroomButtonArrowUp [aria-label=arrow-up] {
189
+ color: var(--theme-light-text, #fff);
190
+ }
191
+ .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput {
192
+ align-self: center;
193
+ flex: 1;
194
+ height: 100%;
195
+ line-height: 100%;
196
+ border-radius: 8px;
197
+ border: none;
198
+ outline: none;
199
+ resize: none;
152
200
  color: var(--theme-text, #252b3a);
153
- cursor: pointer;
154
- white-space: nowrap;
201
+ background-color: var(--theme-default-bg, #fff);
202
+ font-size: 16px;
155
203
  }
156
- .yx-chatCardTextMsgContextMenu .yx-chatCardTextMsgContextMenu-item:hover {
157
- background: var(--theme-area, #f5f5f5);
204
+ .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput::-moz-placeholder {
205
+ color: var(--theme-placeholder, #9c9db4);
158
206
  }
159
-
160
- /* 闪烁动画:只执行一次 */
161
- .yx-flash-a-moment .flash-target {
162
- animation: flash-a-moment 1s ease-in-out 1 forwards;
207
+ .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput:-ms-input-placeholder {
208
+ color: var(--theme-placeholder, #9c9db4);
163
209
  }
164
- @keyframes flash-a-moment {
165
- 0% {
166
- opacity: 1;
210
+ .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput::placeholder {
211
+ color: var(--theme-placeholder, #9c9db4);
167
212
  }
168
- 50% {
169
- opacity: 0.6;
213
+ .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput:active, .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput:focus {
214
+ border: none;
215
+ outline: none;
216
+ box-shadow: none;
170
217
  }
171
- 100% {
172
- opacity: 1;
218
+ .yx-chatroomWrapper .chatroomControllerWrapper .chatroomController {
219
+ min-height: var(--input-controller-height);
220
+ display: flex;
221
+ align-items: flex-end;
222
+ gap: 12px;
173
223
  }
224
+ .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputUpload .anticon-loading {
225
+ color: var(--theme-text, #252b3a);
174
226
  }