bibot 1.0.26 → 1.0.28

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.
@@ -3709,7 +3709,7 @@ var useBiBotChatBot = function useBiBotChatBot(_ref) {
3709
3709
  sendInputInquiry();
3710
3710
  askPredefinedQuestion(question);
3711
3711
  setUserInput('');
3712
- setShowPredefinedQuestions(true);
3712
+ setShowPredefinedQuestions(false);
3713
3713
  };
3714
3714
  var getChatBubbleConfig = useCallback(function () {
3715
3715
  try {
@@ -4075,10 +4075,34 @@ var PredefinedQuestions = function PredefinedQuestions(_ref) {
4075
4075
  chatBubbleConfig = _useBiBotChatBot.chatBubbleConfig;
4076
4076
  return createElement("div", {
4077
4077
  style: {
4078
- height: '50%',
4079
- color: '#000'
4078
+ height: '100%',
4079
+ color: '#000',
4080
+ backgroundColor: '#fff',
4081
+ padding: 10,
4082
+ borderRadius: '6px'
4083
+ }
4084
+ }, createElement("div", {
4085
+ style: {
4086
+ display: 'flex',
4087
+ justifyContent: 'center',
4088
+ alignItems: 'center',
4089
+ flexDirection: 'column'
4090
+ }
4091
+ }, createElement(Avatar, {
4092
+ borderColor: chatBubbleConfig === null || chatBubbleConfig === void 0 ? void 0 : chatBubbleConfig.color,
4093
+ width: '35px',
4094
+ height: '35px',
4095
+ source: chatBubbleConfig === null || chatBubbleConfig === void 0 ? void 0 : chatBubbleConfig.logo_url
4096
+ }), createElement("h6", {
4097
+ style: {
4098
+ marginBlock: '1px'
4099
+ }
4100
+ }, "Welcome!"), createElement("p", {
4101
+ style: {
4102
+ fontSize: '14px',
4103
+ fontWeight: 'bold'
4080
4104
  }
4081
- }, questions.map(function (question, index) {
4105
+ }, "Are you looking for any of these questions? Click for an answer ")), questions.map(function (question, index) {
4082
4106
  var _chatBubbleConfig$col;
4083
4107
  return createElement("div", {
4084
4108
  key: index,
@@ -4248,7 +4272,7 @@ var ChatBubbleBiBot = function ChatBubbleBiBot(_ref2) {
4248
4272
  },
4249
4273
  className: 'message'
4250
4274
  }, ' ', createElement(Loader, null)), showPredefinedQuestions && predefinedQuestions && predefinedQuestions.length > 0 && createElement(PredefinedQuestions, {
4251
- questions: predefinedQuestions.slice(0, 5),
4275
+ questions: predefinedQuestions.slice(0, 3),
4252
4276
  onSelect: handlePredefinedQuestionSelect,
4253
4277
  clientId: clientId
4254
4278
  }), createElement("div", {