@box/box-ai-content-answers 0.125.13 → 0.126.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.
@@ -1,57 +1,58 @@
1
- import { Text as K, Tooltip as X, IconButton as Y } from "@box/blueprint-web";
2
- import { ArrowsExpand as Z } from "@box/blueprint-web-assets/icons/Fill";
3
- import { useAgents as ee, BoxAiAgentSelectorWithApi as te } from "@box/box-ai-agent-selector";
4
- import y from "clsx";
5
- import * as p from "react";
6
- import { useIntl as ne } from "react-intl";
7
- import { BoxAiContentAnswers as oe } from "../../box-ai-content-answers.js";
8
- import { withApiWrapper as se } from "../api-wrapper/api-wrapper.js";
9
- import { C as ae } from "../../../../chunks/clear-conversation-button.js";
10
- import { IntelligenceModal as ie } from "../modal/modal.js";
11
- import { IntelligenceSidebarContext as re } from "./context.js";
12
- import f from "./messages.js";
13
- import ce from "./title.js";
14
- import { jsxs as h, Fragment as R, jsx as e } from "react/jsx-runtime";
15
- import '../../../../styles/content.css';const de = "_bcsSidebarBase_2qjt9_2", le = "_bcsContent_2qjt9_2", be = "_bcsBoxAISidebar_2qjt9_2", Se = "_bcsContentHeader_2qjt9_6", pe = "_bcsTitle_2qjt9_15", he = "_bcsScrollContent_2qjt9_22", Ae = "_withModalOpen_2qjt9_32", ue = "_bcsBoxAISidebarAgentSelector_2qjt9_35", me = "_bcsBoxAISidebarAgentSelectorContainer_2qjt9_39", ge = "_bcsBoxAISidebarChatActions_2qjt9_43", Ie = "_bcsBoxAISidebarContent_2qjt9_47", _e = "_bcsBoxAISidebarExpand_2qjt9_50", xe = "_bcsBoxAISidebarTitlePart_2qjt9_53", Ce = "_sidebarChip_2qjt9_77", fe = "_bcsContentSubheader_2qjt9_90", Be = "_bcsScrollContentWrapper_2qjt9_99", we = "_withSubheader_2qjt9_104", qe = "_expanded_2qjt9_107", t = {
16
- bcsSidebarBase: de,
17
- bcsContent: le,
18
- bcsBoxAISidebar: be,
19
- bcsContentHeader: Se,
1
+ import { Text as X, Tooltip as Y, IconButton as Z } from "@box/blueprint-web";
2
+ import { ArrowsExpand as ee } from "@box/blueprint-web-assets/icons/Fill";
3
+ import { useAgents as te, BoxAiAgentSelectorWithApi as ne } from "@box/box-ai-agent-selector";
4
+ import Q from "clsx";
5
+ import y from "lodash/isEqual";
6
+ import * as u from "react";
7
+ import { useIntl as oe } from "react-intl";
8
+ import { BoxAiContentAnswers as se } from "../../box-ai-content-answers.js";
9
+ import { withApiWrapper as ae } from "../api-wrapper/api-wrapper.js";
10
+ import { C as ie } from "../../../../chunks/clear-conversation-button.js";
11
+ import { IntelligenceModal as re } from "../modal/modal.js";
12
+ import { IntelligenceSidebarContext as ce } from "./context.js";
13
+ import C from "./messages.js";
14
+ import de from "./title.js";
15
+ import { jsxs as p, Fragment as H, jsx as e } from "react/jsx-runtime";
16
+ import '../../../../styles/content.css';const le = "_bcsSidebarBase_gfv6u_2", be = "_bcsContent_gfv6u_2", Se = "_bcsBoxAISidebar_gfv6u_2", ue = "_bcsContentHeader_gfv6u_6", pe = "_bcsTitle_gfv6u_15", ge = "_bcsScrollContent_gfv6u_22", he = "_withModalOpen_gfv6u_32", Ae = "_bcsBoxAISidebarAgentSelector_gfv6u_35", fe = "_bcsBoxAISidebarAgentSelectorContainer_gfv6u_39", me = "_bcsBoxAISidebarChatActions_gfv6u_43", Ie = "_bcsBoxAISidebarContent_gfv6u_47", _e = "_bcsBoxAISidebarExpand_gfv6u_50", xe = "_bcsBoxAISidebarTitlePart_gfv6u_53", Ce = "_sidebarChip_gfv6u_77", Be = "_bcsContentSubheader_gfv6u_90", ve = "_bcsScrollContentWrapper_gfv6u_99", we = "_withSubheader_gfv6u_104", Te = "_expanded_gfv6u_107", t = {
17
+ bcsSidebarBase: le,
18
+ bcsContent: be,
19
+ bcsBoxAISidebar: Se,
20
+ bcsContentHeader: ue,
20
21
  bcsTitle: pe,
21
- bcsScrollContent: he,
22
- withModalOpen: Ae,
23
- bcsBoxAISidebarAgentSelector: ue,
24
- bcsBoxAISidebarAgentSelectorContainer: me,
25
- bcsBoxAISidebarChatActions: ge,
22
+ bcsScrollContent: ge,
23
+ withModalOpen: he,
24
+ bcsBoxAISidebarAgentSelector: Ae,
25
+ bcsBoxAISidebarAgentSelectorContainer: fe,
26
+ bcsBoxAISidebarChatActions: me,
26
27
  bcsBoxAISidebarContent: Ie,
27
28
  bcsBoxAISidebarExpand: _e,
28
29
  bcsBoxAISidebarTitlePart: xe,
29
30
  sidebarChip: Ce,
30
- bcsContentSubheader: fe,
31
- bcsScrollContentWrapper: Be,
31
+ bcsContentSubheader: Be,
32
+ bcsScrollContentWrapper: ve,
32
33
  withSubheader: we,
33
- expanded: qe
34
- }, Te = ({
34
+ expanded: Te
35
+ }, Ee = ({
35
36
  actions: B,
36
37
  children: i,
37
38
  className: n,
38
39
  elementId: d = "",
39
- sidebarView: A = "",
40
+ sidebarView: g = "",
40
41
  title: l,
41
42
  subheader: r,
42
43
  ...c
43
44
  }) => {
44
- const b = `${d}${d === "" ? "" : "_"}${A}`, u = `${b}-content`;
45
- return /* @__PURE__ */ h("div", {
45
+ const b = `${d}${d === "" ? "" : "_"}${g}`, h = `${b}-content`;
46
+ return /* @__PURE__ */ p("div", {
46
47
  "aria-labelledby": b,
47
- className: y(t.bcsContent, n),
48
+ className: Q(t.bcsContent, n),
48
49
  "data-testid": "bcs-content",
49
- id: u,
50
+ id: h,
50
51
  role: "tabpanel",
51
52
  ...c,
52
- children: [/* @__PURE__ */ h("div", {
53
+ children: [/* @__PURE__ */ p("div", {
53
54
  className: t.bcsContentHeader,
54
- children: [l && /* @__PURE__ */ e(K, {
55
+ children: [l && /* @__PURE__ */ e(X, {
55
56
  as: "h3",
56
57
  className: t.bcsTitle,
57
58
  children: l
@@ -68,60 +69,60 @@ import '../../../../styles/content.css';const de = "_bcsSidebarBase_2qjt9_2", le
68
69
  })]
69
70
  });
70
71
  };
71
- function je(B) {
72
+ function Pe(B) {
72
73
  const {
73
74
  createSession: i,
74
75
  encodedSession: n,
75
76
  onClearAction: d,
76
- getAIStudioAgents: A,
77
+ getAIStudioAgents: g,
77
78
  hasRequestInProgress: l,
78
79
  hostAppName: r,
79
80
  isAIStudioAgentSelectorEnabled: c,
80
81
  isLoading: b,
81
- isResetChatEnabled: u,
82
- onSelectAgent: v,
83
- questions: m,
84
- shouldShowLandingPage: P = !0,
85
- sendQuestion: g,
86
- stopQuestion: w,
87
- ...E
82
+ isResetChatEnabled: h,
83
+ onSelectAgent: P,
84
+ questions: A,
85
+ shouldShowLandingPage: N = !0,
86
+ sendQuestion: f,
87
+ stopQuestion: v,
88
+ ...L
88
89
  } = B, {
89
- formatMessage: I
90
- } = ne(), N = p.useRef(!1), [q, L] = p.useState(!1), {
90
+ formatMessage: m
91
+ } = oe(), M = u.useRef(!1), [w, O] = u.useState(!1), {
91
92
  cache: s,
92
- contentName: M,
93
- elementId: H,
94
- fileExtension: Q,
95
- isFeedbackEnabled: O,
96
- isFeedbackFormEnabled: U,
97
- isStopResponseEnabled: W,
93
+ contentName: q,
94
+ elementId: V,
95
+ fileExtension: $,
96
+ isFeedbackEnabled: U,
97
+ isFeedbackFormEnabled: W,
98
+ isStopResponseEnabled: k,
98
99
  items: T,
99
- itemSize: V,
100
- onFeedbackFormSubmit: k,
101
- onUserInteraction: F,
100
+ itemSize: j,
101
+ onFeedbackFormSubmit: F,
102
+ onUserInteraction: R,
102
103
  recordAction: S,
103
- setCacheValue: _,
104
- shouldPreinitSession: x
105
- } = p.useContext(re), {
106
- agents: $,
107
- requestState: z,
108
- selectedAgent: j
109
- } = ee(), {
104
+ setCacheValue: I,
105
+ shouldPreinitSession: _
106
+ } = u.useContext(ce), {
107
+ agents: z,
108
+ requestState: D,
109
+ selectedAgent: E
110
+ } = te(), {
110
111
  questions: a
111
112
  } = s;
112
- s.shouldShowLandingPage !== P && _("shouldShowLandingPage", P), s.encodedSession !== n && _("encodedSession", n), s.questions !== m && _("questions", m), s.agents.selectedAgent !== j && _("agents", {
113
- agents: $,
114
- requestState: z,
115
- selectedAgent: j
113
+ s.shouldShowLandingPage !== N && I("shouldShowLandingPage", N), s.encodedSession !== n && I("encodedSession", n), y(s.questions, A) || I("questions", A), y(s.agents.selectedAgent, E) || I("agents", {
114
+ agents: z,
115
+ requestState: D,
116
+ selectedAgent: E
116
117
  });
117
- const C = (o = !1) => {
118
- !x && !n && !b && i && i(!0, !1), o && F && F();
119
- }, D = () => {
120
- L(!1);
118
+ const x = (o = !1) => {
119
+ !_ && !n && !b && i && i(!0, !1), o && R && R();
121
120
  }, G = () => {
122
- C(), L(!0);
121
+ O(!1);
122
+ }, J = () => {
123
+ x(), O(!0);
123
124
  };
124
- p.useEffect(() => (x && !n && i && i(!0, !0), n && a.length > 0 && a[a.length - 1].isCompleted === !1 && g({
125
+ u.useEffect(() => (_ && !n && i && i(!0, !0), n && a.length > 0 && a[a.length - 1].isCompleted === !1 && f({
125
126
  prompt: a[a.length - 1].prompt
126
127
  }), S && S({
127
128
  action: "programmatic",
@@ -135,111 +136,111 @@ function je(B) {
135
136
  }))
136
137
  }
137
138
  }), () => {
138
- w();
139
- }), []), p.useEffect(() => {
139
+ v();
140
+ }), []), u.useEffect(() => {
140
141
  const o = a[a.length - 1];
141
- !x && !N.current && n && (o != null && o.isLoading) && (g(o, j, !1), N.current = !0);
142
+ !_ && !M.current && n && (o != null && o.isLoading) && (f(o, E, !1), M.current = !0);
142
143
  }, [n]);
143
- const J = () => /* @__PURE__ */ h("div", {
144
+ const K = () => /* @__PURE__ */ p("div", {
144
145
  className: t.bcsBoxAISidebarTitlePart,
145
- children: [/* @__PURE__ */ e(ce, {
146
+ children: [/* @__PURE__ */ e(de, {
146
147
  isAIStudioAgentSelectorEnabled: c
147
148
  }), c && /* @__PURE__ */ e("div", {
148
149
  className: t.bcsBoxAISidebarAgentSelector,
149
- children: /* @__PURE__ */ e(te, {
150
+ children: /* @__PURE__ */ e(ne, {
150
151
  disabled: l,
151
- fetcher: A,
152
+ fetcher: g,
152
153
  hostAppName: r,
153
- onAgentsListOpen: C,
154
- onSelectAgent: v,
154
+ onAgentsListOpen: x,
155
+ onSelectAgent: P,
155
156
  recordAction: S,
156
157
  shouldHideAgentSelectorOnLoad: !0,
157
158
  variant: "sidebar"
158
159
  })
159
160
  })]
160
161
  });
161
- return /* @__PURE__ */ h(R, {
162
- children: [/* @__PURE__ */ e(Te, {
163
- actions: /* @__PURE__ */ h(R, {
164
- children: [J(), u && /* @__PURE__ */ e(ae, {
162
+ return /* @__PURE__ */ p(H, {
163
+ children: [/* @__PURE__ */ e(Ee, {
164
+ actions: /* @__PURE__ */ p(H, {
165
+ children: [K(), h && /* @__PURE__ */ e(ie, {
165
166
  onClick: d
166
- }), /* @__PURE__ */ e(X, {
167
- content: I(f.sidebarBoxAISwitchToModalView),
167
+ }), /* @__PURE__ */ e(Y, {
168
+ content: m(C.sidebarBoxAISwitchToModalView),
168
169
  "data-testid": "content-answers-open-modal-tooltip",
169
170
  variant: "standard",
170
- children: /* @__PURE__ */ e(Y, {
171
- "aria-label": I(f.sidebarBoxAISwitchToModalView),
171
+ children: /* @__PURE__ */ e(Z, {
172
+ "aria-label": m(C.sidebarBoxAISwitchToModalView),
172
173
  className: t.bcsBoxAISidebarExpand,
173
174
  "data-target-id": "IconButton-expandBoxAISidebar",
174
- icon: Z,
175
- onClick: G,
175
+ icon: ee,
176
+ onClick: J,
176
177
  size: "small"
177
178
  })
178
179
  })]
179
180
  }),
180
- className: y(t.bcsBoxAISidebar, {
181
- [t.withModalOpen]: q
181
+ className: Q(t.bcsBoxAISidebar, {
182
+ [t.withModalOpen]: w
182
183
  }),
183
- elementId: H,
184
+ elementId: V,
184
185
  sidebarView: "box-ai",
185
186
  children: /* @__PURE__ */ e("div", {
186
187
  className: t.bcsBoxAISidebarContent,
187
- children: /* @__PURE__ */ e(oe, {
188
+ children: /* @__PURE__ */ e(se, {
188
189
  className: t.bcsBoxAISidebarContentAnswers,
189
- contentName: M,
190
- contentType: I(f.sidebarBoxAIContent),
190
+ contentName: q,
191
+ contentType: m(C.sidebarBoxAIContent),
191
192
  hostAppName: r,
192
193
  isAIStudioAgentSelectorEnabled: c,
193
- isFeedbackEnabled: O,
194
- isFeedbackFormEnabled: U,
195
- isStopResponseEnabled: W,
194
+ isFeedbackEnabled: U,
195
+ isFeedbackFormEnabled: W,
196
+ isStopResponseEnabled: k,
196
197
  items: T,
197
- onFeedbackFormSubmit: k,
198
- onUserIntentToUseAI: C,
199
- questions: m,
198
+ onFeedbackFormSubmit: F,
199
+ onUserIntentToUseAI: x,
200
+ questions: A,
200
201
  recordAction: S,
201
202
  shouldShowLandingPage: s.shouldShowLandingPage,
202
- showLoadingIndicator: b && x,
203
- stopQuestion: w,
204
- submitQuestion: g,
203
+ showLoadingIndicator: b && _,
204
+ stopQuestion: v,
205
+ submitQuestion: f,
205
206
  variant: "sidebar",
206
- ...E
207
+ ...L
207
208
  })
208
209
  })
209
- }), /* @__PURE__ */ e(ie, {
210
- contentName: M,
211
- contentType: I(f.sidebarBoxAIContent),
212
- extension: Q,
213
- getAIStudioAgents: A,
210
+ }), /* @__PURE__ */ e(re, {
211
+ contentName: q,
212
+ contentType: m(C.sidebarBoxAIContent),
213
+ extension: $,
214
+ getAIStudioAgents: g,
214
215
  hasRequestInProgress: l,
215
216
  hostAppName: r,
216
217
  isAIStudioAgentSelectorEnabled: c,
217
- isFeedbackEnabled: O,
218
- isFeedbackFormEnabled: U,
219
- isResetChatEnabled: u,
220
- isStopResponseEnabled: W,
218
+ isFeedbackEnabled: U,
219
+ isFeedbackFormEnabled: W,
220
+ isResetChatEnabled: h,
221
+ isStopResponseEnabled: k,
221
222
  items: T,
222
- itemSize: V,
223
+ itemSize: j,
223
224
  onClearAction: d,
224
- onFeedbackFormSubmit: k,
225
- onOpenChange: D,
226
- onSelectAgent: v,
227
- onUserIntentToUseAI: C,
228
- open: q,
229
- questions: m,
230
- recordAction: q ? S : void 0,
225
+ onFeedbackFormSubmit: F,
226
+ onOpenChange: G,
227
+ onSelectAgent: P,
228
+ onUserIntentToUseAI: x,
229
+ open: w,
230
+ questions: A,
231
+ recordAction: w ? S : void 0,
231
232
  shouldShowLandingPage: s.shouldShowLandingPage,
232
233
  showLoadingIndicator: !1,
233
234
  stopPropagationOnEsc: !0,
234
- stopQuestion: w,
235
- submitQuestion: g,
235
+ stopQuestion: v,
236
+ submitQuestion: f,
236
237
  variant: "collapsible",
237
- ...E,
238
+ ...L,
238
239
  shouldRenderProviders: !1
239
240
  })]
240
241
  });
241
242
  }
242
- const Qe = se(je);
243
+ const je = ae(Pe);
243
244
  export {
244
- Qe as default
245
+ je as default
245
246
  };
@@ -1 +1 @@
1
- ._bcsSidebarBase_2qjt9_2,._bcsContent_2qjt9_2,._bcsBoxAISidebar_2qjt9_2{position:relative;border-left:1px solid #e8e8e8}._bcsSidebarBase_2qjt9_2 ._bcsContentHeader_2qjt9_6,._bcsContent_2qjt9_2 ._bcsContentHeader_2qjt9_6,._bcsBoxAISidebar_2qjt9_2 ._bcsContentHeader_2qjt9_6{display:flex;align-items:center;justify-content:space-between;height:60px;margin:0;padding:0 20px;border-bottom:1px solid #e8e8e8}._bcsSidebarBase_2qjt9_2 ._bcsContentHeader_2qjt9_6 ._bcsTitle_2qjt9_15,._bcsContent_2qjt9_2 ._bcsContentHeader_2qjt9_6 ._bcsTitle_2qjt9_15,._bcsBoxAISidebar_2qjt9_2 ._bcsContentHeader_2qjt9_6 ._bcsTitle_2qjt9_15{display:flex;margin:0;padding:0;font-weight:400;font-size:16px}._bcsSidebarBase_2qjt9_2 ._bcsScrollContent_2qjt9_22,._bcsContent_2qjt9_2 ._bcsScrollContent_2qjt9_22,._bcsBoxAISidebar_2qjt9_2 ._bcsScrollContent_2qjt9_22{width:323px;top:60px;right:0;bottom:0;left:0}._bcsBoxAISidebar_2qjt9_2{height:100%;max-height:100%}._bcsBoxAISidebar_2qjt9_2._withModalOpen_2qjt9_32{display:none}._bcsBoxAISidebar_2qjt9_2 ._bcsBoxAISidebarAgentSelector_2qjt9_35{max-width:279px}@media (max-width: 767px){._bcsBoxAISidebar_2qjt9_2 ._bcsBoxAISidebarAgentSelectorContainer_2qjt9_39{max-width:none}}._bcsBoxAISidebar_2qjt9_2 ._bcsBoxAISidebarChatActions_2qjt9_43{display:flex;justify-content:right}._bcsBoxAISidebar_2qjt9_2 ._bcsBoxAISidebarContent_2qjt9_47{height:100%}._bcsBoxAISidebar_2qjt9_2 ._bcsBoxAISidebarExpand_2qjt9_50{margin-left:.5rem}._bcsBoxAISidebar_2qjt9_2 ._bcsBoxAISidebarTitlePart_2qjt9_53{display:flex;align-items:center;justify-content:left;width:100%;margin:0;padding:0;font-weight:400;font-size:1rem}._bcsBoxAISidebar_2qjt9_2 ._bcsBoxAISidebarTitlePart_2qjt9_53 ._bcsTitle_2qjt9_15{margin-right:.5rem;white-space:nowrap}._bcsBoxAISidebar_2qjt9_2 ._bcsContentHeader_2qjt9_6{padding:0 1rem}._bcsBoxAISidebar_2qjt9_2 ._bcsContentHeader_2qjt9_6 ._bcsBoxAISidebarExpand_2qjt9_50{margin-left:.5rem}._bcsBoxAISidebar_2qjt9_2 ._bcsScrollContent_2qjt9_22{width:auto;height:100%}._bcsBoxAISidebar_2qjt9_2 ._sidebarChip_2qjt9_77{max-width:211px;margin-inline-start:0}._bcsBoxAISidebar_2qjt9_2 ._sidebarChip_2qjt9_77 button{width:100%}._bcsContent_2qjt9_2{width:341px;margin-left:-1px}._bcsContent_2qjt9_2 ._bcsContentSubheader_2qjt9_90{display:flex;align-items:center;justify-content:space-between;height:56px;margin:0 20px;padding:0;border-bottom:1px solid #e8e8e8}._bcsContent_2qjt9_2 ._bcsScrollContentWrapper_2qjt9_99{position:absolute;overflow:hidden auto;top:60px;right:0;bottom:0;left:0}._bcsContent_2qjt9_2 ._bcsScrollContentWrapper_2qjt9_99._withSubheader_2qjt9_104{top:116px}._bcsContent_2qjt9_2._expanded_2qjt9_107{width:381px}._bcsContent_2qjt9_2._expanded_2qjt9_107 ._bcsScrollContent_2qjt9_22{width:363px}@media (max-width: 767px){._bcsContent_2qjt9_2,._bcsBoxAISidebar_2qjt9_2{flex-basis:100%;width:auto}._bcsContent_2qjt9_2 ._bcsScrollContent_2qjt9_22,._bcsBoxAISidebar_2qjt9_2 ._bcsScrollContent_2qjt9_22{width:auto}}
1
+ ._bcsSidebarBase_gfv6u_2,._bcsContent_gfv6u_2,._bcsBoxAISidebar_gfv6u_2{position:relative;border-left:1px solid #e8e8e8}._bcsSidebarBase_gfv6u_2 ._bcsContentHeader_gfv6u_6,._bcsContent_gfv6u_2 ._bcsContentHeader_gfv6u_6,._bcsBoxAISidebar_gfv6u_2 ._bcsContentHeader_gfv6u_6{display:flex;align-items:center;justify-content:space-between;height:60px;margin:0;padding:0 20px;border-bottom:1px solid #e8e8e8}._bcsSidebarBase_gfv6u_2 ._bcsContentHeader_gfv6u_6 ._bcsTitle_gfv6u_15,._bcsContent_gfv6u_2 ._bcsContentHeader_gfv6u_6 ._bcsTitle_gfv6u_15,._bcsBoxAISidebar_gfv6u_2 ._bcsContentHeader_gfv6u_6 ._bcsTitle_gfv6u_15{display:flex;margin:0;padding:0;font-weight:400;font-size:16px}._bcsSidebarBase_gfv6u_2 ._bcsScrollContent_gfv6u_22,._bcsContent_gfv6u_2 ._bcsScrollContent_gfv6u_22,._bcsBoxAISidebar_gfv6u_2 ._bcsScrollContent_gfv6u_22{width:323px;top:60px;right:0;bottom:0;left:0}._bcsBoxAISidebar_gfv6u_2{height:100%;max-height:100%}._bcsBoxAISidebar_gfv6u_2._withModalOpen_gfv6u_32{display:none}._bcsBoxAISidebar_gfv6u_2 ._bcsBoxAISidebarAgentSelector_gfv6u_35{max-width:279px}@media (max-width: 767px){._bcsBoxAISidebar_gfv6u_2 ._bcsBoxAISidebarAgentSelectorContainer_gfv6u_39{max-width:none}}._bcsBoxAISidebar_gfv6u_2 ._bcsBoxAISidebarChatActions_gfv6u_43{display:flex;justify-content:right}._bcsBoxAISidebar_gfv6u_2 ._bcsBoxAISidebarContent_gfv6u_47{height:100%}._bcsBoxAISidebar_gfv6u_2 ._bcsBoxAISidebarExpand_gfv6u_50{margin-left:.5rem}._bcsBoxAISidebar_gfv6u_2 ._bcsBoxAISidebarTitlePart_gfv6u_53{display:flex;align-items:center;justify-content:left;width:100%;margin:0;padding:0;font-weight:400;font-size:1rem}._bcsBoxAISidebar_gfv6u_2 ._bcsBoxAISidebarTitlePart_gfv6u_53 ._bcsTitle_gfv6u_15{margin-right:.5rem;white-space:nowrap}._bcsBoxAISidebar_gfv6u_2 ._bcsContentHeader_gfv6u_6{padding:0 1rem}._bcsBoxAISidebar_gfv6u_2 ._bcsContentHeader_gfv6u_6 ._bcsBoxAISidebarExpand_gfv6u_50{margin-left:.5rem}._bcsBoxAISidebar_gfv6u_2 ._bcsScrollContent_gfv6u_22{width:auto;height:100%}._bcsBoxAISidebar_gfv6u_2 ._sidebarChip_gfv6u_77{max-width:211px;margin-inline-start:0}._bcsBoxAISidebar_gfv6u_2 ._sidebarChip_gfv6u_77 button{width:100%}._bcsContent_gfv6u_2{width:381px;margin-left:-1px}._bcsContent_gfv6u_2 ._bcsContentSubheader_gfv6u_90{display:flex;align-items:center;justify-content:space-between;height:56px;margin:0 20px;padding:0;border-bottom:1px solid #e8e8e8}._bcsContent_gfv6u_2 ._bcsScrollContentWrapper_gfv6u_99{position:absolute;overflow:hidden auto;top:60px;right:0;bottom:0;left:0}._bcsContent_gfv6u_2 ._bcsScrollContentWrapper_gfv6u_99._withSubheader_gfv6u_104{top:116px}._bcsContent_gfv6u_2._expanded_gfv6u_107{width:381px}._bcsContent_gfv6u_2._expanded_gfv6u_107 ._bcsScrollContent_gfv6u_22{width:363px}@media (max-width: 767px){._bcsContent_gfv6u_2,._bcsBoxAISidebar_gfv6u_2{flex-basis:100%;width:auto}._bcsContent_gfv6u_2 ._bcsScrollContent_gfv6u_22,._bcsBoxAISidebar_gfv6u_2 ._bcsScrollContent_gfv6u_22{width:auto}}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@box/box-ai-content-answers",
3
- "version": "0.125.13",
3
+ "version": "0.126.1",
4
4
  "peerDependencies": {
5
5
  "@box/blueprint-web": "^7.8.0",
6
6
  "@box/blueprint-web-assets": "^4.35.0",
7
- "@box/box-ai-agent-selector": "^0.41.3",
7
+ "@box/box-ai-agent-selector": "^0.41.10",
8
8
  "@box/item-icon": "^0.9.44",
9
9
  "formik": "^2.0.3",
10
10
  "highlight.js": "^11.9.0",
@@ -17,10 +17,10 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "@box/babel-plugin-target-attributes": "1.3.0",
20
- "@box/blueprint-web": "^12.6.0",
20
+ "@box/blueprint-web": "^12.7.0",
21
21
  "@box/blueprint-web-assets": "^4.48.0",
22
- "@box/box-ai-agent-selector": "^0.41.13",
23
- "@box/item-icon": "^0.9.149",
22
+ "@box/box-ai-agent-selector": "^0.41.14",
23
+ "@box/item-icon": "^0.9.150",
24
24
  "@box/storybook-utils": "^0.13.1",
25
25
  "@testing-library/react": "^15.0.6",
26
26
  "react": "^18.3.0",