@box/box-ai-agent-selector 1.43.13 → 2.1.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.
|
@@ -13,7 +13,7 @@ import { Button as D, FilterChip as O, LoadingIndicator as k, Status as A, Toolt
|
|
|
13
13
|
import { AlertBadge as P } from "@box/blueprint-web-assets/icons/Fill";
|
|
14
14
|
import F from "clsx";
|
|
15
15
|
import { useIntl as ee } from "react-intl";
|
|
16
|
-
import '../styles/box-ai-agent-selector.css';var te = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), ne = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
|
|
16
|
+
import '../styles/box-ai-agent-selector.css';var te = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), ne = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
|
|
17
17
|
if (typeof require < "u") return require.apply(this, arguments);
|
|
18
18
|
throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
|
|
19
19
|
});
|
|
@@ -3112,7 +3112,7 @@ var vo = 50, yo = async (e, t, n) => {
|
|
|
3112
3112
|
return {};
|
|
3113
3113
|
}
|
|
3114
3114
|
};
|
|
3115
|
-
}, So =
|
|
3115
|
+
}, So = /*#__PURE__*/ new Set(["left", "top"]);
|
|
3116
3116
|
async function Co(e, t) {
|
|
3117
3117
|
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = Xa(n), s = Za(n), c = eo(n) === "y", l = So.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = Ya(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
3118
3118
|
mainAxis: d,
|
|
@@ -3355,7 +3355,7 @@ function ts(e) {
|
|
|
3355
3355
|
y: s
|
|
3356
3356
|
};
|
|
3357
3357
|
}
|
|
3358
|
-
var ns =
|
|
3358
|
+
var ns = /*#__PURE__*/ Ka(0);
|
|
3359
3359
|
function rs(e) {
|
|
3360
3360
|
let t = Ao(e);
|
|
3361
3361
|
return !Go() || !t.visualViewport ? ns : {
|
|
@@ -15,7 +15,7 @@ import '../styles/box-ai-agent.css';var f = {
|
|
|
15
15
|
defaultAgentName: "_defaultAgentName_xtqqd_51",
|
|
16
16
|
agentDescription: "_agentDescription_xtqqd_59",
|
|
17
17
|
defaultAgentStatusWrapper: "_defaultAgentStatusWrapper_xtqqd_69"
|
|
18
|
-
}, p =
|
|
18
|
+
}, p = /*#__PURE__*/ t(({ agent: t }, p) => {
|
|
19
19
|
let { formatMessage: m } = l(), h = t.isEnterpriseDefault, g = n(() => {
|
|
20
20
|
if (t.customIcon) return /* @__PURE__ */ r(t.customIcon, {});
|
|
21
21
|
if (t.imageURL) try {
|
|
@@ -2,7 +2,7 @@ import { defaultState as e } from "./constants.js";
|
|
|
2
2
|
import { agentsReducer as t } from "./reducer.js";
|
|
3
3
|
import { createContext as n, useContext as r, useReducer as i } from "react";
|
|
4
4
|
import { jsx as a } from "react/jsx-runtime";
|
|
5
|
-
var o =
|
|
5
|
+
var o = /*#__PURE__*/ n(e), s = /*#__PURE__*/ n(() => {});
|
|
6
6
|
function c() {
|
|
7
7
|
return r(o);
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/box-ai-agent-selector",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@ariakit/react": "^0.4.21",
|
|
7
|
-
"@box/blueprint-web": "^
|
|
8
|
-
"@box/blueprint-web-assets": "^
|
|
7
|
+
"@box/blueprint-web": "^16.1.0",
|
|
8
|
+
"@box/blueprint-web-assets": "^5.1.0",
|
|
9
9
|
"react": "^17.0.0 || ^18.0.0",
|
|
10
10
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
11
11
|
"react-intl": "^6.4.2"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@ariakit/react": "^0.4.21",
|
|
15
|
-
"@box/babel-plugin-target-attributes": "1.
|
|
16
|
-
"@box/blueprint-web": "^
|
|
17
|
-
"@box/blueprint-web-assets": "^
|
|
18
|
-
"@box/eslint-plugin-blueprint": "^1.
|
|
19
|
-
"@box/storybook-utils": "^
|
|
15
|
+
"@box/babel-plugin-target-attributes": "2.1.0",
|
|
16
|
+
"@box/blueprint-web": "^16.1.0",
|
|
17
|
+
"@box/blueprint-web-assets": "^5.1.0",
|
|
18
|
+
"@box/eslint-plugin-blueprint": "^2.1.0",
|
|
19
|
+
"@box/storybook-utils": "^1.1.0",
|
|
20
20
|
"@testing-library/react": "^15.0.6",
|
|
21
21
|
"react-intl": "^6.4.2"
|
|
22
22
|
},
|