@box/box-ai-content-answers 0.161.0 → 0.161.2
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/esm/lib/components/answer/messages.js +1 -1
- package/dist/esm/lib/components/thinkingBubble/boxAILoadingIndicator.js +205 -195
- package/dist/i18n/en-US.js +1 -1
- package/dist/i18n/en-US.properties +1 -1
- package/dist/i18n/json/src/lib/components/answer/messages.json +1 -1
- package/package.json +4 -4
|
@@ -1,164 +1,220 @@
|
|
|
1
|
-
import
|
|
1
|
+
import s from "clsx";
|
|
2
|
+
import { useIntl as n } from "react-intl";
|
|
3
|
+
import p from "../answer/messages.js";
|
|
2
4
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
3
|
-
import '../../../../styles/boxAILoadingIndicator.css';const
|
|
4
|
-
boxAILoadingIndicator:
|
|
5
|
-
ring:
|
|
6
|
-
ringTwo:
|
|
7
|
-
blueRing:
|
|
8
|
-
blueDraw:
|
|
9
|
-
blueFade:
|
|
10
|
-
blueRingTwo:
|
|
11
|
-
purpleRing:
|
|
12
|
-
purpleDraw:
|
|
13
|
-
purpleFade:
|
|
14
|
-
purpleRingTwo:
|
|
15
|
-
magentaRing:
|
|
16
|
-
magentaDraw:
|
|
17
|
-
magentaFade:
|
|
18
|
-
magentaRingTwo:
|
|
19
|
-
bgRings:
|
|
20
|
-
},
|
|
5
|
+
import '../../../../styles/boxAILoadingIndicator.css';const c = "_boxAILoadingIndicator_ddl80_1", d = "_ring_ddl80_1", g = "_ringTwo_ddl80_11", m = "_blueRing_ddl80_18", y = "_blueDraw_ddl80_1", u = "_blueFade_ddl80_1", _ = "_blueRingTwo_ddl80_22", w = "_purpleRing_ddl80_25", x = "_purpleDraw_ddl80_1", f = "_purpleFade_ddl80_1", h = "_purpleRingTwo_ddl80_29", R = "_magentaRing_ddl80_32", b = "_magentaDraw_ddl80_1", T = "_magentaFade_ddl80_1", $ = "_magentaRingTwo_ddl80_36", F = "_bgRings_ddl80_39", o = {
|
|
6
|
+
boxAILoadingIndicator: c,
|
|
7
|
+
ring: d,
|
|
8
|
+
ringTwo: g,
|
|
9
|
+
blueRing: m,
|
|
10
|
+
blueDraw: y,
|
|
11
|
+
blueFade: u,
|
|
12
|
+
blueRingTwo: _,
|
|
13
|
+
purpleRing: w,
|
|
14
|
+
purpleDraw: x,
|
|
15
|
+
purpleFade: f,
|
|
16
|
+
purpleRingTwo: h,
|
|
17
|
+
magentaRing: R,
|
|
18
|
+
magentaDraw: b,
|
|
19
|
+
magentaFade: T,
|
|
20
|
+
magentaRingTwo: $,
|
|
21
|
+
bgRings: F
|
|
22
|
+
}, L = ({
|
|
21
23
|
className: t,
|
|
22
24
|
height: l = 24,
|
|
23
|
-
width:
|
|
24
|
-
}) =>
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
25
|
+
width: a = 24
|
|
26
|
+
}) => {
|
|
27
|
+
const {
|
|
28
|
+
formatMessage: i
|
|
29
|
+
} = n();
|
|
30
|
+
return /* @__PURE__ */ r("svg", {
|
|
31
|
+
"aria-label": i(p.loadingAnswer),
|
|
32
|
+
"aria-live": "polite",
|
|
33
|
+
className: s(o.boxAILoadingIndicator, t),
|
|
34
|
+
height: l,
|
|
35
|
+
role: "status",
|
|
36
|
+
viewBox: "0 0 400 400",
|
|
37
|
+
width: a,
|
|
38
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
39
|
+
children: [/* @__PURE__ */ r("defs", {
|
|
40
|
+
children: [/* @__PURE__ */ r("linearGradient", {
|
|
41
|
+
id: "magentaGradient",
|
|
42
|
+
x1: "0%",
|
|
43
|
+
x2: "100%",
|
|
44
|
+
y1: "0%",
|
|
45
|
+
y2: "100%",
|
|
46
|
+
children: [/* @__PURE__ */ e("stop", {
|
|
47
|
+
offset: "0%",
|
|
48
|
+
style: {
|
|
49
|
+
stopColor: "#FF80FF",
|
|
50
|
+
stopOpacity: 1
|
|
51
|
+
}
|
|
52
|
+
}), /* @__PURE__ */ e("stop", {
|
|
53
|
+
offset: "50%",
|
|
54
|
+
style: {
|
|
55
|
+
stopColor: "#FF00FF",
|
|
56
|
+
stopOpacity: 1
|
|
57
|
+
}
|
|
58
|
+
}), /* @__PURE__ */ e("stop", {
|
|
59
|
+
offset: "100%",
|
|
60
|
+
style: {
|
|
61
|
+
stopColor: "#CC00CC",
|
|
62
|
+
stopOpacity: 1
|
|
63
|
+
}
|
|
64
|
+
})]
|
|
65
|
+
}), /* @__PURE__ */ r("linearGradient", {
|
|
66
|
+
id: "purpleGradient",
|
|
67
|
+
x1: "0%",
|
|
68
|
+
x2: "100%",
|
|
69
|
+
y1: "0%",
|
|
70
|
+
y2: "100%",
|
|
71
|
+
children: [/* @__PURE__ */ e("stop", {
|
|
72
|
+
offset: "0%",
|
|
73
|
+
style: {
|
|
74
|
+
stopColor: "#BB66EE",
|
|
75
|
+
stopOpacity: 1
|
|
76
|
+
}
|
|
77
|
+
}), /* @__PURE__ */ e("stop", {
|
|
78
|
+
offset: "50%",
|
|
79
|
+
style: {
|
|
80
|
+
stopColor: "#9933CC",
|
|
81
|
+
stopOpacity: 1
|
|
82
|
+
}
|
|
83
|
+
}), /* @__PURE__ */ e("stop", {
|
|
84
|
+
offset: "100%",
|
|
85
|
+
style: {
|
|
86
|
+
stopColor: "#7722AA",
|
|
87
|
+
stopOpacity: 1
|
|
88
|
+
}
|
|
89
|
+
})]
|
|
90
|
+
}), /* @__PURE__ */ r("linearGradient", {
|
|
91
|
+
id: "blueGradient",
|
|
92
|
+
x1: "0%",
|
|
93
|
+
x2: "100%",
|
|
94
|
+
y1: "0%",
|
|
95
|
+
y2: "100%",
|
|
96
|
+
children: [/* @__PURE__ */ e("stop", {
|
|
97
|
+
offset: "0%",
|
|
98
|
+
style: {
|
|
99
|
+
stopColor: "#77BBFF",
|
|
100
|
+
stopOpacity: 1
|
|
101
|
+
}
|
|
102
|
+
}), /* @__PURE__ */ e("stop", {
|
|
103
|
+
offset: "50%",
|
|
104
|
+
style: {
|
|
105
|
+
stopColor: "#3399FF",
|
|
106
|
+
stopOpacity: 1
|
|
107
|
+
}
|
|
108
|
+
}), /* @__PURE__ */ e("stop", {
|
|
109
|
+
offset: "100%",
|
|
110
|
+
style: {
|
|
111
|
+
stopColor: "#0077DD",
|
|
112
|
+
stopOpacity: 1
|
|
113
|
+
}
|
|
114
|
+
})]
|
|
115
|
+
}), /* @__PURE__ */ r("filter", {
|
|
116
|
+
height: "140%",
|
|
117
|
+
id: "whiteBorder",
|
|
118
|
+
width: "140%",
|
|
119
|
+
x: "-20%",
|
|
120
|
+
y: "-20%",
|
|
121
|
+
children: [/* @__PURE__ */ e("feMorphology", {
|
|
122
|
+
in: "SourceAlpha",
|
|
123
|
+
operator: "dilate",
|
|
124
|
+
radius: "5",
|
|
125
|
+
result: "expanded"
|
|
126
|
+
}), /* @__PURE__ */ e("feFlood", {
|
|
127
|
+
floodColor: "white",
|
|
128
|
+
floodOpacity: "1",
|
|
129
|
+
result: "whiteColor"
|
|
130
|
+
}), /* @__PURE__ */ e("feComposite", {
|
|
131
|
+
in: "whiteColor",
|
|
132
|
+
in2: "expanded",
|
|
133
|
+
operator: "in",
|
|
134
|
+
result: "whiteBorder"
|
|
135
|
+
}), /* @__PURE__ */ e("feComposite", {
|
|
136
|
+
in: "SourceGraphic",
|
|
137
|
+
in2: "whiteBorder",
|
|
138
|
+
operator: "over"
|
|
139
|
+
})]
|
|
140
|
+
}), /* @__PURE__ */ e("clipPath", {
|
|
141
|
+
id: "clip1",
|
|
142
|
+
children: /* @__PURE__ */ e("path", {
|
|
143
|
+
d: "M0,200 L400,200 L400,400 L0,400 z"
|
|
144
|
+
})
|
|
145
|
+
}), /* @__PURE__ */ e("clipPath", {
|
|
146
|
+
id: "clip2",
|
|
147
|
+
children: /* @__PURE__ */ e("path", {
|
|
148
|
+
d: "M0,0 L400,0 L400,200 L0,200 z"
|
|
149
|
+
})
|
|
55
150
|
})]
|
|
56
|
-
}), /* @__PURE__ */ r("
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
-
})]
|
|
106
|
-
}), /* @__PURE__ */ r("filter", {
|
|
107
|
-
height: "140%",
|
|
108
|
-
id: "whiteBorder",
|
|
109
|
-
width: "140%",
|
|
110
|
-
x: "-20%",
|
|
111
|
-
y: "-20%",
|
|
112
|
-
children: [/* @__PURE__ */ e("feMorphology", {
|
|
113
|
-
in: "SourceAlpha",
|
|
114
|
-
operator: "dilate",
|
|
115
|
-
radius: "5",
|
|
116
|
-
result: "expanded"
|
|
117
|
-
}), /* @__PURE__ */ e("feFlood", {
|
|
118
|
-
floodColor: "white",
|
|
119
|
-
floodOpacity: "1",
|
|
120
|
-
result: "whiteColor"
|
|
121
|
-
}), /* @__PURE__ */ e("feComposite", {
|
|
122
|
-
in: "whiteColor",
|
|
123
|
-
in2: "expanded",
|
|
124
|
-
operator: "in",
|
|
125
|
-
result: "whiteBorder"
|
|
126
|
-
}), /* @__PURE__ */ e("feComposite", {
|
|
127
|
-
in: "SourceGraphic",
|
|
128
|
-
in2: "whiteBorder",
|
|
129
|
-
operator: "over"
|
|
151
|
+
}), /* @__PURE__ */ r("g", {
|
|
152
|
+
className: o.bgRings,
|
|
153
|
+
children: [/* @__PURE__ */ r("g", {
|
|
154
|
+
clipPath: "url(#clip1)",
|
|
155
|
+
children: [/* @__PURE__ */ e("ellipse", {
|
|
156
|
+
className: `${o.ringTwo} ${o.blueRingTwo}`,
|
|
157
|
+
cx: "200",
|
|
158
|
+
cy: "200",
|
|
159
|
+
rx: "80",
|
|
160
|
+
ry: "160",
|
|
161
|
+
transform: "rotate(-60, 200, 200)"
|
|
162
|
+
}), /* @__PURE__ */ e("ellipse", {
|
|
163
|
+
className: `${o.ringTwo} ${o.purpleRingTwo}`,
|
|
164
|
+
cx: "200",
|
|
165
|
+
cy: "200",
|
|
166
|
+
rx: "80",
|
|
167
|
+
ry: "160",
|
|
168
|
+
transform: "rotate(60, 200, 200)"
|
|
169
|
+
}), /* @__PURE__ */ e("ellipse", {
|
|
170
|
+
className: `${o.ringTwo} ${o.magentaRingTwo}`,
|
|
171
|
+
cx: "200",
|
|
172
|
+
cy: "200",
|
|
173
|
+
rx: "80",
|
|
174
|
+
ry: "160"
|
|
175
|
+
})]
|
|
176
|
+
}), /* @__PURE__ */ r("g", {
|
|
177
|
+
clipPath: "url(#clip2)",
|
|
178
|
+
children: [/* @__PURE__ */ e("ellipse", {
|
|
179
|
+
className: `${o.ringTwo} ${o.magentaRingTwo}`,
|
|
180
|
+
cx: "200",
|
|
181
|
+
cy: "200",
|
|
182
|
+
rx: "80",
|
|
183
|
+
ry: "160"
|
|
184
|
+
}), /* @__PURE__ */ e("ellipse", {
|
|
185
|
+
className: `${o.ringTwo} ${o.blueRingTwo}`,
|
|
186
|
+
cx: "200",
|
|
187
|
+
cy: "200",
|
|
188
|
+
rx: "80",
|
|
189
|
+
ry: "160",
|
|
190
|
+
transform: "rotate(-60, 200, 200)"
|
|
191
|
+
}), /* @__PURE__ */ e("ellipse", {
|
|
192
|
+
className: `${o.ringTwo} ${o.purpleRingTwo}`,
|
|
193
|
+
cx: "200",
|
|
194
|
+
cy: "200",
|
|
195
|
+
rx: "80",
|
|
196
|
+
ry: "160",
|
|
197
|
+
transform: "rotate(60, 200, 200)"
|
|
198
|
+
})]
|
|
130
199
|
})]
|
|
131
|
-
}), /* @__PURE__ */
|
|
132
|
-
id: "clip1",
|
|
133
|
-
children: /* @__PURE__ */ e("path", {
|
|
134
|
-
d: "M0,200 L400,200 L400,400 L0,400 z"
|
|
135
|
-
})
|
|
136
|
-
}), /* @__PURE__ */ e("clipPath", {
|
|
137
|
-
id: "clip2",
|
|
138
|
-
children: /* @__PURE__ */ e("path", {
|
|
139
|
-
d: "M0,0 L400,0 L400,200 L0,200 z"
|
|
140
|
-
})
|
|
141
|
-
})]
|
|
142
|
-
}), /* @__PURE__ */ r("g", {
|
|
143
|
-
className: o.bgRings,
|
|
144
|
-
children: [/* @__PURE__ */ r("g", {
|
|
200
|
+
}), /* @__PURE__ */ r("g", {
|
|
145
201
|
clipPath: "url(#clip1)",
|
|
146
202
|
children: [/* @__PURE__ */ e("ellipse", {
|
|
147
|
-
className: `${o.
|
|
203
|
+
className: `${o.ring} ${o.blueRing}`,
|
|
148
204
|
cx: "200",
|
|
149
205
|
cy: "200",
|
|
150
206
|
rx: "80",
|
|
151
207
|
ry: "160",
|
|
152
208
|
transform: "rotate(-60, 200, 200)"
|
|
153
209
|
}), /* @__PURE__ */ e("ellipse", {
|
|
154
|
-
className: `${o.
|
|
210
|
+
className: `${o.ring} ${o.purpleRing}`,
|
|
155
211
|
cx: "200",
|
|
156
212
|
cy: "200",
|
|
157
213
|
rx: "80",
|
|
158
214
|
ry: "160",
|
|
159
215
|
transform: "rotate(60, 200, 200)"
|
|
160
216
|
}), /* @__PURE__ */ e("ellipse", {
|
|
161
|
-
className: `${o.
|
|
217
|
+
className: `${o.ring} ${o.magentaRing}`,
|
|
162
218
|
cx: "200",
|
|
163
219
|
cy: "200",
|
|
164
220
|
rx: "80",
|
|
@@ -167,20 +223,20 @@ import '../../../../styles/boxAILoadingIndicator.css';const n = "_boxAILoadingIn
|
|
|
167
223
|
}), /* @__PURE__ */ r("g", {
|
|
168
224
|
clipPath: "url(#clip2)",
|
|
169
225
|
children: [/* @__PURE__ */ e("ellipse", {
|
|
170
|
-
className: `${o.
|
|
226
|
+
className: `${o.ring} ${o.magentaRing}`,
|
|
171
227
|
cx: "200",
|
|
172
228
|
cy: "200",
|
|
173
229
|
rx: "80",
|
|
174
230
|
ry: "160"
|
|
175
231
|
}), /* @__PURE__ */ e("ellipse", {
|
|
176
|
-
className: `${o.
|
|
232
|
+
className: `${o.ring} ${o.blueRing}`,
|
|
177
233
|
cx: "200",
|
|
178
234
|
cy: "200",
|
|
179
235
|
rx: "80",
|
|
180
236
|
ry: "160",
|
|
181
237
|
transform: "rotate(-60, 200, 200)"
|
|
182
238
|
}), /* @__PURE__ */ e("ellipse", {
|
|
183
|
-
className: `${o.
|
|
239
|
+
className: `${o.ring} ${o.purpleRing}`,
|
|
184
240
|
cx: "200",
|
|
185
241
|
cy: "200",
|
|
186
242
|
rx: "80",
|
|
@@ -188,55 +244,9 @@ import '../../../../styles/boxAILoadingIndicator.css';const n = "_boxAILoadingIn
|
|
|
188
244
|
transform: "rotate(60, 200, 200)"
|
|
189
245
|
})]
|
|
190
246
|
})]
|
|
191
|
-
})
|
|
192
|
-
|
|
193
|
-
children: [/* @__PURE__ */ e("ellipse", {
|
|
194
|
-
className: `${o.ring} ${o.blueRing}`,
|
|
195
|
-
cx: "200",
|
|
196
|
-
cy: "200",
|
|
197
|
-
rx: "80",
|
|
198
|
-
ry: "160",
|
|
199
|
-
transform: "rotate(-60, 200, 200)"
|
|
200
|
-
}), /* @__PURE__ */ e("ellipse", {
|
|
201
|
-
className: `${o.ring} ${o.purpleRing}`,
|
|
202
|
-
cx: "200",
|
|
203
|
-
cy: "200",
|
|
204
|
-
rx: "80",
|
|
205
|
-
ry: "160",
|
|
206
|
-
transform: "rotate(60, 200, 200)"
|
|
207
|
-
}), /* @__PURE__ */ e("ellipse", {
|
|
208
|
-
className: `${o.ring} ${o.magentaRing}`,
|
|
209
|
-
cx: "200",
|
|
210
|
-
cy: "200",
|
|
211
|
-
rx: "80",
|
|
212
|
-
ry: "160"
|
|
213
|
-
})]
|
|
214
|
-
}), /* @__PURE__ */ r("g", {
|
|
215
|
-
clipPath: "url(#clip2)",
|
|
216
|
-
children: [/* @__PURE__ */ e("ellipse", {
|
|
217
|
-
className: `${o.ring} ${o.magentaRing}`,
|
|
218
|
-
cx: "200",
|
|
219
|
-
cy: "200",
|
|
220
|
-
rx: "80",
|
|
221
|
-
ry: "160"
|
|
222
|
-
}), /* @__PURE__ */ e("ellipse", {
|
|
223
|
-
className: `${o.ring} ${o.blueRing}`,
|
|
224
|
-
cx: "200",
|
|
225
|
-
cy: "200",
|
|
226
|
-
rx: "80",
|
|
227
|
-
ry: "160",
|
|
228
|
-
transform: "rotate(-60, 200, 200)"
|
|
229
|
-
}), /* @__PURE__ */ e("ellipse", {
|
|
230
|
-
className: `${o.ring} ${o.purpleRing}`,
|
|
231
|
-
cx: "200",
|
|
232
|
-
cy: "200",
|
|
233
|
-
rx: "80",
|
|
234
|
-
ry: "160",
|
|
235
|
-
transform: "rotate(60, 200, 200)"
|
|
236
|
-
})]
|
|
237
|
-
})]
|
|
238
|
-
});
|
|
247
|
+
});
|
|
248
|
+
};
|
|
239
249
|
export {
|
|
240
|
-
|
|
241
|
-
|
|
250
|
+
L as BoxAILoadingIndicator,
|
|
251
|
+
L as default
|
|
242
252
|
};
|
package/dist/i18n/en-US.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"boxAI.contentAnswers.addToNote": "Add to Note",
|
|
3
3
|
"boxAI.contentAnswers.addedToNote": "Added",
|
|
4
|
-
"boxAI.contentAnswers.analyzingRequest": "Analyzing
|
|
4
|
+
"boxAI.contentAnswers.analyzingRequest": "Analyzing...",
|
|
5
5
|
"boxAI.contentAnswers.ariaTypeSuccessIconLabel": "success",
|
|
6
6
|
"boxAI.contentAnswers.ask": "Ask",
|
|
7
7
|
"boxAI.contentAnswers.askDisabledTooltip": "You can submit another question once Box AI has finished responding",
|
|
@@ -3,7 +3,7 @@ boxAI.contentAnswers.addToNote = Add to Note
|
|
|
3
3
|
# Added to note confirmation text
|
|
4
4
|
boxAI.contentAnswers.addedToNote = Added
|
|
5
5
|
# Text shown next to the loading indicator while analyzing the request
|
|
6
|
-
boxAI.contentAnswers.analyzingRequest = Analyzing
|
|
6
|
+
boxAI.contentAnswers.analyzingRequest = Analyzing...
|
|
7
7
|
# Notification banner success icon aria label
|
|
8
8
|
boxAI.contentAnswers.ariaTypeSuccessIconLabel = success
|
|
9
9
|
# Content Answers submit input button text
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"id":"boxAI.contentAnswers.addToNote","description":"Add to note button aria label and tooltip text","defaultMessage":"Add to Note"},{"id":"boxAI.contentAnswers.addedToNote","description":"Added to note confirmation text","defaultMessage":"Added"},{"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, the inside of <abuseFormLink> is the linked, clickable text","defaultMessage":"To report inappropriate content, submit <abuseFormLink>this form</abuseFormLink>."},{"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.feedbackTooltipPromptShareConsent","description":"Label for checkbox to consent for prompt and answer sharing in the tooltip that asks the user to share feedback on the answer","defaultMessage":"Share my prompt and response to help improve product quality."},{"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.analyzingRequest","description":"Text shown next to the loading indicator while analyzing the request","defaultMessage":"Analyzing
|
|
1
|
+
[{"id":"boxAI.contentAnswers.addToNote","description":"Add to note button aria label and tooltip text","defaultMessage":"Add to Note"},{"id":"boxAI.contentAnswers.addedToNote","description":"Added to note confirmation text","defaultMessage":"Added"},{"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, the inside of <abuseFormLink> is the linked, clickable text","defaultMessage":"To report inappropriate content, submit <abuseFormLink>this form</abuseFormLink>."},{"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.feedbackTooltipPromptShareConsent","description":"Label for checkbox to consent for prompt and answer sharing in the tooltip that asks the user to share feedback on the answer","defaultMessage":"Share my prompt and response to help improve product quality."},{"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.analyzingRequest","description":"Text shown next to the loading indicator while analyzing the request","defaultMessage":"Analyzing..."},{"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"},{"id":"boxAI.contentAnswers.inlineCitationAriaLabel","description":"Aria label for inline citation button to open file in new tab","defaultMessage":"Open {fileName} in new tab"}]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/box-ai-content-answers",
|
|
3
|
-
"version": "0.161.
|
|
3
|
+
"version": "0.161.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@box/blueprint-web": "^7.8.0",
|
|
6
6
|
"@box/blueprint-web-assets": "^4.56.1",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@box/babel-plugin-target-attributes": "1.3.0",
|
|
20
|
-
"@box/blueprint-web": "^12.
|
|
20
|
+
"@box/blueprint-web": "^12.79.0",
|
|
21
21
|
"@box/blueprint-web-assets": "^4.71.0",
|
|
22
|
-
"@box/box-ai-agent-selector": "^0.66.
|
|
23
|
-
"@box/item-icon": "^0.30.
|
|
22
|
+
"@box/box-ai-agent-selector": "^0.66.2",
|
|
23
|
+
"@box/item-icon": "^0.30.2",
|
|
24
24
|
"@box/storybook-utils": "^0.14.7",
|
|
25
25
|
"@testing-library/react": "^15.0.6",
|
|
26
26
|
"react": "^18.3.0",
|