@box/box-ai-agent-selector 0.34.6 → 0.35.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.
package/dist/esm/index.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import { BoxAiAgentSelector as t } from "./lib/box-ai-agent-selector.js";
2
2
  import { BoxAiAgentSelectorWithApi as A } from "./lib/box-ai-agent-selector-with-api.js";
3
3
  import { BoxAiAgentSelectorWithApiContainer as p } from "./lib/box-ai-agent-selector-with-api-container.js";
4
- import { ACTIONS as n } from "./lib/contexts/actions.js";
5
- import { AgentsProvider as f, useAgents as g, useAgentsDispatch as m } from "./lib/contexts/context.js";
6
- import { R as c } from "../chunks/types.js";
4
+ import { R as n } from "../chunks/types.js";
5
+ import { ACTIONS as f } from "./lib/contexts/actions.js";
6
+ import { AgentsProvider as m, useAgents as S, useAgentsDispatch as c } from "./lib/contexts/context.js";
7
7
  export {
8
- n as ACTIONS,
9
- f as AgentsProvider,
8
+ f as ACTIONS,
9
+ m as AgentsProvider,
10
10
  t as BoxAiAgentSelector,
11
11
  A as BoxAiAgentSelectorWithApi,
12
12
  p as BoxAiAgentSelectorWithApiContainer,
13
- c as REQUEST_STATE,
14
- g as useAgents,
15
- m as useAgentsDispatch
13
+ n as REQUEST_STATE,
14
+ S as useAgents,
15
+ c as useAgentsDispatch
16
16
  };
@@ -1,32 +1,35 @@
1
+ import "./box-ai-agent-selector.js";
1
2
  import { BoxAiAgentSelectorWithApi as c } from "./box-ai-agent-selector-with-api.js";
2
- import { AgentsProvider as l } from "./contexts/context.js";
3
3
  import { jsx as r } from "react/jsx-runtime";
4
- function d({
4
+ import { AgentsProvider as l } from "./contexts/context.js";
5
+ import "../../chunks/types.js";
6
+ import "./contexts/actions.js";
7
+ function s({
5
8
  fetcher: t,
6
- hostAppName: e,
7
- onSelectAgent: o,
8
- recordAction: i,
9
- requestState: n,
10
- disabled: A,
11
- shouldHideAgentSelectorOnLoad: m = !0,
12
- triggerChipClassName: p,
9
+ hostAppName: o,
10
+ onSelectAgent: i,
11
+ recordAction: e,
12
+ requestState: m,
13
+ disabled: n,
14
+ shouldHideAgentSelectorOnLoad: p = !0,
15
+ triggerChipClassName: A,
13
16
  contentClassName: f
14
17
  }) {
15
18
  return /* @__PURE__ */ r(l, {
16
19
  children: /* @__PURE__ */ r(c, {
17
20
  contentClassName: f,
18
- disabled: A,
21
+ disabled: n,
19
22
  fetcher: t,
20
- hostAppName: e,
21
- onSelectAgent: o,
22
- recordAction: i,
23
- requestState: n,
24
- shouldHideAgentSelectorOnLoad: m,
25
- triggerChipClassName: p
23
+ hostAppName: o,
24
+ onSelectAgent: i,
25
+ recordAction: e,
26
+ requestState: m,
27
+ shouldHideAgentSelectorOnLoad: p,
28
+ triggerChipClassName: A
26
29
  })
27
30
  });
28
31
  }
29
32
  export {
30
- d as BoxAiAgentSelectorWithApiContainer,
31
- d as default
33
+ s as BoxAiAgentSelectorWithApiContainer,
34
+ s as default
32
35
  };