@chat21/chat21-web-widget 5.1.0-rc26 → 5.1.0-rc27

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/CHANGELOG.md CHANGED
@@ -6,6 +6,9 @@
6
6
  ### **Copyrigth**:
7
7
  *Tiledesk SRL*
8
8
 
9
+ # 5.1.0-rc27
10
+ - **bug-fixed**: minor fix on avatar image and textarea style
11
+
9
12
  # 5.1.0-rc26
10
13
  - **added**: buttons attachments aligned to bubble message
11
14
  - **changed**: enable new textarea style if width is grather than 688px
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chat21/chat21-web-widget",
3
3
  "author": "Tiledesk SRL",
4
- "version": "5.1.0-rc26",
4
+ "version": "5.1.0-rc27",
5
5
  "license": "MIT",
6
6
  "homepage": "https://www.tiledesk.com",
7
7
  "repository": {
@@ -13,49 +13,6 @@
13
13
  bottom: var(--chat-footer-height) !important
14
14
  }
15
15
 
16
- @media(min-width:688px){
17
- :host-context(#chat21-conversations.full-screen-mode){
18
- --button-in-msg-padding: 10px 16px;
19
- #chat21-footer{
20
- left: 20%;
21
- right: 20%;
22
- }
23
-
24
- chat-conversation-content ::ng-deep{
25
- .attachment_container,
26
- .buttons-wrapper {
27
- justify-content: flex-start;
28
- }
29
-
30
- .button-in-message{
31
- padding: 14px 22px !important
32
- }
33
-
34
- chat-message-attachment {
35
- margin: auto 20px auto 10px; //0 20px 4px 10px;
36
- margin-left: calc( var(--avatar-width) + 10px )
37
-
38
- }
39
-
40
- }
41
-
42
-
43
- }
44
-
45
- chat-conversation-footer ::ng-deep {
46
- .textarea-container {
47
- padding: 8px 24px;
48
- background-color: var(--chat-footer-background-color);
49
- border-radius: 28px;
50
- }
51
- #hiddenFooter,
52
- #emoji-mart-container {
53
- bottom: calc(100% + 10px)
54
- }
55
- }
56
-
57
- }
58
-
59
16
  // ============= CSS #chat21-conversation-component ================= //
60
17
  #chat21-conversation-component {
61
18
  // background-color: #ffffff;
@@ -224,4 +181,48 @@ dialog:-internal-dialog-in-top-layer{
224
181
  }
225
182
  }
226
183
  }
184
+ }
185
+
186
+ @media(min-width:688px){
187
+
188
+ #chat21-footer{
189
+ left: 20%;
190
+ right: 20%;
191
+ }
192
+
193
+ :host-context(#chat21-conversations.full-screen-mode){
194
+ --button-in-msg-padding: 10px 16px;
195
+
196
+ chat-conversation-content ::ng-deep{
197
+ .attachment_container,
198
+ .buttons-wrapper {
199
+ justify-content: flex-start;
200
+ }
201
+
202
+ .button-in-message{
203
+ padding: 14px 22px !important
204
+ }
205
+
206
+ chat-message-attachment {
207
+ margin: auto 20px auto 10px; //0 20px 4px 10px;
208
+ margin-left: calc( var(--avatar-width) + 10px )
209
+
210
+ }
211
+
212
+ }
213
+
214
+ }
215
+
216
+ chat-conversation-footer ::ng-deep {
217
+ .textarea-container {
218
+ padding: 8px 24px;
219
+ background-color: var(--chat-footer-background-color);
220
+ border-radius: 28px;
221
+ }
222
+ #hiddenFooter,
223
+ #emoji-mart-container {
224
+ bottom: calc(100% + 10px)
225
+ }
226
+ }
227
+
227
228
  }
@@ -47,7 +47,7 @@
47
47
  --font-family-callout: 'Helvetica Neue', 'Apple Color Emoji', Helvetica, Arial, sans-serif;
48
48
  --font-family-powered-by: Mulish, sans-serif;
49
49
 
50
- --font-size-bubble-message: 1.4em
50
+ --font-size-bubble-message: 1.4em;
51
51
 
52
52
  --avatar-height: 40px;
53
53
  --avatar-width: 40px;