@box/box-ai-content-answers 0.89.2 → 0.90.0
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/esm/lib/components/answer/answer.js +212 -208
- package/esm/lib/components/chat/chat.js +71 -68
- package/i18n/bn-IN.js +1 -1
- package/i18n/bn-IN.properties +3 -1
- package/i18n/da-DK.js +1 -1
- package/i18n/da-DK.properties +3 -1
- package/i18n/de-DE.js +1 -1
- package/i18n/de-DE.properties +3 -1
- package/i18n/en-AU.js +1 -1
- package/i18n/en-AU.properties +3 -1
- package/i18n/en-CA.properties +2 -0
- package/i18n/en-GB.js +1 -1
- package/i18n/en-GB.properties +3 -1
- package/i18n/en-x-pseudo.js +59 -59
- package/i18n/en-x-pseudo.properties +60 -58
- package/i18n/es-419.js +1 -1
- package/i18n/es-419.properties +3 -1
- package/i18n/es-ES.js +1 -1
- package/i18n/es-ES.properties +3 -1
- package/i18n/fi-FI.js +1 -1
- package/i18n/fi-FI.properties +3 -1
- package/i18n/fr-CA.js +1 -1
- package/i18n/fr-CA.properties +3 -1
- package/i18n/fr-FR.js +1 -1
- package/i18n/fr-FR.properties +3 -1
- package/i18n/hi-IN.js +1 -1
- package/i18n/hi-IN.properties +3 -1
- package/i18n/it-IT.js +1 -1
- package/i18n/it-IT.properties +3 -1
- package/i18n/ja-JP.js +4 -4
- package/i18n/ja-JP.properties +6 -4
- package/i18n/ko-KR.js +1 -1
- package/i18n/ko-KR.properties +3 -1
- package/i18n/nb-NO.js +1 -1
- package/i18n/nb-NO.properties +3 -1
- package/i18n/nl-NL.js +1 -1
- package/i18n/nl-NL.properties +3 -1
- package/i18n/pl-PL.js +1 -1
- package/i18n/pl-PL.properties +3 -1
- package/i18n/pt-BR.js +1 -1
- package/i18n/pt-BR.properties +3 -1
- package/i18n/ru-RU.js +1 -1
- package/i18n/ru-RU.properties +3 -1
- package/i18n/sv-SE.js +1 -1
- package/i18n/sv-SE.properties +3 -1
- package/i18n/tr-TR.js +1 -1
- package/i18n/tr-TR.properties +3 -1
- package/i18n/zh-CN.js +1 -1
- package/i18n/zh-CN.properties +3 -1
- package/i18n/zh-TW.js +1 -1
- package/i18n/zh-TW.properties +3 -1
- package/package.json +3 -3
- package/styles/answer.css +1 -1
package/i18n/pt-BR.properties
CHANGED
|
@@ -103,7 +103,7 @@ boxAI.contentAnswers.unsupportedItems = {numberOfFiles,plural,one{{files} está
|
|
|
103
103
|
# Alt text for user avatar image
|
|
104
104
|
boxAI.contentAnswers.userAvatar = Avatar do usuário
|
|
105
105
|
# Content Answers welcome message for asking questions. {firstItemName} is the name of the content, {files} is a list of items, and {parentItem} is the name of the parent item.
|
|
106
|
-
boxAI.contentAnswers.welcomeAskQuestionText =
|
|
106
|
+
boxAI.contentAnswers.welcomeAskQuestionText = Boas-vindas ao Box AI. Faça perguntas sobre {numberOfItems,plural,one{{firstItemName}} other{these {files}}}{parentItem,select,undefined{} other{ in {parentItem}}}.
|
|
107
107
|
# Content Answers welcome message for clearing the chat. {type} is the type of content that we are going to query
|
|
108
108
|
boxAI.contentAnswers.welcomeClearChatText = Este bate-papo será apagado quando você fechar este {type}
|
|
109
109
|
# Link that show the number of files that are going to be displayed within the modal
|
|
@@ -114,3 +114,5 @@ boxAI.contentAnswers.welcomeMessageItemsLink = {numberOfItems,plural,one{# item}
|
|
|
114
114
|
boxAI.popup.closeButtonText = Fechar
|
|
115
115
|
# Text for copy button in input with copy button indicating copy success
|
|
116
116
|
boxAI.textInputWithCopyButton.copyButtonSuccessText = Copiado
|
|
117
|
+
# Label that shows up while someone hover on close button of files dropdown
|
|
118
|
+
boxAi.contentAnswers.closeItemList = Close file items list
|
package/i18n/ru-RU.js
CHANGED
|
@@ -51,7 +51,7 @@ export default {
|
|
|
51
51
|
"boxAI.contentAnswers.unsupportedFormatLabel": "Неподдерживаемый формат",
|
|
52
52
|
"boxAI.contentAnswers.unsupportedItems": "{numberOfFiles,plural,one{{files} недоступен для Box AI} other{{files} недоступны для Box AI} few{{files} недоступны для Box AI} many{{files} недоступны для Box AI}}",
|
|
53
53
|
"boxAI.contentAnswers.userAvatar": "Аватар пользователя",
|
|
54
|
-
"boxAI.contentAnswers.welcomeAskQuestionText": "Задайте вопросы
|
|
54
|
+
"boxAI.contentAnswers.welcomeAskQuestionText": "Добро пожаловать в Box AI. Задайте вопросы об {numberOfItems,plural,one{{firstItemName}} other{этих {files}} few{этих {files}} many{этих {files}}}{parentItem,select,other{ в {parentItem}}}",
|
|
55
55
|
"boxAI.contentAnswers.welcomeClearChatText": "Данные этого чата будут очищены после закрытия следующего типа контента: {type}",
|
|
56
56
|
"boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems,plural,one{# файл} other{# файла} few{# файла} many{# файлов}}",
|
|
57
57
|
"boxAI.contentAnswers.welcomeMessageItemsLink": "{numberOfItems,plural,one{# элемент} other{# элемента} few{# элемента} many{# элементов}}",
|
package/i18n/ru-RU.properties
CHANGED
|
@@ -103,7 +103,7 @@ boxAI.contentAnswers.unsupportedItems = {numberOfFiles,plural,one{{files} нед
|
|
|
103
103
|
# Alt text for user avatar image
|
|
104
104
|
boxAI.contentAnswers.userAvatar = Аватар пользователя
|
|
105
105
|
# Content Answers welcome message for asking questions. {firstItemName} is the name of the content, {files} is a list of items, and {parentItem} is the name of the parent item.
|
|
106
|
-
boxAI.contentAnswers.welcomeAskQuestionText = Задайте вопросы
|
|
106
|
+
boxAI.contentAnswers.welcomeAskQuestionText = Добро пожаловать в Box AI. Задайте вопросы об {numberOfItems,plural,one{{firstItemName}} other{этих {files}} few{этих {files}} many{этих {files}}}{parentItem,select,other{ в {parentItem}}}
|
|
107
107
|
# Content Answers welcome message for clearing the chat. {type} is the type of content that we are going to query
|
|
108
108
|
boxAI.contentAnswers.welcomeClearChatText = Данные этого чата будут очищены после закрытия следующего типа контента: {type}
|
|
109
109
|
# Link that show the number of files that are going to be displayed within the modal
|
|
@@ -114,3 +114,5 @@ boxAI.contentAnswers.welcomeMessageItemsLink = {numberOfItems,plural,one{# эл
|
|
|
114
114
|
boxAI.popup.closeButtonText = Закрыть
|
|
115
115
|
# Text for copy button in input with copy button indicating copy success
|
|
116
116
|
boxAI.textInputWithCopyButton.copyButtonSuccessText = Скопировано
|
|
117
|
+
# Label that shows up while someone hover on close button of files dropdown
|
|
118
|
+
boxAi.contentAnswers.closeItemList = Close file items list
|
package/i18n/sv-SE.js
CHANGED
|
@@ -51,7 +51,7 @@ export default {
|
|
|
51
51
|
"boxAI.contentAnswers.unsupportedFormatLabel": "Format som inte supportas",
|
|
52
52
|
"boxAI.contentAnswers.unsupportedItems": "{numberOfFiles,plural,one{{files} är inte tillgänglig för Box AI} other{{files} är inte tillgängliga för Box AI}}",
|
|
53
53
|
"boxAI.contentAnswers.userAvatar": "Användaravatar",
|
|
54
|
-
"boxAI.contentAnswers.welcomeAskQuestionText": "Ställ frågor om {numberOfItems,plural,one{{firstItemName}} other{
|
|
54
|
+
"boxAI.contentAnswers.welcomeAskQuestionText": "Välkommen till Box AI. Ställ frågor om {numberOfItems,plural,one{{firstItemName}} other{dessa {files}}}{parentItem,select,undefined{} other{ in {parentItem}}}.",
|
|
55
55
|
"boxAI.contentAnswers.welcomeClearChatText": "Chatten rensas när du stänger detta {type}",
|
|
56
56
|
"boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems,plural,one{# fil} other{# filer}}",
|
|
57
57
|
"boxAI.contentAnswers.welcomeMessageItemsLink": "{numberOfItems,plural,one{# objekt } other{# objekt }}",
|
package/i18n/sv-SE.properties
CHANGED
|
@@ -103,7 +103,7 @@ boxAI.contentAnswers.unsupportedItems = {numberOfFiles,plural,one{{files} är in
|
|
|
103
103
|
# Alt text for user avatar image
|
|
104
104
|
boxAI.contentAnswers.userAvatar = Användaravatar
|
|
105
105
|
# Content Answers welcome message for asking questions. {firstItemName} is the name of the content, {files} is a list of items, and {parentItem} is the name of the parent item.
|
|
106
|
-
boxAI.contentAnswers.welcomeAskQuestionText = Ställ frågor om {numberOfItems,plural,one{{firstItemName}} other{
|
|
106
|
+
boxAI.contentAnswers.welcomeAskQuestionText = Välkommen till Box AI. Ställ frågor om {numberOfItems,plural,one{{firstItemName}} other{dessa {files}}}{parentItem,select,undefined{} other{ in {parentItem}}}.
|
|
107
107
|
# Content Answers welcome message for clearing the chat. {type} is the type of content that we are going to query
|
|
108
108
|
boxAI.contentAnswers.welcomeClearChatText = Chatten rensas när du stänger detta {type}
|
|
109
109
|
# Link that show the number of files that are going to be displayed within the modal
|
|
@@ -114,3 +114,5 @@ boxAI.contentAnswers.welcomeMessageItemsLink = {numberOfItems,plural,one{# objek
|
|
|
114
114
|
boxAI.popup.closeButtonText = Stäng
|
|
115
115
|
# Text for copy button in input with copy button indicating copy success
|
|
116
116
|
boxAI.textInputWithCopyButton.copyButtonSuccessText = Kopierad
|
|
117
|
+
# Label that shows up while someone hover on close button of files dropdown
|
|
118
|
+
boxAi.contentAnswers.closeItemList = Close file items list
|
package/i18n/tr-TR.js
CHANGED
|
@@ -51,7 +51,7 @@ export default {
|
|
|
51
51
|
"boxAI.contentAnswers.unsupportedFormatLabel": "Desteklenmeyen format",
|
|
52
52
|
"boxAI.contentAnswers.unsupportedItems": "{numberOfFiles,plural,one{{files} is unavailable for Box AI} other{{files} are unavailable for Box AI}}",
|
|
53
53
|
"boxAI.contentAnswers.userAvatar": "Kullanıcı avatarı",
|
|
54
|
-
"boxAI.contentAnswers.welcomeAskQuestionText": "{numberOfItems,plural,one{{firstItemName}} other{
|
|
54
|
+
"boxAI.contentAnswers.welcomeAskQuestionText": "Box AI'ye hoş geldiniz. {numberOfItems,plural,one{{firstItemName}} other{these {files}}}{parentItem,select,undefined{} other{ in {parentItem}}} hakkında soru sorun.",
|
|
55
55
|
"boxAI.contentAnswers.welcomeClearChatText": "Bu {type} türünü kapattığınızda sohbet silinecektir",
|
|
56
56
|
"boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems,plural,one{# dosya} other{# dosyalar}}",
|
|
57
57
|
"boxAI.contentAnswers.welcomeMessageItemsLink": "{numberOfItems,plural,one{# madde} other{# madde}}",
|
package/i18n/tr-TR.properties
CHANGED
|
@@ -103,7 +103,7 @@ boxAI.contentAnswers.unsupportedItems = {numberOfFiles,plural,one{{files} is una
|
|
|
103
103
|
# Alt text for user avatar image
|
|
104
104
|
boxAI.contentAnswers.userAvatar = Kullanıcı avatarı
|
|
105
105
|
# Content Answers welcome message for asking questions. {firstItemName} is the name of the content, {files} is a list of items, and {parentItem} is the name of the parent item.
|
|
106
|
-
boxAI.contentAnswers.welcomeAskQuestionText = {numberOfItems,plural,one{{firstItemName}} other{
|
|
106
|
+
boxAI.contentAnswers.welcomeAskQuestionText = Box AI'ye hoş geldiniz. {numberOfItems,plural,one{{firstItemName}} other{these {files}}}{parentItem,select,undefined{} other{ in {parentItem}}} hakkında soru sorun.
|
|
107
107
|
# Content Answers welcome message for clearing the chat. {type} is the type of content that we are going to query
|
|
108
108
|
boxAI.contentAnswers.welcomeClearChatText = Bu {type} türünü kapattığınızda sohbet silinecektir
|
|
109
109
|
# Link that show the number of files that are going to be displayed within the modal
|
|
@@ -114,3 +114,5 @@ boxAI.contentAnswers.welcomeMessageItemsLink = {numberOfItems,plural,one{# madde
|
|
|
114
114
|
boxAI.popup.closeButtonText = Kapat
|
|
115
115
|
# Text for copy button in input with copy button indicating copy success
|
|
116
116
|
boxAI.textInputWithCopyButton.copyButtonSuccessText = Kopyalandı
|
|
117
|
+
# Label that shows up while someone hover on close button of files dropdown
|
|
118
|
+
boxAi.contentAnswers.closeItemList = Close file items list
|
package/i18n/zh-CN.js
CHANGED
|
@@ -51,7 +51,7 @@ export default {
|
|
|
51
51
|
"boxAI.contentAnswers.unsupportedFormatLabel": "格式不受支持",
|
|
52
52
|
"boxAI.contentAnswers.unsupportedItems": "{numberOfFiles,plural,other{{files} 对 Box AI 不可用}}",
|
|
53
53
|
"boxAI.contentAnswers.userAvatar": "用户头像",
|
|
54
|
-
"boxAI.contentAnswers.welcomeAskQuestionText": "
|
|
54
|
+
"boxAI.contentAnswers.welcomeAskQuestionText": "欢迎使用 Box AI。询问关于 {numberOfItems,plural,one{{firstItemName}} other{这些 {files}}}{parentItem,select,other{ (在 {parentItem} 中)}} 的问题。",
|
|
55
55
|
"boxAI.contentAnswers.welcomeClearChatText": "您关闭 {type} 时,此对话框将被清理",
|
|
56
56
|
"boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems,plural,other{# 个文件}}",
|
|
57
57
|
"boxAI.contentAnswers.welcomeMessageItemsLink": "{numberOfItems,plural,other{# 个项目}}",
|
package/i18n/zh-CN.properties
CHANGED
|
@@ -103,7 +103,7 @@ boxAI.contentAnswers.unsupportedItems = {numberOfFiles,plural,other{{files} 对
|
|
|
103
103
|
# Alt text for user avatar image
|
|
104
104
|
boxAI.contentAnswers.userAvatar = 用户头像
|
|
105
105
|
# Content Answers welcome message for asking questions. {firstItemName} is the name of the content, {files} is a list of items, and {parentItem} is the name of the parent item.
|
|
106
|
-
boxAI.contentAnswers.welcomeAskQuestionText =
|
|
106
|
+
boxAI.contentAnswers.welcomeAskQuestionText = 欢迎使用 Box AI。询问关于 {numberOfItems,plural,one{{firstItemName}} other{这些 {files}}}{parentItem,select,other{ (在 {parentItem} 中)}} 的问题。
|
|
107
107
|
# Content Answers welcome message for clearing the chat. {type} is the type of content that we are going to query
|
|
108
108
|
boxAI.contentAnswers.welcomeClearChatText = 您关闭 {type} 时,此对话框将被清理
|
|
109
109
|
# Link that show the number of files that are going to be displayed within the modal
|
|
@@ -114,3 +114,5 @@ boxAI.contentAnswers.welcomeMessageItemsLink = {numberOfItems,plural,other{# 个
|
|
|
114
114
|
boxAI.popup.closeButtonText = 关闭
|
|
115
115
|
# Text for copy button in input with copy button indicating copy success
|
|
116
116
|
boxAI.textInputWithCopyButton.copyButtonSuccessText = 已复制
|
|
117
|
+
# Label that shows up while someone hover on close button of files dropdown
|
|
118
|
+
boxAi.contentAnswers.closeItemList = Close file items list
|
package/i18n/zh-TW.js
CHANGED
|
@@ -51,7 +51,7 @@ export default {
|
|
|
51
51
|
"boxAI.contentAnswers.unsupportedFormatLabel": "不支援的格式",
|
|
52
52
|
"boxAI.contentAnswers.unsupportedItems": "{numberOfFiles,plural,other{{files} 對於 Box AI 不可用}}",
|
|
53
53
|
"boxAI.contentAnswers.userAvatar": "使用者頭像",
|
|
54
|
-
"boxAI.contentAnswers.welcomeAskQuestionText": "
|
|
54
|
+
"boxAI.contentAnswers.welcomeAskQuestionText": "歡迎使用 Box AI。詢問有關 {numberOfItems,plural,one{{firstItemName}} other{these {files}}}{parentItem,select,undefined{} other{ in {parentItem}}} 的問題。",
|
|
55
55
|
"boxAI.contentAnswers.welcomeClearChatText": "關閉此{type}後會清除此聊天",
|
|
56
56
|
"boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems,plural,other{# 個檔案}}",
|
|
57
57
|
"boxAI.contentAnswers.welcomeMessageItemsLink": "{numberOfItems,plural,other{# 項目}}",
|
package/i18n/zh-TW.properties
CHANGED
|
@@ -103,7 +103,7 @@ boxAI.contentAnswers.unsupportedItems = {numberOfFiles,plural,other{{files} 對
|
|
|
103
103
|
# Alt text for user avatar image
|
|
104
104
|
boxAI.contentAnswers.userAvatar = 使用者頭像
|
|
105
105
|
# Content Answers welcome message for asking questions. {firstItemName} is the name of the content, {files} is a list of items, and {parentItem} is the name of the parent item.
|
|
106
|
-
boxAI.contentAnswers.welcomeAskQuestionText =
|
|
106
|
+
boxAI.contentAnswers.welcomeAskQuestionText = 歡迎使用 Box AI。詢問有關 {numberOfItems,plural,one{{firstItemName}} other{these {files}}}{parentItem,select,undefined{} other{ in {parentItem}}} 的問題。
|
|
107
107
|
# Content Answers welcome message for clearing the chat. {type} is the type of content that we are going to query
|
|
108
108
|
boxAI.contentAnswers.welcomeClearChatText = 關閉此{type}後會清除此聊天
|
|
109
109
|
# Link that show the number of files that are going to be displayed within the modal
|
|
@@ -114,3 +114,5 @@ boxAI.contentAnswers.welcomeMessageItemsLink = {numberOfItems,plural,other{# 項
|
|
|
114
114
|
boxAI.popup.closeButtonText = 關閉
|
|
115
115
|
# Text for copy button in input with copy button indicating copy success
|
|
116
116
|
boxAI.textInputWithCopyButton.copyButtonSuccessText = 已複製
|
|
117
|
+
# Label that shows up while someone hover on close button of files dropdown
|
|
118
|
+
boxAi.contentAnswers.closeItemList = Close file items list
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/box-ai-content-answers",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.90.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@box/blueprint-web": "^7.8.0",
|
|
6
6
|
"@box/blueprint-web-assets": "^4.16.0",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@box/blueprint-web": "^9.16.5",
|
|
19
19
|
"@box/blueprint-web-assets": "^4.33.0",
|
|
20
|
-
"@box/box-ai-agent-selector": "^0.
|
|
20
|
+
"@box/box-ai-agent-selector": "^0.25.0",
|
|
21
21
|
"@box/item-icon": "^0.9.77",
|
|
22
22
|
"@box/storybook-utils": "^0.8.2",
|
|
23
23
|
"@testing-library/react": "^15.0.6",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"**/*.css"
|
|
57
57
|
],
|
|
58
58
|
"license": "SEE LICENSE IN LICENSE",
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "58fabc68edaabf373556e0c8ca656ffcbbd6ac5d"
|
|
60
60
|
}
|
package/styles/answer.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._answer_qd3qe_1{white-space:pre-wrap;border:none}._answer_qd3qe_1 ._alertIcon_qd3qe_5{margin-left:.5rem}._answer_qd3qe_1 ._error_qd3qe_8{display:flex;align-items:center}._answer_qd3qe_1 ._footer_qd3qe_12{display:flex;align-items:center;justify-content:space-between;height:1.5rem}._answer_qd3qe_1 ._footer_qd3qe_12 ._copyButtonContainer_qd3qe_18{opacity:0;transition:opacity .3s}._answer_qd3qe_1 ._footer_qd3qe_12._shouldHaveMarginTop_qd3qe_22{margin-top:.75rem}._answer_qd3qe_1 ._footer_qd3qe_12._shouldUseAnimation_qd3qe_25{max-height:0;overflow-y:hidden}._answer_qd3qe_1 ._footer_qd3qe_12._shouldUseAnimation_qd3qe_25._shouldAnimateHeight_qd3qe_29{max-height:200px;transition:max-height 1s ease-in}._answer_qd3qe_1 ._footer_qd3qe_12 ._footerButtons_qd3qe_33{display:flex;gap:.25rem;margin-inline-start:auto}._answer_qd3qe_1 ._iconAvatar_qd3qe_38{display:flex;align-items:center;justify-content:center;width:var(--size-8);height:var(--size-8);border-radius:50%}@media (max-width: 374px){._answer_qd3qe_1 ._iconAvatar_qd3qe_38{width:var(--size-6);height:var(--size-6)}}._answer_qd3qe_1:hover ._copyButtonContainer_qd3qe_18{opacity:1}
|