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.
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface AvatarProps {
3
+ source: string | undefined;
4
+ height: string;
5
+ width: string;
6
+ indicator?: string;
7
+ }
8
+ export declare const Avatar: React.FC<AvatarProps>;
9
+ export {};
@@ -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 };
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export default function SendMessageIcon(): React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ declare const useOnlineStatus: () => boolean;
2
+ export default useOnlineStatus;
package/dist/index.css CHANGED
@@ -1,11 +1,11 @@
1
- ._2jyN5 {
1
+ ._31at8 {
2
2
  position: fixed;
3
3
  bottom: 20px;
4
4
  right: 20px;
5
5
  z-index: 9999;
6
6
  }
7
7
 
8
- ._tXNYe {
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
- ._1P2y- {
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
- ._2UNL5{
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
- ._2v5bZ {
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
- ._2RbY_ {
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
- ._2RbY_._1efWC {
61
+ ._3XbXj._3l8QX {
62
62
  background-color: #b8b8b8c6;
63
63
  align-self: flex-end;
64
64
  }
65
65
 
66
- ._2RbY_._2idRy {
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
- ._3qqrl {
75
+ ._3mrL1 {
76
76
  width: 12px;
77
77
  aspect-ratio: 1;
78
78
  border-radius: 50%;
79
- animation: _3cq86 1s infinite linear alternate;
79
+ animation: _25GkQ 1s infinite linear alternate;
80
80
  }
81
- @keyframes _3cq86 {
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
- ._34vFI {
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
- ._34vFI input {
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
- ._34vFI button {
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
- ._1kl6z {
119
+ ._1XTQS {
120
120
  display: flex;
121
121
  justify-content: center;
122
122
  align-items: center;
123
123
  }
124
124
 
125
- ._3cleF {
125
+ ._32ZvK {
126
126
  width: 8px;
127
127
  height: 8px;
128
128
  border-radius: 50%;
129
129
  margin: 0 3px;
130
- animation: _UNzJX 0.6s infinite alternate;
130
+ animation: _V8DEW 0.6s infinite alternate;
131
131
  }
132
132
 
133
- @keyframes _UNzJX {
133
+ @keyframes _V8DEW {
134
134
  from {
135
135
  transform: translateY(0);
136
136
  }
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as React from 'react';
2
+ import './styles.css';
2
3
  interface Props {
3
4
  clientId: string;
4
5
  }