@box/box-ai-content-answers 0.113.1 → 0.114.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,10 +1,10 @@
1
1
  import h from "clsx";
2
2
  import * as n from "react";
3
3
  import { AgentEditor as K } from "./components/agents/agent-editor.js";
4
- import { Content as V } from "./components/content/content.js";
5
- import { Footer as W } from "./components/footer/footer.js";
6
- import { C as X } from "../../chunks/types.js";
7
- import { jsx as i, jsxs as Y } from "react/jsx-runtime";
4
+ import { C as V } from "../../chunks/types.js";
5
+ import { jsx as i, jsxs as W } from "react/jsx-runtime";
6
+ import { Content as X } from "./components/content/content.js";
7
+ import { Footer as Y } from "./components/footer/footer.js";
8
8
  import '../../styles/box-ai-content-answers.css';const Z = "_container_xgwyz_1", $ = "_contentAnswers_xgwyz_8", v = "_sidebar_xgwyz_19", d = {
9
9
  container: Z,
10
10
  contentAnswers: $,
@@ -35,7 +35,7 @@ import '../../styles/box-ai-content-answers.css';const Z = "_container_xgwyz_1",
35
35
  hostAppName: k,
36
36
  ...j
37
37
  }) => {
38
- const [f, S] = n.useState(null), [w, O] = n.useState(t != null), [s, _] = n.useState(!1), B = t === X.LARGE_FILE, G = (!w || B) && !m, u = (a) => {
38
+ const [f, S] = n.useState(null), [w, O] = n.useState(t != null), [s, _] = n.useState(!1), B = t === V.LARGE_FILE, G = (!w || B) && !m, u = (a) => {
39
39
  g && g({
40
40
  ...a,
41
41
  component: o
@@ -51,9 +51,9 @@ import '../../styles/box-ai-content-answers.css';const Z = "_container_xgwyz_1",
51
51
  O(t != null);
52
52
  }, [t]), /* @__PURE__ */ i("div", {
53
53
  className: h(p, d.container),
54
- children: /* @__PURE__ */ Y("div", {
54
+ children: /* @__PURE__ */ W("div", {
55
55
  className: h(d.contentAnswers, o === "sidebar" && d.sidebar),
56
- children: [!s && /* @__PURE__ */ i(V, {
56
+ children: [!s && /* @__PURE__ */ i(X, {
57
57
  ...j,
58
58
  askSuggestedQuestion: f,
59
59
  contentName: b,
@@ -76,7 +76,7 @@ import '../../styles/box-ai-content-answers.css';const Z = "_container_xgwyz_1",
76
76
  onAgentEditorToggle: N,
77
77
  recordAction: u,
78
78
  setIsDebugModeShown: _
79
- }), G && /* @__PURE__ */ i(W, {
79
+ }), G && /* @__PURE__ */ i(Y, {
80
80
  askSuggestedQuestion: f,
81
81
  enableDebugMode: M,
82
82
  hasRequestInProgress: l,
@@ -1,5 +1,5 @@
1
1
  import d from "clsx";
2
- import { m as w } from "../../../../chunks/markdown.js";
2
+ import w from "../common/markdown.js";
3
3
  import { jsxs as c, Fragment as l, jsx as m } from "react/jsx-runtime";
4
4
  import '../../../../styles/answer-content.css';const _ = "_answerContent_qhum2_1", C = "_answerMarkdown_qhum2_16", n = {
5
5
  answerContent: _,