bibot 1.0.15 → 1.0.20
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/dist/component/Avatar.d.ts +9 -0
- package/dist/component/Icons.d.ts +6 -0
- package/dist/component/SendMessageIcon.d.ts +2 -0
- package/dist/hooks/useOnlineStatus.d.ts +2 -0
- package/dist/index.css +18 -18
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3451 -67
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3449 -65
- package/dist/index.modern.js.map +1 -1
- package/package.json +3 -7
@@ -0,0 +1,6 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare function SendMessageIcon(): React.JSX.Element;
|
3
|
+
declare function DefaultBotProfile(): React.JSX.Element;
|
4
|
+
declare function ChatIcon(): React.JSX.Element;
|
5
|
+
declare function CloseIcon(): React.JSX.Element;
|
6
|
+
export { SendMessageIcon, DefaultBotProfile, ChatIcon, CloseIcon };
|
package/dist/index.css
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
.
|
1
|
+
._31at8 {
|
2
2
|
position: fixed;
|
3
3
|
bottom: 20px;
|
4
4
|
right: 20px;
|
5
5
|
z-index: 9999;
|
6
6
|
}
|
7
7
|
|
8
|
-
.
|
8
|
+
._1tkAI {
|
9
9
|
color: #fff;
|
10
10
|
border-radius: 50%;
|
11
11
|
height: 60px;
|
@@ -15,7 +15,7 @@
|
|
15
15
|
justify-content: center;
|
16
16
|
}
|
17
17
|
|
18
|
-
.
|
18
|
+
._2vdWr {
|
19
19
|
position: absolute;
|
20
20
|
bottom: 50px;
|
21
21
|
right: 25px;
|
@@ -32,7 +32,7 @@
|
|
32
32
|
}
|
33
33
|
|
34
34
|
/* Existing styles... */
|
35
|
-
.
|
35
|
+
._1ngBE{
|
36
36
|
height: 50px;
|
37
37
|
border-top-left-radius: 8px;
|
38
38
|
border-top-right-radius: 8px;
|
@@ -42,7 +42,7 @@
|
|
42
42
|
padding-inline: 15px;
|
43
43
|
padding-block: 30px;
|
44
44
|
}
|
45
|
-
.
|
45
|
+
._27MrF {
|
46
46
|
height: calc(100% - 100px);
|
47
47
|
overflow-y: auto;
|
48
48
|
padding: 10px;
|
@@ -51,19 +51,19 @@ flex-grow: 1;
|
|
51
51
|
flex-direction: column;
|
52
52
|
}
|
53
53
|
|
54
|
-
.
|
54
|
+
._3XbXj {
|
55
55
|
margin-bottom: 10px;
|
56
56
|
padding: 5px 10px;
|
57
57
|
border-radius: 8px;
|
58
58
|
max-width: 70%;
|
59
59
|
}
|
60
60
|
|
61
|
-
.
|
61
|
+
._3XbXj._3l8QX {
|
62
62
|
background-color: #b8b8b8c6;
|
63
63
|
align-self: flex-end;
|
64
64
|
}
|
65
65
|
|
66
|
-
.
|
66
|
+
._3XbXj._1MqZg {
|
67
67
|
background-color: #f0f0f0;
|
68
68
|
align-self: flex-start;
|
69
69
|
}
|
@@ -72,13 +72,13 @@ textarea:focus, input:focus{
|
|
72
72
|
}
|
73
73
|
|
74
74
|
/* Chat loader*/
|
75
|
-
.
|
75
|
+
._3mrL1 {
|
76
76
|
width: 12px;
|
77
77
|
aspect-ratio: 1;
|
78
78
|
border-radius: 50%;
|
79
|
-
animation:
|
79
|
+
animation: _25GkQ 1s infinite linear alternate;
|
80
80
|
}
|
81
|
-
@keyframes
|
81
|
+
@keyframes _25GkQ {
|
82
82
|
0% {box-shadow: 20px 0 #000, -20px 0 #0002;background: #000 }
|
83
83
|
33% {box-shadow: 20px 0 #000, -20px 0 #0002;background: #0002}
|
84
84
|
66% {box-shadow: 20px 0 #0002,-20px 0 #000; background: #0002}
|
@@ -86,7 +86,7 @@ textarea:focus, input:focus{
|
|
86
86
|
}
|
87
87
|
|
88
88
|
|
89
|
-
.
|
89
|
+
._6V_kl {
|
90
90
|
display: flex;
|
91
91
|
align-items: center;
|
92
92
|
border-top: 1px solid #ddd;
|
@@ -95,7 +95,7 @@ border-bottom-left-radius: 8px;
|
|
95
95
|
border-bottom-right-radius: 8px;
|
96
96
|
}
|
97
97
|
|
98
|
-
.
|
98
|
+
._6V_kl input {
|
99
99
|
flex-grow: 1;
|
100
100
|
border: none;
|
101
101
|
background-color: transparent;
|
@@ -105,7 +105,7 @@ padding: 5px 10px;
|
|
105
105
|
margin-right: 10px;
|
106
106
|
}
|
107
107
|
|
108
|
-
.
|
108
|
+
._6V_kl button {
|
109
109
|
background-color: #007bff;
|
110
110
|
color: white;
|
111
111
|
border: none;
|
@@ -116,21 +116,21 @@ cursor: pointer;
|
|
116
116
|
|
117
117
|
/* Existing styles... */
|
118
118
|
|
119
|
-
.
|
119
|
+
._1XTQS {
|
120
120
|
display: flex;
|
121
121
|
justify-content: center;
|
122
122
|
align-items: center;
|
123
123
|
}
|
124
124
|
|
125
|
-
.
|
125
|
+
._32ZvK {
|
126
126
|
width: 8px;
|
127
127
|
height: 8px;
|
128
128
|
border-radius: 50%;
|
129
129
|
margin: 0 3px;
|
130
|
-
animation:
|
130
|
+
animation: _V8DEW 0.6s infinite alternate;
|
131
131
|
}
|
132
132
|
|
133
|
-
@keyframes
|
133
|
+
@keyframes _V8DEW {
|
134
134
|
from {
|
135
135
|
transform: translateY(0);
|
136
136
|
}
|