bibot 1.0.62 → 1.0.63

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -4262,10 +4262,16 @@ var ChatBubbleBiBot = function ChatBubbleBiBot(bibotProps) {
4262
4262
  borderTopLeftRadius: 8,
4263
4263
  borderTopRightRadius: 8,
4264
4264
  display: 'flex',
4265
- alignItems: 'center',
4266
- justifyContent: 'flex-start',
4265
+ flexDirection: 'column',
4266
+ justifyContent: 'space-between',
4267
4267
  paddingInline: 15,
4268
- paddingBlock: 20
4268
+ paddingBlock: 15
4269
+ }
4270
+ }, React.createElement("div", {
4271
+ style: {
4272
+ display: 'flex',
4273
+ justifyContent: 'flex-start',
4274
+ alignItems: 'center'
4269
4275
  }
4270
4276
  }, React.createElement("div", {
4271
4277
  style: {
@@ -4286,8 +4292,9 @@ var ChatBubbleBiBot = function ChatBubbleBiBot(bibotProps) {
4286
4292
  flexDirection: 'column',
4287
4293
  textAlign: 'left',
4288
4294
  paddingLeft: '10px',
4289
- justifyContent: 'flex-start',
4290
- color: '#fff'
4295
+ justifyContent: 'flex-end',
4296
+ color: '#fff',
4297
+ width: '100%'
4291
4298
  }
4292
4299
  }, React.createElement("span", {
4293
4300
  style: {
@@ -4298,11 +4305,29 @@ var ChatBubbleBiBot = function ChatBubbleBiBot(bibotProps) {
4298
4305
  style: {
4299
4306
  fontSize: '12px'
4300
4307
  }
4301
- }, "Typing...") : React.createElement("span", {
4308
+ }, "Typing...") : React.createElement("div", {
4309
+ style: {
4310
+ display: 'flex',
4311
+ justifyContent: 'space-between',
4312
+ width: '100%'
4313
+ }
4314
+ }, React.createElement("span", {
4302
4315
  style: {
4303
4316
  fontSize: '12px'
4304
4317
  }
4305
- }, isOnline ? 'Online' : 'Offline'))), React.createElement("div", {
4318
+ }, isOnline ? 'Online' : 'Offline')))), React.createElement("div", {
4319
+ style: {
4320
+ display: 'flex',
4321
+ flexDirection: 'row',
4322
+ justifyContent: 'flex-end'
4323
+ }
4324
+ }, React.createElement("span", {
4325
+ style: {
4326
+ fontSize: '6px',
4327
+ paddingRight: 10,
4328
+ color: '#dedede'
4329
+ }
4330
+ }, !chatBubbleConfig.title ? 'Bot' : chatBubbleConfig.title, " can make mistake "))), React.createElement("div", {
4306
4331
  className: styles['message-list'],
4307
4332
  style: {
4308
4333
  height: 'calc(100% - 100px)',
@@ -4323,7 +4348,9 @@ var ChatBubbleBiBot = function ChatBubbleBiBot(bibotProps) {
4323
4348
  style: {
4324
4349
  marginBottom: 10,
4325
4350
  padding: '5px 10px',
4326
- borderRadius: 8,
4351
+ borderTopRightRadius: 15,
4352
+ borderTopLeftRadius: 15,
4353
+ borderBottomLeftRadius: 15,
4327
4354
  maxWidth: '70%',
4328
4355
  alignSelf: 'flex-end',
4329
4356
  fontSize: '15px',
@@ -4356,14 +4383,16 @@ var ChatBubbleBiBot = function ChatBubbleBiBot(bibotProps) {
4356
4383
  style: {
4357
4384
  marginBottom: 10,
4358
4385
  padding: '5px 10px',
4359
- borderRadius: 8,
4386
+ borderTopRightRadius: 15,
4387
+ borderBottomRightRadius: 15,
4388
+ borderBottomLeftRadius: 15,
4360
4389
  maxWidth: '70%',
4361
4390
  alignSelf: 'flex-start',
4362
4391
  fontSize: '15px',
4363
4392
  backgroundColor: '#f0f0f0',
4364
4393
  color: '#000',
4365
4394
  textAlign: 'left',
4366
- marginTop: 5
4395
+ margin: 5
4367
4396
  }
4368
4397
  }, message.text));
4369
4398
  }), aiFollowUpQs && !isLoading && React.createElement(AiFollowUps, {