easemob-chat-uikit 2.2.1 → 2.3.0-beta.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easemob-chat-uikit",
3
- "version": "2.2.1",
3
+ "version": "2.3.0-beta.2",
4
4
  "description": "",
5
5
  "main": "ChatUI.umd.js",
6
6
  "type": "module",
@@ -15,7 +15,12 @@ $moreAction-prefix-cls: #{$cui-prefix}-moreAction;
15
15
  // margin: $msg-base-margin;
16
16
  box-sizing: border-box;
17
17
  padding: $msg-base-padding;
18
-
18
+ user-select: none;
19
+ -webkit-user-select: none; /* Safari */
20
+ -moz-user-select: none; /* Firefox */
21
+ -ms-user-select: none; /* IE10+/Edge */
22
+ -webkit-touch-callout: none; /* iOS Safari - 禁用长按弹出菜单 */
23
+ -webkit-tap-highlight-color: transparent; /* 移除点击高亮 */
19
24
  &-arrow {
20
25
  &.#{$status-prefix-cls}-left {
21
26
  .#{$status-prefix-cls}-content {
@@ -146,7 +151,13 @@ $moreAction-prefix-cls: #{$cui-prefix}-moreAction;
146
151
  align-items: flex-end;
147
152
  gap: 8px;
148
153
  margin: 0 12px;
149
-
154
+ user-select: none;
155
+ -webkit-user-select: none; /* Safari */
156
+ -moz-user-select: none; /* Firefox */
157
+ -ms-user-select: none; /* IE10+/Edge */
158
+ -webkit-touch-callout: none; /* iOS Safari - 禁用长按弹出菜单 */
159
+ -webkit-tap-highlight-color: transparent; /* 移除点击高亮 */
160
+
150
161
  &-action {
151
162
  fill: $gray-6;
152
163
 
@@ -171,6 +182,12 @@ $moreAction-prefix-cls: #{$cui-prefix}-moreAction;
171
182
  background: $msg-bubble-color-primary;
172
183
  color: $msg-bubble-font-color-primary;
173
184
  // overflow: hidden; // TODO: 加会遮挡住 arrow, 不加url preview 下面圆角会被覆盖
185
+ user-select: none;
186
+ -webkit-user-select: none;
187
+ -moz-user-select: none;
188
+ -ms-user-select: none;
189
+ -webkit-touch-callout: none;
190
+ -webkit-tap-highlight-color: transparent;
174
191
 
175
192
  .rtc-invite-message-container{
176
193
  display: flex;