llmasaservice-ui 0.6.4 → 0.6.5

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/index.js CHANGED
@@ -768,7 +768,7 @@ var ChatPanel = ({
768
768
  },
769
769
  /* @__PURE__ */ import_react3.default.createElement("path", { d: "M18.38 3.25H6.81C5.72 3.25 4.79 4.03 4.6 5.11L3.29 12.61C3.18 13.27 3.36 13.94 3.78 14.45C4.21 14.96 4.83 15.25 5.5 15.25H9.53V18C9.53 19.52 10.76 20.75 12.36 20.75C13.06 20.75 13.69 20.33 13.97 19.68L16.51 13.75H18.39C19.7 13.75 20.76 12.69 20.76 11.38V5.61C20.76 4.31 19.7 3.25 18.39 3.25H18.38ZM15.26 12.85L12.59 19.1C12.55 19.19 12.46 19.26 12.27 19.26C11.58 19.26 11.03 18.7 11.03 18.01V13.76H5.5C5.27 13.76 5.07 13.67 4.93 13.5C4.78 13.33 4.73 13.11 4.77 12.88L6.08 5.38C6.14 5.02 6.45001 4.76 6.82 4.76H15.26V12.85ZM19.25 11.38C19.25 11.86 18.86 12.25 18.38 12.25H16.77V4.75H18.38C18.86 4.75 19.25 5.14 19.25 5.61V11.38Z" })
770
770
  )
771
- ))))), followOnQuestions && followOnQuestions.length > 0 && /* @__PURE__ */ import_react3.default.createElement("div", { className: "suggestions-container" }, followOnQuestions.map((question, index) => /* @__PURE__ */ import_react3.default.createElement(
771
+ ))))), followOnQuestions && followOnQuestions.length > 0 && idle && /* @__PURE__ */ import_react3.default.createElement("div", { className: "suggestions-container" }, followOnQuestions.map((question, index) => /* @__PURE__ */ import_react3.default.createElement(
772
772
  "button",
773
773
  {
774
774
  key: index,
package/dist/index.mjs CHANGED
@@ -735,7 +735,7 @@ var ChatPanel = ({
735
735
  },
736
736
  /* @__PURE__ */ React3.createElement("path", { d: "M18.38 3.25H6.81C5.72 3.25 4.79 4.03 4.6 5.11L3.29 12.61C3.18 13.27 3.36 13.94 3.78 14.45C4.21 14.96 4.83 15.25 5.5 15.25H9.53V18C9.53 19.52 10.76 20.75 12.36 20.75C13.06 20.75 13.69 20.33 13.97 19.68L16.51 13.75H18.39C19.7 13.75 20.76 12.69 20.76 11.38V5.61C20.76 4.31 19.7 3.25 18.39 3.25H18.38ZM15.26 12.85L12.59 19.1C12.55 19.19 12.46 19.26 12.27 19.26C11.58 19.26 11.03 18.7 11.03 18.01V13.76H5.5C5.27 13.76 5.07 13.67 4.93 13.5C4.78 13.33 4.73 13.11 4.77 12.88L6.08 5.38C6.14 5.02 6.45001 4.76 6.82 4.76H15.26V12.85ZM19.25 11.38C19.25 11.86 18.86 12.25 18.38 12.25H16.77V4.75H18.38C18.86 4.75 19.25 5.14 19.25 5.61V11.38Z" })
737
737
  )
738
- ))))), followOnQuestions && followOnQuestions.length > 0 && /* @__PURE__ */ React3.createElement("div", { className: "suggestions-container" }, followOnQuestions.map((question, index) => /* @__PURE__ */ React3.createElement(
738
+ ))))), followOnQuestions && followOnQuestions.length > 0 && idle && /* @__PURE__ */ React3.createElement("div", { className: "suggestions-container" }, followOnQuestions.map((question, index) => /* @__PURE__ */ React3.createElement(
739
739
  "button",
740
740
  {
741
741
  key: index,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "llmasaservice-ui",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "description": "Prebuilt UI components for LLMAsAService.io",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/ChatPanel.tsx CHANGED
@@ -811,7 +811,7 @@ const ChatPanel: React.FC<ChatPanelProps & ExtraProps> = ({
811
811
  </div>
812
812
  ))}
813
813
 
814
- {followOnQuestions && followOnQuestions.length > 0 && (
814
+ {(followOnQuestions && followOnQuestions.length > 0 && idle) && (
815
815
  <div className="suggestions-container">
816
816
  {followOnQuestions.map((question, index) => (
817
817
  <button