@box/box-ai-content-answers 0.147.1 → 0.148.1

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.
Files changed (45) hide show
  1. package/dist/esm/lib/components/answer/answer.js +123 -117
  2. package/dist/esm/lib/components/answer/constants.js +3 -2
  3. package/dist/esm/lib/components/answer/feedback-tooltip.js +87 -64
  4. package/dist/esm/lib/components/answer/messages.js +4 -0
  5. package/dist/esm/lib/components/chat/chat.js +81 -79
  6. package/dist/esm/lib/components/common/markdown.js +339 -337
  7. package/dist/i18n/bn-IN.js +1 -0
  8. package/dist/i18n/da-DK.js +1 -0
  9. package/dist/i18n/de-DE.js +1 -0
  10. package/dist/i18n/en-AU.js +1 -0
  11. package/dist/i18n/en-CA.js +1 -0
  12. package/dist/i18n/en-GB.js +1 -0
  13. package/dist/i18n/en-US.js +1 -0
  14. package/dist/i18n/en-US.properties +2 -0
  15. package/dist/i18n/en-x-pseudo.js +78 -77
  16. package/dist/i18n/en-x-pseudo.properties +77 -77
  17. package/dist/i18n/es-419.js +1 -0
  18. package/dist/i18n/es-ES.js +1 -0
  19. package/dist/i18n/fi-FI.js +1 -0
  20. package/dist/i18n/fr-CA.js +1 -0
  21. package/dist/i18n/fr-FR.js +1 -0
  22. package/dist/i18n/hi-IN.js +1 -0
  23. package/dist/i18n/it-IT.js +1 -0
  24. package/dist/i18n/ja-JP.js +1 -0
  25. package/dist/i18n/json/src/lib/components/answer/messages.json +1 -1
  26. package/dist/i18n/ko-KR.js +1 -0
  27. package/dist/i18n/nb-NO.js +1 -0
  28. package/dist/i18n/nl-NL.js +1 -0
  29. package/dist/i18n/pl-PL.js +1 -0
  30. package/dist/i18n/pt-BR.js +1 -0
  31. package/dist/i18n/ru-RU.js +1 -0
  32. package/dist/i18n/sv-SE.js +1 -0
  33. package/dist/i18n/tr-TR.js +1 -0
  34. package/dist/i18n/zh-CN.js +1 -0
  35. package/dist/i18n/zh-TW.js +1 -0
  36. package/dist/styles/feedback-tooltip.css +1 -1
  37. package/dist/types/lib/components/answer/answer.d.ts +2 -0
  38. package/dist/types/lib/components/answer/constants.d.ts +1 -0
  39. package/dist/types/lib/components/answer/messages.d.ts +5 -0
  40. package/dist/types/lib/components/answer/stories/shared.d.ts +58 -0
  41. package/dist/types/lib/components/chat/chat.d.ts +1 -1
  42. package/dist/types/lib/components/chat/stories/index.d.ts +1 -0
  43. package/dist/types/lib/stories/shared.d.ts +5 -0
  44. package/dist/types/lib/types.d.ts +2 -0
  45. package/package.json +6 -6
@@ -20,6 +20,7 @@ export default {
20
20
  "boxAI.contentAnswers.disabledTooltipFileNotCompatible": "Box AI no es compatible actualmente con este tipo de archivo",
21
21
  "boxAI.contentAnswers.disabledTooltipPermissionsFailed": "No se pueden verificar los permisos en este momento. Vuelve a cargar esta página para intentarlo de nuevo",
22
22
  "boxAI.contentAnswers.disabledTooltipPermissionsLoading": "Comprobando los permisos...",
23
+ "boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer": "To report inappropriate content, email {abuseEmailLink}",
23
24
  "boxAI.contentAnswers.feedbackTooltipCancel": "Anular",
24
25
  "boxAI.contentAnswers.feedbackTooltipConfirmation": "Gracias por los comentarios.",
25
26
  "boxAI.contentAnswers.feedbackTooltipFeedback": "¿Cómo podemos mejorar la experiencia?",
@@ -20,6 +20,7 @@ export default {
20
20
  "boxAI.contentAnswers.disabledTooltipFileNotCompatible": "Box AI:ta ei tällä hetkellä tueta tälle tiedostotyypille",
21
21
  "boxAI.contentAnswers.disabledTooltipPermissionsFailed": "Käyttöoikeustasoa ei voitu juuri nyt tarkistaa. Yritä uudelleen lataamalla sivu",
22
22
  "boxAI.contentAnswers.disabledTooltipPermissionsLoading": "Tarkistetaan käyttöoikeustasoa...",
23
+ "boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer": "To report inappropriate content, email {abuseEmailLink}",
23
24
  "boxAI.contentAnswers.feedbackTooltipCancel": "Peruuta",
24
25
  "boxAI.contentAnswers.feedbackTooltipConfirmation": "Kiitos palautteesta.",
25
26
  "boxAI.contentAnswers.feedbackTooltipFeedback": "Miten voimme parantaa kokemusta?",
@@ -20,6 +20,7 @@ export default {
20
20
  "boxAI.contentAnswers.disabledTooltipFileNotCompatible": "Box AI n'est actuellement pas pris en charge pour ce type de fichier",
21
21
  "boxAI.contentAnswers.disabledTooltipPermissionsFailed": "Impossible de vérifier les autorisations pour le moment. Veuillez recharger cette page pour réessayer",
22
22
  "boxAI.contentAnswers.disabledTooltipPermissionsLoading": "Vérification des autorisations...",
23
+ "boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer": "To report inappropriate content, email {abuseEmailLink}",
23
24
  "boxAI.contentAnswers.feedbackTooltipCancel": "Annuler",
24
25
  "boxAI.contentAnswers.feedbackTooltipConfirmation": "Merci pour le commentaire.",
25
26
  "boxAI.contentAnswers.feedbackTooltipFeedback": "Comment pouvons-nous améliorer cette expérience ?",
@@ -20,6 +20,7 @@ export default {
20
20
  "boxAI.contentAnswers.disabledTooltipFileNotCompatible": "Box AI n'est actuellement pas pris en charge pour ce type de fichier",
21
21
  "boxAI.contentAnswers.disabledTooltipPermissionsFailed": "Impossible de vérifier les autorisations pour le moment. Veuillez recharger cette page pour réessayer",
22
22
  "boxAI.contentAnswers.disabledTooltipPermissionsLoading": "Vérification des autorisations...",
23
+ "boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer": "To report inappropriate content, email {abuseEmailLink}",
23
24
  "boxAI.contentAnswers.feedbackTooltipCancel": "Annuler",
24
25
  "boxAI.contentAnswers.feedbackTooltipConfirmation": "Merci pour le commentaire.",
25
26
  "boxAI.contentAnswers.feedbackTooltipFeedback": "Comment pouvons-nous améliorer cette expérience ?",
@@ -20,6 +20,7 @@ export default {
20
20
  "boxAI.contentAnswers.disabledTooltipFileNotCompatible": "फ़िलहाल इस तरह की फ़ाइल के लिए Box AI का उपयोग नहीं किया जा सकता है",
21
21
  "boxAI.contentAnswers.disabledTooltipPermissionsFailed": "इस समय अनुमतियाँ जांचने में असमर्थ। पुनः प्रयास करने के लिए इस पेज को पुनः लोड करें",
22
22
  "boxAI.contentAnswers.disabledTooltipPermissionsLoading": "अनुमतियाँ जाँची जा रही हैं...",
23
+ "boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer": "To report inappropriate content, email {abuseEmailLink}",
23
24
  "boxAI.contentAnswers.feedbackTooltipCancel": "रद्द करें",
24
25
  "boxAI.contentAnswers.feedbackTooltipConfirmation": "आपके फ़ीडबैक के लिए धन्यवाद।",
25
26
  "boxAI.contentAnswers.feedbackTooltipFeedback": "हम अनुभव को कैसे सुधारें?",
@@ -20,6 +20,7 @@ export default {
20
20
  "boxAI.contentAnswers.disabledTooltipFileNotCompatible": "Box AI non è attualmente supportato per questo tipo di file",
21
21
  "boxAI.contentAnswers.disabledTooltipPermissionsFailed": "Non è possibile controllare le autorizzazioni in questo momento. Ricarica la pagina per riprovare.",
22
22
  "boxAI.contentAnswers.disabledTooltipPermissionsLoading": "Controllo autorizzazioni...",
23
+ "boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer": "To report inappropriate content, email {abuseEmailLink}",
23
24
  "boxAI.contentAnswers.feedbackTooltipCancel": "Annulla",
24
25
  "boxAI.contentAnswers.feedbackTooltipConfirmation": "Grazie per il feedback.",
25
26
  "boxAI.contentAnswers.feedbackTooltipFeedback": "Come possiamo migliorare l'esperienza?",
@@ -20,6 +20,7 @@ export default {
20
20
  "boxAI.contentAnswers.disabledTooltipFileNotCompatible": "Box AIは現在、このファイルの種類ではサポートされていません",
21
21
  "boxAI.contentAnswers.disabledTooltipPermissionsFailed": "現在、権限を確認できません。もう一度やり直すには、このページを再読み込みしてください",
22
22
  "boxAI.contentAnswers.disabledTooltipPermissionsLoading": "権限を確認中...",
23
+ "boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer": "To report inappropriate content, email {abuseEmailLink}",
23
24
  "boxAI.contentAnswers.feedbackTooltipCancel": "キャンセル",
24
25
  "boxAI.contentAnswers.feedbackTooltipConfirmation": "フィードバックのご提供ありがとうございます。",
25
26
  "boxAI.contentAnswers.feedbackTooltipFeedback": "エクスペリエンスの改善点がありましたらお知らせください。",
@@ -1 +1 @@
1
- [{"id":"boxAI.contentAnswers.basedOn","description":"Label for the references used for generating the answer from the AI service","defaultMessage":"Based on:"},{"id":"boxAI.contentAnswers.cardTooltipButton","description":"Text for button to open citation reference in a new tab","defaultMessage":"Open document"},{"id":"boxAI.contentAnswers.cardTooltipTitle","description":"Title of citation card tooltip in answer references section","defaultMessage":"From document:"},{"id":"boxAI.contentAnswers.cardTooltipTitleWithDocumentName","description":"Title of citation card tooltip in answer references section with document title","defaultMessage":"From \"{title}\":"},{"id":"boxAI.textInputWithCopyButton.copyButtonSuccessText","description":"Text for copy button in input with copy button indicating copy success","defaultMessage":"Copied"},{"id":"boxAI.contentAnswers.copyToClipboard","description":"Copy to clipboard tooltip","defaultMessage":"Copy to Clipboard"},{"id":"boxAI.contentAnswers.copyToClipboardSucceeded","description":"Notification displayed to the user when the answer has been successfully copied to the clipboard","defaultMessage":"Copied to your clipboard"},{"id":"boxAI.contentAnswers.feedbackTooltipCancel","description":"Cancel button text for the feedback tooltip","defaultMessage":"Cancel"},{"id":"boxAI.contentAnswers.feedbackTooltipConfirmation","description":"Confirmation message after submitting feedback in the feedback tooltip","defaultMessage":"Thank you for the feedback."},{"id":"boxAI.contentAnswers.feedbackTooltipFeedback","description":"Label for the feedback text area in the feedback tooltip","defaultMessage":"How can we improve the experience?"},{"id":"boxAI.contentAnswers.feedbackTooltipFeedbackPlaceholder","description":"Placeholder text for the feedback text area in the feedback tooltip","defaultMessage":"We'd love to hear from you! Please omit personal info, sensitive content, or links in your feedback as submissions to Box aren't confidential."},{"id":"boxAI.contentAnswers.feedbackTooltipIssueTypeLabel","description":"Label for the feedback type radio group in the feedback tooltip","defaultMessage":"What type of issue do you wish to report?"},{"id":"boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer1","description":"Label for the first radio button in the feedback type radio group in the feedback tooltip","defaultMessage":"Inaccurate answer"},{"id":"boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer2","description":"Label for the second radio button in the feedback type radio group in the feedback tooltip","defaultMessage":"Did not follow my request"},{"id":"boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer3","description":"Label for the third radio button in the feedback type radio group in the feedback tooltip","defaultMessage":"Other"},{"id":"boxAI.contentAnswers.feedbackTooltipTitle","description":"Title of a tooltip that asks the user to share feedback on the answer","defaultMessage":"Share your feedback"},{"id":"boxAI.contentAnswers.feedbackTooltipSubmit","description":"Submit button text for the feedback tooltip","defaultMessage":"Submit"},{"id":"boxAI.contentAnswers.inlineNoContentErrorText","description":"Content Answers error message when the service returns 204 (no content)","defaultMessage":"Relevant content cannot be found. Please try again later or ask a different question."},{"id":"boxAI.contentAnswers.inlineAgentNotFoundErrorText","description":"Content Answers error message when the answer fails due to an invalid agent","defaultMessage":"The selected agent is unavailable. Switching to the default agent."},{"id":"boxAI.contentAnswers.inlineErrorText","description":"Content Answers error message when the service fails","defaultMessage":"Box AI is having trouble generating a response right now. Please try again."},{"id":"boxAI.contentAnswers.inlineRateLimitingErrorText","description":"Content Answers error message when the service fails due to rate limiting","defaultMessage":"Box AI currently has limited capacity (we're working to expand bandwidth). Please try again in a few minutes."},{"id":"boxAI.contentAnswers.inlinePreconditionFailedErrorText","description":"Content Answers error message when the AI service has not yet processed the file","defaultMessage":"Additional time is needed to process this {type}, please try again later."},{"id":"boxAI.contentAnswers.loadingAnswer","description":"Aria label to show while waiting for an answer","defaultMessage":"Loading Answer..."},{"id":"boxAI.contentAnswers.noReferences","description":"Loading message if there are no citations for an answer","defaultMessage":"Response based on general document analysis"},{"id":"boxAI.contentAnswers.referenceAriaLabel","description":"ARIA label designed for screen readers to enhance clarity during the reading of citations, minimizing confusion.","defaultMessage":"Reference {number}"},{"id":"boxAI.contentAnswers.responseInterruptedError","description":"Error message to be displayed within an answer during streaming mode if the answer was interrupted due to a lack of tokens.","defaultMessage":"Response Interrupted"},{"id":"boxAI.contentAnswers.responseFailedError","description":"Error message to be displayed within an answer during streaming mode if there was another error, such as network errors.","defaultMessage":"Response Failed"},{"id":"boxAI.contentAnswers.responseStoppedError","description":"Error message to be displayed within an answer during streaming mode if the answer was stopped using the Stop Response button.","defaultMessage":"Response Stopped"},{"id":"boxAI.contentAnswers.thumbsUpAriaLabel","description":"Aria label for thumbs up icon","defaultMessage":"Helpful"},{"id":"boxAI.contentAnswers.thumbsDownAriaLabel","description":"Aria label for thumbs down icon","defaultMessage":"Not helpful"}]
1
+ [{"id":"boxAI.contentAnswers.basedOn","description":"Label for the references used for generating the answer from the AI service","defaultMessage":"Based on:"},{"id":"boxAI.contentAnswers.cardTooltipButton","description":"Text for button to open citation reference in a new tab","defaultMessage":"Open document"},{"id":"boxAI.contentAnswers.cardTooltipTitle","description":"Title of citation card tooltip in answer references section","defaultMessage":"From document:"},{"id":"boxAI.contentAnswers.cardTooltipTitleWithDocumentName","description":"Title of citation card tooltip in answer references section with document title","defaultMessage":"From \"{title}\":"},{"id":"boxAI.textInputWithCopyButton.copyButtonSuccessText","description":"Text for copy button in input with copy button indicating copy success","defaultMessage":"Copied"},{"id":"boxAI.contentAnswers.copyToClipboard","description":"Copy to clipboard tooltip","defaultMessage":"Copy to Clipboard"},{"id":"boxAI.contentAnswers.copyToClipboardSucceeded","description":"Notification displayed to the user when the answer has been successfully copied to the clipboard","defaultMessage":"Copied to your clipboard"},{"id":"boxAI.contentAnswers.feedbackTooltipCancel","description":"Cancel button text for the feedback tooltip","defaultMessage":"Cancel"},{"id":"boxAI.contentAnswers.feedbackTooltipConfirmation","description":"Confirmation message after submitting feedback in the feedback tooltip","defaultMessage":"Thank you for the feedback."},{"id":"boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer","description":"Disclaimer informing how to report inappropriate content in the feedback tooltip","defaultMessage":"To report inappropriate content, email {abuseEmailLink}"},{"id":"boxAI.contentAnswers.feedbackTooltipFeedback","description":"Label for the feedback text area in the feedback tooltip","defaultMessage":"How can we improve the experience?"},{"id":"boxAI.contentAnswers.feedbackTooltipFeedbackPlaceholder","description":"Placeholder text for the feedback text area in the feedback tooltip","defaultMessage":"We'd love to hear from you! Please omit personal info, sensitive content, or links in your feedback as submissions to Box aren't confidential."},{"id":"boxAI.contentAnswers.feedbackTooltipIssueTypeLabel","description":"Label for the feedback type radio group in the feedback tooltip","defaultMessage":"What type of issue do you wish to report?"},{"id":"boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer1","description":"Label for the first radio button in the feedback type radio group in the feedback tooltip","defaultMessage":"Inaccurate answer"},{"id":"boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer2","description":"Label for the second radio button in the feedback type radio group in the feedback tooltip","defaultMessage":"Did not follow my request"},{"id":"boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer3","description":"Label for the third radio button in the feedback type radio group in the feedback tooltip","defaultMessage":"Other"},{"id":"boxAI.contentAnswers.feedbackTooltipTitle","description":"Title of a tooltip that asks the user to share feedback on the answer","defaultMessage":"Share your feedback"},{"id":"boxAI.contentAnswers.feedbackTooltipSubmit","description":"Submit button text for the feedback tooltip","defaultMessage":"Submit"},{"id":"boxAI.contentAnswers.inlineNoContentErrorText","description":"Content Answers error message when the service returns 204 (no content)","defaultMessage":"Relevant content cannot be found. Please try again later or ask a different question."},{"id":"boxAI.contentAnswers.inlineAgentNotFoundErrorText","description":"Content Answers error message when the answer fails due to an invalid agent","defaultMessage":"The selected agent is unavailable. Switching to the default agent."},{"id":"boxAI.contentAnswers.inlineErrorText","description":"Content Answers error message when the service fails","defaultMessage":"Box AI is having trouble generating a response right now. Please try again."},{"id":"boxAI.contentAnswers.inlineRateLimitingErrorText","description":"Content Answers error message when the service fails due to rate limiting","defaultMessage":"Box AI currently has limited capacity (we're working to expand bandwidth). Please try again in a few minutes."},{"id":"boxAI.contentAnswers.inlinePreconditionFailedErrorText","description":"Content Answers error message when the AI service has not yet processed the file","defaultMessage":"Additional time is needed to process this {type}, please try again later."},{"id":"boxAI.contentAnswers.loadingAnswer","description":"Aria label to show while waiting for an answer","defaultMessage":"Loading Answer..."},{"id":"boxAI.contentAnswers.noReferences","description":"Loading message if there are no citations for an answer","defaultMessage":"Response based on general document analysis"},{"id":"boxAI.contentAnswers.referenceAriaLabel","description":"ARIA label designed for screen readers to enhance clarity during the reading of citations, minimizing confusion.","defaultMessage":"Reference {number}"},{"id":"boxAI.contentAnswers.responseInterruptedError","description":"Error message to be displayed within an answer during streaming mode if the answer was interrupted due to a lack of tokens.","defaultMessage":"Response Interrupted"},{"id":"boxAI.contentAnswers.responseFailedError","description":"Error message to be displayed within an answer during streaming mode if there was another error, such as network errors.","defaultMessage":"Response Failed"},{"id":"boxAI.contentAnswers.responseStoppedError","description":"Error message to be displayed within an answer during streaming mode if the answer was stopped using the Stop Response button.","defaultMessage":"Response Stopped"},{"id":"boxAI.contentAnswers.thumbsUpAriaLabel","description":"Aria label for thumbs up icon","defaultMessage":"Helpful"},{"id":"boxAI.contentAnswers.thumbsDownAriaLabel","description":"Aria label for thumbs down icon","defaultMessage":"Not helpful"}]
@@ -20,6 +20,7 @@ export default {
20
20
  "boxAI.contentAnswers.disabledTooltipFileNotCompatible": "Box AI는 현재 이 파일 유형을 지원하지 않습니다",
21
21
  "boxAI.contentAnswers.disabledTooltipPermissionsFailed": "현재 권한을 확인할 수 없습니다. 다시 시도하려면 이 페이지를 다시 로드하세요.",
22
22
  "boxAI.contentAnswers.disabledTooltipPermissionsLoading": "권한 확인 중...",
23
+ "boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer": "To report inappropriate content, email {abuseEmailLink}",
23
24
  "boxAI.contentAnswers.feedbackTooltipCancel": "취소",
24
25
  "boxAI.contentAnswers.feedbackTooltipConfirmation": "피드백을 보내주셔서 감사합니다.",
25
26
  "boxAI.contentAnswers.feedbackTooltipFeedback": "어떻게 경험을 개선할 수 있습니까?",
@@ -20,6 +20,7 @@ export default {
20
20
  "boxAI.contentAnswers.disabledTooltipFileNotCompatible": "Box AI støttes for øyeblikket ikke for denne filtypen",
21
21
  "boxAI.contentAnswers.disabledTooltipPermissionsFailed": "Kan ikke kontrollere tillatelser på dette tidspunktet. Last inn siden på nytt for å prøve igjen",
22
22
  "boxAI.contentAnswers.disabledTooltipPermissionsLoading": "Kontrollerer tillatelser …",
23
+ "boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer": "To report inappropriate content, email {abuseEmailLink}",
23
24
  "boxAI.contentAnswers.feedbackTooltipCancel": "Avbryt",
24
25
  "boxAI.contentAnswers.feedbackTooltipConfirmation": "Takk for tilbakemeldingen.",
25
26
  "boxAI.contentAnswers.feedbackTooltipFeedback": "Hvordan kan vi forbedre opplevelsen?",
@@ -20,6 +20,7 @@ export default {
20
20
  "boxAI.contentAnswers.disabledTooltipFileNotCompatible": "Box AI wordt momenteel niet ondersteund voor dit bestandstype",
21
21
  "boxAI.contentAnswers.disabledTooltipPermissionsFailed": "Op dit ogenblik kan ik machtigingen niet controleren. Herlaad deze pagina om het opnieuw te proberen",
22
22
  "boxAI.contentAnswers.disabledTooltipPermissionsLoading": "Machtigingen controleren...",
23
+ "boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer": "To report inappropriate content, email {abuseEmailLink}",
23
24
  "boxAI.contentAnswers.feedbackTooltipCancel": "Annuleren",
24
25
  "boxAI.contentAnswers.feedbackTooltipConfirmation": "Bedankt voor de feedback.",
25
26
  "boxAI.contentAnswers.feedbackTooltipFeedback": "Hoe kunnen we de ervaring verbeteren?",
@@ -20,6 +20,7 @@ export default {
20
20
  "boxAI.contentAnswers.disabledTooltipFileNotCompatible": "Usługa Box AI nie są obecnie obsługiwana dla plików tego typu",
21
21
  "boxAI.contentAnswers.disabledTooltipPermissionsFailed": "Nie można obecnie sprawdzić uprawnień. Ponownie załaduj tę stronę, aby spróbować ponownie",
22
22
  "boxAI.contentAnswers.disabledTooltipPermissionsLoading": "Sprawdzanie uprawnień...",
23
+ "boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer": "To report inappropriate content, email {abuseEmailLink}",
23
24
  "boxAI.contentAnswers.feedbackTooltipCancel": "Anuluj",
24
25
  "boxAI.contentAnswers.feedbackTooltipConfirmation": "Dziękujemy za Twoją opinię.",
25
26
  "boxAI.contentAnswers.feedbackTooltipFeedback": "Jak możemy poprawić doświadczenie?",
@@ -20,6 +20,7 @@ export default {
20
20
  "boxAI.contentAnswers.disabledTooltipFileNotCompatible": "Box AI não é compatível no momento com este tipo de arquivo",
21
21
  "boxAI.contentAnswers.disabledTooltipPermissionsFailed": "Não foi possível verificar as permissões neste momento. Recarregue esta página para tentar novamente",
22
22
  "boxAI.contentAnswers.disabledTooltipPermissionsLoading": "Verificando permissões...",
23
+ "boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer": "To report inappropriate content, email {abuseEmailLink}",
23
24
  "boxAI.contentAnswers.feedbackTooltipCancel": "Cancelar",
24
25
  "boxAI.contentAnswers.feedbackTooltipConfirmation": "Agradecemos seu feedback.",
25
26
  "boxAI.contentAnswers.feedbackTooltipFeedback": "Como podemos melhorar a experiência?",
@@ -20,6 +20,7 @@ export default {
20
20
  "boxAI.contentAnswers.disabledTooltipFileNotCompatible": "В настоящее время ИИ Box для этого типа файлов не поддерживается",
21
21
  "boxAI.contentAnswers.disabledTooltipPermissionsFailed": "Невозможно проверить уровень доступа в данный момент. Перезагрузите страницу, чтобы повторить попытку",
22
22
  "boxAI.contentAnswers.disabledTooltipPermissionsLoading": "Проверка уровня доступа...",
23
+ "boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer": "To report inappropriate content, email {abuseEmailLink}",
23
24
  "boxAI.contentAnswers.feedbackTooltipCancel": "Отмена",
24
25
  "boxAI.contentAnswers.feedbackTooltipConfirmation": "Благодарим за отзыв.",
25
26
  "boxAI.contentAnswers.feedbackTooltipFeedback": "Как мы можем улучшить впечатления?",
@@ -20,6 +20,7 @@ export default {
20
20
  "boxAI.contentAnswers.disabledTooltipFileNotCompatible": "Box AI stöds för närvarande inte för den här filtypen",
21
21
  "boxAI.contentAnswers.disabledTooltipPermissionsFailed": "Kan för närvarande inte kontrollera åtkomstnivå. Ladda om sidan för att försöka igen",
22
22
  "boxAI.contentAnswers.disabledTooltipPermissionsLoading": "Kontrollerar åtkomstnivå …",
23
+ "boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer": "To report inappropriate content, email {abuseEmailLink}",
23
24
  "boxAI.contentAnswers.feedbackTooltipCancel": "Avbryt",
24
25
  "boxAI.contentAnswers.feedbackTooltipConfirmation": "Tack för återkopplingen.",
25
26
  "boxAI.contentAnswers.feedbackTooltipFeedback": "Hur kan vi förbättra upplevelsen?",
@@ -20,6 +20,7 @@ export default {
20
20
  "boxAI.contentAnswers.disabledTooltipFileNotCompatible": "Box AI şu anda bu dosya türü için desteklenmiyor",
21
21
  "boxAI.contentAnswers.disabledTooltipPermissionsFailed": "İzinler şu anda kontrol edilemiyor. Tekrar denemek için sayfayı yeniden yükle",
22
22
  "boxAI.contentAnswers.disabledTooltipPermissionsLoading": "İzinler kontrolediliyor...",
23
+ "boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer": "To report inappropriate content, email {abuseEmailLink}",
23
24
  "boxAI.contentAnswers.feedbackTooltipCancel": "İptal Et",
24
25
  "boxAI.contentAnswers.feedbackTooltipConfirmation": "Geri bildirim için teşekkür ederiz.",
25
26
  "boxAI.contentAnswers.feedbackTooltipFeedback": "Deneyimi nasıl geliştirebiliriz?",
@@ -20,6 +20,7 @@ export default {
20
20
  "boxAI.contentAnswers.disabledTooltipFileNotCompatible": "此文件类型目前不支持 Box AI",
21
21
  "boxAI.contentAnswers.disabledTooltipPermissionsFailed": "此时无法选中权限。重新加载此页面,然后重新尝试",
22
22
  "boxAI.contentAnswers.disabledTooltipPermissionsLoading": "正在选中权限...",
23
+ "boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer": "To report inappropriate content, email {abuseEmailLink}",
23
24
  "boxAI.contentAnswers.feedbackTooltipCancel": "取消",
24
25
  "boxAI.contentAnswers.feedbackTooltipConfirmation": "感谢您提交反馈。",
25
26
  "boxAI.contentAnswers.feedbackTooltipFeedback": "我们如何改进体验?",
@@ -20,6 +20,7 @@ export default {
20
20
  "boxAI.contentAnswers.disabledTooltipFileNotCompatible": "Box AI Q&A 目前不支援此檔案類型",
21
21
  "boxAI.contentAnswers.disabledTooltipPermissionsFailed": "目前無法查看權限。重新載入此頁面並再試一次",
22
22
  "boxAI.contentAnswers.disabledTooltipPermissionsLoading": "正在查看權限…",
23
+ "boxAI.contentAnswers.feedbackTooltipAbuseDisclaimer": "To report inappropriate content, email {abuseEmailLink}",
23
24
  "boxAI.contentAnswers.feedbackTooltipCancel": "取消",
24
25
  "boxAI.contentAnswers.feedbackTooltipConfirmation": "感謝您提供意見回饋。",
25
26
  "boxAI.contentAnswers.feedbackTooltipFeedback": "我們如何改進體驗?",
@@ -1 +1 @@
1
- ._feedbackTooltip_rsbqj_1{z-index:var(--z-index-modal)}._feedbackTooltip_rsbqj_1 ._feedbackTooltipTitle_rsbqj_4{margin-block-end:var(--space-5)}._feedbackTooltip_rsbqj_1 ._feedbackTooltipTextarea_rsbqj_7{margin-block-start:var(--space-5)}._feedbackTooltip_rsbqj_1 ._feedbackTooltipSubmitBtn_rsbqj_10{margin-inline-start:var(--space-2)}
1
+ ._feedbackTooltip_1x6kj_1{z-index:var(--z-index-modal);max-width:24rem;padding-block-end:var(--space-4);padding-block-start:var(--space-4);padding-inline:var(--space-4)}._feedbackTooltip_1x6kj_1 ._feedbackTooltipForm_1x6kj_8{gap:var(--bp-space-050, 1.25rem);width:20.375rem}._feedbackTooltip_1x6kj_1 ._feedbackTooltipTitle_1x6kj_12{margin-block-end:var(--space-5)}._feedbackTooltip_1x6kj_1 ._feedbackTooltipTextarea_1x6kj_15{margin-block-start:var(--space-5)}._feedbackTooltip_1x6kj_1 ._feedbackTooltipSubmitBtn_1x6kj_18{margin-inline-start:var(--space-2)}._feedbackTooltip_1x6kj_1 ._feedbackTooltipAbuseDisclaimer_1x6kj_21{margin-block-start:var(--space-5);color:var(--text-text-on-light-secondary)}._feedbackTooltip_1x6kj_1 ._feedbackTooltipAbuseDisclaimer_1x6kj_21 ._feedbackTooltipAbuseLink_1x6kj_25{color:var(--text-text-on-light-secondary);font-size:var(--bp-font-size-03, .75rem)}
@@ -22,6 +22,8 @@ export interface AnswerProps {
22
22
  isFeedbackFormEnabled?: boolean;
23
23
  /** Whether the feedback tooltip isopen */
24
24
  isFeedbackTooltipOpen?: boolean;
25
+ /** Whether to show inline citations or not */
26
+ isInlineCitationsEnabled?: boolean;
25
27
  /** Whether to show the loading state or not if the answer is empty */
26
28
  isLoading?: boolean;
27
29
  /** Whether the answer supports markdown */
@@ -1 +1,2 @@
1
+ export declare const ABUSE_REPORT_EMAIL = "abuse@box.com";
1
2
  export declare const MAX_CITATION_LENGTH = 500;
@@ -44,6 +44,11 @@ declare const messages: {
44
44
  description: string;
45
45
  id: string;
46
46
  };
47
+ feedbackTooltipAbuseDisclaimer: {
48
+ defaultMessage: string;
49
+ description: string;
50
+ id: string;
51
+ };
47
52
  feedbackTooltipFeedbackLabel: {
48
53
  defaultMessage: string;
49
54
  description: string;
@@ -22,7 +22,65 @@ export declare const citationsWithDocumentName: {
22
22
  export declare const answerWithLargeTable = "\n| English | Spanish | French | German | Italian | Portuguese | Dutch | Russian | Japanese | Color | Origin | Taste | Uses | Season | Nutritional Benefits |\n|---------------|---------------|---------------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|---------------------|------------------|-------------------------------------------|\n| Apple | Manzana | Pomme | Apfel | Mela | Ma\u00E7\u00E3 | Appel | \u042F\u0431\u043B\u043E\u043A\u043E | \u308A\u3093\u3054 | Red | Europe | Sweet | Eating, Cooking | Autumn | High in fiber, vitamin C |\n| Banana | Pl\u00E1tano | Banane | Banane | Banana | Banana | Banaan | \u0411\u0430\u043D\u0430\u043D | \u30D0\u30CA\u30CA | Yellow | Tropical | Sweet | Eating, Smoothies | Year-round | High in potassium, vitamin B6 |\n| Orange | Naranja | Orange | Orange | Arancia | Laranja | Sinaasappel | \u0410\u043F\u0435\u043B\u044C\u0441\u0438\u043D | \u30AA\u30EC\u30F3\u30B8 | Orange | Asia | Tangy | Juice, Eating | Winter | High in vitamin C, antioxidants |\n| Grape | Uva | Raisin | Traube | Uva | Uva | Druif | \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434 | \u3076\u3069\u3046 | Purple | Europe | Sweet | Eating, Wine | Autumn | High in antioxidants |\n| Strawberry | Fresa | Fraisier | Erdbeere | Fragola | Morango | Aardbei | \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 | \u3044\u3061\u3054 | Red | Europe | Sweet | Eating, Desserts | Spring | High in vitamin C, fiber |\n| Blueberry | Ar\u00E1ndano | Myrtille | Heidelbeere | Mirtillo | Mirtilo | Bosbes | \u0413\u043E\u043B\u0443\u0431\u0438\u043A\u0430 | \u30D6\u30EB\u30FC\u30D9\u30EA\u30FC | Blue | North America| Sweet | Eating, Baking | Summer | High in antioxidants |\n| Lemon | Lim\u00F3n | Citron | Zitrone | Limone | Lim\u00E3o | Citroen | \u041B\u0438\u043C\u043E\u043D | \u30EC\u30E2\u30F3 | Yellow | Asia | Sour | Juice, Cooking | Year-round | High in vitamin C, aids digestion |\n| Pineapple | Pi\u00F1a | Ananas | Ananas | Ananas | Abacaxi | Ananas | \u0410\u043D\u0430\u043D\u0430\u0441 | \u30D1\u30A4\u30CA\u30C3\u30D7\u30EB | Brown/Yellow | South America| Sweet | Eating, Juicing | Summer | Rich in vitamin C, aids digestion |\n| Watermelon | Sand\u00EDa | Past\u00E8que | Wassermelone | Anguria | Melancia | Watermeloen | \u0410\u0440\u0431\u0443\u0437 | \u30B9\u30A4\u30AB | Green/Red | Africa | Sweet | Eating, Juicing | Summer | Hydrating, low in calories |\n| Cherry | Cereza | Cerise | Kirsche | Ciliegia | Cereja | Kers | \u0412\u0438\u0448\u043D\u044F | \u3055\u304F\u3089\u3093\u307C | Red | Europe | Sweet | Eating, Desserts | Spring | High in antioxidants, anti-inflammatory |\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Sed hendrerit nisi eget ligula suscipit, id tempus lorem volutpat. Nam eget placerat justo. Fusce vitae tortor id mi accumsan vestibulum. Integer auctor fermentum nisi, et consequat orci facilisis ac. Ut vitae nisl sit amet orci ullamcorper fringilla non a turpis. Proin nec turpis sed elit mattis efficitur. Sed consequat dui et nisi malesuada, sed sodales nulla hendrerit. Nullam tristique, lorem nec aliquet varius, mauris purus eleifend justo, vitae varius purus mauris sit amet purus. Duis ac odio ut nulla fermentum congue. Integer consequat dui sed libero vulputate commodo. \n Donec rhoncus purus nec turpis pulvinar, ac aliquam neque aliquet. Sed semper libero quis massa vehicula, sit amet rhoncus tortor fringilla. Nulla facilisi. In ut nibh eget mauris dictum suscipit vel eget lacus. Nullam sollicitudin leo nec ligula convallis, eget pharetra nisi tristique. Nulla facilisi. Phasellus vestibulum tristique sollicitudin. Cras lacinia velit quis sapien tristique, sed luctus elit ultricies. Suspendisse ut dictum tortor. Phasellus sed purus nec odio congue ullamcorper. Sed auctor lorem id venenatis cursus. Sed ac quam tortor. Sed vel ante nec nulla vulputate placerat. Maecenas sed ante eget leo ultrices posuere. Vivamus sit amet feugiat risus.\n";
23
23
  export declare const answerWithTable = "\n| English | Spanish | Color |\n|---------------|---------------|-------------|\n| Apple | Manzana | Red |\n| Banana | Pl\u00E1tano | Yellow |\n| Orange | Naranja | Orange |\n| Grape | Uva | Purple |\n| Strawberry | Fresa | Red |\n| Blueberry | Ar\u00E1ndano | Blue |\n| Lemon | Lim\u00F3n | Yellow |\n| Pineapple | Pi\u00F1a | Brown/Yellow|\n| Watermelon | Sand\u00EDa | Green/Red |\n| Cherry | Cereza | Red |\n";
24
24
  export declare const answerWithCodeBlocks = "\nCode Blocks\n```html\n<div>\n <p>This is a paragraph inside a &lt;div&gt; block.</p>\n</div>\n```\n\n```\nfunction greet(name) {\n console.log('Hello, ' + name + '!');\n}\n\ngreet('World');\n```\n\n```c++\n#include <iostream>\n\nint main() {\n std::cout << \"Hello, world! This is a long line that will cause overflow in the code block when displayed on a narrow screen or container.\" << std::endl;\n return 0;\n}\n```\n";
25
+ export declare const testItems: {
26
+ id: string;
27
+ name: string;
28
+ type: string;
29
+ }[];
30
+ export declare const testItemsWithSpecialCharacters: {
31
+ id: string;
32
+ name: string;
33
+ type: string;
34
+ }[];
35
+ export declare const testItemsWithUnicode: {
36
+ id: string;
37
+ name: string;
38
+ type: string;
39
+ }[];
40
+ export declare const answerWithInlineCitations = "This is a sample answer that references document.pdf and presentation.pptx. The user should be able to click on these file names to navigate to the actual files. This demonstrates how inline citations work in practice.";
41
+ export declare const answerWithMultipleInlineCitations = "Here we have multiple file references: document.pdf, presentation.pptx, spreadsheet.xlsx, and image.jpg. Each of these should be converted to clickable links when inline citations are enabled.";
42
+ export declare const answerWithSpecialCharacterCitations = "This answer contains files with special characters: file-with-dashes.pdf, file_with_underscores.docx, and file.with.dots.txt. These should all be properly handled.";
43
+ export declare const answerWithUnicodeCitations = "This answer references files with unicode characters: r\u00E9sum\u00E9.pdf, caf\u00E9.docx, and na\u00EFve.txt. These should be properly converted to links.";
44
+ export declare const answerWithMixedContent = "Here's an answer that mixes regular text with file references like document.pdf and presentation.pptx. It also includes some markdown formatting like **bold text** and *italic text*. The file names should be clickable while preserving the markdown formatting.";
45
+ export declare const answerWithRepeatedCitations = "The file document.pdf is mentioned multiple times in this answer. document.pdf appears at the beginning, document.pdf in the middle, and document.pdf at the end. Each occurrence should be converted to a clickable link.";
46
+ export declare const answerWithNoCitations = "This answer doesn't contain any file references, so no inline citations should be generated. It's just regular text without any special processing needed.";
47
+ export declare const answerWithPartialMatches = "This answer mentions \"document\" and \"presentation\" but not the full filenames. Since these are partial matches, they should not be converted to links. Only exact matches like document.pdf and presentation.pptx should be processed.";
48
+ export declare const expectedAnswerWithInlineCitations = "This is a sample answer that references document.pdf and presentation.pptx. The user should be able to click on these file names to navigate to the actual files. This demonstrates how inline citations work in practice.";
49
+ export declare const expectedAnswerWithMultipleInlineCitations = "Here we have multiple file references: document.pdf, presentation.pptx, spreadsheet.xlsx, and image.jpg. Each of these should be converted to clickable links when inline citations are enabled.";
50
+ export declare const expectedAnswerWithSpecialCharacterCitations = "This answer contains files with special characters: file-with-dashes.pdf, file_with_underscores.docx, and file.with.dots.txt. These should all be properly handled.";
51
+ export declare const expectedAnswerWithUnicodeCitations = "This answer references files with unicode characters: r\u00E9sum\u00E9.pdf, caf\u00E9.docx, and na\u00EFve.txt. These should be properly converted to links.";
52
+ export declare const expectedAnswerWithMixedContent = "Here's an answer that mixes regular text with file references like document.pdf and presentation.pptx. It also includes some markdown formatting like **bold text** and *italic text*. The file names should be clickable while preserving the markdown formatting.";
53
+ export declare const expectedAnswerWithRepeatedCitations = "The file document.pdf is mentioned multiple times in this answer. document.pdf appears at the beginning, document.pdf in the middle, and document.pdf at the end. Each occurrence should be converted to a clickable link.";
54
+ export declare const testItemsWithBoxUrls: {
55
+ id: string;
56
+ name: string;
57
+ type: string;
58
+ url: string;
59
+ }[];
60
+ export declare const testItemsWithNonBoxUrls: {
61
+ id: string;
62
+ name: string;
63
+ type: string;
64
+ url: string;
65
+ }[];
66
+ export declare const answerWithMixedUrls = "This answer contains both Box files like [document.pdf](https://app.box.com/file/123) and external links like [external doc](https://example.com/doc). The Box links should be clickable, while external links should show the URL in parentheses.";
67
+ export declare const expectedAnswerWithMixedUrls = "This answer contains both Box files like <a href=\"https://app.box.com/file/123\" target=\"_blank\">document.pdf</a> and external links like external doc (https://example.com/doc). The Box links should be clickable, while external links should show the URL in parentheses.";
25
68
  export declare const DefaultAnswer: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
26
69
  export declare const StoppedAnswer: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
27
70
  export declare const AnswerWithFeedback: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
28
71
  export declare const WithUpdatedAnswer: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
72
+ export declare const AnswerWithInlineCitations: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
73
+ export declare const AnswerWithMultipleInlineCitations: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
74
+ export declare const AnswerWithSpecialCharacterCitations: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
75
+ export declare const AnswerWithUnicodeCitations: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
76
+ export declare const AnswerWithMixedContent: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
77
+ export declare const AnswerWithRepeatedCitations: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
78
+ export declare const AnswerWithNoCitations: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
79
+ export declare const AnswerWithPartialMatches: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
80
+ export declare const AnswerWithInlineCitationsDisabled: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
81
+ export declare const AnswerWithInlineCitationsLoading: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
82
+ export declare const AnswerWithInlineCitationsEmptyItems: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
83
+ export declare const AnswerWithInlineCitationsNullItems: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
84
+ export declare const AnswerWithBoxUrls: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
85
+ export declare const AnswerWithNonBoxUrls: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
86
+ export declare const AnswerWithMixedUrlTypes: (props: AnswerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { ChatProps } from '../../types';
2
- export declare const Chat: ({ askSuggestedQuestion, contentType, hasCustomSuggestedQuestions, hasRequestInProgress, isCitationsEnabled, isFeedbackEnabled, isFeedbackFormEnabled, isMarkdownEnabled, isSessionLoading, onCitationClick, onAnswerCopy, onFeedbackFormSubmit, onSuggestedQuestionInteraction, questions, recordAction, setAnswerFeedback, setAskSuggestedQuestion, suggestedQuestions, suggestedQuestionsRequestState, shouldFeedbackFormIncludeFeedbackText, shouldShowLandingPage, useAnimation, variant, hostAppName, welcomeMessageClearText, ...welcomeMessageProps }: ChatProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Chat: ({ askSuggestedQuestion, contentType, hasCustomSuggestedQuestions, hasRequestInProgress, isCitationsEnabled, isFeedbackEnabled, isFeedbackFormEnabled, isInlineCitationsEnabled, isMarkdownEnabled, isSessionLoading, onCitationClick, onAnswerCopy, onFeedbackFormSubmit, onSuggestedQuestionInteraction, questions, recordAction, setAnswerFeedback, setAskSuggestedQuestion, suggestedQuestions, suggestedQuestionsRequestState, shouldFeedbackFormIncludeFeedbackText, shouldShowLandingPage, useAnimation, variant, hostAppName, welcomeMessageClearText, ...welcomeMessageProps }: ChatProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Chat;
@@ -0,0 +1 @@
1
+ export * from './chat.stories';
@@ -38,3 +38,8 @@ export declare const DefaultBoxAISidebar: (props: BoxAiContentAnswersProps) => i
38
38
  export declare const WithFocusableBoxAISidebarInput: (props: BoxAiContentAnswersProps) => import("react/jsx-runtime").JSX.Element;
39
39
  export declare const DefaultBoxAIContentAnswersWithFeedbackForm: (props: BoxAiContentAnswersProps) => import("react/jsx-runtime").JSX.Element;
40
40
  export declare const BoxAIContentAnswersWithAgentsProviderWithFeedbackForm: (props: BoxAiContentAnswersProps) => import("react/jsx-runtime").JSX.Element;
41
+ export declare const BoxAIContentAnswersWithInlineCitations: (props: BoxAiContentAnswersProps) => import("react/jsx-runtime").JSX.Element;
42
+ export declare const BoxAIContentAnswersWithInlineCitationsDisabled: (props: BoxAiContentAnswersProps) => import("react/jsx-runtime").JSX.Element;
43
+ export declare const BoxAIContentAnswersWithSpecialCharacterFileNames: (props: BoxAiContentAnswersProps) => import("react/jsx-runtime").JSX.Element;
44
+ export declare const BoxAIContentAnswersWithUnicodeFileNames: (props: BoxAiContentAnswersProps) => import("react/jsx-runtime").JSX.Element;
45
+ export declare const BoxAIContentAnswersWithMultipleQuestions: (props: BoxAiContentAnswersProps) => import("react/jsx-runtime").JSX.Element;
@@ -79,6 +79,8 @@ export type ChatProps = WelcomeMessageProps & {
79
79
  isFeedbackEnabled?: boolean;
80
80
  /** Whether the thumb buttons feedback is followed by presenting user the feedback form */
81
81
  isFeedbackFormEnabled?: boolean;
82
+ /** Whether to show inline citations or not */
83
+ isInlineCitationsEnabled?: boolean;
82
84
  /** Whether if the answers supports markdown or not */
83
85
  isMarkdownEnabled?: boolean;
84
86
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/box-ai-content-answers",
3
- "version": "0.147.1",
3
+ "version": "0.148.1",
4
4
  "peerDependencies": {
5
5
  "@box/blueprint-web": "^7.8.0",
6
6
  "@box/blueprint-web-assets": "^4.56.1",
@@ -17,11 +17,11 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "@box/babel-plugin-target-attributes": "1.3.0",
20
- "@box/blueprint-web": "^12.63.0",
21
- "@box/blueprint-web-assets": "^4.64.0",
22
- "@box/box-ai-agent-selector": "^0.57.1",
23
- "@box/item-icon": "^0.22.1",
24
- "@box/storybook-utils": "^0.13.19",
20
+ "@box/blueprint-web": "^12.64.0",
21
+ "@box/blueprint-web-assets": "^4.64.8",
22
+ "@box/box-ai-agent-selector": "^0.58.1",
23
+ "@box/item-icon": "^0.23.1",
24
+ "@box/storybook-utils": "^0.14.0",
25
25
  "@testing-library/react": "^15.0.6",
26
26
  "react": "^18.3.0",
27
27
  "react-dom": "^18.3.0",